Re: ifconfig: SIOCS80211: Invalid argument

From: Ganbold <ganbold_at_micom.mng.net>
Date: Sun, 05 Oct 2008 18:51:20 +0800
Niki Denev wrote:
> 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.
>   

Thanks anyway, I figured it out :)
I should have read /usr/src/UPDATING before sending to mailing list :)

thanks,

Ganbold

> Regards,
> Niki
> _______________________________________________
> freebsd-current_at_freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"
>
>
>
>   
Received on Sun Oct 05 2008 - 08:51:24 UTC

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