Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Wireless Driver Is Not Working
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
lcR0N05
n00b
n00b


Joined: 25 Jun 2013
Posts: 7

PostPosted: Wed Jun 26, 2013 2:05 pm    Post subject: Wireless Driver Is Not Working Reply with quote

I have looked through eight+ threads on the forums, all of them have different answers, and none of them have worked (most of them outdated).

I have a an Intel PRO/Wireless 3945ABG, and have also tried using a Linksys Network PC Card WPC11. My Kernel is the latest one directly available through a Gentoo installation, and was compiled with genkernel. I have tried using wpa_supplicant, but when I try to activate my wifi with it, it points to /etc/wpa_supplicant/wpa_supplicant.conf which doesn't exist. When I reload the iwl3945 driver with modprobe, it changes my card's name from wlp12s0 to wlan0, which tells me it's doing something, I just don't know what yet.

I can get internet to work if I take the Ethernet cable from my Desktop and plug it in to the laptop (Dell Latitude D620). I'd show the results of some code, but I don't know how to get my laptop's results on the forum, since I'm currently using my Desktop PC. Any suggestions?


Last edited by lcR0N05 on Thu Jun 27, 2013 12:03 am; edited 1 time in total
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 9601
Location: almost Mile High in the USA

PostPosted: Wed Jun 26, 2013 2:45 pm    Post subject: Reply with quote

You need to create a wpa_supplicant.conf which describes your network. You can use this for configuring WEP or WPA. You will need this if you have encryption on your access point - if you don't have encryption you should be able to connect without wpa_supplicant.

If you are using Gnome or some GUI environment you should look into installing NetworkManager and its corresponding applet, nm-applet, which configures wireless automatically for you. (I don't know about wicd, heard some people like it and some don't...) NetworkManager will work with wpa_supplicant for you and nm-applet gives a GUI to configure your wireless.
Back to top
View user's profile Send private message
lcR0N05
n00b
n00b


Joined: 25 Jun 2013
Posts: 7

PostPosted: Wed Jun 26, 2013 3:12 pm    Post subject: Reply with quote

I am using WEP, is there a guide or something that covers what should be in wpa_supplicant.conf for WEP? I saw one for WPA and tried to convert it for my needs, but when I did, nothing in the file showed up as being correct.
Back to top
View user's profile Send private message
_______0
Guru
Guru


Joined: 15 Oct 2012
Posts: 521

PostPosted: Wed Jun 26, 2013 5:08 pm    Post subject: Reply with quote

oh lord, could you format our post so it can be easily read?

Also provide some logs from dmesg and wpa_supplicant in verbose mode, perhaps lsusb (if the card is usb) lspci.
Back to top
View user's profile Send private message
lcR0N05
n00b
n00b


Joined: 25 Jun 2013
Posts: 7

PostPosted: Wed Jun 26, 2013 5:52 pm    Post subject: Reply with quote

? Sorry, my Post is showing up correctly on my PC, can you tell me what's not showing up right so I can fix it? Can you tell me how to post the results of dmesg and wpa_supplicant on here without me having to type everything?
Back to top
View user's profile Send private message
Ahenobarbi
Retired Dev
Retired Dev


Joined: 02 Apr 2009
Posts: 345
Location: Warsaw, PL

PostPosted: Wed Jun 26, 2013 7:37 pm    Post subject: Re: Wireless Driver Is Not Working Reply with quote

lcR0N05 wrote:
? Sorry, my Post is showing up correctly on my PC, can you tell me what's not showing up right so I can fix it? Can you tell me how to post the results of dmesg and wpa_supplicant on here without me having to type everything?


Break lines, like:

lcR0N05 wrote:
I have looked through eight+ threads on the forums, all of them have different answers, and none of them have worked (most of them outdated).

I have a an Intel PRO/Wireless 3945ABG, and have also tried using a Linksys Network PC Card WPC11. My Kernel is the latest one directly available through a Gentoo installation, and was compiled with genkernel. I have tried using wpa_supplicant, but when I try to activate my wifi with it, it points to /etc/wpa_supplicant/wpa_supplicant.conf which doesn't exist. When I reload the iwl3945 driver with modprobe, it changes my card's name from wlp12s0 to wlan0, which tells me it's doing something, I just don't know what yet.

I can get internet to work if I take the Ethernet cable from my Desktop and plug it in to the laptop (Dell Latitude D620). I'd show the results of some code, but I don't know how to get my laptop's results on the forum, since I'm currently using my Desktop PC. Any suggestions?


Do you plan to use any desktop environment (KDE, Gnome, ...)? Usually they come with connection manager to make your life easier.

Did you follow http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=4&chap=4 ?
Back to top
View user's profile Send private message
TomWij
Retired Dev
Retired Dev


Joined: 04 Jul 2012
Posts: 1553

PostPosted: Wed Jun 26, 2013 7:54 pm    Post subject: Reply with quote

lcR0N05 wrote:
I am using WEP, is there a guide or something that covers what should be in wpa_supplicant.conf for WEP? I saw one for WPA and tried to convert it for my needs, but when I did, nothing in the file showed up as being correct.


Code:
network={
    ssid="YourWirelessSSIDHere"
    key_mgmt=NONE
    wep_key0=YOURWEPKEY
}
Back to top
View user's profile Send private message
lcR0N05
n00b
n00b


Joined: 25 Jun 2013
Posts: 7

PostPosted: Thu Jun 27, 2013 12:02 am    Post subject: Reply with quote

Okay, I'll fix the spacing, thanks for telling me.

As for using wpa_supplicant.conf, I made the file but then when I ran "/etc/init.d/net.wlan0 start" it returned
Code:

* Bringing up interface wlan0
*    Starting wpa_supplicant on wlan0 ...
ioctl[SIOCSIWMODE]: Operation not supported
ioctl[SIOCSIWRANGE]: Operation not supported
ioctl[SIOCSIWMODE]: Operation not supported
ioctl[SIOCSIWAP]: Operation not supported
ioctl[SIOCSIWCODEEXT]: Operation not supported
ioctl[SIOCSIWCODE]: Operation not supported
ioctl[SIOCSIWCODEEXT]: Operation not supported
ioctl[SIOCSIWCODE]: Operation not supported
ioctl[SIOCSIWCODEEXT]: Operation not supported
ioctl[SIOCSIWCODE]: Operation not supported
ioctl[SIOCSIWCODEEXT]: Operation not supported
ioctl[SIOCSIWCODE]: Operation not supported
*    Starting wpa_cli on wlan0 ...
*    Backgrounding ...
* WARNING: net.wlan0 has started, but is inactive
Back to top
View user's profile Send private message
lcR0N05
n00b
n00b


Joined: 25 Jun 2013
Posts: 7

PostPosted: Thu Jun 27, 2013 12:08 am    Post subject: Reply with quote

I haven't yet installed a GUI, I'm planning on adding GNOME soon, I've got some resolution issues to fix first though. I haven't looked much into that yet though, since I would prefer to use WiFi instead of Ethernet to install the GUI, however if it makes both of those easier I may add the GUI first. I'm planning on doing a full reinstall where I compile the kernel without use of genkernel.

As far as the guide, I'll be honest I didn't get that far. When I came across the part in the guide where you set up the network the second time, I thought that it did this. I'll follow it and let you know if works for me. Thanks for pointing that out.
Back to top
View user's profile Send private message
lcR0N05
n00b
n00b


Joined: 25 Jun 2013
Posts: 7

PostPosted: Thu Jun 27, 2013 1:55 am    Post subject: Reply with quote

I received a pm that suggested using nm-applet. As I am already running portage to install Gnome, I was wondering if anyone could further verify that it works, that would be great. I'd try it, but even Gnome-Light has nearly 200 packages to install, it won't finish any time soon.
Back to top
View user's profile Send private message
666threesixes666
Veteran
Veteran


Joined: 31 May 2011
Posts: 1248
Location: 42.68n 85.41w

PostPosted: Thu Jun 27, 2013 2:26 am    Post subject: Reply with quote

ubuntu, and fedora both use network manager & nm-applet as defacto network management. take a look at the picture of it on wikipedia, im sure you've seen it before.

http://en.wikipedia.org/wiki/NetworkManager

i use nm-applet under xfce4. gnome is not required, networkmanager has a command line configuration utility also.
Back to top
View user's profile Send private message
TomWij
Retired Dev
Retired Dev


Joined: 04 Jul 2012
Posts: 1553

PostPosted: Thu Jun 27, 2013 6:25 am    Post subject: Reply with quote

lcR0N05 wrote:
Okay, I'll fix the spacing, thanks for telling me.

As for using wpa_supplicant.conf, I made the file but then when I ran "/etc/init.d/net.wlan0 start" it returned
Code:

* Bringing up interface wlan0
*    Starting wpa_supplicant on wlan0 ...
ioctl[SIOCSIWMODE]: Operation not supported
ioctl[SIOCSIWRANGE]: Operation not supported
ioctl[SIOCSIWMODE]: Operation not supported
ioctl[SIOCSIWAP]: Operation not supported
ioctl[SIOCSIWCODEEXT]: Operation not supported
ioctl[SIOCSIWCODE]: Operation not supported
ioctl[SIOCSIWCODEEXT]: Operation not supported
ioctl[SIOCSIWCODE]: Operation not supported
ioctl[SIOCSIWCODEEXT]: Operation not supported
ioctl[SIOCSIWCODE]: Operation not supported
ioctl[SIOCSIWCODEEXT]: Operation not supported
ioctl[SIOCSIWCODE]: Operation not supported
*    Starting wpa_cli on wlan0 ...
*    Backgrounding ...
* WARNING: net.wlan0 has started, but is inactive


You need to 1) build cf80211 support into the kernel, 2) use nl80211 as driver instead of default / wext and 3) use net-wireless/iw instead of net-wireless/wireless-tools.

http://wireless.kernel.org/en/developers/Documentation/nl80211
http://wireless.kernel.org/en/users/Documentation/iw
Back to top
View user's profile Send private message
lcR0N05
n00b
n00b


Joined: 25 Jun 2013
Posts: 7

PostPosted: Wed Jul 10, 2013 8:28 pm    Post subject: Reply with quote

It's been a while since I've been on sorry, I've switched to Sabayon Linux for now. I'm thinking I'll give it a couple months or so and I'll try Gentoo again. Thanks for trying to help, I think the best solution would have been to get more recent hardware, but that isn't a possibility at the moment.
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