[Techtalk] off-topic: OpenBSD networking
Katie Bechtold
katie at katie-and-rob.org
Thu Jun 19 16:16:22 EST 2003
Hi! I have an OpenBSD networking question, which I realize is
offtopic for a Linux list, but I've already tried the BSDChix list.
I recently installed OpenBSD 3.3 on an old laptop[1]. The main use
of the laptop will be as a portable SSH client for when I travel and
happen to be somewhere with Ethernet connectivity.
I'm not sure how to set up network connectivity. When I boot up the
laptop with Knoppix, it sets up networking automagically; I just
fire up lynx and I'm on the LAN and, by extension, on the internet.
So I think I can be confident that the hardware is all set up
correctly. But when I boot into OpenBSD, I can't ping any of the
other devices on my LAN[2], and I periodically get the message "xe0:
device timeout".
Here's my setup (this is just what I'm guessing is relevant):
oyster# dmesg | grep xe0
bios0: ROM list: 0xe0000/0x10000
xe0 at pcmcia0 function 0 "Xircom, CreditCard 10/100, CE3-10/100"
port 0x340/16: irq 3: address 00:10:a4:b5:18:74
ukphy0 at xe0 phy 0: Generic IEEE 802.3u media interface
ukphy1 at xe0 phy 16: Generic IEEE 802.3u media interface
oyster# ifconfig xe0
xe0: flags=8863<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST>
mtu 1500
address 00:10:a4:b5:18:74
media: Ethernet autoselect instance 1 (none)
inet 192.168.0.5 netmask 0xffffff00 broadcast 192.168.0.255
inet6 fe80::210:a4ff:feb5:1874%xe0 prefixlen 64 scopeid 0x1
oyster# cat /etc/mygate
192.168.0.1
oyster# netstat -a
Active Internet connections (including servers)
Proto Recv-Q Send-Q Local Address Foreign Address (state)
tcp 0 0 localhost.submissi *.* LISTEN
tcp 0 0 localhost.smtp *.* LISTEN
tcp 0 0 *.ssh *.* LISTEN
tcp 0 0 *.time *.* LISTEN
tcp 0 0 *.daytime *.* LISTEN
tcp 0 0 *.auth *.* LISTEN
Active Internet connections (including servers
Proto Recv-Q Send-Q Local Address Foreign Address (state)
udp 0 0 localhost.biff *.*
udp 0 0 *.syslog *.*
Active Internet connections (including servers)
Proto Recv-Q Send-Q Local Address Foreign Address (state)
tcp6 0 0 localhost.submissi *.* LISTEN
tcp6 0 0 localhost.smtp *.* LISTEN
tcp6 0 0 *.ssh *.* LISTEN
tcp6 0 0 *.time *.* LISTEN
tcp6 0 0 *.daytime *.* LISTEN
tcp6 0 0 *.auth *.* LISTEN
Active Internet connections (including servers)
Proto Recv-Q Send-Q Local Address Foreign Address (state)
udp6 0 0 localhost.biff *.*
Active UNIX domain sockets
Address Type Recv-Q Send-Q Inode Conn Refs
Nextref Addr
0xd079fa28 dgram 0 0 0x0 0xd0770d40 0x0
0x0
0xd079fed8 stream 0 0 0xd4de07a4 0x0 0x0
0x0 tabs/.sock
0xd079fe10 dgram 0 0 0x0 0xd0770d40 0x0
0xd07b6780
0xd079f0c8 dgram 0 0 0xd4dd50b8 0x0 0x0
0x0 /var/empty/dev/log
0xd079f000 dgram 0 0 0xd4dd5018 0x0 0xd07b6080
0x0 /dev/log
oyster# cat /etc/rc.conf
routed_flags=NO
mrouted_flags=NO
rarpd_flags=NO
bootparamd_flags=NO
rbootd_flags=NO
sshd_flags=""
named_flags=NO
rdate_flags=NO
timed_flags=NO
ntpdate_flags=NO
isakmpd_flags=NO
mopd_flags=NO
apmd_flags=NO
dhcpd_flags=NO
rtadvd_flags=NO
route6d_flags=NO
rtsold_flags=NO
net.inet6.ip6.accept_rtadv=1
lpd_flags=NO
httpd_flags=NO
sendmail_flags="-L sm-mta -C/etc/mail/localhost.cf -bd -q30m"
spamd_flags=NO
ftpd_flags=NO
identd_flags=NO
xdm_flags=NO
wsmoused_flags=NO
rwhod=NO
nfs_server=NO
lockd=NO
gated=NO
amd=NO
pf=NO
portmap=NO
inetd=YES
check_quotas=YES
ntpd=YES
krb5_master_kdc=NO
krb5_slave_kdc=NO
afs=NO
multicast_host=NO
multicast_router=NO
savecore_flags=
gated_flags=
ypserv_flags=
yppasswdd_flags=
nfsd_flags="-tun 4"
amd_dir=/tmp_mnt
amd_master=/etc/amd/master
syslogd_flags=
pf_rules=/etc/pf.conf
pflogd_flags=
afs_mount_point=/afs
afs_device=/dev/xfs0
afsd_flags=-z
shlib_dirs=
local_rcconf="/etc/rc.conf.local"
[ -f ${local_rcconf} ] && . ${local_rcconf}
I'll be happy to provide any other information. Can anyone point me
in the direction of a manual or suggestion what I'm missing in my
OpenBSD networking configuration?
[1] Toshiba Satellite Pro 425CDS. 100MHz processor, 40MB of RAM,
770MB hard disk, internal CD-ROM drive, external floppy drive.
Xircom RealPort Ethernet 10/100 Adapter (RE-100BTX).
[2] Example ping output:
oyster# ping 192.168.0.1
PING 192.168.0.1 (192.168.0.1): 56 data bytes
--- 192.168.0.1 ping statistics ---
5 packets transmitted, 0 packets received, 100% packet loss
--
Katie Bechtold http://katie-and-rob.org/
More information about the Techtalk
mailing list