intermittent internet access
I run a Linux Mandriva 2005LE edition, and I experience some problems with my network. I am part of a network which connects to the internet through a server which shares its connection. The network has static address assignment for each host. The problem is that, from time to time, I suddenly lose my Internet access for good. The typical scenario is: I browse the Internet using Mozilla Firefox, and suddenly the web pages are not loaded anymore by the browser. I try to ping external addresses (e.g. www.linux.org) and also addresses from within my subnet, but I get the same response : Destination Host Unreachable.
I have done some more research and collected some info on my configuration, I hope this will help in trying to identify the problem.
* When running lspci | grep Ethernet , I get the following listing:
01:0b.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8169 Gigabit Ethernet (rev 10)
* When running lsmod, I get (put here only the part that interest us) :
r8169 21100 0
This would mean that the correct module is loaded for my NIC
* In the booting process, there are no errors, or at least that's what I think, because for every step of the boot process, the green [OK] appears.
* ifconfig - a displays:
Link encap:Ethernet HWaddr <MyHwAddr>
inet addr:<MyIP> Bcast:<BCastAdd> Mask:<MySubnetMask>
inet6 addr: <MyInet6Adr> Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:18373 errors:0 dropped:0 overruns:0 frame:0
TX packets:672 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:1643910 (1.5 Mb) TX bytes:148182 (144.7 Kb)
Interrupt:10 Base address:0x2000
The IP and Subnet Mask are the ones provided to me by my ISP. This is a listing obtained from the time the 'Net is up and running(I can post to the forum U know :D ), but I noticed that, when I run ifconfig after the problem has occured, the errors fields from RX and TX packets are different from zero
* the /proc/interrupts shows the following(only the part related to the network)
10: 15216 IO-APIC-edge ohci_hcd, ohci1394, eth0, EMU10K1
So this should be a signal that there could be an IRQ conflict? EMU10K1 is my sound card module.
* the /proc/ioports shows the following:
a000-dfff : PCI Bus #01
a000-a01f : 0000:01:08.0
a000-a01f : EMU10K1
a400-a407 : 0000:01:08.1
a400-a407 : emu10k1-gp
a800-a8ff : 0000:01:0b.0
a800-a8ff : r8169
* the listing of /etc/sysconfig/network
* the listing of /etc/sysconfig/network-scripts/ifcfg-eth0
The settings are the ones provided to me by my ISP.
When the problem occurs,I have tried the following in order to restore the network, but without success:
- service network restart
- service shorewall stop
For a period of time I suspected my firewall of this problem, but when running with shorewall stopped I still get the same problem
I have noticed that when this problem occurs, if I try to shut down/restart the system, the rebooting process gets stuck when trying to stop the ALSA sound server. From the /proc/interrupts combined with this would get the impression that there is a hardware conflict between the sound card and the NIC. But that is just speculation. If someone could please tell me where are the logs from the shutdown of the machine, I could get more information. I know that dmesg shows the logs for startup, but I don't know how I can list the shutdown logs.