Internet doesn't work

Hello guys,
I am new to linux and opensuse. I have just installed the latest version on my computer(dual-boot with windows xp). The internet doesn’t work. I went to the network settings, selected dhcp for ip but it doesn’t get connected. Any ideas?

What device does it list for you in the network settings.

Open a terminal and become su and do:

lspci -v

post result

I can’t figure out a way to post the output over here. I can’t access to the internet or network and flash drives don’t seem to work. When plug them, the light won’t even come on so I think the usb controller needs drivers. Any more suggestions? I

As best you can, try and describe your device (network card) and how you are connecting to the internet (eg; router, usb modem)?

Are you using KDE4? If, so you may need to mount drive by clicking on icon (in Places window) from Dolphin.

I am using Gnome. I am connected the router. I have cable internet. I have also tried to connect directly to the modem. It is an ethernet modem.

Here’s the output of the lspci -v command. I had to type all this so here it goes

02:0d.0 Ethernet Controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
Subsystem: Sony Corporation Device 80ea
Flags: bus master, medium devsel, latency 32, IRQ 9
I/O ports at b800 [size=256]
Memory at ec800000 (32-bit, non-prefetchable) [size=256]
Capabilities: [50] Power Management Version 2
Kernel driver in use: 8139t00
Kernel modules: 8139too, 8139cp[/size][/size]

I finally got flash drive to work so here’s the complete output

00:00.0 Host bridge: Intel Corporation 82845 845 [Brookdale] Chipset Host Bridge (rev 04)
Subsystem: ASUSTeK Computer Inc. Device 8025
Flags: bus master, fast devsel, latency 0
Memory at f8000000 (32-bit, prefetchable) [size=64]
Capabilities: [e4] Vendor Specific Information <?>
Capabilities: [a0] AGP version 2.0
Kernel driver in use: agpgart-intel
Kernel modules: intel-agp

00:01.0 PCI bridge: Intel Corporation 82845 845 [Brookdale] Chipset AGP Bridge (rev 04) (prog-if 00 [Normal decode])
Flags: bus master, 66MHz, fast devsel, latency 64
Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
Memory behind bridge: ee000000-efefffff
Prefetchable memory behind bridge: eff00000-f7ffffff
Kernel modules: shpchp

00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 05) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=02, subordinate=0a, sec-latency=32
I/O behind bridge: 0000b000-0000dfff
Memory behind bridge: eb800000-edffffff
Prefetchable memory behind bridge: 50000000-57ffffff
Kernel modules: shpchp

00:1f.0 ISA bridge: Intel Corporation 82801BA ISA Bridge (LPC) (rev 05)
Flags: bus master, medium devsel, latency 0
Kernel modules: iTCO_wdt, intel-rng

00:1f.1 IDE interface: Intel Corporation 82801BA IDE U100 Controller (rev 05) (prog-if 80 [Master])
Subsystem: Sony Corporation Device 80f0
Flags: bus master, medium devsel, latency 0
[virtual] Memory at 000001f0 (32-bit, non-prefetchable) [disabled] [size=8]
[virtual] Memory at 000003f0 (type 3, non-prefetchable) [disabled] [size=1]
[virtual] Memory at 00000170 (32-bit, non-prefetchable) [disabled] [size=8]
[virtual] Memory at 00000370 (type 3, non-prefetchable) [disabled] [size=1]
I/O ports at a800 [size=16]
Kernel driver in use: ata_piix
Kernel modules: piix, ata_piix

00:1f.2 USB Controller: Intel Corporation 82801BA/BAM USB Controller #1 (rev 05) (prog-if 00 [UHCI])
Subsystem: Sony Corporation Device 80f0
Flags: bus master, medium devsel, latency 0, IRQ 9
I/O ports at a400 [size=32]
Kernel driver in use: uhci_hcd
Kernel modules: uhci-hcd

00:1f.3 SMBus: Intel Corporation 82801BA/BAM SMBus Controller (rev 05)
Subsystem: Sony Corporation Device 80f0
Flags: medium devsel
I/O ports at e800 [size=16]
Kernel driver in use: i801_smbus
Kernel modules: i2c-i801

00:1f.4 USB Controller: Intel Corporation 82801BA/BAM USB Controller #1 (rev 05) (prog-if 00 [UHCI])
Subsystem: Sony Corporation Device 80f0
Flags: bus master, medium devsel, latency 0, IRQ 9
I/O ports at a000 [size=32]
Kernel driver in use: uhci_hcd
Kernel modules: uhci-hcd

00:1f.5 Multimedia audio controller: Intel Corporation 82801BA/BAM AC’97 Audio Controller (rev 05)
Subsystem: Sony Corporation Device 80e4
Flags: bus master, medium devsel, latency 0, IRQ 10
I/O ports at e000 [size=256]
I/O ports at e100 [size=64]
Kernel driver in use: Intel ICH
Kernel modules: snd-intel8x0

01:00.0 VGA compatible controller: nVidia Corporation NV11 [GeForce2 MX/MX 400] (rev b2) (prog-if 00 [VGA controller])
Subsystem: ASUSTeK Computer Inc. Device 4227
Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 11
Memory at ee000000 (32-bit, non-prefetchable) [size=16]
Memory at f0000000 (32-bit, prefetchable) [size=128]
Expansion ROM at efff0000 [disabled] [size=64]
Capabilities: [60] Power Management version 2
Capabilities: [44] AGP version 2.0
Kernel modules: nvidiafb, rivafb

02:09.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 50) (prog-if 00 [UHCI])
Subsystem: First International Computer, Inc. VA-502 Mainboard
Flags: bus master, medium devsel, latency 32, IRQ 9
I/O ports at d800 [size=32]
Capabilities: [80] Power Management version 2
Kernel driver in use: uhci_hcd
Kernel modules: uhci-hcd

02:09.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 50) (prog-if 00 [UHCI])
Subsystem: First International Computer, Inc. VA-502 Mainboard
Flags: bus master, medium devsel, latency 32, IRQ 9
I/O ports at d400 [size=32]
Capabilities: [80] Power Management version 2
Kernel driver in use: uhci_hcd
Kernel modules: uhci-hcd

02:09.2 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 51) (prog-if 20 [EHCI])
Subsystem: First International Computer, Inc. Device 1234
Flags: bus master, medium devsel, latency 32, IRQ 9
Memory at ed800000 (32-bit, non-prefetchable) [size=256]
Capabilities: [80] Power Management version 2
Kernel driver in use: ehci_hcd
Kernel modules: ehci-hcd

02:0a.0 Multimedia video controller: Sony Corporation Device 8087 (rev 01)
Subsystem: Sony Corporation Device 80ed
Flags: bus master, medium devsel, latency 32, IRQ 9
I/O ports at d000 [size=256]
Memory at ed000000 (32-bit, non-prefetchable) [size=64]
Capabilities: [48] Power Management version 2

02:0b.0 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev 80)
Subsystem: GVC Corporation Device 0810
Flags: bus master, medium devsel, latency 168, IRQ 9
Memory at eb804000 (32-bit, non-prefetchable) [size=4]
Bus: primary=02, secondary=03, subordinate=06, sec-latency=176
Memory window 0: 50000000-53fff000 (prefetchable)
Memory window 1: 58000000-5bfff000
I/O window 0: 0000b000-0000b0ff
I/O window 1: 0000b400-0000b4ff
16-bit legacy interface ports at 0001
Kernel driver in use: yenta_cardbus
Kernel modules: yenta_socket

02:0b.1 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev 80)
Subsystem: GVC Corporation Device 0810
Flags: bus master, medium devsel, latency 168, IRQ 9
Memory at eb805000 (32-bit, non-prefetchable) [size=4]
Bus: primary=02, secondary=07, subordinate=0a, sec-latency=176
Memory window 0: 54000000-57fff000 (prefetchable)
Memory window 1: 5c000000-5ffff000
I/O window 0: 0000bc00-0000bcff
I/O window 1: 0000c000-0000c0ff
16-bit legacy interface ports at 0001
Kernel driver in use: yenta_cardbus
Kernel modules: yenta_socket

02:0d.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
Subsystem: Sony Corporation Device 80ea
Flags: bus master, medium devsel, latency 32, IRQ 9
I/O ports at b800 [size=256]
Memory at ec800000 (32-bit, non-prefetchable) [size=256]
Capabilities: [50] Power Management version 2
Kernel driver in use: 8139too
Kernel modules: 8139too, 8139cp

02:0e.0 FireWire (IEEE 1394): Texas Instruments TSB12LV26 IEEE-1394 Controller (Link) (prog-if 10 [OHCI])
Subsystem: Sony Corporation Device 80d2
Flags: bus master, medium devsel, latency 32, IRQ 3
Memory at ec000000 (32-bit, non-prefetchable) [size=2]
Memory at eb800000 (32-bit, non-prefetchable) [size=16]
Capabilities: [44] Power Management version 1
Kernel driver in use: ohci1394
Kernel modules: ohci1394

07:00.0 Communication controller: Agere Systems LT WinModem (rev 02)
Subsystem: GVC Corporation Device 0404
Flags: medium devsel, IRQ 9
Memory at 5c000000 (32-bit, non-prefetchable) [disabled] [size=256]
I/O ports at c000 [disabled] [size=8]
I/O ports at bc00 [disabled] [size=256]
Capabilities: [f8] Power Management version 2[/size][/size][/size][/size][/size][/size][/size][/size][/size][/size][/size][/size][/size][/size][/size][/size][/size][/size][/size][/size][/size][/size][/size][/size][/size][/size][/size][/size]

Kernel driver in use: 8139too
Kernel modules: 8139too, 8139cp

Known problem, two drivers claiming the same device and sometimes the wrong one is loaded.

Kernel module configuration - openSUSE

Try 8139cp instead of 8139too.

If that works, blacklist the wrong driver.

Note on helpers asking for lspci-outputs.

Please do not ask for “lspci -v” at least in your first reply.

You will get a lot of useless data and as most users will not use CODE-Tags for their replies, it will be hard to find the really important information.

Another drawback of “lspci -v” is that it is missing one very important information, the PCI-ID is not displayed. Especially when you want to identify a device, you will get less valuable information with “lspci -v”.

So it’s better to ask for:

/sbin/lspci -nn

(Note, that this will also work without root privileges!)

If you want more useful information without a lot of extra data, ask for

/sbin/lspci -nnk

This will give you two more lines if (a) suitable kernel module(s) is/are available and which one is actually being used at the moment.

If you want to restrict the output to networking devices, ask for:

/sbin/lspci -nn|grep -i net

or

/sbin/lspci -nnk|grep -A2 -i net

For more than 95% of all cases, these outputs will be sufficient or even better than “lspci -v” and it will also improve the SNR.

Thank you for your response. It didn’t work. I have blacklisted and restarted the computer and opened network settings and there is an error message of “Unable to configure the network card because the kernel device is not present”.
By the way I run the lspci -v command again and this time “Kernel driver in use” line is gone. Seems like after I blacklisted 8139too, it didn’t automatically pick 8139cp. Any suggestions?

Reread the linked article, anything needed is in there.

Any other suggestions?

Post more information than “it does not work”.

openSUSE Forums - View Single Post - Getting Your Wireless to Work

For me this is still only guessing without practically any information about network setup etc.

If this is too much work for you, then that’s your choice, I (and perhaps many other people who help users here) normally choose to stop answering in the respective thread.

I hope this makes it easier on all of us. I have booted Ubuntu 9.04 off the live cd and eth controller and the internet worked right out the box. Are there any commands I can run on Ubuntu and OpenSuse so you guys can compare the difference to see what is wrong on openSuse. I really want to use openSuse over Ubuntu because of the one-click install feature. Thanks

Did you try using the 8139cp
and blacklist 8139too

Yes I have used the modprobe and modprobe -r command and tried both of the drivers one by one.

So what driver is in use in UB*

8139too. The following output is exactly same on UB* and openSuse.

02:0d.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
Subsystem: Sony Corporation Device 80ea
Flags: bus master, medium devsel, latency 32, IRQ 9
I/O ports at b800 [size=256]
Memory at ec800000 (32-bit, non-prefetchable) [size=256]
Capabilities: [50] Power Management version 2
Kernel driver in use: 8139too
Kernel modules: 8139too, 8139cp
[/size][/size]

So it is not the driver, as I said, I could only guess.

Still there is no usable information (although I gave you a link in my last posting), on your network setup, without information decent help is impossible.

I am sorry Akoellh. I must have overlooked your earlier post. Here’s the output of collectNWData.sh


collectNWData.sh V0.6.1.15 (Rev: 1.165, Build: 2009/09/02 18:39:22)
--- Which type of your network connection should be tested?
--- (1) Wired connection
--- What's the type of networktopology?
--- (2) DSL HW router <---> LinuxClient
--- On which host is the script executed?
--- (1) LinuxClient
!!! CND0120E: Network card eth0 has no IP address
!!! CND0300E: No dhcp server found on interface eth0
!!! CND0400W: Alternate modules 8139cp detected for interface eth0
!!! CND0230W: IPV6 enabled
!!! CND0310W: Classic network configuration with ifup was detected. Configuration with knetworkmanager is much easier
--- Go to http://www.linux-tips-and-tricks.de/CND#English to get more detailed instructions about the error/warning messages and how to fix the problems
--- If you still don't have success then post the contents of file collectNWData.txt in the net (see http://www.linux-tips-and-tricks.de/CND_UPL#English for links) and then the nopaste link on your favorite Linux forum.
==================================================================================================================
==================================================================================================================
*** uname -a
Linux linux-m6u7 2.6.27.7-9-pae #1 SMP 2008-12-04 18:10:04 +0100 i686 i686 i386 GNU/Linux
==================================================================================================================
*** cat /etc/*-release
LSB_VERSION="core-2.0-noarch:core-3.2-noarch:core-2.0-ia32:core-3.2-ia32"
openSUSE 11.1 (i586)
VERSION = 11.1
==================================================================================================================
*** cat /etc/resolv | grep -vi "search"
==================================================================================================================
*** cat /etc/hosts
127.0.0.1       localhost
127.0.0.2       linux-m6u7.site linux-m6u7
==================================================================================================================
*** cat /etc/HOSTNAME
linux-m6u7.site
==================================================================================================================
*** route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
127.0.0.0       0.0.0.0         255.0.0.0       U     0      0        0 lo
==================================================================================================================
*** ifconfig
eth0      Link encap:Ethernet  HWaddr ##:##:##:##:##:#1  
          inet6 addr: fe80::2e0:18ff:fe67:72c6/64 Scope:Link
          UP BROADCAST RUNNING 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:9 Base address:0xe000 
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:14 errors:0 dropped:0 overruns:0 frame:0
          TX packets:14 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:820 (820.0 b)  TX bytes:820 (820.0 b)
==================================================================================================================
*** ping tests
connect: Network is unreachable
Ping of 195.135.220.3 failed
ping: unknown host www.suse.de
Ping of www.suse.de failed
==================================================================================================================
*** dhcpcd-test
eth0: No DHCP server detected
==================================================================================================================
*** lspci
02:0d.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ [10ec:8139] (rev 10)
==================================================================================================================
*** lsusb
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 005: ID 054c:007c Sony Corp. Net MD
Bus 003 Device 004: ID 054c:003c Sony Corp. VAIO-MX LCD Control
Bus 003 Device 003: ID 054c:008d Sony Corp. 
Bus 003 Device 002: ID 054c:003b Sony Corp. 
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 002: ID 0951:160b Kingston Technology 
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
==================================================================================================================
*** hwinfo --netcard; # (filtered)
26: PCI 20d.0: 0200 Ethernet controller
  Model: "Realtek RTL-8139/8139C/8139C+"
  Vendor: pci 0x10ec "Realtek Semiconductor Co., Ltd."
  Device: pci 0x8139 "RTL-8139/8139C/8139C+"
  SubVendor: pci 0x104d "Sony Corporation"
  SubDevice: pci 0x80ea 
  Driver: "8139too"
  Driver Modules: "8139too"
  Device File: eth0
  Link detected: yes
    Driver Status: 8139too is active
    Driver Activation Cmd: "modprobe 8139too"
    Driver Status: 8139cp is not active
    Driver Activation Cmd: "modprobe 8139cp"
==================================================================================================================
*** lsmod
| 8139too                 | ac97_bus                | af_packet               | agpgart                  |
| ata_generic             | ata_piix                | binfmt_misc             | bluetooth                |
| bnep                    | bridge                  | cdrom                   | crc_t10dif               |
| dm_mod                  | dock                    | edd                     | ehci_hcd                 |
| ext3                    | fat                     | ff_memless              | floppy                   |
| fuse                    | hid                     | hwmon                   | i2c_core                 |
| i2c_i801                | ide_core                | ide_pci_generic         | ieee1394                 |
| intel_agp               | ip6table_filter         | ip6table_mangle         | ip6table_raw             |
| ip6_tables              | ip6t_REJECT             | iptable_filter          | iptable_raw              |
| ip_tables               | ipt_REJECT              | ipv6                    | iTCO_vendor_support      |
| iTCO_wdt                | jbd                     | joydev                  | l2cap                    |
| libata                  | loop                    | mbcache                 | mii                      |
| nf_conntrack            | nf_conntrack_ipv4       | nf_conntrack_ipv6       | nf_conntrack_netbios_ns  |
| nls_cp437               | nls_iso8859_1           | ohci1394                | parport                  |
| parport_pc              | pci_hotplug             | pcmcia                  | pcmcia_core              |
| pcspkr                  | piix                    | ppdev                   | rfcomm                   |
| rsrc_nonstatic          | rtc_cmos                | rtc_core                | rtc_lib                  |
| sco                     | scsi_mod                | sd_mod                  | sg                       |
| shpchp                  | snd                     | snd_ac97_codec          | snd_hwdep                |
| snd_intel8x0            | snd_mixer_oss           | snd_page_alloc          | snd_pcm                  |
| snd_pcm_oss             | snd_rawmidi             | snd_seq                 | snd_seq_device           |
| snd_timer               | snd_usb_audio           | snd_usb_lib             | soundcore                |
| sr_mod                  | stp                     | thermal_sys             | uhci_hcd                 |
| usbcore                 | usbhid                  | usb_storage             | vfat                     |
| x_tables                | xt_NOTRACK              | xt_state                | yenta_socket             |
==================================================================================================================
*** cat /etc/sysconfig/network/ifcfg-[earwd]* | egrep -v ".*=''"
==================================================================================================================
*** cat /etc/sysconfig/network/ifcfg-eth0
BOOTPROTO='dhcp'
NAME='RTL-8139/8139C/8139C+'
STARTMODE='auto'
USERCONTROL='no'
PREFIXLEN='24'
==================================================================================================================
*** NWEliza states
IF:eth0  IM:1
DI:1 dI:1 NIC:1 cNiC:1:1 NI:2 cNI:2 DHCP:1 NIWD:0 CM:2 IP6:1 KM:0 WLW: 0