Date: Mon, 31 Jan 2011 20:57:29 +0800 From: Yue Wu <vanopen@gmail.com> To: ml-freebsd-stable <freebsd-stable@freebsd.org> Subject: Error produced by static ip setting: ifconfig: inet: bad value Message-ID: <20110131125729.GA5163@fbsd.t60.cpu>
index | next in thread | raw e-mail
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?
--
Regards,
Yue Wu
Key Laboratory of Modern Chinese Medicines
Department of Traditional Chinese Medicine
China Pharmaceutical University
No.24, Tongjia Xiang Street, Nanjing 210009, China
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110131125729.GA5163>
