Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Oct 2005 01:10:36 GMT
From:      joćo <joao@matik.com.br>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   docs/87857: ifconfig wireless options order matters
Message-ID:  <200510230110.j9N1Aa12097260@www.freebsd.org>
Resent-Message-ID: <200510230120.j9N1KI46047444@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200510230110.j9N1Aa12097260>