How to connect with wifi ? - Printable Version +- PINE64 (https://forum.pine64.org) +-- Forum: PINE A64(+) (https://forum.pine64.org/forumdisplay.php?fid=4) +--- Forum: Linux on Pine A64(+) (https://forum.pine64.org/forumdisplay.php?fid=6) +---- Forum: Debian (https://forum.pine64.org/forumdisplay.php?fid=24) +---- Thread: How to connect with wifi ? (/showthread.php?tid=796) |
RE: How to connect with wifi ? - miffy_bf - 05-22-2016 (05-22-2016, 01:49 PM)Hi,Thanks for your reply. Yes I am using the official Wifi board. Also I am running the Debian Mate, how can I configure it? Without any modification, I can connect to the router, but cannot get online. Then I try to change the wpa_supplicant.conf and interfaces, but still fail. jl_678 Wrote: Hi, RE: How to connect with wifi ? - jl_678 - 05-23-2016 Can you provide the output of sudo ifconfig? Sent from my XT1254 using Tapatalk RE: How to connect with wifi ? - miffy_bf - 05-23-2016 Here is the ifconfig: Code: debian@pine64pro:~$ sudo ifconfig Here is the iwconfig: Code: debian@pine64pro:~$ sudo iwconfig and here is my interfaces: Code: # interfaces(5) file used by ifup(8) and ifdown(8) Also my wpa_supplicant.conf: Code: network={ RE: How to connect with wifi ? - jl_678 - 05-24-2016 Okay so I am comparing your files and mine and all are pretty much the same. The one difference is your wpa_supplicant.conf. The differences do not seem significant though. Perhaps try matching mine exactly? Here is mine: Code: network={ RE: How to connect with wifi ? - JamesHarris - 05-25-2016 There is a simple fix for wlan0 showing up as rename4. Just delete, or rather move /etc/udev/rules.d/70-persistent-net.rules to somewhere else. That will trigger /lib/udev/write_net_rules to execute again. When I did that I found it only made one entry for wlan0, if left wlan1 and eth0 alone. After that systemd-udevd should just use wlan0. I would also suggest adding Code: ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev to the top of your /etc/wpa_supplicant/wpa_supplicant.conf. After that and a quick reboot everything worked as expected. It seems systemd starts wpa_supplicant and that can cause some strangeness. If you are getting wpa_supplicant errors check /var/log/deamon.log RE: How to connect with wifi ? - miffy_bf - 05-25-2016 (05-25-2016, 05:55 PM)I followed your idea, now it back to wlan0. But still cannot get the web browser online. JamesHarris Wrote: There is a simple fix for wlan0 showing up as rename4. Just delete, or rather move /etc/udev/rules.d/70-persistent-net.rules to somewhere else. That will trigger /lib/udev/write_net_rules to execute again. When I did that I found it only made one entry for wlan0, if left wlan1 and eth0 alone. After that systemd-udevd should just use wlan0. RE: How to connect with wifi ? - miffy_bf - 05-26-2016 I switched to Debian XFCE image, and now the WiFi is working RE: How to connect with wifi ? - jl_678 - 05-28-2016 (05-25-2016, 05:55 PM)JamesHarris Wrote: There is a simple fix for wlan0 showing up as rename4. Just delete, or rather move /etc/udev/rules.d/70-persistent-net.rules to somewhere else. That will trigger /lib/udev/write_net_rules to execute again. When I did that I found it only made one entry for wlan0, if left wlan1 and eth0 alone. After that systemd-udevd should just use wlan0.The rename thing has been annoying me and so I decided to do this. It worked perfectly and now my WiFi connection is listed as wlan0 as expected. Thank you! Sent from my XT1254 using Tapatalk |