Last active
April 14, 2016 06:24
-
-
Save htruong/2b472d71b526742cde39652277a3eee8 to your computer and use it in GitHub Desktop.
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
AR71xx | |
make image PROFILE=WNDR3700 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-ath9k kmod-ath9k-common 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-app-sqm 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 sqm-scripts swconfig tc uboot-envtools ubox ubus ubusd uci uhttpd uhttpd-mod-ubus usign wpad-mini kmod-ipt-ipset ipset mwan3 luci-app-mwan3 kmod-rt2800-lib kmod-rt2800-usb kmod-rt2x00-lib kmod-rt2x00-usb kmod-usb2 kmod-usb3 kmod-usb-net kmod-usb-net-asix kmod-usb-net-asix-ax88179 kmod-usb-ohci kmod-usbip kmod-usbip-client kmod-usbip-server kmod-zram zram-swap privoxy luci-app-privoxy usbutils kmod-bluetooth kmod-bluetooth_6lowpan bluez-utils bluez-libs kmod-6lowpan" FILES=files/ | |
Raspberry Pi Zero | |
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/ | |
cat files/etc/uci-defaults/set-wifinetwork.sh | |
#!/bin/sh | |
uci set wireless.@wifi-device[0].disabled=0 | |
uci set wireless.@wifi-device[1].disabled=0 | |
uci commit wireless | |
exit 0 | |
cat ../OpenWrt-ImageBuilder-15.05.1-brcm2708-bcm2708.Linux-x86_64/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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment