blob: 1ab728af6b1702bbc125a35761d412b1e716de69 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
iwconfig wlan1 rate 18M AUTO
iwconfig wlan1 frag 256
iwconfig wlan1 rts 256
iwconfig wlan1 retry short 31
iwconfig wlan1 retry long 31
#ifconfig wlan1 10.0.0.98 netmask 255.255.255.0
#route add -net 10.0.0.0 netmask 255.255.255.0 dev wlan1
#route add default gw 10.0.0.1 dev wlan1
#route del default gw 0.0.0.0 dev eth0
echo 'nameserver 1.1.1.1' > /etc/resolv.conf
sysctl -w net.ipv6.conf.all.disable_ipv6=1
sysctl -w net.ipv6.conf.default.disable_ipv6=1
sysctl -w net.ipv6.conf.lo.disable_ipv6=1
touch /boot/ssh
/usr/local/bin/wifi-restart-on-no-ping.sh &
exit 0
|