I was having trouble connecting so i started from scratch, new boot sd
logged in with Pi and Raspberry
Typed
sudo nano /boot/wpa_supplicant.conf
and added the text and updated wifi info
rebooted
re logged in
sudo cat /boot/wpa_supplicant.conf - should probably input this into to the instructions for noobs like myself
checked info
Still no connect to the wifi?
UPDATE - Dont just check what devices are connected to your router in 192.168.0.1 also make sure the setting are set to let new devices connect. i didnt know you could filter IP/MAC addresses, you can spend a week pulling your hair out thinking youve typed in codes wrong. THANKS AGAIN ALL INVOLVED.
Unplug your Ethernet cable. Unless something has changed WPA Supplicant monitors your network connections and will only allow Ethernet or WiFi. Not both at same time. If you want more tech info on ifplugd and other details behind this we can get into it. But for now don’t try to use Ethernet and WiFi at same time.
Found my notes. If it helps. As @mikhail.avkhimenia has asked, likely better to see your conf file to make sure it’s right. But not sure how many man hours I wasted a few years ago when I was trying to get WiFi working on a linux box while using eth0 to admin the same box. Anyway, here are my notes on one workaround for eth and wlan at same time…
WPA supplicant, required for WiFi roaming, monitors ifplugd events and will shut down any roaming interface it is managing when eth0 is plugged into RPi. So we just exit the script it calls during these events.
Edit config file for wpa and add an exit to top of script:
sudo nano /etc/wpa_supplicant/action_wpa.conf
-------------------------------------------
# Exiting script to enable eth0 and roaming wlan to work at same time
exit 0
---------------------------
Sorry, it’s hard to say. You could start by getting rid of the key management line. Just start with ssid and psk. Start with simple stuff like double-checking your ssid - it is case sensitive. Then work out. Try another network etc. Assuming you are using built in RPi WiFi? It’s not very powerful so you may have to move closer to AP. If you are using a USB dongle are you sure it’s supported in linux out of the box? I use TP Link dongles that require us to compile drivers. Just try to rule out one thing at a time.
will it have anything to do with the sd image i made bootable? i downloaded the “Emlid Raspbian Image” not the “Emlid Raspbian Beta Image with ROS and WBC support” as i have no idea what that means
i think ill try it at my dads house as it could be my router, yes i’m using onboard wifi
Jimmy,
The one you downloaded will work just fine. The Beta is adding features you likely don’t need to worry about right now. It’s a steep learning curve. You’ll get it.
R,
C
/[quote=“Jimmy_Hill, post:12, topic:4697”]
get help/ cancel/ dos format/ mac format/ append/ prepend/ backup file << i just clicked enter as i didnt know
[/quote]
enter was correct - don’t bother about the rest;
I assume your wifi credentials are correctly put in your wpa_suuplicant.conf file:
can you see your home network when typing:
sudo iwlist wlan0 scan | grep ESSID
?
Wi-Fi networks can be configured by editing the /boot/wpa_supplicant.conf file located on SD card. To add your network simply add the following lines to it:
^^^^^this is what it says on the instructions add it to boot
what does this command do - sudo dhclient -v wlan0
as @coby said, remove that line (“key_mgmt…”)
also check your router has enough IP adresses in range and MAC address control is off;
what router are u using?
can u see a live log on your router when rpi is trying to login?
make a hotspot with your phone and some login credentials as your router, turn off your router, try to connect your rpi!
you was correct the router wasnt assigning an IP, i was looking on the devices list connected to check if the pi was connected not realising the other page settings turned off