Saturday, September 19, 2015

Raspberry Pi 2 WiFi with WEP Open System

Tried to get the wifi going with the GUI in Raspbian but it would not start working.

Ended up googeling and found this forum post on the Raspberrypi forum. that explained how to correctly setup the file for WEP with open system:
network={
    ssid="myssid"
    key_mgmt=NONE
    wep_key0=mywepkey
    wep_tx_keyidx=0
}
Found an blogpost explaining how to edit the file:
$ sudo nano /etc/wpa_supplicant/wpa_supplicant.conf 
changed myssid to the my wifi network ssid and changed the mywebkey to the correct key.

did a reboot
$ sudo reboot
and now it works!


4 comments:

Unknown said...


Hi there! This post could not be written any better! Reading through this post reminds me of my old room mate! He always kept chatting about this. I will forward this write-up to him. Fairly certain he will have a good read. Many thanks for sharing! gmail login

Muhammad Hassan said...

Keep up the good work; I read few posts on this website, including I consider that your blog is fascinating and has sets of the fantastic piece of information. Thanks for your valuable efforts. IP Address

de said...

Getting Wi-Fi to work on a Raspberry Pi can sometimes require a little manual configuration, especially when dealing with older security protocols such as WEP. Editing the wpa_supplicant.conf file and setting the correct network parameters can help establish the connection, as this example demonstrates. It also highlights how understanding network configuration and troubleshooting is valuable when working with Raspberry Pi and connected devices.

These practical experiments provide a useful starting point for students exploring embedded systems and IoT applications. Working on IoT Projects for Final Year can help students understand how devices connect to networks, exchange data, and support real-world automation. Such hands-on experience also builds confidence in debugging hardware and software integration issues.

de said...

Students from electronics backgrounds can extend this learning by exploring Final Year Projects for ECE, particularly projects involving wireless communication, sensor networks, and embedded controllers. One important consideration is that WEP is an obsolete and insecure Wi-Fi security protocol, so modern projects should use WPA2 or WPA3 wherever supported.