DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD General

OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 19th June 2008
bsdnewbie999 bsdnewbie999 is offline
Package Pilot
 
Join Date: May 2008
Posts: 145
Thanked 0 Times in 0 Posts
Default Cannot assign static IP.

when i tried to assign static IP throught command
Code:
ifconfig r10 inet 172.16.30.5 netmask 255.255.255.0
and i got this message
Code:
ifconfig:SIOGIFFLAGS: Device not configured
Reply With Quote
  #2   (View Single Post)  
Old 19th June 2008
BSDfan666 BSDfan666 is offline
Real Name: N/A, this is the interweb.
Helpful companion
 
Join Date: Apr 2008
Location: Ontario, Canada
Posts: 2,223
Thanked 193 Times in 184 Posts
Default

Do you even have an rl0 interface?
Reply With Quote
  #3   (View Single Post)  
Old 19th June 2008
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 2,878
Thanked 190 Times in 160 Posts
Default

Quote:
Originally Posted by bsdnewbie999 View Post
Code:
ifconfig r10 inet 172.16.30.5 netmask 255.255.255.0
I suspect you have specified the interface incorrectly.

It appears you have r10 when it should be rl0. The manner in which OpenBSD identifies interfaces is by attaching a numerical value to the driver used, ie. rl(4).
Reply With Quote
  #4   (View Single Post)  
Old 19th June 2008
BSDfan666 BSDfan666 is offline
Real Name: N/A, this is the interweb.
Helpful companion
 
Join Date: Apr 2008
Location: Ontario, Canada
Posts: 2,223
Thanked 193 Times in 184 Posts
Default

ocicat has better eyes then me.
Reply With Quote
  #5   (View Single Post)  
Old 19th June 2008
bsdnewbie999 bsdnewbie999 is offline
Package Pilot
 
Join Date: May 2008
Posts: 145
Thanked 0 Times in 0 Posts
Default

LOL,, i thought is r10.....
Reply With Quote
  #6   (View Single Post)  
Old 21st June 2008
openbsdspirit openbsdspirit is offline
New User
 
Join Date: Jun 2008
Posts: 5
Thanked 0 Times in 0 Posts
Default

You also can configure through /etc/hostname.rl0.
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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
snd_emu10k1 and static kly FreeBSD General 3 17th September 2009 01:28 PM
Static IP address problem rex FreeBSD General 2 25th November 2008 08:53 PM
dhcpd problems... dynamic and static leases present edhunter FreeBSD General 7 16th May 2008 02:34 PM


All times are GMT. The time now is 07:23 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick