How to connect to my WPA2 network?
-
- Posts: 23
- Joined: Wed 06 May 2009, 07:19
How to connect to my WPA2 network?
I've successfully fully installed Puppy on a CF card inserted in an IDE adapter but ran into trouble with the my wireless card to connect to the internet. Now the CF card is wiped out and I've tried multiple versions of puppy with live CD. I am trying to connect to my WPA2 wireless network but it keeps successfully connecting to my neighbor's open network which I do not want it to do. No matter what I try it refuses to connect to my home network. A year ago I was able to connect to my WEP network. With pup-431.iso, here is what I run into:
Then when I click "Use this Profile" I get this:
then:
Details:
I know the wireless card works. It's a Linksys PCMCIA card (WPC11, version 1, 2.5, and 3!) I've tried 3 versions of the WPC11 and none of them could connect. So it's not broken hardware. It may be the driver that came with puppy that isn't so great with WPA2. Would using a windows driver be of any help? I'm stuck. Help would be appreciated thanks.
Then when I click "Use this Profile" I get this:
then:
Details:
I know the wireless card works. It's a Linksys PCMCIA card (WPC11, version 1, 2.5, and 3!) I've tried 3 versions of the WPC11 and none of them could connect. So it's not broken hardware. It may be the driver that came with puppy that isn't so great with WPA2. Would using a windows driver be of any help? I'm stuck. Help would be appreciated thanks.
-
- Posts: 23
- Joined: Wed 06 May 2009, 07:19
Was trying the Ndiswrapper and 2 .INF files in the drivers provided by Linksys: http://homesupport.cisco.com/en-us/wireless/lbc/WPC11
None of which worked using None interface.
None of which worked using None interface.
-
- Posts: 23
- Joined: Wed 06 May 2009, 07:19
Yes I have accessed the exact same WPA2 network using Windows XP.rjbrewer wrote:I believe those are 802.11b cards.
Have you actually been able to use them with wpa encryption
before?
What modules are being loaded when you run the connection
wizard?
It had Wlan0, now it's eth0. I'm not sure how to get it back now.
WlanO and eth0 are the interfaces, which can change with differentAgentBlair wrote:Yes I have accessed the exact same WPA2 network using Windows XP.rjbrewer wrote:I believe those are 802.11b cards.
Have you actually been able to use them with wpa encryption
before?
What modules are being loaded when you run the connection
wizard?
It had Wlan0, now it's eth0. I'm not sure how to get it back now.
versions.
The wizard also shows module and device description.
I can't find much about wpa with those cards.
A little more Puppy info;
http://www.murga-linux.com/puppy/viewto ... 336#159336
Inspiron 700m, Pent.M 1.6Ghz, 1Gb ram.
Msi Wind U100, N270 1.6>2.0Ghz, 1.5Gb ram.
Eeepc 8g 701, 900Mhz, 1Gb ram.
Full installs
-
- Posts: 23
- Joined: Wed 06 May 2009, 07:19
I had a hard time understanding that. I did follow the directions and typed in the commands in the console but it wasn't any help.rjbrewer wrote:WlanO and eth0 are the interfaces, which can change with differentAgentBlair wrote:Yes I have accessed the exact same WPA2 network using Windows XP.rjbrewer wrote:I believe those are 802.11b cards.
Have you actually been able to use them with wpa encryption
before?
What modules are being loaded when you run the connection
wizard?
It had Wlan0, now it's eth0. I'm not sure how to get it back now.
versions.
The wizard also shows module and device description.
I can't find much about wpa with those cards.
A little more Puppy info;
http://www.murga-linux.com/puppy/viewto ... 336#159336
-
- Posts: 5464
- Joined: Fri 10 Jun 2005, 05:12
- Location: Australia
AgentBlair,
as rjbrewer has said, it's important that you tell us which kernel module Puppy has loaded, and so far you haven't.
The Network Wizard will clearly list which module is loaded for each network interface.
All 3 of your wifi devices contain the Intersil Prism chipset, which historically has been supported by several different Linux drivers (modules). In modern Puppies there are likely to be 2 different modules competing for your wifi device: orinoco_cs and hostap_cs.
Puppy should load the more modern hostap_cs, which is WPA-compatible, but maybe Puppy is loading orinoco_cs?
You need to find out.
as rjbrewer has said, it's important that you tell us which kernel module Puppy has loaded, and so far you haven't.
The Network Wizard will clearly list which module is loaded for each network interface.
All 3 of your wifi devices contain the Intersil Prism chipset, which historically has been supported by several different Linux drivers (modules). In modern Puppies there are likely to be 2 different modules competing for your wifi device: orinoco_cs and hostap_cs.
Puppy should load the more modern hostap_cs, which is WPA-compatible, but maybe Puppy is loading orinoco_cs?
You need to find out.
-
- Posts: 23
- Joined: Wed 06 May 2009, 07:19
It loads orinoco_cs module. I've tried hostap_cs but I get the no new interfaces were detected message and asks to unload. Is there a way to force this to hostap_cs?tempestuous wrote:AgentBlair,
as rjbrewer has said, it's important that you tell us which kernel module Puppy has loaded, and so far you haven't.
The Network Wizard will clearly list which module is loaded for each network interface.
All 3 of your wifi devices contain the Intersil Prism chipset, which historically has been supported by several different Linux drivers (modules). In modern Puppies there are likely to be 2 different modules competing for your wifi device: orinoco_cs and hostap_cs.
Puppy should load the more modern hostap_cs, which is WPA-compatible, but maybe Puppy is loading orinoco_cs?
You need to find out.
-
- Posts: 23
- Joined: Wed 06 May 2009, 07:19
Code: Select all
modprobe hostap
Code: Select all
ifconfig eth0 up
Code: Select all
rm /var/run/wpa_supplicant/*
Code: Select all
wpa_supplicant -i eth0 -D hostap -c /etc/network-wizard/wireless/wpa_profiles/wpa_supplicant2.conf -dd
-
- Posts: 5464
- Joined: Fri 10 Jun 2005, 05:12
- Location: Australia
You cannot successfully load the hostap_cs module until the orinoco_cs module is unloaded (or disabled).AgentBlair wrote:I've tried hostap_cs but I get the no new interfaces were detected message and asks to unload.
There are several possible ways to achieve this:
i) open /etc/rc.d/MODULESCONFIG in Geany. Near the bottom you will see a long line which starts with
Code: Select all
PREFLIST=
Code: Select all
orinoco_cs:hostap_cs '
Save. Reboot.
Once rebooted, run the Network Wizard and hopefully Puppy will have automatically loaded the hostap_cs module instead of the orinoco_cs module.
ii) If not, you will need to take more drastic measures -
Use ROX to browse into /lib/modules/2.6.30.5/kernel/drivers/net/wireless/orinoco/
and delete "orinoco_cs.ko"
Now run this command -
Code: Select all
depmod-FULL
-
- Posts: 23
- Joined: Wed 06 May 2009, 07:19
-
- Posts: 5464
- Joined: Fri 10 Jun 2005, 05:12
- Location: Australia
A few things to try
i) in your wifi router's configuration, check that "SSID Broadcast" is enabled.
Puppy often doesn't play well with hidden SSID's.
ii) check to accurately determine whether your router is set for WPA, or WPA2. If one is failing, try the other.
iii) if your SSID or password has a space or special character in it, when configuring the Network Wizard make sure you enclose the SSID/password with quotation marks.
i) in your wifi router's configuration, check that "SSID Broadcast" is enabled.
Puppy often doesn't play well with hidden SSID's.
ii) check to accurately determine whether your router is set for WPA, or WPA2. If one is failing, try the other.
iii) if your SSID or password has a space or special character in it, when configuring the Network Wizard make sure you enclose the SSID/password with quotation marks.
-
- Posts: 23
- Joined: Wed 06 May 2009, 07:19
-
- Posts: 5464
- Joined: Fri 10 Jun 2005, 05:12
- Location: Australia
OK, go back to manual commands.
So the correct command should be -
and obviously your SSID and PSK need to be saved in the wpa_supplicant2.conf file.
"eth0" ? Your most recent screenshot indicates that the correct interface (created by the hostap_cs driver) is "wlan0".AgentBlair wrote:Code: Select all
wpa_supplicant -i eth0 -D hostap -c /etc/network-wizard/wireless/wpa_profiles/wpa_supplicant2.conf -dd
So the correct command should be -
Code: Select all
wpa_supplicant -i wlan0 -D hostap -c /etc/network-wizard/wireless/wpa_profiles/wpa_supplicant2.conf -dd
-
- Posts: 23
- Joined: Wed 06 May 2009, 07:19
I entered this but it runs in a loop:tempestuous wrote:OK, go back to manual commands."eth0" ? Your most recent screenshot indicates that the correct interface (created by the hostap_cs driver) is "wlan0".AgentBlair wrote:Code: Select all
wpa_supplicant -i eth0 -D hostap -c /etc/network-wizard/wireless/wpa_profiles/wpa_supplicant2.conf -dd
So the correct command should be -and obviously your SSID and PSK need to be saved in the wpa_supplicant2.conf file.Code: Select all
wpa_supplicant -i wlan0 -D hostap -c /etc/network-wizard/wireless/wpa_profiles/wpa_supplicant2.conf -dd
Code: Select all
modprobe hostap
Code: Select all
ifconfig wlan0 up
Code: Select all
rm /var/run/wpa_supplicant/*
Code: Select all
wpa_supplicant -i wlan0 -D hostap -c /etc/network-wizard/wireless/wpa_profiles/wpa_supplicant2.conf -dd
- Béèm
- Posts: 11763
- Joined: Wed 22 Nov 2006, 00:47
- Location: Brussels IBM Thinkpad R40, 256MB, 20GB, WiFi ipw2100. Frugal Lin'N'Win
Your story is really confusing.
You said you had a FULL on a CF card.
Then the CF card is wiped.
Then you speak of multiple puppy's on CD.
Then you speak of 4.3.1.ISO
Then you speak of eth0
Then you speak of wlan0.
I think you haven't mentioned other things either.
Please start to specify what your installation/way of operating is now and maybe people understand and can give advice.
You said you had a FULL on a CF card.
Then the CF card is wiped.
Then you speak of multiple puppy's on CD.
Then you speak of 4.3.1.ISO
Then you speak of eth0
Then you speak of wlan0.
I think you haven't mentioned other things either.
Please start to specify what your installation/way of operating is now and maybe people understand and can give advice.
Time savers:
Find packages in a snap and install using Puppy Package Manager (Menu).
Consult Wikka
Use peppyy's puppysearch
Find packages in a snap and install using Puppy Package Manager (Menu).
Consult Wikka
Use peppyy's puppysearch
-
- Posts: 23
- Joined: Wed 06 May 2009, 07:19
All is true, in order. I had a full install on CF of 431, then wiped it out after it acted all funny on me. Then I tried multiple versions of puppy to see if they work with my wireless card. None did. I reinstalled 4.3.1, somehow reverted to eth0, and older driver and that never worked, I then reinstalled puppy again which defaulted back to wlan0.Béèm wrote:Your story is really confusing.
You said you had a FULL on a CF card.
Then the CF card is wiped.
Then you speak of multiple puppy's on CD.
Then you speak of 4.3.1.ISO
Then you speak of eth0
Then you speak of wlan0.
I think you haven't mentioned other things either.
Please start to specify what your installation/way of operating is now and maybe people understand and can give advice.
At the moment I am running on a live CD, with the original hard disk drive with the Windows XP contents on it so I can find the .INF and possibly use that with the Ndiswrapper. So far I cannot find the .INF file.
-
- Posts: 5464
- Joined: Fri 10 Jun 2005, 05:12
- Location: Australia
Now you need to do some troubleshooting.
First, I recommend against this -
1. Run the "dmesg" command, and see if there are any errors relating to how the hostap_cs driver loaded, particularly relating to firmware.
If so, please report.
2. If there are no errors from dmesg, disable all encryption at your wifi router, and see if you can connect under Puppy in this unencrypted state, using the Network Wizard. If this works, it proves the hostap_cs driver is working in a basic sense.
3. Run this command to query the version of onboard firmware contained in your WPC11 device -
Please report, especially the STAID (station firmware) version.
First, I recommend against this -
Puppy should have automatically loaded the hostap_cs (plus hostap) module at boot up, and any attempt to load it again may corrupt the network interface.AgentBlair wrote:Code: Select all
modprobe hostap
1. Run the "dmesg" command, and see if there are any errors relating to how the hostap_cs driver loaded, particularly relating to firmware.
If so, please report.
2. If there are no errors from dmesg, disable all encryption at your wifi router, and see if you can connect under Puppy in this unencrypted state, using the Network Wizard. If this works, it proves the hostap_cs driver is working in a basic sense.
3. Run this command to query the version of onboard firmware contained in your WPC11 device -
Code: Select all
hostap_diag wlan0
-
- Posts: 23
- Joined: Wed 06 May 2009, 07:19
There were errors running puppy via live CD with a blank hard drive after I typed "dmesg". I'll post the whole log tomorrow.tempestuous wrote:Now you need to do some troubleshooting.
First, I recommend against this -Puppy should have automatically loaded the hostap_cs (plus hostap) module at boot up, and any attempt to load it again may corrupt the network interface.AgentBlair wrote:Code: Select all
modprobe hostap
1. Run the "dmesg" command, and see if there are any errors relating to how the hostap_cs driver loaded, particularly relating to firmware.
If so, please report.
2. If there are no errors from dmesg, disable all encryption at your wifi router, and see if you can connect under Puppy in this unencrypted state, using the Network Wizard. If this works, it proves the hostap_cs driver is working in a basic sense.
3. Run this command to query the version of onboard firmware contained in your WPC11 device -Please report, especially the STAID (station firmware) version.Code: Select all
hostap_diag wlan0
-
- Posts: 23
- Joined: Wed 06 May 2009, 07:19
Okay here it is including the hostap_diag wlan0 command.
I was also able to connect to an unencrypted network.
I was also able to connect to an unencrypted network.
- Attachments
-
- dmesg01.zip
- (4.64 KiB) Downloaded 606 times