1 Star 0 Fork 0

zhoub86/scatter-phy

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
run.sh 589 Bytes
一键复制 编辑 原始数据 按行查看 历史
zz4fap 提交于 2019-11-01 15:01 . Add files via upload
#!/bin/bash
# NEED to be a sudoer in your system to run this without prompt for password
# execute "sudo visudo" and add the following line to become a sudoer without need for password:
# username ALL=(ALL) NOPASSWD: ALL
if [ "$EUID" -ne 0 ]
then echo "Please run as root"
exit
fi
IP=${1:-192.168.2.1/24}
exec > /dev/null 2>&1
mkdir -p build
cd build
cmake ..
make
cd ..
sleep 2
#Set your own mac address
#sudo ifconfig tap0 down
#sudo ifconfig tap0 hw ether ea:be:14:a2:b8:1
#sudo ifconfig tap0 up
sudo build/phy/trx -v -f 1000000000 -B 20000000 > phy_log.txt 2>&1 &
sleep 8
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/zhoub86/scatter-phy.git
git@gitee.com:zhoub86/scatter-phy.git
zhoub86
scatter-phy
scatter-phy
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385