Re: ifconfig: SIOCS80211: Invalid argument

From: Niki Denev <nike_d_at_cytexbg.com>
Date: Sun, 5 Oct 2008 13:02:21 +0300
On Sun, Oct 5, 2008 at 10:23 AM, Ganbold <ganbold_at_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
Received on Sun Oct 05 2008 - 08:31:31 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:36 UTC