Unix Technical Forum

Setting up NICs in OpenBSD

This is a discussion on Setting up NICs in OpenBSD within the comp.unix.bsd.openbsd.misc forums, part of the OpenBSD category; --> I originally had a RealTek based NIC in my box when I installed OpenBSD. I decided to swap it ...


Go Back   Unix Technical Forum > Unix Operating Systems > OpenBSD > comp.unix.bsd.openbsd.misc

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-16-2008, 05:47 AM
ben
 
Posts: n/a
Default Setting up NICs in OpenBSD

I originally had a RealTek based NIC in my box when I installed
OpenBSD. I decided to swap it out and stick a VIA-based(vr0) based
card in, and also a 3com(xl0). Following the FAQ on openbsd.org, I
created hostname.vr0 with 'inet 192.168.1.5 255.255.255.0 NONE'. Now
on boot, when /etc/netstart executes, I get ": not in table" returned.
The odd thing is, if I manually do it by executing 'ifconfig vr0 inet
192.168.1.5 255.255.255.0 NONE', it works like a champ. I know I can
do a workaround easily, but I'd really like to get the script working.
Anyone have any ideas?

thanks,
ben
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-16-2008, 05:48 AM
bards1888
 
Posts: n/a
Default Re: Setting up NICs in OpenBSD

ben wrote:
> I originally had a RealTek based NIC in my box when I installed
> OpenBSD. I decided to swap it out and stick a VIA-based(vr0) based
> card in, and also a 3com(xl0). Following the FAQ on openbsd.org, I
> created hostname.vr0 with 'inet 192.168.1.5 255.255.255.0 NONE'. Now
> on boot, when /etc/netstart executes, I get ": not in table" returned.
> The odd thing is, if I manually do it by executing 'ifconfig vr0 inet
> 192.168.1.5 255.255.255.0 NONE', it works like a champ. I know I can
> do a workaround easily, but I'd really like to get the script working.
> Anyone have any ideas?
>
> thanks,
> ben


typo in the script ?
hidden characters ?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-16-2008, 05:48 AM
ben
 
Posts: n/a
Default Re: Setting up NICs in OpenBSD

bards1888 <bards1888@yahoo.com.au.au> wrote in message news:<2la05vFaetg0U1@uni-berlin.de>...

> typo in the script ?
> hidden characters ?


that was it.. apparently Joe sticks some sort of hidden character or
something similar in the file, because after I edited with vi, it
works fine. thanks..
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 08:32 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com