Find the answer to your Linux question:
Results 1 to 9 of 9
On my Win7 side (dual boot) my internet works fine. But when I log onto Ubuntu (Classic 11.04) it searches and searches, but I can't get connected. Anyone have the ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Sep 2011
    Posts
    9

    Cable modem and internet, not working


    On my Win7 side (dual boot) my internet works fine.
    But when I log onto Ubuntu (Classic 11.04) it searches and searches, but I can't get connected.
    Anyone have the same problems or know what can be done?
    Thank in advance.

    My modem is a Motorola SB6120 (DOCSIS)

  2. #2
    Administrator jayd512's Avatar
    Join Date
    Feb 2008
    Location
    Kentucky
    Posts
    5,025
    So it's a cable modem, connected via CAT5 cable, correct?
    What is the output of ifconfig -a

    *EDIT*
    Afterthought here...
    Please also post the output if lspci -vnn
    Jay

    New users, read this first.
    New Member FAQ
    Registered Linux User #463940
    I do not respond to private messages asking for Linux help. Please keep it on the public boards.

  3. #3
    Just Joined!
    Join Date
    Sep 2011
    Posts
    9
    Hi Jay, thanks for the reply.
    I did some digging around and came up with this download for the drivers for my RealTek Giga
    realtek. com/Downloads/downloadsView.aspx?Langid=1&PNid=13&PFid=5&Level=5 &Conn=4&DownTypeID=3&GetDown=fa

    When I download the Linux file dated August 2011 and tried the Autorun.sh script, I got an error saying it couldn't remove the realtek drivers already installed (I can post a screenshot later, can't upload at the moment)

    ifconfig -a output

    Code:
    eth0      Link encap:Ethernet  HWaddr 1c:6f:65:c5:5b:97  
              inet6 addr: fe80::1e6f:65ff:fec5:5b97/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:14 errors:0 dropped:14 overruns:0 frame:14
              TX packets:24 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000 
              RX bytes:1670 (1.6 KB)  TX bytes:5666 (5.6 KB)
              Interrupt:41 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:68 errors:0 dropped:0 overruns:0 frame:0
              TX packets:68 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:0 
              RX bytes:5000 (5.0 KB)  TX bytes:5000 (5.0 KB)
    
    wlan0     Link encap:Ethernet  HWaddr 00:13:46:94:d0:3b  
              inet addr:192.168.1.105  Bcast:192.168.1.255  Mask:255.255.255.0
              inet6 addr: fe80::213:46ff:fe94:d03b/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:21938 errors:0 dropped:0 overruns:0 frame:0
              TX packets:17841 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000 
              RX bytes:26687687 (26.6 MB)  TX bytes:2493816 (2.4 MB)
    ------------------------------------------------------------------------------------------------------------------------------------
    Code:
    lspci -vnn output
    
    00:00.0 Host bridge [0600]: Intel Corporation 2nd Generation Core Processor Family DRAM Controller [8086:0100] (rev 09)
    	Flags: bus master, fast devsel, latency 0
    	Capabilities: <access denied>
    
    00:01.0 PCI bridge [0604]: Intel Corporation 2nd Generation Core Processor Family PCI Express Root Port [8086:0101] (rev 09) (prog-if 00 [Normal decode])
    	Flags: bus master, fast devsel, latency 0
    	Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
    	I/O behind bridge: 0000a000-0000afff
    	Memory behind bridge: f6000000-f9ffffff
    	Prefetchable memory behind bridge: 00000000e0000000-00000000efffffff
    	Capabilities: <access denied>
    	Kernel driver in use: pcieport
    	Kernel modules: shpchp
    
    00:16.0 Communication controller [0780]: Intel Corporation 6 Series Chipset Family MEI Controller #1 [8086:1c3a] (rev 04)
    	Subsystem: Giga-byte Technology Device [1458:1c3a]
    	Flags: bus master, fast devsel, latency 0, IRQ 11
    	Memory at fbfff000 (64-bit, non-prefetchable) [size=16]
    	Capabilities: <access denied>
    
    00:1a.0 USB Controller [0c03]: Intel Corporation 6 Series Chipset Family USB Enhanced Host Controller #2 [8086:1c2d] (rev 05) (prog-if 20 [EHCI])
    	Subsystem: Giga-byte Technology Device [1458:5006]
    	Flags: bus master, medium devsel, latency 0, IRQ 18
    	Memory at fbffe000 (32-bit, non-prefetchable) [size=1K]
    	Capabilities: <access denied>
    	Kernel driver in use: ehci_hcd
    
    00:1b.0 Audio device [0403]: Intel Corporation 6 Series Chipset Family High Definition Audio Controller [8086:1c20] (rev 05)
    	Subsystem: Giga-byte Technology Device [1458:a102]
    	Flags: bus master, fast devsel, latency 0, IRQ 45
    	Memory at fbff4000 (64-bit, non-prefetchable) [size=16K]
    	Capabilities: <access denied>
    	Kernel driver in use: HDA Intel
    	Kernel modules: snd-hda-intel
    
    00:1c.0 PCI bridge [0604]: Intel Corporation 6 Series Chipset Family PCI Express Root Port 1 [8086:1c10] (rev b5) (prog-if 00 [Normal decode])
    	Flags: bus master, fast devsel, latency 0
    	Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
    	I/O behind bridge: 0000e000-0000efff
    	Memory behind bridge: fbb00000-fbbfffff
    	Prefetchable memory behind bridge: 00000000f4000000-00000000f40fffff
    	Capabilities: <access denied>
    	Kernel driver in use: pcieport
    	Kernel modules: shpchp
    
    00:1c.3 PCI bridge [0604]: Intel Corporation 82801 PCI Bridge [8086:244e] (rev b5) (prog-if 01 [Subtractive decode])
    	Flags: bus master, fast devsel, latency 0
    	Bus: primary=00, secondary=03, subordinate=04, sec-latency=0
    	I/O behind bridge: 0000d000-0000dfff
    	Memory behind bridge: fba00000-fbafffff
    	Capabilities: <access denied>
    
    00:1c.4 PCI bridge [0604]: Intel Corporation 6 Series Chipset Family PCI Express Root Port 5 [8086:1c18] (rev b5) (prog-if 00 [Normal decode])
    	Flags: bus master, fast devsel, latency 0
    	Bus: primary=00, secondary=05, subordinate=05, sec-latency=0
    	Memory behind bridge: fb900000-fb9fffff
    	Capabilities: <access denied>
    	Kernel driver in use: pcieport
    	Kernel modules: shpchp
    
    00:1c.5 PCI bridge [0604]: Intel Corporation 6 Series Chipset Family PCI Express Root Port 6 [8086:1c1a] (rev b5) (prog-if 00 [Normal decode])
    	Flags: bus master, fast devsel, latency 0
    	Bus: primary=00, secondary=06, subordinate=06, sec-latency=0
    	Memory behind bridge: fbe00000-fbefffff
    	Capabilities: <access denied>
    	Kernel driver in use: pcieport
    	Kernel modules: shpchp
    
    00:1c.6 PCI bridge [0604]: Intel Corporation 6 Series Chipset Family PCI Express Root Port 7 [8086:1c1c] (rev b5) (prog-if 00 [Normal decode])
    	Flags: bus master, fast devsel, latency 0
    	Bus: primary=00, secondary=07, subordinate=07, sec-latency=0
    	I/O behind bridge: 0000c000-0000cfff
    	Prefetchable memory behind bridge: 00000000fbd00000-00000000fbdfffff
    	Capabilities: <access denied>
    	Kernel driver in use: pcieport
    	Kernel modules: shpchp
    
    00:1c.7 PCI bridge [0604]: Intel Corporation 6 Series Chipset Family PCI Express Root Port 8 [8086:1c1e] (rev b5) (prog-if 00 [Normal decode])
    	Flags: bus master, fast devsel, latency 0
    	Bus: primary=00, secondary=08, subordinate=08, sec-latency=0
    	I/O behind bridge: 0000b000-0000bfff
    	Memory behind bridge: fbc00000-fbcfffff
    	Prefetchable memory behind bridge: 00000000f4100000-00000000f41fffff
    	Capabilities: <access denied>
    	Kernel driver in use: pcieport
    	Kernel modules: shpchp
    
    00:1d.0 USB Controller [0c03]: Intel Corporation 6 Series Chipset Family USB Enhanced Host Controller #1 [8086:1c26] (rev 05) (prog-if 20 [EHCI])
    	Subsystem: Giga-byte Technology Device [1458:5006]
    	Flags: bus master, medium devsel, latency 0, IRQ 23
    	Memory at fbffd000 (32-bit, non-prefetchable) [size=1K]
    	Capabilities: <access denied>
    	Kernel driver in use: ehci_hcd
    
    00:1f.0 ISA bridge [0601]: Intel Corporation 6 Series Chipset Family LPC Controller [8086:1c44] (rev 05)
    	Subsystem: Giga-byte Technology Device [1458:5001]
    	Flags: bus master, medium devsel, latency 0
    	Capabilities: <access denied>
    	Kernel modules: iTCO_wdt
    
    00:1f.2 SATA controller [0106]: Intel Corporation 6 Series Chipset Family 6 port SATA AHCI Controller [8086:1c02] (rev 05) (prog-if 01 [AHCI 1.0])
    	Subsystem: Giga-byte Technology Device [1458:b005]
    	Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 43
    	I/O ports at ff00 [size=8]
    	I/O ports at fe00 [size=4]
    	I/O ports at fd00 [size=8]
    	I/O ports at fc00 [size=4]
    	I/O ports at fb00 [size=32]
    	Memory at fbffc000 (32-bit, non-prefetchable) [size=2K]
    	Capabilities: <access denied>
    	Kernel driver in use: ahci
    	Kernel modules: ahci
    
    00:1f.3 SMBus [0c05]: Intel Corporation 6 Series Chipset Family SMBus Controller [8086:1c22] (rev 05)
    	Subsystem: Giga-byte Technology Device [1458:5001]
    	Flags: medium devsel, IRQ 12
    	Memory at fbffb000 (64-bit, non-prefetchable) [size=256]
    	I/O ports at 0500 [size=32]
    	Kernel modules: i2c-i801
    
    01:00.0 VGA compatible controller [0300]: nVidia Corporation GF104 [GeForce GTX 460] [10de:0e22] (rev a1) (prog-if 00 [VGA controller])
    	Subsystem: eVga.com. Corp. Device [3842:1372]
    	Flags: bus master, fast devsel, latency 0, IRQ 16
    	Memory at f6000000 (32-bit, non-prefetchable) [size=32M]
    	Memory at e0000000 (64-bit, prefetchable) [size=128M]
    	Memory at ec000000 (64-bit, prefetchable) [size=64M]
    	I/O ports at af00 [size=128]
    	[virtual] Expansion ROM at e8000000 [disabled] [size=512K]
    	Capabilities: <access denied>
    	Kernel driver in use: nvidia
    	Kernel modules: nvidia-current, nouveau, nvidiafb
    
    01:00.1 Audio device [0403]: nVidia Corporation GF104 High Definition Audio Controller [10de:0beb] (rev a1)
    	Subsystem: eVga.com. Corp. Device [3842:1372]
    	Flags: bus master, fast devsel, latency 0, IRQ 17
    	Memory at f9ffc000 (32-bit, non-prefetchable) [size=16K]
    	Capabilities: <access denied>
    	Kernel driver in use: HDA Intel
    	Kernel modules: snd-hda-intel
    
    02:00.0 IDE interface [0101]: Marvell Technology Group Ltd. Device [1b4b:917a] (rev 11) (prog-if 8f [Master SecP SecO PriP PriO])
    	Subsystem: Giga-byte Technology Device [1458:b000]
    	Flags: fast devsel, IRQ 16
    	I/O ports at ef00 [size=8]
    	I/O ports at ee00 [size=4]
    	I/O ports at ed00 [size=8]
    	I/O ports at ec00 [size=4]
    	I/O ports at eb00 [size=16]
    	Memory at fbbff000 (32-bit, non-prefetchable) [size=512]
    	[virtual] Expansion ROM at f4000000 [disabled] [size=64K]
    	Capabilities: <access denied>
    
    03:00.0 PCI bridge [0604]: Integrated Technology Express, Inc. Device [1283:8892] (rev 10) (prog-if 01 [Subtractive decode])
    	Flags: bus master, fast devsel, latency 0
    	Bus: primary=03, secondary=04, subordinate=04, sec-latency=32
    	I/O behind bridge: 0000d000-0000dfff
    	Memory behind bridge: fba00000-fbafffff
    	Capabilities: <access denied>
    
    04:02.0 FireWire (IEEE 1394) [0c00]: VIA Technologies, Inc. VT6306/7/8 [Fire II(M)] IEEE 1394 OHCI Controller [1106:3044] (rev c0) (prog-if 10 [OHCI])
    	Subsystem: Giga-byte Technology GA-7VT600-1394 Motherboard [1458:1000]
    	Flags: bus master, medium devsel, latency 32, IRQ 17
    	Memory at fbaff000 (32-bit, non-prefetchable) [size=2K]
    	I/O ports at df00 [size=128]
    	Capabilities: <access denied>
    	Kernel driver in use: firewire_ohci
    	Kernel modules: firewire-ohci
    
    05:00.0 USB Controller [0c03]: Device [1b6f:7023] (rev 01) (prog-if 30 [XHCI])
    	Subsystem: Giga-byte Technology Device [1458:5007]
    	Flags: bus master, fast devsel, latency 0, IRQ 42
    	Memory at fb9f8000 (64-bit, non-prefetchable) [size=32K]
    	Capabilities: <access denied>
    	Kernel driver in use: xhci_hcd
    	Kernel modules: xhci-hcd
    
    06:00.0 USB Controller [0c03]: Device [1b6f:7023] (rev 01) (prog-if 30 [XHCI])
    	Subsystem: Giga-byte Technology Device [1458:5007]
    	Flags: bus master, fast devsel, latency 0, IRQ 44
    	Memory at fbef8000 (64-bit, non-prefetchable) [size=32K]
    	Capabilities: <access denied>
    	Kernel driver in use: xhci_hcd
    	Kernel modules: xhci-hcd
    
    07:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller [10ec:8168] (rev 06)
    	Subsystem: Giga-byte Technology GA-EP45-DS5 Motherboard [1458:e000]
    	Flags: bus master, fast devsel, latency 0, IRQ 41
    	I/O ports at ce00 [size=256]
    	Memory at fbdff000 (64-bit, prefetchable) [size=4K]
    	Memory at fbdf8000 (64-bit, prefetchable) [size=16K]
    	Capabilities: <access denied>
    	Kernel driver in use: r8169
    	Kernel modules: r8169
    
    08:00.0 IDE interface [0101]: Marvell Technology Group Ltd. Device [1b4b:917a] (rev 11) (prog-if 8f [Master SecP SecO PriP PriO])
    	Subsystem: Giga-byte Technology Device [1458:b000]
    	Flags: fast devsel, IRQ 19
    	I/O ports at bf00 [size=8]
    	I/O ports at be00 [size=4]
    	I/O ports at bd00 [size=8]
    	I/O ports at bc00 [size=4]
    	I/O ports at bb00 [size=16]
    	Memory at fbcff000 (32-bit, non-prefetchable) [size=512]
    	[virtual] Expansion ROM at f4100000 [disabled] [size=64K]
    	Capabilities: <access denied>
    Last edited by MikeTbob; 10-15-2011 at 02:24 AM. Reason: Added Code Tags

  4. $spacer_open
    $spacer_close
  5. #4
    Trusted Penguin
    Join Date
    May 2011
    Posts
    4,353
    Are you trying to connect via wireless or via wired (CAT5, etc.)? I see that you get an ip address via wireless (that is your wlan0 adapter) but not via your wired adapter (eth0) - at least you don't have an ipv4 ip address.

    At any rate, also show your routing table:
    Code:
    route -n
    And your DNS config:
    Code:
    cat /etc/resolv.conf
    I assume you are wishing to get ip addresses assigned to you automatically via your modem? Or did you assign that wireless ip statically?

    What is your distro?

    BTW, you probably don't need to mess with those drivers you downloaded, it appears your adapters are working, from a driver stand-point.

  6. #5
    Just Joined!
    Join Date
    Sep 2011
    Posts
    9
    Hi At', thanks for the reply.

    Here's my router -n

    Code:
    Kernel IP routing table
    Code:
    Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
    192.168.1.0     0.0.0.0         255.255.255.0   U     2      0        0 wlan0
    169.254.0.0     0.0.0.0         255.255.0.0     U     1000   0        0 wlan0
    0.0.0.0         192.168.1.1     0.0.0.0         UG    0      0        0 wlan0


    My DNS config is

    Code:
    # Generated by NetworkManager
    domain phub.net.cable.rogers.com
    search phub.net.cable.rogers.com
    nameserver 64.71.259.199

    I'm trying to connect via ethernet cable (CAT5 is the standard ethernet cable correct?)


    But the only way I can get online with it is via a D-Link USB stick to my friend's router.

    My distro is Ubuntu 11.04, but I'm planning to install 11.10 soon.

    Thanks for your help guys.
    Last edited by MikeTbob; 10-15-2011 at 02:25 AM. Reason: Added Code Tags

  7. #6
    Just Joined!
    Join Date
    Sep 2011
    Posts
    9
    This is what I got when trying to install what seemed to be the "proper" drivers from RealTek, when running the autorun script to install them.
    snapshot3.jpg

  8. #7
    Trusted Penguin
    Join Date
    May 2011
    Posts
    4,353
    Okay, didn't realize you were using a USB network adapter, I guess that is your eth0. Can you confirm with:
    Code:
    ethtool -i eth0
    As to install the RealTek driver, are you doing that command as root? I guess the module that comes with the kernel you are using does not work out of the box?

    Code:
    modprobe r8169
    lsmod|grep r8169
    find /lib/modules/$(uname -r)|grep r8169

  9. #8
    Just Joined!
    Join Date
    Sep 2011
    Posts
    9
    ethtool -i eth0
    -I get this--> The program 'ethtool' is currently not installed. You can install it by typing: sudo apt-get install ethtool

    modprobe r8169
    ---> nothing happens


    lsmod|grep r8169
    -I get this--> r8169 42534 0

    find /lib/modules/$(uname -r)|grep r8169

    -i get this--> /lib/modules/2.6.38-11-generic/kernel/drivers/net/r8169.ko

  10. #9
    Trusted Penguin
    Join Date
    May 2011
    Posts
    4,353
    Okay, the ethtool package is not installed, you can try this instead:
    Code:
     ls /sys/class/net/eth0/device/driver/module/drivers/
    It appears the the RealTek driver that comes with your kernel is loaded, but is not recent enough.

    What distro and version are running? I missed it, if you mentioned it.

    You need to run that autorun.sh file in a terminal as root. The first step is to open a Terminal window. You can usually do this via an Applications menu, or if you are in Gnome, you can press Alt+F2 and that should bring up a Run Application window. In it, type gnome-terminal and press Enter.

    A terminal window should now pop up, saying something like:
    Code:
    [user@linuxpc ~]$
    You need to know where that driver file is that you downloaded - it is probably in your desktop folder, e.g.:
    Code:
    cd ~/Desktop; ls
    You need to either su to root, or use sudo, e.g.:
    Code:
    su
    [Enter root password]
    ./autorun.sh
    or
    Code:
    sudo ./autorun.sh

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •