Unable to access the Arduino YUN wIfi

Hi,

I am working on Arduino YUN these days. I am having a problem. In the start , it worked fine, I read tutorials and configured it with my Wifi connection using Arduino.local and everything went well. But yesterday when I tried to connect to Arduino YUN wifi in order to configure it. It gave the Limited Access :((

I tried again and again but no luck after that it simply dissappeared from my Wifi List, I uploaded the sketch blink using serial COM port and it uploaded and working fine but I am unable to find the Wifi connection and hence cant open Arduino.local

I have also searched on other laptops but Arduino Wifi is not coming in any laptop. I am afraid now. Is it burnt or something??? Do I need to buy new YUN or is it something about the settings and if it so How can I reset it back to factory default ???

I have also pushed the button for almost 1 minute but no luck.

Moreover the blue LED WLAN is blinking continuously. Sometimes it stops but again start blinking after some time.

Please let me know what to do ???

Thanks.

The wifi-live-or-reset is kick in. Disable wifi-live-or-reset might help.

http://forum.arduino.cc/index.php?topic=188101.msg1591819#msg1591819

follow the same thread to get wifi Signal level strong. Once it works then re-enable wifi-live-or-reset.

I have tried this method /usr/bin/reset-to-factory-anyway ..... but it doesnt give anything on serial ....... By ~2 I enter in the linus but when I give /usr/bin/reset-to-factory-anyway this thing it doesn't show anything .... What should I do ???

Thanks.

When I use YUN SerialTerminal example and hit the reset button , I get this response

[    0.000000] Linux version 3.8.3 (federico@smilzo) (gcc version 4.6.4 20121210 (prerelease) (Linaro GCC 4.6-2012.12) ) #8 Mon Aug 19 16:22:39 CEST 2013
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU revision is: 00019374 (MIPS 24Kc)
[    0.000000] SoC: Atheros AR9330 rev 1
[    0.000000] Clocks: CPU:400.000MHz, DDR:400.000MHz, AHB:200.000MHz, Ref:25.000MHz
[    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] 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 pages: 16256
[    0.000000] Kernel command line:  board=Linino console=ttyATH0,250000 mtdparts=spi0.0:256k(u-boot)ro,64k(u-boot-env)ro,14656k(rootfs),1280k(kernel),64k(nvram),64k(art),15936k@0x50000(firmware) 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] __ex_table already sorted, skipping sort
[    0.000000] Writing ErrCtl register=00000000
[    0.000000] Readback ErrCtl register=00000000
[    0.000000] Memory: 60900k/65536k available (2565k kernel code, 4636k reserved, 655k data, 232k init, 0k highmem)
[    0.000000] SLUB: Genslabs=9, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:51
[    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: 512
[    0.080000] NET: Registered protocol family 16
[    0.090000] MIPS: machine is Arduino Yun
[    0.530000] Setting DogStick2 GPIO
[    0.550000] bio: create slab <bio-0> at 0
[    0.550000] SCSI subsystem initialized
[    0.550000] usbcore: registered new interface driver usbfs
[    0.560000] usbcore: registered new interface driver hub
[    0.560000] usbcore: registered new device driver usb
[    0.560000] Switching to clocksource MIPS
[    0.570000] NET: Registered protocol family 2
[    0.570000] TCP established hash table entries: 512 (order: 0, 4096 bytes)
[    0.570000] TCP bind hash table entries: 512 (order: -1, 2048 bytes)
[    0.570000] TCP: Hash tables configured (established 512 bind 512)
[    0.570000] TCP: reno registered
[    0.570000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.570000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.580000] NET: Registered protocol family 1
[    0.600000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.600000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.610000] msgmni has been set to 118
[    0.610000] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
[    0.610000] io scheduler noop registered
[    0.610000] io scheduler deadline registered (default)
[    0.610000] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.620000] ar933x-uart: ttyATH0 at MMIO 0x18020000 (irq = 11) is a AR933X UART
[    0.630000] console [ttyATH0] enabled, bootconsole disabled
[    0.630000] console [ttyATH0] enabled, bootconsole disabled
[    0.630000] ath79-spi ath79-spi: master is unqueued, this is deprecated
[    0.640000] m25p80 spi0.0: found w25q128, expected m25p80
[    0.640000] m25p80 spi0.0: w25q128 (16384 Kbytes)
[    0.640000] 7 cmdlinepart partitions found on MTD device spi0.0
[    0.650000] Creating 7 MTD partitions on "spi0.0":
[    0.650000] 0x000000000000-0x000000040000 : "u-boot"
[    0.650000] 0x000000040000-0x000000050000 : "u-boot-env"
[    0.660000] 0x000000050000-0x000000ea0000 : "rootfs"
[    0.660000] mtd: partition "rootfs" set to be root filesystem
[    0.660000] mtd: partition "rootfs_data" created automatically, ofs=720000, len=780000 
[    0.660000] 0x000000720000-0x000000ea0000 : "rootfs_data"
[    0.670000] 0x000000ea0000-0x000000fe0000 : "kernel"
[    0.670000] 0x000000fe0000-0x000000ff0000 : "nvram"
[    0.680000] 0x000000ff0000-0x000001000000 : "art"
[    0.680000] 0x000000050000-0x000000fe0000 : "firmware"
[    0.700000] libphy: ag71xx_mdio: probed
[    0.700000] eth0: Atheros AG71xx at 0xba000000, irq 5, mode:GMII
[    1.250000] eth0: Found an AR7240/AR9330 built-in switch
[    2.280000] eth1: Atheros AG71xx at 0xb9000000, irq 4, mode:MII
[    2.830000] ag71xx ag71xx.0 eth1: connected to PHY at ag71xx-mdio.1:04 [uid=004dd041, driver=Generic PHY]
[    2.830000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    2.840000] ehci-platform: EHCI generic platform driver
[    2.840000] ehci-platform ehci-platform: EHCI Host Controller
[    2.840000] ehci-platform ehci-platform: new USB bus registered, assigned bus number 1
[    2.840000] ehci-platform ehci-platform: irq 3, io mem 0x1b000000
[    2.870000] ehci-platform ehci-platform: USB 2.0 started, EHCI 1.00
[    2.870000] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    2.870000] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.870000] usb usb1: Product: EHCI Host Controller
[    2.880000] usb usb1: Manufacturer: Linux 3.8.3 ehci_hcd
[    2.880000] usb usb1: SerialNumber: ehci-platform
[    2.880000] hub 1-0:1.0: USB hub found
[    2.880000] hub 1-0:1.0: 1 port detected
[    2.890000] Initializing USB Mass Storage driver...
[    2.890000] usbcore: registered new interface driver usb-storage
[    2.890000] USB Mass Storage support registered.
[    2.890000] input: gpio-keys-polled as /devices/platform/gpio-keys-polled/input/input0
[    2.900000] sdhci: Secure Digital Host Controller Interface driver
[    2.900000] sdhci: Copyright(c) Pierre Ossman
[    2.900000] usbcore: registered new interface driver ushc
[    2.900000] TCP: cubic registered
[    2.900000] NET: Registered protocol family 17
[    2.910000] Bridge firewalling registered
[    2.910000] 8021q: 802.1Q VLAN Support v1.8
[    2.920000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[    2.920000] Freeing unused kernel memory: 232k freed
[    3.250000] usb 1-1: new high-speed USB device number 2 using ehci-platform
[    3.420000] usb 1-1: New USB device found, idVendor=058f, idProduct=6254
[    3.430000] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    3.430000] usb 1-1: Product: USB2.0Hub
[    3.550000] hub 1-1:1.0: USB hub found
[    3.550000] hub 1-1:1.0: 4 ports detected
[    3.920000] usb 1-1.4: new high-speed USB device number 3 using ehci-platform
[    4.050000] usb 1-1.4: New USB device found, idVendor=058f, idProduct=6366
[    4.050000] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    4.050000] usb 1-1.4: Product: Mass Storage Device
[    4.060000] usb 1-1.4: Manufacturer: Generic
[    4.060000] usb 1-1.4: SerialNumber: 058F0O1111B1
[    4.070000] scsi0 : usb-storage 1-1.4:1.0
[    5.070000] scsi 0:0:0:0: Direct-Access     Multi    Flash Reader     1.00 PQ: 0 ANSI: 0
[    5.290000] Error: Driver 'gpio-keys-polled' is already registered, aborting...
- preinit -
Press the [f] key and hit [enter] to enter failsafe mode
f- regular preinit -
[    9.840000] jffs2: notice: (528) jffs2_build_xattr_subsystem: complete building xattr subsystem, 1 of xdatum (1 unchecked, 0 orphan) and 12 of xref (0 dead, 0 orphan) found.
[   11.110000] sd 0:0:0:0: [sda] Attached SCSI removable disk

Yun can not reset to factory anymore!!

http://forum.arduino.cc/index.php?topic=213705.msg1565149#msg1565149

http://playground.arduino.cc/Hardware/Yun#Yun_bootup

Sir,

I really need your help, Can you talk to me on skype ..... May be we can solve it using team viewer .... you control my PC and let me solve this issue ...... Please I am really stucked ....... I have tried everything ..... This thing too run-sysupgrade openwrt-ar71xx-generic-linino-16M-squashfs-sysupgrade.bin .... but no response ..... I am even ready to pay .... Kindly let me know ..... thats my skype : theenggprojects

I am also getting this thing:

Please press Enter to activate this console. [   39.150000] Compat-drivers backport release: compat-drivers-2013-01-21-1
[   39.150000] Backport based on wireless-testing.git master-2013-02-22
[   39.160000] compat.git: wireless-testing.git
[   39.190000] cfg80211: Calling CRDA to update world regulatory domain
[   39.190000] cfg80211: World regulatory domain updated:
[   39.200000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   39.200000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   39.200000] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   39.210000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   39.210000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   39.210000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   40.010000] ieee80211 phy0: Atheros AR9330 Rev:1 mem=0xb8100000, irq=2
[   40.010000] cfg80211: Calling CRDA for country: US
[   40.020000] cfg80211: Regulatory domain changed to country: US
[   40.020000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   40.020000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2700 mBm)
[   40.030000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 1700 mBm)
[   40.030000] cfg80211:   (5250000 KHz - 5330000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   40.030000] cfg80211:   (5490000 KHz - 5600000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   40.040000] cfg80211:   (5650000 KHz - 5710000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   40.040000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 3000 mBm)
[   40.400000] NTFS driver 2.1.30 [Flags: R/O MODULE].
[   40.440000] Error: Driver 'gpio-keys-polled' is already registered, aborting...
[   40.470000] PPP generic driver version 2.4.2
[   40.610000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   41.040000] NET: Registered protocol family 24
[   41.080000] nf_conntrack version 0.5.0 (955 buckets, 3820 max)
[   41.830000] Linux video capture interface: v2.00
[   42.080000] fuse init (API version 7.20)

WARNING Following this guide will VOID the WARRANTY of your Yún

Read carefully !

You pass the U-Boot.

ATHRS26: s26 reset done
eth1 up
eth0, eth1
Hit any key to stop autoboot: 4 3 2
ar7240>

Backup Plan: in case nonthing works.

http://forum.arduino.cc/index.php?topic=214167.msg1571563#msg1571563

Plan B or Plan D.

Hi,

Thanks a lot, I really dont know how to thank you .... I have finally reset my YUN and now its appearing in my Wifi ..... I opened the Arduino.local and it opened then I configure the Wifi network available.

But here I got into problem .... When I connect my YUN to wifi network, it got stuck there. Although it restarted but after that when I try to access it again , it doesn't load up. Neither it come in the Wifi Connections and when I run the WifiCheck Example , it shows that I am connected to new Wifi connection but there the speed RX / TX is very low i.e. 8KB . Here's the log:

Current WiFi configuration
SSID: XEO
Mode: Client
Signal: 80%
Encryption method: WPA PSK (NONE)
Interface name: wlan0
Active for: 18 minutes
IP address: 192.168.1.102/255.255.255.0
MAC address: 90:A2:DA:F2:01:73
RX/TX: 18/25 KBs

Kindly check it .... Why my YUN is now working slow ????

Thanks again Sir.

http://forum.arduino.cc/index.php?topic=188101.msg1580622#msg1580622

Thanks a lot bro for all the help you have done in order to help me out in my project. I will surely post a complete tutorial on Arduino YUN on my blog for others. I have completed everything but I am stuck on a small problem and hopefully the last one as everything else is now working. The problem is:

In order to upload the data to my ftp account I am using the below commands:

Process UploadW.runShellCommand("curl -T /mnt/sda1/datalog.txt" + Ftp_Server + Username_Password + " --append ");
     while(UploadW.running);

Its working fine but the problem is during Upload if I lost my Wifi Connection somewhere then my YUN got stuch in the while loop and doesn't come out of it. I have also tried the if but no luck. Kindly tell me how can I place a check in my code that if the Wifi is available then keep on uploading and if Wifi is not there then simply come out and do the other task, just don't stuck.

Thanks.

A lot of unstable Wifi connection is related with Wifi Signal Strength.

http://forum.arduino.cc/index.php?topic=188101.msg1597553#msg1597553