* Preparation
Thick and short USB micro cable
Linux host computer with being able to provide USB power as much as possible like usb 3.0 and higher.
* Doing things
Connect USB cable between BBGW, and Linux host. and then, ssh connect to 192.168.7.2
# ssh debian@192.168.7.2
.....
debian@beaglebone:~$
debian@beaglebone:~$ sudo connmanctl
Error getting VPN connections: The name net.connman.vpn was not provided by any connmanctl> enable wifi
Error wifi: Already enabled
connmanctl> scan wifi
Scan completed for wifi
connmanctl> services
DESKTOP-7MMLAUO 1038 wifi_2cf7f106571a_4445534b544f502d374d4d4c41554f2031303338_managed_psk
U+zone wifi_2cf7f106571a_552b7a6f6e65_managed_ieee8021x
FREE_U+zone wifi_2cf7f106571a_465245455f552b7a6f6e65_managed_none
LGU+_POLY wifi_2cf7f106571a_4c47552b5f504f4c59_managed_psk
connmanctl> agent on
Agent registered
connmanctl> connect wifi_2cf7f106571a_4
wifi_2cf7f106571a_4445534b544f502d374d4d4c41554f2031303338_managed_psk
wifi_2cf7f106571a_465245455f552b7a6f6e65_managed_none
wifi_2cf7f106571a_4c47552b5f504f4c59_managed_psk
connmanctl> connect wifi_2cf7f106571a_4
wifi_2cf7f106571a_4445534b544f502d374d4d4c41554f2031303338_managed_psk
wifi_2cf7f106571a_465245455f552b7a6f6e65_managed_none
wifi_2cf7f106571a_4c47552b5f504f4c59_managed_psk
connmanctl> connect wifi_2cf7f106571a_4445534b544f502d374d4d4c41554f2031303338_managed_psk
Agent RequestInput wifi_2cf7f106571a_4445534b544f502d374d4d4c41554f2031303338_managed_psk
Passphrase = [ Type=psk, Requirement=mandatory, Alternates=[ WPS ] ]
WPS = [ Type=wpspin, Requirement=alternate ]
Passphrase? $(user_passwd)
Connected wifi_2cf7f106571a_4445534b544f502d374d4d4c41554f2031303338_managed_psk
connmanctl> quit
debian@beaglebone:~$ ifconfig -a
SoftAp0 Link encap:Ethernet HWaddr a0:f6:fd:8a:04:fb
inet addr:192.168.8.1 Bcast:192.168.8.255 Mask:255.255.255.0
inet6 addr: fe80::a2f6:fdff:fe8a:4fb/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:36 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:8421 (8.2 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:370 errors:0 dropped:0 overruns:0 frame:0
TX packets:370 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1
RX bytes:29149 (28.4 KiB) TX bytes:29149 (28.4 KiB)
usb0 Link encap:Ethernet HWaddr a0:f6:fd:8a:04:f0
inet addr:192.168.7.2 Bcast:192.168.7.255 Mask:255.255.255.0
inet6 addr: fe80::a2f6:fdff:fe8a:4f0/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1516 errors:0 dropped:0 overruns:0 frame:0
TX packets:1166 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:102420 (100.0 KiB) TX bytes:397352 (388.0 KiB)
wlan0 Link encap:Ethernet HWaddr 2c:f7:f1:06:57:1a
inet addr:192.168.137.71 Bcast:192.168.137.255 Mask:255.255.255.0
inet6 addr: fe80::2ef7:f1ff:fe06:571a/64 Scope:Link
UP BROADCAST RUNNING MULTICAST DYNAMIC MTU:1500 Metric:1
RX packets:14 errors:0 dropped:0 overruns:0 frame:0
TX packets:72 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1911 (1.8 KiB) TX bytes:16732 (16.3 KiB)
debian@beaglebone:~$ sudo apt update