~ I'm exploring Raspberry Pi!

Finally got my WiFi working!!

Since yesterday, I have been trying to configure my WiFi dongle on Raspberry Pi by following some tutorials here and there. However it was to no avail.

I tried wicd-curses as well. I think it is good and it is able to detect the WiFi available. However, just one problem with it. I could not save my configuration using F10! I couldn’t exit the wicd-curses program as well. So I removed it because multiple wlan0 configuration files will interfere with each other.

I continue searching for the right configuration using command line and I found this site. I’m using DHCP so my configuration for /etc/network/interfaces look like this:auto lo

Unplug the Ethernet cable and typesudo /etc/init.d/networking restart
Tadaa~ I’ve got DHCPOFFER and DHCPACK from the WiFi router and R-Pi is not connected to the internet using the wifi dongle!

By using WiFi, it is much more convenient to install Raspberry Pi at anywhere without to consider how to route the Ethernet cable. However this wifi connection is currently configured to my room only (thank my roomie for sharing the router and password!) and if I set this up using my campus Wifi, I’m not too sure how to do it as it requires user authentication and login.