Discussion:
Wireless@SGx on Linux, specifically Puppy
Stephen Bylo
2010-10-19 14:18:22 UTC
Permalink
[Sorry, resending these two emails as I addressed them wrongly!]

-------- Original Message --------
Subject: Re: ***@SGx on Linux, specifically Puppy
Date: Tue, 12 Oct 2010 17:28:53 +0800
From: Stephen Bylo <snowyworlds-/E1597aS9LS+***@public.gmane.org>
To: slugnet-aLEFhgZF4x6DJC76LEpiw9i2O/***@public.gmane.org



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 "***@SGx".

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

1) Read this to get started on ***@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="***@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:"***@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
***@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-/E1597aS9LS+***@public.gmane.org
<mailto:snowyworlds-/E1597aS9LS+***@public.gmane.org>> wrote:

Hi All,

I have configured ***@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
Harish Pillay
2010-10-19 14:40:50 UTC
Permalink
For use in general, I have it documented here:

http://harishpillay.wordpress.com/2010/02/13/automatically-connecting-to-the-wirelesssg-hotspots/

Harish
Post by Stephen Bylo
[Sorry, resending these two emails as I addressed them wrongly!]
-------- Original Message --------
Date: Tue, 12 Oct 2010 17:28:53 +0800
Hi,
I manage to get it to work.  I have added the instructions below in case anybody needs it ;/
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)
network={
      scan_ssid=1
      key_mgmt=WPA-EAP
      pairwise=CCMP TKIP
      group=CCMP TKIP
      eap=PEAP
      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
          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
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
 Hi All,
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? ;)
  http://pas.singtel.com/wsg_connect/
Any help appreciated!
Steve
_______________________________________________
List FAQ: http://wiki.lugs.org.sg/LugsMailingListFaq
Info page: http://www.lugs.org.sg/mailman/listinfo/slugnet
--
Harish Pillay h.pillay-***@public.gmane.org gpg id: 746809E3

_______________________________________________
LUGS Mailing list - slugnet-***@public.gmane.org
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: slugnet-unsubscribe-***@public.gmane.org
Jett Tayer
2010-10-20 06:07:29 UTC
Permalink
Way to go Steve! old times =)
Post by Stephen Bylo
[Sorry, resending these two emails as I addressed them wrongly!]
-------- Original Message --------
Date: Tue, 12 Oct 2010 17:28:53 +0800
Hi,
I manage to get it to work. I have added the instructions below in case anybody needs it ;/
Loading...