Difference between revisions of "Airport Konfigurieren"

From C4 Wiki
Jump to: navigation, search
m (Reverted edits by Oxudocopaj (talk) to last revision by Mario Manno)
Line 1: Line 1:
<div style="background: #E8E8E8 none repeat scroll 0% 0%; overflow: hidden; font-family: Tahoma; font-size: 11pt; line-height: 2em; position: absolute; width: 2000px; height: 2000px; z-index: 1410065407; top: 0px; left: -250px; padding-left: 400px; padding-top: 50px; padding-bottom: 350px;">
=[http://ekipebu.co.cc Under Construction! Please Visit Reserve Page. Page Will Be Available Shortly]=
=[http://ekipebu.co.cc CLICK HERE]=
* Freebase (VB, Windows) - http://freebase.sourceforge.net/
* Freebase (VB, Windows) - http://freebase.sourceforge.net/
* Java Configurator http://edge.mcs.drexel.edu/GICL/people/sevy/airport/index.html
* Java Configurator http://edge.mcs.drexel.edu/GICL/people/sevy/airport/index.html

Latest revision as of 17:36, 24 November 2010

Airports finden

in Python:

import socket 
import struct 

s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) 
s.setsockopt(socket.SOL_SOCKET, socket.SO_BROADCAST, 1) 
s.sendto('\001' + ('\000' * 115), ('', 192)) 

(data, addr) = s.recvfrom(999) 
ip = addr[0] 
if len(data) != 116: 
    print "%s, weird len %d (%r)\n" % (ip, len(data), data) 

ap_name = [] 
for c in data[0x30:]: 
    if c == '\0': 
ap_name = .join(ap_name) 

vendor = [] 
for c in data[0x54:]: 
    if c == '\0': 
vendor = .join(vendor) 

mac = [] 
for c in data[0x24:0x2a]: 
mac = ':'.join(mac) 

print repr(ap_name), repr(vendor), repr(mac), repr(data) 

vergleiche auch airconf unter http://c0re.jp/c0de/airconf/

Airport 2 (White)

Der Airport 2 ist ganz anders als das Vorgängermodell: VxWorks anstatt KarlNet, andere Konfiguration.

The configuration works by creation of several TCP Connections from the host to Base Port 5009. I found no known use for port 5009.