OpenBSD + Network +ifconfig

This feels really silly, but i just dont get it..
I just installed openbsd on one of my machines, usually
i dont have this problem, but now, when i try to use ifconfig
to give myself an ipadress, i get this errormsg:

OpenAMD# ifconfig ep0 192.168.51.16
ifconfig: SIOCGIFFLAGS: Device not configured

so, my question is, how do i configure the network device?
config files etc..? I'm using OpenBSD 3.2, on a i586 200mhz, 64meg sdram.

This seems strange, i can ping other computers at my homenetwork.. maybe someone can explain this?

Are you sure your network card is recognized by your OpenBSD kernel?

Please post the output of this command:

dmesg | grep ep0

Okey, dont know what this is, but here it is anyway :slight_smile:

OpenAMD# dmesg | grep ep0
sysbeep0 at pcppi0

However, i just found hostname.x10 in /etc
in there it says:

inet 192.168.51.16 255.255.255.0

maybe that can help?

I was browsing the topics and found yours by accident.

Looks like you don't have a networkdevice called ep0 (3Com 3c509), you have one called xl0 (a 3Com 3c90x)...

And it seems to be working just fine... :stuck_out_tongue:

If you have any more problems right now, post the output of:

ifconfig -a
ls -l /etc/hostname*