zl程序教程

您现在的位置是:首页 >  其他

当前栏目

mac编译openwrt笔记

2023-04-18 14:42:46 时间
gmake
brew install make
export
gnu find
brew install findutils 
/usr/local/Cellar/findutils/4.8.0_1/bin:/usr/local/Cellar/make/4.3/bin:/usr/local/opt/make/libexec/gnubin:$PATH

创建内存盘

30*1024*1024*1024/512
62914560  = 30G
hdiutil attach -nomount ram://62914560  

在MacOS上创建大小写敏感文件分区

newfs_hfs -s -v 'OpenWrt' /dev/disk2

代理

vim ~/.zshrc
# proxy list

注意这里的端口号,要写成你自己的

alias proxy='export all_proxy=socks5://127.0.0.1:1080'
alias unproxy='unset all_proxy'
source ~/.zshrc
proxy
curl cip.cc