Short Guide to setting up Internet Access Router LAN using wireless@SGx ( or similar networks with EAP )
It is often helpful to set up a LAN for networking purposes. However, we may not be able to access a dedicated WAN, as
- The LAN may need to be portable ( uproot and deploy )
- May not have access to WAN ( new environment )
A improvised WAN can be used. OpenWRT is Open Source router software offering following configurations of interest:
- Dual Modem Routers: 1x uplink to wifi, 1x Access Point
- Router with USB Port: 1x Usb Tethering from Phone to LAN
We document here configuration 1, where uplink is to wireless@SGx or equivalent EAP networks.
This configuration may not be most optimal ( there are potentially redundant configurations ) and need to be further tailored for your deployment. Understanding of networking and security is required.
- goto:
https://eservice.imda.gov.sg/wirelessSGx/
- Select Device without local sim > Android / ChromeOS
- Generate Credentials
- Setup OpenWRT Router and flash firmware:
https://openwrt.org/
- Connect router to internet ( For example, connect to existing Linux machine and set up LAN Network Sharing )
- SSH to OpenWRT Router (
ssh root@192.168.1.1
) opkg update
,opkg install wpad
( you may need to uninstall conflicting packages likewpad-openssl
).wpad
is needed for support for EAP authentication.reboot