Hello, everyone, and this is your instructor again, Imran Ab-Soul, and in this course, or sorry,
in this lesson, I'm going to cover the issues that you might be facing connecting to the links to Puddy.
Now I do have a few students, very limited students who did experience some of the issues.
When they build the Linux VM, they installed the operating system.
And then when it comes to the point when they use putty session to connect to the Linux to the next
machine, they are having issues.
So I'm going to quickly Kohr, what could be the issues or how or what are the steps that can be taken
to resolve those issues?
Some of the issues the primary ones is the NIC setting on the Oracle virtual box.
So if you go to Oracle virtual box and go to network and there is a NIC setting that you have to make
sure it is selected and it's configured the right way, we'll cover that later, then the advanced setting
on the NEC on the same Oracle VirtualBox setting that will also covered here as well.
And the third one is if the network interface is down at the operating system level, which means that
you are nick setting is perfectly fine at the Oracle virtual box level, but on the operating system,
the interface itself is down.
So you will have to bring it up or restarted, and the last one would be the S.H. daemon is not running
on your Linux operating system, which is very, very highly unlikely because by default, when you
install a Linux operating system in your machine, the SSL daemon is running anyway.
I am covering this just in case just to make sure that you have.
You have went through all the different troubleshooting steps.
So I have my Linux machine open.
I'll go over it and we'll cover all of these steps one by one.
So this is my next machine that's already up.
Now, the first thing that I have mentioned is Nick setting on Oracle Virtual Box.
And now what is the NIC setting?
If you go to Oracle VirtualBox, which is this window, and from here you select your Linux machine
and then go to setting.
And then there is this option called network and this network option.
You have this adapter one it says Enable network adapter.
Make sure this is checked.
The reason you don't see on my Oracle box not checked or grayed out is because my machine is running
powered on.
If you power it off, you will have this enable network adapter checkbox option available to you, so
make sure it is checked.
The next thing you have to make sure is that you have host only adapter selected.
Now we have different options.
Alcoa.
First one is host only adapter, which means that you could connect only from your PC or on your laptop
where you are running this Oracle VirtualBox.
You will connect from that PC to your next machine and you can now go out on the internet.
And then on the name side, you have a VirtualBox host only Ethernet adapter.
There is no other option, so by default you have to select this one.
So when you have this host only adapter, then you click OK.
Then you go back to your machine and then you type if config or EIP, whichever the command that is
available to you, you hit enter.
Then you'll see if config.
The first interface that we are concerned about is this one, and this is the part that you have to
look into the other two L0 and we are beta zero.
Just ignore that for now.
I have covered these two interfaces in my module.
Seven.
You will learn that in Module seven, what are these different options are used for?
But anyway, for now, I just focus on this one, which is ENP zero three.
And if you notice right here the iiNet, right here it is the IP address of my Linux machine that is
given to me.
And also you have to verify that this interface is running up and running.
And if you have all the settings correct until now, but you still do not have an IP address right here,
which would be in a case like this, if you do, if don ENP zero three hit enter.
And now if I do hit config, you'll notice I do not have that iiNet IP address, right?
So if that is your case, then what do you have to do?
Is you either have to restart your network service or simply to f up E and P zero s three hit enter
lets you hit enter.
You'll see the connection successfully activated.
Now when you do ifconfig or.
IP and you will see that you have an IP address 192, 168, 56, one or one.
That's one way of doing it.
The other way you could simply restart your network service, the command to do it, a system Seitel
restart network dot service and hit enter.
It'll bring down your interface and bring it back up, and then you run ifconfig and you'll see you
have this IP now.
By default, everyone should have the same IP address, so you could just go into your putty machine
temporary terminal and then you input the IP 192 168 Dot 56 Dot one zero one, and then you could simply
click on open and there you have your login prompt.
So that's how you actually create a connection between your position and your Linux machine.
So let me open up a new session here just in case.
OK, go on to the one, so just close it.
So was this close to now?
The second option I wanted to cover is this when it says advanced NIC setting?
So what is advanced setting?
Sorry, one more thing before I go to advanced settings.
Let's go to the other setting now.
If you go to your VM and then click on network there is attached to, there's another option.
So now, if host only adaptor option is not working for you, that is fine.
Don't worry about it.
It's not the end of the world.
Pick a different option, which is Brigit adapter.
Pick that one now and bridge adapter as soon as you select bridge adapter.
It's going to give you a different option for the name, which is Intel or dual band wireless.
Now my laptop right now is connected to the internet wirelessly through the Wi-Fi, so make sure if
that's your case, then you select band wireless.
If your machine, your PC or laptop is connected through the Ethernet cable, which is a physically
wired cable to the modem or router, then you will pick the Ethernet connection.
This is the one which is the wired connection, so you pick that.
Anyway, I had the wireless, I pick wireless and then you click, OK, once you click OK, then you
come back to your Linux machine and then you do the same thing.
You restart your network service, which is systemctl restart network service.
Hit enter
and you got your problem back now.
Type IP config or sorry if config hit enter.
And now you will see you have a different IP 192 168 1.8.
Now this is the IP your Linux VM is getting from your modem, in your house or at your work.
Now you could just simply go again into your Puddy session, and now you could type 192, 168 1.8 and
click open and it will give you the prompt back.
So this works the same way.
The only difference between host only adapter and bricked adapter is that bridge adapter will allow
you to communicate outside on the internet.
So if you wanted to download anything or if you want to open up a web browser on your Linux machine
right here, then you would need a bridge adapter.
But if you do not want to go outside, you just wanted to have a communication between your PC.
Where you running this Oracle VirtualBox analytics machine?
Then you pick host only adapter.
Now that option I said that you could try out is the advanced setting when you click on advanced dropdown
menu.
Make sure that Intel Pro 1000 Empty Desktop is selected for your adapter type.
Now this is my adapter model that is inside of my laptop.
You might have a different model that represents your Wi-Fi card.
So by default, it should pick the the one that is attaches to your card, then promiscuous mode.
Leave that as deny.
That's fine.
That's a Mac address.
You don't have to change that.
Make sure that cable is connected.
And then again, of course, you hit OK and come back here.
And then you could try doing the same thing.
System Ctrl Restart Network Service.
Now what is System CTL command?
That is something that we will cover in Module seven on.
The last one I have on my slide is.
SSA Demon is not running.
Now what, what does it mean?
It means that when I go into my machine, all you have to make sure.
But again, as I said earlier, this is the chances of this.
Not running is very, very slim but still verified.
And to verify the SSA demon process is running, you dupes minus f Typekit and corrupt ss h s minus
e f pipe at grip SSA.
What the hell is that?
Don't worry about it.
Just run this command.
You will learn this as you go on with my training.
I just want you to test these and see if you get this output.
And if you do get this output, especially this line that says user SBN, SSA Dash.
This shows that your daemon or the process that is listening to accept your incoming traffic, it is
running so that it is perfect.
Now, in my case, it's running.
In your case, it should be running.
In case it's not running, then I would say that you do system Ctrl Restart, SS, ss h and then you
hit enter.
Sorry, it's probably SS.
Yes.
So hit and it will start back again again.
It's the chassis.
Very slim, but you should try that too.
So anyway, these are the few troubleshooting tips.
If you're still having issues connecting from putty to your Linux machine, then don't worry about it.
Just send me an email.
I would prefer if you could send me a screenshot.
That'd be great.
And I will definitely help you.