ifconfig: SIOCS80211: Invalid argument - FreeBSD
This is a discussion on ifconfig: SIOCS80211: Invalid argument - FreeBSD ; 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 ...
-
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.
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/lis...reebsd-current
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 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
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/lis...reebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"