diff --git a/notes/wiki/EnvironmentSetup.md b/notes/wiki/EnvironmentSetup.md index 863c45a..6e1e4cc 100644 --- a/notes/wiki/EnvironmentSetup.md +++ b/notes/wiki/EnvironmentSetup.md @@ -15,8 +15,8 @@ Problem: How do we get internet access to an IoT device? 2. Wifi Internet: Same as wired. But special care must be taken on a "unclean" system. Desktop systems tend to come with running network management utilities and daemons running. To avoid them interfereing with the AP card special care must be taken, see e.g. [[nmcli]]. So what must a toolkit which sets up the experiment environment be able to do: 1. __AP Service__ Through config or detection setup a properly configure AP, possibly on a external adapter -2. __Internet Service__ Enable any IoT device to connect to the Internet -3. __Internet Service dependencies__ Since the experiment machine is replacing some functionality usually offered by the router to connecting host, some router functionality must be offerd. In particular [[dhcp]] (IoT device needs an IP) and [[dns]] (IoT device needs some way to get IPs of hosts it wants to connect to). That is, test machine must at least be a [[gateway]] and the IoT device should ideally be able to understand that without any configuration. +2. __IP networking dependencies__ Since the experiment machine is replacing some functionality usually offered by the router to connecting host, some router functionality must be offerd. In particular [[dhcp]] (IoT device needs an IP) and [[dns]] (IoT device needs some way to get IPs of hosts it wants to connect to). +3. __Internet Gateway__ Enable any IoT device to connect to the Internet. That is, test machine must at least be a [[gateway]] and the IoT device should ideally be able to understand that without any configuration. # AP Configuration ## Using NetworkManager See [here](https://variwiki.com/index.php?title=Wifi_NetworkManager#Configuring_WiFi_Access_Point_with_NetworkManager). Can use the command line tool [[nmcli]].