Raspberry – Wifi on DHCP with WPA2 (AWus036H)

raspbian_logo

Raspberry Wifi

Getting the Raspberry pi up and running on your wifi router has a lot of practical uses. One of the ups, is that there is no need for the network cable and you can hide your pi anywhere as long as you got power. I used an Alfa Network Awus036H. This should work the same way with any RTL8187 chipset wifi card, and probably a lot of other cards.

It’s most interesting to get working at bootup. And here is the changes you need to do. I prefer vim as text editor, and can get it with apt-get install vim

We need to do some changes to the network interface: vim /etc/network/interfaces

Comment out all info about wlan0 (the Awus036H will be added as wlan0 unless you have other wifi’s connected to your pi)

Insert this:

auto wlan0
allow-hotplug wlan0
iface wlan0 inet dhcp
wpa-ssid “Your access point name/ssid”
wpa-psk “Your wifi password”

Save your file, and restart the networking by: /etc/init.d/networking restart
Restarting the network will apply your new setting.

Next time you reboot your pi, it will connect to your access point and request an IP. And if you’re having a hard time choosing between SDN or SD-WAN software, then visit this website for a SD-WAN comprehensive comparison. You can click here to visit EATEL and learn more about your network and how you can have stable internet speeds.

Happy networking!

About Author

Related Posts

php8 gd

PHP8 gd Activate after installation

PHP8 GD activate after installation. GD doesn’t get activated by default. Not even a reboot after installation will activate it. So how do we do it? In…

Debian 12: linux-image-6.1.0-10amd64

Troubleshooting dependency issues in Debian 12: Resolving linux-image-6.1.0-10amd64 package dependency problems. If you installed the Debian 12 from the live image the issue is the raspi-firmware. Even…

install net core 5 on raspberry pi

Install .net core 5 on Raspberry Pi/Raspbian

How to Install .net core 5 on Raspberry Pi (Raspbian 32 bit). At the moment of writing this, there is only a beta version of the 64…

4 Best Free Nas Software That Is Open Source

Free NAS software or operating systems that are free to use and will turn a computer into a NAS more advanced than the dedicated boxes sold. What…

Raspbian default password

Raspbian default password

Looking for the Raspbian default password? It is the most essential username and password that you will need for your raspberry. At least if you are running…

OpenMediaVault default password

OpenMediaVault default password

OpenMediaVault default password is printed in the documentation. I did not see it the first time I installed it either. So I had to do some detective…

Leave a Reply