Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Feb 2008 21:00:04 GMT
From:      Volker <volker@vwsoft.com>
To:        freebsd-doc@FreeBSD.org
Subject:   Re: docs/120566: ifconfig(8) doesn't recognize 'inet' command when setting up wireless card
Message-ID:  <200802132100.m1DL04JZ097610@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR docs/120566; it has been noted by GNATS.

From: Volker <volker@vwsoft.com>
To: bug-followup@FreeBSD.org, yuri@tsoft.com
Cc:  
Subject: Re: docs/120566: ifconfig(8) doesn't recognize 'inet' command when
 setting up wireless card
Date: Wed, 13 Feb 2008 21:56:11 +0100

 > vwe points out that this is more likely a documentation bug.
 
 To clarify this:
 
 > ifconfig ral0 ssid freebsdap wepmode on weptxkey 3 \
 >  wepkey 3:0x3456789012 mode 11g mediaopt hostap \
 >  inet 192.168.0.1 netmask 255.255.255.0
 > ifconfig: inet: bad value
 
 -> this fails but:
 
 ifconfig [ifname] [af] [a.dd.re.ss] (wlan settings here)
 
 works well:
 
 # ifconfig ndis0 inet 192.168.20.3/24 wepmode off mode 11g
 # ifconfig ndis0
 ndis0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu
 1500
 	ether 00:1a:73:ad:a4:67
 	inet 192.168.20.3 netmask 0xffffff00 broadcast 192.168.20.255
 	media: IEEE 802.11 Wireless Ethernet autoselect mode 11g (autoselect)
 	status: no carrier
 	ssid "" channel 1 (2412 Mhz 11g)
 	authmode OPEN privacy OFF bmiss 7 scanvalid 60 protmode CTS bintval 0
 
 Just give the keyword 'inet' and the IP address right after the
 interface name. man ifconfig(8) and ath(4) is fine.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200802132100.m1DL04JZ097610>