Announcement

Collapse
No announcement yet.

Lost internet connection

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

    Lost internet connection

    Hello everyone.

    I am very new to linux. I installed Kubuntu 8.04.01 on a new computer 5 days ago, and so far it has been running just fine. But today when I started it up suddenly there was no internet connection. In KNetwork manager it says active, but I cant get anything from the internet - no webpages, no chatclient, no nothing... I have an ethernet connection and when I plug it into my old computer, which is running windows XP there is no problem. I tried looking around on the forum but didn´t really find anything I could use. I tried some commands that I found and this is what I got:

    pia@pia-desktop:~$ sudo dhclient eth0

    [sudo] password for pia:

    Internet Systems Consortium DHCP Client V3.0.6

    Copyright 2004-2007 Internet Systems Consortium.

    All rights reserved.

    For info, please visit http://www.isc.org/sw/dhcp/


    Listening on LPF/eth0/00:1e:8c:6a:ba:27

    Sending on LPF/eth0/00:1e:8c:6a:ba:27

    Sending on Socket/fallback

    DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 5

    DHCPOFFER of 10.83.255.21 from 10.83.0.1

    DHCPREQUEST of 10.83.255.21 on eth0 to 255.255.255.255 port 67

    DHCPACK of 10.83.255.21 from 10.83.0.1

    bound to 10.83.255.21 -- renewal in 48 seconds.

    pia@pia-desktop:~$ sudo lshw -C network

    pia@pia-desktop:~$ ifconfig

    eth0 Link encap:Ethernet HWaddr 00:1e:8c:6a:ba:27

    inet addr:10.83.255.21 Bcast:255.255.255.255 Mask:255.255.255.0

    inet6 addr: fe80::21e:8cff:fe6a:ba27/64 Scope:Link

    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

    RX packets:9115 errors:0 dropped:0 overruns:0 frame:0

    TX packets:12 errors:0 dropped:0 overruns:0 carrier:0

    collisions:0 txqueuelen:1000

    RX bytes:600044 (585.9 KB) TX bytes:2568 (2.5 KB)

    Interrupt:21 Base address:0xc000


    lo Link encap:Local Loopback

    inet addr:127.0.0.1 Mask:255.0.0.0

    inet6 addr: ::1/128 Scope:Host

    UP LOOPBACK RUNNING MTU:16436 Metric:1

    RX packets:20 errors:0 dropped:0 overruns:0 frame:0

    TX packets:20 errors:0 dropped:0 overruns:0 carrier:0

    collisions:0 txqueuelen:0

    RX bytes:920 (920.0 B) TX bytes:920 (920.0 B)


    pia@pia-desktop:~$
    I put the three commands I used in bold.

    Can someone please help me?

    Pia

    #2
    Re: Lost internet connection

    try:

    Code:
    sudo ifdown eth0; sudo ifup eth0
    Wanna know more about Me and My computer then click here

    Comment


      #3
      Re: Lost internet connection

      Also, please check that your file /etc/network/interfaces contains nothing else but

      auto lo
      iface lo inet loopback
      Once your problem is solved please mark the topic of the first post as SOLVED so others know and can benefit from your experience! / FAQ

      Comment


        #4
        Re: Lost internet connection

        Originally posted by nowshining
        try:

        Code:
        sudo ifdown eth0; sudo ifup eth0
        This is what I got:

        pia@pia-desktop:~$ sudo ifdown eth0

        ifdown: interface eth0 not configured

        pia@pia-desktop:~$ sudo ifup eth0

        Ignoring unknown interface eth0=eth0.

        pia@pia-desktop:~$
        Also someone else suggested I´d try this:

        pia@pia-desktop:~$ route -n

        Kernel IP routing table

        Destination Gateway Genmask Flags Metric Ref Use Iface

        10.83.255.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0

        169.254.0.0 0.0.0.0 255.255.0.0 U 1000 0 0 eth0

        0.0.0.0 10.83.255.1 0.0.0.0 UG 0 0 0 eth0

        pia@pia-desktop:~$ ping -c 5 www.google.com

        ping: unknown host www.google.com

        pia@pia-desktop:~$ ping -c 5 64.233.189.104

        PING 64.233.189.104 (64.233.189.104) 56(84) bytes of data.

        ping: sendmsg: Operation not permitted

        ping: sendmsg: Operation not permitted

        ping: sendmsg: Operation not permitted

        ping: sendmsg: Operation not permitted

        ping: sendmsg: Operation not permitted


        --- 64.233.189.104 ping statistics ---

        5 packets transmitted, 0 received, 100% packet loss, time 4009ms


        pia@pia-desktop:~$

        Comment


          #5
          Re: Lost internet connection

          Check your /etc/network/interfaces file...
          Once your problem is solved please mark the topic of the first post as SOLVED so others know and can benefit from your experience! / FAQ

          Comment


            #6
            Re: Lost internet connection

            Originally posted by toad
            Check your /etc/network/interfaces file...
            I´m sorry but I am pretty new at this. How do I do that? I tried putting in the commands from your previous post, but all I got was "command not found" or something like that.

            Also I´m switching between 2 computers, so everytime I have to try something on the Kubuntu pc I have to close the computer that I am currently posting from down, switch some cables, start the other one up. And to come back here I have to do it all back again. So it takes a while.

            I really appreciate the help you guys are giving me.

            Comment


              #7
              Re: Lost internet connection

              No problem. In that case check the output of
              Code:
              cat /etc/network/interfaces
              If it is not like what I posted above report back and we'll get you back on the road
              Once your problem is solved please mark the topic of the first post as SOLVED so others know and can benefit from your experience! / FAQ

              Comment


                #8
                Re: Lost internet connection

                Originally posted by toad
                No problem. In that case check the output of
                Code:
                cat /etc/network/interfaces
                If it is not like what I posted above report back and we'll get you back on the road
                Thank you. I tried that now, but it was just like you posted above.

                Comment


                  #9
                  Re: Lost internet connection

                  One last try from me. If you input the following command

                  Code:
                  ps aux|grep knetworkmanager
                  you should get two lines of output. If you only get one you will need to start knetworkmanager. To do so, go to kmenu - internet - knetworkmanager

                  Okay, if you only had one line, plug yourself in and everything should work. After having plugged yourself in, run the command
                  Code:
                  dmesg
                  Again, please post the output if you still ain't online.
                  Once your problem is solved please mark the topic of the first post as SOLVED so others know and can benefit from your experience! / FAQ

                  Comment


                    #10
                    Re: Lost internet connection

                    It has been solved.

                    Someone in another forum figured it out. As it turned out I had installed Guarddog a few days ago, and then removed it again using Adept. Apparantly that was not enough, because there were still some files on my system blocking connection to the internet. When he/she helped me remove them I was connected again.

                    Thank you very much for all your help. I really appreciate it all.

                    Comment


                      #11
                      Re: Lost internet connection

                      Good stuff! Could you post a link to that thread?

                      In future you may want to consider using apt on the command line. Here is a good guide: http://mepislovers.org/forums/showthread.php?t=10870
                      Once your problem is solved please mark the topic of the first post as SOLVED so others know and can benefit from your experience! / FAQ

                      Comment


                        #12
                        Re: Lost internet connection

                        Originally posted by piamn77
                        It has been solved.

                        Someone in another forum figured it out. As it turned out I had installed Guarddog a few days ago, and then removed it again using Adept. Apparantly that was not enough, because there were still some files on my system blocking connection to the internet. When he/she helped me remove them I was connected again.

                        Thank you very much for all your help. I really appreciate it all.
                        I need that info. I appear to have the same problem, and it's driving me nuts!

                        Comment


                          #13
                          Re: Lost internet connection

                          Originally posted by toad
                          Good stuff! Could you post a link to that thread?

                          In future you may want to consider using apt on the command line. Here is a good guide: http://mepislovers.org/forums/showthread.php?t=10870
                          Thanks for the tip. I will do that.

                          Here is a link to the other thread.

                          http://ubuntuforums.org/showthread.php?t=945359

                          Comment

                          Working...
                          X