Skip to content

Infocom 2016 Demo

Manuel Peuster edited this page Mar 3, 2016 · 36 revisions

Testbed Setup

General

Machine Networks SSH Shortcut BSSID Other
Controller VM eth1: 10.10.10.210/24
eth0: DHCP (VBox NAT)
- - -
LED Controller 10.10.10.99/24 - - need DHCP? TODO!
AP1: green01 10.10.10.1/24 green01 TODO U: root
P: gr33ntouch
AP2: green02 10.10.10.2/24 green02 TODO U: root
P: gr33ntouch
AP3: green03 10.10.10.3/24 green03 TODO U: root
P: gr33ntouch
UE1 (UPB Sandy) 10.10.10.11/24 - - -
UE1 (UPB Chantal) 10.10.10.12/24 - - (optional)

GreenTouch VM

Network

  • eth0: NAT DHCP from VirtualBox host (to have a internet connection)
  • eth1: Bridged to host interface connected to testbed (static: 10.10.10.210/24)

Access Points

Wi-Fi

  • SSID: BCG2Demo
  • PSK: gr33ntouch

hostapd config

/ets/hostapd/hostapd.conf

interface=wlan0
driver=nl80211
bridge=bridge

country_code=DE
ieee80211d=1

ssid=BCG2Demo
hw_mode=g
channel=1
wme_enabled=0

# Station MAC address -based authentication
# Please note that this kind of access control requires a driver that uses
# hostapd to take care of management frame processing and as such, this can be
# used with driver=hostap or driver=nl80211, but not with driver=madwifi.
# 0 = accept unless in deny list
# 1 = deny unless in accept list
# 2 = use external RADIUS server (accept/deny lists are searched first)
macaddr_acl=0

# Accept/deny lists are read from separate files (containing list of
# MAC addresses, one per line). Use absolute path name to make sure that the
# files can be read on SIGHUP configuration reloads.
#accept_mac_file=/etc/hostapd/mac.accept
#deny_mac_file=/etc/hostapd/mac.deny

auth_algs=1
wpa=2
wpa_passphrase=gr33ntouch
wpa_key_mgmt=WPA-PSK
wpa_pairwise=TKIP
rsn_pairwise=CCMP

ctrl_interface=/var/run/hostapd
ctrl_interface_group=0

logger_syslog=-1
logger_syslog_level=1
logger_stdout=-1
logger_stdout_level=1

Public SSH Key

This key has to be added into .ssh/autorized_keysfile on each AP.

ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC9avqGL22oIccihw5ikQOIU6q5WG/loBvQbc5ziMzoYWgXbLK9NIuLXU/C1RtnHn7vfkUy+4lV9Kq08s3FPrHxPic10PnyUrO+YMs0whn4ZqD4Og6x9alnuxwd9GApee0gNdWZ5SeBL721x6cpdj3QOOM+/3fREzf7wHjZsv0Cpg6DXqRYsEcgjTqkqF1ubgggH67CtlnVo/sBX6tkdJm8rqWbQ01DisMLSTE2Bk9MmPWCyEgj3psYSzE8tmMAKzOcDsSTZho/tzjx8HgrwHrEW55a2GFhUbyQv9jeiPSswFPIC4jakl1/Lg6zQqHkPcrTln8+jteUfcqlFx4hgPTt greentouch@greentouch-VirtualBox

Clone this wiki locally