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

Do any networking problems in current explain this?



I volunteered to work on the SANS Snort/ACID Step-by-
Step project which is working with OpenBSD current.  I 
can’t get any networking to work.  I’ve installed over 
30 OpenBSD systems from 2.6 to 2.9, most with custom 
kernels, and have not run into this before.  
 
I’ve downloaded 2 ISO images which should have been 
built from current, the first several days ago and the 
second early Monday, July 30, made a CD and installed 
from it.  In both cases the install failed to recognize 
the NIC, a NetGear FA310TX.  I’ve used this NIC on every 
OpenBSD install I’ve done except 1.  When I manually 
entered dc0, the install displayed “dc0 is not in the 
list.”  After booting, following the install, 
/var/run/dmesg.boot shows BSD has recognized the card 
with ‘dc0 at pci0 dev 9 function 0 “Lite-On PNIC” rev 
0x20: irq 10 address:00:a0:cc:52:45:44' and ‘bmtphy0 at 
dc0 phy1: BMC5201 10/100 media interface rev.2'.  It’s 
also present (as expected) in 
/sys/arch/i386/conf/GENERIC.

The install did not create /etc/mygate even though it 
prompted for it.  After manually creating mygate and 
hostname.dc0 and updating hosts, the following network 
related files contain:
/etc/mygate=208.59.39.1
/etc/myname=snocid
/etc/hostname.dc0=inet 208.59.39.12 255.255.255.240 NONE
/etc/hosts:
::1localhost.geodsoft.com	localhost
127.0.0.1localhost.geodsoft.com	localhost
208.59.39.12	snocid.geodsoft.com	snocid
/etc/resolv.conf:
search geodsoft.com
nameserver 207.172.3.8
lookup file bind
I’ve tried switching the order of the long and short 
names in hosts because the unedited hosts showed 
localhost before localhost.my.domain but it doesn’t seem 
to make any difference.

After making the above changes and variations I’ve tried 
both “route flush; sh . /etc/netstart” and rebooting.  
Even when no error messages are displayed, (after typos 
fixed in hostname.dc0 and hosts) I can ping 
208.59.39.12, snocid or snocid.geodsoft.com but no other 
IP address on the LAN or outside.

The most interesting behavior is “route show”.  At first 
I thought this was hung and aborted it.  Later I let it 
sit and some minutes later returned to see output.  A 
new line appeared every few minutes.  Once it all 
appeared, I think it looks normal.  Output was as below:
Routing tables
DestinationGateway		Flags
default208.59.39.12	UG
127.0.0.0127.0.0.1		UG
localhost.geodso127.0.0.1		UG
208.59.39.0link#1		UH
208.59.39.10:0:c5:75:1f:1c	UH
snocid.geodsoft127.0.0.1		UH
224.0.0.0127.0.0.1		U
3 additional local computers were listed with IP and NIC 
address and UH flags.

The inet output from “netstat -rn” run several minutes 
later is next:
Internet
Destination    Gateway         Flags Refs Use Mtu   Int
default        208.59.39.1     UGS   0    76  1500  dc0
127/8          127.0.0.1       UGRS  0    0   33224 lo0
127.0.0.1      127.0.0.1       UH    0    3   33224 lo0
208.59.39.0/28 link#1          UC    0    0   1500  dc0
208.59.39.1    0:0:c5:75:1f:1c UHL   1    4   1500  dc0
208.59.39.12   127.0.0.1       UHGS  0    3   33224 lo0
224/4          127.0.0.1       URS   0    0   33224 lo0
plus 5 local computers were listed with IP & NIC 
addresses.  None are reachable with ping.  The slash /28 
is right; the net mask is 255.255.255.240.

This is not a hardware problem.  The NIC and all cabling 
are fine.  I have second hard disk in the machine and 
when I switch the disk cables, all the networking 
functions are fine on the NT workstation on that disk.  
That’s the system I’ve been using to download the ISO’s 
and burn the CDs.

Has anyone else encountered similar problems with recent 
versions of current?  Any suggestions appreciated.

George Shaffer
GeodSoft, LLC
http://GeodSoft.com