Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Jun 2008 04:41:43 -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:  <20080620044143.88074a97adz57s6c@intranet.cloudmaster.info>
In-Reply-To: <20080619234045.GC76058@citylink.fud.org.nz>
References:  <20080619061612.39782fyb1v5rcnb4@intranet.cloudmaster.info> <3a142e750806190631u4d7e9d6ajd5b85f0a97cbb1d1@mail.gmail.com> <20080619182520.736036jkb7736k8w@intranet.cloudmaster.info> <20080619234045.GC76058@citylink.fud.org.nz>

next in thread | previous in thread | raw e-mail | index | archive | help
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 pages
>> 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
>> =09ether 00:1d:d9:27:5c:e5
>> =09media: IEEE 802.11 Wireless Ethernet autoselect (autoselect)
>> =09status: 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 =20
maybe 4.? before hostap, etc. etc.  I need to get this running to =20
relearn about wifi under freebsd.  Unfortunately, I bought a laptop =20
with an unsupported ath card but now that Sam's latest patch brings it =20
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 2290
=09ether 00:1d:d9:27:5c:e5
=09media: IEEE 802.11 Wireless Ethernet autoselect mode 11g
=09status: associated
lo0: flags=3D8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
=09inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5
=09inet6 ::1 prefixlen 128
=09inet 127.0.0.1 netmask 0xff000000
pfsync0: flags=3D0<> metric 0 mtu 1460
=09syncpeer: 224.0.0.240 maxupd: 128
pflog0: flags=3D0<> metric 0 mtu 33160
wlan0: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 150=
0
=09ether 00:1d:d9:27:5c:e5
=09media: IEEE 802.11 Wireless Ethernet autoselect (autoselect)
=09status: no carrier
=09ssid "" channel 4 (2427 Mhz 11g)
=09regdomain 101 indoor ecm authmode OPEN privacy OFF txpower 16 bmiss 7
=09scanvalid 60 bgscan bgscanintvl 300 bgscanidle 250 roam:rssi 7
=09roam: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 =20
working and an iPhone that finds about a 1/2 dozen on accessable AP's =20
so it souldn't be a signal problem although all are using wep for auth.

Anyone else have a suggestion?

Thanks,

ed
>
>> =09ether 00:1d:d9:27:5c:e5
>> =09media: IEEE 802.11 Wireless Ethernet autoselect (autoselect)
>> =09status: no carrier
>> =09ssid "" channel 1 (2412 Mhz 11b)
>> =09regdomain 101 indoor ecm authmode OPEN privacy OFF txpower 16 bmiss 7
>> =09scanvalid 60 bgscan bgscanintvl 300 bgscanidle 250 roam:rssi 7
>> =09roam: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"
>




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