Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lriley2020/bfiwifiauto
Auto captive portal completion for Britanny Ferries Free Wifi
https://github.com/lriley2020/bfiwifiauto
captive-portal raspberry-pi wifi
Last synced: 4 days ago
JSON representation
Auto captive portal completion for Britanny Ferries Free Wifi
- Host: GitHub
- URL: https://github.com/lriley2020/bfiwifiauto
- Owner: lriley2020
- Created: 2024-08-19T13:31:35.000Z (4 months ago)
- Default Branch: master
- Last Pushed: 2024-08-19T13:47:09.000Z (4 months ago)
- Last Synced: 2024-11-07T13:50:21.597Z (about 2 months ago)
- Topics: captive-portal, raspberry-pi, wifi
- Language: Python
- Homepage:
- Size: 7.78 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## biwifiauto
I made this script whilst on a Britanny Ferries ferry from Portsmoth, UK to Santander, Spain!
I ran this on a Raspberry Pi 3b, powered off a powerbank.
`main.py` uses Selenium to complete the captive portal that users have to fill in before using the Britanny Ferries free wifi
`ferry_mac_cron.sh` is intended to be triggered every half an hour by a cron job. It brings the WLAN interface down, randomises the wlan0 MAC address, brings the interface back up, and runs `main.py `
Note: the randomised MAC address is needed in order to make raspberry pi appear to be a new client (therefore bypassing the 30 minute limit)
If these two scripts are paired with a second WLAN interface and configured to create a Wifi extender like [here](https://pimylifeup.com/raspberry-pi-wifi-extender/), the result is a free Wifi hotspot that all of your devices can connect to, without being limited to 30 minutes or having to complete a captive portal.
Enjoy! :)