Skip to content
Snippets Groups Projects
Commit f59b67a6 authored by Florent Gluck's avatar Florent Gluck
Browse files

live-exam-os: completed wifi configuration

parent 90fa8544
No related branches found
No related tags found
No related merge requests found
......@@ -67,10 +67,9 @@ ADD ${config_dir}/ntp/timesyncd.conf config/includes.chroot/etc/systemd/
ADD ${config_dir}/boot_hooks/firewall config/includes.chroot/lib/live/config/9999-firewall
RUN echo "firewall ${server_ip} ${server_port}\n" >> config/includes.chroot/lib/live/config/9999-firewall
# Install wifi connections.
# The prefix (here *) must match wifi SSIDs.
ADD ${config_dir}/wifi/*.nmconnection config/includes.chroot/etc/NetworkManager/system-connections/
RUN chmod 0600 config/includes.chroot/etc/NetworkManager/system-connections/*.nmconnection
# Install wifi connection
ADD ${config_dir}/wifi/wifi.nmconnection config/includes.chroot/etc/NetworkManager/system-connections/
RUN chmod 0600 config/includes.chroot/etc/NetworkManager/system-connections/wifi.nmconnection
# script hook to set password for nexus user (pwd is "pipo")
# pwd is the crypt's perl function's first argument. Second arg is salt.
......
; The various WIFI connection files can be found in:
; /etc/NetworkManager/system-connections
# On a Debian/Ubuntu system, NetworkManager's WIFI connection files are located in /etc/NetworkManager/system-connections
[connection]
; Name of the connection as shown by Network Manager
id=example
; A random UUID referencing the connection
# Name of the connection as shown by Network Manager
id=example1
# Random UUID referencing the connection
uuid=8a065b14-beb3-4f28-97b5-f560c368ae12
type=wifi
[wifi]
; Whether the SSID is hidden or not (true/false)
# Whether the SSID is hidden or not (true/false)
hidden=false
; Name of your WIFI SSID
ssid=example
# Name of the WIFI SSID
ssid=the_empire_strickes_back
[wifi-security]
key-mgmt=wpa-eap
[802-1x]
eap=peap;
identity=janedoe
password=my_super_strong_password
identity=luke_skywalker
password=you_are_not_ready_young_padawan
phase2-auth=mschapv2
[ipv4]
......
# On a Debian/Ubuntu system, NetworkManager's WIFI connection files are located in /etc/NetworkManager/system-connections
[connection]
# Name of the connection as shown by Network Manager
id=example2
# Random UUID referencing the connection
uuid=8a065b14-beb3-4f28-97b5-f560c368ae12
type=wifi
[wifi]
# Whether the SSID is hidden or not (true/false)
hidden=true
# Name of the WIFI SSID
ssid=return_of_the_jedi
mode=infrastructure
[wifi-security]
auth-alg=open
key-mgmt=wpa-psk
psk=may_the_force_be_with_you
[ipv4]
method=auto
[ipv6]
addr-gen-mode=stable-privacy
method=auto
[proxy]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment