LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   Internet Connection Mysteriously Goes Down (http://www.linuxquestions.org/questions/slackware-14/internet-connection-mysteriously-goes-down-223904/)

KingofBLASH 08-29-2004 10:52 AM

Internet Connection Mysteriously Goes Down
 
I am running Slackware 9.1, and after my computer runs for a few hours, the internet connection will go down. Any programs with established connections (i.e. gaim) will continue talking over the network, but any program that tries to resolve another hostname will time out resolving the host name.

My computer is set up like this:

Cable Modem -> Linksys Router -> My computer
|-> My girlfriends computer

My girlfriend runs Windows, and never has this problem. Furthermore, I never had this problem when I was plugged into the cable modem directly.

Does anyone know how I might be able to go about diagnosing and fixing this problem?

The output of
Code:

$ route
:

Code:

Kernel IP routing table
Destination    Gateway        Genmask        Flags Metric Ref    Use Iface
192.168.1.0    *              255.255.255.0  U    0      0        0 eth0
loopback        *              255.0.0.0      U    0      0        0 lo
default        192.168.1.1    0.0.0.0        UG    0      0        0 eth0

The output of
Code:

/sbin/ifconfig
:

Code:

eth0      Link encap:Ethernet  HWaddr 00:08:C7:3B:DE:AB
          inet addr:192.168.1.100  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST NOTRAILERS RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:10792 errors:0 dropped:0 overruns:0 frame:0
          TX packets:5656 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:4060561 (3.8 Mb)  TX bytes:734064 (716.8 Kb)
          Interrupt:9 Base address:0xc000

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:6 errors:0 dropped:0 overruns:0 frame:0
          TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:300 (300.0 b)  TX bytes:300 (300.0 b)

My dmesg:

Code:

Linux version 2.4.24 (root@slack91) (gcc version 3.2.3) #6 Tue Feb 17 23:48:09 PST 2004
BIOS-provided physical RAM map:
 BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
 BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
 BIOS-e820: 00000000000ec000 - 0000000000100000 (reserved)
 BIOS-e820: 0000000000100000 - 000000000ffe0000 (usable)
 BIOS-e820: 000000000ffe0000 - 000000000fff8000 (ACPI data)
 BIOS-e820: 000000000fff8000 - 0000000010000000 (ACPI NVS)
 BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved)
255MB LOWMEM available.
On node 0 totalpages: 65504
zone(0): 4096 pages.
zone(1): 61408 pages.
zone(2): 0 pages.
Kernel command line: BOOT_IMAGE=Linux ro root=2207 hdc=ide-scsi
ide_setup: hdc=ide-scsi
Initializing CPU#0
Detected 1101.956 MHz processor.
Console: colour dummy device 80x25
Calibrating delay loop... 2195.45 BogoMIPS
Memory: 255960k/262016k available (1825k kernel code, 5668k reserved, 617k data, 120k init, 0k highmem)
Dentry cache hash table entries: 32768 (order: 6, 262144 bytes)
Inode cache hash table entries: 16384 (order: 5, 131072 bytes)
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer cache hash table entries: 16384 (order: 4, 65536 bytes)
Page-cache hash table entries: 65536 (order: 6, 262144 bytes)
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 256K (64 bytes/line)
CPU:    After generic, caps: 0183f9ff c1c7f9ff 00000000 00000000
CPU:            Common caps: 0183f9ff c1c7f9ff 00000000 00000000
CPU: AMD Athlon(tm) Processor stepping 02
Enabling fast FPU save and restore... done.
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
mtrr: v1.40 (20010327) Richard Gooch (rgooch@atnf.csiro.au)
mtrr: detected mtrr type: Intel
PCI: PCI BIOS revision 2.10 entry at 0xfdb81, last bus=1
PCI: Using configuration type 1
PCI: Probing PCI hardware
PCI: Probing PCI hardware (bus 00)
Disabling VIA memory write queue (PCI ID 0305, rev 02): [55] 81 & 1f -> 01
PCI: Using IRQ router VIA [1106/0686] at 00:07.0
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
VFS: Disk quotas vdquot_6.5.1
Journalled Block Device driver loaded
vesafb: framebuffer at 0xf0000000, mapped to 0xd080d000, size 1536k
vesafb: mode is 1024x768x8, linelength=1024, pages=4
vesafb: protected mode interface info at c000:0ea7
vesafb: scrolling: redraw
Console: switching to colour frame buffer device 128x48
fb0: VESA VGA frame buffer device
pty: 512 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with HUB-6 MANY_PORTS MULTIPORT SHARE_IRQ SERIAL_PCI enabled
ttyS00 at 0x03f8 (irq = 4) is a 16550A
Real Time Clock Driver v1.10e
Floppy drive(s): fd0 is 1.44M
keyboard: Timeout - AT keyboard not present?(ed)
keyboard: Timeout - AT keyboard not present?(f4)
FDC 0 is a post-1991 82077
RAMDISK driver initialized: 16 RAM disks of 7777K size 1024 blocksize
loop: loaded (max 8 devices)
Uniform Multi-Platform E-IDE driver Revision: 7.00beta4-2.4
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
VP_IDE: IDE controller at PCI slot 00:07.1
VP_IDE: chipset revision 16
VP_IDE: not 100% native mode: will probe irqs later
VP_IDE: VIA vt82c686a (rev 22) IDE UDMA66 controller on pci00:07.1
    ide0: BM-DMA at 0xffa0-0xffa7, BIOS settings: hda:pio, hdb:pio
    ide1: BM-DMA at 0xffa8-0xffaf, BIOS settings: hdc:DMA, hdd:DMA
PDC20267: IDE controller at PCI slot 00:0d.0
PCI: Found IRQ 10 for device 00:0d.0
PCI: Sharing IRQ 10 with 00:09.0
PDC20267: chipset revision 2
PDC20267: not 100% native mode: will probe irqs later
PDC20267: ROM enabled at 0xfebd0000
PDC20267: (U)DMA Burst Bit ENABLED Primary PCI Mode Secondary PCI Mode.
    ide2: BM-DMA at 0xef00-0xef07, BIOS settings: hde:pio, hdf:pio
    ide3: BM-DMA at 0xef08-0xef0f, BIOS settings: hdg:pio, hdh:DMA
hdc: CD-RW IDE5232, ATAPI CD/DVD-ROM drive
hdd: CREATIVEDVD1240E, ATAPI CD/DVD-ROM drive
hdg: WDC WD800BB-00CAA1, ATA DISK drive
blk: queue c03afc7c, I/O limit 4095Mb (mask 0xffffffff)
ide1 at 0x170-0x177,0x376 on irq 15
ide3 at 0xefa0-0xefa7,0xefaa on irq 10
hdg: attached ide-disk driver.
hdg: host protected area => 1
hdg: 156301488 sectors (80026 MB) w/2048KiB Cache, CHS=155061/16/63, UDMA(100)
hdd: attached ide-cdrom driver.
hdd: ATAPI 40X DVD-ROM drive, 512kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.12
Partition check:
 hdg: hdg1 hdg2 < hdg5 hdg6 hdg7 hdg8 hdg9 hdg10 >
SCSI subsystem driver Revision: 1.00
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
md: linear personality registered as nr 1
md: raid0 personality registered as nr 2
md: raid1 personality registered as nr 3
md: raid5 personality registered as nr 4
raid5: measuring checksumming speed
  8regs    :  1683.600 MB/sec
  32regs    :  1215.200 MB/sec
  pII_mmx  :  2580.400 MB/sec
  p5_mmx    :  3292.400 MB/sec
raid5: using function: p5_mmx (3292.400 MB/sec)
md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
LVM version 1.0.7(28/03/2003)
Initializing Cryptographic API
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
IP: routing cache hash table of 2048 buckets, 16Kbytes
TCP: Hash tables configured (established 16384 bind 32768)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
FAT: bogus logical sector size 0
UMSDOS: msdos_read_super failed, mount aborted.
FAT: bogus logical sector size 0
FAT: bogus logical sector size 0
reiserfs: found format "3.6" with standard journal
reiserfs: checking transaction log (device ide3(34,7)) ...
for (ide3(34,7))
ide3(34,7):Using r5 hash to sort names
VFS: Mounted root (reiserfs filesystem) readonly.
Freeing unused kernel memory: 120k freed
Adding Swap: 818960k swap-space (priority -1)
kjournald starting.  Commit interval 5 seconds
EXT3 FS 2.4-0.9.19, 19 August 2002 on ide3(34,6), internal journal
EXT3-fs: mounted filesystem with ordered data mode.
reiserfs: found format "3.6" with standard journal
reiserfs: checking transaction log (device ide3(34,1)) ...
for (ide3(34,1))
ide3(34,1):Using r5 hash to sort names
reiserfs: found format "3.6" with standard journal
reiserfs: checking transaction log (device ide3(34,10)) ...
for (ide3(34,10))
ide3(34,10):Using r5 hash to sort names
reiserfs: found format "3.6" with standard journal
reiserfs: checking transaction log (device ide3(34,8)) ...
for (ide3(34,8))
ide3(34,8):Using r5 hash to sort names
reiserfs: found format "3.6" with standard journal
reiserfs: checking transaction log (device ide3(34,9)) ...
for (ide3(34,9))
ide3(34,9):Using r5 hash to sort names
parport0: PC-style at 0x378 (0x778) [PCSPP,TRISTATE]
parport_pc: Via 686A parallel port: io=0x378
lp0: using parport0 (polling).
Linux agpgart interface v0.99 (c) Jeff Hartmann
agpgart: Maximum main memory to use for agp memory: 203M
agpgart: Detected Via Apollo Pro KT133 chipset
agpgart: AGP aperture is 64M @ 0xe0000000
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
usb.c: registered new driver uss720
uss720.c: v0.5:USB Parport Cable driver for Cables using the Lucent Technologies USS720 Chip
Creative EMU10K1 PCI Audio Driver, version 0.20, 15:47:38 Jan  5 2004
PCI: Found IRQ 10 for device 00:09.0
PCI: Sharing IRQ 10 with 00:0d.0
emu10k1: EMU10K1 rev 7 model 0x8032 found, IO at 0xeec0-0xeedf, IRQ 10
ac97_codec: AC97  codec, id: TRA35 (TriTech TR A5)
eepro100.c:v1.09j-t 9/29/99 Donald Becker http://www.scyld.com/network/eepro100.html
eepro100.c: $Revision: 1.36 $ 2000/11/17 Modified by Andrey V. Savochkin <saw@saw.sw.com.sg> and others
PCI: Found IRQ 9 for device 00:0a.0
PCI: Sharing IRQ 9 with 00:07.3
PCI: Sharing IRQ 9 with 00:07.2
eth0: OEM i82557/i82558 10/100 Ethernet, 00:08:C7:3B:DE:AB, IRQ 9.
  Receiver lock-up bug exists -- enabling work-around.
  Board assembly 702536-006, Physical connectors present: RJ45
  Primary interface chip i82555 PHY #1.
  General self-test: passed.
  Serial sub-system self-test: passed.
  Internal registers self-test: passed.
  ROM checksum self-test: passed (0x24c9f043).
  Receiver lock-up workaround activated.
NTFS driver v1.1.22 [Flags: R/O MODULE]
hdc: attached ide-scsi driver.
scsi0 : SCSI host adapter emulation for IDE ATAPI devices
  Vendor: CDWRITER  Model: IDE5232          Rev: 000J
  Type:  CD-ROM                            ANSI SCSI revision: 02
Attached scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0
sr0: scsi3-mmc drive: 52x/52x writer cd/rw xa/form2 cdda tray
PCI: Found IRQ 5 for device 00:0c.0
3c59x: Donald Becker and others. www.scyld.com/network/vortex.html
See Documentation/networking/vortex.txt
00:0c.0: 3Com PCI 3c905C Tornado at 0xec00. Vers LK1.1.18-ac
 00:01:03:2e:db:63, IRQ 5
  product code 4a58 rev 00.14 date 10-30-00
  Internal config register is 1800000, transceivers 0xa.
  8K byte-wide RAM 5:3 Rx:Tx split, autoselect/Autonegotiate interface.
  MII transceiver found at address 24, status 7809.
  Enabling bus-master transmits and whole-frame receives.
00:0c.0: scatter/gather enabled. h/w checksums enabled
gameport0: Emu10k1 Gameport at 0xeff0 size 8 speed 1242 kHz
EMU10K1/Audigy soundcard not found or device busy
uhci.c: USB Universal Host Controller Interface driver v1.1
PCI: Found IRQ 9 for device 00:07.3
PCI: Sharing IRQ 9 with 00:07.2
PCI: Sharing IRQ 9 with 00:0a.0
uhci.c: USB UHCI at I/O 0xef80, IRQ 9
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: 2 ports detected
PCI: Found IRQ 9 for device 00:07.2
PCI: Sharing IRQ 9 with 00:07.3
PCI: Sharing IRQ 9 with 00:0a.0
uhci.c: USB UHCI at I/O 0xef40, IRQ 9
usb.c: new USB bus registered, assigned bus number 2
hub.c: USB hub found
hub.c: 2 ports detected
EMU10K1/Audigy soundcard not found or device busy
hub.c: new USB device 00:07.2-1, assigned address 2
EMU10K1/Audigy soundcard not found or device busy
usb.c: USB device 2 (vend/prod 0x46d/0xc50d) is not claimed by any active driver.
EMU10K1/Audigy soundcard not found or device busy
hub.c: new USB device 00:07.2-2, assigned address 3
usb.c: USB device 3 (vend/prod 0x46d/0xc309) is not claimed by any active driver.
EMU10K1/Audigy soundcard not found or device busy
EMU10K1/Audigy soundcard not found or device busy
EMU10K1/Audigy soundcard not found or device busy
EMU10K1/Audigy soundcard not found or device busy
EMU10K1/Audigy soundcard not found or device busy
EMU10K1/Audigy soundcard not found or device busy
usb.c: registered new driver usbmouse
input0: Logitech USB Receiver on usb2:2.0
usbmouse.c: v1.6:USB HID Boot Protocol mouse driver
EMU10K1/Audigy soundcard not found or device busy
usb.c: registered new driver hiddev
usb.c: registered new driver hid
usb.c: registered new driver usbkbd
input: USB HID v1.10 Keyboard [Logitech Logitech USB Keyboard] on usb2:3.0
input: USB HID v1.10 Mouse [Logitech Logitech USB Keyboard] on usb2:3.1
hid-core.c: v1.8.1 Andreas Gal, Vojtech Pavlik <vojtech@suse.cz>
hid-core.c: USB HID support drivers
usbkbd.c: :USB HID Boot Protocol keyboard driver
mice: PS/2 mouse device common for all mice
EMU10K1/Audigy soundcard not found or device busy
EMU10K1/Audigy soundcard not found or device busy
0: nvidia: loading NVIDIA Linux x86 NVIDIA Kernel Module  1.0-5336  Wed Jan 14 18:29:26 PST 2004


ringwraith 08-29-2004 11:27 AM

If your connection is actually still good, just a problem establishing new ones, I would make certain that your nameserver is set in /etc/resolv.conf

KingofBLASH 08-29-2004 11:42 AM

Could name servers be changing? Would that explain why it worked when I had a direct connection to the cable modem? How do I get my computer to recheck the nameservers? Just bring down the net, delete resolv.conf, and restart it?

ringwraith 08-29-2004 12:37 PM

Just open /etc/resolv.conf in your favorite text editor (i.e. vi) make sure it has the nameserver listed your ISP's actual nameserver, not your gateway address.

KingofBLASH 08-29-2004 12:53 PM

I have checked /etc/resolv.conf, and the name servers listed are the nameservers my ISP uses. Any other ideas?

KingofBLASH 09-13-2004 12:40 PM

I have upgraded from Slackware 9.1 to Slackware 10.0 and the problems I was experiencing have stopped. I can only assume that what I was experiencing was a bug in a random package that was fixed. Quite odd though.

So anyone googling who finds this thread because they have a similar issue: try upgrading. Other than that, I don't know what to do.... :confused:

od51 10-09-2004 10:29 PM

I am looking at what seems like a similar problem in an instance of Mandrake 10.0. After an hour or two, new web requests do not connect.

In this case, I can telnet to the firewall (by its IP address), but cannot ping or traceroute to it (UDP or ICMP?). This seems to show that TCP connections (http requests and telnet) are workable, but that UDP is not. This may explain why DNS queries do not seem to resolve.

An almost identical instance of Mandrake 10.0 on another PC does not exhibit this problem.


All times are GMT -5. The time now is 01:38 PM.