New install 12.1 - eth0 and wlan0 seem to work, but no internet

I’m not a total noob, but may as well be for this one. I just installed 12.1 on a new laptop (Compal pbl21) as a dual boot with windows 7 and am having issues with the internet (internet works fine in win7). Both wlan0 and eth0 appear to be connected, and I know it works in windows on the same laptop, as well as my desktop and old laptop (wired or wireless) so I believe the problem is somewhere with the new install. I tried disabling the firewall (didn’t think it would block outgoing connections, but whatever) and it didn’t help. I tried to ping any outside host, and it can’t connect. I’m using knetworkmanager.

In case it’s needed, the wireless card is an Intel Advanced-n 6205 and the lan card is a Realtek of some sort - I think both are using the correct drivers (see lspci output below), but may be wrong.

I looked around on the forums, and gathered that the following output might possibly be useful:

what@ever:~> /sbin/ifconfig
eth0 Link encap:Ethernet HWaddr B8:70:F4:83:A3:0F
inet addr:192.168.0.105 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::ba70:f4ff:fe83:a30f/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:313 errors:0 dropped:0 overruns:0 frame:0
TX packets:184 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:55494 (54.1 Kb) TX bytes:41981 (40.9 Kb)
Interrupt:44 Base address:0xa000

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:1718 errors:0 dropped:0 overruns:0 frame:0
TX packets:1718 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:149113 (145.6 Kb) TX bytes:149113 (145.6 Kb)

wlan0 Link encap:Ethernet HWaddr A0:88:B4:91:5F:BC
inet addr:192.168.1.108 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::a288:b4ff:fe91:5fbc/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:606 errors:0 dropped:0 overruns:0 frame:0
TX packets:231 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:164359 (160.5 Kb) TX bytes:50169 (48.9 Kb)

what@ever:~> ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 brd 127.255.255.255 scope host lo
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
link/ether b8:70:f4:83:a3:0f brd ff:ff:ff:ff:ff:ff
inet 192.168.0.105/24 brd 192.168.0.255 scope global eth0
inet6 fe80::ba70:f4ff:fe83:a30f/64 scope link
valid_lft forever preferred_lft forever
3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP qlen 1000
link/ether a0:88:b4:91:5f:bc brd ff:ff:ff:ff:ff:ff
inet 192.168.1.108/24 brd 192.168.1.255 scope global wlan0
inet6 fe80::a288:b4ff:fe91:5fbc/64 scope link
valid_lft forever preferred_lft forever

what@ever:~> ip route
default via 192.168.0.1 dev eth0 proto static
127.0.0.0/8 dev lo scope link
192.168.0.0/24 dev eth0 proto kernel scope link src 192.168.0.105 metric 1
192.168.1.0/24 dev wlan0 proto kernel scope link src 192.168.1.108 metric 2

what@ever:~> ip -s link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
RX: bytes packets errors dropped overrun mcast
149113 1718 0 0 0 0
TX: bytes packets errors dropped carrier collsns
149113 1718 0 0 0 0
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
link/ether b8:70:f4:83:a3:0f brd ff:ff:ff:ff:ff:ff
RX: bytes packets errors dropped overrun mcast
61461 346 0 0 0 0
TX: bytes packets errors dropped carrier collsns
42620 187 0 0 0 0
3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP qlen 1000
link/ether a0:88:b4:91:5f:bc brd ff:ff:ff:ff:ff:ff
RX: bytes packets errors dropped overrun mcast
192187 701 0 0 0 0
TX: bytes packets errors dropped carrier collsns
50169 231 0 0 0 0

what@ever:~> /sbin/lspci -nnk
00:00.0 Host bridge [0600]: Intel Corporation 2nd Generation Core Processor Family DRAM Controller [8086:0104] (rev 09)
Subsystem: COMPAL Electronics Inc Device [14c0:0059]
00:01.0 PCI bridge [0604]: Intel Corporation Xeon E3-1200/2nd Generation Core Processor Family PCI Express Root Port [8086:0101] (rev 09)
Kernel driver in use: pcieport
00:16.0 Communication controller [0780]: Intel Corporation 6 Series/C200 Series Chipset Family MEI Controller #1 [8086:1c3a] (rev 04)
Subsystem: COMPAL Electronics Inc Device [14c0:0059]
Kernel driver in use: mei
00:1a.0 USB Controller [0c03]: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2 [8086:1c2d] (rev 04)
Subsystem: COMPAL Electronics Inc Device [14c0:0059]
Kernel driver in use: ehci_hcd
00:1b.0 Audio device [0403]: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller [8086:1c20] (rev 04)
Subsystem: COMPAL Electronics Inc Device [14c0:0059]
Kernel driver in use: snd_hda_intel
00:1c.0 PCI bridge [0604]: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 1 [8086:1c10] (rev b4)
Kernel driver in use: pcieport
00:1c.1 PCI bridge [0604]: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 2 [8086:1c12] (rev b4)
Kernel driver in use: pcieport
00:1c.3 PCI bridge [0604]: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 4 [8086:1c16] (rev b4)
Kernel driver in use: pcieport
00:1c.4 PCI bridge [0604]: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 5 [8086:1c18] (rev b4)
Kernel driver in use: pcieport
00:1d.0 USB Controller [0c03]: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1 [8086:1c26] (rev 04)
Subsystem: COMPAL Electronics Inc Device [14c0:0059]
Kernel driver in use: ehci_hcd
00:1f.0 ISA bridge [0601]: Intel Corporation HM65 Express Chipset Family LPC Controller [8086:1c49] (rev 04)
Subsystem: COMPAL Electronics Inc Device [14c0:0059]
00:1f.2 SATA controller [0106]: Intel Corporation 6 Series/C200 Series Chipset Family 6 port SATA AHCI Controller [8086:1c03] (rev 04)
Subsystem: COMPAL Electronics Inc Device [14c0:0059]
Kernel driver in use: ahci
00:1f.3 SMBus [0c05]: Intel Corporation 6 Series/C200 Series Chipset Family SMBus Controller [8086:1c22] (rev 04)
Subsystem: COMPAL Electronics Inc Device [14c0:0059]
Kernel driver in use: i801_smbus
01:00.0 VGA compatible controller [0300]: nVidia Corporation GF106 [GeForce GT 555M] [10de:0df4] (rev a1)
Subsystem: COMPAL Electronics Inc Device [14c0:0059]
Kernel driver in use: nouveau
01:00.1 Audio device [0403]: nVidia Corporation GF108 High Definition Audio Controller [10de:0bea] (rev a1)
Subsystem: COMPAL Electronics Inc Device [14c0:0059]
Kernel driver in use: snd_hda_intel
07:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller [10ec:8168] (rev 06)
Subsystem: COMPAL Electronics Inc Device [14c0:0059]
Kernel driver in use: r8169
08:00.0 Network controller [0280]: Intel Corporation Centrino Advanced-N 6205 [8086:0082] (rev 34)
Subsystem: Intel Corporation Centrino Advanced-N 6205 AGN [8086:1301]
Kernel driver in use: iwlagn
09:00.0 USB Controller [0c03]: NEC Corporation uPD720200 USB 3.0 Host Controller [1033:0194] (rev 04)
Subsystem: COMPAL Electronics Inc Device [14c0:0059]
Kernel driver in use: xhci_hcd

So hopefully that’s useful. Thanks for any help, I’m pretty lost with this one!

You do not have a default route, so can only connect to either of the two local networks (wired and wireless).

Are you using KDE or Gnome or something else?
If KDE install plasmoid-networkmanagement
For a laptop, in YaST >> Network Devices >> Network Settings choose User/Network manager configuration
Then use the graphical configuration widget/applet. You probably do not want both ethernet and wireless active at the same tim.

I’m using KDE. I tried the applet, but I’m not getting anywhere new with it. On my previous laptop, I could connect with both eth0 and wlan0 at the same time (Acer Aspire 300x with a broadcom card). With that said, I have disabled the wireless and am now just trying to get the wired connection to work.

When you say there is no default route, what should it have? Can I manually enter a route? Thanks for the help!

I assume that if you are posting a lot of technical stuff and not explaining what you are doing you have some technical expertise. If you want non-cryptic help, you will have to explain exactly what you are doing to configure the network
What do you mean by “I’m not getting anywhere new with it” – we are not psychic.
In order to connect to a non-local network the traffic has to be sent via a router/gateway that is on the local network.
You have set your default route to 127.0.0.1 – the local loop-back, so off-LAN traffic is going nowhere.
Mobile devices are generally use DHCP to get their network settings from a DHCP server, usually the router.
Multiple concurrent routes are a complication and you have not given a reason for wanting them.

You can manually configure routing with the route command. But apart from experimenting you should probably be using YaST and/or DHCP

If your router is on the ethernet LAN – 192.168.0.0/24, and you know its IPv4 address. You can use


sudo /sbin/route del default
sudo /sbin/route add default gw <router IP address>
sudo /sbin/route 

If you’re using the KDE applet in the system tray, open it to the “wired” tab and edit it. Put in the data there, the gateway IP address should fix the routing. Name servers go there too e.g. googles 8.8.8.8 & 8.8.4.4 will do fine

PS, just noticed the concurrent post. Try that first, much simpler

eng-int - Sorry, I know you’re not psychic, I’ll try to be more specific. I don’t need concurrent routes, I just installed 12.1, started the computer up, and that’s what the default setup was. I tried using the route command following the code you listed, using 192.168.0.1 as the router ip (also tried the external ip, but it wouldn’t take it), but that doesn’t seem to work. I’m missing some fundamental concept of how this all works - is there a good write-up somewhere on how routing and network setup works?

Typing ‘route’ gives
Kernel IP routing table
Desination Gateway Genmask Flags Metric Ref Use Iface
default 192.168.0.1 0.0.0.0 UG 0 0 0 eth0
192.168.0.0 * 255.255.255.0 U 2 0 0 wlan0
192.168.0.1 * 255.255.255.255 UH 0 0 0 eth0
192.168.1.0 * 255.255.255.0 U 1 0 0 eth0

Granted I don’t know what’s going on, but it seems odd there are three destinations for eth0. I don’t want to delete or change anything until I get feedback - I don’t know what I’m doing enough with this and don’t want to screw stuff up. It would seem possibly adding a gateway to wlan0 and getting rid of two of the eth0 entries might help?

swerdna - I tried also editing the wired tab and input the same config that worked on my old laptop for a wired connection. I’ll edit this in a bit from that computer so it’s easier to just look and input the data here.

Ok, well I guess editing posts isn’t as easy as I thought. So, anyhow, from my old laptop (where the internet works), the eth0 connection:

ip: 192.168.0.110
subnet: 255.255.255.0
gateway: 192.168.0.1
DNS servers: 68.87.78.134, 68.87.76.182 (pulled from Windows machine)

Putting this info into my new laptop doesn’t change anything - still connected to the internet (and possibly local network? Can’t check, didn’t setup samba yet) but can’t access the internet.

On Tue January 17 2012 05:56 pm, romyfrederick wrote:

>
> Ok, well I guess editing posts isn’t as easy as I thought. So, anyhow,
> from my old laptop (where the internet works), the eth0 connection:
>
> ip: 192.168.0.110
> subnet: 255.255.255.0
> gateway: 192.168.0.1
> DNS servers: 68.87.78.134, 68.87.76.182 (pulled from Windows machine)
>
> Putting this info into my new laptop doesn’t change anything - still
> connected to the internet (and possibly local network? Can’t check,
> didn’t setup samba yet) but can’t access the internet.
>
>
romyfrederick;

Try to ping google.com by IP:


ping -c5 74.125.225.83

If you get a reply from google then try setting your DNS servers to the Google
public DNS (as suggested by Swerdna):


8.8.8.8
8.8.4.4

If you do not get a reply then you are not connecting to the outside world ( or
maybe even the local network )

How are IP’s set on your network?
Is the gateway 192.168.0.1 your private router or on a school/corporate
network. In either case IP’s are generally assigned by a dhcp server and
almost certainly in the latter case. When you select an IP in the range
being used by dhcp then it may conflict with some other machine. Particularly
on a network with many users. So although 192.168.0.110 may have worked for
your Windows machine, it may be now assigned to another machine.

So unless you know that IP’s are set statically you might want to just enable
dhcp and let your machine pickup its own address, gateway and DNS server.

Post back how the ping worked and if it fails just how you are connecting.


P. V.
“We’re all in this together, I’m pulling for you.” Red Green

Hi venzkep

It’s not working yet, I’ve just not had time to mess with it due to school/research. I have linux machines I use at school - this is my laptop so has lower priority. I tried pinging the address you gave and got no reply. I think it just timed out because the message I got was:

5 packets transmitted, 0 received, 100% packet loss, time 4000ms

I also tried setting the DNS servers to google, which resulted in the same message.

I connect to the internet either via my home router or at school either wirelessly or with a static IP wired connection. At home, I have it using DHCP on the router, but then have some computers assigned a static IP so I can keep certain ports open easily and ssh to it. I tried using both DHCP and a statically assigned IP at home for this laptop for both the eth0 and wlan0 connections and neither work. I tried pinging my desktop (windows machine which is statically assigned to 192.168.0.100) and it never even timed out, just stayed frozen on: PING 192.168.0.100 (192.168.0.100) 56(84) bytes of data. I’m not sure if that would work normally though.

I’m assuming that means I’m not even connected to a local network? Perhaps during the install on my laptop the installer didn’t set something up right and not all services are active that should be?

I don’t know if it helps, but on my windows machine (which is on the same router), running ipconfig -all gives:

Windows IP Configuration

Host Name . . . . . . . . . . . . : Blacky
Primary Dns Suffix . . . . . . . :
Node Type . . . . . . . . . . . . : Hybrid
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No

Ethernet adapter Local Area Connection:

Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Marvell Yukon 88E8056 PCI-E Gigabit Ethernet Controller
Physical Address. . . . . . . . . : I deleted this, just in case.
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
Link-local IPv6 Address . . . . . : I deleted this, just in case.
IPv4 Address. . . . . . . . . . . : 192.168.0.100(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.0.1
DHCPv6 IAID . . . . . . . . . . . : I deleted this, just in case.
DHCPv6 Client DUID. . . . . . . . : I deleted this, just in case.
DNS Servers . . . . . . . . . . . : 75.75.75.75
75.75.76.76
NetBIOS over Tcpip. . . . . . . . : Enabled

Tunnel adapter isatap.{F34B353F-4ABB-45AC-BCD9-25EEB0F944AC}:

Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Microsoft ISATAP Adapter
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes

Tunnel adapter Local Area Connection* 9:

Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Teredo Tunneling Pseudo-Interface
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
IPv6 Address. . . . . . . . . . . : I deleted this, just in case.
Link-local IPv6 Address . . . . . : I deleted this, just in case.
Default Gateway . . . . . . . . . : ::
NetBIOS over Tcpip. . . . . . . . : Disabled

Thanks for any/all help!

On Fri February 3 2012 12:36 pm, romyfrederick wrote:

>
> Hi venzkep
>
> It’s not working yet, I’ve just not had time to mess with it due to
> school/research. I have linux machines I use at school - this is my
> laptop so has lower priority. I tried pinging the address you gave and
> got no reply. I think it just timed out because the message I got was:
>
> 5 packets transmitted, 0 received, 100% packet loss, time 4000ms
>
> I also tried setting the DNS servers to google, which resulted in the
> same message.
>
> I connect to the internet either via my home router or at school either
> wirelessly or with a static IP wired connection. At home, I have it
> using DHCP on the router, but then have some computers assigned a static
> IP so I can keep certain ports open easily and ssh to it. I tried using
> both DHCP and a statically assigned IP at home for this laptop for both
> the eth0 and wlan0 connections and neither work. I tried pinging my
> desktop (windows machine which is statically assigned to 192.168.0.100)
> and it never even timed out, just stayed frozen on: PING 192.168.0.100
> (192.168.0.100) 56(84) bytes of data. I’m not sure if that would work
> normally though.
>
> I’m assuming that means I’m not even connected to a local network?
> Perhaps during the install on my laptop the installer didn’t set
> something up right and not all services are active that should be?
>
<snip>
>
> Thanks for any/all help!
>
romyfrederick;

Check any cables, switches and or hubs. Swap with known good hardware to
check.

If you are using Network Manager, try traditional “ifup” (YaST) and vice versa.

Try booting from a 12.1 “Live CD”. Are you able to connect with the Live CD?

Did you do a “media check” before installing?


P. V.
“We’re all in this together, I’m pulling for you.” Red Green

On Fri February 3 2012 07:49 pm, PV wrote:

PS: You apparently did a static config, so can you do a repost of:


/sbin/route -n
/sbin/ifconfig -a


P. V.
“We’re all in this together, I’m pulling for you.” Red Green