On Wed, Jan 23, 2013 at 12:43 PM, Aaron Mason <simplersolut...@gmail.com> wrote: > HI all > > Got an old HP Compaq NX9040 laptop that I've repurposed as a wireless > client router running OpenBSD 5.1. I've installed a Ralink RT2560 wireless > card I salvaged from a broken D-Link print server. The wireless has IP > address 192.168.2.251, and the NIC has IP 172.16.1.254. > > My problem is if I connect to anything on the 172.16.1/24 network, even the > router's NIC address, it drops out after a few minutes. If I connect to > the wireless IP, it's rock solid. > > The onboard network card is a shitty Realtek 8139 card you find on most > laptops. Could it just be that the onboard NIC's gone to the dogs, or > could there be more at play here? I don't see any errors appear in dmesg > when the dropout occurs. >
Try to look with netstat -i, netstat -s for interface or protocol errors. With vmstat -i or default screen of systat if there's not some interrupt storm. > Full dmesg: > > OpenBSD 5.1 (GENERIC) #160: Sun Feb 12 09:46:33 MST 2012 > dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC > cpu0: Intel(R) Celeron(R) M processor 1400MHz ("GenuineIntel" > 686-class) 1.40 GHz > cpu0: > FPU,V86,DE,PSE,TSC,MSR,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,TM,SBF > real mem = 233238528 (222MB) > avail mem = 219344896 (209MB) > mainbus0 at root > bios0 at mainbus0: AT/286+ BIOS, date 07/07/04, BIOS32 rev. 0 @ > 0xfd740, SMBIOS rev. 2.31 @ 0xdf010 (28 entries) > bios0: vendor Hewlett-Packard version "BF.04M1" date 07/07/2004 > bios0: Hewlett-Packard > \M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^? > apm0 at bios0: Power Management spec V1.2 > acpi at bios0 function 0x0 not configured > pcibios0 at bios0: rev 2.1 @ 0xfd740/0x8c0 > pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdf20/192 (10 entries) > pcibios0: PCI Interrupt Router at 000:31:0 ("Intel 82371FB ISA" rev 0x00) > pcibios0: PCI bus #3 is the last bus > bios0: ROM list: 0xc0000/0xcc00! 0xcd000/0x1000 0xdf000/0x1000! > 0xe0000/0x4000! > cpu0 at mainbus0: (uniprocessor) > pci0 at mainbus0 bus 0: configuration mode 1 (bios) > mem address conflict 0xdf00000/0x400 > pchb0 at pci0 dev 0 function 0 "Intel 82855GM Host" rev 0x02 > "Intel 82855GM Memory" rev 0x02 at pci0 dev 0 function 1 not configured > "Intel 82855GM Config" rev 0x02 at pci0 dev 0 function 3 not configured > vga1 at pci0 dev 2 function 0 "Intel 82855GM Video" rev 0x02 > wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) > wsdisplay0: screen 1-5 added (80x25, vt100 emulation) > intagp0 at vga1 > agp0 at intagp0: aperture at 0xe8000000, size 0x8000000 > inteldrm0 at vga1: irq 10 > drm0 at inteldrm0 > "Intel 82855GM Video" rev 0x02 at pci0 dev 2 function 1 not configured > uhci0 at pci0 dev 29 function 0 "Intel 82801DB USB" rev 0x03: irq 10 > uhci1 at pci0 dev 29 function 1 "Intel 82801DB USB" rev 0x03: irq 11 > uhci2 at pci0 dev 29 function 2 "Intel 82801DB USB" rev 0x03: couldn't > map interrupt > ehci0 at pci0 dev 29 function 7 "Intel 82801DB USB" rev 0x03: irq 11 > usb0 at ehci0: USB revision 2.0 > uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1 > ppb0 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0x83 > pci1 at ppb0 bus 1 > mem address conflict 0xdf01000/0x1000 > mem address conflict 0xdf02000/0x1000 > rl0 at pci1 dev 0 function 0 "Realtek 8139" rev 0x10: irq 10, address > 00:c0:9f:57:68:77 > rlphy0 at rl0 phy 0: RTL internal PHY > cbb0 at pci1 dev 1 function 0 "TI PCI1520 CardBus" rev 0x01: couldn't > map interrupt > cbb1 at pci1 dev 1 function 1 "TI PCI1520 CardBus" rev 0x01: couldn't > map interrupt > ral0 at pci1 dev 6 function 0 "Ralink RT2560" rev 0x01: irq 11, > address 00:13:d3:73:00:bb > ral0: MAC/BBP RT2560 (rev 0x04), RF RT2525 > "TI TSB43AB21 FireWire" rev 0x00 at pci1 dev 7 function 0 not configured > ichpcib0 at pci0 dev 31 function 0 "Intel 82801DBM LPC" rev 0x03: > 24-bit timer at 3579545Hz > pciide0 at pci0 dev 31 function 1 "Intel 82801DBM IDE" rev 0x03: DMA, > channel 0 configured to compatibility, channel 1 configured to > compatibility > pciide0: channel 0 disabled (no drives) > atapiscsi0 at pciide0 channel 1 drive 0 > scsibus0 at atapiscsi0: 2 targets > cd0 at scsibus0 targ 0 lun 0: <PHILIPS, CDRW/DVD CDD5263, UH89> ATAPI > 5/cdrom removable > cd0(pciide0:1:0): using PIO mode 4, DMA mode 2 > ichiic0 at pci0 dev 31 function 3 "Intel 82801DB SMBus" rev 0x03: irq 5 > iic0 at ichiic0 > spdmem0 at iic0 addr 0x50: 256MB DDR SDRAM non-parity PC2100CL2.5 > auich0 at pci0 dev 31 function 5 "Intel 82801DB AC97" rev 0x03: irq 5, ICH4 > AC97 > ac97: codec id 0x43585430 (Conexant CXT48) > ac97: codec features reserved, headphone, 18 bit DAC, 18 bit ADC, No 3D Stereo > audio0 at auich0 > "Intel 82801DB Modem" rev 0x03 at pci0 dev 31 function 6 not configured > usb1 at uhci0: USB revision 1.0 > uhub1 at usb1 "Intel UHCI root hub" rev 1.00/1.00 addr 1 > usb2 at uhci1: USB revision 1.0 > uhub2 at usb2 "Intel UHCI root hub" rev 1.00/1.00 addr 1 > isa0 at ichpcib0 > isadma0 at isa0 > com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo > com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo > pckbc0 at isa0 port 0x60/5 > pckbd0 at pckbc0 (kbd slot) > pckbc0: using irq 1 for kbd slot > wskbd0 at pckbd0: console keyboard, using wsdisplay0 > pcppi0 at isa0 port 0x61 > spkr0 at pcppi0 > lpt0 at isa0 port 0x378/4 irq 7 > npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16 > fdc0 at isa0 port 0x3f0/6 irq 6 drq 2 > fd0 at fdc0 drive 0: density unknown > fd1 at fdc0 drive 1: density unknown > pcic0 at isa0 port 0x3e0/2 iomem 0xd0000/16384 > pcic0 controller 0: <Intel 82365SL rev 2> has sockets A and B > pcmcia0 at pcic0 controller 0 socket 0 > pcmcia1 at pcic0 controller 0 socket 1 > pcic0: irq 14, polling enabled > mtrr: Pentium Pro MTRR support > umass0 at uhub0 port 1 configuration 1 interface 0 "USBest Technology > USB Mass Storage Device" rev 2.00/1.00 addr 2 > umass0: using SCSI over Bulk-Only > scsibus1 at umass0: 2 targets, initiator 0 > sd0 at scsibus1 targ 1 lun 0: <Ut163, , 1.00> SCSI2 0/direct removable > serial.13070163f224d3aa87aa > sd0: 490MB, 512 bytes/sector, 1003520 sectors > vscsi0 at root > scsibus2 at vscsi0: 256 targets > softraid0 at root > scsibus3 at softraid0: 256 targets > root on sd0a (3e9e6abf58807b82.a) swap on sd0b dump on sd0b > > > Thanks > > > -- > Aaron Mason - Programmer, open source addict > I've taken my software vows - for beta or for worse