Skip to content

Bash script to rename ssid when internet is not available for OpenWRT & Broadcom based DD-WRT

Notifications You must be signed in to change notification settings

amalanov/rename-offline-wifi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 

Repository files navigation

Rename offline Wi-Fi

If your internet connection is down, this script renames ssid to yourssid_OFFLINE. When internet is back, it removes postfix. Supports multiple ssids.

Supports

  • OpenWrt routers (tested on 21.02)
  • DD-WRT Broadcom based (tested on r44715)

For OpenWRT

*/15 * * * * ~/rename_offline_wifi.sh

For DD-WRT based on Broadcom

!!1! Currently in order to apply renaming, the script reboots the router. I'm looking for another way to apply settings

  • If you have usb sick, copy the script there. If you don't, you need to enable JFFS storage. All other locations on DD-WRT are eraised each time router reboots. To do so, go to Administration/Management/JFFS2 Support Internal Flash Storage Enable .
  • Copy script to the router via scp:
scp ~/rename_offline_wifi.sh root@192.168.1.1:/jffs/
*/15 * * * * /jffs/rename_offline_wifi.sh

About

Bash script to rename ssid when internet is not available for OpenWRT & Broadcom based DD-WRT

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages