-
Jul 14th, 2016, 07:27 PM
#1
[RESOLVED] Getting wifi working in Linux
Hi,
I am trying to get WiFi working on my Raspberry Pi and I have been successful in the past. However, the past couple of attempts have failed even after I have followed tutorials online. As far as I know all the configuration files are correct but the system is not picking up the network.
I have noticed that the WiFi dongle has been acting strangly in that it lights up at odd times even though there is not setup correctly.
Edit:
Here are the settings I am currently using (not working):
Supplicant.conf
country=AU
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
network{
wpa-ssid "network"
wpa-psk "password"
proto=WPA
key_mgmt=WPA-PSK
pairwise=CCMP
auth_alg=OPEN
psk=2fe820b1e836cb734fb88172egfi01c5d40bb8449cc55c6e26ce300bbe8e04c
}
interface
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet dhcp
allow-hotplug wlan0
auto wlan0
iface wlan0 inet static
address "Ip address of the pi"
netmask 255.255.255.0
gateway "Ip of the router"
wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf
iface default inet dhcp
Thanks,
Nightwalker83
Last edited by Nightwalker83; Jul 14th, 2016 at 08:18 PM.
Reason: Adding more!
when you quote a post could you please do it via the "Reply With Quote" button or if it multiple post click the "''+" button then "Reply With Quote" button.
If this thread is finished with please mark it "Resolved" by selecting "Mark thread resolved" from the "Thread tools" drop-down menu.
https://get.cryptobrowser.site/30/4111672
-
Jul 14th, 2016, 09:26 PM
#2
Re: Getting wifi working in Linux
Strange! After I re-installed Raspbian and then used the ¨WPA GUI¨ to setup the connection it worked.
Steps:
in the terminal: sudo apt-get install wpagui
menu editor click to show the gui in the menu because it does not show automatically.
set up the network using the gui.
Checking the above files again but I do not see anything dramatically different?
Supplicant.conf
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
country=AU
network={
ssid="network"
psk="password"
proto=RSN
key_mgmt=WPA-PSK
pairwise=CCMP
auth_alg=OPEN
}
Interfaces:
# interfaces(5) file used by ifup(8) and ifdown(8)
# Please note that this file is written to be used with dhcpcd
# For static IP, consult /etc/dhcpcd.conf and 'man dhcpcd.conf'
# Include files from /etc/network/interfaces.d:
source-directory /etc/network/interfaces.d
auto lo
iface lo inet loopback
iface eth0 inet manual
allow-hotplug wlan0
iface wlan0 inet manual
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
allow-hotplug wlan1
iface wlan1 inet manual
Edit:
In the supplicant code in the first post I had
wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf
when it should have been
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
still do not know what ¨wpa-roam¨ and ¨wpa-conf¨ do?
Last edited by Nightwalker83; Jul 14th, 2016 at 09:40 PM.
Reason: Adding more!
when you quote a post could you please do it via the "Reply With Quote" button or if it multiple post click the "''+" button then "Reply With Quote" button.
If this thread is finished with please mark it "Resolved" by selecting "Mark thread resolved" from the "Thread tools" drop-down menu.
https://get.cryptobrowser.site/30/4111672
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|