mirror of
https://github.com/open-sdr/openwifi.git
synced 2025-04-09 20:01:15 +00:00
Adapt wgd.sh and fosdem.sh for kuiper Linux environment
This commit is contained in:
parent
3933c53031
commit
5a9ac0d13e
@ -15,12 +15,14 @@ killall hostapd
|
||||
killall webfsd
|
||||
|
||||
cd ~/openwifi
|
||||
service network-manager stop
|
||||
# service network-manager stop
|
||||
# ./wgd.sh $test_mode
|
||||
ifconfig sdr0 192.168.13.1
|
||||
route add default gw 192.168.10.1
|
||||
rm /var/run/dhcpd.pid
|
||||
sleep 1
|
||||
service isc-dhcp-server restart
|
||||
hostapd hostapd-openwifi-11ag.conf &
|
||||
sleep 5
|
||||
cd webserver
|
||||
webfsd -F -p 80 -f index.html &
|
||||
route add default gw 192.168.10.1
|
||||
|
@ -15,12 +15,15 @@ killall hostapd
|
||||
killall webfsd
|
||||
|
||||
cd ~/openwifi
|
||||
service network-manager stop
|
||||
# service network-manager stop
|
||||
# ./wgd.sh $test_mode
|
||||
ifconfig sdr0 192.168.13.1
|
||||
route add default gw 192.168.10.1
|
||||
rm /var/run/dhcpd.pid
|
||||
sleep 1
|
||||
service isc-dhcp-server restart
|
||||
hostapd hostapd-openwifi.conf &
|
||||
sleep 5
|
||||
cd webserver
|
||||
webfsd -F -p 80 -f index.html &
|
||||
route add default gw 192.168.10.1
|
||||
|
||||
|
@ -125,10 +125,15 @@ fi
|
||||
|
||||
echo " "
|
||||
|
||||
service network-manager stop
|
||||
killall hostapd
|
||||
service dhcpcd stop #dhcp client. it will get secondary ip for sdr0 which causes trouble
|
||||
killall dhcpd
|
||||
killall wpa_supplicant
|
||||
#service network-manager stop
|
||||
ifconfig sdr0 down
|
||||
|
||||
rmmod sdr
|
||||
insert_check_module ./ ad9361_drv
|
||||
# insert_check_module ./ ad9361_drv
|
||||
|
||||
if [ $DOWNLOAD_FLAG -eq 1 ]; then
|
||||
download_module fpga $TARGET_DIR
|
||||
@ -142,7 +147,7 @@ else
|
||||
fi
|
||||
|
||||
./rf_init_11n.sh
|
||||
insert_check_module ./ xilinx_dma
|
||||
# insert_check_module ./ xilinx_dma
|
||||
|
||||
depmod
|
||||
modprobe mac80211
|
||||
@ -161,8 +166,8 @@ do
|
||||
fi
|
||||
done
|
||||
|
||||
[ -e /tmp/check_calib_inf.pid ] && kill -0 $(</tmp/check_calib_inf.pid)
|
||||
./check_calib_inf.sh
|
||||
# [ -e /tmp/check_calib_inf.pid ] && kill -0 $(</tmp/check_calib_inf.pid)
|
||||
# ./check_calib_inf.sh
|
||||
|
||||
echo the end
|
||||
# dmesg
|
||||
|
Loading…
x
Reference in New Issue
Block a user