How to connect to my WPA2 network?
- 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).
[url=http://puppylinux.org/wikka/HomePage]Consult Wikka[/url]
Use peppyy's [url=http://wellminded.com/puppy/pupsearch.html]puppysearch[/url]
Find packages in a snap and install using Puppy Package Manager (Menu).
[url=http://puppylinux.org/wikka/HomePage]Consult Wikka[/url]
Use peppyy's [url=http://wellminded.com/puppy/pupsearch.html]puppysearch[/url]
-
- 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 601 times
-
- Posts: 5464
- Joined: Fri 10 Jun 2005, 05:12
- Location: Australia
OK, there's your problem. Prism2.5/3 devices need to have station firmware 1.7.0 or higher, in order for WPA to work with the hostap family of Linux drivers. This is documented in the hostap/wpa_supplicant source code, fromAgentBlair wrote:Code: Select all
STAID: id=0x001f v1.3.5 (station firmware)
http://hostap.epitest.fi/
The solution is to upgrade your wifi device's onboard (non-volatile) firmware.
This is possible while running Linux by using the "prism2_srec" utility in combination with the hostap_cs driver, but sadly this function of the driver is not enabled by default in Puppy kernels.
I can provide the suitably upgraded hostap_cs driver, but unfortunately I cannot provide it for Puppy 4.3 because I recently trashed my 4.3 development installation.
EDIT May 22 2011:
Prism2 firmware flashing instructions under Puppy 5.1/5.2 now available here
http://www.murga-linux.com/puppy/viewto ... 677#525677
Last edited by tempestuous on Sun 22 May 2011, 09:22, edited 2 times in total.
-
- Posts: 5464
- Joined: Fri 10 Jun 2005, 05:12
- Location: Australia
If the Linux firmware upgrade process I just described sounds too arduous, you could consider doing the firmware upgrade under Windows. Go to this site -
http://linux.junsun.net/intersil-prism/
and refer to the section "Window-based flashing steps".
http://linux.junsun.net/intersil-prism/
and refer to the section "Window-based flashing steps".
-
- Posts: 23
- Joined: Wed 06 May 2009, 07:19
I did the steps provided under windows (on a seperate HDD) and did successfully upgrade everything, however I am still unable to connect. I get the red alert message on the top of my screen. The ram on this laptop is at 128mb and perhaps this might be the issue.
I get the error message: 'Output of wpa_cli -i wlan0 status'
Failed to connect to wpa_supplicant - wpa_ctrl_open: No such file or directory
And thank you for going out of your way to help me.
Code: Select all
NICID: id=0801b v1.0.0 (PRISM III PCMIA (SST parallel flash))
PRIID: id=0x0015 v1.1.1
STAID: id=0x001f v1.8.2 (station firmware)
Failed to connect to wpa_supplicant - wpa_ctrl_open: No such file or directory
And thank you for going out of your way to help me.
-
- Posts: 5464
- Joined: Fri 10 Jun 2005, 05:12
- Location: Australia
You have made some progress.
On the subject of the "-D" parameter, don't use Puppy 5.1! I just discovered its version of wpa_supplicant was not built with hostap support!
That's clearly an error message generated by the Network Wizard. I have never been comfortable with the WPA configuration commands used in the Network Wizard, so I suggest you run the manual wpa_supplicant commands we discussed earlier. If it fails, I suggest you then replace "-D hostap" with "-D wext" as an experiment.AgentBlair wrote:I get the error message: 'Output of wpa_cli -i wlan0 status'
Failed to connect to wpa_supplicant - wpa_ctrl_open: No such file or directory
On the subject of the "-D" parameter, don't use Puppy 5.1! I just discovered its version of wpa_supplicant was not built with hostap support!
-
- Posts: 23
- Joined: Wed 06 May 2009, 07:19
All right it works! I am finally connected to my network! : D
Edited wpa_supplicant2.conf
Then did Auto-DHCP.
Thanks guys again.
Edited wpa_supplicant2.conf
Code: Select all
ifconfig wlan0 up
rm /var/run/wpa_supplicant/*
wpa_supplicant -i wlan0 -D wext -c /etc/network-wizard/wireless/wpa_profiles/wpa_supplicant2.conf -dd
-B
Thanks guys again.
-
- Posts: 5464
- Joined: Fri 10 Jun 2005, 05:12
- Location: Australia
-
- Posts: 23
- Joined: Wed 06 May 2009, 07:19
I can't 100% confirm it fails with -D hostap, but I can confirm with certainty that -D wext worked.tempestuous wrote:That's great.
But just to check - it fails with "-D hostap"
but is successful with "-D wext"?
If this is the case, I can revise the Network Wizard accordingly.
When I rebooted it seems my settings went away so I had to re-enter the commands, but the wpa_supplicant2.conf had what I edited it to be. It may have been a bad save, not exactly sure.
- Béèm
- Posts: 11763
- Joined: Wed 22 Nov 2006, 00:47
- Location: Brussels IBM Thinkpad R40, 256MB, 20GB, WiFi ipw2100. Frugal Lin'N'Win
Glad you got it working, but one thing worries me.
You did specify having 128MB ram?
Then you need a swap file/partition so you have in total 512MB.
You did specify having 128MB ram?
Then you need a swap file/partition so you have in total 512MB.
Time savers:
Find packages in a snap and install using Puppy Package Manager (Menu).
[url=http://puppylinux.org/wikka/HomePage]Consult Wikka[/url]
Use peppyy's [url=http://wellminded.com/puppy/pupsearch.html]puppysearch[/url]
Find packages in a snap and install using Puppy Package Manager (Menu).
[url=http://puppylinux.org/wikka/HomePage]Consult Wikka[/url]
Use peppyy's [url=http://wellminded.com/puppy/pupsearch.html]puppysearch[/url]
-
- Posts: 23
- Joined: Wed 06 May 2009, 07:19
The swap partition is an "arbitrary" amount. Less or more may be needed depending on how many apps you are trying to run at once,AgentBlair wrote:Okay, I picked half that, my mistake.Béèm wrote:Glad you got it working, but one thing worries me.
You did specify having 128MB ram?
Then you need a swap file/partition so you have in total 512MB.
and what kind of install (full or frugal) you are using.
It takes 256mb of "real" ram to eject the live cd when it's booted.
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
-
- Posts: 5464
- Joined: Fri 10 Jun 2005, 05:12
- Location: Australia
Yes, that's to be expected, but it can be fixed ...AgentBlair wrote:... it won't connect at all until I do it manually.
I just posted a WPA-configuration hotfix for Puppy 4.3 here
http://www.murga-linux.com/puppy/viewto ... 838#479838
-
- Posts: 23
- Joined: Wed 06 May 2009, 07:19
I upgraded to 431, it seems I was using 430. Here are the commands that worked with 431:
wext did not work, but hostap did.
I rebooted and was unable to automatically connect to the internet even after installing the package.
Code: Select all
ifconfig wlan0 up
rm /var/run/wpa_supplicant/*
wpa_supplicant -i wlan0 -D hostap -c /etc/network-wizard/wireless/wpa_profiles/wpa_supplicant2.conf -dd
-B
I rebooted and was unable to automatically connect to the internet even after installing the package.
-
- Posts: 23
- Joined: Wed 06 May 2009, 07:19
Doesn't work for me. I still have to do everything manually.rjbrewer wrote:Sometimes you can right click 'connect' icon, and click 'autoconnect'
after losing the connection.
Ok nevermind it worked, it's just very slow I have to right click and do it a few times before it goes. Otherwise it won't work.