From owner-freebsd-mobile@FreeBSD.ORG Fri Jun 20 13:20:30 2008 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F12F5106568D for ; Fri, 20 Jun 2008 13:20:30 +0000 (UTC) (envelope-from eculp@cloudmaster.info) Received: from ns2.bafirst.com (72-12-2-19.static.networktel.net [72.12.2.19]) by mx1.freebsd.org (Postfix) with ESMTP id A8B4C8FC21 for ; Fri, 20 Jun 2008 13:20:30 +0000 (UTC) (envelope-from eculp@cloudmaster.info) Received: from casasponti.net ([201.155.7.3]) by ns2.bafirst.com with esmtp; Fri, 20 Jun 2008 08:20:23 -0500 id 000D53E6.485BAE98.00008852 Received: from localhost (localhost [127.0.0.1]) (uid 80) by casasponti.net with local; Fri, 20 Jun 2008 08:20:13 -0500 id 00130CA2.485BAE8D.0000A5CB Received: from dsl-189-190-8-164.prod-infinitum.com.mx (dsl-189-190-8-164.prod-infinitum.com.mx [189.190.8.164]) by intranet.cloudmaster.info (Horde Framework) with HTTP; Fri, 20 Jun 2008 08:20:13 -0500 Message-ID: <20080620082013.33071pu8p4g77usk@intranet.cloudmaster.info> Date: Fri, 20 Jun 2008 08:20:13 -0500 From: "Edwin L. Culp" To: freebsd-mobile@freebsd.org 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> In-Reply-To: <485B7DD6.4000603@byterider.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Internet Messaging Program (IMP) H3 (5.0-cvs) Subject: Re: Ath0 802.11 comes up with Sam's patch but shows no carrier and I can't make it connect. X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Jun 2008 13:20:31 -0000 To close the thread: The ath0: 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 : > Edwin L. Culp wrote: >> Quoting Andrew Thompson : >> >>> On Thu, Jun 19, 2008 at 06:25:20PM -0500, Edwin L. Culp wrote: >>>> Quoting "Paul B. Mahol" : >>>> >>>>> 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 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 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 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 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 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 > >