Pages

Wednesday, April 10, 2013

Raspberry Pi Model A WiFi connection OK!


I googled a few more tutorials on using wireless adapter but still could not follow the instructions to connect to the internet.

One such tutorial mentions that Raspbian has a app for wifi connection.  So I startxed to run the app called WIFI config.  But I still could not connect under WPA PSK.  Then I found the app has WPS beside WPA. So I used the WPS menu to generate a PIN.  Then I went back to Win 7 to log on to the router and register the client with the PIN.  Then I went back to RPi to connect to the SSID of my wireless network.  Then I was happy to find the network connected.

pi@raspberrypi ~ $ ifconfig
eth0      Link encap:Ethernet  HWaddr b8:27:eb:26:28:1c
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:108 errors:0 dropped:0 overruns:0 frame:0
          TX packets:64 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:18831 (18.3 KiB)  TX bytes:7834 (7.6 KiB)

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

wlan0     Link encap:Ethernet  HWaddr 00:25:9c:a0:28:a4
          inet addr:192.168.1.40  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:537 errors:0 dropped:119 overruns:0 frame:0
          TX packets:95 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:155017 (151.3 KiB)  TX bytes:15004 (14.6 KiB)

pi@raspberrypi ~ $ date
Wed Apr 10 14:06:06 UTC 2013
pi@raspberrypi ~ $

.END

No comments:

Post a Comment