Date: Sun, 5 Oct 2008 13:02:21 +0300 From: "Niki Denev" <nike_d@cytexbg.com> To: Ganbold <ganbold@micom.mng.net> Cc: "freebsd-current@freebsd.org" <freebsd-current@freebsd.org> Subject: Re: ifconfig: SIOCS80211: Invalid argument Message-ID: <2e77fc10810050302x3b653d2fg412869841442d390@mail.gmail.com> In-Reply-To: <48E86B55.6080702@micom.mng.net> References: <48E86B55.6080702@micom.mng.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Oct 5, 2008 at 10:23 AM, Ganbold <ganbold@micom.mng.net> wrote: > Hi, > > I'm having trouble putting IP address in atheros PCMCIA card. > > Did syntax of ifconfig change in CURRENT? It was working before on RELENG_7. > > devil# ifconfig ath0 inet 192.168.2.60 netmask 255.255.255.0 ssid freebsdap > mode 11b mediaopt adhoc > ifconfig: SIOCS80211: Invalid argument > devil# > devil# ifconfig ath0 ssid freebsd inet 192.168.2.60 netmask 255.255.255.0 > ifconfig: SIOCS80211: Invalid argument > devil# ifconfig ath0 ssid freebsd mediaopt adhoc inet 192.168.2.60 netmask > 255.255.255.0 > ifconfig: SIOCS80211: Invalid argument > devil# ifconfig ath0 ssid freebsd mode 11b mediaopt adhoc inet 192.168.2.60 > netmask 255.255.255.0 > ifconfig: SIOCS80211: Invalid argument > devil# ifconfig ath0 inet 192.168.2.60 netmask 255.255.255.0 > ifconfig: ioctl (SIOCAIFADDR): Invalid argument > devil# > > > thanks, > > Ganbold > > -- > Bugs, pl. n.: Small living things that small living boys throw on small > living girls. > In -CURRENT you can't work directly with the underlying wireless card, you must first clone wlanX devices, and use them. See ifconfig manual page and /etc/defaults/rc.conf for examples. Regards, Niki
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2e77fc10810050302x3b653d2fg412869841442d390>