Setting WiFi up on Raspberry Pi

I set up WiFi on my Pi with the module I recently bought, so that I can move it away from my router.

I started from scratch on my Raspbian installation on my Pi after having issues trying to set Qt up on it. I will attempt this again later, but in the meantime I will be doing any software development for this idea on my laptop, and then try compiling it on the Pi later when I successfully install it.

I plugged in the WiFi module I had purchased, and followed the tutorial to install from the command line. I ran nmap after rebooting the Pi, and sure enough, two IP addresses came up:

 MAC Address: B8:27:EB:DD:D3:0D (Raspberry Pi Foundation) 
Nmap scan report for Host is up (0.0077s latency). 
MAC Address: B8:27:EB:DD:D3:0D (Raspberry Pi Foundation) 
Nmap scan report for 

After unplugging Ethernet and running nmap again, the Raspberry Pi didn’t show up at all.

After some more research I found this tutorial which approached things a bit differently.

It involved updating /etc/network/interfaces, which originally contains this:

auto lo
iface lo inet loopback

auto eth0
allow-hotplug eth0
iface eth0 inet manual

auto wlan0
allow-hotplug wlan0
iface wlan0 inet manual
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf

auto wlan1
allow-hotplug wlan1
iface wlan1 inet manual
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf

It calls on the file wpa_suuplicant.conf which was changed in the first tutorial linked in this post.

I followed the second tutorial and changed the file. But after running nmap, the Raspberry Pi still did not show up. I rebooted the Pi, and ran nmap a few times. I finally took notice of a new device which had showed up intermittently:

Nmap scan report for
Host is up (0.038s latency).
MAC Address: E8:4E:06:2B:7C:91 (Edup International (hk) CO.)

It was the same IP address that had shown up when Ethernet was connected. Why the MAC Address is different I’m not sure. The one showing up now obviously belongs to the module itself, rather than the Pi, like the manufacturer (Edup International (hk) CO.).

I was able to SSH into this IP address as normal.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s