network card(s) setting with openbsd,headless

today i want to connect my little pc to my home network. i have installed openbsd to a 2gb compact flash (cf) and put it on a compact flash to ide 2.5 adapter. i have no monitor for the pc, but i do have another laptop with openbsd installed.

first i mounted the compactflash card in the openbsd laptop. i need to check my hardware first. from the documentation, mine is a RealTek 8139-based (rl), so i put dhcp inside this file:

/etc/hostname.rl0

i also have a usb wireless adapter, dlink dwl-g122, and it goes like this

/etc/hostname.rum0

a nice line inside hostname.rum0 looks like this

dhcp NONE NONE NONE nwkey mykey

put the cf back to the minidesktop, then i got network connection. i use netscan to find my little computer. alas, the wireless connection is unstable. low power,perhaps?

ingredients:
# Advantech Wafer 5820-233, 128mb ram
# 2GB Sandisk Extreme II CF card
# any cheap PCMCIA to CF adapter
# CF to 2.5" ide adapter (also cheap :D )
# Dlink dwl-g122
# netscan
# OpenBSD FAQ

This entry was posted in misc., tricks and tagged . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s