Uncategorized

OpenWRT之用几年之23.05.3记

正确安装dnsmasq-full的方式。如果先卸载掉dnsmasq的话有可能因为没有了dns服务而安装不了full版。那就会比较麻烦一点。所以用以下方式安装会方便很多。

opkg update
cd /tmp/ && opkg download dnsmasq-full
opkg remove dnsmasq
opkg install dnsmasq-full --cache /tmp/
rm -f /tmp/dnsmasq-full*.ipk


0, 部署ddns.sh,动态DDNS。

1,安装openclash

https://github.com/vernesong/OpenClash/releases

因为openwrt 24.10.1是ntfables, 所以使用下面的

#nftables
opkg update
opkg install bash dnsmasq-full curl ca-bundle ip-full ruby ruby-yaml kmod-tun kmod-inet-diag unzip kmod-nft-tproxy luci-compat luci luci-base
opkg install /tmp/openclash.ipk

然后scp上传luci-app-openclash_0.46.086_all.ipk

然后opkg install -i luci-app-openclash_0.46.086_all.ipk


2,

opkg install block-mount fdisk lsblk
lsblk
block info
swapon /dev/mmcblk0p7
free -h
mkdir -p /mnt/data
mount /dev/mmcblk0p8 /mnt/data
George

Geek for fun.

https://jimy.fun

Leave a Reply

Your email address will not be published. Required fields are marked *

Back To Top