node-airplane
v1.0.0
Published
This is a node module to discover and connect to Apple Airport base stations. Currently there are no other tools to modify airport settings, and this is about to change that by providing OSS alternative, written in pure JS.
Downloads
3
Readme
Airplane
This is a node module to discover and connect to Apple Airport base stations. Currently there are no other tools to modify airport settings, and this is about to change that by providing OSS alternative, written in pure JS.
This is loosely based on airport-utils, but since that tool is a bit out of date and does not work correctly anymore (besides, it requires JVM 1.5
to run), however it was a great place to start digging into protocol and understand how it works.
Usage
General Disclaimer - the API is not even 50% complete, and the code may not work as intended and might break your airport configuration (Mine is still fine, but who knows what can happen). It`s best that this software is used on non critical hardware.
This is still TBD, but see examples
section to get the idea of how this works.
Known setting reference:
syPR
: Read communitysyPW
: Read/write communitywaCV
: Configuration modewaIn
: Ethernet/Modem switch 1raRo
: Microwave robustness flagraCl
: Closed network flagraDe
: Access point densityraMu
: Multicast rateraCh
: Wireless channelmoID
: Modem timeoutmoPD
: Dialing type (tone or pulse)moAD
: Automatic dialmoCC
: Phone country codemoCI
: Modem country code combo box indexraNm
: Network namemoPN
: Primary phone numbermoAP
: Secondary phone numberpeID
: PPPoE idle timeoutpeAC
: PPPoE auto connectpeSC
: PPPoE stay connectedraWM
: Encryption switchraWE
: Encryption keylaIP
: Private LAN base station addresslaSM
: Private LAN subnet maskraWB
: Wireless to Ethernet bridging switchacEn
: Access control switchacTa
: Access control inforaDS
: Wireless DHCP switchlaDS
: LAN Ethernet DHCP switchwaDS
: WAN Ethernet DHCP switchraNA
: NAT switchwaIP
: Base station IP addresswaRA
: Router IP addresswaSM
: Subnet masksyCt
: Contact person namesyNm
: Base station namesyLo
: Base station locationwaDC
: DHCP client IDdhBg
: DHCP address range startdhEn
: DHCP address range endwaD1
: Primary DNS serverwaD2
: Secondary DNS serverdhLe
: DHCP lease timewaDN
: Domain namepmTa
: Port mappingmoUN
: Dial-up usernamemoPW
: Dial-up passwordpeUN
: PPPoE usernamepePW
: PPPoE passwordpeSN
: PPPoE service nameacRB
: Reboot flag
License
See LICENSE
.