Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- mkdir dl
- mkdir ax6s
- cd ax6s
- git clone https://github.com/openwrt/openwrt.git
- cd openwrt
- git checkout v22.03.5
- ln -sf ../../dl dl
- cat << "EOF" > package/base-files/files/etc/uci-defaults/20_wifi_config
- uci set wireless.@wifi-device[0].disabled="0"
- uci set wireless.@wifi-iface[0].disabled="0"
- uci set wireless.@wifi-iface[0].ssid="OpenWrt"
- uci set wireless.@wifi-iface[0].key="Openwrt_Persian"
- uci set wireless.@wifi-iface[0].encryption="psk2"
- uci commit wireless
- EOF
- cat << "EOF" > package/base-files/files/etc/uci-defaults/22_lan_config
- uci set network.lan.ipaddr=192.168.22.1
- uci commit network
- EOF
- cat << "EOF" >> feeds.conf.default
- src-git-full passwall https://github.com/xiaorouji/openwrt-passwall.git
- src-git-full passwall2 https://github.com/xiaorouji/openwrt-passwall2.git
- EOF
- incase of unstable connection do this part multiple times
- ./scripts/feeds update -a && ./scripts/feeds update -a || ./scripts/feeds update -a || ./scripts/feeds update -a
- ./scripts/feeds install -a && ./scripts/feeds install -a || ./scripts/feeds install -a || ./scripts/feeds install -a
- ./scripts/feeds update -a
- ./scripts/feeds install -a
- sed -i "s/China/Iran/g" feeds/passwall2/luci-app-passwall2/root/usr/share/passwall2/0_default_config
- sed -i "s/geoip:cn/geoip:ir/g" feeds/passwall2/luci-app-passwall2/root/usr/share/passwall2/0_default_config
- sed -i "s/geosite:cn/geosite:category-ir/g" feeds/passwall2/luci-app-passwall2/root/usr/share/passwall2/0_default_config
- Target System (x86)
- Subtarget (x86_64)
- Target Profile (Generic x86/64)
- Target Images --->
- (32) Kernel partition size
- (410) Root filesystem partition size (in MiB)
- Base system --->
- dnsmasq remove
- dnsmasq-full add
- blockd
- LuCI --->
- 1. Collections --->
- luci
- 2. Modules --->
- luci-mod-dashboard
- 3. Applications --->
- luci-app-ddns.........
- luci-app-openvpn......
- luci-app-passwall2....
- luci-app-wireguard....
- luci-app-wol......
- 5. Protocols --->
- luci-proto-openconnect
- luci-proto-sstp.......
- Network --->
- VPN --->
- openvpn-openssl.
- openvpn-easy-rsa
Advertisement
Add Comment
Please, Sign In to add comment