Announcement

Collapse
No announcement yet.

Problem with internet connection

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

    Problem with internet connection

    Hi. I installed Kubuntu 7.10 some time ago and it like it. But there is one problem, I can't make my internet connection to work with it.

    My connection works with my Windows Xp. (I have Kubuntu and Xp installed on same computer.)
    My connection type is HomePNA. What should I do?

    #2
    Re: Problem with internet connection

    I have no clue as to what a homePNA is. Can you describe what you network connection is? Cable modem, DSL or what?

    Do you have an IP address? Use ifconfig and see if you have an eth0 and if it has an IP address. And does the IP address start with 192 or is it something else. Avahi has a feature, I think it's a stupid bug, in that it assigns you an IP address if you can't get one from DHCP. I think that if it fails at getting an IP from DHCP it should put up some sort of message box telling the user it couldn't but they didn't ask me.

    Comment


      #3
      Re: Problem with internet connection

      I have ADLS connection which is shared to users using HomePNA. I can't explain it better than that.
      When I used ifconfig it shows that I have eth0 and eth1. Is it normal to have both 0 and 1?
      Eth0 showed that it had ip address I had given to it. It started with 192...

      Comment


        #4
        Re: Problem with internet connection

        If you have two NICs, sure. Post the output of 'ifconfig' and 'route', and let's have a look.
        --<br />

        Comment


          #5
          Re: Problem with internet connection

          What is NIC?
          I also found out that my network adapter is AMD PCnet-Home Based Network Adapter (Generic)

          Originally posted by route
          Kernel IP routing table
          Destination Gateway Genmask Flags Metric Ref Use Iface
          192.168.0.0 * 255.255.255.0 U 0 0 0 eth1
          link-local * 255.255.0.0 U 1000 0 0 eth1
          Originally posted by ifconfig
          eth0 Link encap:Ethernet HWaddr 00:15:58:05:78F
          UP BROADCAST MULTICAST MTU:1500 Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
          Interrupt:18 Base address:0xe000

          eth1 Link encap:Ethernet HWaddr 00:08:545A5
          inet addr:192.168.0.105 Bcast:192.168.0.255 Mask:255.255.255.0
          UP BROADCAST MULTICAST MTU:1500 Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
          Interrupt:20 Base address:0xbc00

          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:40 errors:0 dropped:0 overruns:0 frame:0
          TX packets:40 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:3272 (3.1 KB) TX bytes:3272 (3.1 KB)

          Comment


            #6
            Re: Problem with internet connection

            NIC = Network Interface Card...sorry.

            Well, eth1 is up. Can you bring eth0 up?

            Code:
            slackero@gunslinger:~$ sudo ifconfig eth0 up
            Your route output doesn't have a gateway listed, which is required to route to the Internet. The asterisk (*) is listed when routing can be completed without going through a gateway (router).

            For example, here's my route table.

            Code:
            slackero@gunslinger:~$ route -n
            Kernel IP routing table
            Destination   Gateway     Genmask     Flags Metric Ref  Use Iface
            192.168.2.0   0.0.0.0     255.255.255.0  U   0   0    0 eth0
            0.0.0.0     192.168.2.1   0.0.0.0     UG  0   0    0 eth0
            As you can see, my laptop is a host on the 192.168.2.0 network, with a gateway of 192.168.2.1.

            I'm guessing your gateway's address is probably 192.168.0.1, which is the default of many home routers. I'm assuming you're not connected directly to the Internet because of your 192.x address, and the fact that the dhcp server seems to be starting with x.x.x.100, another characteristic of popular home routers.

            Try bringing up eth0 and post the output from those two commands again.

            --<br />

            Comment


              #7
              Re: Problem with internet connection

              Originally posted by ifconfig
              delzun@Gaidin:~$ ifconfig
              eth0 Link encap:Ethernet HWaddr 00:15:58:05:78F
              UP BROADCAST MULTICAST MTU:1500 Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
              Interrupt:18 Base address:0xe000

              eth1 Link encap:Ethernet HWaddr 00:08:545A5
              inet addr:192.168.0.105 Bcast:192.168.0.255 Mask:255.255.255.0
              UP BROADCAST MULTICAST MTU:1500 Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
              Interrupt:20 Base address:0xbc00

              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:16 errors:0 dropped:0 overruns:0 frame:0
              TX packets:16 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:0
              RX bytes:1408 (1.3 KB) TX bytes:1408 (1.3 KB)
              Originally posted by route
              delzun@Gaidin:~$ route
              Kernel IP routing table
              Destination Gateway Genmask Flags Metric Ref Use Iface
              192.168.0.0 * 255.255.255.0 U 0 0 0 eth1
              link-local * 255.255.0.0 U 1000 0 0 eth1
              I checked my gateway adress in Windows and it is 192.168.0.254

              Comment


                #8
                Re: Problem with internet connection

                eth0 is up, good 8)

                Now, let's see if we can get an IP for it. Try this; if it succeeds, post your 'ifconfig' and 'route' output again, else, post your error output.

                Code:
                slackero@gunslinger:~$ sudo dhclient eth0
                Here's what we're doing; your computer is what we call multi-homed, meaning it has more than one NIC - it could be called dual-homed, since you only have two. I suspect the route table will get built correctly once we get eth0 functioning properly. As a multi-homed device, your computer is acting like a router (i.e., it should transparently pass packets from eth1, which should be connected to your internal LAN, to eth0, which is connected to the Internet). You only need one interface "talking" to a gateway for it to function right, and eth0 probably wants to "talk" to the 'net.
                --<br />

                Comment


                  #9
                  Re: Problem with internet connection

                  Internet Systems Consortium DHCP Client V3.0.5
                  Copyright 2004-2006 Internet Systems Consortium.
                  All rights reserved.
                  For info, please visit http://www.isc.org/sw/dhcp/

                  Listening on LPF/eth0/00:15:58:05:78:df
                  Sending on LPF/eth0/00:15:58:05:78:df
                  Sending on Socket/fallback
                  DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 7
                  DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 13
                  DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 11
                  No DHCPOFFERS received.
                  No working leases in persistent database - sleeping.
                  This was what dhclient gave.

                  Comment


                    #10
                    Re: Problem with internet connection

                    eth0 is not able to contact your DHCP server to get an IP address.

                    Tell us a bit about your setup. Specifically, where are eth0 and 1 plugged into? The same switch or router?
                    --<br />

                    Comment


                      #11
                      Re: Problem with internet connection

                      If i got all right eth0 is my old, integrated network adapter, which doesn't work with my internet connection. And eht1 is one that I bought for this connection.
                      So think that that eht0 is connected nowhere and eht1 goes to telephone plug. From it probably goes to housing organization's ADSL-router.

                      Comment

                      Working...
                      X