LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   No network connection, no ip address on eth0 (https://www.linuxquestions.org/questions/linux-newbie-8/no-network-connection-no-ip-address-on-eth0-449143/)

HawkLawin 05-27-2006 05:23 PM

No network connection, no ip address on eth0
 
I have installed the Back Track 1.0 Final in my HDD. But I don't seem to be able to connect to my router/dhcp. First, I don't see eth0 when I type ifconfig. So I typed ifconfig eth0 up and I was able to see it now but no ip address. Can anyone help me?

TIA

sdexp 05-27-2006 08:31 PM

You should make sure your network was set up, and that the needed packages are available. I see that your problem is not specific, so doing this is probably the best solution.

HawkLawin 05-28-2006 12:04 AM

Hi, thanks for the reply. My network is setup properly. I have a dual boot system and when I boot on XP, everything is ok, I can browse the internet, ping my router or connect to my router, no problem. But when I boot to Back Track, I don't have the connection at all. My layer 1 is ok, I can see the orange light on my NIC on.

Quote:

Originally Posted by sdexp
You should make sure your network was set up, and that the needed packages are available. I see that your problem is not specific, so doing this is probably the best solution.


pansarevaibhav 05-28-2006 11:47 AM

hi,
ur ip is set in /etc/network-script/ifcfg-et0 file , check there , if it is dhcp check whether u set ur pc to dhcp enable?
thanks

Panagiotis_IOA 05-28-2006 12:14 PM

If eth0 is not running then you need to type:

Code:

ifconfig eth0 up
If you just don't have the IP address and the IP has to be taken automatically from the ISP then, in Slackware for example, you have to run the script rc.inet1 This is located under /etc/rc.d and should run when the system loads.

If you want to give a certain IP to your Ethernet then you need to ype:

Code:

ifconfig eth0 xxx.xxx.xxx.xxx

pokemaster 05-28-2006 10:01 PM

I'm guessing your network uses dhcp -- since you have a router and XP 'just works'. try this:
Code:

ifconfig eth0 up
dhcpcd eth0

if that doesn't give you anything,
Code:

dhclient eth0

saveme 06-02-2006 09:10 PM

eth0
 
thanks the dhclient worked for me. I have debian sarge. Now all i have to do is config apt thru base-config. hopefilly


All times are GMT -5. The time now is 05:30 PM.