Skip to content

Latest commit

 

History

17 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BLJ

Script for macOS to automate web authentication for the NAIST's campus wireless LAN (mm2010 or mm2020).

Installation

  1. Clone this repo.
git clone https://github.com/5ebec/blj
cd blj
  1. Create a .env with .env.sample as a reference. UE_USERNAME and UE_PASSWORD are the username and password for the Mandara System, respectively.
UE_USERNAME=[your username]
UE_PASSWORD=[your password]
  1. Prevent Captive Network Assistant from starting up.
sudo defaults write /Library/Preferences/SystemConfiguration/com.apple.captive.control Active -boolean false
  1. Change the path in line 10 of dev.5ebec.BackwardsLongJump.plist to your path.
<string><!-- /your/path/to/autologin_mmlan.sh --></string>
  1. Create a symbolic link to the plist file in ~/Library/LaunchAgents.
cd ~/Library/LaunchAgents
ln -s [your/path/to/dev.5ebec.BackwardsLongJump.plist]
  1. Load the plist file.
launchctl unload ~/Library/LaunchAgents/dev.5ebec.BackwardsLongJump.plist
launchctl load ~/Library/LaunchAgents/dev.5ebec.BackwardsLongJump.plist

Background

The Mandala Musen LAN (called "曼陀羅無線LAN" in Japanese), NAIST's campus Wi-Fi, uses a web-based authentication system that requires you to enter your username and password every time you reconnect.

This process is very tiresome, so have you ever wanted to automate it?

The script in this repository solves this problem on macOS. I have confirmed that it works on Intel mac with macOS 10.15 to 12.1 (this is, Catalina, Big Sur, Monterey). However, I don't test it on Apple silicon mac (because I don't have one yet!).

LICENSE

MIT

About

Automate the tiresome web authentication for NAIST's Campus Wi-Fi.

Topics

Resources

Stars

5 stars

Watchers

0 watching

Forks

Used by

Contributors

Languages