Fix WiFi issues
This commit is contained in:
parent
aa75cfc0f7
commit
4a3e5957bb
3 changed files with 55 additions and 2 deletions
|
@ -62,7 +62,7 @@ counter=0
|
|||
while [ $counter -lt 60 ]
|
||||
do
|
||||
# Retrieve hosts file from server
|
||||
if /usr/bin/wget -O/etc/hosts https://admin360.kumi.host/hosts --post-data "secret=$SECRET" --no-check-certificate >/var/log/wget 2>&1
|
||||
if /usr/bin/wget -O/etc/hosts https://admin360.kumi.host/hosts --timeout=2 --post-data "secret=$SECRET" --no-check-certificate >/var/log/wget 2>&1
|
||||
then
|
||||
|
||||
if pgrep "openvpn" >/dev/null
|
||||
|
|
|
@ -30,5 +30,57 @@ config interface 'DHCP'
|
|||
option netmask '255.255.255.0'
|
||||
option ifname 'lo'
|
||||
|
||||
config interface 'wwan'
|
||||
config interface 'wwan1'
|
||||
option proto 'dhcp'
|
||||
|
||||
config interface 'wwan2'
|
||||
option proto 'dhcp'
|
||||
|
||||
config interface 'wwan3'
|
||||
option proto 'dhcp'
|
||||
|
||||
config interface 'wwan4'
|
||||
option proto 'dhcp'
|
||||
|
||||
config interface 'wwan5'
|
||||
option proto 'dhcp'
|
||||
|
||||
config interface 'wwan6'
|
||||
option proto 'dhcp'
|
||||
|
||||
config interface 'wwan7'
|
||||
option proto 'dhcp'
|
||||
|
||||
config interface 'wwan8'
|
||||
option proto 'dhcp'
|
||||
|
||||
config interface 'wwan9'
|
||||
option proto 'dhcp'
|
||||
|
||||
config interface 'wwan10'
|
||||
option proto 'dhcp'
|
||||
|
||||
config interface 'wwan11'
|
||||
option proto 'dhcp'
|
||||
|
||||
config interface 'wwan12'
|
||||
option proto 'dhcp'
|
||||
|
||||
config interface 'wwan13'
|
||||
option proto 'dhcp'
|
||||
|
||||
config interface 'wwan14'
|
||||
option proto 'dhcp'
|
||||
|
||||
config interface 'wwan15'
|
||||
option proto 'dhcp'
|
||||
|
||||
config interface 'wwan16'
|
||||
option proto 'dhcp'
|
||||
|
||||
config interface 'wwan17'
|
||||
option proto 'dhcp'
|
||||
|
||||
config interface 'wwan18'
|
||||
option proto 'dhcp'
|
||||
|
||||
|
|
|
@ -12,6 +12,7 @@ urlpatterns = [
|
|||
path('devices/<int:device_id>/delete/', views.deletedevice, name="deletedevice"),
|
||||
path('devices/<int:device_id>/reboot/', views.rebootdevice, name="rebootdevice"),
|
||||
path('heartbeat', views.heartbeat, name='heartbeat'),
|
||||
path('wireless', views.wireless, name='wireless'),
|
||||
path('makedevice/', views.makedevice, name="makedevice"),
|
||||
path('makewifi/', views.makewifi, name='makewifi'),
|
||||
path('wifi/<int:wifi_id>/edit/', views.editwifi, name='editwifi'),
|
||||
|
|
Loading…
Reference in a new issue