Date: Mon, 31 Jan 2011 14:50:25 +0100 From: Bernhard Schmidt <bschmidt@freebsd.org> To: Yue Wu <vanopen@gmail.com> Cc: freebsd-stable@freebsd.org Subject: Re: Error produced by static ip setting: ifconfig: inet: bad value Message-ID: <201101311450.25738.bschmidt@freebsd.org> In-Reply-To: <20110131125729.GA5163@fbsd.t60.cpu> References: <20110131125729.GA5163@fbsd.t60.cpu>
next in thread | previous in thread | raw e-mail | index | archive | help
On Monday, January 31, 2011 13:57:29 Yue Wu wrote: > List, > > Hi. > > I use following setting for my wireless networking enviroment: > > ifconfig_wlan0="mode 11g bssid my:bssid wepmode on weptxkey 1 > wepkey 1:0x1111111111 DHCP" > > But I don't like DHCP and want to use static ip, so I tried: > > ifconfig_wlan0="mode 11g bssid my:bssid wepmode on weptxkey 1 > wepkey 1:0x1111111111 inet 192.168.1.144 netmask 255.255.255.0" > > But the setting makes BSD networking not working anymore, and when > the system starts up, there's an error message: > > ifconfig: inet: bad value > > What's wrong? How to use static ip in my wireless networking? Remove the 'inet', it isn't required. -- Bernhard
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201101311450.25738.bschmidt>