Internet Problem
I am running Slackware -current. Every thing was working fine and suddenly it stopped. I am unable to connect to the router or the internet. Which is a problem since I'm using it right as a server. I am posting all of the information that I think will help. If you need any more just ask.
ifconfig Code:
lo Link encap:Local Loopback Code:
# /etc/rc.d/rc.inet1.conf I am not sure what I did to cause this. I was messing with the hard drives and got a kernel panic but that is since fixed. Its not the hardware because the windows install can still get internet. Also the router has been reset so its not that either. Thanks for the help. |
Did you update any programs or packages? Things don't break in linux for no reason. Most likely you did something, and/or something happened and in return, cause your problems. Did you install any kernel updates?
|
I added a new hard drive and installed windows 7 on it. I took the computer to a lan party. It worked before I went. When I got home I had a problem with it booting the wrong hard drive. For a simple fix I unplugged the windows 7 hard drive. Booted into Slackware and I had no connection.
|
Is this on a laptop or desktop?
|
Its a Desktop.
I checked to make sure the network card is still working. The network card was listed in lspci so I assume it still works correctly. I wish I had something else to go on other then I don't have internet. 02:05.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8110SC/8169SC Gigabit Ethernet (rev 10) |
Post the output of lsmod.
|
Does 'ifconfig -a' show the interface?
Try reloading the kernel module for your interface with 'modprobe -r r8169' then 'modprobe r8169'. If 'lsmod | grep r8169' shows the module has loaded try reinitialising networking with '/etc/rc.d/rc.inet1 restart'. |
The network interface is listed as eth1 instead of eth0. That is what I noticed at least. If you don't mind me asking I'm interested in what you guys are looking for. This way I can solve the problem if something like this ever happens again.
allend I reloaded the kernel modules and nothing changed. ifconfig -a Code:
eth1 Link encap:Ethernet HWaddr 00:00:49:15:4D:81 Code:
Module Size Used by |
'lspci' shows that the interface is recognised as being present by the kernel.
'lsmod' shows that the r8169 kernel module required to use the interface has been loaded. 'ifconfig -a' shows all the available interfaces. Your interface is now being assigned to eth1, rather than the eth0 expected by rc.inet1.conf. I think you need to edit your /etc/udev/rules.d/70-persistent-net.rules (note this from 'ifconfig -a' HWaddr 00:00:49:15:4D:81) to force your interface to be assigned to eth0, then reboot. |
Quote:
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 03) I have a newly acquired dual boot Slackware/Windows 7 system. When I first booted into Windows ethernet worked ok, but when I rebooted into Slackware I had no ethernet connection at all, even when I went back to Windows. The connection LED on my router was off indicating "No connection". Cold rebooting wouldn't cure the problem. The only way to get the NIC working again was by powering down and disconnecting from the mains for a short period. From searching with Google I found that the kernel was loading the wrong drivers (r8169 rather thanr8618). Downloading new drivers from Realtek website cured my problem. I wonder if downloading drivers from Realtek website would cure your problem as well. |
Quote:
|
Quote:
|
Quote:
The OP did say: Quote:
|
if you made ifconfig command, on eth0 you must have the ip of the rc.inet1.conf file. Otherwise your net will never work.
|
Quote:
|
All times are GMT -5. The time now is 11:54 PM. |