ifconfig: SIOCS80211: Invalid argument
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.
_______________________________________________
[email]freebsd-current@freebsd.org[/email] mailing list
[url]http://lists.freebsd.org/mailman/listinfo/freebsd-current[/url]
To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
Re: ifconfig: SIOCS80211: Invalid argument
On Sun, Oct 5, 2008 at 10:23 AM, Ganbold <ganbold@micom.mng.net> wrote:[color=blue]
> 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.
>[/color]
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
_______________________________________________
[email]freebsd-current@freebsd.org[/email] mailing list
[url]http://lists.freebsd.org/mailman/listinfo/freebsd-current[/url]
To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"