From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Fz1Me-0004Fe-Dh for garchives@archives.gentoo.org; Sat, 08 Jul 2006 01:12:09 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.7/8.13.6) with SMTP id k6819iCM002494; Sat, 8 Jul 2006 01:09:44 GMT Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.186]) by robin.gentoo.org (8.13.7/8.13.6) with ESMTP id k6811ebd030725 for ; Sat, 8 Jul 2006 01:01:40 GMT Received: by nf-out-0910.google.com with SMTP id b2so117406nfe for ; Fri, 07 Jul 2006 18:01:40 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=py/rXsAA8cadULtDKLata6VdVjOw7vCHHdwUPgrN31fZcqRkIpAajicaqxhLGbavNV4EJQC2kH3VbFNqcxe+Hxw/6vVP//POxm8UMkza9Ol/oId6JL0xaVg7BE/hkd5DTQDmsTia+ip6kvhUGkwMpfAHG3RxQjfqAEkORM/GC2I= Received: by 10.78.164.13 with SMTP id m13mr929367hue; Fri, 07 Jul 2006 18:01:40 -0700 (PDT) Received: by 10.78.134.2 with HTTP; Fri, 7 Jul 2006 18:01:40 -0700 (PDT) Message-ID: <2db4be990607071801g61289d07kda46f7e7880d146e@mail.gmail.com> Date: Fri, 7 Jul 2006 21:01:40 -0400 From: "Colleen Beamer" To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Wireless Help In-Reply-To: <558b73fb0607062134y54ff21f7h5add1f80e06d2a42@mail.gmail.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_14216_5560743.1152320500301" References: <44AB2F4D.1060701@gmail.com> <7e7f5e710607042218x5a2f6cb4l65f2c5c452a0f53e@mail.gmail.com> <2db4be990607062110m5796dc03o7e55497d95e1f539@mail.gmail.com> <558b73fb0607062134y54ff21f7h5add1f80e06d2a42@mail.gmail.com> X-Archives-Salt: c56c7e69-5067-4f57-b6a3-7cc2156b9bd3 X-Archives-Hash: 63941745bb9d3492742b7313676bfe4f ------=_Part_14216_5560743.1152320500301 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Okay, I'm totally confused now and don't know what to do! On 7/7/06, Michael Crute wrote: > > I would really recommend you use wpa_supplicant as IMO it is far > easier to configure and supports more access methods than iwconfig. > Since your wireless card is clearly detected it should be trivial to > setup. Check out this article in the wiki (which you may have already > looked at): > http://gentoo-wiki.com/HOWTO_Wireless_Configuration_and_Startup#Configuration_using_wpa_supplicant When I boot my computer and do modprobe ndiswrapper, and then run iwconfig, I get the following (as I stated in my previous post) > > > localhost ~ # iwconfig > > lo no wireless extensions. > > > > eth0 no wireless extensions. > > > > wlan0 IEEE 802.11g ESSID:"beam26wireless" > > Mode:Managed Frequency:2.437 GHz Access Point: > 00:13:10:99:9C:BF > > Bit Rate:54 Mb/s Tx-Power:25 dBm > > RTS thr:2347 B Fragment thr:2346 B > > Encryption key:off > > Power Management:off > > Link Quality:100/100 Signal level:-60 dBm Noise level:-256 > dBm > > Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0 > > Tx excessive retries:0 Invalid misc:0 Missed beacon:0 I can connect in a "clunky" fashion if I type 'ifconfig wlan0 up' and then 'dhcpcd wlan0' from the command line. However, what I want to do is to be able to connect automatically to my wireless access point, or for that matter any available wireless access point. So, I took the above advice and emerged wpa_supplicant. Following the wiki, I created very simple wpa_supplicant.conf file by copying the following lines from the wpa_supplicant.conf.example file, pasting them into the wpa_supplicant.conf file that I was creating and modifying them for my own situation. network={ ssid="beam26wireless" scan_ssid=1 psk="******" priority=2 } I did put something into the psk= filed, but have blanked it out here. From the example file this seemed to be most suited to my situation. Right now, I haven't set up encryption on my cable/DSL router because my son connects wirelessly with his Windows computer and he'll have a fit if he can't connect until I can tear him of the laptop long enough to enter the encryption code into his wireless configuration. Next, the wiki said to put these lines into the /etc/conf.d/net file (which had nothing in it because it assumes dhcp): modules=( "wpa_supplicant" ) wpa_supplicant_wlan0="-Dndiswrapper" wpa_timeout_wlan0=60 Again, these lines have been modified to suit my situation. However, if I boot the laptop without the ethernet cable connected, it hangs when running the dhcpcd daemon. I'm sure I'm missing something, but I don't know what. Any further assistance would be appreciated and I apologize for having to be "led by the nose". Regards, Colleen > > ------=_Part_14216_5560743.1152320500301 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Okay, I'm totally confused now and don't know what to do!

On 7/7/06, Michael Crute <mcrute@gmail.com> wrote:


I would really recommend you use wpa_supplicant as IMO it is far
easier to configure and supports more access methods than iwconfig.
Since your wireless card is clearly detected it should be trivial to
setup. Check out this article in the wiki (which you may have already
looked at): http://gentoo-wiki.com/HOWTO_Wireless_Configuration_and_Startup#Configuration_using_wpa_supplicant


When I boot my computer and do modprobe ndiswrapper, and then run iwconfig, I get the following (as I stated in my previous post)

>
> localhost ~ # iwconfig
> lo        no wireless extensions.
>
> eth0      no wireless extensions.
>
> wlan0     IEEE 802.11g  ESSID:"beam26wireless"
>           Mode:Managed  Frequency:2.437 GHz  Access Point: 00:13:10:99:9C:BF
>           Bit Rate:54 Mb/s   Tx-Power:25 dBm
>           RTS thr:2347 B   Fragment thr:2346 B
>           Encryption key:off
>           Power Management:off
>           Link Quality:100/100  Signal level:-60 dBm  Noise level:-256 dBm
>           Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
>           Tx excessive retries:0  Invalid misc:0   Missed beacon:0


I can connect in a "clunky" fashion if I type 'ifconfig wlan0 up' and then 'dhcpcd wlan0' from the command line.

However, what I want to do is to be able to connect automatically to my wireless access point, or for that matter any available wireless access point.

So, I took the above advice and emerged wpa_supplicant.

Following the wiki, I created very simple wpa_supplicant.conf file by copying the following lines from the wpa_supplicant.conf.example file, pasting them into the wpa_supplicant.conf file that I was creating and modifying them for my own situation.

network={
        ssid="beam26wireless"
        scan_ssid=1
        psk="******"
        priority=2
}

I did put something into the psk= filed, but have blanked it out here.  From the example file this seemed to be most suited to my situation.  Right now, I haven't set up encryption on my cable/DSL router because my son connects wirelessly with his Windows computer and he'll have a fit if he can't connect until I can tear him of the laptop long enough to enter the encryption code into his wireless configuration.

Next, the wiki said to put these lines into the /etc/conf.d/net file (which had nothing in it because it assumes dhcp):



modules=( "wpa_supplicant" )

wpa_supplicant_wlan0="-Dndiswrapper"
wpa_timeout_wlan0=60

Again, these lines have been modified to suit my situation.

However, if I boot the laptop without the ethernet cable connected, it hangs when running the dhcpcd daemon.

I'm sure I'm missing something, but I don't know what.

Any further assistance would be appreciated and I apologize for having to be "led by the nose".

Regards,

Colleen


------=_Part_14216_5560743.1152320500301-- -- gentoo-user@gentoo.org mailing list