OpenMarine

Full Version: wifi ap dead 0.8.0beta
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
cloned 0.8.0beta to Pi 3 - connected from my laptop by vpn, all looks good. connected to the wifi ap from my laptop -  vpn connection instantly killed. Have tried to disable, enable wifi ap from openplotter, reboot etc - no love. 

Disabled wifi AP from openplotter, closed, shutdown, restarted:

pi@openplotter:~ $ ifconfig
eth0      Link encap:Ethernet  HWaddr b8:27:eb:d4:4f:b9  
          inet addr:192.168.1.10  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::6ce1:4033:cc67:5725/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1047 errors:0 dropped:4 overruns:0 frame:0
          TX packets:2082 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:66920 (65.3 KiB)  TX bytes:707441 (690.8 KiB)
 
lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:19960 errors:0 dropped:0 overruns:0 frame:0
          TX packets:19960 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:1559352 (1.4 MiB)  TX bytes:1559352 (1.4 MiB)
 
wlan0     Link encap:Ethernet  HWaddr b8:27:eb:81:1a:ec  
          inet addr:192.168.1.15  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1279 errors:0 dropped:32 overruns:0 frame:0
          TX packets:42 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:157643 (153.9 KiB)  TX bytes:7799 (7.6 KiB)
 
pi@openplotter:~ $ 
pi@openplotter:~ $ 
pi@openplotter:~ $ python /home/pi/.config/openplotter/openplotter.py
 
In Openplotter - wifi ap tab - Click enable
 
Failed to stop hostapd.service: Unit hostapd.service not loaded.
ifdown: failed to open lockfile /run/network/.ifstate.lock: No such file or directory
Traceback (most recent call last):
  File "/home/pi/.config/openplotter/wifi_server.py", line 96, in <module>
    output=subprocess.call(['/etc/init.d/network-manager', 'restart'])
  File "/usr/lib/python2.7/subprocess.py", line 522, in call
    return Popen(*popenargs, **kwargs).wait()
  File "/usr/lib/python2.7/subprocess.py", line 710, in __init__
    errread, errwrite)
  File "/usr/lib/python2.7/subprocess.py", line 1335, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory
Traceback (most recent call last):
  File "/home/pi/.config/openplotter/openplotter.py", line 931, in onwifi_enable
    wifi_result=subprocess.check_output(['sudo', 'python', currentpath+'/wifi_server.py', '1', wlan, passw, ssid, share])                
  File "/usr/lib/python2.7/subprocess.py", line 573, in check_output
    raise CalledProcessError(retcode, cmd, output=output)
subprocess.CalledProcessError: Command '['sudo', 'python', '/home/pi/.config/openplotter/wifi_server.py', '1', u'wlan0', 'xyz', u'xyz', u'eth0']' returned non-zero exit status 1

Everything else looks great so far!  Thanks.
I ended up reloading v0.7.1 image on sd card and starting over. All good, wifi issue did not reoccur.