Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Wireless not working after going through the handbook
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
VerodaClient
n00b
n00b


Joined: 02 Jul 2010
Posts: 3

PostPosted: Fri Jul 02, 2010 2:43 pm    Post subject: Wireless not working after going through the handbook Reply with quote

Hello,

First off, sorry for the obviously newbie question but I'd really appreciate some help here..

Basically, while I was going through the Gentoo Handbook I used the handy script "net-setup" to get my wireless card going.
I was using the livecd and typed this command:

Code:
net-setup wlan0


and it worked a treat! Now, having finished the install I rebooted with the cd out but the wireless does not work.
Did I forget to save some settings or something? I have net.wlan0 in rc-update and I can see my wireless card if I type ipconfig wlan0 but nothing happens.
I tried running dhcpcd on wlan0 but it spits back:

Code:
wlan0: read_interface: No such file or directory


I know it CAN work as it worked fine during the install... My wireless card is an Intel(R) PRO/Wireless 3945ABG and so I think I need the module iwl3945.

I ran this command:

Code:
modprobe iwl3945


and it looked like it worked (didnt give an error) but still nothing...

Any ideas? Any help would be greatly appreciated!
Back to top
View user's profile Send private message
slackline
Veteran
Veteran


Joined: 01 Apr 2005
Posts: 1477
Location: /uk/sheffield

PostPosted: Fri Jul 02, 2010 2:53 pm    Post subject: Re: Wireless not working after going through the handbook Reply with quote

VerodaClient wrote:
Hello,

First off, sorry for the obviously newbie question but I'd really appreciate some help here..

Basically, while I was going through the Gentoo Handbook I used the handy script "net-setup" to get my wireless card going.
I was using the livecd and typed this command:

Code:
net-setup wlan0


and it worked a treat! Now, having finished the install I rebooted with the cd out but the wireless does not work.


LiveCD is not the best source for doing a fresh install, but it can work (and it sounds as though you've succeeded (to an extent).

VerodaClient wrote:

Did I forget to save some settings or something? I have net.wlan0 in rc-update and I can see my wireless card if I type ipconfig wlan0 but nothing happens.
I tried running dhcpcd on wlan0 but it spits back:

Code:
wlan0: read_interface: No such file or directory


I know it CAN work as it worked fine during the install... My wireless card is an Intel(R) PRO/Wireless 3945ABG and so I think I need the module iwl3945.


How is the card configured? The tools for configuring wireless cards are in the package net-wireless/wireless-tools. If you've not emerged that then do so and show the output of 'iwconfig' and then try configuring manually.
VerodaClient wrote:

I ran this command:

Code:
modprobe iwl3945


and it looked like it worked (didnt give an error) but still nothing...


You can check to see what modules are loaded using 'lsmod'

Long term I'd recommend considering using net-misc/wicd to manage wireless (and wired) interfaces.

slack
_________________
"Science is what we understand well enough to explain to a computer.  Art is everything else we do." - Donald Knuth
Back to top
View user's profile Send private message
VerodaClient
n00b
n00b


Joined: 02 Jul 2010
Posts: 3

PostPosted: Fri Jul 02, 2010 3:13 pm    Post subject: Reply with quote

Thanks for the quick reply Slack!

I installed wireless-tools there and tried a few things (set the ESSID to be Netgear and turned of key as there is none on it for troubleshooting)

If I run iwconfig wlan0 get:

Code:


wlan0 IEEE 802.11abg ESSID:"NETGEAR"
Mode: Managed Access Point: Not Associated Tx-Power=0 dBm
Retry long limit:7 RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off



I looked in lsmod but am not sure what I'm looking for in there... sorry I'm not better at this..

I'll emeger wicd now and see if that helps at all. Thanks again!
Back to top
View user's profile Send private message
slackline
Veteran
Veteran


Joined: 01 Apr 2005
Posts: 1477
Location: /uk/sheffield

PostPosted: Fri Jul 02, 2010 3:22 pm    Post subject: Reply with quote

VerodaClient wrote:

If I run iwconfig wlan0 get:

Code:


wlan0 IEEE 802.11abg ESSID:"NETGEAR"
Mode: Managed Access Point: Not Associated Tx-Power=0 dBm
Retry long limit:7 RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off



Thats good and is indicative that the card is working.
VerodaClient wrote:

I looked in lsmod but am not sure what I'm looking for in there... sorry I'm not better at this..


You should see a list of modules that are loaded, check that the module you are trying to load (iwl3945) is actually listed.

VerodaClient wrote:


I'll emeger wicd now and see if that helps at all. Thanks again!


See Wiki article on installation and configuration
_________________
"Science is what we understand well enough to explain to a computer.  Art is everything else we do." - Donald Knuth
Back to top
View user's profile Send private message
VerodaClient
n00b
n00b


Joined: 02 Jul 2010
Posts: 3

PostPosted: Fri Jul 02, 2010 6:32 pm    Post subject: Reply with quote

So weird.. I emerged livecd-tools to get the net-setup script. Did a net-setup wlan0 and went through the same steps I had done before but no joy.

Weird
Back to top
View user's profile Send private message
cach0rr0
Bodhisattva
Bodhisattva


Joined: 13 Nov 2008
Posts: 4123
Location: Houston, Republic of Texas

PostPosted: Sat Jul 03, 2010 9:09 am    Post subject: Reply with quote

with a properly configured kernel, at the very least you should be able to fire off wpa_supplicant and dhcpcd by hand, and get connected

can you go to pastebin.com and put your kernel configuration there? Also I would like to see your lspci -n so i can see what driver you should be using.

If we can get you connected with wpa_supplicant and dhcpcd manually, then it is much easier to troubleshoot - in such a case wicd will be your friend, as it precludes you from needing to configure /etc/conf.d/net by hand. If you don't like wicd, it will still let us know your drivers and whatnot are in order, and that we simply need to help you configure your /etc/conf.d/net appropriately.
_________________
Lost configuring your system?
dump lspci -n here | see Pappy's guide | Link Stash
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum