Are You connecting with wire or are You using wireless or maybe You’re using some dial up, DSL ?
Is there anything particular that happened before the internet stopped working ?
Please use code tags for wrapping output like the one from lspci in your post You will find the tutorial on how to do this in the link below L Posting in Code Tags - A Guide
Btw thanks for posting it.
Can You give us the output of these commands :
/sbin/ifconfig
cat /etc/resolv.conf
(you don’t have to be root or use sudo to get the proper output from these :))
Connecting with wire for now (though eventually wireless would be nice too…walk before you run). Internet provided via DCHP cable modem.
Not sure what I did. I had done some package updates (kde package manager, not via YAST), manually mounted an external USB hard drive (for some reason would no longer automount…couldn’t detect file system), and briefly looked or something on ktorrent. Note sure what was the culprit, though from that list, the package update seems most likely
### /etc/resolv.conf file autogenerated by netconfig!
#
# Before you change this file manually, consider to define the
# static DNS configuration using the following variables in the
# /etc/sysconfig/network/config file:
# NETCONFIG_DNS_STATIC_SEARCHLIST
# NETCONFIG_DNS_STATIC_SERVERS
# NETCONFIG_DNS_FORWARDER
# or disable DNS configuration updates via netconfig by setting:
# NETCONFIG_DNS_POLICY=''
#
# See also the netconfig(8) manual page and other documentation.
#
# Note: Manual change of this file disables netconfig too, but
# may get lost when this file contains comments or empty lines
# only, the netconfig settings are same with settings in this
# file and in case of a "netconfig update -f" call.
#
### Please remove (at least) this line when you modify the file!
search HitchHiker phub.net.cable.rogers.com
nameserver 192.168.0.1
Thanks for using the code tags.
The output You posted indicates that You are using wireless not the wire
Either way try pinging 8.8.4.4 (it’s a google free DNS server). If you can ping that add the following line to your resolv.conf file
nameserver 8.8.4.4
or remove the file whatsoever.
Not sure what You mean by kde package manager. Are You referring to kpackagekit ? If so it’s generally not recommended to use it as it’s still broken for some people (for me it works well). YaST online update is the preferred way to update.
p.s., I did mean that I was using kpackagekit. I never had a problem with it in 11.3, so I didn’t see a reason not to use it in 11.4. However there seem to be alot of posts about it so going forward, I’ll stick with Yast
I’m going to throw my 2 cents in here and suggest that you use 8.8.8.8 instead. It’s also a free DNS server from Google, but it has the added benefit of being even easier to remember.
Using NetworkManager or ifup does not matter for the output of this command. It just prints You the routing table from your linux. Did You run the command as root ?
Here’s an example output :
> /sbin/route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
199.1.1.0 0.0.0.0 255.255.255.0 U 2 0 0 wlan0
**0.0.0.0 199.1.1.1 0.0.0.0 UG 0 0 0 wlan0**
The route in bold is required to get outside and is called the default route because it matches any destination. As the gateway IP You need the ip address of your router, which You should get trough DHCP. I don’t know why You get an IP address and not the default route but this is your problem. To confirm You can use this terminal command to add a default route :
# route add default gw 199.1.1.2
Substitute 199.1.1.2 with the IP of your router and after that You should be able to ping 8.8.8.8 or 8.8.4.4. Please try this out and tell us if that helps.
As for a permanent solution we need to figure out why You don’t get it through DHCP.
So to begin with I am using Network manager (and not ifup) at this point (reminder laptop is an asus a7k with AR5007EG wireless)
/home/# tcsh
/home/# whoami
root
/home/# more /etc/networks
#
# networks This file describes a number of netname-to-address
# mappings for the TCP/IP subsystem. It is mostly
# used at boot time, when no name servers are running.
#
loopback 127.0.0.0
link-local 169.254.0.0
# End.
/home/# more /etc/resolv.conf
### /etc/resolv.conf file autogenerated by netconfig!
#
# Before you change this file manually, consider to define the
# static DNS configuration using the following variables in the
# /etc/sysconfig/network/config file:
# NETCONFIG_DNS_STATIC_SEARCHLIST
# NETCONFIG_DNS_STATIC_SERVERS
# NETCONFIG_DNS_FORWARDER
# or disable DNS configuration updates via netconfig by setting:
# NETCONFIG_DNS_POLICY=''
#
# See also the netconfig(8) manual page and other documentation.
#
# Note: Manual change of this file disables netconfig too, but
# may get lost when this file contains comments or empty lines
# only, the netconfig settings are same with settings in this
# file and in case of a "netconfig update -f" call.
#
### Please remove (at least) this line when you modify the file!
search RouterSSID
/home/# more /etc/sysconfig/network/ifcfg-eth0
BOOTPROTO='dhcp'
BROADCAST=''
ETHTOOL_OPTIONS=''
IPADDR=''
MTU=''
NAME='RTL-8110SC/8169SC Gigabit Ethernet'
NETMASK=''
NETWORK=''
REMOTE_IPADDR=''
STARTMODE='auto'
USERCONTROL='yes'
IFPLUGD_PRIORITY='0'
/home/# /sbin/route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
/home/# /etc/init.d/network start
NetworkManager already running done
/home/# /etc/init.d/network stop
Shutting down the NetworkManager done
Shutting down network interfaces:
eth0 device: Realtek Semiconductor Co., Ltd. RTL-8110SC/8169SC Gigabit Ethernet (rev 10)
eth0 done
wlan0 device: Atheros Communications Inc. AR5001 Wireless Network Adapter (rev 01)
wlan0 done
Shutting down service network . . . . . . . . . done
/home/# /etc/init.d/network start
Starting the NetworkManager done
Connecting............... 1s
waiting
/home/# /sbin/route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
I then connect my laptop to my router (via wire) and get
/etc/init.d/network stop
Shutting down the NetworkManager done
Shutting down network interfaces:
eth0 device: Realtek Semiconductor Co., Ltd. RTL-8110SC/8169SC Gigabit Ethernet (rev 10)
eth0 done
wlan0 device: Atheros Communications Inc. AR5001 Wireless Network Adapter (rev 01)
wlan0 done
Shutting down service network . . . . . . . . . done
/home/# /etc/init.d/network start
Starting the NetworkManager done
Connecting............... 1s
waiting
/home/# /sbin/route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
/home/# /sbin/route add default gw 192.168.0.1
SIOCADDRT: No such process
/home/# more /etc/hosts
#
# hosts This file describes a number of hostname-to-address
# mappings for the TCP/IP subsystem. It is mostly
# used at boot time, when no name servers are running.
# On small systems, this file can be used instead of a
# "named" name server.
# Syntax:
#
# IP-Address Full-Qualified-Hostname Short-Hostname
#
127.0.0.1 localhost
# special IPv6 addresses
::1 localhost ipv6-localhost ipv6-loopback
fe00::0 ipv6-localnet
ff00::0 ipv6-mcastprefix
ff02::1 ipv6-allnodes
ff02::2 ipv6-allrouters
ff02::3 ipv6-allhosts
127.0.0.2 MACHINENAME MACHINENAME
/home/# more /etc/HOSTNAME
MACHINENAME
/home/# more /etc/hosts.YaST2save
#
# hosts This file describes a number of hostname-to-address
# mappings for the TCP/IP subsystem. It is mostly
# used at boot time, when no name servers are running.
# On small systems, this file can be used instead of a
# "named" name server.
# Syntax:
#
# IP-Address Full-Qualified-Hostname Short-Hostname
#
127.0.0.1 localhost
# special IPv6 addresses
::1 localhost ipv6-localhost ipv6-loopback
fe00::0 ipv6-localnet
ff00::0 ipv6-mcastprefix
ff02::1 ipv6-allnodes
ff02::2 ipv6-allrouters
ff02::3 ipv6-allhosts
127.0.0.2 MACHINENAME MACHINENAME
Hopefully this helps to clarify things. If you want me to repeat a particular set of proceedures using ifup, please let me know.
Something is wrong here but I’ve got no idea what I think it will be easiest if You stick with ifup for now and configure everything in YaST from the beginning. Look here : Chapter
In particular read this :
23.4.1.2.5. Activating the Network Device
I think I would go for On Cable Connection for now but try out different options. Hopefully one of those will work.
After much wailing and gnashing of teeth I think I’ve kind of sorted out this problem.
I believe the problem has to do with network manager as well as the r8169 driver as well.
I tried a few different distros to see if there was something particular about 11.4, and that wasn’t the case. No success regardless of distro. What I did notice as a result of trying this different distros is that others have recently started having problems with this ethernet card where it used to work but no longer does.
I downloaded and built the driver following instructions, but it didn’t help.
SO, as a last effort (before reverting back to 11.3 which always worked) I gave 12.1M3/M4 a try.
Network manager doesn’t work. HOWEVER I can get the ethernet card to work (hooray! break out the champagne!) using YAST and ifup method.
So if anyone else out there is having problems with Realtek cards where they used to work, but no longer are I would suggest the following
try downloading and building the vendor driver. Although it didn’t work for me, it has resolved some issues out there in linuxland.
download and try 12.1Mx.
Thanks for everyones efforts at helping me to sort things out