sfr-wifi-connect
will check regularly if your SFR WiFi session is still up
and reopen it automatically if required.
Default check period is 15 seconds.
$ sudo make install
See the Makefile for more options.
$ sfr-wifi-connect [email protected] 123abc456
$ sfr-wifi-connect [email protected] 123abc456 30s
CONNECTION='wireless'
DESCRIPTION='SFR WiFi'
INTERFACE='wlan0'
SECURITY='none'
ESSID='SFR WiFi Public'
IP='dhcp'
POST_UP='sfr-wifi-connect SFR_EMAIL_HERE SFR_PASSWORD_HERE > /var/log/sfr-wifi-connect.log &'
POST_DOWN='killall -q sfr-wifi-connect || echo "sfr-wifi-connect process not found"'
Put this netcfg
profile in your /etc/rc.d/network
directory and netcfg
will automatically start sfr-wifi-connect
when connected to a SFR WiFi
endpoint and kill it when disconnected. Logs are put in the
/var/log/sfr-wifi-connect.log
file.