Another odd Omega not booting problem
-
@Boken-Lin It's ALIVE....., thanks for the help, I had moved the connection to the laptop yesterday but didn't try tftp on the laptop.
Reflashed Uboot and httpd to load the latest Omega firmware an its up and running. Now to tackle wifisetup
-
Was going to say make sure your host firewall is turned off on windows as that is generally the biggest problem when hosting stuff on a windows desktop! (Windows firewall normally, obviously turn it back on after, alternitively create a rule to allow ping and tftp through)
-
@Boken-Lin Omega seems to run as expected except no wifi, have gone over another post related to no wifi and can't get any response from Omega as far as wifi set up. The following is what I get.
BusyBox v1.23.2 (2015-12-09 19:09:31 UTC) built-in shell (ash) ____ _ ____ / __ \___ (_)__ ___ / __ \__ _ ___ ___ ____ _ / /_/ / _ \/ / _ \/ _ \ / /_/ / ' \/ -_) _ `/ _ `/ \____/_//_/_/\___/_//_/ \____/_/_/_/\__/\_, /\_,_/ W H A T W I L L Y O U I N V E N T ? /___/ ----------------------------------------------------- Ī©-ware: 0.0.5 b238 -------------------------------------------------- root@Omega-6CF0:/# wifi root@Omega-6CF0:/# ifconfig -a eth0 Link encap:Ethernet HWaddr B6:F4:3C:BE:6C:F0 BROADCAST 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) Interrupt:4 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:240 errors:0 dropped:0 overruns:0 frame:0 TX packets:240 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:16992 (16.5 KiB) TX bytes:16992 (16.5 KiB) root@Omega-6CF0:/# wifisetup -ssid linksys -auth none -password "" > Connecting to linksys network using intf 1... > Checking wwan device status... > wwan is not up!! > Disabling network on iface 1 ... > Done!
The last post to https://community.onion.io/topic/135/omega-can-t-connect-to-wifi didn't seem to have resolved similar issues. Any other suggestions?
-
@Harvey-Golob If you run a hotspot on your phone, are you able to detect it via the
wifisetup
command?
-
@Harvey-Golob I think I figured out the issue. You also need to flash the ART partition on the Omega. Can you start up
httpd
from youruboot
again, and at the bottom, there should be a link to flash ART. the ART partition binary can be found here: https://s3-us-west-2.amazonaws.com/onion-downloads/openwrt/art_for_omega.bin.
-
@Boken-Lin Flashed ART just now, no change. Also tried hotspot suggestion, scan from Omega still fails. ifconfig only shows lo and eth0. Headed to work now, will check back end of day.
-
@Harvey-Golob You will need to do a factory reset after flashing the ART partition. On first boot, the Omega will read from the ART partition and setup its WiFi.
Sorry about the confusion!
-
@Boken-Lin Finally got back to this, started Omega, did factory reset and still no wifi. Just to be sure dropped to Uboot and started httpd and tried to reflash ART. Then did factory reset and no change.
-
@Harvey-Golob Can you try reflash both ART and the
rootfs
partition fromuboot
?
-
@Boken-Lin Reflashed firmware (omega-v0.0.5-b238) and let boot, then restarted and reflashed ART, let it boot and then factory reset, still no change. Missing something?
-
@Harvey-Golob Can you connect via serial terminal and copy and paste the dmesg (all the text that flashes before your screen).
-
@Boken-Lin Here ya go..
********************************************* * U-Boot 1.1.4 (Sep 14 2015, 08:21:31) * ********************************************* AP121 (AR9331) U-Boot for Onion Omega DRAM: 64 MB DDR2 16-bit id read ox100000ff FLASH: 16MCLOCKS: 400/400/200/20 MHz (CPU/RAM/AHB/SPI) ## Error: MAC is invalid, using fixed! LED on during eth initialization... ## Error: MAC address in FLASH is invalid, using fixed! ## Error: MAC address in FLASH is invalid, using fixed! Hit any key to stop autobooting: 0 Booting image at: 0x9F020000 Image name: OpenWrt r47815 Image type: MIPS Linux Kernel Image (lzma compressed) Data size: 1139376 Bytes = 1.1 MB Load address: 0x80060000 Entry point: 0x80060000 Uncompressing kernel image... OK! Starting kernel... [ 0.000000] Linux version 3.18.23 (zh@ci-onion) (gcc version 4.8.3 (OpenWrt/L inaro GCC 4.8-2014.04 r47815) ) #1 Wed Dec 9 19:12:48 UTC 2015 [ 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] 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] Built 1 zonelists in Zone order, mobility grouping on. Total pag es: 16256 [ 0.000000] Kernel command line: board=ONION-OMEGA console=ttyATH0,115200 r ootfstype=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 (2486K kernel code, 129K rwdata, 532K rodata, 236K 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.00 0MHz [ 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] 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_PRIORIT Y) (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 = 15 62500) is a AR933X UART [ 0.480000] console [ttyATH0] enabled [ 0.480000] console [ttyATH0] enabled [ 0.490000] bootconsole [early0] disabled [ 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-0x0000001364b0 : "kernel" [ 0.530000] 0x0000001364b0-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] 0x0000007c0000-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=004dd0 41, 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 depreca ted. 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: 236K (80375000 - 803b0000) [ 2.690000] init: Console is alive [ 2.690000] init: - watchdog - [ 5.220000] usbcore: registered new interface driver usbfs [ 5.230000] usbcore: registered new interface driver hub [ 5.230000] usbcore: registered new device driver usb [ 5.290000] SCSI subsystem initialized [ 5.300000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 5.310000] ehci-platform: EHCI generic platform driver [ 5.310000] ehci-platform ehci-platform: EHCI Host Controller [ 5.320000] ehci-platform ehci-platform: new USB bus registered, assigned bus number 1 [ 5.330000] ehci-platform ehci-platform: irq 3, io mem 0x1b000000 [ 5.350000] ehci-platform ehci-platform: USB 2.0 started, EHCI 1.00 [ 5.350000] hub 1-0:1.0: USB hub found [ 5.350000] hub 1-0:1.0: 1 port detected [ 5.370000] usbcore: registered new interface driver usb-storage [ 5.720000] init: - preinit - [ 6.450000] random: procd urandom read with 10 bits of entropy available Press the [f] key and hit [enter] to enter failsafe mode Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level [ 9.630000] mount_root: loading kmods from internal overlay [ 10.010000] jffs2: notice: (337) jffs2_build_xattr_subsystem: complete buildi ng xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found. [ 10.030000] block: attempting to load /tmp/jffs_cfg/upper/etc/config/fstab [ 10.040000] block: extroot: not configured [ 10.110000] jffs2: notice: (334) jffs2_build_xattr_subsystem: complete buildi ng xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found. [ 10.290000] block: attempting to load /tmp/jffs_cfg/upper/etc/config/fstab [ 10.300000] block: extroot: not configured [ 10.310000] mount_root: switching to jffs2 overlay [ 10.380000] procd: - early - [ 10.380000] procd: - watchdog - [ 11.180000] procd: - ubus - [ 12.190000] procd: - init - Please press Enter to activate this console. [ 13.640000] NET: Registered protocol family 10 [ 13.660000] ntfs: driver 2.1.31 [Flags: R/O MODULE]. [ 13.680000] ip6_tables: (C) 2000-2006 Netfilter Core Team [ 13.710000] i2c /dev entries driver [ 13.720000] Custom GPIO-based I2C driver version 0.1.1 [ 13.720000] i2c-gpio i2c-gpio.0: using pins 21 (SDA) and 20 (SCL) [ 13.760000] Linux video capture interface: v2.00 [ 13.780000] hidraw: raw HID events driver (C) Jiri Kosina [ 13.820000] usbcore: registered new interface driver cdc_acm [ 13.820000] cdc_acm: USB Abstract Control Model driver for USB modems and ISD N adapters [ 13.830000] Loading modules backported from Linux version master-2015-03-09-0 -g141f155 [ 13.840000] Backport generated by backports.git backports-20150129-0-gdd4a670 [ 13.850000] ip_tables: (C) 2000-2006 Netfilter Core Team [ 13.870000] nf_conntrack version 0.5.0 (955 buckets, 3820 max) [ 13.910000] usbcore: registered new interface driver ums-alauda [ 13.920000] usbcore: registered new interface driver ums-cypress [ 13.930000] usbcore: registered new interface driver ums-datafab [ 13.930000] usbcore: registered new interface driver ums-freecom [ 13.940000] usbcore: registered new interface driver ums-isd200 [ 13.950000] usbcore: registered new interface driver ums-jumpshot [ 13.960000] usbcore: registered new interface driver ums-karma [ 13.970000] usbcore: registered new interface driver ums-sddr09 [ 13.970000] usbcore: registered new interface driver ums-sddr55 [ 13.980000] usbcore: registered new interface driver ums-usbat [ 13.990000] usbcore: registered new interface driver usbhid [ 14.000000] usbhid: USB HID core driver [ 14.000000] usbcore: registered new interface driver usblp [ 14.020000] usbcore: registered new interface driver usbserial [ 14.020000] usbcore: registered new interface driver usbserial_generic [ 14.030000] usbserial: USB Serial support registered for generic [ 14.050000] usbcore: registered new interface driver uvcvideo [ 14.050000] USB Video Class driver (1.1.1) [ 14.080000] xt_time: kernel timezone is -0000 [ 14.130000] cfg80211: Calling CRDA to update world regulatory domain [ 14.130000] cfg80211: World regulatory domain updated: [ 14.140000] cfg80211: DFS Master region: unset [ 14.140000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gai n, max_eirp), (dfs_cac_time) [ 14.150000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 m Bm), (N/A) [ 14.160000] cfg80211: (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 m Bm), (N/A) [ 14.170000] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 m Bm), (N/A) [ 14.170000] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz), (N/A, 2000 m Bm), (N/A) [ 14.180000] cfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AU TO), (N/A, 2000 mBm), (0 s) [ 14.190000] cfg80211: (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s) [ 14.200000] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 m Bm), (N/A) [ 14.210000] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A) [ 14.230000] usbcore: registered new interface driver ch341 [ 14.230000] usbserial: USB Serial support registered for ch341-uart [ 14.240000] usbcore: registered new interface driver cp210x [ 14.240000] usbserial: USB Serial support registered for cp210x [ 14.250000] usbcore: registered new interface driver ftdi_sio [ 14.260000] usbserial: USB Serial support registered for FTDI USB Serial Devi ce [ 14.370000] usbcore: registered new interface driver pl2303 [ 14.370000] usbserial: USB Serial support registered for pl2303 [ 14.380000] PPP generic driver version 2.4.2 [ 14.390000] NET: Registered protocol family 24 [ 14.480000] ieee80211 phy0: Atheros AR9330 Rev:1 mem=0xb8100000, irq=2 [ 14.490000] cfg80211: Calling CRDA for country: US [ 14.500000] cfg80211: Regulatory domain changed to country: US [ 14.500000] cfg80211: DFS Master region: FCC [ 14.510000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gai n, max_eirp), (dfs_cac_time) [ 14.520000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 3000 m Bm), (N/A) [ 14.520000] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AU TO), (N/A, 1700 mBm), (N/A) [ 14.530000] cfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AU TO), (N/A, 2300 mBm), (0 s) [ 14.540000] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 3000 m Bm), (N/A) [ 14.550000] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 40 00 mBm), (N/A) [ 81.290000] random: nonblocking pool is initialized
-
@Harvey-Golob Alright, figured out what your issue is. Apparently the MAC address was erased when you flash the ART partition. Can you boot into
uboot
, and issue the following command:setmac 40:A3:6B:C1:06:C3
After that, just reboot, and everything should work!
Cheers!
-
@Boken-Lin I am now free to roam the interwebs..