wlan0, wlan0-1 link is not ready error
-
Hi,
I have encountered a problem with omega device. When I execute the wifisetup it replies with the following error messages and Putty console gives fatal error. (Error reading from serial device)Connecting to HomeAP network using intf 1...
[ 672.820000] wlan0: deauthenticating from 00:19:5b:d3:68:f9 by local choice (Reason: 3=DEAUTH_LEAVING)
[ 674.050000] IPv6: ADDRCONF(NETDEV_UP): wlan0-1: link is not ready
[ 674.300000] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not readyHere is the dmesg output.
[ 0.000000] Linux version 3.18.21 (zh@ci-onion) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 r47277) ) #1 Sat Oct 31 19:02:01 UTC 2015 [ 0.000000] MyLoader: sysp=b9606524, boardp=3d5200cc, parts=02ed90e1 [ 0.000000] bootconsole [early0] enabled [ 0.000000] CPU0 revision is: 00019374 (MIPS 24Kc) [ 0.000000] SoC: Atheros AR9330 rev 1 [ 0.000000] Determined physical RAM map: [ 0.000000] memory: 04000000 @ 00000000 (usable) [ 0.000000] Initrd not found or empty - disabling initrd [ 0.000000] Zone ranges: [ 0.000000] Normal [mem 0x00000000-0x03ffffff] [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x00000000-0x03ffffff] [ 0.000000] Initmem setup node 0 [mem 0x00000000-0x03ffffff] [ 0.000000] On node 0 totalpages: 16384 [ 0.000000] free_area_init_node: node 0, pgdat 803580f0, node_mem_map 81000000 [ 0.000000] Normal zone: 128 pages used for memmap [ 0.000000] Normal zone: 0 pages reserved [ 0.000000] Normal zone: 16384 pages, LIFO batch:3 [ 0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes. [ 0.000000] Primary data cache 32kB, 4-way, VIPT, cache 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: 16256 [ 0.000000] Kernel command line: board=ONION-OMEGA console=ttyATH0,115200 rootfstype=squashfs,jffs2 noinitrd [ 0.000000] PID hash table entries: 256 (order: -2, 1024 bytes) [ 0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes) [ 0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes) [ 0.000000] Writing ErrCtl register=00000000 [ 0.000000] Readback ErrCtl register=00000000 [ 0.000000] Memory: 60944K/65536K available (2475K kernel code, 128K rwdata, 528K rodata, 252K init, 188K bss, 4592K reserved) [ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 [ 0.000000] NR_IRQS:51 [ 0.000000] Clocks: CPU:400.000MHz, DDR:400.000MHz, AHB:200.000MHz, Ref:25.000MHz [ 0.000000] Calibrating delay loop... 265.42 BogoMIPS (lpj=1327104) [ 0.080000] pid_max: default: 32768 minimum: 301 [ 0.080000] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.090000] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.100000] NET: Registered protocol family 16 [ 0.100000] MIPS: machine is Onion Omega [ 0.370000] Switched to clocksource MIPS [ 0.370000] NET: Registered protocol family 2 [ 0.380000] TCP established hash table entries: 1024 (order: 0, 4096 bytes) [ 0.380000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes) [ 0.380000] TCP: Hash tables configured (established 1024 bind 1024) [ 0.390000] TCP: reno registered [ 0.390000] UDP hash table entries: 256 (order: 0, 4096 bytes) [ 0.400000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) [ 0.410000] NET: Registered protocol family 1 [ 0.410000] PCI: CLS 0 bytes, default 32 [ 0.410000] futex hash table entries: 256 (order: -1, 3072 bytes) [ 0.430000] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.430000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc. [ 0.440000] msgmni has been set to 119 [ 0.460000] io scheduler noop registered [ 0.460000] io scheduler deadline registered (default) [ 0.460000] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled [ 0.470000] ar933x-uart: ttyATH0 at MMIO 0x18020000 (irq = 11, base_baud = 1562500) is a AR933X UART [ 0.480000] console [ttyATH0] enabled [ 0.490000] bootconsole [early0] disabled [ 0.500000] m25p80 spi0.0: found w25q128, expected m25p80 [ 0.500000] m25p80 spi0.0: w25q128 (16384 Kbytes) [ 0.510000] 5 tp-link partitions found on MTD device spi0.0 [ 0.510000] Creating 5 MTD partitions on "spi0.0": [ 0.520000] 0x000000000000-0x000000020000 : "u-boot" [ 0.520000] 0x000000020000-0x0000001355f0 : "kernel" [ 0.530000] 0x0000001355f0-0x000000ff0000 : "rootfs" [ 0.530000] mtd: device 2 (rootfs) set to be root filesystem [ 0.540000] 1 squashfs-split partitions found on MTD device rootfs [ 0.540000] 0x0000006d0000-0x000000ff0000 : "rootfs_data" [ 0.550000] 0x000000ff0000-0x000001000000 : "art" [ 0.550000] 0x000000020000-0x000000ff0000 : "firmware" [ 0.580000] libphy: ag71xx_mdio: probed [ 1.170000] ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.1:04 [uid=004dd041, driver=Generic PHY] [ 1.180000] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode:MII [ 1.180000] TCP: cubic registered [ 1.180000] NET: Registered protocol family 17 [ 1.190000] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this. [ 1.200000] 8021q: 802.1Q VLAN Support v1.8 [ 1.220000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2. [ 1.220000] Freeing unused kernel memory: 252K (80371000 - 803b0000) [ 2.680000] init: Console is alive [ 2.680000] init: - watchdog - [ 4.970000] usbcore: registered new interface driver usbfs [ 4.970000] usbcore: registered new interface driver hub [ 4.980000] usbcore: registered new device driver usb [ 5.040000] SCSI subsystem initialized [ 5.050000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 5.050000] ehci-platform: EHCI generic platform driver [ 5.060000] ehci-platform ehci-platform: EHCI Host Controller [ 5.060000] ehci-platform ehci-platform: new USB bus registered, assigned bus number 1 [ 5.070000] ehci-platform ehci-platform: irq 3, io mem 0x1b000000 [ 5.100000] ehci-platform ehci-platform: USB 2.0 started, EHCI 1.00 [ 5.100000] hub 1-0:1.0: USB hub found [ 5.100000] hub 1-0:1.0: 1 port detected [ 5.110000] usbcore: registered new interface driver usb-storage [ 5.840000] init: - preinit - [ 6.570000] random: procd urandom read with 10 bits of entropy available [ 9.970000] mount_root: loading kmods from internal overlay [ 10.440000] jffs2: notice: (338) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found. [ 10.450000] block: attempting to load /tmp/jffs_cfg/upper/etc/config/fstab [ 10.470000] block: extroot: not configured [ 10.540000] jffs2: notice: (335) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found. [ 10.720000] block: attempting to load /tmp/jffs_cfg/upper/etc/config/fstab [ 10.730000] block: extroot: not configured [ 10.740000] mount_root: switching to jffs2 overlay [ 10.800000] procd: - early - [ 10.800000] procd: - watchdog - [ 11.690000] procd: - ubus - [ 12.710000] procd: - init - [ 14.050000] NET: Registered protocol family 10 [ 14.070000] ntfs: driver 2.1.31 [Flags: R/O MODULE]. [ 14.090000] ip6_tables: (C) 2000-2006 Netfilter Core Team [ 14.120000] i2c /dev entries driver [ 14.130000] Custom GPIO-based I2C driver version 0.1.1 [ 14.130000] i2c-gpio i2c-gpio.0: using pins 21 (SDA) and 20 (SCL) [ 14.150000] usbcore: registered new interface driver cdc_acm [ 14.150000] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters [ 14.170000] Loading modules backported from Linux version master-2015-03-09-0-g141f155 [ 14.170000] Backport generated by backports.git backports-20150129-0-gdd4a670 [ 14.180000] ip_tables: (C) 2000-2006 Netfilter Core Team [ 14.200000] nf_conntrack version 0.5.0 (956 buckets, 3824 max) [ 14.260000] usbcore: registered new interface driver ums-alauda [ 14.270000] usbcore: registered new interface driver ums-cypress [ 14.270000] usbcore: registered new interface driver ums-datafab [ 14.280000] usbcore: registered new interface driver ums-freecom [ 14.290000] usbcore: registered new interface driver ums-isd200 [ 14.300000] usbcore: registered new interface driver ums-jumpshot [ 14.300000] usbcore: registered new interface driver ums-karma [ 14.310000] usbcore: registered new interface driver ums-sddr09 [ 14.320000] usbcore: registered new interface driver ums-sddr55 [ 14.330000] usbcore: registered new interface driver ums-usbat [ 14.340000] usbcore: registered new interface driver usbserial [ 14.340000] usbcore: registered new interface driver usbserial_generic [ 14.350000] usbserial: USB Serial support registered for generic [ 14.380000] xt_time: kernel timezone is -0000 [ 14.420000] cfg80211: Calling CRDA to update world regulatory domain [ 14.440000] usbcore: registered new interface driver ch341 [ 14.440000] usbserial: USB Serial support registered for ch341-uart [ 14.450000] usbcore: registered new interface driver cp210x [ 14.450000] usbserial: USB Serial support registered for cp210x [ 14.460000] usbcore: registered new interface driver ftdi_sio [ 14.470000] usbserial: USB Serial support registered for FTDI USB Serial Device [ 14.480000] cfg80211: World regulatory domain updated: [ 14.480000] cfg80211: DFS Master region: unset [ 14.490000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time) [ 14.500000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A) [ 14.500000] cfg80211: (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A) [ 14.510000] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A) [ 14.520000] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A) [ 14.530000] cfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s) [ 14.540000] cfg80211: (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s) [ 14.540000] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A) [ 14.550000] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A) [ 14.660000] usbcore: registered new interface driver pl2303 [ 14.660000] usbserial: USB Serial support registered for pl2303 [ 14.680000] PPP generic driver version 2.4.2 [ 14.680000] NET: Registered protocol family 24 [ 14.750000] ath: EEPROM regdomain: 0x0 [ 14.750000] ath: EEPROM indicates default country code should be used [ 14.750000] ath: doing EEPROM country->regdmn map search [ 14.750000] ath: country maps to regdmn code: 0x3a [ 14.750000] ath: Country alpha2 being used: US [ 14.750000] ath: Regpair used: 0x3a [ 14.770000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht' [ 14.770000] ieee80211 phy0: Atheros AR9330 Rev:1 mem=0xb8100000, irq=2 [ 14.780000] cfg80211: Calling CRDA for country: US [ 14.780000] cfg80211: Regulatory domain changed to country: US [ 14.790000] cfg80211: DFS Master region: FCC [ 14.790000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time) [ 14.800000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 3000 mBm), (N/A) [ 14.810000] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 1700 mBm), (N/A) [ 14.820000] cfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2300 mBm), (0 s) [ 14.830000] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 3000 mBm), (N/A) [ 14.840000] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 4000 mBm), (N/A) [ 29.110000] IPv6: ADDRCONF(NETDEV_UP): wlan0-1: link is not ready [ 29.560000] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready [ 31.120000] wlan0: authenticate with 00:19:5b:d3:68:f9 [ 31.140000] wlan0: send auth to 00:19:5b:d3:68:f9 (try 1/3) [ 31.210000] wlan0: authenticated [ 31.210000] ath9k ar933x_wmac wlan0: disabling HT as WMM/QoS is not supported by the AP [ 31.220000] ath9k ar933x_wmac wlan0: disabling VHT as WMM/QoS is not supported by the AP [ 31.240000] wlan0: associate with 00:19:5b:d3:68:f9 (try 1/3) [ 31.240000] wlan0: RX AssocResp from 00:19:5b:d3:68:f9 (capab=0x411 status=0 aid=1) [ 31.250000] wlan0: associated [ 31.250000] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready [ 32.260000] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0-1: link becomes ready [ 50.850000] random: nonblocking pool is initialized [ 143.280000] wlan0: deauthenticating from 00:19:5b:d3:68:f9 by local choice (Reason: 3=DEAUTH_LEAVING) [ 144.510000] IPv6: ADDRCONF(NETDEV_UP): wlan0-1: link is not ready [ 144.770000] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready [ 146.210000] wlan0: authenticate with 00:19:5b:d3:68:f9 [ 146.230000] wlan0: send auth to 00:19:5b:d3:68:f9 (try 1/3) [ 146.240000] wlan0: authenticated [ 146.250000] ath9k ar933x_wmac wlan0: disabling HT as WMM/QoS is not supported by the AP [ 146.260000] ath9k ar933x_wmac wlan0: disabling VHT as WMM/QoS is not supported by the AP [ 146.270000] wlan0: associate with 00:19:5b:d3:68:f9 (try 1/3) [ 146.280000] wlan0: RX AssocResp from 00:19:5b:d3:68:f9 (capab=0x411 status=0 aid=1) [ 146.290000] wlan0: associated [ 146.290000] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready [ 146.340000] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0-1: link becomes ready
-
I've found that a factory reset and firmware upgrade reset a problem I had that was similar. Don't know which resolved the problem, and I offer this only if you care more about getting them back up over identifying the root cause
-
@Zafer-Demirsoy said:
[ 146.290000] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 146.340000] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0-1: link becomes readyThis should mean that your Wi-Fi is connected properly to your router... Can you try to ping google.com to see what the output is?
-
Hi,
I've had a similar situation and I played around with it.
Do you use 802.11n? For me falling back to 802.11b/g instead of 802.11b/g/n solved the problem.
If it's the routers fault I don't know, but I would not wonder in my case. Will report more tomorrow when I can test another router.BR
Frank
-
@Frank-Neuhaus Thanks Frank
-
I have tested with the new AP which support 802.11b/g/n and I ping to the google.com.
But When I have tested with the Chrome, (http://192.168.3.1) it replies with 'This webpage is not available'.
What would be the next step? Did I miss something?
Thanks for all the helpful messages.ifconfig output
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:284 errors:0 dropped:0 overruns:0 frame:0 TX packets:284 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:20397 (19.9 KiB) TX bytes:20397 (19.9 KiB) wlan0 Link encap:Ethernet HWaddr 40:A3:6B:C1:28:F7 inet addr:192.168.2.5 Bcast:192.168.2.255 Mask:255.255.255.0 inet6 addr: fe80::42a3:6bff:fec1:28f7/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:614 errors:0 dropped:0 overruns:0 frame:0 TX packets:710 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:147856 (144.3 KiB) TX bytes:107808 (105.2 KiB) wlan0-1 Link encap:Ethernet HWaddr 42:A3:6B:C1:28:F7 inet addr:192.168.3.1 Bcast:192.168.3.255 Mask:255.255.255.0 inet6 addr: fe80::40a3:6bff:fec1:28f7/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:539 errors:0 dropped:0 overruns:0 frame:0 TX packets:580 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:74605 (72.8 KiB) TX bytes:159899 (156.1 KiB)
-
Hi @Zafer-Demirsoy The IP address needs to change depending on which Wi-Fi Network your computer is connected to. If your computer is connected to Omega's access point, then the IP 192.168.3.1 is correct. However, if you are connected to your home router, then you will need to access the Omega's IP address, which as shown by the output of your ifconfig command is 192.168.2.5. Please give http://192.168.2.5 a go.
Cheers.
-
Aha, thanks(Zzzz) indeed I have routing problem.
Case has been solved. Thanks to who participate in.