Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Wed 20 Jun 2018, 02:27
All times are UTC - 4
 Forum index » Advanced Topics » Hardware » Networking » Wireless
rtl8187 cant connect using WPA2-PSK, AES encryption
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [1 Post]  
Author Message
mamas6667

Joined: 05 Nov 2007
Posts: 5

PostPosted: Mon 15 Sep 2008, 00:14    Post subject:  rtl8187 cant connect using WPA2-PSK, AES encryption  

Computer: Easynote XS
Puppy version: puppy-4.1beta-408-k2.6.25.16-seamonkey
Install type: Frugal
Code:
# puppy-4.1beta-408-k2.6.25.16-seamonkey
title Puppy Linux 408
rootnoverify (hd0,0)
kernel /puppy408/vmlinuz root=/dev/ram0 PMEDIA=idehd psubdir=puppy408 apm=off acpi=force
initrd /puppy408/initrd.gz

------------------------------------------------------------------------------------
This computer has a integrated usb wifi(rtl8187) and it works with windows XP.(the rtl8187 only gets recognised in this beta version of puppy, none earlier)
The router is using WPA2-PSK, with AES encryption, unhiddenSSID
Tried connecting using the network wizard, and failed.
noticed this error in /var/log7messages

Sep 14 02:03:26 (none) local0.err dhcpcd[22574]: wlan0: dhcpcd not running

I tried using a fixed IP and same results.

So i went the commandline manual way
------------------------------------------------------------------------------------
# checked necessary modules for WPA2/AES, one by one
arc4
ecb
crypto_blkcipher
aes_generic (aes in older Puppies)
crc32c
Code:
lsmod | grep aes_generic

load the 2 missing modules
aes_generic
crc32c

Using "Menu"- ’"Setup"- "Wizard Wizard"- ’"Configure startup of Puppy"
- ’"Click here to add a new module"

As they dont get autoloaded, you must edit /etc/rc.d/rc.local
add these lines:
Code:
# autoload missing modules for WPA2/AES
modprobe aes_generic
modprobe crc32c

-----------------------------------------------------------------------------
# First load your driver if Puppy has not automatically done so already
Code:
modprobe rtl8187

# It's often necessary to "bring up" the interface unconfigured
Code:
ifconfig wlan0 up

# Now here are the critical WPA configuation commands:
Code:
iwconfig wlan0 mode managed

Code:
iwpriv wlan0 set AuthMode=WPAPSK
wlan0  no private ioctls

# test iwpriv
Code:
iwpriv
eth0      no private ioctls.

wmaster0  no private ioctls.

wlan0     no private ioctls.

# All code bleow this line i did not try as the above failed
iwpriv wlan0 set EncrypType=AES
iwconfig wlan0 essid "MySSID"
iwpriv wlan0 set WPAPSK="FAKEaSSID475874afb63f8a10abb8dd3b49036569af592ae32010ef034685932"
iwconfig wlan0 essid "MySSID"
-------------------------------------------------------------------------------------
THKS 4 ur time. Smile
PLS help me connect this subnotebook, so I can make Puppylinux the default OS, and I dont have to reinstall Windows XP everytime people get infected with virus, while checking their email.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [1 Post]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Hardware » Networking » Wireless
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
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0453s ][ Queries: 11 (0.0216s) ][ GZIP on ]