ifconfig eth0 up
dhclient eth0
That should do it.
Good day to all the forum members, I have this issue. Yesterday I was able to get connected and configure the eth0 interface with an IP address and I was able to use firefox to out to the internet.
Apparently today I can't.
This is what I do
1) startx
2) Launch konsole
3) ifconfig eth0 up
4) /etc/init.d/networking start ==> and I get the following issue
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval X ==> the X changes couple of times and then I get
No DHCPOFFERS Received ==> I am assuming that I can not connect since I do not get a DHCP address.
5) Then I run dhcpcd eth0
and I get the program is not installed
6) Then I try to run it by using
apt-get dhcpcd
7) I get the following error message.
Unable to fetch some archive https://archive.offensive-security.....................
Can anyone help? I know without getting a DHCP I will not go far from a connectivity persepctive.
Please keep in mind that I have tear down the VM from my PC and I have reinstalled, I have shut down and rebooted the VM many times.
I would appreciate some help, and I am sorry in advance if I am asking a repeated question. because I have seen similar questions, and this is where I got all of the information of resolutions that I have used in the above steps.
Your help is much appreciated.
ifconfig eth0 up
dhclient eth0
That should do it.
"Failing to plan is planning to fail"
Doing ifconfig x up down or whatever and then,
/etc/init.d/networking start is a little silly.
Try using one or the other.
The second is a simple script to call several generic interfaces (if present) to look for an IP address given out by a dhcp server.
If the card(s) don't receive an offer then it will sleep for a given interval and try again. So if you have static IP's in your network then it's probably not going to work.
Id look into whether your DHCP server is running correctly. If you're running BackTrack in a VM, you need to ensure your VMs networking "hardware" is configured appropriately and that the appropriate DHCP server is running (either one offered via your VM software or one configured on your network depending on the VM networking config).
We are really talking basic TCP/IP stuff here though, which you should have a grasp of before you start to use BackTrack. There was a thread not too long ago about good TCP/IP books - you might want to have a look OP.
Capitalisation is important. It's the difference between "Helping your brother Jack off a horse" and "Helping your brother jack off a horse".
The Forum Rules, Forum FAQ and the BackTrack Wiki... learn them, love them, live them.