|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: Darryl Grant (dngrant
capitol-college.edu)Date: Thu May 02 2002 - 18:12:44 CDT
Quoting Hena Häkkänen <henrikki.hakkanen
welho.com>:
> Hello all,
>
> I'm getting desperate here.
> First of all, I'm a total newbie with OpenBSD. I've setup a P2/300
> machine with 2 NICs at act as a firewall/NAT. The first NIC is connected
> to my cable modem and receives its IP address, netmask, gateway and DNS
> servers via DHCP. That connection is working good. I can surf with Lynx,
> ssh to a remote host, ftp ... it's basically working fine.
>
> The other NIC is connected to a 10Mbit hub in my private network
> 192.168.0.0/24. BSD is running dhcpd, sshd and inetd. The client
> computer running WinXP receives an IP address, netmask, gateway (the BSD
> box) and DNS servers just fine. The connection from the Windows machine
> to BSD box work great. I can ssh, sftp etc. just fine.
>
> I've enabled packet filtering in rc.conf, IP forwarding in sysctl.conf.
> I have "pass in all, pass out all" in pf.conf (for testing and
> troubleshooting)
> nat.conf contains "nat on tl1 from 192.168.0.0/24 to any -> tl1", where
> tl1 is the interface connected to the cable modem.
>
> But basically the only thing that works through the BSD box is ping! And
> name resolution. Everything else is horribly slow! it can take a minute
> before a single character is printed on screen when shh'ing to a remote
> host. Surfing with IE is slow too. It connects to a site really fast but
> when it should start to download stuff everything comes to a halt.
> Outlook times out when trying to fetch my mail. What could be the
> problem?!?!? Please, if anyone have any ideas ...
>
> hostname.tl0:
> inet 192.168.0.1 255.255.255.0 NONE media 10baseT
>
> hostname.tl1:
> dhcp NONE NONE NONE media 10baseT
>
> dmesg:
> OpenBSD 3.0 (GENERIC) #94: Thu Oct 18 14:48:27 MDT 2001
>
> <mailto:deraadt
i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC>
> deraadt
i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
> cpu0: Intel Pentium II (Klamath) ("GenuineIntel" 686-class, 512KB L2
> cache) 300 MHz
> cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SYS,MTRR,PGE,MCA,CMOV,MMX
> real mem = 16363520 (15980K)
> avail mem = 9912320 (9680K)
> using 225 buffers containing 921600 bytes (900K) of memory
> mainbus0 (root)
> bios0 at mainbus0: AT/286+(b6) BIOS, date 07/04/98
> apm0 at bios0apm0: APM power management enable: power management
> disabled (1)
> : Power Management spec V1.1 (BIOS mgmt disabled)
> apm0: AC on, battery charge unknown
> pcibios at bios0 function 0x1a not configured
> bios0: ROM list: 0xc0000/0x8000 0xc8000/0x4000
> pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
> pchb0 at pci0 dev 0 function 0 "ServerWorks PCIHB5" rev 0x00
> vga1 at pci0 dev 4 function 0 "Matrox MGA Millennium II 2164W" rev 0x00
> wsdisplay0 at vga1: console (80x25, vt100 emulation)
> wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
> tl0 at pci0 dev 5 function 0 "Compaq Netelligent 10/100 TX" rev 0x10:
> irq 9 address 00:08:c7:24:d2:aa
> nsphy0 at tl0 phy 1: DP83840 10/100 media interface, rev. 1
> ukphy0 at tl0 phy 31: Generic IEEE 802.3u media interface
> ukphy0: OUI 0x100014, model 0x0001, rev. 5
> pcib0 at pci0 dev 15 function 0 "Compaq PCI-ISA" rev 0x0c
> pciide0 at pci0 dev 15 function 1 "Compaq Netelligent IDE" rev 0x0a: DMA
> (unsupported), channel 0 configured to compatibility, channel 1
> configured to compatibility
> atapiscsi0 at pciide0 channel 0 drive 0
> scsibus0 at atapiscsi0: 2 targets
> cd0 at scsibus0 targ 0 lun 0: <MATSHITA, CD-ROM CR-5850, ZD16> SCSI0
> 5/cdrom removable
> pciide0: channel 1 ignored (not responding; disabled or no drives?)
> pchb1 at pci0 dev 17 function 0 "ServerWorks PCIHB5" rev 0x00
> pci1 at pchb1 bus 1
> ohci0 at pci1 dev 10 function 0 "Compaq USB OpenHost" rev 0x05: irq 11,
> OHCI version 1.0, legacy support
> usb0 at ohci0: USB revision 1.0
> uhub0 at usb0
> uhub0: vendor 0x0000 OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
> uhub0: 2 ports with 2 removable, self powered
> tl1 at pci1 dev 11 function 0 "Compaq Netelligent 10/100 TX" rev 0x10:
> irq 10 address 00:80:5f:9b:38:16
> nsphy1 at tl1 phy 1: DP83840 10/100 media interface, rev. 1
> ukphy1 at tl1 phy 31: Generic IEEE 802.3u media interface
> ukphy1: OUI 0x100014, model 0x0001, rev. 6
> siop0 at pci1 dev 12 function 0 "Symbios Logic 53c875" rev 0x04: irq 7,
> has RAM
> siop0: scsi bus reset
> scsibus1 at siop0: 16 targets
> sd0 at scsibus1 targ 0 lun 0: <COMPAQ, ST34371W, 0682> SCSI2 0/direct
> fixed
> siop0: target 0 now using tagged 16 bit 20 MHz 15 REQ/ACK offset xfers
> sd0: 4094MB, 5172 cyl, 10 head, 162 sec, 512 bytes/sec, 8386000 sec
> total
> sd1 at scsibus1 targ 1 lun 0: <COMPAQ, ST34371W, 0388> SCSI2 0/direct
> fixed
> siop0: target 1 now using tagged 16 bit 10 MHz 15 REQ/ACK offset xfers
> sd1: 4094MB, 5172 cyl, 10 head, 162 sec, 512 bytes/sec, 8386000 sec
> total
> sd2 at scsibus1 targ 2 lun 0: <COMPAQ, ST34572W, 0892> SCSI2 0/direct
> fixed
> siop0: target 2 now using tagged 16 bit 20 MHz 15 REQ/ACK offset xfers
> sd2: 4094MB, 6300 cyl, 8 head, 166 sec, 512 bytes/sec, 8386000 sec total
> isa0 at pcib0
> isadma0 at isa0
> 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
> pms0 at pckbc0 (aux slot)
> pckbc0: using irq 12 for aux slot
> wsmouse0 at pms0 mux 0
> pcppi0 at isa0 port 0x61
> midi0 at pcppi0: <PC speaker>
> sysbeep0 at pcppi0
> npx0 at isa0 port 0xf0/16: using exception 16
> pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
> pccom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
> fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
> fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
> isapnp0 at isa0 port 0x279: read port 0x203
> "ESS ES1868 Plug and Play AudioD, ESS0000, , " at isapnp0 port 0x800/8
> not configured
> ess0 at isapnp0 "ESS ES1868 Plug and Play AudioD, ESS1868, , " port
> 0x220/16,0x388/4,0x330/2 irq 5 drq 1,0: ESS Technology ES1868 [version
> 0x688b]
> ess0: audio1 interrupting at irq 5
> audio0 at ess0
> opl0 at ess0: model OPL3
> midi1 at opl0: <ESS Yamaha OPL3>
> biomask 48c0 netmask 4ec0 ttymask 5ec2
> pctr: 686-class user-level performance counters enabled
> mtrr: Pentium Pro MTRR support
> dkcsum: sd0 matched BIOS disk 80
> dkcsum: sd1 matched BIOS disk 81
> dkcsum: sd2 matched BIOS disk 82
> root on sd0a
> rootdev=0x400 rrootdev=0xd00 rawdev=0xd02
>
Have you tried replacing the network card with another? I had a problem like
this on my home network card, and it turns out the network card was bad, just
not dead.
Good luck,
Darryl
-- Darryl N. Grant Network Services Manager 301.369.2800, x3003
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]