docs/87857: ifconfig wireless options order matters

joão joao at matik.com.br
Sun Oct 23 01:20:18 UTC 2005


>Number:         87857
>Category:       docs
>Synopsis:       ifconfig wireless options order matters
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-doc
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Oct 23 01:20:17 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     joão
>Release:        6.0-RC1
>Organization:
Infomatik
>Environment:
FreeBSD ap6.matik.com.br 6.0-RC1 FreeBSD 6.0-RC1 #4: Sat Oct 22 11:25:28 UTC 2005     hmm at ap6.matik.com.br:/usr/src/sys/i386/compile/ap6.0.kernel  i386
        
>Description:
I have a 6.0-RC1 hostap, one senao pcmcia and one DWL-AG530 pci-card, the clients are using broadcom as ndis or orinoco as wi or senao as wi
     
when not chosing the correct ifconfig options sequence either on the client or the hostap the wireless card is not configured correctly, example, this sequence appears to be correct:
        ifconfig ath0 inet 192.168.2.1/29 media OFDM/54Mbps mediaopt hostap mode 11g ssid casa11g up 

when I do 
        ifconfig ath0 inet 192.168.2.1/29 mode 11g media OFDM/54Mbps mediaopt hostap ssid casa11g up 

i get an error: 
ifconfig: SIOCSIFMEDIA (media): Invalid argument

I could get the same results for ath, wi(prism) and ndis as hostap or client

on the client I get for example

        media: IEEE 802.11 Wireless Ethernet OFDM/54Mbps (DS/11Mbps)
        status: associated
        ssid casa channel 1 bssid 

or this

        media: IEEE 802.11 Wireless Ethernet DS/11Mbps mode 11b (OFDM/54Mbps)
        status: associated
        ssid casa11g channel 1 bssid 



>How-To-Repeat:
              
>Fix:
           using the correct ifconfig sequence
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-doc mailing list