Fwd: Re: Wireless@SGx on Linux, specifically Puppy

Stephen Bylo <snowyworlds-/[email protected]>
Newsgroups gmane.user-groups.linux.singapore
Message-ID <[email protected]>
  [Sorry, resending these two emails as I addressed them wrongly!]

-------- Original Message --------
Subject: 	Re: Wireless@SGx on Linux, specifically Puppy
Date: 	Tue, 12 Oct 2010 17:28:53 +0800
From: 	Stephen Bylo <snowyworlds-/[email protected]>
To: 	slugnet-aLEFhgZF4x6DJC76LEpiw9i2O/[email protected]



Hi,

I manage to get it to work.  I have added the instructions below in case 
anybody needs it ;/
I used "wpa_supplicant" and using some instructions, sort of got Puppy 
online, but it was a little convoluted as, in the end, I needed to 
connect to "Wireless @SG" using the GUI, although the output of iwconfig 
showed I was using "Wireless@SGx".

This worked for me on Puppy Linux 5.1.1, it may also work for you:

1) Read this to get started on Wireless@SGx and get a login etc:

http://www.youngntuc.com.sg/youngntuc/viewtopic.php?f=79&t=6267 
<http://www.youngntuc.com.sg/youngntuc/viewtopic.php?f=79&t=6267>

2) If not already installed get wpa_supplicant by following the 
instructions on the following web page.  Note, it was already installed 
on Puppy 5.1.1

http://www.codealias.info/technotes/wireless_security_wpa/wap2_with_eap-peap_using_wpa_supplicant_and_client_ssl_certificates_linux_setup
(no need to download a certificate)

3) Create a config file anywhere e.g. wpa_supplicant.conf with the 
following :

network={
       ssid="Wireless@SGx"
       scan_ssid=1
       key_mgmt=WPA-EAP
       pairwise=CCMP TKIP
       group=CCMP TKIP
       eap=PEAP
       identity="12345678|yourLongIDHereBlahBlah==@stm"
       password="YourPasswordHere"
       phase1="peapver=0"
       phase2="MSCHAPV2"
    }

Make sure you replace 123456...Blah and YourPasswordHere with your 
credentials!

4) Run wpa_supplicant, e.g.

/sbin/wpa_supplicant -B -i wlan0 -Dwext -c wpa_supplicant.conf

5) Ensure it is running

ps -ef | grep wpa_sup
root 12782  1  0 15:15 ?  00:00:00 /sbin/wpa_supplicant -B -i wlan0

iwconfig output should look like this:

wlan0     IEEE 802.11b  ESSID:"Wireless@SGx"
           Mode:Managed  Frequency:2.412 GHz  Access Point: 
00:0B:85:92:79:9E
           Bit Rate=1 Mb/s   Tx-Power=20 dBm
           Retry  long limit:7   RTS thr:off   Fragment thr:off
           Encryption key:off
           Power Management:off
           Link Quality=27/100  Signal level=27/100
           Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
           Tx excessive retries:0  Invalid misc:0   Missed beacon:0

* Scan and authenticate

Right-click Puppy's normal network icon in the tray (bottom right), 
select "Setup networking", select wlan0, (after the scan) select 
Wirless@SG (without the x) and select WPA (leave Key empty) and click on 
connect.  (btw: "dhcpcd wlan0" did not work for me)

For me it connected and I could immediately use the internet without 
having to authenticate in a browser.

Hope this helps.  Can this be done better?  What is the easiest way to 
automated this on Puppy?

Steve


On Mon, Oct 11, 2010 at 6:37 PM, Stephen Bylo <snowyworlds-/[email protected] 
<mailto:snowyworlds-/[email protected]>> wrote:

      Hi All,

    I have configured Wireless@SGx on my blackberry ok.  Now I am having
    difficulty doing the same with Linux, specifically Puppy Linux 5.1.1.
    I suppose I need to set it up on the command line as I cannot select
    PEAP etc with Puppy's GUI, has anyone done it already? ;)

    Here is a conf guide (Linux missing :():
    http://pas.singtel.com/wsg_connect/

    Any help appreciated!
    Steve

_______________________________________________
LUGS Mailing list - [email protected]
List FAQ: http://wiki.lugs.org.sg/LugsMailingListFaq
Info page: http://www.lugs.org.sg/mailman/listinfo/slugnet
To unsubscribe send an empty email to: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.