[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

2.5 dhclient woes

A couple of months ago I posted here my experience with @home internet cable
using an ne2000 clone card in a 2.4 obsd system. The connection established
just fine but seemed to be really hurting for throughput; the consensus seemed
to be that the ne driver was not up to snuff for cable. I reconnected the
cable to my linux box and went on my merry way.

Recently, after upgrading to 2.5 I came into possession of an SMC EtherPower
card and put it into the obsd computer to try it again. No joy: I could not
connect at all. Not trusting the new card I put the old ne2000 back in to
recreate my previous albeit unimpressive "success." No joy. Remembering that I
had left most of my vintage 2.4 /etc dir intact when I upgraded to 2.5, I
popped a brand new drive into the thing and installed 2.5 from CD. The whole
story repeated itself.

Some particulars: Since it worked with the ne2000 running on 2.4, I left
/etc/dhclient with the line 'send dhcp-client-identifier "cx123456-a"'.
/etc/hostname.de0 was simply 'dhcp'. This SMC card has only an RJ-45 port. At
boot-time, when netstart begins the dhcp process, I see a string of repeated
'de0: enabling 10BaseT' lines. (I haven't yet tried a 'media 10BaseT' clause
in hostname.de0; would it help?) 

Here's dmesg, and snippet from /var/log/daemon:

OpenBSD 2.5 (GENERIC) #243: Fri Apr 16 09:16:34 MDT 1999
cpu0: F00F bug workaround installed
cpu0: Intel Pentium (P54C) ("GenuineIntel" 586-class) 167 MHz
BIOS mem  = 654336 conventional, 32505856 extended
real mem  = 33161216
avail mem = 27394048
using 430 buffers containing 1761280 bytes of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(b0) BIOS, date 07/04/97
bios0: pciinfo 0xf049d00c apminfo 0xf049d028 diskinfo 0xf049d050 cksumlen 1
memmap 0xf049d0cc
apm0 at bios0: Power Management spec V1.1
apm0: APM engage (device 1): power management disabled (1)
apm0: AC on, no battery
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 "VIA Technologies VT82C585 (Apollo) PCI-ISA"
rev 0x23
pcib0 at pci0 dev 7 function 0 "VIA Technologies VT82C586 (Apollo VP) PCI-ISA"
rev 0x25
"VIA Technologies VT82C586A IDE" rev 0x06 at pci0 dev 7 function 1 not
ne3 at pci0 dev 9 function 0 "Realtek 8029" rev 0x00: RealTek 8029 Ethernet
ne3: 10base2, 10baseT, 10baseT-FDX, auto, default auto
ne3: Ethernet address 00:02:14:72:0f:fe
ne3: irq 11
de0 at pci0 dev 10 function 0 "DEC DECchip 21041 (Tulip Pass 3)" rev 0x21: irq
de0: SMC 21041 [10Mb/s] pass 2.1 address 00:e0:29:3b:17:10
"S3 ViRGE" rev 0x06 at pci0 dev 11 function 0 not configured
isa0 at mainbus0
isadma0 at isa0
wdc0 at isa0 port 0x1f0-0x1f7 irq 14
atapibus0 at wdc0
wd0 at wdc0 drive 0: <WDC AC26400R>
wd0: 6149MB, 13328 cyl, 15 head, 63 sec, 512 bytes/sec, 12594960 sec total
wd0: using 16-sector 16-bit pio transfers, lba addressing (512KB cache)
wdc1 at isa0 port 0x170-0x177 irq 15
atapibus1 at wdc1
acd0 at atapibus1 drive 0: <FX001DE, B04> ATAPI 5/cdrom removable
acd0: 689Kb/sec, 128Kb cache, audio play, 255 volume levels
pcppi0 at isa0 port 0x61
midi0 at pcppi0: <PC speaker>
sysbeep0 at pcppi0
lpt0 at isa0 port 0x378-0x37b irq 7
npx0 at isa0 port 0xf0-0xff: using exception 16
pccom0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, 16 byte fifo
pccom1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, 16 byte fifo
pccom2 at isa0 port 0x3e8-0x3ef irq 5: ns16550a, 16 byte fifo
vt0 at isa0 port 0x60-0x6f irq 1: S3 ViRGE, 80 col, color, 8 scr, mf2-kbd
pms0 at vt0 irq 12
fdc0 at isa0 port 0x3f0-0x3f5 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
biomask c040 netmask cc40 ttymask dcc2
root on wd0a
pctr: 586-class performance counters and user-level cycle counter enabled
dkcsum: wd0 matched BIOS disk 80
rootdev=0x0 rrootdev=0x300 rawdev=0x302

Jul 14 20:10:07 foopie dhclient: DHCPDISCOVER on de0 to port
67 interval 35
Jul 14 20:10:42 foopie dhclient: No DHCPOFFERS received.
Jul 14 20:10:42 foopie dhclient: No working leases in persistent database -

The above repeats several times, regardless of which card I try. I'm ready to
go back to 2.4, but would glady learn that once again it's "pilot error."

Bob Bernstein                http://members.home.net/ruptured-duck
Esmond, Rhode Island, USA
"RMS's "curmudgeon-like" griping that he didn't like the term "Open
Source" looked silly to many last year; it's not looking so dumb
today..." Christopher B. Browne

Visit your host, monkey.org