chrisfcarroll
Posts: 2
Joined: Tue Apr 15, 2014 10:29 am

Re: Auto-connect to wireless nets?

Wed Apr 30, 2014 2:42 pm

I realised, after looking at etc/wpa_supplicant/wpa_supplicant.conf, that whenever I manually connect to a new wifi network using the wpa_gui, it was marking the previous network as disabled=1 in the in the wpa_supplicant.conf. Getting rid of the disabled=1 lines left me with a conf file looking just like r1cth3rs.

DiveDude1982
Posts: 1
Joined: Wed May 28, 2014 6:33 pm

Re: Auto-connect to wireless nets?

Wed May 28, 2014 6:37 pm

You mention after wifi is established, you would then say to the pi.

Why not simply set the pi as an access point and then you connect to it rather than hoping you have an ap that is open?

User avatar
Nfarrow
Posts: 47
Joined: Sat Dec 20, 2014 1:24 am
Location: Oklahoma, USA
Contact: Website Facebook Twitter YouTube

Re: Auto-connect to wireless nets?

Tue Jul 28, 2015 1:40 am

How woulc you connect if the wireless is Open network?
Twitter: @farrownick
Instagram veggievampire
I own a lot of Pis....

MelvinProject
Posts: 6
Joined: Wed Aug 26, 2015 7:22 pm

Re: Auto-connect to wireless nets?

Thu Aug 27, 2015 1:36 am

Have look at https://github.com/maxogden/joinopenwifi#joinopenwifi

ondrej
Posts: 34
Joined: Fri Jul 31, 2015 11:14 am

Re: Auto-connect to wireless nets?

Sat Sep 26, 2015 10:53 pm

I tried several scrips above, they detect wifi disconnect just fine, my problem is that I cannot restart wifi interface. All ends up with RTNETLINK answers: No such process after I powercycle my AP

My log I generated is below:

Code: Select all

cat wifi.log 
RTNETLINK answers: No such process
RTNETLINK answers: No such process
RTNETLINK answers: No such process
Running /etc/init.d/networking restart is deprecated because it may not re-enable some interfaces ... (warning).
Reconfiguring network interfaces...RTNETLINK answers: No such process
failed.
Running /etc/init.d/networking restart is deprecated because it may not re-enable some interfaces ... (warning).
Reconfiguring network interfaces...done.
Running /etc/init.d/networking restart is deprecated because it may not re-enable some interfaces ... (warning).
Reconfiguring network interfaces...RTNETLINK answers: No such process
done.
Running /etc/init.d/networking restart is deprecated because it may not re-enable some interfaces ... (warning).
Reconfiguring network interfaces...RTNETLINK answers: No such process
done.
Running /etc/init.d/networking restart is deprecated because it may not re-enable some interfaces ... (warning).
Reconfiguring network interfaces...RTNETLINK answers: No such process
done.
Running /etc/init.d/networking restart is deprecated because it may not re-enable some interfaces ... (warning).
Reconfiguring network interfaces...done.
Running /etc/init.d/networking restart is deprecated because it may not re-enable some interfaces ... (warning).
Reconfiguring network interfaces...RTNETLINK answers: No such process

only what works is to add reboot to script.

any ideas?

Cagazouille
Posts: 1
Joined: Tue May 24, 2016 12:26 pm

Re: Auto-connect to wireless nets?

Tue May 24, 2016 12:37 pm

Hi,

I created a script in python wo reconnect automatically to your Wifi if it shut down...

I assume you set your Wifi informations before ( /etc/network/interfaces ). If not, I encourage you to read this : http://weworkweplay.com/play/automatica ... i-network/

My script :arrow: https://github.com/matthieuvisian/WifiLoop

Return to “Debian”