okey..today i installed kubuntu.when it was done i rebooted into kubuntu to check out my network settings in kcontrol.my dhcp hostname,search domain and dns servers are correct but et0 is listed as disabled.when i click on eth0 and then on activate it's flagged of in green for just a second and then it's listed as disabled again.does anyone have any ideas how to activate it permanently?(it's a cheap realtek nic)
Announcement
Collapse
No announcement yet.
eth0 won't activate
Collapse
This topic is closed.
X
X
-
Re: eth0 won't activate
yes,dhcp is set up properly.that's the weird part...during the installation i filled in my dhcp hostname and when the installation was done i checked out my network settings and my dhcp hostname,dns servers and search domain were all correct so there was a connection during the install.but when i boot kubuntu it hangs for about a minute and a half on the point were it says "configuring network devices" and eth0 just doesn't work when the system is fully booted.
edit:could this be some issue with udev?
- Top
- Bottom
Comment
-
Re: eth0 won't activate
You mention
when i boot kubuntu it hangs for about a minute and a half on the point were it says "configuring network devices"
I concur with askrieger
I'm just groping, What does ifconfig say?
Also is the nic being see during bootup check the dmesg file.
- Top
- Bottom
Comment
-
Re: eth0 won't activate
this is the output from dmesg: http://img344.imageshack.us/img344/1...afdruk18ja.png
and this is from ifconfig: http://img313.imageshack.us/img313/2...afdruk21an.png
- Top
- Bottom
Comment
-
Re: eth0 won't activate
The outputthis is the output from dmesg: http://img344.imageshack.us/img344/1...afdruk18ja.png
The outputand this is from ifconfig: http://img313.imageshack.us/img313/2...afdruk21an.png
try the following at console prompt
sudo dhclient eth0
Note the outputs
and then try
ifconfig -a
again
- Top
- Bottom
Comment
-
Re: eth0 won't activate
it seems to me that the problem is that eth0 is deactivated after boot.when i go to system settings>network settings it's listed as disabled.and that's the weird part because during the installation i set up my dhcp hostname and when the installation was done i first checked out my network settings and they are all correct so there was a connection during the installation.it's just that eth0 isn't listed as activated after boot and i can't get it to activate...no matter what i do.
and i tried dhclient,i looks for a dhcp offer but doesn't get one and ifconfig -a is also negative wich to me confirms that eth0 is indeed not activated.
and now i got another message during boot,restoring resolver state....failed.
- Top
- Bottom
Comment
-
Re: eth0 won't activate
Do you also have a wireless connection? I have eth0 as ethernet and eth2 as wireless.
I forgot to say that i disable my the wireless connection on my notebook before i input sudo dhclient in konsole. I have to do it every time i boot. As i say its a temporary fix for me but it works every time.
- Top
- Bottom
Comment
-
Re: eth0 won't activate
Kinetmatic
Insert Quote
it seems to me that the problem is that eth0 is deactivated after boot.when i go to system settings>network settings it's listed as disabled.and that's the weird part because during the installation i set up my dhcp hostname and when the installation was done i first checked out my network settings and they are all correct so there was a connection during the installation.it's just that eth0 isn't listed as activated after boot and i can't get it to activate...no matter what i do.
and i tried dhclient,i looks for a dhcp offer but doesn't get one and ifconfig -a is also negative wich to me confirms that eth0 is indeed not activated.
and now i got another message during boot,restoring resolver state....failed.
What exactly are the error messages when trying to get address.?
What are you using as a DHCP server?
the error mesage during the boot up looks like the error message that one gets when it cannot contact the ubuntu time clock address.
Can you ping the dhcp server it look something like the following just subsitute the appropiate address.
ping 192.168.xxx.xxx
mine is actually 192.168.123.254
- Top
- Bottom
Comment
-
Re: eth0 won't activate
Hi Xrchris
Insert Quote
I have also had this problem on my Notebook.
I have got around it by using sudo dhclient in Konsole after boot. I dont know how to fix this permanently
sudo cp /etc/network/interfaces /etc/network/interfaces_bck
post a copy of the file
sudo nano /etc/network/interfaces
add lines
auto eth0
iface eth0 inet dhcp
When you reboot the next all should be ok
- Top
- Bottom
Comment
-
Re: eth0 won't activate
Originally posted by jamesr
To make the process automatic
sudo cp /etc/network/interfaces /etc/network/interfaces_bck
post a copy of the file
sudo nano /etc/network/interfaces
add lines
auto eth0
iface eth0 inet dhcp
When you reboot the next all should be ok
sudo nano /etc/network/interfaces
I get
This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
address 127.0.0.1
netmask 255.0.0.0
# This is a list of hotpluggable network interfaces.
# They will be activated automatically by the hotplug subsystem.
mapping eth0
script grep
map eth0
iface eth2 inet dhcp
iface eth0 inet static
wireless-essid ********
add lines
auto eth0
iface eth0 inet dhcp
At the end? And how?
Thanks.
- Top
- Bottom
Comment
Comment