diff --git a/..config-ax3000 b/..config-ax3000 new file mode 100644 index 00000000000..3aaed4e9619 --- /dev/null +++ b/..config-ax3000 @@ -0,0 +1,397 @@ +CONFIG_TARGET_mediatek=y +CONFIG_TARGET_mediatek_filogic=y +CONFIG_TARGET_mediatek_filogic_DEVICE_cmcc_rax3000m-nand-ubootmod=y +CONFIG_IMAGEOPT=y +CONFIG_INITOPT=y +CONFIG_LIBCURL_COOKIES=y +CONFIG_LIBCURL_CRYPTO_AUTH=y +CONFIG_LIBCURL_FILE=y +CONFIG_LIBCURL_FTP=y +CONFIG_LIBCURL_HTTP=y +CONFIG_LIBCURL_NGHTTP2=y +CONFIG_LIBCURL_OPENSSL=y +CONFIG_LIBCURL_PROXY=y +CONFIG_LIBCURL_TFTP=y +CONFIG_LIBCURL_THREADED_RESOLVER=y +CONFIG_LIBCURL_TLS_SRP=y +CONFIG_LIBCURL_UNIX_SOCKETS=y +CONFIG_LIBQMI_COLLECTION_BASIC=y +CONFIG_LIBQMI_WITH_MBIM_QMUX=y +CONFIG_LIBQMI_WITH_QRTR_GLIB=y +CONFIG_LIBSODIUM_MINIMAL=y +CONFIG_LUCI_CSSTIDY=y +CONFIG_LUCI_LANG_vi=y +# CONFIG_LUCI_LANG_zh_Hans is not set +CONFIG_MODEMMANAGER_WITH_MBIM=y +CONFIG_MODEMMANAGER_WITH_QMI=y +CONFIG_MODEMMANAGER_WITH_QRTR=y +CONFIG_PACKAGE_adb=y +CONFIG_PACKAGE_adb-enablemodem=y +# CONFIG_PACKAGE_adguardhome=y is not set +CONFIG_PACKAGE_atinout=y +# CONFIG_PACKAGE_automount is not set +CONFIG_PACKAGE_bash=y +CONFIG_PACKAGE_bc=y +CONFIG_PACKAGE_boost=y +CONFIG_PACKAGE_boost-program_options=y +CONFIG_PACKAGE_boost-system=y +CONFIG_PACKAGE_ca-certificates=y +CONFIG_PACKAGE_chat=y +CONFIG_PACKAGE_chinadns-ng=y +CONFIG_PACKAGE_collectd=y +CONFIG_PACKAGE_collectd-mod-cpu=y +CONFIG_PACKAGE_collectd-mod-interface=y +CONFIG_PACKAGE_collectd-mod-iwinfo=y +CONFIG_PACKAGE_collectd-mod-load=y +CONFIG_PACKAGE_collectd-mod-memory=y +CONFIG_PACKAGE_collectd-mod-network=y +CONFIG_PACKAGE_collectd-mod-rrdtool=y +CONFIG_PACKAGE_comgt=y +CONFIG_PACKAGE_comgt-directip=y +CONFIG_PACKAGE_comgt-ncm=y +CONFIG_PACKAGE_coreutils=y +CONFIG_PACKAGE_coreutils-base64=y +CONFIG_PACKAGE_coreutils-nohup=y +CONFIG_PACKAGE_curl=y +CONFIG_PACKAGE_dbus=y +# CONFIG_PACKAGE_default-settings is not set +# CONFIG_PACKAGE_default-settings-chn is not set +CONFIG_PACKAGE_dns2socks=y +CONFIG_PACKAGE_dns2tcp=y +CONFIG_PACKAGE_dnsmasq_full_ipset=y +CONFIG_PACKAGE_edgeport-firmware=y +CONFIG_PACKAGE_fm350-modem=y +CONFIG_PACKAGE_glib2=y +CONFIG_PACKAGE_haproxy=y +CONFIG_PACKAGE_ip-full=y +CONFIG_PACKAGE_ip6tables-nft=y +CONFIG_PACKAGE_ipset=y +CONFIG_PACKAGE_ipt2socks=y +CONFIG_PACKAGE_iptables-mod-conntrack-extra=y +CONFIG_PACKAGE_iptables-mod-ipopt=y +CONFIG_PACKAGE_iptables-mod-tproxy=y +CONFIG_PACKAGE_iptables-nft=y +CONFIG_PACKAGE_jq=y +CONFIG_PACKAGE_kmod-atm=y +CONFIG_PACKAGE_kmod-chaoskey=y +CONFIG_PACKAGE_kmod-fixed-phy=y +CONFIG_PACKAGE_kmod-hid=y +CONFIG_PACKAGE_kmod-hid-generic=y +CONFIG_PACKAGE_kmod-i2c-core=y +CONFIG_PACKAGE_kmod-inet-diag=y +CONFIG_PACKAGE_kmod-input-core=y +CONFIG_PACKAGE_kmod-input-evdev=y +CONFIG_PACKAGE_kmod-ip6tables=y +CONFIG_PACKAGE_kmod-ipt-conntrack=y +CONFIG_PACKAGE_kmod-ipt-conntrack-extra=y +CONFIG_PACKAGE_kmod-ipt-core=y +CONFIG_PACKAGE_kmod-ipt-ipopt=y +CONFIG_PACKAGE_kmod-ipt-ipset=y +CONFIG_PACKAGE_kmod-ipt-nat=y +CONFIG_PACKAGE_kmod-ipt-tproxy=y +CONFIG_PACKAGE_kmod-mdio-devres=y +CONFIG_PACKAGE_kmod-mii=y +CONFIG_PACKAGE_kmod-net-selftests=y +CONFIG_PACKAGE_kmod-netlink-diag=y +CONFIG_PACKAGE_kmod-nf-conncount=y +CONFIG_PACKAGE_kmod-nf-ipt=y +CONFIG_PACKAGE_kmod-nf-ipt6=y +CONFIG_PACKAGE_kmod-nf-socket=y +CONFIG_PACKAGE_kmod-nf-tproxy=y +CONFIG_PACKAGE_kmod-nft-compat=y +CONFIG_PACKAGE_kmod-nft-socket=y +CONFIG_PACKAGE_kmod-nft-tproxy=y +CONFIG_PACKAGE_kmod-pcie_mhi=y +CONFIG_PACKAGE_kmod-phy-ax88796b=y +CONFIG_PACKAGE_kmod-phy-microchip=y +CONFIG_PACKAGE_kmod-phy-smsc=y +CONFIG_PACKAGE_kmod-random-core=y +CONFIG_PACKAGE_kmod-tun=y +CONFIG_PACKAGE_kmod-usb-acm=y +CONFIG_PACKAGE_kmod-usb-atm=y +CONFIG_PACKAGE_kmod-usb-atm-cxacru=y +CONFIG_PACKAGE_kmod-usb-atm-speedtouch=y +CONFIG_PACKAGE_kmod-usb-atm-ueagle=y +CONFIG_PACKAGE_kmod-usb-cm109=y +CONFIG_PACKAGE_kmod-usb-dwc2=y +CONFIG_PACKAGE_kmod-usb-dwc2-pci=y +CONFIG_PACKAGE_kmod-usb-dwc3=y +CONFIG_PACKAGE_kmod-usb-ehci=y +CONFIG_PACKAGE_kmod-usb-hid=y +CONFIG_PACKAGE_kmod-usb-hid-cp2112=y +CONFIG_PACKAGE_kmod-usb-hid-mcp2221=y +CONFIG_PACKAGE_kmod-usb-ledtrig-usbport=y +CONFIG_PACKAGE_kmod-usb-net=y +CONFIG_PACKAGE_kmod-usb-net-aqc111=y +CONFIG_PACKAGE_kmod-usb-net-asix=y +CONFIG_PACKAGE_kmod-usb-net-asix-ax88179=y +CONFIG_PACKAGE_kmod-usb-net-cdc-eem=y +CONFIG_PACKAGE_kmod-usb-net-cdc-ether=y +CONFIG_PACKAGE_kmod-usb-net-cdc-mbim=y +CONFIG_PACKAGE_kmod-usb-net-cdc-ncm=y +CONFIG_PACKAGE_kmod-usb-net-cdc-subset=y +CONFIG_PACKAGE_kmod-usb-net-dm9601-ether=y +CONFIG_PACKAGE_kmod-usb-net-hso=y +CONFIG_PACKAGE_kmod-usb-net-huawei-cdc-ncm=y +CONFIG_PACKAGE_kmod-usb-net-ipheth=y +CONFIG_PACKAGE_kmod-usb-net-kalmia=y +CONFIG_PACKAGE_kmod-usb-net-kaweth=y +CONFIG_PACKAGE_kmod-usb-net-lan78xx=y +CONFIG_PACKAGE_kmod-usb-net-mcs7830=y +CONFIG_PACKAGE_kmod-usb-net-pegasus=y +CONFIG_PACKAGE_kmod-usb-net-pl=y +CONFIG_PACKAGE_kmod-usb-net-qmi-wwan=y +CONFIG_PACKAGE_kmod-usb-net-qmi-wwan-fibocom=y +CONFIG_PACKAGE_kmod-usb-net-qmi-wwan-quectel=y +CONFIG_PACKAGE_kmod-usb-net-rndis=y +CONFIG_PACKAGE_kmod-usb-net-rtl8150=y +CONFIG_PACKAGE_kmod-usb-net-rtl8152=y +CONFIG_PACKAGE_kmod-usb-net-rtl8152-vendor=m +CONFIG_PACKAGE_kmod-usb-net-sierrawireless=y +CONFIG_PACKAGE_kmod-usb-net-smsc75xx=y +CONFIG_PACKAGE_kmod-usb-net-smsc95xx=y +CONFIG_PACKAGE_kmod-usb-net-sr9700=y +CONFIG_PACKAGE_kmod-usb-ohci=y +CONFIG_PACKAGE_kmod-usb-ohci-pci=y +CONFIG_PACKAGE_kmod-usb-phy-nop=y +CONFIG_PACKAGE_kmod-usb-printer=y +CONFIG_PACKAGE_kmod-usb-roles=y +CONFIG_PACKAGE_kmod-usb-serial=y +CONFIG_PACKAGE_kmod-usb-serial-ark3116=y +CONFIG_PACKAGE_kmod-usb-serial-belkin=y +CONFIG_PACKAGE_kmod-usb-serial-ch341=y +CONFIG_PACKAGE_kmod-usb-serial-cp210x=y +CONFIG_PACKAGE_kmod-usb-serial-cypress-m8=y +CONFIG_PACKAGE_kmod-usb-serial-dmx_usb_module=y +CONFIG_PACKAGE_kmod-usb-serial-edgeport=y +CONFIG_PACKAGE_kmod-usb-serial-ftdi=y +CONFIG_PACKAGE_kmod-usb-serial-garmin=y +CONFIG_PACKAGE_kmod-usb-serial-ipw=y +CONFIG_PACKAGE_kmod-usb-serial-keyspan=y +CONFIG_PACKAGE_kmod-usb-serial-mct=y +CONFIG_PACKAGE_kmod-usb-serial-mos7720=y +CONFIG_PACKAGE_kmod-usb-serial-mos7840=y +CONFIG_PACKAGE_kmod-usb-serial-option=y +CONFIG_PACKAGE_kmod-usb-serial-oti6858=y +CONFIG_PACKAGE_kmod-usb-serial-qualcomm=y +CONFIG_PACKAGE_kmod-usb-serial-sierrawireless=y +CONFIG_PACKAGE_kmod-usb-serial-simple=y +CONFIG_PACKAGE_kmod-usb-serial-ti-usb=y +CONFIG_PACKAGE_kmod-usb-serial-visor=y +CONFIG_PACKAGE_kmod-usb-serial-wwan=y +CONFIG_PACKAGE_kmod-usb-uhci=y +CONFIG_PACKAGE_kmod-usb-wdm=y +CONFIG_PACKAGE_kmod-usb-yealink=y +CONFIG_PACKAGE_kmod-usb2=y +CONFIG_PACKAGE_kmod-usb2-pci=y +CONFIG_PACKAGE_kmod-usbip=y +CONFIG_PACKAGE_kmod-usbip-client=y +CONFIG_PACKAGE_kmod-usbip-server=y +CONFIG_PACKAGE_kmod-usbmon=y +CONFIG_PACKAGE_libatomic=y +CONFIG_PACKAGE_libattr=y +CONFIG_PACKAGE_libbpf=y +CONFIG_PACKAGE_libcap=y +CONFIG_PACKAGE_libcap-bin=y +CONFIG_PACKAGE_libcap-bin-capsh-shell="/bin/sh" +CONFIG_PACKAGE_libcurl=y +CONFIG_PACKAGE_libdbus=y +CONFIG_PACKAGE_libelf=y +CONFIG_PACKAGE_libev=y +CONFIG_PACKAGE_libevdev=y +CONFIG_PACKAGE_libexpat=y +CONFIG_PACKAGE_libffi=y +CONFIG_PACKAGE_libipset=y +CONFIG_PACKAGE_libiptext=y +CONFIG_PACKAGE_libiptext-nft=y +CONFIG_PACKAGE_libiptext6=y +CONFIG_PACKAGE_libkmod=y +CONFIG_PACKAGE_libltdl=y +CONFIG_PACKAGE_liblua5.3=y +CONFIG_PACKAGE_libmbim=y +CONFIG_PACKAGE_libncurses=y +CONFIG_PACKAGE_libnghttp2=y +CONFIG_PACKAGE_libpci=y +CONFIG_PACKAGE_libpcre=y +CONFIG_PACKAGE_libpcre2=y +CONFIG_PACKAGE_libqmi=y +CONFIG_PACKAGE_libqrtr-glib=y +CONFIG_PACKAGE_libreadline=y +CONFIG_PACKAGE_librrd1=y +CONFIG_PACKAGE_libruby=y +CONFIG_PACKAGE_libsodium=y +CONFIG_PACKAGE_libstdcpp=y +CONFIG_PACKAGE_libuci-lua=y +CONFIG_PACKAGE_libudev-zero=y +CONFIG_PACKAGE_libudns=y +CONFIG_PACKAGE_libusb-1.0=y +CONFIG_PACKAGE_libxtables=y +CONFIG_PACKAGE_libyaml=y +CONFIG_PACKAGE_lua-neturl=y +CONFIG_PACKAGE_luci-app-3ginfo-lite=y +# CONFIG_PACKAGE_luci-app-adguardhome is not set +CONFIG_PACKAGE_luci-app-argon-config=y +CONFIG_PACKAGE_luci-app-atcommands=y +CONFIG_PACKAGE_luci-app-autoreboot=y +CONFIG_PACKAGE_luci-app-autotimeset=y +CONFIG_PACKAGE_luci-app-cpu-perf=y +CONFIG_PACKAGE_luci-app-cpu-status=y +CONFIG_PACKAGE_luci-app-modem=y +CONFIG_PACKAGE_luci-app-modeminfo=y +CONFIG_PACKAGE_luci-app-mwan3=y +CONFIG_PACKAGE_luci-app-openclash=y +CONFIG_PACKAGE_luci-app-passwall=y +CONFIG_PACKAGE_luci-app-passwall2=y +CONFIG_PACKAGE_luci-app-passwall2_INCLUDE_Haproxy=y +CONFIG_PACKAGE_luci-app-passwall2_INCLUDE_Shadowsocks_Rust_Client=y +CONFIG_PACKAGE_luci-app-passwall2_INCLUDE_Simple_Obfs=y +CONFIG_PACKAGE_luci-app-passwall2_INCLUDE_SingBox=y +CONFIG_PACKAGE_luci-app-passwall2_INCLUDE_V2ray_Plugin=y +CONFIG_PACKAGE_luci-app-passwall2_Nftables_Transparent_Proxy=y +# CONFIG_PACKAGE_luci-app-passwall_INCLUDE_ShadowsocksR_Libev_Client is not set +# CONFIG_PACKAGE_luci-app-passwall_INCLUDE_Shadowsocks_Libev_Client is not set +# CONFIG_PACKAGE_luci-app-passwall_INCLUDE_Shadowsocks_Libev_Server is not set +# CONFIG_PACKAGE_luci-app-passwall_INCLUDE_Shadowsocks_Rust_Client is not set +CONFIG_PACKAGE_luci-app-sms-tool-js=y +CONFIG_PACKAGE_luci-app-ssr-plus=y +# CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_ShadowsocksR_Libev_Client is not set +CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_Shadowsocks_NONE_Client=y +CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_Shadowsocks_NONE_Server=y +# CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_Shadowsocks_Rust_Client is not set +# CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_Shadowsocks_Rust_Server is not set +CONFIG_PACKAGE_luci-app-statistics=y +CONFIG_PACKAGE_luci-app-temp-status=y +# CONFIG_PACKAGE_luci-app-turboacc_INCLUDE_BBR_CCA is not set +# CONFIG_PACKAGE_luci-app-turboacc_INCLUDE_OFFLOADING is not set +# CONFIG_PACKAGE_luci-app-turboacc_INCLUDE_PDNSD is not set +CONFIG_PACKAGE_luci-app-watchcat=y +CONFIG_PACKAGE_luci-i18n-base-vi=y +# CONFIG_PACKAGE_luci-i18n-base-zh-cn is not set +CONFIG_PACKAGE_luci-i18n-firewall-vi=y +# CONFIG_PACKAGE_luci-i18n-firewall-zh-cn is not set +CONFIG_PACKAGE_luci-i18n-mwan3-vi=y +CONFIG_PACKAGE_luci-i18n-opkg-vi=y +# CONFIG_PACKAGE_luci-i18n-opkg-zh-cn is not set +CONFIG_PACKAGE_luci-i18n-statistics-vi=y +CONFIG_PACKAGE_luci-i18n-watchcat-vi=y +CONFIG_PACKAGE_luci-proto-3g=y +CONFIG_PACKAGE_luci-proto-fm350=y +CONFIG_PACKAGE_luci-proto-modemmanager=y +CONFIG_PACKAGE_luci-proto-xmm=y +CONFIG_PACKAGE_luci-theme-argon=y +CONFIG_PACKAGE_microsocks=y +CONFIG_PACKAGE_modemband=y +CONFIG_PACKAGE_modeminfo=y +CONFIG_PACKAGE_modeminfo-serial-dell=y +CONFIG_PACKAGE_modeminfo-serial-fibocom=y +CONFIG_PACKAGE_modeminfo-serial-gosun=y +CONFIG_PACKAGE_modeminfo-serial-huawei=y +CONFIG_PACKAGE_modeminfo-serial-meig=y +CONFIG_PACKAGE_modeminfo-serial-mikrotik=y +CONFIG_PACKAGE_modeminfo-serial-quectel=y +CONFIG_PACKAGE_modeminfo-serial-sierra=y +CONFIG_PACKAGE_modeminfo-serial-simcom=y +CONFIG_PACKAGE_modeminfo-serial-simcom-a7xxx=y +CONFIG_PACKAGE_modeminfo-serial-styx=y +CONFIG_PACKAGE_modeminfo-serial-telit=y +CONFIG_PACKAGE_modeminfo-serial-thales=y +CONFIG_PACKAGE_modeminfo-serial-tw=y +CONFIG_PACKAGE_modeminfo-serial-xmm=y +CONFIG_PACKAGE_modeminfo-serial-yuge=y +CONFIG_PACKAGE_modeminfo-serial-zte=y +CONFIG_PACKAGE_modemmanager=y +CONFIG_PACKAGE_mosdns=y +CONFIG_PACKAGE_mwan3=y +CONFIG_PACKAGE_pciids=y +CONFIG_PACKAGE_pciutils=y +CONFIG_PACKAGE_quectel-CM-5G=y +CONFIG_PACKAGE_quectel-cm=y +CONFIG_PACKAGE_r8152-firmware=y +CONFIG_PACKAGE_resolveip=y +CONFIG_PACKAGE_rrdtool1=y +CONFIG_PACKAGE_ruby=y +CONFIG_PACKAGE_ruby-bigdecimal=y +CONFIG_PACKAGE_ruby-date=y +CONFIG_PACKAGE_ruby-digest=y +CONFIG_PACKAGE_ruby-enc=y +CONFIG_PACKAGE_ruby-forwardable=y +CONFIG_PACKAGE_ruby-pstore=y +CONFIG_PACKAGE_ruby-psych=y +CONFIG_PACKAGE_ruby-stringio=y +CONFIG_PACKAGE_ruby-yaml=y +CONFIG_PACKAGE_sendat=y +CONFIG_PACKAGE_shadowsocks-rust-sslocal=y +CONFIG_PACKAGE_shadowsocksr-libev-ssr-check=y +CONFIG_PACKAGE_simple-obfs-client=y +CONFIG_PACKAGE_sing-box=y +CONFIG_PACKAGE_sms-tool=y +CONFIG_PACKAGE_tcping=y +CONFIG_PACKAGE_terminfo=y +CONFIG_PACKAGE_trojan-plus=y +CONFIG_PACKAGE_umbim=y +CONFIG_PACKAGE_unzip=y +CONFIG_PACKAGE_uqmi=y +CONFIG_PACKAGE_usbutils=y +CONFIG_PACKAGE_v2dat=y +CONFIG_PACKAGE_v2ray-geoip=y +CONFIG_PACKAGE_v2ray-geosite=y +CONFIG_PACKAGE_v2ray-plugin=y +CONFIG_PACKAGE_watchcat=y +CONFIG_PACKAGE_wwan=y +CONFIG_PACKAGE_xmm-modem=y +CONFIG_PACKAGE_xray-core=y +CONFIG_PACKAGE_xtables-nft=y +CONFIG_PACKAGE_zlib=y +CONFIG_PREINITOPT=y +CONFIG_SING_BOX_BUILD_CLASH_API=y +CONFIG_SING_BOX_BUILD_ECH=y +CONFIG_SING_BOX_BUILD_GVISOR=y +CONFIG_SING_BOX_BUILD_QUIC=y +CONFIG_SING_BOX_BUILD_UTLS=y +CONFIG_SING_BOX_BUILD_WIREGUARD=y +CONFIG_TARGET_DEFAULT_LAN_IP_FROM_PREINIT=y +CONFIG_VERSIONOPT=y +CONFIG_VERSION_BUG_URL="" +CONFIG_VERSION_CODE="" +CONFIG_VERSION_DIST="DOANDUY" +CONFIG_VERSION_FILENAMES=y +CONFIG_VERSION_HOME_URL="" +CONFIG_VERSION_HWREV="" +CONFIG_VERSION_MANUFACTURER="" +CONFIG_VERSION_MANUFACTURER_URL="" +CONFIG_VERSION_NUMBER="" +CONFIG_VERSION_PRODUCT="" +CONFIG_VERSION_REPO="https://downloads.immortalwrt.org/releases/23.05.3" +CONFIG_VERSION_SUPPORT_URL="" +CONFIG_boost-compile-visibility-hidden=y +CONFIG_boost-runtime-shared=y +CONFIG_boost-static-and-shared-libs=y +CONFIG_boost-variant-release=y +# CONFIG_PACKAGE_blkdiscard is not set +CONFIG_PACKAGE_e2fsprogs=y +CONFIG_PACKAGE_kmod-fs-exfat=y +CONFIG_PACKAGE_kmod-fs-ext4=y +CONFIG_PACKAGE_kmod-fs-ntfs3=y +CONFIG_PACKAGE_kmod-fs-vfat=y +CONFIG_PACKAGE_kmod-nls-cp437=y +CONFIG_PACKAGE_kmod-nls-iso8859-1=y +CONFIG_PACKAGE_kmod-nls-utf8=y +CONFIG_PACKAGE_kmod-scsi-core=y +CONFIG_PACKAGE_kmod-usb-storage=y +CONFIG_PACKAGE_kmod-usb-storage-extras=y +CONFIG_PACKAGE_kmod-usb-storage-uas=y +CONFIG_PACKAGE_libblkid=y +CONFIG_PACKAGE_libcomerr=y +CONFIG_PACKAGE_libext2fs=y +# CONFIG_PACKAGE_libmbedtls is not set +CONFIG_PACKAGE_libss=y +CONFIG_PACKAGE_libuuid=y +# CONFIG_PACKAGE_luci-app-passwall2_INCLUDE_ShadowsocksR_Libev_Client is not set +# CONFIG_PACKAGE_luci-app-passwall2_INCLUDE_Shadowsocks_Libev_Client is not set +# CONFIG_PACKAGE_luci-app-turboacc_INCLUDE_SHORTCUT_FE_CM is not set +CONFIG_PACKAGE_ntfs3-mount=y +# CONFIG_PACKAGE_shadowsocks-libev-config is not set +# CONFIG_PACKAGE_shadowsocks-libev-ss-local is not set +# CONFIG_PACKAGE_shadowsocks-libev-ss-redir is not set +# CONFIG_PACKAGE_shadowsocksr-libev-ssr-local is not set +# CONFIG_PACKAGE_shadowsocksr-libev-ssr-redir is not set diff --git a/.github/workflows/ax3000.yml b/.github/workflows/ax3000.yml new file mode 100644 index 00000000000..5ab5ed43773 --- /dev/null +++ b/.github/workflows/ax3000.yml @@ -0,0 +1,190 @@ +# +# Copyright (c) 2023 +# + +name: AX3000 +on: + schedule: + - cron: '0 16 * * 2' + release: + types: [published] + push: + branches: + - master + repository_dispatch: + workflow_dispatch: + inputs: + ssh: + description: "SSH connection to Actions" + required: false + default: "false" + + watch: + types: started +permissions: + contents: write +env: + REPO_URL: https://github.com/immortalwrt/immortalwrt + REPO_BRANCH: master + FEEDS_CONF: feeds.conf.default + CONFIG_FILE: .config-ax3000 + DIY_P1_SH: diy-part1.sh + DIY_P2_SH: diy-part2.sh + UPLOAD_BIN_DIR: false + UPLOAD_FIRMWARE: true + UPLOAD_COWTRANSFER: false + UPLOAD_WETRANSFER: true + UPLOAD_RELEASE: true + TZ: Asia/Ho_Chi_Minh + GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} + custom_99: 99-network-custom.sh + +jobs: + build: + runs-on: ubuntu-20.04 + + steps: + - name: Checkout + uses: actions/checkout@main + + - name: Initialization environment + env: + DEBIAN_FRONTEND: noninteractive + run: | + sudo rm -rf /etc/apt/sources.list.d/* /usr/share/dotnet /usr/local/lib/android /opt/ghc + sudo -E apt-get -qq update + sudo -E apt-get -qq install $(curl -fsSL git.io/depends-ubuntu-22044) + sudo -E apt-get -y install build-essential asciidoc binutils bzip2 gawk gettext git libncurses5-dev libz-dev patch unzip zlib1g-dev lib32gcc1 libc6-dev-i386 subversion flex uglifyjs git-core gcc-multilib p7zip p7zip-full msmtp libssl-dev texinfo libglib2.0-dev xmlto qemu-utils upx libelf-dev autoconf automake libtool autopoint device-tree-compiler + sudo -E apt-get -qq install -y build-essential cmake asciidoc binutils bzip2 gawk gettext git libncurses5-dev libz-dev patch unzip zlib1g-dev lib32gcc1 libc6-dev-i386 subversion flex uglifyjs git-core gcc-multilib g++-multilib p7zip p7zip-full msmtp libssl-dev texinfo libreadline-dev libglib2.0-dev xmlto qemu-utils upx libelf-dev autoconf automake libtool autopoint ccache curl wget vim nano python2.7 python3 python3-pip python3-ply haveged lrzsz device-tree-compiler scons antlr3 gperf intltool mkisofs rsync ecj fastjar file g++ java-propose-classpath libncursesw5-dev python python3-distutils python3-setuptools swig time xsltproc + + sudo -E apt-get -qq autoremove --purge + sudo -E apt-get -qq clean + sudo timedatectl set-timezone "$TZ" + sudo mkdir -p /workdir + sudo chown $USER:$GROUPS /workdir + + - name: Clone source code + working-directory: /workdir + run: | + df -hT $PWD + git clone $REPO_URL -b $REPO_BRANCH openwrt + ln -sf /workdir/openwrt $GITHUB_WORKSPACE/openwrt + + - name: Load custom feeds + run: | + [ -e $FEEDS_CONF ] && mv $FEEDS_CONF openwrt/feeds.conf.default + chmod +x $DIY_P1_SH && sed -i -e 's/\r$//' $GITHUB_WORKSPACE/$DIY_P1_SH + cd openwrt + $GITHUB_WORKSPACE/$DIY_P1_SH + git fetch origin --tags + git describe --tags $(git rev-list --tags --max-count=1) > immortalwrt_version + git checkout -f $(git describe --tags $(git rev-list --tags --max-count=1)) + echo "src-git modem https://github.com/kiddin9/openwrt-packages.git" >> "feeds.conf.default" + rm -rf feeds/packages/lang/golang + git clone https://github.com/kenzok8/golang feeds/packages/lang/golang + + - name: Update feeds + run: cd openwrt && ./scripts/feeds update -a + + - name: Install feeds + run: cd openwrt && ./scripts/feeds install -a + + - name: Load custom configuration + run: | + [ -e files ] && mv files openwrt/files + [ -e $CONFIG_FILE ] && mv $CONFIG_FILE openwrt/.config + #sed -i 's/CONFIG_VERSION_NUMBER\s*=.*/CONFIG_VERSION_NUMBER=$immortalwrt_version/g' openwrt/.config + chmod +x $DIY_P2_SH && sed -i -e 's/\r$//' $GITHUB_WORKSPACE/$DIY_P2_SH + mkdir -p openwrt/files/etc/uci-defaults + mv $custom_99 openwrt/files/etc/uci-defaults/99-custom + cd openwrt + $GITHUB_WORKSPACE/$DIY_P2_SH + + - name: SSH connection to Actions + uses: P3TERX/ssh2actions@v1.0.0 + if: (github.event.inputs.ssh == 'true' && github.event.inputs.ssh != 'false') || contains(github.event.action, 'ssh') + env: + TELEGRAM_CHAT_ID: ${{ secrets.TELEGRAM_CHAT_ID }} + TELEGRAM_BOT_TOKEN: ${{ secrets.TELEGRAM_BOT_TOKEN }} + + - name: Download package + id: package + run: | + cd openwrt + make defconfig + make download -j $(($(nproc)+1)) + find dl -size -1024c -exec ls -l {} \; + find dl -size -1024c -exec rm -f {} \; + + - name: Compile the firmware + id: compile + run: | + cd openwrt + echo -e "$(nproc) thread compile" + make -j $(($(nproc)+1)) || make -j4 || make -j4 V=s + echo "::set-output name=status::success" + grep '^CONFIG_TARGET.*DEVICE.*=y' .config | sed -r 's/.*DEVICE_(.*)=y/\1/' > DEVICE_NAME + [ -s DEVICE_NAME ] && echo "DEVICE_NAME=_$(cat DEVICE_NAME)" >> $GITHUB_ENV + echo "FILE_DATE=_$(date +"%Y%m%d%H%M")" >> $GITHUB_ENV + + - name: If Error + if: steps.compile.outcome == 'failure' + run: | + curl "https://api.telegram.org/bot${{ secrets.TELEGRAM_BOT_TOKEN }}/sendMessage" -d "chat_id=${{ secrets.TELEGRAM_CHAT_ID }}&text=Firmware ${{ env.FILE_NAME }} failed to compile." + cat openwrt/.config + echo '================================================================' + cd openwrt && make -j $(($(nproc)+1)) V=s + + - name: Check space usage + if: (!cancelled()) + run: df -hT + + - name: Upload bin directory + uses: actions/upload-artifact@main + if: steps.compile.outputs.status == 'success' && env.UPLOAD_BIN_DIR == 'true' + with: + name: OpenWrt_bin${{ env.DEVICE_NAME }}${{ env.FILE_DATE }} + path: openwrt/bin + + - name: Organize files + id: organize + if: env.UPLOAD_FIRMWARE == 'true' && !cancelled() + run: | + cd openwrt/bin/targets/*/* + rm -rf packages + echo "FIRMWARE=$PWD" >> $GITHUB_ENV + echo "::set-output name=status::success" + + - name: Upload firmware directory + uses: actions/upload-artifact@main + if: steps.organize.outputs.status == 'success' && !cancelled() + with: + name: DOANDUY-${{ env.DEVICE_NAME }}${{ env.FILE_DATE }} + path: ${{ env.FIRMWARE }} + + - name: Generate release tag + id: tag + if: env.UPLOAD_RELEASE == 'true' && !cancelled() + run: | + touch release.txt + echo "::set-output name=release_tag::$(date +"%Y.%m.%d")" + echo "::set-output name=status::success" + + - name: Upload firmware to release + uses: softprops/action-gh-release@v1 + if: steps.tag.outputs.status == 'success' && !cancelled() + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + tag_name: ${{ steps.tag.outputs.release_tag }} + body_path: release.txt + files: ${{ env.FIRMWARE }}/* + + - name: Remove old Releases + uses: dev-drprasad/delete-older-releases@v0.3.4 + if: env.UPLOAD_RELEASE == 'true' && !cancelled() + with: + keep_latest: 3 + delete_tags: true + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/99-network-custom.sh b/99-network-custom.sh new file mode 100644 index 00000000000..08fc10d1590 --- /dev/null +++ b/99-network-custom.sh @@ -0,0 +1,135 @@ +#!/bin/sh + +. /lib/functions.sh +. /etc/openwrt_release + +wifi_password="TPTlam011205@!" +ten_wifi="TPT Lam" +hostname="DOANDUY" + +uci set dropbear.@dropbear[0].PasswordAuth='on' +uci set dropbear.@dropbear[0].RootPasswordAuth='on' +hmod -R u=rwX,go= /etc/dropbear +uci commit dropbear +/etc/init.d/dropbear restart + +sed -i -re 's/^(option check_signature.*)/#\1/g' /etc/opkg.conf + +uci set network.lan.ipaddr="192.168.1.1" +uci commit network +/etc/init.d/network restart + +uci set 'network.lan.ipv6=0' +uci set 'network.wan.ipv6=0' +uci set 'dhcp.lan.dhcpv6=disabled' +/etc/init.d/odhcpd disable +/etc/init.d/odhcpd stop +uci commit + +uci -q delete dhcp.lan.dhcpv6 +uci -q delete dhcp.lan.ra +uci commit dhcp +/etc/init.d/odhcpd restart + +uci set network.lan.delegate="0" +uci commit network +/etc/init.d/network restart + +uci set base_config.@status[0].SSID='TPT Lam' +uci set base_config.@status[0].SSID_PASSWD=${wifi_password} +uci set base_config.@status[0].country="CN" +uci commit base_config + +uci commit wireless + +# uci set wireless.radio0.disabled="0" +# uci set wireless.radio1.disabled="0" +# uci set wireless.wifinet0.disabled="0" +# uci set wireless.wifinet1.disabled="0" +# uci commit wireless +# uci commit +# uci commit base_config +wifi reload +/sbin/wifi reload + +uci delete system.ntp.server +uci add_list system.ntp.server='0.vn.pool.ntp.org' +uci add_list system.ntp.server='2.asia.pool.ntp.org' +uci add_list system.ntp.server='1.asia.pool.ntp.org' +uci add_list system.ntp.server='125.235.4.198' +uci add_list system.ntp.server='115.73.220.183' +uci add_list system.ntp.server='222.255.146.26' + +uci set system.@system[0]=system +uci set system.@system[0].hostname="${hostname}" +uci set system.@system[0].zonename='Asia/Ho_Chi_Minh' +uci set system.@system[0].timezone='<+07>-7' +uci commit system + + +cat << EOI >> /etc/firewall.include + +nft add rule inet fw4 mangle_prerouting iifname wwan0 ip ttl set 65 +nft add rule inet fw4 mangle_postrouting oifname wwan0 ip ttl set 64 + +nft add rule inet fw4 mangle_prerouting iifname eth1 ip ttl set 65 +nft add rule inet fw4 mangle_postrouting oifname eth1 ip ttl set 64 + +nft add rule inet fw4 mangle_prerouting iifname eth2 ip ttl set 65 +nft add rule inet fw4 mangle_postrouting oifname eth2 ip ttl set 64 + +nft add rule inet fw4 mangle_prerouting iifname eth3 ip ttl set 65 +nft add rule inet fw4 mangle_postrouting oifname eth3 ip ttl set 64 + +nft add rule inet fw4 mangle_prerouting iifname eth4 ip ttl set 65 +nft add rule inet fw4 mangle_postrouting oifname eth4 ip ttl set 64 + +nft add rule inet fw4 mangle_prerouting iifname eth5 ip ttl set 65 +nft add rule inet fw4 mangle_postrouting oifname eth5 ip ttl set 64 + +nft add rule inet fw4 mangle_prerouting iifname wwan1 ip ttl set 65 +nft add rule inet fw4 mangle_postrouting oifname wwan1 ip ttl set 64 + +nft add rule inet fw4 mangle_prerouting iifname usb0 ip ttl set 65 +nft add rule inet fw4 mangle_postrouting oifname usb0 ip ttl set 65 + +nft add rule inet fw4 mangle_prerouting iifname usb1 ip ttl set 65 +nft add rule inet fw4 mangle_postrouting oifname usb1 ip ttl set 65 + +nft add rule inet fw4 mangle_prerouting iifname usb2 ip ttl set 65 +nft add rule inet fw4 mangle_postrouting oifname usb2 ip ttl set 65 + +nft add rule inet fw4 mangle_prerouting iifname usb82 ip ttl set 65 +nft add rule inet fw4 mangle_postrouting oifname usb82 ip ttl set 65 + + +EOI + +uci add firewall include +uci set firewall.@include[0].path='/etc/firewall.include' +uci set firewall.@include[0].fw4_compatible='1' +uci commit firewall +service firewall restart + +cat << EOI >> /etc/init.d/disable_interface.sh + + +EOI + +chmod 755 /etc/init.d/disable_interface.sh + +sed -i '/net.ipv4.ip_default_ttl/d' /etc/sysctl.d/50-local.conf +echo "net.ipv4.ip_default_ttl=64" >> /etc/sysctl.conf +sysctl -p + + +# /etc/init.d/network restart + +uci set network.wwan.apn='m3-world' uci set network.wwan.apn='m3-world' + +uci set network.wwan.apn='v-internet' uci set network.wwan.apn='v-internet' + +uci set network.wwan.apn='m9-wintel' uci set network.wwan.apn='m9-wintel' + +exit 0 + diff --git a/adguardhome.yaml b/adguardhome.yaml new file mode 100644 index 00000000000..fe6d4af29d9 --- /dev/null +++ b/adguardhome.yaml @@ -0,0 +1,321 @@ +http: + pprof: + port: 6060 + enabled: false + address: 192.168.1.1:3001 + session_ttl: 720h +users: + - name: doanduy + password: $2a$10$5EacakbpgRMza/hITelJiuW4AtKhHeGO3b1OrmOC.PGy6qEPzn4Ja +auth_attempts: 5 +block_auth_min: 0 +http_proxy: "" +language: "" +theme: auto +dns: + bind_hosts: + - 0.0.0.0 + port: 5354 + anonymize_client_ip: false + ratelimit: 0 + ratelimit_subnet_len_ipv4: 24 + ratelimit_subnet_len_ipv6: 56 + ratelimit_whitelist: [] + refuse_any: true + upstream_dns: + - '#vnpt' + - '#203.162.4.191' + - '#203.162.4.190' + - '#OpenDNS Home' + - '#208.67.222.222' + - '#208.67.220.220' + - '# AdGuard' + - '#94.140.14.14' + - '#94.140.15.15' + - '# Google' + - 8.8.8.8 + - 8.8.4.4 + - https://dns.google/dns-query + - tls://dns.google + - '# Cisco OpenDNS' + - '#208.67.222.222' + - '#208.67.220.220' + - '#https://doh.opendns.com/dns-query' + - '# Cloudflare DNS' + - 1.1.1.1 + - 1.0.0.1 + - https://dns.cloudflare.com/dns-query + - tls://1.1.1.1 + - 103.113.83.29 + - 103.113.83.30 + - 125.253.125.252 + - 103.249.103.248 + upstream_dns_file: "" + bootstrap_dns: + - 9.9.9.10 + - 149.112.112.10 + - 2620:fe::10 + - 2620:fe::fe:10 + fallback_dns: [] + upstream_mode: parallel + fastest_timeout: 1s + allowed_clients: [] + disallowed_clients: [] + blocked_hosts: + - version.bind + - id.server + - hostname.bind + trusted_proxies: + - 127.0.0.0/8 + - ::1/128 + cache_size: 4194304 + cache_ttl_min: 0 + cache_ttl_max: 0 + cache_optimistic: false + bogus_nxdomain: [] + aaaa_disabled: false + enable_dnssec: false + edns_client_subnet: + custom_ip: "" + enabled: false + use_custom: false + max_goroutines: 300 + handle_ddr: true + ipset: [] + ipset_file: "" + bootstrap_prefer_ipv6: false + upstream_timeout: 10s + private_networks: [] + use_private_ptr_resolvers: false + local_ptr_upstreams: [] + use_dns64: false + dns64_prefixes: [] + serve_http3: false + use_http3_upstreams: false + serve_plain_dns: true + hostsfile_enabled: true +tls: + enabled: false + server_name: "" + force_https: false + port_https: 443 + port_dns_over_tls: 853 + port_dns_over_quic: 853 + port_dnscrypt: 0 + dnscrypt_config_file: "" + allow_unencrypted_doh: false + certificate_chain: "" + private_key: "" + certificate_path: "" + private_key_path: "" + strict_sni_check: false +querylog: + dir_path: "" + ignored: [] + interval: 2160h + size_memory: 1000 + enabled: true + file_enabled: true +statistics: + dir_path: "" + ignored: [] + interval: 24h + enabled: true +filters: + - enabled: true + url: https://adguardteam.github.io/HostlistsRegistry/assets/filter_1.txt + name: AdGuard DNS filter + id: 1 + - enabled: true + url: https://adguardteam.github.io/HostlistsRegistry/assets/filter_2.txt + name: AdAway Default Blocklist + id: 2 + - enabled: true + url: https://adguardteam.github.io/HostlistsRegistry/assets/filter_38.txt + name: 1Hosts (mini) + id: 1713194188 + - enabled: true + url: https://adguardteam.github.io/HostlistsRegistry/assets/filter_48.txt + name: HaGeZi's Pro Blocklist + id: 1713194189 + - enabled: true + url: https://adguardteam.github.io/HostlistsRegistry/assets/filter_47.txt + name: HaGeZi's Gambling Blocklist + id: 1713194190 + - enabled: true + url: https://adguardteam.github.io/HostlistsRegistry/assets/filter_23.txt + name: WindowsSpyBlocker - Hosts spy rules + id: 1713194191 + - enabled: true + url: https://adguardteam.github.io/HostlistsRegistry/assets/filter_29.txt + name: 'CHN: AdRules DNS List' + id: 1713194192 + - enabled: true + url: https://adguardteam.github.io/HostlistsRegistry/assets/filter_21.txt + name: 'CHN: anti-AD' + id: 1713194193 + - enabled: true + url: https://adguardteam.github.io/HostlistsRegistry/assets/filter_16.txt + name: 'VNM: ABPVN List' + id: 1713194194 + - enabled: true + url: https://adguardteam.github.io/HostlistsRegistry/assets/filter_30.txt + name: Phishing URL Blocklist (PhishTank and OpenPhish) + id: 1713194195 + - enabled: true + url: https://adguardteam.github.io/HostlistsRegistry/assets/filter_42.txt + name: ShadowWhisperer's Malware List + id: 1713194196 + - enabled: true + url: https://adguardteam.github.io/HostlistsRegistry/assets/filter_8.txt + name: NoCoin Filter List + id: 1713194197 + - enabled: true + url: https://adguardteam.github.io/HostlistsRegistry/assets/filter_12.txt + name: Dandelion Sprout's Anti-Malware List + id: 1713194198 + - enabled: true + url: https://adguardteam.github.io/HostlistsRegistry/assets/filter_18.txt + name: Phishing Army + id: 1713194199 + - enabled: true + url: https://adguardteam.github.io/HostlistsRegistry/assets/filter_9.txt + name: The Big List of Hacked Malware Web Sites + id: 1713194200 + - enabled: true + url: https://adguardteam.github.io/HostlistsRegistry/assets/filter_10.txt + name: Scam Blocklist by DurableNapkin + id: 1713194201 + - enabled: true + url: https://adguardteam.github.io/HostlistsRegistry/assets/filter_50.txt + name: uBlock₀ filters – Badware risks + id: 1713194202 + - enabled: true + url: https://adguardteam.github.io/HostlistsRegistry/assets/filter_11.txt + name: Malicious URL Blocklist (URLHaus) + id: 1713194203 + - enabled: true + url: https://adguardteam.github.io/HostlistsRegistry/assets/filter_33.txt + name: Steven Black's List + id: 1713194204 + - enabled: true + url: https://adguardteam.github.io/HostlistsRegistry/assets/filter_46.txt + name: HaGeZi's Anti-Piracy Blocklist + id: 1713368044 + - enabled: true + url: https://adguardteam.github.io/HostlistsRegistry/assets/filter_24.txt + name: 1Hosts (Lite) + id: 1713368045 +whitelist_filters: [] +user_rules: + - '@@||icloud.com^' + - '@@||apple.com^' + - '#@@||firebaseremoteconfig.googleapis.com^$important' + - '#@@||rt.applovin.com^$important' + - '#@@||rt.applvn.com^$important' + - '#@@||inapps.appsflyer.com^$important' + - '#@@||api16-access-sg.pangle.io^$important' + - '#@@||launches.appsflyer.com^$important' + - '#@@||googleads.g.doubleclick.net^$important' + - '#@@||ssdk-sg.pangle.io^$important' + - '#@@||tnc16-useast1a.byteoversea.com^$important' + - '#@@||tnc16-alisg.isnssdk.com^$important' + - '#@@||pagead2.googleadservices.com^$important' + - '#@@||a.applovin.com^$important' + - '#@@||a4.applovin.com^$important' + - '#@@||configure-tcp-android.mtgglobals.com^$important' + - '#@@||analytics-tcp.mintegral.net^$important' + - '#@@||ssl.google-analytics.com^$important' + - '#@@||app-measurement.com^$important' + - '#@@||mtg-h5.mtgglobals.com^$important' + - '||avwhipazsdco.com^$important' + - '||vlstorage.com^$important' + - '||choidebet.me^$important' + - '||candycrush-live.ext.p.midasplayer.cloud^$important' + - '||viettelhomewifi.com^$important' + - '||viettelacs.vn^$important' + - '||htucmyqwij.com^$important' + - /googleads.$~script,domain=~googleads.github.io + - /pagead/lvz? + - '||google.com/pagead/' + - '||static.doubleclick.net^$domain=youtube.com' + - '||youtube.com/get_midroll_' + - '||safebrowsing.googleapis-cn.com' + - '||youtube.com/get_video_info**$domain=youtube.com' + - '||prod-lt-playstoregatewayadapter-pa.googleapis.com^$important' + - '||suggestqueries.google.com^$important' + - '||static.ladipage.net^$important' + - '||s.ladicdn.com^$important' + - '||w.ladicdn.com^$important' + - '||okxaplomkpca.com^$important' + - '||cdn.vlcontent.com^$client=''192.168.10.1''' + - '||qph.cf2.quoracdn.net^$important' + - '||googlecloud.no1ssplay.xyz^$important' +dhcp: + enabled: false + interface_name: "" + local_domain_name: lan + dhcpv4: + gateway_ip: "" + subnet_mask: "" + range_start: "" + range_end: "" + lease_duration: 86400 + icmp_timeout_msec: 1000 + options: [] + dhcpv6: + range_start: "" + lease_duration: 86400 + ra_slaac_only: false + ra_allow_slaac: false +filtering: + blocking_ipv4: "" + blocking_ipv6: "" + blocked_services: + schedule: + time_zone: UTC + ids: [] + protection_disabled_until: null + safe_search: + enabled: false + bing: true + duckduckgo: true + google: true + pixabay: true + yandex: true + youtube: true + blocking_mode: refused + parental_block_host: family-block.dns.adguard.com + safebrowsing_block_host: standard-block.dns.adguard.com + rewrites: [] + safebrowsing_cache_size: 1048576 + safesearch_cache_size: 1048576 + parental_cache_size: 1048576 + cache_time: 30 + filters_update_interval: 1 + blocked_response_ttl: 0 + filtering_enabled: true + parental_enabled: false + safebrowsing_enabled: false + protection_enabled: true +clients: + runtime_sources: + whois: true + arp: true + rdns: false + dhcp: true + hosts: true + persistent: [] +log: + file: "" + max_backups: 0 + max_size: 100 + max_age: 3 + compress: false + local_time: false + verbose: false +os: + group: "" + user: "" + rlimit_nofile: 0 +schema_version: 28 diff --git a/diy-part1.sh b/diy-part1.sh new file mode 100644 index 00000000000..bcae48803da --- /dev/null +++ b/diy-part1.sh @@ -0,0 +1,25 @@ +#!/bin/sh +###!/bin/bash +# +# Copyright (c) 2019-2020 P3TERX +# +# This is free software, licensed under the MIT License. +# See /LICENSE for more information. +# +# https://github.com/P3TERX/Actions-OpenWrt +# File name: diy-part1.sh +# Description: OpenWrt DIY script part 1 (Before Update feeds) +# + +# Uncomment a feed source +#sed -i 's/^#\(.*helloworld\)/\1/' feeds.conf.default + +# Add a feed source +#echo 'src-git helloworld https://github.com/fw876/helloworld' >>feeds.conf.default +#echo 'src-git passwall https://github.com/xiaorouji/openwrt-passwall' >>feeds.conf.default + #sed -i '$a src-git kenzo https://github.com/kenzok8/openwrt-packages' feeds.conf.default + #sed -i '$a src-git small https://github.com/kenzok8/small' feeds.conf.default + #echo 'src-git 3Ginfo https://github.com/4IceG/luci-app-3ginfo-lite.git' >>feeds.conf.default + #echo 'src-git Modem https://github.com/4IceG/luci-app-modemband.git' >>feeds.conf.default + #echo 'src-git SMS https://github.com/4IceG/luci-app-sms-tool.git' >>feeds.conf.default + #echo 'src-git atinout https://github.com/4IceG/luci-app-atinout-mod.git' >>feeds.conf.default diff --git a/diy-part2.sh b/diy-part2.sh new file mode 100644 index 00000000000..b1549db831b --- /dev/null +++ b/diy-part2.sh @@ -0,0 +1,35 @@ +#!/bin/bash +# +# Copyright (c) 2019-2020 P3TERX +# +# This is free software, licensed under the MIT License. +# See /LICENSE for more information. +# +# https://github.com/P3TERX/Actions-OpenWrt +# File name: diy-part2.sh +# Description: OpenWrt DIY script part 2 (After Update feeds) +# + +# Modify default IP +sed -i 's/192.168.1.1/192.168.1.1/g' package/base-files/files/bin/config_generate +sed -i '/CONFIG_PACKAGE_glib2=y/d' .config +#echo 'CONFIG_FEED_atinout=y' >>.config +#echo 'CONFIG_PACKAGE_luci-app-atinout-mod=y' >>.config + cd feeds/luci/applications/ +git clone https://github.com/4IceG/luci-app-3ginfo-lite.git +git clone https://github.com/4IceG/luci-app-atcommands.git +git clone https://github.com/4IceG/luci-app-modemband.git +git clone https://github.com/4IceG/luci-app-sms-tool.git +cd /feeds/luci/themes/ +git clone https://github.com/jerrykuku/luci-theme-argon.git +cd ../../.. +./scripts/feeds update -a && ./scripts/feeds install -a +rm -rf feeds/packages/net/mosdns +rm -rf feeds/packages/net/msd_lite +rm -rf feeds/packages/net/smartdns +rm -rf feeds/luci/themes/luci-theme-argon +rm -rf feeds/luci/applications/luci-app-mosdns +rm -rf feeds/luci/applications/luci-app-netdata +rm -rf feeds/packages/lang/golang +git clone https://github.com/kenzok8/golang feeds/packages/lang/golang +./scripts/feeds update -a && ./scripts/feeds install -a diff --git a/feeds.conf.default b/feeds.conf.default index 9eece6fea28..ee995e28af9 100644 --- a/feeds.conf.default +++ b/feeds.conf.default @@ -1,4 +1,4 @@ -src-git-full packages https://github.com/immortalwrt/packages.git;openwrt-21.02 -src-git-full luci https://github.com/immortalwrt/luci.git;openwrt-21.02 -src-git-full routing https://github.com/openwrt/routing.git;openwrt-21.02 -src-git-full telephony https://github.com/openwrt/telephony.git;openwrt-21.02 +src-git-full packages https://github.com/immortalwrt/packages.git +src-git-full luci https://github.com/immortalwrt/luci.git +src-git-full routing https://github.com/openwrt/routing.git +src-git-full telephony https://github.com/openwrt/telephony.git