Jannik Pruitt <pruttel...@googlemail.com> writes:

> ifconfig says
> lo0 (up loop back running multicast mtu 33196
> R10 Media enthernet auto  (This is normally the IP address I think but
> there is not one)
> Enco - also active
> PFlog0 also active

I assume "R10" is actually rl0, indicating that the Ethernet card is a
Realtek based part (see man rl).  You need to put together a valid
config file for that one, /etc/hostname.rl0, with appropriate contents
using your favorite text editor (mg and vi are in the base system).

Reading at least man hostname.if and http://www.openbsd.org/faq/faq6.html 
is a really good idea at this point.  Most likely you need a file that
consists of a single line, either

dhcp 

for a simple dhcp setup, or for a fixed address and a specific link
speed something like (lifted from man hostname.if)

inet 10.0.0.1 255.255.255.0 10.0.0.255 description "Bob's uplink"

in which case you will also need to add useful content to
/etc/resolv.conf (and likely /etc/hosts) for name resolution to work
plus possibly a few other wrinkles such as enabling forwarding if it's a
gateway you're building, and so on.  

The best place to start is to read the relevant parts of the FAQ and the
man pages.  OpenBSD documentation is both accessible and useful, and if
you're still stuck some of us have written supplementary docs that are
not that hard to find.  Or come back here, reasonable questions usually
generate somewhat useful answers.

-- 
Peter N. M. Hansteen, member of the first RFC 1149 implementation team
http://bsdly.blogspot.com/ http://www.bsdly.net/ http://www.nuug.no/
"Remember to set the evil bit on all malicious network traffic"
delilah spamd[29949]: 85.152.224.147: disconnected after 42673 seconds.

Reply via email to