Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Jun 2008 08:20:13 -0500
From:      "Edwin L. Culp" <eculp@cloudmaster.info>
To:        freebsd-mobile@freebsd.org
Subject:   Re: Ath0 802.11 comes up with Sam's patch but shows no carrier and I can't make it connect.
Message-ID:  <20080620082013.33071pu8p4g77usk@intranet.cloudmaster.info>
In-Reply-To: <485B7DD6.4000603@byterider.net>
References:  <20080619061612.39782fyb1v5rcnb4@intranet.cloudmaster.info> <20080619234045.GC76058@citylink.fud.org.nz> <3a142e750806190631u4d7e9d6ajd5b85f0a97cbb1d1@mail.gmail.com> <20080619182520.736036jkb7736k8w@intranet.cloudmaster.info> <20080620044143. <485B7DD6.4000603@byterider.net>

next in thread | previous in thread | raw e-mail | index | archive | help
To close the thread:

The ath0: <Atheros 5424/2424> mem 0xf2200000-0xf220ffff irq 19 at =20
device 0.0 on pci5 is WORKING and I'm using it to send this message.  =20
I still have a lot of polishing to do at boot time and I may have some =20
conflicts with the nfe network card or having dhclient called for both =20
from rc.conf.  For now I will do it manually on boot.

The credit goes to:

Sam for his patch http://people.freebsd.org/~sam/ath_hal-20080528.tgz

Sylwester for giving me another approach.
Andrew for reminding me that dhclient wasn't bringing the interface up.
Paul for the rtfm, etc. actually the read the NEW ath wlan manuals and =20
UPDATING, that really got me started.

Now I have to find how to make the connection far easier than manual =20
and rc.conf and the different authentication.  I guess now I would =20
like a nice little window that shows the scan and lets me add the =20
password in X rather than using ifconfig

Thanks again,

ed

Quoting Sylwester <lfmail@byterider.net>:


> Edwin L. Culp wrote:
>> Quoting Andrew Thompson <thompsa@FreeBSD.org>:
>>
>>> On Thu, Jun 19, 2008 at 06:25:20PM -0500, Edwin L. Culp wrote:
>>>> Quoting "Paul B. Mahol" <onemda@gmail.com>:
>>>>
>>>>> Because it looks like you are using CURRENT, first you need to create
>>>>> wlanX interface:
>>>>>
>>>>> ifconfig wlan create wlandev ath0
>>>>>
>>>>> Read man page of ath (if you did installed new world) and/or entry in
>>>>> /usr/src/UPDATING dated 20080420.
>>>>
>>>> Sorry I missed that Paul.  Thanks for calling it to my attention.
>>>>
>>>> I have tried to follow the instructions in the ath and wlan manual page=
s
>>>> and the UPDATING file but my end result hasn't changed - "no
>>>> carrier".  I'm
>>>> sure that I am still missing something else.
>>>>
>>>> My rc.conf has changed from:
>>>>>> if_ath_load=3D"yes"
>>>>>> ifconfig_ath0=3D"DHCP"
>>>> to
>>>> #  ath new config
>>>> wlans_ath0=3Dwlan0
>>>> ifconfig_wlan0=3D"WPA DHCP"
>>>>
>>>> My ifconfig is now:
>>>>
>>>> ath0: flags=3D8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 2290
>>>>     ether 00:1d:d9:27:5c:e5
>>>>     media: IEEE 802.11 Wireless Ethernet autoselect (autoselect)
>>>>     status: no carrier
>>>>
>>>> wlan0: flags=3D8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
>>>                    ^^^^^
>>>
>>> For some reason your interface is not UP. The dhcp client should do this
>>> so make sure its being launched.
>>
>> Thanks, Andrew.  I haven't used wireless on freebsd since 802.11b on
>> maybe 4.? before hostap, etc. etc.  I need to get this running to
>> relearn about wifi under freebsd.  Unfortunately, I bought a laptop with
>> an unsupported ath card but now that Sam's latest patch brings it and
>> with the help from folks on the list I'm getting closer.
>>
>> You are right, Andrew, dhclient wasn't running so first I tried:
>> # ifconfig wlan0 up
>> ath0 then associated:
>> ath0: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 2=
290
>>     ether 00:1d:d9:27:5c:e5
>>     media: IEEE 802.11 Wireless Ethernet autoselect mode 11g
>>     status: associated
>> lo0: flags=3D8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
>>     inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5
>>     inet6 ::1 prefixlen 128
>>     inet 127.0.0.1 netmask 0xff000000
>> pfsync0: flags=3D0<> metric 0 mtu 1460
>>     syncpeer: 224.0.0.240 maxupd: 128
>> pflog0: flags=3D0<> metric 0 mtu 33160
>> wlan0: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu =
1500
>>     ether 00:1d:d9:27:5c:e5
>>     media: IEEE 802.11 Wireless Ethernet autoselect (autoselect)
>>     status: no carrier
>>     ssid "" channel 4 (2427 Mhz 11g)
>>     regdomain 101 indoor ecm authmode OPEN privacy OFF txpower 16 bmiss 7
>>     scanvalid 60 bgscan bgscanintvl 300 bgscanidle 250 roam:rssi 7
>>     roam:rate 5 protmode CTS wme burst bintval 0
>> but still no carrier on wlan0 :(
>>
>> so I tried
>>
>>  # dhclient wlan0
>> wlan0: no link .............. giving up
>>
>> Trying
>> # ifconfig wlan0 scan
>> never finishes at least for the 10 minutes that I have left it.
>>
>> Just in case anyone wonders, I have an AP about 3 feet from where I'm
>> working and an iPhone that finds about a 1/2 dozen on accessable AP's so
>> it souldn't be a signal problem although all are using wep for auth.
>>
>> Anyone else have a suggestion?
>
> For some reason I had to do the following to assign:
>
> # ifconfig ath0 down
> # ifconfig ath0 ssid "yourssid"
> # ifconfig ath0 up
>
> Works fine with an Atheros AR5BXB63.
>
>>
>> Thanks,
>>
>> ed
>>>
>>>>     ether 00:1d:d9:27:5c:e5
>>>>     media: IEEE 802.11 Wireless Ethernet autoselect (autoselect)
>>>>     status: no carrier
>>>>     ssid "" channel 1 (2412 Mhz 11b)
>>>>     regdomain 101 indoor ecm authmode OPEN privacy OFF txpower 16
>>>> bmiss 7
>>>>     scanvalid 60 bgscan bgscanintvl 300 bgscanidle 250 roam:rssi 7
>>>>     roam:rate 1 wme burst bintval 0
>>>>
>>>> Both have "no carrier" and neither will do scan
>>> _______________________________________________
>>> freebsd-mobile@freebsd.org mailing list
>>> http://lists.freebsd.org/mailman/listinfo/freebsd-mobile
>>> To unsubscribe, send any mail to "freebsd-mobile-unsubscribe@freebsd.org=
"
>>>
>>
>> _______________________________________________
>> freebsd-mobile@freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-mobile
>> To unsubscribe, send any mail to "freebsd-mobile-unsubscribe@freebsd.org"
>>
>> --
>> Posted automagically by a mail2news gateway at muc.de e.V.
>> Please direct questions, flames, donations, etc. to news-admin@muc.de
>
>




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