Last active
April 10, 2016 03:20
-
-
Save htruong/368870d67dbc9097b0c6b57553506ec8 to your computer and use it in GitHub Desktop.
HAB.education - OpenWRT image
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
vim files/etc/uci-defaults/set-wifinetwork.sh | |
#!/bin/sh | |
uci set wireless.@wifi-device[0].disabled=0 | |
uci set wireless.@wifi-iface[0].ssid="HAB.education Classroom Wireless" | |
uci set wireless.@wifi-iface[0].encryption=psk2 | |
uci set wireless.@wifi-iface[0].key="spacecadet" | |
uci commit wireless | |
exit 0 | |
chmod +x files/etc/uci-defaults/set-wifinetwork.sh | |
make image PROFILE=RaspberryPi PACKAGES="base-files busybox dnsmasq dropbear firewall fstools hostapd-common ip ip6tables iptables iptables-mod-conntrack-extra iptables-mod-ipopt iw jshn jsonfilter kernel kmod-ath kmod-cfg80211 kmod-crypto-aes kmod-crypto-arc4 kmod-crypto-core kmod-gpio-button-hotplug kmod-ifb kmod-ip6tables kmod-ipt-conntrack kmod-ipt-conntrack-extra kmod-ipt-core kmod-ipt-ipopt kmod-ipt-nat kmod-ipv6 kmod-lib-crc-ccitt kmod-mac80211 kmod-nf-conntrack kmod-nf-conntrack6 kmod-nf-ipt kmod-nf-ipt6 kmod-nf-nat kmod-nf-nathelper kmod-ppp kmod-pppoe kmod-pppox kmod-sched kmod-sched-core kmod-slhc libblobmsg-json libc libgcc libip4tc libip6tc libiwinfo libiwinfo-lua libjson-c libjson-script liblua libnl-tiny libubox libubus libubus-lua libuci libuci-lua libxtables lua luci luci-app-firewall luci-base luci-lib-ip luci-lib-nixio luci-mod-admin-full luci-proto-ipv6 luci-proto-ppp luci-theme-bootstrap mtd netifd odhcp6c odhcpd opkg procd rpcd rssileds swconfig tc uboot-envtools ubox ubus ubusd uci uhttpd uhttpd-mod-ubus usign wpad-mini kmod-ipt-ipset ipset kmod-rt2800-lib kmod-rt2800-usb kmod-rt2x00-lib kmod-rt2x00-usb kmod-usbip kmod-usbip-client kmod-usbip-server kmod-zram zram-swap kmod-ath9k-htc" FILES=files/ | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment