12 August 2014, 04:22 | #1 |
Returning fan!
Join Date: Jan 2011
Location: Montréal, QC, Canada
Posts: 1,434
|
Problem Using (Even) WEP with EasyNet
Hi all!
Finally, I am back home with some time to fiddle with my upgraded Amiga (thanks AmigaKit! ) but I am having a surprising problem: after installing Prism2v2 and Miami, I can only connect to my router iff it is open! As soon as I put some kind of password, either using WEP or WPA... I cannot connect anymore... For examples:
Code:
network={ ssid="SnowSnow" key_mgmt=NONE }
Code:
network={ ssid="SnowSnow" key_mgmt=NONE wep_key0="WhatIHaveDone" wep_tx_keyidx=0 } Here is my card information: I bought it on the 19 July, 2013, it is printed "AVAYA" on the up-side and on the down-side, it says:
Thanks in advance for any advice! |
12 August 2014, 10:08 | #2 |
Registered User
Join Date: Aug 2004
Location: www.amigakit.com
Posts: 2,015
|
Hi
You have put in the title that you have problems with EasyNet, but then you state you are not using EasyNet, but Miami. If you are going to use the EasyNet software with Prism2v2, then follow the step-by-step guide we have put together to help users here: http://www.amigakit.co.uk/support/easynet_wireless.php If you need help on any part of our guide, then please ask. |
13 August 2014, 01:19 | #3 | |
Registered User
Join Date: Sep 2013
Location: Ireland
Posts: 67
|
Quote:
|
|
14 August 2014, 02:47 | #4 |
Returning fan!
Join Date: Jan 2011
Location: Montréal, QC, Canada
Posts: 1,434
|
Hi amigakit.com and ncafferkey!
Thanks for your quick replies! Sorry for overlooking EasyNet: I installed today EasyNet from the CD that came with the card, I followed step-by-step the instructions but still I am not able to connect. The Wireless.prefs file now is: Code:
# EasyNet Wireless Settings <BEGIN> network={ ssid="SnowSnow" key_mgmt=WPA-PSK psk="<MY PASS WORD>" mode=0 } # EasyNet Wireless Settings <END> Code:
PING 192.168.0.1 What is it that I am doing wrong? PS. Works well without any encryption and password, i.e., as "open system". PPS. I tired updating EasyNet using LiveUpdate after setting my router as "open system" and connecting to it with the following versions but LiveUpdate always fail with "Update Error! Please try to download again":
Last edited by tygre; 14 August 2014 at 16:39. Reason: Some more details |
15 August 2014, 02:54 | #5 |
Registered User
Join Date: Sep 2013
Location: Ireland
Posts: 67
|
|
15 August 2014, 09:14 | #6 |
old bearded fool
Join Date: Jan 2010
Location: Bangkok
Age: 56
Posts: 775
|
tygre,
I think the problem in this case is that your router accepts WiFi settings with AES involved which confuses the dated PCMCIA WiFi card during protocol handshake, you need WPA TKIP/PSK only ("WPA-Personnel" / TKIP), disable WPA2 and AES if possible. Your router also need to support 802.11b (11mbit WiFi). For test purposes you can launch the prism2v2 driver manually from Amiga shell like this: Code:
WirelessManager prism2.device VERBOSE The advantage of this specific PCMCIA WiFi card; PC24E-H-FC (aka Orinoco Silver) is that the WPA TKIP/PSK encryption is done on-the-fly in hardware, so you should try to use that combination in the router to offload your Amiga CPU. There are some pitfalls worth mentioning: * If you at any point tried to install AmiTCP it will (without notice) overwrite the prism2.device file with an older version making future attempts fail, if that happened to you then install the prism2v2 driver again (maybe a reinstall of EasyNet does that also, not sure). * When you set a new "clear text" password the first time, the prism2v2 driver will calculate the PSK hex key, this takes long time (a minute or two), so be patient before starting to ping hosts. Second boot/load will be much quicker when the HEX key is already saved in the config file. Here is my slightly obfuscated wireless.prefs file (using exactly the same model of WiFi card as OP). Code:
network={ ssid="myrouter" scan_ssid=1 #psk="foofoo" psk=64f708a87be477f3c0689e7490d141b95126edf986e6fc1a1cf7f1bca5692600 } Use this wireless.prefs if you want to try my settings: Code:
network={ ssid="myrouter" scan_ssid=1 psk="foofoo" } Personally I use AmiTCP v3.02b2 to get more control rather than easy install. If you want to try there are some good instructions here, just remember the pitfall with the prism2.device file being overwritten, you need to reinstall the driver after installing AmiTCP. Last edited by modrobert; 15 August 2014 at 10:07. Reason: spelling |
15 August 2014, 22:24 | #7 |
Returning fan!
Join Date: Jan 2011
Location: Montréal, QC, Canada
Posts: 1,434
|
@ncafferkey
I read you loud and clear but before I bring in older routers (if I can find some), set them up, and tried them one by one, I would rather rule out that I have misconfigured something @modrobert Thanks a lot for your help! Following your advice, I reinstalled prism2v2 on top of the one that was installed by EasyNet, then I tried the WirelessManager command in verbose mode and found something interesting: after lots of steps, my card and router reach the 4WAY_HANDSHAKE -> 4WAY_HANDSHAKE state! But then, for some reasons, the hand-shake fails. Here is an excerpt from the complete log file: Code:
State: 4WAY_HANDSHAKE -> 4WAY_HANDSHAKE WPA: RX message 1 of 4-Way Handshake from 48:5b:39:42:60:76 (ver=1) WPA: PTK derivation - A1=00:02:2d:a4:39:7d A2=48:5b:39:42:60:76 WPA: PMK - hexdump(len=32): [REMOVED] WPA: PTK - hexdump(len=64): [REMOVED] WPA: WPA IE for msg 2/4 - hexdump(len=24): dd 16 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2 02 01 00 00 50 f2 02 WPA: Sending EAPOL-Key 2/4 WPA: TX EAPOL-Key - hexdump(len=123): 01 03 00 77 fe 01 09 00 20 00 00 00 00 00 00 00 07 a6 e8 94 3e 33 84 01 3a 7f df 2c f5 8a fc 18 72 57 d8 c5 ae e3 74 30 a9 2e cf 5c 66 3a ec 49 e2 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 5e 9d a8 3a 23 17 7f 89 8c 3f 90 fd 2e 2f 0c e6 00 18 dd 16 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2 02 01 00 00 50 f2 02 Disassociation notification WPA: 4-Way Handshake failed - pre-shared key may be incorrect Do you think that I am in the right track? Or did I miss something else before the hand-shake? (I attach the complete log file...) Thanks in advance! PS. I will go now on to do more experiments with WEP and clear-text passphrase... Last edited by tygre; 15 August 2014 at 22:33. |
16 August 2014, 04:35 | #8 |
old bearded fool
Join Date: Jan 2010
Location: Bangkok
Age: 56
Posts: 775
|
tygre,
Avoid using WEP, it is pretty much like running the WiFi network "open" security wise. As mentioned before, you need to configure WPA TKIP/PSK ("WPA-Personnel" / TKIP) in the router, disable WPA2 and AES, do *NOT* accept both. After checking your log, I had similar problems with failed handshake when configuring my router to "Enable WPA/WPA2", after changing to "Enable WPA Only" it worked fine. |
16 August 2014, 14:40 | #9 |
Registered User
Join Date: Aug 2004
Location: www.amigakit.com
Posts: 2,015
|
@tygre
The Prism2v2 we supplied is the latest version- EasyNet automatically configures it correctly and checks for version numbers. There is no need to install another Prism2v2 over EasyNet as it could cause configuration problems ! Are you using WPA-TKIP now in your router ? To check your configuration go to the Help menu in Easynet and select Network Configuration option |
16 August 2014, 22:19 | #10 |
Returning fan!
Join Date: Jan 2011
Location: Montréal, QC, Canada
Posts: 1,434
|
@modrobert
Unfortunately, in the router ASUS WL-500gp v2, I could not find any way to disable WPA and AES. As far as I can tell, I must choose either "Shared Key" (WEP), "WPA-Personnal" and TKIP, or "WPA2-Personal" and AES.There is also "WPA-Auto-Personal" and the same ones with "Enterprise" instead of "Personal". Any idea how I could only enable WPA? @amigakit.com I reinstalled my Workbench and reinstall from scratch NetCPM010 and EasyNet using the disk and CD-Rom and following the instructions coming with the card. I attach the log when selecting "Help -> Configuration Help.." in EasyNet. It says that it uses prism2.device version 1.7. Then, I installed prism2v2, which installs prism2.device version 2.5. I attach the log from EasyNet as well as the log from C:WirelessManager prism2.device VERBOSE. (In this specific log, I tried to use WEP.) No matter if I try WEP or WPA, I cannot connect. When using WPA/TKIP, the WirelessManager log file complains that WPA: 4-Way Handshake failed - pre-shared key may be incorrect. Reading before this line, I noticed the line EAPOL: Supplicant port status: Unauthorized, which could mean that there could be a misunderstanding between the router and the card... but how could I resolve it? Besides, others say that the problem could be a frequency problem, when using "ht" (which I guess means "high throughput") but not when using 2.4Ghz or 5Ghz. How can I set the frequency in my router? I could not find such an option... Finally, yet others say that my problem could come from the encoding of the passkey but my passkey is just plain ASCII with some majuscules/minuscules, nothing weird. Any idea what is happening? It really does seem like a hardward compatibility problem, as ncafferkey pointed out earlier but am I missing something? Thanks in advance! |
16 August 2014, 22:23 | #11 |
Returning fan!
Join Date: Jan 2011
Location: Montréal, QC, Canada
Posts: 1,434
|
PS. Reading the log file in details, I noticed these lines:
Code:
WPA: PMK - hexdump(len=32): [REMOVED] WPA: PTK - hexdump(len=64): [REMOVED] WPA: WPA IE for msg 2/4 - hexdump(len=24): dd 16 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2 02 01 00 00 50 f2 02 WPA: Sending EAPOL-Key 2/4 WPA: TX EAPOL-Key - hexdump(len=123): 01 03 00 77 fe 01 09 00 20 00 00 00 00 00 00 00 07 a6 e8 94 3e 33 84 01 3a 7f df 2c f5 8a fc 18 72 57 d8 c5 ae e3 74 30 a9 2e cf 5c 66 3a ec 49 e2 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 5e 9d a8 3a 23 17 7f 89 8c 3f 90 fd 2e 2f 0c e6 00 18 dd 16 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2 02 01 00 00 50 f2 02 PPS. When selecting "Help -> EasyNet Log..", a requester says that "Cannot open RAM:T/EasyNet.log". PPPS. I am sure that the SSID of the router and of my config in the Amiga match by the way! Thank you all for your help! Last edited by tygre; 16 August 2014 at 22:29. |
17 August 2014, 06:35 | #12 |
old bearded fool
Join Date: Jan 2010
Location: Bangkok
Age: 56
Posts: 775
|
tygre,
1) Choose "'WPA-Personnal' and TKIP". 2) Set a new clear text password in your router and System:Prefs/Env-Archive/Sys/Wireless.prefs (remove the existing hex PSK key and uncomment the PSK text password) 3) Reboot the Amiga. 4) Start the network and wait for two minutes (yes, it can take that long with new PSK text password, it will be fast next time with PSK hex key). 5) Test now, ping local hosts (eg. default gateway) on your lan. |
17 August 2014, 11:36 | #13 |
Registered User
Join Date: Aug 2004
Location: www.amigakit.com
Posts: 2,015
|
Please take note of what I have been saying in my last post: do not install third party programs which can conflict and stop EasyNet working. In post #1 you have been installing Miami, then installing Prism2 v1.7, then installing Prism2 v2.5 without using EasyNet to auto-configure and now I can see evidence that you have AMITCP v4 on your hard disk too.
I have read your EasyNet Network Configuration Help file and I can see problems immediately with your system and configuration: 1) Your bsdsocket.library is set to 4.1. You are using EasyNet standard edition so it should be version 3. This means that you have previously installed Genesis/AMITCP 4 at the location of System:AmiTCP. This will conflict with EasyNet and stop it working! Genesis files and EasyNet files cannot be mixed as they will stop each other from running correctly. 2) You have set the secondary DNS to "use" but it is blank - go to EasyNet's DNS settings in the Network configuration window and enter the second DNS or alternatively go to the TCP/IP settings and set DNS to "use the Primary DNS". 3) Wireless Settings are NOT configured from EasyNet- use EasyNet to auto-configure the wireless settings 4) Your are using EasyNet 0.175, the latest public version is 0.178 - you need to contact us to upgrade. 5) No hosts are set up. Go to the EasyNet Hosts Manager and click Add Host.. button to add some hosts then click SAVE and restart, go back into the Host Manager and click Ping Host button after selecting the host you wish to ping. I also suspect that you have both the older prism2 v1.7 driver remnants installed at the same time as the prism2 v2 driver. Make sure your s:startup-sequence does not have C:SETPRISM2DEFAULTS and the s:wireless-startup file is deleted. This is very important. Last edited by amigakit.com; 17 August 2014 at 18:22. |
17 August 2014, 23:01 | #14 |
Returning fan!
Join Date: Jan 2011
Location: Montréal, QC, Canada
Posts: 1,434
|
Thanks a lot for your help and your patience
@modrobert Unfortunately, I have tried again these steps but still the same problem and same kind of content in the log file... @amigakit.com 1) I attached two log files: the original one with EasyNet and without prism2v2 and one with prism2v2. The one for the clean, original install of EasyNet is that one, which says that I have bsdsocket.library v3.28. 2) I didn't set a second DNS in the EasyNet configuration because I don't have one. 3) The log file for the clean, original install of EasyNet says: Code:
++ Network Interface ++ Device = prism2.device (version 1.7 installed) Unit Number = 0 Wireless Settings = C:SetPrism2Defaults SSID "SnowSnow" TEXTKEY StupidStupid1 (version 1.2 installed) Library = pccard.library (version 1.1 installed) 4) Do you mean through the Support page of your Web site? If so, then I just did it 5) Does it matter that no hosts are set? Pinging IP address didn't work, won't work more with names... Thanks again a lot! Last edited by tygre; 17 August 2014 at 23:26. |
19 August 2014, 04:24 | #15 |
Returning fan!
Join Date: Jan 2011
Location: Montréal, QC, Canada
Posts: 1,434
|
PS. This page at amigakit.com says that prism2v2 should be installed, should I?
Last edited by tygre; 19 August 2014 at 04:36. |
19 August 2014, 04:36 | #16 |
Returning fan!
Join Date: Jan 2011
Location: Montréal, QC, Canada
Posts: 1,434
|
Hi there again!
So, I did some more testing but still without any luck I formatted my Workbench partition (and all the others for that matter) as started from an original Workbench 3.0. Then, I installed NetPCM010 and, after rebooting, EasyNet v0.175. Now, before going on-line, the log file (Help -> Configuration Help..) looks like the one mentioned by amigakit.com in a previous post, except from bsdsocket.library, which is said to be "unknown". When I go on-line, EasyNet says "Going Online.." for a long time, about 2-3 minutes, before actually going to the next phase (live update). Then, the log file says that I have bsdsocket.library version 3.8. Yet, a ping 192.168.0.1 stalls forever: I am not connected to my network and cannot reach my router. I attached two sets of log files taken from T: The ones before going on-line and after going on-line... Is there something wrong in my configuration? Should I provide you with any other config files to help? Thanks again for your help and your patience! |
19 August 2014, 13:33 | #17 | |
Registered User
Join Date: Aug 2004
Location: www.amigakit.com
Posts: 2,015
|
Quote:
We emailed you v0.178 of EasyNet - please use that version. |
|
19 August 2014, 21:10 | #18 |
Returning fan!
Join Date: Jan 2011
Location: Montréal, QC, Canada
Posts: 1,434
|
I don't have prism2 v1.7, it comes (I guess?) with EasyNet. I will install prism2v2 but it uses WirelessManager instead of SetPrism2Defaults, won't that be a problem?
I will also replace the program EasyNet, v0.175, by the new one that you sent me, v0.178... Talk to you soon! |
20 August 2014, 02:31 | #19 |
Registered User
Join Date: Sep 2013
Location: Ireland
Posts: 67
|
@tygre
You're far more likely to solve this problem by following only the advice given by people in this thread, and not your own guesses or advice for Linux, FreeBSD etc. In particular, reinstalling Workbench/AmigaOS twice seems unnecessary, extreme and time consuming. But, yes, "HT" stands for "High Throughput", which basically equates to IEEE 802.11n, which we're definitely not using with Orinoco cards :-) |
25 August 2014, 04:29 | #20 |
Returning fan!
Join Date: Jan 2011
Location: Montréal, QC, Canada
Posts: 1,434
|
Hi all!
Thanks a lot for your patience and advise! It is now working! Feels like Here are the steps to get EasyNet v0.178 + prism2v2 to work: this is certainly neither the only nor the simplest way to get them to work, but this way worked for me after looots of trials and errors and thanks to the good advices in this thread! I start from a new Workbench install (v3.0) and the EasyNet CD v0.175. Icon: Install-EasyNet ····Installer: ········Check-box: Intermediate User ········Button: Proceed With Install ········Button: Proceed ········Nothing special, choose the destination, say yes to all questions ········Label: PLEASE NOW CONFIGURE EASYNET ····Dialog-box: Welcome to EasyNet ········Button: CONTINUE >> ····Window: Register ········Enter information ····Dialog-box: EasyNet needs to be setup correctly ········Button: Proceed >> ········Label: Choose prism2.device ········Button: Choose Settings.. ········Window: Wireless Settings ············Text-box: Wireless Network Name (SSID) ············Button: SAVE ········Dialog-box: Once the wireless network interface is selected and saved, your computer needs to be rebooted ············Button: OK ········Button: SAVE ····Dialog-box: EasyNet needs to be setup correctly ········Button: Proceed >> ········Window: EasyNet Network Config ············Text-boxes:····Amiga's IP Address·······192.168.0.25 ·································Amiga's Host Name·······PpareunChingu ·································Network Mask··············255.255.255.0 ·································Network Domain Name···whatever ·································Gateway IP Address······192.168.0.1 ············Button:····Configure DNS.. ················Text-boxes: Primary DNS········216.252.64.75 ················Text-boxes: Secondary DNS····216.252.64.76 ················Button: OK ············Button: Save ····Window: EasyNet @2013 AmigaKit.com ········Close it ····Installer: INSTALLATION COMPLETE - PLEASE NOW REBOOT ········Button: Proceed ········Button: Proceed ········Installer closes Reboot If you try to connect at this point, you will get a dialog-box: EasyNet Error stating that the prism2.device cannot be found. Icon: Install of prism2v2 ····Installer: ········Check-box: Intermediate User ········Button: Proceed With Install ········Button: Proceed ········Text-box: What is your main network's name (SSID)?····Let it snow, let it sow... ········Button: Proceed ········Text-box: What is your main network's WPA passphrase?····duh ········Button: Proceed ········Label: Working on installation... ········Label: Generating key... ········Wait ········Label: Installation complete! ········Button: Proceed Reboot Copy EasyNet v0.178 into AmiTCP: Edit S:User-Startup to remove the line Run <>NIL: C:WirelessManager prism2.device Delete S:Wireless-Startup You can now go on-line! Thanks a lot all! Special thanks to AmigaKit.com! PS. My router did not change, I only set it to use WPA + TKIP PPS. Could a gentle moderator mark this thread as [Resolved], please? Last edited by tygre; 01 September 2014 at 05:29. Reason: Details about the router configuration |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Help with Easynet | Lnejman | support.Other | 22 | 09 May 2014 06:04 |
Easynet | lolafg | support.Other | 4 | 16 February 2014 10:49 |
New EasyNet Icons | amigakit.com | support.Apps | 6 | 30 September 2011 18:22 |
Using Samba with EasyNet | NovaCoder | support.Apps | 18 | 26 May 2009 07:55 |
New EasyNet Available | amigakit.com | News | 0 | 28 April 2006 02:07 |
|
|