Announcement

Collapse
No announcement yet.

Not able to reach the internet

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

    Not able to reach the internet

    I am running a live cd of Kubuntu 7.10 - Gutsy Gibbon On the Streets. Both my wireless and ethernet network cards are enabled with dhcp, however it seems that i can't connect to the internet. i am wired through my router, but have also tried being directly connected to the cable modem.

    I have tried pinging both www.google.com and 192.168.1.1 with no joy for either. Please help if you can.

    Thanks,

    Phil

    #2
    Re: Not able to reach the internet

    this is what someone had me do and my internet worked after that.

    close all of your applications that open

    click on the K menu button.

    click on system settings.

    click on the advanced tab

    click on Service Manager

    go down to the lower box marked Startup Services

    find the one named Network Status Daemon

    highlight this one by clicking it.

    then click stop give it a few seconds and then click start

    open Konqueror and it should work hopefully.

    Comment


      #3
      Re: Not able to reach the internet

      ponygirldefiance, thanks for the reply, but that didn't work. Anybody else have any ideas?

      Comment


        #4
        Re: Not able to reach the internet

        Open a terminal window and paste the results of

        ifconfig

        and

        iwconfig

        Comment


          #5
          Re: Not able to reach the internet

          well, my wireless doesn't seem to be showing up now, but here it is with my wired.

          ifconfig:
          eth0 Link encap:Ethernet HWaddr 00:A01:BE:10:51
          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:11

          lo Link encap:Local Loopback
          inet addr:127.0.0.1 Mask:255.0.0.0
          UP LOOPBACK RUNNING MTU:16436 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:0
          RX bytes:0 (0,0 b) TX bytes:0 (0,0 b)

          iwconfig:
          lo no wireless extensions.

          eth0 no wireless extensions.

          Comment


            #6
            Re: Not able to reach the internet

            First to doublecheck this:
            kmenu -> system settings -> network settings
            right clicking on eth0 interface shows it set for dhcp and "activate when computer starts" is ticked?

            Also you say ethernet card. Do you have numerous ethernet interfaces in your system. For example a seperate card as well as on your motherboard?

            Ok, I'm going to have you bring the interface down and up again and then paste a lot of info. The interface reset may be enough to solve your problem.

            in a terminal window do the following:

            Code:
            sudo ifdown eth0
            then

            Code:
            sudo ifup eth0
            then paste ifconfig output for eth0 (hopefully there will be an inet address either now or after running dhclient below)

            also immediately run:

            Code:
            dmesg | tail -25
            and paste output

            -------

            If you are not getting an inet address then:

            Code:
            sudo dhclient eth0
            and paste the output

            At this point if nothing works I would try removing the router from the picture, connecting directly to the modem and bringing the interface down and up again as above.

            ---------

            If this makes no difference then paste the output of the following:

            Code:
            lshw -class network
            and

            Code:
            cat /etc/network/interfaces

            Comment


              #7
              Re: Not able to reach the internet

              Opie, here goes...

              1.) right clicking on eth0 interface shows it set for dhcp and "activate when computer starts" is ticked? yes

              2.) Also you say ethernet card. Do you have numerous ethernet interfaces in your system. For example a seperate card as well as on your motherboard? I have a network card for wired and wireless networks.


              Following then instructions that you gave me, here is the output for when I was connected through the router.

              ubuntu@ubuntu:~$ sudo ifdown eth0
              There is already a pid file /var/run/dhclient.eth0.pid with pid 8737
              killed old client process, removed PID file
              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:a0:d1:be:10:51
              Sending on LPF/eth0/00:a0:d1:be:10:51
              Sending on Socket/fallback


              ubuntu@ubuntu:~$ sudo ifup eth0
              There is already a pid file /var/run/dhclient.eth0.pid with pid 134519120
              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:a0:d1:be:10:51
              Sending on LPF/eth0/00:a0:d1:be:10:51
              Sending on Socket/fallback
              DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 6
              DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 10
              DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 13
              DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 2
              No DHCPOFFERS received.
              No working leases in persistent database - sleeping.

              ubuntu@ubuntu:~$ ifconfig
              eth0 Link encap:Ethernet HWaddr 00:A01:BE:10:51
              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:11

              eth0:avah Link encap:Ethernet HWaddr 00:A01:BE:10:51
              inet addr:169.254.6.82 Bcast:169.254.255.255 Mask:255.255.0.0
              UP BROADCAST MULTICAST MTU:1500 Metric:1
              Interrupt:11

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

              ubuntu@ubuntu:~$ dmesg | tail -25
              [ 96.020000] ACPI: Video Device [GFX0] (multi-head: yes rom: yes post: no)
              [ 107.812000] sky2 eth0: enabling interface
              [ 115.124000] lp0: using parport0 (interrupt-driven).
              [ 116.240000] ppdev: user-space parallel port driver
              [ 121.976000] apm: BIOS not found.
              [ 128.388000] [drm] Initialized drm 1.1.0 20060810
              [ 128.460000] ACPI: PCI Interrupt 0000:00:02.0[A] -> Link [LNKA] -> GSI 11 (lev el, low) -> IRQ 11
              [ 128.460000] [drm] Initialized i915 1.6.0 20060119 on minor 0
              [ 131.960000] Failure registering capabilities with primary security module.
              [ 141.704000] Bluetooth: Core ver 2.11
              [ 141.704000] NET: Registered protocol family 31
              [ 141.704000] Bluetooth: HCI device and connection manager initialized
              [ 141.704000] Bluetooth: HCI socket layer initialized
              [ 142.196000] Bluetooth: L2CAP ver 2.8
              [ 142.196000] Bluetooth: L2CAP socket layer initialized
              [ 142.260000] Bluetooth: RFCOMM socket layer initialized
              [ 142.260000] Bluetooth: RFCOMM TTY layer initialized
              [ 142.260000] Bluetooth: RFCOMM ver 1.8
              [ 473.632000] NET: Registered protocol family 10
              [ 473.632000] lo: Disabled Privacy Extensions
              [ 473.632000] ADDRCONF(NETDEV_UP): eth0: link is not ready
              [ 639.364000] NET: Registered protocol family 17
              [ 753.472000] sky2 eth0: disabling interface
              [ 810.212000] sky2 eth0: enabling interface
              [ 810.216000] ADDRCONF(NETDEV_UP): eth0: link is not ready

              ubuntu@ubuntu:~$ sudo dhclient eth0
              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:a0:d1:be:10:51
              Sending on LPF/eth0/00:a0:d1:be:10:51
              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 16
              DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8
              No DHCPOFFERS received.
              No working leases in persistent database – sleeping.

              The following are the same steps but connected directly through the cable modem.

              ubuntu@ubuntu:~$ sudo ifdown eth0
              There is already a pid file /var/run/dhclient.eth0.pid with pid 8899
              killed old client process, removed PID file
              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:a0:d1:be:10:51
              Sending on LPF/eth0/00:a0:d1:be:10:51
              Sending on Socket/fallback


              ubuntu@ubuntu:~$ sudo ifup eth0
              There is already a pid file /var/run/dhclient.eth0.pid with pid 134519120
              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:a0:d1:be:10:51
              Sending on LPF/eth0/00:a0:d1:be:10:51
              Sending on Socket/fallback
              DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8
              DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 11
              DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 12
              No DHCPOFFERS received.
              No working leases in persistent database – sleeping.

              ubuntu@ubuntu:~$ dmesg | tail -25
              [ 116.240000] ppdev: user-space parallel port driver
              [ 121.976000] apm: BIOS not found.
              [ 128.388000] [drm] Initialized drm 1.1.0 20060810
              [ 128.460000] ACPI: PCI Interrupt 0000:00:02.0[A] -> Link [LNKA] -> GSI 11 (level, low) -> IRQ 11
              [ 128.460000] [drm] Initialized i915 1.6.0 20060119 on minor 0
              [ 131.960000] Failure registering capabilities with primary security module.
              [ 141.704000] Bluetooth: Core ver 2.11
              [ 141.704000] NET: Registered protocol family 31
              [ 141.704000] Bluetooth: HCI device and connection manager initialized
              [ 141.704000] Bluetooth: HCI socket layer initialized
              [ 142.196000] Bluetooth: L2CAP ver 2.8
              [ 142.196000] Bluetooth: L2CAP socket layer initialized
              [ 142.260000] Bluetooth: RFCOMM socket layer initialized
              [ 142.260000] Bluetooth: RFCOMM TTY layer initialized
              [ 142.260000] Bluetooth: RFCOMM ver 1.8
              [ 473.632000] NET: Registered protocol family 10
              [ 473.632000] lo: Disabled Privacy Extensions
              [ 473.632000] ADDRCONF(NETDEV_UP): eth0: link is not ready
              [ 639.364000] NET: Registered protocol family 17
              [ 753.472000] sky2 eth0: disabling interface
              [ 810.212000] sky2 eth0: enabling interface
              [ 810.216000] ADDRCONF(NETDEV_UP): eth0: link is not ready
              [ 1405.616000] sky2 eth0: disabling interface
              [ 1412.848000] sky2 eth0: enabling interface
              [ 1412.848000] ADDRCONF(NETDEV_UP): eth0: link is not ready

              ubuntu@ubuntu:~$ sudo dhclient eth0
              There is already a pid file /var/run/dhclient.pid with pid 8971
              killed old client process, removed PID file
              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:a0:d1:be:10:51
              Sending on LPF/eth0/00:a0:d1:be:10:51
              Sending on Socket/fallback
              DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 4
              DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 7
              DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 14
              DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 6
              No DHCPOFFERS received.
              No working leases in persistent database – sleeping.

              Here is the output for the instructions that I followed when none of the other steps worked.

              ubuntu@ubuntu:~$ lshw -class network
              WARNING: you should run this program as super-user.
              *-network
              description: Ethernet interface
              product: 88E8053 PCI-E Gigabit Ethernet Controller
              vendor: Marvell Technology Group Ltd.
              physical id: 0
              bus info: pci@0000:01:00.0
              logical name: eth0
              version: 15
              serial: 00:a0:d1:be:10:51
              width: 64 bits
              clock: 33MHz
              capabilities: bus_master cap_list ethernet physical
              configuration: broadcast=yes driver=sky2 driverversion=1.18 firmware=N/A latency=0 module=sky2 multicast=yes
              *-network UNCLAIMED
              description: Network controller
              product: PRO/Wireless 2200BG Network Connection
              vendor: Intel Corporation
              physical id: 4
              bus info: pci@0000:05:04.0
              version: 05
              width: 32 bits
              clock: 33MHz
              capabilities: cap_list
              configuration: latency=128 maxlatency=24 mingnt=3


              ubuntu@ubuntu:~$ cat /etc/network/interfaces
              auto lo
              iface lo inet loopback
              address 127.0.0.1
              netmask 255.0.0.0


              iface eth0 inet dhcp

              auto eth0

              _________________________________________________
              It seems to me that I did get a inet address, but I still wasn't able to connect to the internet. I really appreciate you helping me.

              -Phil

              Comment


                #8
                Re: Not able to reach the internet

                ok I'm sure you are getting tired of answering questions but I'm still narrowing down options.

                1. Have you set up the firewall, using any front end such as guarddog or firestarter, in linux?
                Give the output of

                Code:
                sudo iptables -nL
                2. Let's check the output of the following to confirm link status. Print it all but we are especially interested in link detected.

                Code:
                sudo ethtool eth0
                3. Do you have windows installed and is this working under windows?

                Comment


                  #9
                  Re: Not able to reach the internet

                  I'm more than happy to answer any questions. Afterall, you are helping me out!! Thanks again for all of your help.

                  1. Have you set up the firewall, using any front end such as guarddog or firestarter, in linux?No

                  I followed your instructions and here is the output. this output is the same for plugged into my router and plugged directly into the cable modem.
                  ubuntu@ubuntu:~$ sudo iptables -nL
                  Chain INPUT (policy ACCEPT)
                  target prot opt source destination

                  Chain FORWARD (policy ACCEPT)
                  target prot opt source destination

                  Chain OUTPUT (policy ACCEPT)
                  target prot opt source destination

                  ubuntu@ubuntu:~$ sudo ethtool eth0
                  Settings for eth0:
                  Supported ports: [ TP ]
                  Supported link modes: 10baseT/Half 10baseT/Full
                  100baseT/Half 100baseT/Full
                  1000baseT/Half 1000baseT/Full
                  Supports auto-negotiation: Yes
                  Advertised link modes: 10baseT/Half 10baseT/Full
                  100baseT/Half 100baseT/Full
                  1000baseT/Half 1000baseT/Full
                  Advertised auto-negotiation: Yes
                  Speed: Unknown! (65535)
                  Duplex: Unknown! (255)
                  Port: Twisted Pair
                  PHYAD: 0
                  Transceiver: internal
                  Auto-negotiation: on
                  Supports Wake-on: pg
                  Wake-on: d
                  Current message level: 0x000000ff (255)
                  Link detected: no


                  3. Do you have windows installed and is this working under windows?I have windows on this computer, but this is running off of the cd before windows is even booted.

                  Comment


                    #10
                    Re: Not able to reach the internet

                    Originally posted by Sir Captain
                    3. Do you have windows installed and is this working under windows? I have windows on this computer, but this is running off of the cd before windows is even booted.
                    I believe he meant, Does this same network adapter work under Windows?

                    Comment


                      #11
                      Re: Not able to reach the internet

                      Yes, I meant does the card work under windows and are you able to connect under windows.

                      There is no link showing. This could signal a hardware problem so we need to rule out a bad cable or something of that sort.
                      I would ask you to doublecheck this with windows, even if it worked in the past.
                      Once hardware problems are ruled out our options are limited.

                      First let's shut down the interface and reload the module.


                      Code:
                      sudo ifconfig eth0 down
                      sudo modprobe -r sky2
                      sudo modprobe sky2
                      sudo ifconfig eth0 up
                      After this run
                      Code:
                      sudo ethtool eth0
                      again and see if the line link detected = yes.

                      EDIT: I was going to have you try something else but, since this is a laptop and I'm not confident it will have any effect anyway I think we should focus on trying to get the wireless working.

                      For some reason the driver is not loaded for your wireless, which is supported out of the box.
                      I think it would be best, if you can do so in your bios, to deactivate the ethernet unless you have to have it for windows.
                      Is there some button or activation you need to press for your wireless that you may have forgotten to activate?
                      If not then do the following:

                      Code:
                      sudo modprobe -r ipw2200
                      sudo modprobe ipw2200
                      dmesg | tail -30
                      paste the dmesg output here.

                      Comment


                        #12
                        Re: Not able to reach the internet

                        I tried my network card and the cable in windows and it worked perfectly fine. No issues there. Sorry about misunderstanding you.

                        As far as the wireless card...it works perfectly fine in windows. I have found that in kubuntu, the knetwordmanager does not seem to recognize that i have a wireless card at all unless it is off when i boot up and then turn it on after being in kubuntu. by the way, there is no button or switch that i have forgotten to use to activate my wireless.

                        here is the output of the commands that you instructed me to execute.


                        ubuntu@ubuntu:~$ sudo ifconfig eth0 down
                        ubuntu@ubuntu:~$ sudo modprobe -r sky2
                        ubuntu@ubuntu:~$ sudo modprobe sky2
                        ubuntu@ubuntu:~$ sudo ifconfig eth0 up
                        ubuntu@ubuntu:~$ sudo ethtool eth0

                        Settings for eth0:
                        Supported ports: [ TP ]
                        Supported link modes: 10baseT/Half 10baseT/Full
                        100baseT/Half 100baseT/Full
                        1000baseT/Half 1000baseT/Full
                        Supports auto-negotiation: Yes
                        Advertised link modes: 10baseT/Half 10baseT/Full
                        100baseT/Half 100baseT/Full
                        1000baseT/Half 1000baseT/Full
                        Advertised auto-negotiation: Yes
                        Speed: Unknown! (65535)
                        Duplex: Unknown! (255)
                        Port: Twisted Pair
                        PHYAD: 0
                        Transceiver: internal
                        Auto-negotiation: on
                        Supports Wake-on: pg
                        Wake-on: d
                        Current message level: 0x000000ff (255)
                        Link detected: no
                        ubuntu@ubuntu:~$ sudo modprobe -r ipw2200
                        ubuntu@ubuntu:~$ sudo modprobe ipw2200
                        ubuntu@ubuntu:~$ dmesg | tail -30

                        [17334.192000] usb-storage: device scan complete
                        [17334.196000] scsi 3:0:0:0: Direct-Access KINGSTON DATA TRAVELER 1.11 PQ: 0 ANSI: 1 CCS
                        [17334.200000] sd 3:0:0:0: [sdb] 125952 512-byte hardware sectors (64 MB)
                        [17334.204000] sd 3:0:0:0: [sdb] Write Protect is off
                        [17334.204000] sd 3:0:0:0: [sdb] Mode Sense: 23 00 00 00
                        [17334.204000] sd 3:0:0:0: [sdb] Assuming drive cache: write through
                        [17334.216000] sd 3:0:0:0: [sdb] 125952 512-byte hardware sectors (64 MB)
                        [17334.220000] sd 3:0:0:0: [sdb] Write Protect is off
                        [17334.220000] sd 3:0:0:0: [sdb] Mode Sense: 23 00 00 00
                        [17334.220000] sd 3:0:0:0: [sdb] Assuming drive cache: write through
                        [17334.220000] sdb: sdb1
                        [17334.228000] sd 3:0:0:0: [sdb] Attached SCSI removable disk
                        [17334.228000] sd 3:0:0:0: Attached scsi generic sg2 type 0
                        [17471.364000] ieee80211_crypt: unregistered algorithm 'NULL'
                        [17476.320000] ieee80211_crypt: registered algorithm 'NULL'
                        [17476.328000] ieee80211: 802.11 data/management/control stack, git-1.1.13
                        [17476.328000] ieee80211: Copyright (C) 2004-2005 Intel Corporation <jketreno@linux.intel.com>
                        [17476.336000] ipw2200: Intel(R) PRO/Wireless 2200/2915 Network Driver, 1.2.0kmprq
                        [17476.336000] ipw2200: Copyright(c) 2003-2006 Intel Corporation
                        [17476.336000] ACPI: PCI Interrupt 0000:05:04.0[A] -> Link [LNKC] -> GSI 11 (level, low) -> IRQ 11
                        [17476.336000] ipw2200: Detected Intel PRO/Wireless 2200BG Network Connection
                        [17477.832000] ipw2200: Failed to send TX_POWER: Command timed out.
                        [17478.952000] ipw2200: Failed to send TX_POWER: Command timed out.
                        [17480.072000] ipw2200: Failed to send TX_POWER: Command timed out.
                        [17481.192000] ipw2200: Failed to send TX_POWER: Command timed out.
                        [17482.312000] ipw2200: Failed to send TX_POWER: Command timed out.
                        [17482.312000] ipw2200: Unable to initialize device after 5 attempts.
                        [17482.312000] ipw2200: failed to register network device
                        [17482.312000] ACPI: PCI interrupt for device 0000:05:04.0 disabled
                        [17482.312000] ipw2200: probe of 0000:05:04.0 failed with error -5

                        Comment


                          #13
                          Re: Not able to reach the internet

                          When you next boot your machine hit F6 at the boot menu. This will allow you to edit your boot paramaters.
                          Add a space and then

                          irqpoll

                          to the edited line

                          When the system is done booting paste the results of

                          dmesg | grep ipw2200

                          and

                          lshw -C network

                          Comment

                          Working...
                          X