We have upgraded the community system as part of the upgrade a password reset is required for all users before login in.

Troubles with Getting Started



  • @Alex-Kouznetsov

    There's some useful checks that can be done as mentioned here: FAQ: How do I check if I'm successfully connected to a WiFi network?



  • @cas said in Troubles with Getting Started:

    Regarding current version, it is the firmware version that is of interest, which you can quickly get from typing oupgrade -c.

    It is 0.2.2 b200

    After reconnecting, after the AP has been dropped, run dmesg which shows the kernel messages. Post whatever is displayed after and including the 'WARP CORE' logo.

    [   20.735698] _      _____   ___  ___    _________  ___  ____
    [   20.735698] | | /| / / _ | / _ \/ _ \  / ___/ __ \/ _ \/ __/ V1.0
    [   20.735698] | |/ |/ / __ |/ , _/ ___/ / /__/ /_/ / , _/ _/
    [   20.735698] |__/|__/_/ |_/_/|_/_/     \___/\____/_/|_/___/
    [   20.735698]             Onion Enhanced MT7688 WiFi Driver
    [   20.735698]
    [   20.771117] ttyS0: 2 input overrun(s)
    [   20.938022] DMA Scheduler Mode=0(LMAC)
    [   20.941856] efuse_probe: efuse = 10000012
    [   20.946062] 1. Phy Mode = 14
    [   21.110476] 2. Phy Mode = 14
    [   21.113453] 3. Phy Mode = 14
    [   21.120554]  WTBL Segment 1 info:
    [   21.123970]          MemBaseAddr/FID:0x28000/0
    [   21.127915]          EntrySize/Cnt:32/128
    [   21.131360]  WTBL Segment 2 info:
    [   21.134730]          MemBaseAddr/FID:0x40000/0
    [   21.138638]          EntrySize/Cnt:64/128
    [   21.142082]  WTBL Segment 3 info:
    [   21.145471]          MemBaseAddr/FID:0x42000/64
    [   21.149447]          EntrySize/Cnt:64/128
    [   21.152890]  WTBL Segment 4 info:
    [   21.156279]          MemBaseAddr/FID:0x44000/128
    [   21.160343]          EntrySize/Cnt:32/128
    [   29.761266] device ra0 entered promiscuous mode
    [   29.766147] br-wlan: port 1(ra0) entered forwarding state
    [   29.771662] br-wlan: port 1(ra0) entered forwarding state
    [   29.778326] IPv6: ADDRCONF(NETDEV_CHANGE): br-wlan: link becomes ready
    [   31.156499] Interface apcli0 link up! (WPA2PSK AES)
    [   31.764515] br-wlan: port 1(ra0) entered forwarding state
    [   36.077896] random: nonblocking pool is initialized
    [   59.251167] Interface apcli0 link up! (WPA2PSK AES)
    [  133.247252] Interface apcli0 link up! (WPA2PSK AES)
    [  538.247011] Interface apcli0 link up! (WPA2PSK AES)
    [ 3122.705516] da match,0x40a36bc209cf
    [ 3837.295662] Interface apcli0 link up! (WPA2PSK AES)
    [ 4138.299637] Interface apcli0 link up! (WPA2PSK AES)
    [ 6537.297814] Interface apcli0 link up! (WPA2PSK AES)
    [ 6839.295687] Interface apcli0 link up! (WPA2PSK AES)
    [ 7797.299408] Interface apcli0 link up! (WPA2PSK AES)
    [ 9509.295688] Interface apcli0 link up! (WPA2PSK AES)
    [12691.295552] Interface apcli0 link up! (WPA2PSK AES)
    [12843.455629] Interface apcli0 link up! (WPA2PSK AES)
    [13261.455574] Interface apcli0 link up! (WPA2PSK AES)
    [13865.460495] Interface apcli0 link up! (WPA2PSK AES)
    [13921.460294] Interface apcli0 link up! (WPA2PSK AES)
    [14341.459856] Interface apcli0 link up! (WPA2PSK AES)
    [14393.458594] Interface apcli0 link up! (WPA2PSK AES)
    [18274.458336] Interface apcli0 link up! (WPA2PSK AES)
    [24559.597220] Interface apcli0 link up! (WPA2PSK AES)
    [24619.275398] Interface apcli0 link up! (WPA2PSK AES)
    [25557.288094] Interface apcli0 link up! (WPA2PSK AES)
    [26037.285354] Interface apcli0 link up! (WPA2PSK AES)
    [33121.285218] Interface apcli0 link up! (WPA2PSK AES)
    [41145.287345] Interface apcli0 link up! (WPA2PSK AES)
    [41410.187387] br-wlan: port 1(ra0) entered disabled state
    [41410.872657] device ra0 left promiscuous mode
    [41410.877169] br-wlan: port 1(ra0) entered disabled state
    [41410.937400] IPv6: ADDRCONF(NETDEV_UP): br-wlan: link is not ready
    [41411.286926]
    [41411.286926] _      _____   ___  ___    _________  ___  ____
    [41411.286926] | | /| / / _ | / _ \/ _ \  / ___/ __ \/ _ \/ __/ V1.0
    [41411.286926] | |/ |/ / __ |/ , _/ ___/ / /__/ /_/ / , _/ _/
    [41411.286926] |__/|__/_/ |_/_/|_/_/     \___/\____/_/|_/___/
    [41411.286926]             Onion Enhanced MT7688 WiFi Driver
    [41411.286926]
    [41411.464138] DMA Scheduler Mode=0(LMAC)
    [41411.467972] efuse_probe: efuse = 10000012
    [41411.472094] 1. Phy Mode = 14
    [41411.639596] 2. Phy Mode = 14
    [41411.642575] 3. Phy Mode = 14
    [41411.646144]  WTBL Segment 1 info:
    [41411.649513]          MemBaseAddr/FID:0x28000/0
    [41411.653401]          EntrySize/Cnt:32/128
    [41411.656906]  WTBL Segment 2 info:
    [41411.660271]          MemBaseAddr/FID:0x40000/0
    [41411.664356]          EntrySize/Cnt:64/128
    [41411.667811]  WTBL Segment 3 info:
    [41411.671172]          MemBaseAddr/FID:0x42000/64
    [41411.675185]          EntrySize/Cnt:64/128
    [41411.678631]  WTBL Segment 4 info:
    [41411.681991]          MemBaseAddr/FID:0x44000/128
    [41411.686099]          EntrySize/Cnt:32/128
    [41419.367254] device ra0 entered promiscuous mode
    [41419.372000] br-wlan: port 1(ra0) entered forwarding state
    [41419.377623] br-wlan: port 1(ra0) entered forwarding state
    [41419.384646] IPv6: ADDRCONF(NETDEV_CHANGE): br-wlan: link becomes ready
    [41420.696102] Interface apcli0 link up! (WPA2PSK AES)
    [41421.373803] br-wlan: port 1(ra0) entered forwarding state
    [41434.695216] Interface apcli0 link up! (WPA2PSK AES)
    root@Omega-09CF:~#
    


  • @cas said in Troubles with Getting Started:

    It's difficult to offer you advice in a trial-and-error fashion as this may result in the AP to stop working and since you only have a PowerDock2 with no serial capability, you will be unable to connect back to your omega2+ and troubleshoot if this happens.

    I am going to add serial connection to my PowerDock2.

    I already tried to hook an external USB-UART bridge to the related Omega2 pins. If the bridge is connected before I powered up Omega, then it does not work. If I connect it afterwards then I can see kernel messages, but I cannot talk to Omega.

    I guess I should reproduce that part of Expansion Dock circuitry more thoroughly: add resistors between Omega2 and bridge and power it the same way as it is powered in Expansion Dock.



  • @Alex-Kouznetsov
    Well this line from your kernel messages would seem to indicate that a successful client connection is being made:

    Interface apcli0 link up! (WPA2PSK AES)
    

    This is the client interface device and the link is up, indicating a successful connection.

    So if that's the case, it's not clear why networking is not working, unless your home AP is not providing an IP address to your device. Once connected, have you tried pinging the IP of your home AP? If you're not sure of the AP's IP, check the gateway value of a working connection on a successfully connected device such as a laptop.

    Did you try the checks for successful connectivity I mentioned previously, specifically the IFCONFIG section?



  • @cas said in Troubles with Getting Started:

    it's not clear why networking is not working

    Today it works. I did not change anything. But today when I booted Omega and connected via SSH, I can ping -w 10 google.com, I can run opkg update, I can run opkg install python3.



  • @Alex-Kouznetsov
    Ah well, that's good I suppose, but not knowing what happened to resolve the problem means it might happen again.
    Anyway happy hacking while it works!!



  • @cas said in Troubles with Getting Started:

    happy hacking while it works

    Thank you. Yesterday it worked. Today it does not work any more. Maybe it does not work on even dates.

    opkg update

      / __ \___  (_)__  ___    / __ \__ _  ___ ___ ____ _
     / /_/ / _ \/ / _ \/ _ \  / /_/ /  ' \/ -_) _ `/ _ `/
     \____/_//_/_/\___/_//_/  \____/_/_/_/\__/\_, /\_,_/
     W H A T  W I L L  Y O U  I N V E N T ? /___/
     -----------------------------------------------------
       Ω-ware: 0.2.2 b200
     -----------------------------------------------------
    root@Omega-09CF:~# opkg update
    Downloading http://repo.onion.io/omega2/packages/core/Packages.gz
    *** Failed to download the package list from http://repo.onion.io/omega2/packages/core/Packages.gz
    
    Downloading http://repo.onion.io/omega2/packages/base/Packages.gz
    *** Failed to download the package list from http://repo.onion.io/omega2/packages/base/Packages.gz
    
    Downloading http://repo.onion.io/omega2/packages/packages/Packages.gz
    *** Failed to download the package list from http://repo.onion.io/omega2/packages/packages/Packages.gz
    
    Downloading http://repo.onion.io/omega2/packages/routing/Packages.gz
    *** Failed to download the package list from http://repo.onion.io/omega2/packages/routing/Packages.gz
    
    Downloading http://repo.onion.io/omega2/packages/onion/Packages.gz
    *** Failed to download the package list from http://repo.onion.io/omega2/packages/onion/Packages.gz
    
    Collected errors:
     * opkg_download: Failed to download http://repo.onion.io/omega2/packages/core/Packages.gz, wget returned 4.
     * opkg_download: Check your network settings and connectivity.
    
     * opkg_download: Failed to download http://repo.onion.io/omega2/packages/base/Packages.gz, wget returned 4.
     * opkg_download: Check your network settings and connectivity.
    
     * opkg_download: Failed to download http://repo.onion.io/omega2/packages/packages/Packages.gz, wget returned 4.
     * opkg_download: Check your network settings and connectivity.
    
     * opkg_download: Failed to download http://repo.onion.io/omega2/packages/routing/Packages.gz, wget returned 4.
     * opkg_download: Check your network settings and connectivity.
    
     * opkg_download: Failed to download http://repo.onion.io/omega2/packages/onion/Packages.gz, wget returned 4.
     * opkg_download: Check your network settings and connectivity.
    
    

    ping to ADSL modem

    root@Omega-09CF:~# ping -w 10 192.168.1.254
    PING 192.168.1.254 (192.168.1.254): 56 data bytes
    
    --- 192.168.1.254 ping statistics ---
    10 packets transmitted, 0 packets received, 100% packet loss
    

    dmesg

    [   21.535512] | | /| / / _ | / _ \/ _ \  / ___/ __ \/ _ \/ __/ V1.0
    [   21.535512] | |/ |/ / __ |/ , _/ ___/ / /__/ /_/ / , _/ _/
    [   21.535512] |__/|__/_/ |_/_/|_/_/     \___/\____/_/|_/___/
    [   21.535512]             Onion Enhanced MT7688 WiFi Driver
    [   21.535512]
    [   21.570971] ttyS0: 4 input overrun(s)
    [   21.758456] DMA Scheduler Mode=0(LMAC)
    [   21.762290] efuse_probe: efuse = 10000012
    [   21.766492] 1. Phy Mode = 14
    [   21.934152] 2. Phy Mode = 14
    [   21.937186] 3. Phy Mode = 14
    [   21.941064]  WTBL Segment 1 info:
    [   21.944482]          MemBaseAddr/FID:0x28000/0
    [   21.948371]          EntrySize/Cnt:32/128
    [   21.951815]  WTBL Segment 2 info:
    [   21.955224]          MemBaseAddr/FID:0x40000/0
    [   21.959156]          EntrySize/Cnt:64/128
    [   21.962602]  WTBL Segment 3 info:
    [   21.965980]          MemBaseAddr/FID:0x42000/64
    [   21.969956]          EntrySize/Cnt:64/128
    [   21.973399]  WTBL Segment 4 info:
    [   21.976772]          MemBaseAddr/FID:0x44000/128
    [   21.980859]          EntrySize/Cnt:32/128
    [   30.668243] device ra0 entered promiscuous mode
    [   30.673040] br-wlan: port 1(ra0) entered forwarding state
    [   30.678623] br-wlan: port 1(ra0) entered forwarding state
    [   30.685578] IPv6: ADDRCONF(NETDEV_CHANGE): br-wlan: link becomes ready
    [   30.692640] ttyS0: 3 input overrun(s)
    [   32.076137] Interface apcli0 link up! (WPA2PSK AES)
    [   32.674479] br-wlan: port 1(ra0) entered forwarding state
    [   35.608407] random: nonblocking pool is initialized
    [  139.630163] Interface apcli0 link up! (WPA2PSK AES)
    [  199.305539] Interface apcli0 link up! (WPA2PSK AES)
    [  437.310565] Interface apcli0 link up! (WPA2PSK AES)
    [  765.305815] Interface apcli0 link up! (WPA2PSK AES)
    root@Omega-09CF:~#
    

    wifisetup list

    root@Omega-09CF:~# wifisetup list
    { "results": [ { "enabled": true, "ssid": "*****", "encryption": "psk2", "password": "************", "bssid": "00:04:ed:48:4e:3a" }, { "enabled": false, "ssid": "************", "encryption": "psk2", "password": "****************" } ], "success": true }
    


  • iwconfig

    root@Omega-09CF:~# iwconfig
    lo        no wireless extensions.
    
    ra0       RTWIFI SoftAP  ESSID:"Omega-09CF"
              Mode:Managed  Channel=5  Access Point: 40:A3:6B:C2:09:CF
              Bit Rate=150 Mb/s
    
    eth0      no wireless extensions.
    
    br-wlan   no wireless extensions.
    
    apcli0    RTWIFI SoftAP  ESSID:"******"
              Mode:Managed  Channel=5  Access Point: 00:04:ED:48:4E:3A
              Bit Rate=150 Mb/s
    

    ifconfig

    root@Omega-09CF:~# ifconfig
    apcli0    Link encap:Ethernet  HWaddr 40:A3:6B:C2:09:D0
              inet addr:192.168.1.4  Bcast:192.168.1.255  Mask:255.255.255.0
              inet6 addr: fe80::42a3:6bff:fec2:9d0/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
    
    br-wlan   Link encap:Ethernet  HWaddr 40:A3:6B:C2:09:CF
              inet addr:192.168.3.1  Bcast:192.168.3.255  Mask:255.255.255.0
              inet6 addr: fe80::42a3:6bff:fec2:9cf/64 Scope:Link
              inet6 addr: fd1d:48c4:7633::1/60 Scope:Global
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:208 errors:0 dropped:0 overruns:0 frame:0
              TX packets:123 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:17964 (17.5 KiB)  TX bytes:20155 (19.6 KiB)
    
    eth0      Link encap:Ethernet  HWaddr 40:A3:6B:C2:09:D0
              inet6 addr: fe80::42a3:6bff:fec2:9d0/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:97 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:0 (0.0 B)  TX bytes:30641 (29.9 KiB)
              Interrupt:5
    
    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:115 errors:0 dropped:0 overruns:0 frame:0
              TX packets:115 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1
              RX bytes:7234 (7.0 KiB)  TX bytes:7234 (7.0 KiB)
    
    ra0       Link encap:Ethernet  HWaddr 40:A3:6B:C2:09:CF
              inet6 addr: fe80::42a3:6bff:fec2:9cf/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:264 errors:3 dropped:0 overruns:0 frame:0
              TX packets:89 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:26714 (26.0 KiB)  TX bytes:12463 (12.1 KiB)
              Interrupt:6
    

    logread

    root@Omega-09CF:~# logread | grep ap_client
    Wed Dec  5 21:06:45 2018 daemon.notice netifd: radio0 (973): killall: ap_client: no process killed
    Wed Dec  5 21:06:45 2018 kern.info ap_client: - wait interval        8
    Wed Dec  5 21:06:45 2018 kern.info ap_client: - scan wait interval   1
    Wed Dec  5 21:06:45 2018 kern.info ap_client: - assoc wait interval  1
    Wed Dec  5 21:06:45 2018 kern.info ap_client: - assoc max checks     15
    Wed Dec  5 21:06:45 2018 kern.info ap_client: - rssi threshold       0
    Wed Dec  5 21:06:45 2018 kern.info ap_client: - max low signal count 0
    Wed Dec  5 21:06:45 2018 kern.info ap_client: starting assoc_loop in preference mode (opMode = 0)
    Wed Dec  5 21:06:45 2018 kern.info ap_client: 'apcli0' assoc: no, mac: 00:00:00:00:00:00
    Wed Dec  5 21:06:45 2018 kern.info ap_client: Scanning for networks...
    Wed Dec  5 21:06:47 2018 kern.info ap_client: network 0:  5   00:04:ed:48:4e:3a WPA2PSK (AES) -53
    Wed Dec  5 21:06:47 2018 kern.info ap_client: network 1:  6 ********** 04:8d:38:44:4b:13 WPA1PSKWPA2PSK (TKIPAES) -86
    Wed Dec  5 21:06:47 2018 kern.info ap_client: network 2:  11 ********** e0:b9:e5:ae:4e:e9 WPA2PSK (AES) -89
    Wed Dec  5 21:06:47 2018 kern.info ap_client: Found configured network, trying to associate (essid: ******, bssid: 00:04:ed:48:4e:3a, channel: 5, enc: WPA2PSK, crypto: AES)
    Wed Dec  5 21:06:48 2018 kern.info ap_client: 'apcli0' assoc: no, mac: 00:00:00:00:00:00
    Wed Dec  5 21:06:49 2018 kern.info ap_client: 'apcli0' assoc: yes, mac: 00:04:ed:48:4e:3a
    Wed Dec  5 21:06:49 2018 kern.info ap_client: Interface 'apcli0' successfully associated to network (2 checks)
    Wed Dec  5 21:06:57 2018 kern.info ap_client: 'apcli0' assoc: yes, mac: 00:04:ed:48:4e:3a
    Wed Dec  5 21:07:05 2018 kern.info ap_client: 'apcli0' assoc: yes, mac: 00:04:ed:48:4e:3a
    Wed Dec  5 21:07:13 2018 kern.info ap_client: 'apcli0' assoc: yes, mac: 00:04:ed:48:4e:3a
    Wed Dec  5 21:07:21 2018 kern.info ap_client: 'apcli0' assoc: yes, mac: 00:04:ed:48:4e:3a
    Wed Dec  5 21:07:29 2018 kern.info ap_client: 'apcli0' assoc: yes, mac: 00:04:ed:48:4e:3a
    Wed Dec  5 21:07:37 2018 kern.info ap_client: 'apcli0' assoc: yes, mac: 00:04:ed:48:4e:3a
    Wed Dec  5 21:07:45 2018 kern.info ap_client: 'apcli0' assoc: yes, mac: 00:04:ed:48:4e:3a
    Wed Dec  5 21:07:53 2018 kern.info ap_client: 'apcli0' assoc: yes, mac: 00:04:ed:48:4e:3a
    Wed Dec  5 21:08:01 2018 kern.info ap_client: 'apcli0' assoc: yes, mac: 00:04:ed:48:4e:3a
    Wed Dec  5 21:08:09 2018 kern.info ap_client: 'apcli0' assoc: yes, mac: 00:04:ed:48:4e:3a
    Wed Dec  5 21:08:17 2018 kern.info ap_client: 'apcli0' assoc: yes, mac: 00:04:ed:48:4e:3a
    Wed Dec  5 21:08:25 2018 kern.info ap_client: 'apcli0' assoc: yes, mac: 00:04:ed:48:4e:3a
    Wed Dec  5 21:08:33 2018 kern.info ap_client: 'apcli0' assoc: yes, mac: 00:04:ed:48:4e:3a
    Wed Dec  5 21:08:41 2018 kern.info ap_client: 'apcli0' assoc: yes, mac: 00:04:ed:48:4e:3a
    Wed Dec  5 21:08:49 2018 kern.info ap_client: 'apcli0' assoc: yes, mac: 00:04:ed:48:4e:3a
    Wed Dec  5 21:08:57 2018 kern.info ap_client: 'apcli0' assoc: yes, mac: 00:04:ed:48:4e:3a
    Wed Dec  5 21:09:05 2018 kern.info ap_client: 'apcli0' assoc: yes, mac: 00:04:ed:48:4e:3a
    Wed Dec  5 21:09:13 2018 kern.info ap_client: 'apcli0' assoc: yes, mac: 00:04:ed:48:4e:3a
    Wed Dec  5 21:09:21 2018 kern.info ap_client: 'apcli0' assoc: yes, mac: 00:04:ed:48:4e:3a
    Wed Dec  5 21:09:29 2018 kern.info ap_client: 'apcli0' assoc: yes, mac: 00:04:ed:48:4e:3a
    Wed Dec  5 21:09:37 2018 kern.info ap_client: 'apcli0' assoc: yes, mac: 00:04:ed:48:4e:3a
    Wed Dec  5 21:09:45 2018 kern.info ap_client: 'apcli0' assoc: yes, mac: 00:04:ed:48:4e:3a
    Wed Dec  5 21:09:53 2018 kern.info ap_client: 'apcli0' assoc: yes, mac: 00:04:ed:48:4e:3a
    Wed Dec  5 21:10:01 2018 kern.info ap_client: 'apcli0' assoc: yes, mac: 00:04:ed:48:4e:3a
    Wed Dec  5 21:10:09 2018 kern.info ap_client: 'apcli0' assoc: yes, mac: 00:04:ed:48:4e:3a
    Wed Dec  5 21:10:17 2018 kern.info ap_client: 'apcli0' assoc: yes, mac: 00:04:ed:48:4e:3a
    Wed Dec  5 21:10:25 2018 kern.info ap_client: 'apcli0' assoc: yes, mac: 00:04:ed:48:4e:3a
    Wed Dec  5 21:10:33 2018 kern.info ap_client: 'apcli0' assoc: yes, mac: 00:04:ed:48:4e:3a
    Wed Dec  5 21:10:41 2018 kern.info ap_client: 'apcli0' assoc: yes, mac: 00:04:ed:48:4e:3a
    Wed Dec  5 21:10:49 2018 kern.info ap_client: 'apcli0' assoc: yes, mac: 00:04:ed:48:4e:3a
    Wed Dec  5 21:10:57 2018 kern.info ap_client: 'apcli0' assoc: yes, mac: 00:04:ed:48:4e:3a
    Wed Dec  5 21:11:05 2018 kern.info ap_client: 'apcli0' assoc: yes, mac: 00:04:ed:48:4e:3a
    Wed Dec  5 21:11:13 2018 kern.info ap_client: 'apcli0' assoc: yes, mac: 00:04:ed:48:4e:3a
    Wed Dec  5 21:11:21 2018 kern.info ap_client: 'apcli0' assoc: yes, mac: 00:04:ed:48:4e:3a
    Wed Dec  5 21:11:29 2018 kern.info ap_client: 'apcli0' assoc: yes, mac: 00:04:ed:48:4e:3a
    Wed Dec  5 21:11:37 2018 kern.info ap_client: 'apcli0' assoc: yes, mac: 00:04:ed:48:4e:3a
    Wed Dec  5 21:11:45 2018 kern.info ap_client: 'apcli0' assoc: yes, mac: 00:04:ed:48:4e:3a
    Wed Dec  5 21:11:53 2018 kern.info ap_client: 'apcli0' assoc: yes, mac: 00:04:ed:48:4e:3a
    Wed Dec  5 21:12:01 2018 kern.info ap_client: 'apcli0' assoc: yes, mac: 00:04:ed:48:4e:3a
    Wed Dec  5 21:12:09 2018 kern.info ap_client: 'apcli0' assoc: yes, mac: 00:04:ed:48:4e:3a
    Wed Dec  5 21:12:17 2018 kern.info ap_client: 'apcli0' assoc: yes, mac: 00:04:ed:48:4e:3a
    Wed Dec  5 21:12:25 2018 kern.info ap_client: 'apcli0' assoc: yes, mac: 00:04:ed:48:4e:3a
    Wed Dec  5 21:12:33 2018 kern.info ap_client: 'apcli0' assoc: yes, mac: 00:04:ed:48:4e:3a
    Wed Dec  5 21:12:41 2018 kern.info ap_client: 'apcli0' assoc: yes, mac: 00:04:ed:48:4e:3a
    Wed Dec  5 21:12:49 2018 kern.info ap_client: 'apcli0' assoc: yes, mac: 00:04:ed:48:4e:3a
    Wed Dec  5 21:12:57 2018 kern.info ap_client: 'apcli0' assoc: yes, mac: 00:04:ed:48:4e:3a
    Wed Dec  5 21:13:05 2018 kern.info ap_client: 'apcli0' assoc: yes, mac: 00:04:ed:48:4e:3a
    Wed Dec  5 21:13:13 2018 kern.info ap_client: 'apcli0' assoc: yes, mac: 00:04:ed:48:4e:3a
    Wed Dec  5 21:13:21 2018 kern.info ap_client: 'apcli0' assoc: yes, mac: 00:04:ed:48:4e:3a
    Wed Dec  5 21:13:29 2018 kern.info ap_client: 'apcli0' assoc: yes, mac: 00:04:ed:48:4e:3a
    Wed Dec  5 21:13:37 2018 kern.info ap_client: 'apcli0' assoc: yes, mac: 00:04:ed:48:4e:3a
    Wed Dec  5 21:13:45 2018 kern.info ap_client: 'apcli0' assoc: yes, mac: 00:04:ed:48:4e:3a
    Wed Dec  5 21:13:53 2018 kern.info ap_client: 'apcli0' assoc: yes, mac: 00:04:ed:48:4e:3a
    Wed Dec  5 21:14:01 2018 kern.info ap_client: 'apcli0' assoc: yes, mac: 00:04:ed:48:4e:3a
    Wed Dec  5 21:14:09 2018 kern.info ap_client: 'apcli0' assoc: yes, mac: 00:04:ed:48:4e:3a
    Wed Dec  5 21:14:17 2018 kern.info ap_client: 'apcli0' assoc: yes, mac: 00:04:ed:48:4e:3a
    Wed Dec  5 21:14:25 2018 kern.info ap_client: 'apcli0' assoc: yes, mac: 00:04:ed:48:4e:3a
    Wed Dec  5 21:14:33 2018 kern.info ap_client: 'apcli0' assoc: yes, mac: 00:04:ed:48:4e:3a
    Wed Dec  5 21:14:41 2018 kern.info ap_client: 'apcli0' assoc: yes, mac: 00:04:ed:48:4e:3a
    Wed Dec  5 21:14:49 2018 kern.info ap_client: 'apcli0' assoc: yes, mac: 00:04:ed:48:4e:3a
    Wed Dec  5 21:14:57 2018 kern.info ap_client: 'apcli0' assoc: yes, mac: 00:04:ed:48:4e:3a
    Wed Dec  5 21:15:05 2018 kern.info ap_client: 'apcli0' assoc: yes, mac: 00:04:ed:48:4e:3a
    Wed Dec  5 21:15:13 2018 kern.info ap_client: 'apcli0' assoc: yes, mac: 00:04:ed:48:4e:3a
    Wed Dec  5 21:15:21 2018 kern.info ap_client: 'apcli0' assoc: yes, mac: 00:04:ed:48:4e:3a
    Wed Dec  5 21:15:29 2018 kern.info ap_client: 'apcli0' assoc: yes, mac: 00:04:ed:48:4e:3a
    Wed Dec  5 21:15:37 2018 kern.info ap_client: 'apcli0' assoc: yes, mac: 00:04:ed:48:4e:3a
    Wed Dec  5 21:15:45 2018 kern.info ap_client: 'apcli0' assoc: yes, mac: 00:04:ed:48:4e:3a
    Wed Dec  5 21:15:53 2018 kern.info ap_client: 'apcli0' assoc: yes, mac: 00:04:ed:48:4e:3a
    Wed Dec  5 21:16:01 2018 kern.info ap_client: 'apcli0' assoc: yes, mac: 00:04:ed:48:4e:3a
    Wed Dec  5 21:16:09 2018 kern.info ap_client: 'apcli0' assoc: yes, mac: 00:04:ed:48:4e:3a
    Wed Dec  5 21:16:17 2018 kern.info ap_client: 'apcli0' assoc: yes, mac: 00:04:ed:48:4e:3a
    root@Omega-09CF:~#
    

    After wifisetup debug content of wifidebug.log is

    root@Omega-09CF:/tmp# vi wifidebug.log
    ================ WIFI DEBUG LOG ================
    == Wed Dec  5 21:27:37 GMT 2018 ==
    
    ================ ifconfig ================
    apcli0    Link encap:Ethernet  HWaddr 40:A3:6B:C2:09:D0
              inet addr:192.168.1.4  Bcast:192.168.1.255  Mask:255.255.255.0
              inet6 addr: fe80::42a3:6bff:fec2:9d0/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
    
    br-wlan   Link encap:Ethernet  HWaddr 40:A3:6B:C2:09:CF
              inet addr:192.168.3.1  Bcast:192.168.3.255  Mask:255.255.255.0
              inet6 addr: fe80::42a3:6bff:fec2:9cf/64 Scope:Link
              inet6 addr: fd1d:48c4:7633::1/60 Scope:Global
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:448 errors:0 dropped:0 overruns:0 frame:0
              TX packets:329 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:33456 (32.6 KiB)  TX bytes:54065 (52.7 KiB)
    
    eth0      Link encap:Ethernet  HWaddr 40:A3:6B:C2:09:D0
              inet6 addr: fe80::42a3:6bff:fec2:9d0/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:443 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:0 (0.0 B)  TX bytes:148973 (145.4 KiB)
              Interrupt:5
    
    - wifidebug.log 1/107 0%
    
    

    It looks like it is 3 days old. Why?



  • Few hours passed. Now it works again.

    opkg update

       ____       _             ____
      / __ \___  (_)__  ___    / __ \__ _  ___ ___ ____ _
     / /_/ / _ \/ / _ \/ _ \  / /_/ /  ' \/ -_) _ `/ _ `/
     \____/_//_/_/\___/_//_/  \____/_/_/_/\__/\_, /\_,_/
     W H A T  W I L L  Y O U  I N V E N T ? /___/
     -----------------------------------------------------
       Ω-ware: 0.2.2 b200
     -----------------------------------------------------
    root@Omega-09CF:~# opkg update
    Downloading http://repo.onion.io/omega2/packages/core/Packages.gz
    Updated list of available packages in /var/opkg-lists/omega2_core
    Downloading http://repo.onion.io/omega2/packages/core/Packages.sig
    Signature check passed.
    Downloading http://repo.onion.io/omega2/packages/base/Packages.gz
    Updated list of available packages in /var/opkg-lists/omega2_base
    Downloading http://repo.onion.io/omega2/packages/base/Packages.sig
    Signature check passed.
    Downloading http://repo.onion.io/omega2/packages/packages/Packages.gz
    Updated list of available packages in /var/opkg-lists/omega2_packages
    Downloading http://repo.onion.io/omega2/packages/packages/Packages.sig
    Signature check passed.
    Downloading http://repo.onion.io/omega2/packages/routing/Packages.gz
    Updated list of available packages in /var/opkg-lists/omega2_routing
    Downloading http://repo.onion.io/omega2/packages/routing/Packages.sig
    Signature check passed.
    Downloading http://repo.onion.io/omega2/packages/onion/Packages.gz
    Updated list of available packages in /var/opkg-lists/omega2_onion
    Downloading http://repo.onion.io/omega2/packages/onion/Packages.sig
    Signature check passed.
    

    ping to ADSL modem

    root@Omega-09CF:~# ping -w 10 192.168.1.254
    PING 192.168.1.254 (192.168.1.254): 56 data bytes
    64 bytes from 192.168.1.254: seq=0 ttl=64 time=4.012 ms
    64 bytes from 192.168.1.254: seq=1 ttl=64 time=5.924 ms
    64 bytes from 192.168.1.254: seq=2 ttl=64 time=1.270 ms
    64 bytes from 192.168.1.254: seq=3 ttl=64 time=1.520 ms
    64 bytes from 192.168.1.254: seq=4 ttl=64 time=3.305 ms
    64 bytes from 192.168.1.254: seq=5 ttl=64 time=1.281 ms
    64 bytes from 192.168.1.254: seq=6 ttl=64 time=1.411 ms
    64 bytes from 192.168.1.254: seq=7 ttl=64 time=1.274 ms
    64 bytes from 192.168.1.254: seq=8 ttl=64 time=2.785 ms
    64 bytes from 192.168.1.254: seq=9 ttl=64 time=1.446 ms
    
    --- 192.168.1.254 ping statistics ---
    10 packets transmitted, 10 packets received, 0% packet loss
    round-trip min/avg/max = 1.270/2.422/5.924 ms
    

    dmesg

    root@Omega-09CF:~# dmesg
    [    0.000000] Linux version 4.4.74 (root@3fbe4dcb626f) (gcc version 5.4.0 (LEDE GCC 5.4.0 r3484-d8f14ba) ) #0 Tue Jul 31 16:32:08 2018
    [    0.000000] Board has DDR2
    [    0.000000] Analog PMU set to hw control
    [    0.000000] Digital PMU set to hw control
    [    0.000000] SoC Type: MediaTek MT7688 ver:1 eco:2
    [    0.000000] bootconsole [early0] enabled
    [    0.000000] CPU0 revision is: 00019655 (MIPS 24KEc)
    [    0.000000] MIPS: machine is Onion Omega2+
    [    0.000000] Determined physical RAM map:
    [    0.000000]  memory: 08000000 @ 00000000 (usable)
    [    0.000000] Initrd not found or empty - disabling initrd
    [    0.000000] Zone ranges:
    [    0.000000]   Normal   [mem 0x0000000000000000-0x0000000007ffffff]
    [    0.000000] Movable zone start for each node
    [    0.000000] Early memory node ranges
    [    0.000000]   node   0: [mem 0x0000000000000000-0x0000000007ffffff]
    [    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000007ffffff]
    [    0.000000] On node 0 totalpages: 32768
    [    0.000000] free_area_init_node: node 0, pgdat 803ca4c0, node_mem_map 81000000
    [    0.000000]   Normal zone: 256 pages used for memmap
    [    0.000000]   Normal zone: 0 pages reserved
    [    0.000000]   Normal zone: 32768 pages, LIFO batch:7
    [    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
    [    0.000000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
    [    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
    [    0.000000] pcpu-alloc: [0] 0
    [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
    [    0.000000] Kernel command line: console=ttyS0,115200 rootfstype=squashfs,jffs2
    [    0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
    [    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
    [    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
    [    0.000000] Writing ErrCtl register=0001404f
    [    0.000000] Readback ErrCtl register=0001404f
    [    0.000000] Memory: 125488K/131072K available (3103K kernel code, 145K rwdata, 740K rodata, 164K init, 196K bss, 5584K reserved, 0K cma-reserved)
    [    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
    [    0.000000] NR_IRQS:256
    [    0.000000] intc: using register map from devicetree
    [    0.000000] CPU Clock: 580MHz
    [    0.000000] clocksource_probe: no matching clocksources found
    [    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6590553264 ns
    [    0.000011] sched_clock: 32 bits at 290MHz, resolution 3ns, wraps every 7405115902ns
    [    0.007521] Calibrating delay loop... 385.84 BogoMIPS (lpj=1929216)
    [    0.070042] pid_max: default: 32768 minimum: 301
    [    0.074638] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.080974] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.094658] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [    0.104168] futex hash table entries: 256 (order: -1, 3072 bytes)
    [    0.110174] pinctrl core: initialized pinctrl subsystem
    [    0.115946] NET: Registered protocol family 16
    [    0.141129] mt7621_gpio 10000600.gpio: registering 32 gpios
    [    0.146675] mt7621_gpio 10000600.gpio: registering 32 gpios
    [    0.152092] mt7621_gpio 10000600.gpio: registering 32 gpios
    [    0.158686] i2c-mt7621 10000900.i2c: clock 100 kHz
    [    0.164444] clocksource: Switched to clocksource MIPS
    [    0.171003] NET: Registered protocol family 2
    [    0.176215] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.182904] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.189092] TCP: Hash tables configured (established 1024 bind 1024)
    [    0.195283] UDP hash table entries: 256 (order: 0, 4096 bytes)
    [    0.200881] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
    [    0.207272] NET: Registered protocol family 1
    [    0.211496] PCI: CLS 0 bytes, default 32
    [    0.217810] Crashlog allocated RAM at address 0x3f00000
    [    0.239240] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.244897] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
    [    0.257672] io scheduler noop registered
    [    0.261414] io scheduler deadline registered (default)
    [    0.267342] rt2880-pinmux pinctrl: pin io18 already requested by pinctrl; cannot claim for 10005000.pwm
    [    0.276424] rt2880-pinmux pinctrl: pin-18 (10005000.pwm) status -22
    [    0.282422] rt2880-pinmux pinctrl: could not request pin 18 (io18) from group pwm0  on device rt2880-pinmux
    [    0.291834] mtk-pwm 10005000.pwm: Error applying setting, reverse things back
    [    0.299194] Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled
    [    0.306644] console [ttyS0] disabled
    [    0.310079] 10000c00.uartlite: ttyS0 at MMIO 0x10000c00 (irq = 28, base_baud = 2500000) is a 16550A
    [    0.318854] console [ttyS0] enabled
    [    0.325844] bootconsole [early0] disabled
    [    0.334543] 10000d00.uart1: ttyS1 at MMIO 0x10000d00 (irq = 29, base_baud = 2500000) is a 16550A
    [    0.344010] 10000e00.uart2: ttyS2 at MMIO 0x10000e00 (irq = 30, base_baud = 2500000) is a 16550A
    [    0.354641] spi-mt7621 10000b00.spi: sys_freq: 193333333
    [    0.364820] m25p80 spi32766.0: using chunked io (size=31)
    [    0.370319] m25p80 spi32766.0: mx25l25635e (32768 Kbytes)
    [    0.375862] 4 ofpart partitions found on MTD device spi32766.0
    [    0.381774] Creating 4 MTD partitions on "spi32766.0":
    [    0.387003] 0x000000000000-0x000000030000 : "u-boot"
    [    0.393846] 0x000000030000-0x000000040000 : "u-boot-env"
    [    0.401188] 0x000000040000-0x000000050000 : "factory"
    [    0.408232] 0x000000050000-0x000002000000 : "firmware"
    [    0.456245] 2 uimage-fw partitions found on MTD device firmware
    [    0.462272] 0x000000050000-0x000000197a38 : "kernel"
    [    0.468977] 0x000000197a38-0x000002000000 : "rootfs"
    [    0.475891] mtd: device 5 (rootfs) set to be root filesystem
    [    0.481706] 1 squashfs-split partitions found on MTD device rootfs
    [    0.488050] 0x0000007a0000-0x000002000000 : "rootfs_data"
    [    0.505468] rt3050-esw 10110000.esw: link changed 0x00
    [    0.513246] mtk_soc_eth 10100000.ethernet eth0: mediatek frame engine at 0xb0100000, irq 5
    [    0.521896] i2c /dev entries driver
    [    0.526058] mt7621_wdt 10000120.watchdog: Initialized
    [    0.532720] NET: Registered protocol family 10
    [    0.541445] NET: Registered protocol family 17
    [    0.546133] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
    [    0.558955] 8021q: 802.1Q VLAN Support v1.8
    [    0.571170] VFS: Mounted root (squashfs filesystem) readonly on device 31:5.
    [    0.579310] Freeing unused kernel memory: 164K (803e7000 - 80410000)
    [    1.881084] init: Console is alive
    [    1.884850] init: - watchdog -
    [    4.463717] kmodloader: loading kernel modules from /etc/modules-boot.d/*
    [    4.624309] usbcore: registered new interface driver usbfs
    [    4.630064] usbcore: registered new interface driver hub
    [    4.635609] usbcore: registered new device driver usb
    [    4.647251] exFAT: Version 1.2.9
    [    4.691966] SCSI subsystem initialized
    [    4.702509] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
    [    4.710961] ehci-platform: EHCI generic platform driver
    [    4.726673] phy phy-10120000.usbphy.0: remote usb device wakeup disabled
    [    4.733478] phy phy-10120000.usbphy.0: UTMI 16bit 30MHz
    [    4.738860] ehci-platform 101c0000.ehci: EHCI Host Controller
    [    4.744746] ehci-platform 101c0000.ehci: new USB bus registered, assigned bus number 1
    [    4.752900] ehci-platform 101c0000.ehci: irq 26, io mem 0x101c0000
    [    4.774488] ehci-platform 101c0000.ehci: USB 2.0 started, EHCI 1.00
    [    4.782011] hub 1-0:1.0: USB hub found
    [    4.786338] hub 1-0:1.0: 1 port detected
    [    4.795348] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
    [    4.803396] ohci-platform: OHCI generic platform driver
    [    4.809054] ohci-platform 101c1000.ohci: Generic Platform OHCI controller
    [    4.816026] ohci-platform 101c1000.ohci: new USB bus registered, assigned bus number 2
    [    4.824177] ohci-platform 101c1000.ohci: irq 26, io mem 0x101c1000
    [    4.889679] hub 2-0:1.0: USB hub found
    [    4.893945] hub 2-0:1.0: 1 port detected
    [    4.911301] MTK MSDC device init.
    [    4.954624] mtk-sd: MediaTek MT6575 MSDC Driver
    [    4.962686] sdhci: Secure Digital Host Controller Interface driver
    [    4.969037] sdhci: Copyright(c) Pierre Ossman
    [    4.974985] sdhci-pltfm: SDHCI platform and OF driver helper
    [    4.985483] usbcore: registered new interface driver usb-storage
    [    4.995195] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
    [    5.013055] init: - preinit -
    [    5.958136] rt3050-esw 10110000.esw: link changed 0x00
    [    6.176048] random: procd: uninitialized urandom read (4 bytes read, 18 bits of entropy available)
    [    8.578279] jffs2: notice: (403) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
    [    8.596617] mount_root: switching to jffs2 overlay
    [    8.609597] urandom-seed: Seeding with /etc/urandom.seed
    [    8.786582] procd: - early -
    [    8.789756] procd: - watchdog -
    [    9.514278] procd: - watchdog -
    [    9.517836] procd: - ubus -
    [    9.579090] random: ubusd: uninitialized urandom read (4 bytes read, 27 bits of entropy available)
    [    9.588845] random: ubusd: uninitialized urandom read (4 bytes read, 27 bits of entropy available)
    [    9.598203] random: ubusd: uninitialized urandom read (4 bytes read, 27 bits of entropy available)
    [    9.608226] random: ubusd: uninitialized urandom read (4 bytes read, 27 bits of entropy available)
    [    9.617539] random: ubusd: uninitialized urandom read (4 bytes read, 27 bits of entropy available)
    [    9.626917] random: ubusd: uninitialized urandom read (4 bytes read, 27 bits of entropy available)
    [    9.636395] random: ubusd: uninitialized urandom read (4 bytes read, 27 bits of entropy available)
    [    9.646354] procd: - init -
    [   10.317559] kmodloader: loading kernel modules from /etc/modules.d/*
    [   10.357431] ntfs: driver 2.1.32 [Flags: R/O MODULE].
    [   10.428315] ip6_tables: (C) 2000-2006 Netfilter Core Team
    [   10.455620] gdma-rt2880 10002800.gdma: revision: 3, channels: 16
    [   10.909934]
    [   10.909934]
    [   10.909934] === pAd = c0578000, size = 1182848 ===
    [   10.909934]
    [   10.920848] mt7628_init(FW(8a00), HW(8a01), CHIPID(7628))
    [   10.968063] Linux video capture interface: v2.00
    [   10.985032] hidraw: raw HID events driver (C) Jiri Kosina
    [   11.015039] ralink-i2s 10000a00.i2s: mclk 480KHz
    [   11.022958] max98090 0-0010: Failed to reset codec: -6
    [   11.028449] max98090 0-0010: Failed to read device revision: -1
    [   11.034488] max98090 0-0010: ASoC: failed to probe component -1
    [   11.041183] asoc-simple-card sound: ASoC: failed to instantiate card -1
    [   11.048290] asoc-simple-card: probe of sound failed with error -1
    [   11.081297] Bluetooth: Core ver 2.21
    [   11.085114] NET: Registered protocol family 31
    [   11.089624] Bluetooth: HCI device and connection manager initialized
    [   11.096129] Bluetooth: HCI socket layer initialized
    [   11.101081] Bluetooth: L2CAP socket layer initialized
    [   11.106265] Bluetooth: SCO socket layer initialized
    [   11.260773] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
    [   11.266246] Bluetooth: BNEP filters: protocol multicast
    [   11.271562] Bluetooth: BNEP socket layer initialized
    [   11.292805] usbcore: registered new interface driver btusb
    [   11.312029] usbcore: registered new interface driver cdc_acm
    [   11.317883] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
    [   11.358724] Bluetooth: HCI UART driver ver 2.3
    [   11.363982] Bluetooth: HCI UART protocol H4 registered
    [   11.370637] Bluetooth: HCI UART protocol BCSP registered
    [   11.393098] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
    [   11.399754] Bluetooth: HIDP socket layer initialized
    [   11.410149] ip_tables: (C) 2000-2006 Netfilter Core Team
    [   11.432261] nf_conntrack version 0.5.0 (1963 buckets, 7852 max)
    [   11.474539] Bluetooth: RFCOMM TTY layer initialized
    [   11.480362] Bluetooth: RFCOMM socket layer initialized
    [   11.487000] Bluetooth: RFCOMM ver 1.11
    [   11.522695] usbcore: registered new interface driver ums-alauda
    [   11.536381] usbcore: registered new interface driver ums-cypress
    [   11.550207] usbcore: registered new interface driver ums-datafab
    [   11.562888] usbcore: registered new interface driver ums-freecom
    [   11.576892] usbcore: registered new interface driver ums-isd200
    [   11.589287] usbcore: registered new interface driver ums-jumpshot
    [   11.602745] usbcore: registered new interface driver ums-karma
    [   12.086389] usbcore: registered new interface driver ums-sddr09
    [   12.096385] usbcore: registered new interface driver ums-sddr55
    [   12.107043] usbcore: registered new interface driver ums-usbat
    [   12.120112] usbcore: registered new interface driver usbhid
    [   12.126288] usbhid: USB HID core driver
    [   12.135524] usbcore: registered new interface driver usblp
    [   12.150158] usbcore: registered new interface driver usbserial
    [   12.157301] usbcore: registered new interface driver usbserial_generic
    [   12.165314] usbserial: USB Serial support registered for generic
    [   12.185904] Driver for 1-wire Dallas network protocol.
    [   12.213982] xt_time: kernel timezone is -0000
    [   12.221338] usbcore: registered new interface driver ch341
    [   12.227562] usbserial: USB Serial support registered for ch341-uart
    [   12.237712] usbcore: registered new interface driver cp210x
    [   12.243790] usbserial: USB Serial support registered for cp210x
    [   12.254774] usbcore: registered new interface driver ftdi_sio
    [   12.261312] usbserial: USB Serial support registered for FTDI USB Serial Device
    [   12.285187] usbcore: registered new interface driver pl2303
    [   12.291294] usbserial: USB Serial support registered for pl2303
    [   12.304228] PPP generic driver version 2.4.2
    [   12.313393] NET: Registered protocol family 24
    [   12.332454] usbcore: registered new interface driver snd-usb-audio
    [   12.355325] usbcore: registered new interface driver uvcvideo
    [   12.361964] USB Video Class driver (1.1.1)
    [   12.376655] usbcore: registered new interface driver option
    [   12.383184] usbserial: USB Serial support registered for GSM modem (1-port)
    [   12.397270] kmodloader: done loading kernel modules from /etc/modules.d/*
    [   13.153525] random: jshn: uninitialized urandom read (4 bytes read, 45 bits of entropy available)
    [   13.259033] random: ubusd: uninitialized urandom read (4 bytes read, 45 bits of entropy available)
    [   20.806150] IPv6: ADDRCONF(NETDEV_UP): br-wlan: link is not ready
    [   21.428211]
    [   21.428211] _      _____   ___  ___    _________  ___  ____
    [   21.428211] | | /| / / _ | / _ \/ _ \  / ___/ __ \/ _ \/ __/ V1.0
    [   21.428211] | |/ |/ / __ |/ , _/ ___/ / /__/ /_/ / , _/ _/
    [   21.428211] |__/|__/_/ |_/_/|_/_/     \___/\____/_/|_/___/
    [   21.428211]             Onion Enhanced MT7688 WiFi Driver
    [   21.428211]
    [   21.464053] ttyS0: 1 input overrun(s)
    [   21.645474] DMA Scheduler Mode=0(LMAC)
    [   21.649313] efuse_probe: efuse = 10000012
    [   21.653458] 1. Phy Mode = 14
    [   21.816889] 2. Phy Mode = 14
    [   21.819856] 3. Phy Mode = 14
    [   21.831051]  WTBL Segment 1 info:
    [   21.834523]          MemBaseAddr/FID:0x28000/0
    [   21.838425]          EntrySize/Cnt:32/128
    [   21.841872]  WTBL Segment 2 info:
    [   21.845251]          MemBaseAddr/FID:0x40000/0
    [   21.849137]          EntrySize/Cnt:64/128
    [   21.852581]  WTBL Segment 3 info:
    [   21.855974]          MemBaseAddr/FID:0x42000/64
    [   21.859950]          EntrySize/Cnt:64/128
    [   21.863394]  WTBL Segment 4 info:
    [   21.866766]          MemBaseAddr/FID:0x44000/128
    [   21.870828]          EntrySize/Cnt:32/128
    [   31.188379] device ra0 entered promiscuous mode
    [   31.193181] br-wlan: port 1(ra0) entered forwarding state
    [   31.198762] br-wlan: port 1(ra0) entered forwarding state
    [   31.205511] IPv6: ADDRCONF(NETDEV_CHANGE): br-wlan: link becomes ready
    [   32.500922] Interface apcli0 link up! (WPA2PSK AES)
    [   33.194458] br-wlan: port 1(ra0) entered forwarding state
    [   38.974500] random: nonblocking pool is initialized
    

    iwconfig

    root@Omega-09CF:~# iwconfig
    lo        no wireless extensions.
    
    ra0       RTWIFI SoftAP  ESSID:"Omega-09CF"
              Mode:Managed  Channel=5  Access Point: 40:A3:6B:C2:09:CF
              Bit Rate=150 Mb/s
    
    eth0      no wireless extensions.
    
    br-wlan   no wireless extensions.
    
    apcli0    RTWIFI SoftAP  ESSID:"*****"
              Mode:Managed  Channel=5  Access Point: 00:04:ED:48:4E:3A
              Bit Rate=150 Mb/s
    

    ifconfig

    root@Omega-09CF:~# ifconfig
    apcli0    Link encap:Ethernet  HWaddr 40:A3:6B:C2:09:D0
              inet addr:192.168.1.4  Bcast:192.168.1.255  Mask:255.255.255.0
              inet6 addr: fe80::42a3:6bff:fec2:9d0/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
    
    br-wlan   Link encap:Ethernet  HWaddr 40:A3:6B:C2:09:CF
              inet addr:192.168.3.1  Bcast:192.168.3.255  Mask:255.255.255.0
              inet6 addr: fe80::42a3:6bff:fec2:9cf/64 Scope:Link
              inet6 addr: fd1d:48c4:7633::1/60 Scope:Global
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:341 errors:0 dropped:0 overruns:0 frame:0
              TX packets:251 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:26751 (26.1 KiB)  TX bytes:50230 (49.0 KiB)
    
    eth0      Link encap:Ethernet  HWaddr 40:A3:6B:C2:09:D0
              inet6 addr: fe80::42a3:6bff:fec2:9d0/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:127 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:0 (0.0 B)  TX bytes:40044 (39.1 KiB)
              Interrupt:5
    
    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:101 errors:0 dropped:0 overruns:0 frame:0
              TX packets:101 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1
              RX bytes:7272 (7.1 KiB)  TX bytes:7272 (7.1 KiB)
    
    ra0       Link encap:Ethernet  HWaddr 40:A3:6B:C2:09:CF
              inet6 addr: fe80::42a3:6bff:fec2:9cf/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:475 errors:2 dropped:0 overruns:0 frame:0
              TX packets:217 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:42180 (41.1 KiB)  TX bytes:40860 (39.9 KiB)
              Interrupt:6
    

    logread

    root@Omega-09CF:~# logread | grep ap_client
    Wed Dec  5 21:06:46 2018 daemon.notice netifd: radio0 (974): killall: ap_client: no process killed
    Wed Dec  5 21:06:46 2018 kern.info ap_client: - wait interval        8
    Wed Dec  5 21:06:46 2018 kern.info ap_client: - scan wait interval   1
    Wed Dec  5 21:06:46 2018 kern.info ap_client: - assoc wait interval  1
    Wed Dec  5 21:06:46 2018 kern.info ap_client: - assoc max checks     15
    Wed Dec  5 21:06:46 2018 kern.info ap_client: - rssi threshold       0
    Wed Dec  5 21:06:46 2018 kern.info ap_client: - max low signal count 0
    Wed Dec  5 21:06:46 2018 kern.info ap_client: starting assoc_loop in preference mode (opMode = 0)
    Wed Dec  5 21:06:46 2018 kern.info ap_client: 'apcli0' assoc: no, mac: 00:00:00:00:00:00
    Wed Dec  5 21:06:46 2018 kern.info ap_client: Scanning for networks...
    Wed Dec  5 21:06:48 2018 kern.info ap_client: network 0:  5   00:04:ed:48:4e:3a WPA2PSK (AES) -50
    Wed Dec  5 21:06:48 2018 kern.info ap_client: network 1:  11 TelstraAE4EE9 e0:b9:e5:ae:4e:e9 WPA2PSK (AES) -86
    Wed Dec  5 21:06:48 2018 kern.info ap_client: network 2:  6 ******* 04:8d:38:44:4b:13 WPA1PSKWPA2PSK (TKIPAES) -87
    Wed Dec  5 21:06:48 2018 kern.info ap_client: network 3:  1 ******** 50:c7:bf:75:aa:18 WPA2PSK (AES) -92
    Wed Dec  5 21:06:48 2018 kern.info ap_client: Found configured network, trying to associate (essid: *****, bssid: 00:04:ed:48:4e:3a, channel: 5, enc: WPA2PSK, crypto: AES)
    Wed Dec  5 21:06:48 2018 kern.info ap_client: 'apcli0' assoc: no, mac: 00:00:00:00:00:00
    Wed Dec  5 21:06:49 2018 kern.info ap_client: 'apcli0' assoc: yes, mac: 00:04:ed:48:4e:3a
    Wed Dec  5 21:06:49 2018 kern.info ap_client: Interface 'apcli0' successfully associated to network (2 checks)
    Wed Dec  5 21:06:57 2018 kern.info ap_client: 'apcli0' assoc: yes, mac: 00:04:ed:48:4e:3a
    Wed Dec  5 21:07:05 2018 kern.info ap_client: 'apcli0' assoc: yes, mac: 00:04:ed:48:4e:3a
    Wed Dec  5 21:07:13 2018 kern.info ap_client: 'apcli0' assoc: yes, mac: 00:04:ed:48:4e:3a
    Sat Dec  8 12:24:58 2018 kern.info ap_client: 'apcli0' assoc: yes, mac: 00:04:ed:48:4e:3a
    Sat Dec  8 12:25:06 2018 kern.info ap_client: 'apcli0' assoc: yes, mac: 00:04:ed:48:4e:3a
    Sat Dec  8 12:25:14 2018 kern.info ap_client: 'apcli0' assoc: yes, mac: 00:04:ed:48:4e:3a
    Sat Dec  8 12:25:22 2018 kern.info ap_client: 'apcli0' assoc: yes, mac: 00:04:ed:48:4e:3a
    Sat Dec  8 12:25:30 2018 kern.info ap_client: 'apcli0' assoc: yes, mac: 00:04:ed:48:4e:3a
    Sat Dec  8 12:25:38 2018 kern.info ap_client: 'apcli0' assoc: yes, mac: 00:04:ed:48:4e:3a
    Sat Dec  8 12:25:46 2018 kern.info ap_client: 'apcli0' assoc: yes, mac: 00:04:ed:48:4e:3a
    Sat Dec  8 12:25:54 2018 kern.info ap_client: 'apcli0' assoc: yes, mac: 00:04:ed:48:4e:3a
    Sat Dec  8 12:26:02 2018 kern.info ap_client: 'apcli0' assoc: yes, mac: 00:04:ed:48:4e:3a
    Sat Dec  8 12:26:10 2018 kern.info ap_client: 'apcli0' assoc: yes, mac: 00:04:ed:48:4e:3a
    Sat Dec  8 12:26:18 2018 kern.info ap_client: 'apcli0' assoc: yes, mac: 00:04:ed:48:4e:3a
    Sat Dec  8 12:26:26 2018 kern.info ap_client: 'apcli0' assoc: yes, mac: 00:04:ed:48:4e:3a
    Sat Dec  8 12:26:34 2018 kern.info ap_client: 'apcli0' assoc: yes, mac: 00:04:ed:48:4e:3a
    Sat Dec  8 12:26:42 2018 kern.info ap_client: 'apcli0' assoc: yes, mac: 00:04:ed:48:4e:3a
    Sat Dec  8 12:26:50 2018 kern.info ap_client: 'apcli0' assoc: yes, mac: 00:04:ed:48:4e:3a
    Sat Dec  8 12:26:58 2018 kern.info ap_client: 'apcli0' assoc: yes, mac: 00:04:ed:48:4e:3a
    Sat Dec  8 12:27:06 2018 kern.info ap_client: 'apcli0' assoc: yes, mac: 00:04:ed:48:4e:3a
    Sat Dec  8 12:27:14 2018 kern.info ap_client: 'apcli0' assoc: yes, mac: 00:04:ed:48:4e:3a
    Sat Dec  8 12:27:22 2018 kern.info ap_client: 'apcli0' assoc: yes, mac: 00:04:ed:48:4e:3a
    Sat Dec  8 12:27:30 2018 kern.info ap_client: 'apcli0' assoc: yes, mac: 00:04:ed:48:4e:3a
    Sat Dec  8 12:27:38 2018 kern.info ap_client: 'apcli0' assoc: yes, mac: 00:04:ed:48:4e:3a
    Sat Dec  8 12:27:46 2018 kern.info ap_client: 'apcli0' assoc: yes, mac: 00:04:ed:48:4e:3a
    Sat Dec  8 12:27:54 2018 kern.info ap_client: 'apcli0' assoc: yes, mac: 00:04:ed:48:4e:3a
    Sat Dec  8 12:28:02 2018 kern.info ap_client: 'apcli0' assoc: yes, mac: 00:04:ed:48:4e:3a
    Sat Dec  8 12:28:10 2018 kern.info ap_client: 'apcli0' assoc: yes, mac: 00:04:ed:48:4e:3a
    Sat Dec  8 12:28:18 2018 kern.info ap_client: 'apcli0' assoc: yes, mac: 00:04:ed:48:4e:3a
    Sat Dec  8 12:28:26 2018 kern.info ap_client: 'apcli0' assoc: yes, mac: 00:04:ed:48:4e:3a
    Sat Dec  8 12:28:34 2018 kern.info ap_client: 'apcli0' assoc: yes, mac: 00:04:ed:48:4e:3a
    Sat Dec  8 12:28:42 2018 kern.info ap_client: 'apcli0' assoc: yes, mac: 00:04:ed:48:4e:3a
    Sat Dec  8 12:28:50 2018 kern.info ap_client: 'apcli0' assoc: yes, mac: 00:04:ed:48:4e:3a
    Sat Dec  8 12:28:58 2018 kern.info ap_client: 'apcli0' assoc: yes, mac: 00:04:ed:48:4e:3a
    Sat Dec  8 12:29:06 2018 kern.info ap_client: 'apcli0' assoc: yes, mac: 00:04:ed:48:4e:3a
    Sat Dec  8 12:29:14 2018 kern.info ap_client: 'apcli0' assoc: yes, mac: 00:04:ed:48:4e:3a
    Sat Dec  8 12:29:22 2018 kern.info ap_client: 'apcli0' assoc: yes, mac: 00:04:ed:48:4e:3a
    Sat Dec  8 12:29:30 2018 kern.info ap_client: 'apcli0' assoc: yes, mac: 00:04:ed:48:4e:3a
    Sat Dec  8 12:29:38 2018 kern.info ap_client: 'apcli0' assoc: yes, mac: 00:04:ed:48:4e:3a
    Sat Dec  8 12:29:46 2018 kern.info ap_client: 'apcli0' assoc: yes, mac: 00:04:ed:48:4e:3a
    Sat Dec  8 12:29:54 2018 kern.info ap_client: 'apcli0' assoc: yes, mac: 00:04:ed:48:4e:3a
    Sat Dec  8 12:30:02 2018 kern.info ap_client: 'apcli0' assoc: yes, mac: 00:04:ed:48:4e:3a
    Sat Dec  8 12:30:10 2018 kern.info ap_client: 'apcli0' assoc: yes, mac: 00:04:ed:48:4e:3a
    Sat Dec  8 12:30:18 2018 kern.info ap_client: 'apcli0' assoc: yes, mac: 00:04:ed:48:4e:3a
    Sat Dec  8 12:30:26 2018 kern.info ap_client: 'apcli0' assoc: yes, mac: 00:04:ed:48:4e:3a
    

    wifisetup debug

    root@Omega-09CF:~# wifisetup debug
    Collected WiFi and network debug information in /tmp/wifidebug.log file
    
    root@Omega-09CF:/tmp# vi wifidebug.log
    ================ WIFI DEBUG LOG ================
    == Sat Dec  8 12:41:07 GMT 2018 ==
    
    ================ ifconfig ================
    apcli0    Link encap:Ethernet  HWaddr 40:A3:6B:C2:09:D0
              inet addr:192.168.1.4  Bcast:192.168.1.255  Mask:255.255.255.0
              inet6 addr: fe80::42a3:6bff:fec2:9d0/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
    
    br-wlan   Link encap:Ethernet  HWaddr 40:A3:6B:C2:09:CF
              inet addr:192.168.3.1  Bcast:192.168.3.255  Mask:255.255.255.0
              inet6 addr: fe80::42a3:6bff:fec2:9cf/64 Scope:Link
              inet6 addr: fd1d:48c4:7633::1/60 Scope:Global
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:599 errors:0 dropped:0 overruns:0 frame:0
              TX packets:475 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:42286 (41.2 KiB)  TX bytes:79677 (77.8 KiB)
    
    eth0      Link encap:Ethernet  HWaddr 40:A3:6B:C2:09:D0
              inet6 addr: fe80::42a3:6bff:fec2:9d0/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:363 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:0 (0.0 B)  TX bytes:120756 (117.9 KiB)
              Interrupt:5
    
    - wifidebug.log 1/107 0%
    


  • @Alex-Kouznetsov

    Few hours passed. Now it works again.

    It's all a bit bizarre really. Not sure what to make of it.
    Is your O2+ close to your home AP? Could it be a signal strength issue?

    I guess you'll need to observe it over time and see if you can find some pattern to explain what is going on.



  • @cas said in Troubles with Getting Started:

    Is your O2+ close to your home AP?

    Yes, it is only 0.5 m away from AP.



  • When it works, it works. I kept it running for the last couple of days, it works all the time.

    But after reset it works about 50/50. I am going to get some statistics on that.



  • It is random. After power-up probability to get internet connection is about 50%.

    PuTTY to Omega AP starts almost immediately in case when Omega has internet connection. But when Omega does not have internet, it takes PuTTY about 15 sec to start SSH link.


Log in to reply
 

Looks like your connection to Community was lost, please wait while we try to reconnect.