* [gentoo-user] Still Struggling With Wireless @ 2010-08-17 1:45 CJoeB 2010-08-17 1:55 ` Adam Carter ` (3 more replies) 0 siblings, 4 replies; 18+ messages in thread From: CJoeB @ 2010-08-17 1:45 UTC (permalink / raw To: gentoo-user Hi, I'm biting the bullet here and asking for help. Yes! I've posted before. And before anyone asks, I have read the responses to my previous posts which helped little. I have read the documentation and the wikis - ad nauseum. I'm still having problems with wireless. Things were so much easier when I could just use the ipw3945 driver. However, I can't build that because it requires TKIP and CCMP, neither of which I can find settings for in my active kernel, 2.6.34-gentoo-r1. In one of the responses to my previous posts someone told me about the / trick while in the kernel configuration to bring up a search menu. I did this and the only reference I could find for TKIP was one related to debugging. So, I'm left with trying to use the iwl3945 driver in the kernel. I followed the wiki for setting this up and thought I had succeeded. I got to the point where I was told to type the following: ifconfig wlan0 up (this does activate the wireless led on my computer) iwlist wlan0 scan iwconfig wlan0 essid "network name" (where the network name is the essid that has been set) When I got this to work, I thought I was home free despite the "kludgy" way of getting wireless working. However, I rebooted and now, when I type iwlist wlan0 scan I get told that scanning is not supported. Yes, I have iwl3945-ucode installed and yes, it was recompiled after the kernel was rebuilt. I have no idea what I'm doing wrong. Help would be appreciated. Regards, Colleen -- Registered Linux User #411143 with the Linux Counter, http://counter.li.org ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [gentoo-user] Still Struggling With Wireless 2010-08-17 1:45 [gentoo-user] Still Struggling With Wireless CJoeB @ 2010-08-17 1:55 ` Adam Carter 2010-08-17 10:55 ` Jake Moe 2010-08-17 8:36 ` David Abbott ` (2 subsequent siblings) 3 siblings, 1 reply; 18+ messages in thread From: Adam Carter @ 2010-08-17 1:55 UTC (permalink / raw To: gentoo-user [-- Attachment #1: Type: text/plain, Size: 1608 bytes --] > > Hi, > > I'm biting the bullet here and asking for help. Yes! I've posted > before. And before anyone asks, I have read the responses to my > previous posts which helped little. I have read the documentation and > the wikis - ad nauseum. I'm still having problems with wireless. > > Things were so much easier when I could just use the ipw3945 driver. > However, I can't build that because it requires TKIP and CCMP, neither > of which I can find settings for in my active kernel, 2.6.34-gentoo-r1. > In one of the responses to my previous posts someone told me about the / > trick while in the kernel configuration to bring up a search menu. I > did this and the only reference I could find for TKIP was one related to > debugging. > I use wpa_supplicant to provide the wifi crypto. > > So, I'm left with trying to use the iwl3945 driver in the kernel. I > followed the wiki for setting this up and thought I had succeeded. I > got to the point where I was told to type the following: > ifconfig wlan0 up (this does activate the wireless led on my computer) > iwlist wlan0 scan > iwconfig wlan0 essid "network name" (where the network name is the > essid that has been set) > > When I got this to work, I thought I was home free despite the "kludgy" > way of getting wireless working. However, I rebooted and now, when I > type iwlist wlan0 scan I get told that scanning is not supported. Yes, > I have iwl3945-ucode installed and yes, it was recompiled after the > kernel was rebuilt. > > I have no idea what I'm doing wrong. > Forgetting to post up your configs :) eg /etc/conf.d/net etc [-- Attachment #2: Type: text/html, Size: 2099 bytes --] ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [gentoo-user] Still Struggling With Wireless 2010-08-17 1:55 ` Adam Carter @ 2010-08-17 10:55 ` Jake Moe 2010-08-17 23:04 ` CJoeB 0 siblings, 1 reply; 18+ messages in thread From: Jake Moe @ 2010-08-17 10:55 UTC (permalink / raw To: gentoo-user On 08/17/10 11:55, Adam Carter wrote: >> Hi, >> >> I'm biting the bullet here and asking for help. Yes! I've posted >> before. And before anyone asks, I have read the responses to my >> previous posts which helped little. I have read the documentation and >> the wikis - ad nauseum. I'm still having problems with wireless. >> >> Things were so much easier when I could just use the ipw3945 driver. >> However, I can't build that because it requires TKIP and CCMP, neither >> of which I can find settings for in my active kernel, 2.6.34-gentoo-r1. >> In one of the responses to my previous posts someone told me about the / >> trick while in the kernel configuration to bring up a search menu. I >> did this and the only reference I could find for TKIP was one related to >> debugging. > I use wpa_supplicant to provide the wifi crypto. >> So, I'm left with trying to use the iwl3945 driver in the kernel. I >> followed the wiki for setting this up and thought I had succeeded. I >> got to the point where I was told to type the following: >> ifconfig wlan0 up (this does activate the wireless led on my computer) >> iwlist wlan0 scan >> iwconfig wlan0 essid "network name" (where the network name is the >> essid that has been set) >> >> When I got this to work, I thought I was home free despite the "kludgy" >> way of getting wireless working. However, I rebooted and now, when I >> type iwlist wlan0 scan I get told that scanning is not supported. Yes, >> I have iwl3945-ucode installed and yes, it was recompiled after the >> kernel was rebuilt. >> >> I have no idea what I'm doing wrong. > Forgetting to post up your configs :) eg /etc/conf.d/net etc I've used the iwl3945 on a few HP laptops without much problem. The few problems I had were related to switching the wireless on and off; I'd have to rmmod and modprobe kernel modules to get it working again. Does "ifconfig" list the interface? If not, what does "ifconfig wlan0 up" do? What about the output of "iwconfig"? And going for the obvious here, any chance that the wireless is turned off? Jake Moe ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [gentoo-user] Still Struggling With Wireless 2010-08-17 10:55 ` Jake Moe @ 2010-08-17 23:04 ` CJoeB 2010-08-18 1:12 ` Jake Moe 0 siblings, 1 reply; 18+ messages in thread From: CJoeB @ 2010-08-17 23:04 UTC (permalink / raw To: gentoo-user On 08/17/10 10:55, Jake Moe wrote: > On 08/17/10 11:55, Adam Carter wrote: >>> Hi, >>> >>> I'm biting the bullet here and asking for help. Yes! I've posted >>> before. And before anyone asks, I have read the responses to my >>> previous posts which helped little. I have read the documentation and >>> the wikis - ad nauseum. I'm still having problems with wireless. >>> >> I use wpa_supplicant to provide the wifi crypto. >>> So, I'm left with trying to use the iwl3945 driver in the kernel. I >>> followed the wiki for setting this up and thought I had succeeded. I >>> got to the point where I was told to type the following: >>> ifconfig wlan0 up (this does activate the wireless led on my computer) >>> iwlist wlan0 scan >>> iwconfig wlan0 essid "network name" (where the network name is the >>> essid that has been set) >>> >>> When I got this to work, I thought I was home free despite the "kludgy" >>> way of getting wireless working. However, I rebooted and now, when I >>> type iwlist wlan0 scan I get told that scanning is not supported. Yes, >>> I have iwl3945-ucode installed and yes, it was recompiled after the >>> kernel was rebuilt. >>> >>> I have no idea what I'm doing wrong. >> Forgetting to post up your configs :) eg /etc/conf.d/net etc > I've used the iwl3945 on a few HP laptops without much problem. The few > problems I had were related to switching the wireless on and off; I'd > have to rmmod and modprobe kernel modules to get it working again. > > Does "ifconfig" list the interface? If not, what does "ifconfig wlan0 > up" do? What about the output of "iwconfig"? And going for the obvious > here, any chance that the wireless is turned off? > > Jake Moe > > iwconfig lists the interface as wlan0 I discovered last night after sending my original message that my symlink was wrong - I used to have net.eth0 and net.eth1 pointing to net.lo. However, last night I removed the net.eth1 symlink and created the net.wlan0 symlink to net.lo. Now when I boot the computer, my wireless comes up and the LED comes on, but then it times out because (I assume) it can't establish a connection. This is my /etc/conf.d/net file. Note that the "any" used to work when I used the ipw3945 driver. I would scan for available networks. I tried last night to change the "any" to the essid printed on my Bell router, but that didn't work. # This blank configuration will automatically use DHCP for any net.* # scripts in /etc/init.d. To create a more complete configuration, # please review /etc/conf.d/net.example and save your configuration # in /etc/conf.d/net (this file :]!). #preup() { # if [[ ${IFACE} = "wlan0" ]]; then # sleep 3 # fi # return 0 #} modules=( "iwconfig" ) iwconfig_wlan0="mode managed" config_eth0=("dhcp") config_wlan0=("dhcp") wpa_timeout_wlan0=15 essid_wlan0="any" Regards, Colleen -- Registered Linux User #411143 with the Linux Counter, http://counter.li.org ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [gentoo-user] Still Struggling With Wireless 2010-08-17 23:04 ` CJoeB @ 2010-08-18 1:12 ` Jake Moe 2010-08-18 2:56 ` CJoeB 0 siblings, 1 reply; 18+ messages in thread From: Jake Moe @ 2010-08-18 1:12 UTC (permalink / raw To: gentoo-user On 18/08/10 09:04, CJoeB wrote: > On 08/17/10 10:55, Jake Moe wrote: >> On 08/17/10 11:55, Adam Carter wrote: >>>> Hi, >>>> >>>> I'm biting the bullet here and asking for help. Yes! I've posted >>>> before. And before anyone asks, I have read the responses to my >>>> previous posts which helped little. I have read the documentation and >>>> the wikis - ad nauseum. I'm still having problems with wireless. >>>> >>> I use wpa_supplicant to provide the wifi crypto. >>>> So, I'm left with trying to use the iwl3945 driver in the kernel. I >>>> followed the wiki for setting this up and thought I had succeeded. I >>>> got to the point where I was told to type the following: >>>> ifconfig wlan0 up (this does activate the wireless led on my computer) >>>> iwlist wlan0 scan >>>> iwconfig wlan0 essid "network name" (where the network name is the >>>> essid that has been set) >>>> >>>> When I got this to work, I thought I was home free despite the "kludgy" >>>> way of getting wireless working. However, I rebooted and now, when I >>>> type iwlist wlan0 scan I get told that scanning is not supported. Yes, >>>> I have iwl3945-ucode installed and yes, it was recompiled after the >>>> kernel was rebuilt. >>>> >>>> I have no idea what I'm doing wrong. >>> Forgetting to post up your configs :) eg /etc/conf.d/net etc >> I've used the iwl3945 on a few HP laptops without much problem. The few >> problems I had were related to switching the wireless on and off; I'd >> have to rmmod and modprobe kernel modules to get it working again. >> >> Does "ifconfig" list the interface? If not, what does "ifconfig wlan0 >> up" do? What about the output of "iwconfig"? And going for the obvious >> here, any chance that the wireless is turned off? >> >> Jake Moe >> >> > iwconfig lists the interface as wlan0 > > I discovered last night after sending my original message that my > symlink was wrong - I used to have net.eth0 and net.eth1 pointing to > net.lo. However, last night I removed the net.eth1 symlink and created > the net.wlan0 symlink to net.lo. Now when I boot the computer, my > wireless comes up and the LED comes on, but then it times out because (I > assume) it can't establish a connection. > > This is my /etc/conf.d/net file. Note that the "any" used to work when > I used the ipw3945 driver. I would scan for available networks. I > tried last night to change the "any" to the essid printed on my Bell > router, but that didn't work. > > > # This blank configuration will automatically use DHCP for any net.* > # scripts in /etc/init.d. To create a more complete configuration, > # please review /etc/conf.d/net.example and save your configuration > # in /etc/conf.d/net (this file :]!). > > #preup() { > # if [[ ${IFACE} = "wlan0" ]]; then > # sleep 3 > # fi > # return 0 > #} > > modules=( "iwconfig" ) > iwconfig_wlan0="mode managed" > config_eth0=("dhcp") > config_wlan0=("dhcp") > wpa_timeout_wlan0=15 > essid_wlan0="any" > > Regards, > > Colleen This is the wireless part of mine: modules=( "iwconfig" ) config_wlan0=( "noop" "dhcp" ) dhcpcd_wlan0=( "-d -t 15" ) associate_order=( "forcepreferredonly" ) associate_timeout=( "5" ) preferred_aps=( "firstessid" "secondessid" ) key_firstessid=( "THIS-ISMY-KEY1-1234-5678-90AB-CD" ) key_secondessid=( "THIS-ISMY-KEY2-ABCD-EFGH-IJKL-MN" ) I've removed anything not having to do with the wireless for clarity. From memory, the only lines needed are "modules", "config_wlan0", and "preferred_aps" (I have two because I also use wireless at my g/f's mum's house). Oh, and I use "forcepreferredonly" so it'll try to connect even though it can't find my essid by scanning (because I've told my router to stop broadcasting the essid of my wireless network), and it'll only try to connect to networks I specifically tell it to, no others. If your essid is hidden as well, you'll probably need to add either "forcepreferredonly" or "forceany" if you want it to auto-connect to any it finds if it can't connect to yours. Reading through the wireless.example file, I came across this: ############################################################################## # SETTINGS ############################################################################## # Hard code an ESSID to an interface - leave this unset if you wish the driver # to scan for available Access Points # Set to "any" to connect to any ESSID - the driver picks an Access Point # This needs to be done when the driver doesn't support scanning # This may work for drivers that don't support scanning but you need automatic # AP association # I would only set this as a last resort really - use the preferred_aps # setting at the bottom of this file Which is why I used perferred_aps instead of essid_wlan0. Give that a try, perhaps? Jake Moe ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [gentoo-user] Still Struggling With Wireless 2010-08-18 1:12 ` Jake Moe @ 2010-08-18 2:56 ` CJoeB 2010-08-18 18:50 ` Elmar Hinz ` (2 more replies) 0 siblings, 3 replies; 18+ messages in thread From: CJoeB @ 2010-08-18 2:56 UTC (permalink / raw To: gentoo-user On 08/18/10 01:12, Jake Moe wrote: > On 18/08/10 09:04, CJoeB wrote: >> On 08/17/10 10:55, Jake Moe wrote: >>> On 08/17/10 11:55, Adam Carter wrote: >>>>> Hi, >>>>> >>>>> I'm biting the bullet here and asking for help. Yes! I've posted >>>>> before. And before anyone asks, I have read the responses to my >>>>> previous posts which helped little. I have read the documentation and >>>>> the wikis - ad nauseum. I'm still having problems with wireless. >>>>> >>>> I use wpa_supplicant to provide the wifi crypto. >>>>> So, I'm left with trying to use the iwl3945 driver in the kernel. I >>>>> followed the wiki for setting this up and thought I had succeeded. I >>>>> got to the point where I was told to type the following: >>>>> ifconfig wlan0 up (this does activate the wireless led on my computer) >>>>> iwlist wlan0 scan >>>>> iwconfig wlan0 essid "network name" (where the network name is the >>>>> essid that has been set) >>>>> >>>>> When I got this to work, I thought I was home free despite the "kludgy" >>>>> way of getting wireless working. However, I rebooted and now, when I >>>>> type iwlist wlan0 scan I get told that scanning is not supported. Yes, >>>>> I have iwl3945-ucode installed and yes, it was recompiled after the >>>>> kernel was rebuilt. >>>>> >>>>> I have no idea what I'm doing wrong. >>>> Forgetting to post up your configs :) eg /etc/conf.d/net etc >>> I've used the iwl3945 on a few HP laptops without much problem. The few >>> problems I had were related to switching the wireless on and off; I'd >>> have to rmmod and modprobe kernel modules to get it working again. >>> >>> Does "ifconfig" list the interface? If not, what does "ifconfig wlan0 >>> up" do? What about the output of "iwconfig"? And going for the obvious >>> here, any chance that the wireless is turned off? >>> >>> Jake Moe >>> >>> >> iwconfig lists the interface as wlan0 >> >> I discovered last night after sending my original message that my >> symlink was wrong - I used to have net.eth0 and net.eth1 pointing to >> net.lo. However, last night I removed the net.eth1 symlink and created >> the net.wlan0 symlink to net.lo. Now when I boot the computer, my >> wireless comes up and the LED comes on, but then it times out because (I >> assume) it can't establish a connection. >> >> This is my /etc/conf.d/net file. Note that the "any" used to work when >> I used the ipw3945 driver. I would scan for available networks. I >> tried last night to change the "any" to the essid printed on my Bell >> router, but that didn't work. >> >> >> # This blank configuration will automatically use DHCP for any net.* >> # scripts in /etc/init.d. To create a more complete configuration, >> # please review /etc/conf.d/net.example and save your configuration >> # in /etc/conf.d/net (this file :]!). >> >> #preup() { >> # if [[ ${IFACE} = "wlan0" ]]; then >> # sleep 3 >> # fi >> # return 0 >> #} >> >> modules=( "iwconfig" ) >> iwconfig_wlan0="mode managed" >> config_eth0=("dhcp") >> config_wlan0=("dhcp") >> wpa_timeout_wlan0=15 >> essid_wlan0="any" >> >> Regards, >> >> Colleen > This is the wireless part of mine: > > modules=( "iwconfig" ) > config_wlan0=( "noop" "dhcp" ) > dhcpcd_wlan0=( "-d -t 15" ) > associate_order=( "forcepreferredonly" ) > associate_timeout=( "5" ) > preferred_aps=( "firstessid" "secondessid" ) > key_firstessid=( "THIS-ISMY-KEY1-1234-5678-90AB-CD" ) > key_secondessid=( "THIS-ISMY-KEY2-ABCD-EFGH-IJKL-MN" ) > > > I've removed anything not having to do with the wireless for clarity. > >From memory, the only lines needed are "modules", "config_wlan0", and > "preferred_aps" (I have two because I also use wireless at my g/f's > mum's house). Oh, and I use "forcepreferredonly" so it'll try to > connect even though it can't find my essid by scanning (because I've > told my router to stop broadcasting the essid of my wireless network), > and it'll only try to connect to networks I specifically tell it to, no > others. If your essid is hidden as well, you'll probably need to add > either "forcepreferredonly" or "forceany" if you want it to auto-connect > to any it finds if it can't connect to yours. > > Reading through the wireless.example file, I came across this: > > ############################################################################## > # SETTINGS > ############################################################################## > # Hard code an ESSID to an interface - leave this unset if you wish > the driver > # to scan for available Access Points > # Set to "any" to connect to any ESSID - the driver picks an Access > Point > # This needs to be done when the driver doesn't support scanning > # This may work for drivers that don't support scanning but you need > automatic > # AP association > # I would only set this as a last resort really - use the preferred_aps > # setting at the bottom of this file > > Which is why I used perferred_aps instead of essid_wlan0. Give that a > try, perhaps? > > Jake Moe > > Haven't tried this yet - just got the e-mail and it's almost 11:00 p.m. and time for me to "hit the sack". However, I wanted to point this out. This test was copied from dmesg. Unless, I am misreading this, it looks like the driver is working. The problem is connecting to an access point. If my interpretation is wrong, let me know. iwl3945: Intel(R) PRO/Wireless 3945ABG/BG Network Connection driver for Linux, in -tree:s iwl3945: Copyright(c) 2003-2010 Intel Corporation iwl3945 0000:0c:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17 iwl3945 0000:0c:00.0: setting latency timer to 64 iwl3945 0000:0c:00.0: Tunable channels: 11 802.11bg, 13 802.11a channels iwl3945 0000:0c:00.0: Detected Intel Wireless WiFi Link 3945ABG iwl3945 0000:0c:00.0: irq 29 for MSI/MSI-X phy0: Selected rate control algorithm 'iwl-3945-rs' Regards, Colleen -- Registered Linux User #411143 with the Linux Counter, http://counter.li.org ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [gentoo-user] Still Struggling With Wireless 2010-08-18 2:56 ` CJoeB @ 2010-08-18 18:50 ` Elmar Hinz 2010-08-18 21:47 ` Jake Moe 2010-08-20 15:44 ` Mick 2 siblings, 0 replies; 18+ messages in thread From: Elmar Hinz @ 2010-08-18 18:50 UTC (permalink / raw To: gentoo-user This is a full protocol of all steps I need to do to get wlan0 running with wpa_supplicant: http://en.gentoo-wiki.com/wiki/Asus_PRO52H#Network Al ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [gentoo-user] Still Struggling With Wireless 2010-08-18 2:56 ` CJoeB 2010-08-18 18:50 ` Elmar Hinz @ 2010-08-18 21:47 ` Jake Moe 2010-08-20 15:44 ` Mick 2 siblings, 0 replies; 18+ messages in thread From: Jake Moe @ 2010-08-18 21:47 UTC (permalink / raw To: gentoo-user On 18/08/10 12:56, CJoeB wrote: > On 08/18/10 01:12, Jake Moe wrote: >> On 18/08/10 09:04, CJoeB wrote: >>> On 08/17/10 10:55, Jake Moe wrote: >>>> On 08/17/10 11:55, Adam Carter wrote: >>>>>> Hi, >>>>>> >>>>>> I'm biting the bullet here and asking for help. Yes! I've posted >>>>>> before. And before anyone asks, I have read the responses to my >>>>>> previous posts which helped little. I have read the documentation and >>>>>> the wikis - ad nauseum. I'm still having problems with wireless. >>>>>> >>>>> I use wpa_supplicant to provide the wifi crypto. >>>>>> So, I'm left with trying to use the iwl3945 driver in the kernel. I >>>>>> followed the wiki for setting this up and thought I had succeeded. I >>>>>> got to the point where I was told to type the following: >>>>>> ifconfig wlan0 up (this does activate the wireless led on my computer) >>>>>> iwlist wlan0 scan >>>>>> iwconfig wlan0 essid "network name" (where the network name is the >>>>>> essid that has been set) >>>>>> >>>>>> When I got this to work, I thought I was home free despite the "kludgy" >>>>>> way of getting wireless working. However, I rebooted and now, when I >>>>>> type iwlist wlan0 scan I get told that scanning is not supported. Yes, >>>>>> I have iwl3945-ucode installed and yes, it was recompiled after the >>>>>> kernel was rebuilt. >>>>>> >>>>>> I have no idea what I'm doing wrong. >>>>> Forgetting to post up your configs :) eg /etc/conf.d/net etc >>>> I've used the iwl3945 on a few HP laptops without much problem. The few >>>> problems I had were related to switching the wireless on and off; I'd >>>> have to rmmod and modprobe kernel modules to get it working again. >>>> >>>> Does "ifconfig" list the interface? If not, what does "ifconfig wlan0 >>>> up" do? What about the output of "iwconfig"? And going for the obvious >>>> here, any chance that the wireless is turned off? >>>> >>>> Jake Moe >>>> >>>> >>> iwconfig lists the interface as wlan0 >>> >>> I discovered last night after sending my original message that my >>> symlink was wrong - I used to have net.eth0 and net.eth1 pointing to >>> net.lo. However, last night I removed the net.eth1 symlink and created >>> the net.wlan0 symlink to net.lo. Now when I boot the computer, my >>> wireless comes up and the LED comes on, but then it times out because (I >>> assume) it can't establish a connection. >>> >>> This is my /etc/conf.d/net file. Note that the "any" used to work when >>> I used the ipw3945 driver. I would scan for available networks. I >>> tried last night to change the "any" to the essid printed on my Bell >>> router, but that didn't work. >>> >>> >>> # This blank configuration will automatically use DHCP for any net.* >>> # scripts in /etc/init.d. To create a more complete configuration, >>> # please review /etc/conf.d/net.example and save your configuration >>> # in /etc/conf.d/net (this file :]!). >>> >>> #preup() { >>> # if [[ ${IFACE} = "wlan0" ]]; then >>> # sleep 3 >>> # fi >>> # return 0 >>> #} >>> >>> modules=( "iwconfig" ) >>> iwconfig_wlan0="mode managed" >>> config_eth0=("dhcp") >>> config_wlan0=("dhcp") >>> wpa_timeout_wlan0=15 >>> essid_wlan0="any" >>> >>> Regards, >>> >>> Colleen >> This is the wireless part of mine: >> >> modules=( "iwconfig" ) >> config_wlan0=( "noop" "dhcp" ) >> dhcpcd_wlan0=( "-d -t 15" ) >> associate_order=( "forcepreferredonly" ) >> associate_timeout=( "5" ) >> preferred_aps=( "firstessid" "secondessid" ) >> key_firstessid=( "THIS-ISMY-KEY1-1234-5678-90AB-CD" ) >> key_secondessid=( "THIS-ISMY-KEY2-ABCD-EFGH-IJKL-MN" ) >> >> >> I've removed anything not having to do with the wireless for clarity. >> >From memory, the only lines needed are "modules", "config_wlan0", and >> "preferred_aps" (I have two because I also use wireless at my g/f's >> mum's house). Oh, and I use "forcepreferredonly" so it'll try to >> connect even though it can't find my essid by scanning (because I've >> told my router to stop broadcasting the essid of my wireless network), >> and it'll only try to connect to networks I specifically tell it to, no >> others. If your essid is hidden as well, you'll probably need to add >> either "forcepreferredonly" or "forceany" if you want it to auto-connect >> to any it finds if it can't connect to yours. >> >> Reading through the wireless.example file, I came across this: >> >> ############################################################################## >> # SETTINGS >> ############################################################################## >> # Hard code an ESSID to an interface - leave this unset if you wish >> the driver >> # to scan for available Access Points >> # Set to "any" to connect to any ESSID - the driver picks an Access >> Point >> # This needs to be done when the driver doesn't support scanning >> # This may work for drivers that don't support scanning but you need >> automatic >> # AP association >> # I would only set this as a last resort really - use the preferred_aps >> # setting at the bottom of this file >> >> Which is why I used perferred_aps instead of essid_wlan0. Give that a >> try, perhaps? >> >> Jake Moe >> >> > Haven't tried this yet - just got the e-mail and it's almost 11:00 p.m. > and time for me to "hit the sack". However, I wanted to point this > out. This test was copied from dmesg. Unless, I am misreading this, it > looks like the driver is working. The problem is connecting to an > access point. If my interpretation is wrong, let me know. > > iwl3945: Intel(R) PRO/Wireless 3945ABG/BG Network Connection driver for > Linux, in > -tree:s > iwl3945: Copyright(c) 2003-2010 Intel Corporation > iwl3945 0000:0c:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17 > iwl3945 0000:0c:00.0: setting latency timer to 64 > iwl3945 0000:0c:00.0: Tunable channels: 11 802.11bg, 13 802.11a channels > iwl3945 0000:0c:00.0: Detected Intel Wireless WiFi Link 3945ABG > iwl3945 0000:0c:00.0: irq 29 for MSI/MSI-X > phy0: Selected rate control algorithm 'iwl-3945-rs' > > > Regards, > > Colleen It's my understanding that if iwconfig and ifconfig find the device, then the kernel is configured properly. (Feel free to jump in here if I'm wrong, anyone) So then it becomes a question of why it doesn't work for you, and that'll usually be config problems. iwconfig lists my interfaces as such: lo no wireless extensions. eth0 no wireless extensions. wlan0 IEEE 802.11abgn Mode:Managed Access Point: Not-Associated Tx-Power=off Retry long limit:7 RTS thr:off Fragment thr:off Power Management:off firewire0 no wireless extensions. So it sees that my wlan0 interface is a IEEE 802.11abgn capable wireless device. You said iwconfig listed yours as wlan0, but did it see it as a wireless device? If so, you should be able to run "iwlist wlan0 scanning" and get a listing of ESSIDs that are in range. You probably need to run it as root; if I run it as a regular user, it doesn't error, but it doesn't find anything either. Jake Moe ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [gentoo-user] Still Struggling With Wireless 2010-08-18 2:56 ` CJoeB 2010-08-18 18:50 ` Elmar Hinz 2010-08-18 21:47 ` Jake Moe @ 2010-08-20 15:44 ` Mick 2 siblings, 0 replies; 18+ messages in thread From: Mick @ 2010-08-20 15:44 UTC (permalink / raw To: gentoo-user On 18 August 2010 03:56, CJoeB <colleen.beamer@gmail.com> wrote: > Haven't tried this yet - just got the e-mail and it's almost 11:00 p.m. > and time for me to "hit the sack". However, I wanted to point this > out. This test was copied from dmesg. Unless, I am misreading this, it > looks like the driver is working. The problem is connecting to an > access point. If my interpretation is wrong, let me know. > > iwl3945: Intel(R) PRO/Wireless 3945ABG/BG Network Connection driver for > Linux, in > -tree:s > iwl3945: Copyright(c) 2003-2010 Intel Corporation > iwl3945 0000:0c:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17 > iwl3945 0000:0c:00.0: setting latency timer to 64 > iwl3945 0000:0c:00.0: Tunable channels: 11 802.11bg, 13 802.11a channels > iwl3945 0000:0c:00.0: Detected Intel Wireless WiFi Link 3945ABG > iwl3945 0000:0c:00.0: irq 29 for MSI/MSI-X > phy0: Selected rate control algorithm 'iwl-3945-rs' This shows that your driver is working. Can you please run 'iwlist wlan0 scan' and 'iwconfig wlan0' and show us the results? The former should include your access point and the latter should show that your wireless card has associated with it. Meanwhile, your /etc/conf.d/net does not show a passphrase and it seems to be confusing wireless tools and wpa. What encryption are you using?/Are you using encryption? -- Regards, Mick ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [gentoo-user] Still Struggling With Wireless 2010-08-17 1:45 [gentoo-user] Still Struggling With Wireless CJoeB 2010-08-17 1:55 ` Adam Carter @ 2010-08-17 8:36 ` David Abbott 2010-08-17 11:05 ` Elmar Hinz 2010-08-17 22:49 ` CJoeB 2010-08-17 11:11 ` Elmar Hinz 2010-08-17 11:19 ` Elmar Hinz 3 siblings, 2 replies; 18+ messages in thread From: David Abbott @ 2010-08-17 8:36 UTC (permalink / raw To: gentoo-user On Mon, Aug 16, 2010 at 9:45 PM, CJoeB <colleen.beamer@gmail.com> wrote: > Hi, > > I'm biting the bullet here and asking for help. I would suggest using Wicd [0] and disable all !net.* rc scripts depending on the version of baselayout /openrc you have the file to edit [1] will change. [0] http://en.gentoo-wiki.com/wiki/Wicd [1] http://gentoo-pr.org/node/17 -- David Abbott (dabbott) ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [gentoo-user] Still Struggling With Wireless 2010-08-17 8:36 ` David Abbott @ 2010-08-17 11:05 ` Elmar Hinz 2010-08-17 22:49 ` CJoeB 1 sibling, 0 replies; 18+ messages in thread From: Elmar Hinz @ 2010-08-17 11:05 UTC (permalink / raw To: gentoo-user > I would suggest using Wicd [0] and disable all !net.* rc scripts AFAIK Wicd is just a graphical frontend to wpa_supplicant. So I would recommend to try wpa_supplicant on the command line to get full feedback. And once the card is running you maybe don't really need a graphical frontend at all. Al ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [gentoo-user] Still Struggling With Wireless 2010-08-17 8:36 ` David Abbott 2010-08-17 11:05 ` Elmar Hinz @ 2010-08-17 22:49 ` CJoeB 2010-08-20 8:24 ` Neil Bothwick 1 sibling, 1 reply; 18+ messages in thread From: CJoeB @ 2010-08-17 22:49 UTC (permalink / raw To: gentoo-user On 08/17/10 08:36, David Abbott wrote: > On Mon, Aug 16, 2010 at 9:45 PM, CJoeB <colleen.beamer@gmail.com> wrote: >> Hi, >> >> I'm biting the bullet here and asking for help. > I would suggest using Wicd [0] and disable all !net.* rc scripts > depending on the version of baselayout /openrc you have the file to > edit [1] will change. > [0] http://en.gentoo-wiki.com/wiki/Wicd > [1] http://gentoo-pr.org/node/17 More than anything, I am acknowledging this response. My understanding is that Wicd requires wpa-supplicant. I don't know that I'm ready to try to tackle the setup of wpa-supplicant - it's supposed to be harder (it looks harder from what I have read) to configure than wireless-tools and I'm not having very much success with that and the iwl3945 driver built into the kernel. Regards, Colleen -- Registered Linux User #411143 with the Linux Counter, http://counter.li.org ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [gentoo-user] Still Struggling With Wireless 2010-08-17 22:49 ` CJoeB @ 2010-08-20 8:24 ` Neil Bothwick 2010-08-20 12:11 ` Elmar Hinz 0 siblings, 1 reply; 18+ messages in thread From: Neil Bothwick @ 2010-08-20 8:24 UTC (permalink / raw To: gentoo-user [-- Attachment #1: Type: text/plain, Size: 653 bytes --] On Tue, 17 Aug 2010 22:49:23 +0000, CJoeB wrote: > More than anything, I am acknowledging this response. My understanding > is that Wicd requires wpa-supplicant. I don't know that I'm ready to > try to tackle the setup of wpa-supplicant - it's supposed to be harder > (it looks harder from what I have read) to configure than wireless-tools Wicd require wpa_supplicant because that's what it uses, not you. Wicd does all the hard work, you just give it the password etc. and let it get on with things. -- Neil Bothwick "We can't solve problems by using the same kind of thinking we used when we created them." (Albert Einstein) [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 198 bytes --] ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [gentoo-user] Still Struggling With Wireless 2010-08-20 8:24 ` Neil Bothwick @ 2010-08-20 12:11 ` Elmar Hinz 0 siblings, 0 replies; 18+ messages in thread From: Elmar Hinz @ 2010-08-20 12:11 UTC (permalink / raw To: gentoo-user > Wicd require wpa_supplicant because that's what it uses, not you. Wicd > does all the hard work, you just give it the password etc. and let it get > on with things. What is hard with wpa_supplicant? It is just three lines: wpa_passphrase <ssid> [passphrase] > /etc/wpa_supplicant.conf wpa_supplicant -Dwext -iwlan0 -c /etc/wpa_supplicant.conf -B dhcpcd But I already hinted to this. Al ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [gentoo-user] Still Struggling With Wireless 2010-08-17 1:45 [gentoo-user] Still Struggling With Wireless CJoeB 2010-08-17 1:55 ` Adam Carter 2010-08-17 8:36 ` David Abbott @ 2010-08-17 11:11 ` Elmar Hinz 2010-08-17 11:55 ` Adam Carter 2010-08-17 11:19 ` Elmar Hinz 3 siblings, 1 reply; 18+ messages in thread From: Elmar Hinz @ 2010-08-17 11:11 UTC (permalink / raw To: gentoo-user @ CJoeB It can be really hard. I needed days. There is more than one difficulty. For example I needed to set my laptop type in the kernel (asus_laptop). Without that, the card is not turned on at all, even if the card driver itself is loaded. Then you need to compile the password for wpa_supplicant with wpa_password. It doesn´t take the plain passphrase. So don´t be afraid to ask. wlan still is really hard stuff. Regards Al 2010/8/17 CJoeB <colleen.beamer@gmail.com>: > Hi, > > I'm biting the bullet here and asking for help. Yes! I've posted > before. And before anyone asks, I have read the responses to my > previous posts which helped little. I have read the documentation and > the wikis - ad nauseum. I'm still having problems with wireless. > > Things were so much easier when I could just use the ipw3945 driver. > However, I can't build that because it requires TKIP and CCMP, neither > of which I can find settings for in my active kernel, 2.6.34-gentoo-r1. > In one of the responses to my previous posts someone told me about the / > trick while in the kernel configuration to bring up a search menu. I > did this and the only reference I could find for TKIP was one related to > debugging. > > So, I'm left with trying to use the iwl3945 driver in the kernel. I > followed the wiki for setting this up and thought I had succeeded. I > got to the point where I was told to type the following: > ifconfig wlan0 up (this does activate the wireless led on my computer) > iwlist wlan0 scan > iwconfig wlan0 essid "network name" (where the network name is the > essid that has been set) > > When I got this to work, I thought I was home free despite the "kludgy" > way of getting wireless working. However, I rebooted and now, when I > type iwlist wlan0 scan I get told that scanning is not supported. Yes, > I have iwl3945-ucode installed and yes, it was recompiled after the > kernel was rebuilt. > > I have no idea what I'm doing wrong. Help would be appreciated. > > Regards, > > Colleen > > -- > > Registered Linux User #411143 with the Linux Counter, http://counter.li.org > > > > ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [gentoo-user] Still Struggling With Wireless 2010-08-17 11:11 ` Elmar Hinz @ 2010-08-17 11:55 ` Adam Carter 2010-08-17 16:09 ` Elmar Hinz 0 siblings, 1 reply; 18+ messages in thread From: Adam Carter @ 2010-08-17 11:55 UTC (permalink / raw To: gentoo-user [-- Attachment #1: Type: text/plain, Size: 234 bytes --] > > Then you need to compile the password for wpa_supplicant with wpa_password. > It doesn´t take the plain passphrase. > It does for me; For pre-shared keys psk="plainpassphrase" For .1x/EAP password="plainpassphrase" [-- Attachment #2: Type: text/html, Size: 453 bytes --] ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [gentoo-user] Still Struggling With Wireless 2010-08-17 11:55 ` Adam Carter @ 2010-08-17 16:09 ` Elmar Hinz 0 siblings, 0 replies; 18+ messages in thread From: Elmar Hinz @ 2010-08-17 16:09 UTC (permalink / raw To: gentoo-user >> Then you need to compile the password for wpa_supplicant with >> wpa_password. >> It doesn´t take the plain passphrase. > > It does for me; > > For pre-shared keys > psk="plainpassphrase" > > For .1x/EAP > password="plainpassphrase" > Interesting. I'll give it a try. By the way, what I really wanted to say is: Then you need to compile the password for wpa_supplicant with wpa_passphrase. It doesn´t take the plain password. ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [gentoo-user] Still Struggling With Wireless 2010-08-17 1:45 [gentoo-user] Still Struggling With Wireless CJoeB ` (2 preceding siblings ...) 2010-08-17 11:11 ` Elmar Hinz @ 2010-08-17 11:19 ` Elmar Hinz 3 siblings, 0 replies; 18+ messages in thread From: Elmar Hinz @ 2010-08-17 11:19 UTC (permalink / raw To: gentoo-user > When I got this to work, I thought I was home free despite the "kludgy" > way of getting wireless working. However, I rebooted and now, when I > type iwlist wlan0 scan I get told that scanning is not supported. Yes, > I have iwl3945-ucode installed and yes, it was recompiled after the > kernel was rebuilt. > Another hint: emerge rfkill rfkill list It will show you some state of the module, if the module is "hard blocked". That can be a reason for scanning not supported, a hint, that the card is not turned on at all. ^ permalink raw reply [flat|nested] 18+ messages in thread
end of thread, other threads:[~2010-08-20 15:48 UTC | newest] Thread overview: 18+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2010-08-17 1:45 [gentoo-user] Still Struggling With Wireless CJoeB 2010-08-17 1:55 ` Adam Carter 2010-08-17 10:55 ` Jake Moe 2010-08-17 23:04 ` CJoeB 2010-08-18 1:12 ` Jake Moe 2010-08-18 2:56 ` CJoeB 2010-08-18 18:50 ` Elmar Hinz 2010-08-18 21:47 ` Jake Moe 2010-08-20 15:44 ` Mick 2010-08-17 8:36 ` David Abbott 2010-08-17 11:05 ` Elmar Hinz 2010-08-17 22:49 ` CJoeB 2010-08-20 8:24 ` Neil Bothwick 2010-08-20 12:11 ` Elmar Hinz 2010-08-17 11:11 ` Elmar Hinz 2010-08-17 11:55 ` Adam Carter 2010-08-17 16:09 ` Elmar Hinz 2010-08-17 11:19 ` Elmar Hinz
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox