Skip to content
Browse files

Add initial script to configure wireless

  • Loading branch information...
1 parent d27ebb4 commit 27656abd8d731fc3366b81627b2a8eba0436d509 @asquared committed
Showing with 29 additions and 0 deletions.
  1. +29 −0 config/includes.chroot/lib/live/config/998-concerto-wireless
View
29 config/includes.chroot/lib/live/config/998-concerto-wireless
@@ -0,0 +1,29 @@
+#!/bin/sh
+
+#update-alternatives --install /usr/bin/x-session-manager \
+# x-session-manager /usr/local/bin/concerto 50
+
+cat > /etc/network/interfaces << EOF
+
+auto lo
+iface lo inet loopback
+
+allow-hotplug eth0
+iface eth0 inet dhcp
+
+allow-hotplug wlan0
+iface wlan0 inet manual
+ wpa-roam /etc/wpa_supplicant.conf
+
+iface default inet dhcp
+
+EOF
+
+cat > /etc/wpa_supplicant.conf << EOF
+ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
+network={
+ ssid="blah"
+ psk="phuphek9"
+}
+
+EOF

0 comments on commit 27656ab

Please sign in to comment.
Something went wrong with that request. Please try again.