Announcement

Collapse
No announcement yet.

eth0 won't activate

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    eth0 won't activate

    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)

    #2
    Re: eth0 won't activate

    Just a guess -- Is dhcp set up properly?

    Comment


      #3
      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?

      Comment


        #4
        Re: eth0 won't activate

        I'm just groping, What does ifconfig say?

        Comment


          #5
          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 would suggest that it not finding the card or DHCP server it should not take as long, my systems are typically 10 secs it connected and may 50 secs if not

          I concur with askrieger

          I'm just groping, What does ifconfig say?
          you may need ifconfig -a

          Also is the nic being see during bootup check the dmesg file.

          Comment


            #6
            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

            Comment


              #7
              Re: eth0 won't activate

              The output Idicates that eth0 is being seen OK

              The output Also indicates that the NIC is being seen but with no local address which would indicate the DHCP server it not supplying the address

              try the following at console prompt

              sudo dhclient eth0

              Note the outputs

              and then try

              ifconfig -a

              again

              Comment


                #8
                Re: eth0 won't activate

                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.

                Comment


                  #9
                  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.

                  Comment


                    #10
                    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.

                    Comment


                      #11
                      Re: eth0 won't activate

                      well.i've just about had it with kubuntu.it shouldn't be this much of a hassle to get my connection up.maybe i'll try it again when it comes out of beta but for now i'm done with it.

                      Comment


                        #12
                        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.
                        eth0 is up as shown by the ifconfig  printout that you posted. until you get a response from the dhcp server you will no address in the address line.
                        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

                        Comment


                          #13
                          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
                          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

                          Comment


                            #14
                            Re: eth0 won't activate

                            Thanks jamesr i will try that out when i get home tonight.

                            Comment


                              #15
                              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
                              After inputting

                              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 ********
                              Where do i input the lines

                              add lines
                              auto eth0
                              iface eth0 inet dhcp

                              At the end? And how?

                              Thanks.

                              Comment

                              Working...
                              X