Announcement

Collapse
No announcement yet.

Network connection 'oddity'

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

    Network connection 'oddity'

    I'm on vacation - have my laptop with me. I use Wicd, and it works at home on my wired and wireless connections to my router.

    Here, at my Dad's place, Wicd sees his Wireless Access Point, and I'm given an IP address by the router, but thats it. I can not connect to the Internet - when booted into 10.04. Booting into 9.10 or 9.04 I am able to connect to the Internet. My /etc/network/interfaces files for all three OS's is the same:

    auto lo
    iface lo inet loopback
    Why am I not able to connect to the Internet on 10.04 here at my Dads, but I can with 9.10 and 9.04?
    Windows no longer obstructs my view.
    Using Kubuntu Linux since March 23, 2007.
    "It is a capital mistake to theorize before one has data." - Sherlock Holmes

    #2
    Re: Network connection 'oddity'

    If you can connect to the router, but not to the internet, it is probably a DNS issue. Check the /etc/resolv.conf files and see if they match. If you are using DHCP this file is automatically rewritten every time you connect. You might try connecting with a static IP and provide the DNS servers manually by editing this file.

    Comment


      #3
      Re: Network connection 'oddity'

      Also check with the route command to see if you're getting a route to the router.

      Please Read Me

      Comment


        #4
        Re: Network connection 'oddity'

        Thank you both.

        Okay, I think the problem is that a default gateway isn't being generated, but I don't know why.

        From Kubuntu 9.10 (which I'm in now) and from which Internet connectivity does work:
        resolv.config
        nameserver 207.69.188.187
        nameserver 207.69.188.186
        route
        Code:
        Kernel IP routing table
        Destination   Gateway     Genmask     Flags Metric Ref  Use Iface
        192.168.1.0   *        255.255.255.0  U   0   0    0 eth0
        default     192.168.1.1   0.0.0.0     UG  0   0    0 eth0
        From Kubuntu 10.04 and from which Internet connectivity does not work:
        resolv.config
        nameserver 207.69.188.187
        nameserver 207.69.188.186
        route
        Code:
        Kernel IP routing table
        Destination   Gateway     Genmask     Flags Metric Ref  Use Iface
        192.168.118.0  *        255.255.255.0  U   0   0    0 vmnet8
        192.168.1.0   *        255.255.255.0  U   0   0    0 vmnet1
        192.168.1.0   *        255.255.255.0  U   0   0    0 eth0
        If the problem is that a default gateway isn't being created, then first, why isn't it, and second, how do I remedy it?
        Windows no longer obstructs my view.
        Using Kubuntu Linux since March 23, 2007.
        "It is a capital mistake to theorize before one has data." - Sherlock Holmes

        Comment


          #5
          Re: Network connection 'oddity'

          I don't have wicd installed on this computer, so I am not sure whre you do this, but there must be a place in wicd to enter the gateway.

          Comment


            #6
            Re: Network connection 'oddity'

            I'm not a wicd guru and I use static ip's with the gateway defined in interfaces.

            The command to add the default gateway is:

            sudo route add default gw 192.168.1.1 eth0

            work around would be add this to rc.local

            Please Read Me

            Comment


              #7
              Re: Network connection 'oddity'

              That doesn't work - tired already.

              I have however, 'narrowed' down the cause. When I boot into 10.04, I normally run the 2.6.32-22-generic-pae kernel. With this kernel, I'm having the problem. However, if I boot using the 2.6.32-22-generic kernel, which I'm in now, then I don't have the problem.
              resolv.config
              nameserver 207.69.188.187
              nameserver 207.69.188.186
              route
              Code:
              Kernel IP routing table
              Destination   Gateway     Genmask     Flags Metric Ref  Use Iface
              192.168.1.0   *        255.255.255.0  U   0   0    0 eth0
              default     192.168.1.1   0.0.0.0     UG  0   0    0 eth0
              When booting the 2.6.32-22-generic-pae kernel, I noticed that the virtual machine entries in route are created, even though I'm not running the VM. These entries are not listed when route is run in the non-pae kernel.
              Windows no longer obstructs my view.
              Using Kubuntu Linux since March 23, 2007.
              "It is a capital mistake to theorize before one has data." - Sherlock Holmes

              Comment


                #8
                Re: Network connection 'oddity'

                Any other thoughts?
                Windows no longer obstructs my view.
                Using Kubuntu Linux since March 23, 2007.
                "It is a capital mistake to theorize before one has data." - Sherlock Holmes

                Comment


                  #9
                  Re: Network connection 'oddity'

                  Did you get a new kernel in yesterday's updates? I got a -23 generic (64-bit).

                  Comment


                    #10
                    Re: Network connection 'oddity'

                    No. The -pae kernel appears to be the problem. Running the -generic kernel, all is well. It isn't a big deal actually. As I only have 1-Gig of RAM, I don't really gain much of an advantage using the -pae kernel. But it is odd that I can't connect to the Internet running the -pae kernel. I'm sure someone has experience on this, and would like to here what they have to say on the matter.
                    Windows no longer obstructs my view.
                    Using Kubuntu Linux since March 23, 2007.
                    "It is a capital mistake to theorize before one has data." - Sherlock Holmes

                    Comment


                      #11
                      Re: Network connection 'oddity'

                      Originally posted by dibl
                      Did you get a new kernel in yesterday's updates? I got a -23 generic (64-bit).
                      Dible, what repository do you have enabled to get this upgrade? I have all the repositories enabled, including backports, and I did not get a kernel upgrade. A ppa perhaps?

                      Comment

                      Working...
                      X