I have the newest Yun firmware and was poking around in the settings and now the WLAN reset button doesn't reset the network settings, The old network name shows up but when I connect the Yun isn't at arduino.local and doesn't show up in a ipconfig (it should be the Default Gateway)
TylerS1066,
the Yun has a fallback to the factory default settings when it canNOT find the last AP it was connected to. The factory default fallback IP is 192.168.240.1 , the hostname is arduino.local. If one is not aware of this, it can be quite frustrating.
READ this:
SEE: the second labelled WLAN RST
I should also note that you NEED to be on the same network (or subnet) as the Yun. This means connect to the AP on the Yun and things will appear again.
Jesse
Upload the YunSerialTerminal sketch and when the Yun creates the WiFi network open the serial monitor on the IDE and run ifconfig to see your Yun IP address.
@jessemonroy650
I have tried doing the WLAN reset and full Linix reset, before reset it was configured to be a AP and it still acts as a AP with the same SSID and password as before, but once you connect to it's network and go to either tyleryun.local (what worked before) or arduino.local it doesn't connect
@Angelo9999
The problem is that it seems as if the Yun isn't on it's own wifi network
TylerS1066:
@jessemonroy650
I have tried doing the WLAN reset and full Linix reset, before reset
::::SNIP::::
@Angelo9999
The problem is that it seems as if the Yun isn't on it's own wifi network
TylerS1066,
as Angelo9999 suggests:
- get your USB cable
- connect the cable to the Yun and your PC
- compile & upload the YunSerialTerminal sketch ::File->Examples->Bridge->YunSerialTerminal
- give it a few seconds to become active.
You know have a shell on the Yun. Type ifconfig, let us know what it says (copy and paste).
(Please use the markup)
TIA
Jesse
Here is what ifconfig outputs:
eth1 Link encap:Ethernet HWaddr 90:A2:DA:FD:04:02
UP 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
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:720 errors:0 dropped:0 overruns:0 frame:0
TX packets:720 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:59040 (57.6 KiB) TX bytes:59040 (57.6 KiB)
wlan0 Link encap:Ethernet HWaddr 90:A2:DA:F5:04:02
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)
TylerS1066:
@jessemonroy650
I have tried doing the WLAN reset and full Linix reset, before reset
::::SNIP::::
@Angelo9999
The problem is that it seems as if the Yun isn't on it's own wifi network
TylerS1066,
as Angelo9999 suggests:
get your USB cable out
connect the cable to the Yun and your PC
compile & upload the YunSerialTerminal sketch ::File->Examples->Bridge->YunSerialTerminal
give it a few seconds to become a
It seems that the Yun doesn't create a WiFi network neither connects to an existing one.
Try to reset the board from the console.
Run from the YunSerialTerminal reset-to-factory-anyway or wifi-reset-and-reboot .
If these method does not work try to boot your Yun in failsafe mode.
Once the YunSerialTerminal is active reset the linux side and when the boot process ask for booting in failsafe mode press 'f' and then enter
@TylerS1066,
try the suggestion from Angelo9999. Be aware that sometimes the Yun is stubborn. It may SEE the wifi AP, put cannot connect. Resetting via the software suggestion from Angelo9999 should do it, If not comeback.
TIA
Jesse
Thanks for the help! The reset-to-factory-anyway had no effect on the messed up network, the wifi-reset-and-reboot did work and now I have a workable Yun
TylerS1066:
Thanks for the help! The reset-to-factory-anyway had no effect on the messed up network, the wifi-reset-and-reboot did work and now I have a workable Yun
Maybe the first command was neccesary in order to work the second one.
My Yun doesn't work...
I can't "see" the «Yun-xxxxxxx» wireless network...
i resetted the "WLAN RST" for a bit more than 5 secs...
It should appear the wireless network, right? ..And using the 192.168.240.1 , to access the admin console?
(..but the blue LED is Blinking....sometimes..then stops...then start over...)
i uploaded the sketch "YunSerialTerminal" and i have this:
No initrd
## Transferring control to Linux (at address 80060000) ...
## Giving linux memsize in bytes, 67108864
Starting kernel ...
[ 0.000000] Linux version 3.3.8 (jenkins@jenkins) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #1 Fri Nov 14 08:57:34 CET 2014
[ 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 PFN ranges:
[ 0.000000] Normal 0x00000000 -> 0x00004000
[ 0.000000] Movable zone start PFN for each node
[ 0.000000] Early memory PFN ranges
[ 0.000000] 0: 0x00000000 -> 0x00004000
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 16256
[ 0.000000] Kernel command line: board=Yun 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] 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] Writing ErrCtl register=00000000
[ 0.000000] Readback ErrCtl register=00000000
[ 0.000000] Memory: 60936k/65536k available (2565k kernel code, 4600k reserved, 650k data, 180k 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] gpiochip_add: registered GPIOs 0 to 29 on device: ath79
[ 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.560000] usbcore: registered new interface driver usbfs
[ 0.560000] usbcore: registered new interface driver hub
[ 0.560000] usbcore: registered new device driver usb
[ 0.570000] Switching to clocksource MIPS
[ 0.570000] NET: Registered protocol family 2
[ 0.570000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.580000] TCP established hash table entries: 2048 (order: 2, 16384 bytes)
[ 0.580000] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.580000] TCP: Hash tables configured (established 2048 bind 2048)
[ 0.580000] TCP reno registered
[ 0.580000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.590000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.590000] NET: Registered protocol family 1
[ 0.610000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.610000] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.620000] msgmni has been set to 119
[ 0.620000] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254)
[ 0.620000] io scheduler noop registered
[ 0.630000] io scheduler deadline registered (default)
[ 0.630000] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[ 0.640000] ar933x-uart: ttyATH0 at MMIO 0x18020000 (irq = 11) i{ a AR933X UART
[ 0.640000] console [ttyATH0] enabled, bootconsole disabled
[ 0.640000] console [ttyATH0] enabled, bootconsole disabled
[ 0.650000] m25p80 spi0.0: found w25q128, expected m25p80
[ 0.650000] m25p80 spi0.0: w25q128 (16384 Kbytes)
[ 0.650000] 7 cmdlinepart partitions found on MTD device spi0.0
[ 0.660000] Creating 7 MTD partitions on "spi0.0":
[ 0.660000] 0x000000000000-0x000000040000 : "u-boot"
[ 0.660000] 0x000000040000-0x000000050000 : "u-boot-env"
[ 0.670000] 0x000000050000-0x000000ea0000 : "rootfs"
[ 0.670000] mtd: partition "rootfs" set to be root filesystem
[ 0.670000] mtd: partition "rootfs_data" created automatically, ofs=7B0000, len=6F0000
[ 0.680000] 0x0000007b0000-0x000000ea0000 : "rootfs_data"
[ 0.680000] 0x000000ea0000-0x000000fe0000 : "kernel"
[ 0.680000] 0x000000fe0000-0x000000ff0000 : "nvram"
[ 0.690000] 0x000000ff0000-0x000001000000 : "art"
[ 0.690000] 0x000000050000-0x000000fe0000 : "firmware"
[ 0.710000] ag71xx_mdio: probed
[ 0.720000] eth0: Atheros AG71xx at 0xba000000, irq 5
[ 1.270000] eth0: Found an AR7240/AR9330 built-in switch
[ 2.300000] eth1: Atheros AG71xx at 0xb9000000, irq 4
[ 2.850000] ag71xx ag71xx.0: eth1: connected to PHY at ag71xx-mdio.1:04 [uid=004dd041, driver=Generic PHY]
[ 2.850000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 2.850000] ehci-platform ehci-platform: Generic Platform EHCI Controller
[ 2.860000] ehci-platform ehci-platform: new USB bus registered, assigned bus number 1
[ 2.890000] ehci-platform ehci-platform: irq 3, io mem 0x1b000000
[ 2.910000] ehci-platform ehci-platform: USB 2.0 started, EHCI 1.00
[ 2.910000] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 2.910000] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 2.910000] usb usb1: Product: Generic Platform EHCI Controller
[ 2.920000] usb usb1: Manufacturer: Linux 3.3.8 ehci_hcd
[ 2.920000] usb usb1: SerialNumber: ehci-platform
[ 2.920000] hub 1-0:1.0: USB hub found
[ 2.920000] hub 1-0:1.0: 1 port detected
[ 2.930000] Initializing USB Mass Storage driver...
[ 2.930000] usbcore: registered new interface driver usb-storage
[ 2.930000] USB Mass Storage support registered.
[ 2.930000] input: gpio-keys-polled as /devices/platform/gpio-keys-polled/input/input0
[ 2.940000] sdhci: Secure Digital Host Controller Interface driver
[ 2.940000] sdhci: Copyright(c) Pierre Ossman
[ 2.940000] usbcore: registered new interface driver ushc
[ 2.940000] TCP cubic registered
[ 2.950000] NET: Registered protocol family 17
[ 2.950000] Bridge firewalling registered
[ 2.950000] 8021q: 802.1Q VLAN Support v1.8
[ 2.960000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[ 2.960000] Freeing unused kernel memory: 180k freed
[ 3.260000] usb 1-1: new high-speed USB device number 2 using ehci-platform
[ 3.480000] usb 1-1: New USB device found, idVendor=058f, idProduct=6254
[ 3.480000] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[ 3.480000] usb 1-1: Product: USB2.0Hub
[ 3.570000] hub 1-1:1.0: USB hub found
[ 3.580000] hub 1-1:1.0: 4 ports detected
[ 3.910000] usb 1-1.4: new high-speed USB device number 3 using ehci-platform
[ 4.060000] usb 1-1.4: New USB device found, idVendor=058f, idProduct=6366
[ 4.060000] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 4.070000] usb 1-1.4: Product: Mass Storage Device
[ 4.070000] usb 1-1.4: Manufacturer: Generic
[ 4.070000] usb 1-1.4: SerialNumber: 058F0O1111B1
[ 4.080000] scsi0 : usb-storage 1-1.4:1.0
[ 5.030000] Error: Driver 'gpio-keys-polled' is already registered, aborting...
[ 5.080000] scsi 0:0:0:0: Direct-Access Multi Flash Reader 1.00 PQ: 0 ANSI: 0
- preinit -
Press the [f] key and hit [enter] to enter failsafe mode
- regular preinit -
[ 9.600000] JFFS2 notice: (527) jffs2_build_xattr_subsystem: complete building xattr subsystem, 1 of xdatum (1 unchecked, 0 orphan) and 11 of xref (0 dead, 0 orphan) found.
[ 11.280000] sd 0:0:0:0: [sda] 15564800 512-byte logical blocks: (7.96 GB/7.42 GiB)
[ 11.280000] sd 0:0:0:0: [sda] Write Protect is off
[ 11.280000] sd 0:0:0:0: [sda] No Caching mode page present
[ 11.290000] sd 0:0:0:0: [sda] Assuming drive cache: write through
[ 11.290000] sd 0:0:0:0: [sda] No Caching mode page present
[ 11.300000] sd 0:0:0:0: [sda] Assuming drive cache: write through
[ 11.300000] sda: sda1
[ 11.310000] sd 0:0:0:0: [sda] No Caching mode page present
[ 11.310000] sd 0:0:0:0: [sda] Assuming drive cache: write through
[ 11.310000] sd 0:0:0:0: [sda] Attached SCSI removable disk
Depending on what you did during initial setup that IP is not always the correct one !
Access your router and look at the DHCP table to see which IP the YUN picked up.
You could also use "arp -a" from an administrative command prompt in windows in which case you would only really be interested in the first block of numbers.
My yun happens to be 192.168.0.12
Chances are good it will be one of the dynamic IP's (unless you have set statics)
Interface: 192.168.0.9 --- 0xb
Internet Address Physical Address Type
192.168.0.1 20-e5-64-57-60-a2 dynamic
192.168.0.2 f8-f0-05-f2-35-76 dynamic
192.168.0.6 ac-18-26-4a-a5-44 dynamic
192.168.0.12 b4-21-8a-f8-67-77 dynamic
192.168.0.255 ff-ff-ff-ff-ff-ff static
224.0.0.2 01-00-5e-00-00-02 static
224.0.0.22 01-00-5e-00-00-16 static
224.0.0.251 01-00-5e-00-00-fb static
224.0.0.252 01-00-5e-00-00-fc static
224.0.0.253 01-00-5e-00-00-fd static
232.39.32.215 01-00-5e-27-20-d7 static
235.3.36.51 01-00-5e-03-24-33 static
239.192.152.143 01-00-5e-40-98-8f static
239.255.255.250 01-00-5e-7f-ff-fa static
239.255.255.253 01-00-5e-7f-ff-fd static
255.255.255.255 ff-ff-ff-ff-ff-ff static
Interface: 192.168.126.1 --- 0xf
Internet Address Physical Address Type
192.168.126.255 ff-ff-ff-ff-ff-ff static
224.0.0.2 01-00-5e-00-00-02 static
224.0.0.22 01-00-5e-00-00-16 static
224.0.0.251 01-00-5e-00-00-fb static
224.0.0.252 01-00-5e-00-00-fc static
232.39.32.215 01-00-5e-27-20-d7 static
235.3.36.51 01-00-5e-03-24-33 static
239.192.152.143 01-00-5e-40-98-8f static
239.255.255.250 01-00-5e-7f-ff-fa static
239.255.255.253 01-00-5e-7f-ff-fd static
255.255.255.255 ff-ff-ff-ff-ff-ff static