-
Notifications
You must be signed in to change notification settings - Fork 0
/
LiMe-SDK-Autocook_openNET.io
120 lines (82 loc) · 4.61 KB
/
LiMe-SDK-Autocook_openNET.io
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
#!/bin/bash
# This program is an automated cooking script for LibreMesh-SDK
# Execute from one level above [just outside] lime-sdk extracted folder
# All routers you use should be in this file for one touch autocooking
# This file is for openNET.io. Change your community-specific details if you whish to use it for yours! :]
# Started on 20170519 | Nk
# Last updated on 20170526 | Nk
# Uncomment to install packages on ubuntu
# sudo apt-get update
# sudo apt-get -y install gawk zlib1g-dev libncurses5-dev g++ flex git
echo
echo "starting cook"
echo
dir=lime-sdk
git clone https://github.com/libremesh/lime-sdk.git temp
rsync -a temp/ $dir/
rm -rf temp
# Begin community-specific details
# openNET.io Note: Packages still to test: haveged
# Uncomment and specify your custom options.conf file location relative to this script if you are using one
# rsync -a <directory-name-here>/options.conf $dir/options.conf
mv $dir/communities $dir/communities-previousrun
mv $dir/output $dir/output-previousrun
cd $dir
# List your "cooker" commands here, with customizable packages and options for each one:
# Archer C7 v2 [standard and openNODE]
PKG="lime-full luci-ssl wpad authsae hostapd ath10k-firmware-qca988x kmod-ath10k -wpad-mini" \
./cooker --flavor=lime_default --remote \
--community=openNET.io/1144-W2PA-LIME-XXXX -c ar71xx/generic --profile=archer-c7-v2
PKG="lime-full luci-ssl wpad authsae hostapd ath10k-firmware-qca988x kmod-ath10k -wpad-mini" \
./cooker --flavor=lime_default --remote \
--community=openNET.io/1144-W2PA-LIME-XXXX_ONC7 -c ar71xx/generic --profile=archer-c7-v2
# 1043 ND v3 [standard and openNODE (both sides)]
PKG="lime-full luci-ssl wpad authsae hostapd ath10k-firmware-qca988x kmod-ath10k -wpad-mini" \
./cooker --flavor=lime_default --remote \
--community=openNET.io/1144-W2PA-LIME-XXXX -c ar71xx/generic --profile=tl-wr1043nd-v3
PKG="lime-full luci-ssl wpad authsae hostapd ath10k-firmware-qca988x kmod-ath10k -wpad-mini" \
./cooker --flavor=lime_default --remote \
--community=openNET.io/1144-W2PA-LIME-XXXX_ON3N -c ar71xx/generic --profile=tl-wr1043nd-v3
PKG="lime-full luci-ssl wpad authsae hostapd ath10k-firmware-qca988x kmod-ath10k -wpad-mini" \
./cooker --flavor=lime_default --remote \
--community=openNET.io/1144-W2PA-LIME-XXXX_ON32 -c ar71xx/generic --profile=tl-wr1043nd-v3
# 1043 ND v4 [standard and openNODE]
PKG="lime-full luci-ssl wpad authsae hostapd ath10k-firmware-qca988x kmod-ath10k -wpad-mini" \
./cooker --flavor=lime_default --remote \
--community=openNET.io/1144-W2PA-LIME-XXXX -c ar71xx/generic --profile=tl-wr1043nd-v4
PKG="lime-full luci-ssl wpad authsae hostapd ath10k-firmware-qca988x kmod-ath10k -wpad-mini" \
./cooker --flavor=lime_default --remote \
--community=openNET.io/1144-W2PA-LIME-XXXX_ON3N -c ar71xx/generic --profile=tl-wr1043nd-v4
PKG="lime-full luci-ssl wpad authsae hostapd ath10k-firmware-qca988x kmod-ath10k -wpad-mini" \
./cooker --flavor=lime_default --remote \
--community=openNET.io/1144-W2PA-LIME-XXXX_ON32 -c ar71xx/generic --profile=tl-wr1043nd-v4
# WBS 210
PKG="lime-full luci-ssl wpad authsae hostapd ath10k-firmware-qca988x kmod-ath10k -wpad-mini" \
./cooker --flavor=lime_default --remote \
--community=openNET.io/1144-W2PA-LIME-XXXX -c ar71xx/generic --profile=wbs210
# Unifi AC Lite
PKG="lime-full luci-ssl wpad authsae hostapd ath10k-firmware-qca988x kmod-ath10k -wpad-mini" \
./cooker --flavor=lime_default --remote \
--community=openNET.io/1144-W2PA-LIME-XXXX -c ar71xx/generic --profile=ubnt-unifiac-lite
# Unifi AC Pro
PKG="lime-full luci-ssl wpad authsae hostapd ath10k-firmware-qca988x kmod-ath10k -wpad-mini" \
./cooker --flavor=lime_default --remote \
--community=openNET.io/1144-W2PA-LIME-XXXX -c ar71xx/generic --profile=ubnt-unifiac-pro
# AR 150
PKG="lime-full luci-ssl wpad authsae hostapd ath10k-firmware-qca988x kmod-ath10k -wpad-mini" \
./cooker --flavor=lime_default --remote \
--community=openNET.io/1144-W2PA-LIME-XXXX -c ar71xx/generic --profile=gl-ar150
# AR 300
PKG="lime-full luci-ssl wpad authsae hostapd ath10k-firmware-qca988x kmod-ath10k -wpad-mini" \
./cooker --flavor=lime_default --remote \
--community=openNET.io/1144-W2PA-LIME-XXXX -c ar71xx/generic --profile=gl-ar300
# AR 300M
PKG="lime-full luci-ssl wpad authsae hostapd ath10k-firmware-qca988x kmod-ath10k -wpad-mini" \
./cooker --flavor=lime_default --remote \
--community=openNET.io/1144-W2PA-LIME-XXXX -c ar71xx/generic --profile=gl-ar300m
# 3020 8M
PKG="lime-full luci-ssl wpad authsae hostapd ath10k-firmware-qca988x kmod-ath10k -wpad-mini" \
./cooker --flavor=lime_default --remote \
--community=openNET.io/1144-W2PA-LIME-XXXX -c ramips/mt7620 --profile=wt3020-8M
echo "cook finished"
echo