-
Notifications
You must be signed in to change notification settings - Fork 1
Coderbot Network Configurations
Coderbot_Lboro has 2 connection modes, Client and AP. Client means connecting via a router, and AP means the pi creates a WIFI hotspot which you can connect to.
By default coderbot should look for the network defined in /etc/network/interfaces_cli
, and if it doesn't connect will then make a hotspot with the properties defined in /etc/hostapd/hostapd.conf
#####Setting Pi Number
Setting Pi number:
execute sudo python wifi.py updatecfg XX
, where XX is the number to set the robot as, e.g for 07, hotspot ssid will change to Lboro Coderbot 07 and the client ip will change to 192.168.0.107 (must be 2 digits)
#####extra commands
sudo python wifi.py updatecfg ap ssid psk
will update the hostapd.conf accordingly
sudo python wifi.py updatecfg client ssid psk X
will update client porperties
This can also be done editing the files directly