Arduino Forum

Products => Arduino Yún => Topic started by: Farmboy on Jun 04, 2014, 06:56 am

Title: Arduino Yun and WiFi - need help getting started
Post by: Farmboy on Jun 04, 2014, 06:56 am
I am new to Arduino and just bought a Yun for a project.  I'm an electrical engineer, retired, and have had a lot of experience with micros going back to the "old days" of the Z80, etc. I understand micros at the circuit level and assembly language level, but  I'm new to WiFi and this much more complex programming environment and need some help getting connected to my Yun.

If I understand correctly the Yun is ready to go for WiFi as long as I initialize the WiFi portion of it properly at both my laptop and the Yun.  I can't detect the Yun yet via WiFi from my laptop so presume it needs initializing.  I have downloaded programs to the 32U4, that went smoothly.  But the WiFi baffles me, I have no idea where to start.  SSID? OpenWrt-Yun?  

The Getting started instructions say "When you first power on the Yún, it will create a WiFi network called ArduinoYun-XXXXXXXXXXXX. Connect your computer to this network.  Once you've obtained an IP address, open a web browser, and enter http://arduino.local or 192.168.240.1 in the address bar. After a few moments, a web page will appear asking for a password. Enter "arduino" and click the Log In button. "

I have no idea how to connect my computer to that network.  It does not show up on my laptops network options, only my existing MiFi unit does where I get my internet from (see * below).

My project involves creating a central control station on a notepad or laptop that will communicate with up to 20 or so remote devices on WiFi, all Yun's of course.  I will need to be able to send commands from the controller to each remote device and receive data back from each station, all over WiFi.   Does each Yun have a unique WiFi identifier already programmed in?  

Any help would be appreciated.  

Dean

* Since posting this I have found that my laptop recognizes that the Yun is out there on WiFi and gives me an Arduino Yun - XXXXXXXX  to connect to, but it won't connect.  And I have no idea how to obtain an IP.   Thanks for any help you can give.




Title: Re: Arduino Yun and WiFi - need help getting started
Post by: federicofissore on Jun 05, 2014, 01:21 pm
If I get it correctly, your computer see the "Arduino Yun-ABC" wifi but cannot connect to it? Can you tell if the signal is good? Which operating system are you using?
Title: Re: Arduino Yun and WiFi - need help getting started
Post by: Farmboy on Jun 05, 2014, 03:06 pm
Thanks for the reply!

Yes, I am getting the Arduino-yun-xxxxxxxxx when I click on my WiFi networks icon, along with my Verizon MiFi4510L WiFi connection for internet. 

The signal is excellent if the bar graph is any judge, full bars.  The Yun is sitting right next to my laptop and MiFi device.

I'm using Windows 8.0.  Mozilla Firefox for this forum, Internet Explorer otherwise.

My MiFi of course works fine, but when I click on Arduino Yun it tells me it can't connect.

The getting started guide doesn't help, goes right over my head, so I'm at a loss.

Thanks,

Dean
Title: Re: Arduino Yun and WiFi - need help getting started
Post by: federicofissore on Jun 06, 2014, 09:59 am
Getting started won't suffice, we need to troubleshoot this
Can you upload YunSerialTerminal, open serial monitor, press YUN RST, let linux print things for a couple of minutes (I'd say 5 at least) then copy and paste the whole output here?
Title: Re: Arduino Yun and WiFi - need help getting started
Post by: Farmboy on Jun 07, 2014, 12:23 am
Thanks!  I did get SerialMonitor uploaded and got a response after I held the reset button for almost a minute.  Looks like gibberish to me.  However, when I try to copy it to this Forum it won't copy.  I get a small subset of what I've copied.  The stuff below is the subset.  Very bizarre.

Dean


‰ŽJˆï_C€H!Š¹o
oȃmhøéŽJˆ·Œ   mH5L}=ª>‡_,?ÈHÈ8ÈZŽ{ìá68Mˆ-á?"?8 ^kŒNM€ð!=JB6ˆKˆJ wn6ˆ(Bžvˆ*gˆàó6CŒÐœÙ=±žHéLnó6C\jN¸.D=ÈJJFk^aƒ
\jN‹(6
JF#D~aCŠÐœ<fn lˆiJLL_9@È
J"]}Hm6CšÐèÛ
Jˆ¬]q$}C0ˆKHÛ
Œj

Title: Re: Arduino Yun and WiFi - need help getting started
Post by: Farmboy on Jun 07, 2014, 12:24 am
The 5 minutes of output was about a page long. 

Dean
Title: Re: Arduino Yun and WiFi - need help getting started
Post by: kiobod on Jun 07, 2014, 12:33 am
Could be way off base here, but have you installed Bonjour if you're using Windows or Linux?

Technically Bonjour would just help you see it, but I though it'd be worth a check.
Title: Re: Arduino Yun and WiFi - need help getting started
Post by: Farmboy on Jun 07, 2014, 12:34 am
Okay, this is better.  I shut down all my open webpages and pulled the MicorUSB cable to cycle the Yun power and started over with SerialMonitor and here's what I got, and without pushing the Yun WiFi Reset button.  After the initial message I sent Enter and got a bit more, and then I sent Help and got a bit more.

I'm still not sure what's going on.

Dean


switching to jffs2
- init -

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



BusyBox v1.19.4 (2013-08-07 16:16:02 CEST) built-in shell (ash)
Enter 'help' for a list of built-in commands.

     ___                   ___                       ___           ___    
    /\__\      ___        /\__\          ___        /\__\         /\  \    
   /:/  /     /\  \      /::|  |        /\  \      /::|  |       /::\  \  
  /:/  /      \:\  \    /:|:|  |        \:\  \    /:|:|  |      /:/\:\  \  
 /:/  /       /::\__\  /:/|:|  |__      /::\__\  /:/|:|  |__   /:/  \:\  \
/:/__/     __/:/\/__/ /:/ |:| /\__\  __/:/\/__/ /:/ |:| /\__\ /:/__/ \:\__\
\:\  \    /\/:/  /    \/__|:|/:/  / /\/:/  /    \/__|:|/:/  / \:\  \ /:/  /
 \:\  \   \::/__/         |:/:/  /  \::/__/         |:/:/  /   \:\  /:/  /
  \:\  \   \:\__\         |::/  /    \:\__\         |::/  /     \:\/:/  /  
   \:\__\   \/__/         /:/  /      \/__/         /:/  /       \::/  /  
    \/__/                 \/__/                     \/__/         \/__/  
                                                                                     
           _______                     ________        __
          |       |.-----.-----.-----.|  |  |  |.----.|  |_
          |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
          |_______||   __|_____|__|__||________||__|  |____|
                   |__| W I R E L E S S   F R E E D O M

root@Arduino:/#
root@Arduino:/# help
Built-in commands:
------------------
   . : [ [[ alias bg break cd chdir command continue echo eval exec
   exit export false fg getopts hash help jobs kill let local printf
   pwd read readonly return set shift source test times trap true
   type ulimit umask unalias unset wait

root@Arduino:/#
root@Arduino:/#
Title: Re: Arduino Yun and WiFi - need help getting started
Post by: Farmboy on Jun 07, 2014, 12:44 am
Here's another.  It doesn't seem to be consistent.

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
[    4.000000] usb 1-1.4: new high-speed USB device number 3 using ehci-platform
[    4.130000] usb 1-1.4: New USB device found, idVendor=058f, idProduct=6366
[    4.130000] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    4.130000] usb 1-1.4: Product: Mass Storage Device
[    4.140000] usb 1-1.4: Manufacturer: Generic
[    4.140000] usb 1-1.4: SerialNumber: 058F0O1111B1
[    4.200000] scsi0 : usb-storage 1-1.4:1.0
[    5.200000] scsi 0:0:0:0: Direct-Access     Multi    Flash Reader     1.00 PQ: 0 ANSI: 0
[    5.300000] Error: Driver 'gpio-keys-polled' is already registered, aborting...
- preinit -
Press the [f] key and hit [enter] to enter failsafe mode
- regular preinit -
[    9.830000] jffs2: notice: (528) jffs2_build_xattr_subsystem: complete building xattr subsystem, 1 of xdatum (1 unchecked, 0 orphan) and 14 of xref (0 dead, 2 orphan) found.
[   11.100000] sd 0:0:0:0: [sda] Attached SCSI removable disk
switching to jffs2
- init -

Please press Enter to activate this console. [   38.500000] Compat-drivers backport release: compat-drivers-2013-01-21-1
[   38.500000] Backport based on wireless-testing.git master-2013-02-22
[   38.510000] compat.git: wireless-testing.git
[   38.540000] cfg80211: Calling CRDA to update world regulatory domain
[   38.540000] cfg80211: World regulatory domain updated:
[   38.550000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   38.550000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   38.550000] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   38.560000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   38.560000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   38.560000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   39.360000] ieee80211 phy0: Atheros AR9330 Rev:1 mem=0xb8100000, irq=2
[   39.360000] cfg80211: Calling CRDA for country: US
[   39.370000] cfg80211: Regulatory domain changed to country: US
[   39.370000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   39.370000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2700 mBm)
[   39.380000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 1700 mBm)
[   39.380000] cfg80211:   (5250000 KHz - 5330000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   39.380000] cfg80211:   (5490000 KHz - 5600000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   39.390000] cfg80211:   (5650000 KHz - 5710000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   39.390000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 3000 mBm)
[   39.750000] NTFS driver 2.1.30 [Flags: R/O MODULE].
[   39.790000] Error: Driver 'gpio-keys-polled' is already registered, aborting...
[   39.820000] PPP generic driver version 2.4.2
[   39.960000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   40.390000] NET: Registered protocol family 24
[   40.420000] nf_conntrack version 0.5.0 (955 buckets, 3820 max)
[   41.180000] Linux video capture interface: v2.00
[   41.430000] fuse init (API version 7.20)
Title: Re: Arduino Yun and WiFi - need help getting started
Post by: Farmboy on Jun 07, 2014, 04:15 pm
Any idea what's wrong?

Do I need to upgrade the Yun OpenWRT Image?  But I can't do that because this doesn't seem to connect - see below.

"Make sure the Yún and your computer are on the same network, and open a browser. Connect to the Yún's web panel page by entering the IP address or the name you gave to the board in the browser. With the default name you reach the Yún at http://arduino.local. "

This is really frustrating.  Am I the only one with this kind of problem?

Dean
Title: Re: Arduino Yun and WiFi - need help getting started
Post by: JosAH on Jun 07, 2014, 06:01 pm
This is a very simple view of it all (at least, this is the way I did it) - when your Yun has booted for the first time (and it has booted, because you saw that large 'Linino' logo), it has created its own network. From your MS Windows box you should see it in a list of available networks. Click it and make your box connect to it; next point your browser to the url http://192.168.240.1; can you make it that far?

kind regards,

Jos
Title: Re: Arduino Yun and WiFi - need help getting started
Post by: Farmboy on Jun 07, 2014, 08:02 pm
Thanks for jumping in Jos!  I appreciate the help.

I get the Arduino Yun-XXXXXXXX in my list of available networks along with my MiFi internet network.  The MiFi connects when I tell it to.  The Arduino Yun does not connect.  I can't get any farther than that.   

Could this have something to do with my Kaspersky virus protection?  I saw something about making sure that port 5353 wasn't blocked.  I looked in Kaspersky and all I could find was a list of Active ports, 5353 not listed, so added 5353 and made it active.  Not sure if that is the same thing as making sure it's not blocked.  It didn't seem to help.  How do I make sure 5353 isn't blocked?

Thanks,

Dean
Title: Re: Arduino Yun and WiFi - need help getting started
Post by: JosAH on Jun 07, 2014, 08:33 pm
I don't know anything about Kaspersky but I do know that I only trust that stuff as far as I can throw a rock at it; can you (temporalily) switch that thing off and see what happens? (you won't be swamped with viruses and spam all of a sudden because you also have a firewall in your router ;-)

kind regards,

Jos
Title: Re: Arduino Yun and WiFi - need help getting started
Post by: Farmboy on Jun 07, 2014, 08:54 pm
My MiFi does have a network security key, could that be the problem?  It's WPA2-PSK. The Network type is 802.11g, what is a Yun?  I thought it was g also.

Dean
Title: Re: Arduino Yun and WiFi - need help getting started
Post by: Farmboy on Jun 07, 2014, 08:59 pm
Thanks Jos.  I turned of Kaspersky but it didn't help.  I'll also try restarting with it off.

Dean
Title: Re: Arduino Yun and WiFi - need help getting started
Post by: Farmboy on Jun 08, 2014, 01:49 am
Doing a laptop Restart didn't help either. 

I'm sure it's something basic on my laptop, but I haven't a clue what.  Some configuration issue?

Dean
Title: Re: Arduino Yun and WiFi - need help getting started
Post by: JosAH on Jun 08, 2014, 08:11 am

Doing a laptop Restart didn't help either. 

I'm sure it's something basic on my laptop, but I haven't a clue what.  Some configuration issue?


Strange ... so your laptop can 'see' the Arduino network but can't connect to it; the encryption used on other networks have nothing to do with it (WPA, WEP etc.) and the Arduino network is completely 'open'; the IPv4 address is 192.168.240.1 (after a reset); the silly thing is that it works for me without problems (using url http://192.168.240.1 in my browser after connecting to that network). My guess would also be that it's something in your laptop that forbids a connection (one way or another). Can you ping it from your laptop? (open a command line interface and issue a 'ping 192.168.240.1')

kind regards,

Jos
Title: Re: Arduino Yun and WiFi - need help getting started
Post by: Farmboy on Jun 08, 2014, 04:13 pm
Thanks Jos.  I'm not sure how to open a Command Line Interface on my laptop, I take it that it's like DOS.  I did use the Arduino Serial Monitor and sent "ping 192.168.240.1" and got this back, but I presume that is via the USB interface, not the WiFi side of the Yun.

How do I open a CLI on my laptop?  Sorry, I'm a babe in the woods at this higher level software stuff.

Dean



BusyBox v1.19.4 (2013-08-07 16:16:02 CEST) built-in shell (ash)
Enter 'help' for a list of built-in commands.

      ___                   ___                       ___           ___     
     /\__\      ___        /\__\          ___        /\__\         /\  \   
    /:/  /     /\  \      /::|  |        /\  \      /::|  |       /::\  \   
   /:/  /      \:\  \    /:|:|  |        \:\  \    /:|:|  |      /:/\:\  \ 
  /:/  /       /::\__\  /:/|:|  |__      /::\__\  /:/|:|  |__   /:/  \:\  \
/:/__/     __/:/\/__/ /:/ |:| /\__\  __/:/\/__/ /:/ |:| /\__\ /:/__/ \:\__\
\:\  \    /\/:/  /    \/__|:|/:/  / /\/:/  /    \/__|:|/:/  / \:\  \ /:/  /
  \:\  \   \::/__/         |:/:/  /  \::/__/         |:/:/  /   \:\  /:/  /
   \:\  \   \:\__\         |::/  /    \:\__\         |::/  /     \:\/:/  / 
    \:\__\   \/__/         /:/  /      \/__/         /:/  /       \::/  /   
     \/__/                 \/__/                     \/__/         \/__/   
                                                                                       
            _______                     ________        __
           |       |.-----.-----.-----.|  |  |  |.----.|  |_
           |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
           |_______||   __|_____|__|__||________||__|  |____|
                    |__| W I R E L E S S   F R E E D O M

root@Arduino:/#
root@Arduino:/#
Title: Re: Arduino Yun and WiFi - need help getting started
Post by: Farmboy on Jun 08, 2014, 04:21 pm
Got it, I found the Windows Powershell and pinged it using that. 

It did not respond, 4 tries with 32 bytes of data,  4 Request Timed Out responses.  Sigh.

Dean


Title: Re: Arduino Yun and WiFi - need help getting started
Post by: Farmboy on Jun 08, 2014, 04:40 pm
Okay, the plot thickens.  I have another laptop from my work that I tried.  It responded at first by recognizing the Yun with "Limited Access" but after I disconnected and reconnected I got "connected" but also says it's an unidentified network.

Under both the "Limited Access" and "Connected" I tried the Ping 192.168.240.1 and got "PING: Transmit Failed. General Failure" four times.   Seems like some progress, I need to make this work with my own laptop.

Dean
Title: Re: Arduino Yun and WiFi - need help getting started
Post by: JosAH on Jun 08, 2014, 05:04 pm
After you made a connection (with that other laptop), can you open its web interface (http://192.168.240.1) with a browser?

kind regards,

Jos
Title: Re: Arduino Yun and WiFi - need help getting started
Post by: JosAH on Jun 08, 2014, 06:52 pm
A silly idea: after the Yun has booted, switch off your 'Mifi' network/router; now it's only your laptop and that Yun network with the Yun itself as an access point; can you connect to it now? If so, switch on your router again and see if the connection stays alive.

kind regards,

Jos
Title: Re: Arduino Yun and WiFi - need help getting started
Post by: Farmboy on Jun 09, 2014, 06:31 am
Thanks again Jos.

With my work laptop I could not get a web interface using http://192.168.240.1  and I tried it with and without the MiFi operating, and with the MiFi just disconnected at the laptop too. 

At my work laptop with the MiFi off I did a diagnostic on the Connection and got a message that said: "Wireless Network Connection" doesn't have a valid IP configuration. It also said that my laptop had a proper configuration.  It also said it detected my Yun.   

At one point it said it had limited access to the Yun, other times no connection.   

You guidance is much appreciated!  It surely has to be a configuration problem at my laptop.  What config setting would block this device?

Take care,

Dean
Title: Re: Arduino Yun and WiFi - need help getting started
Post by: Farmboy on Jun 09, 2014, 06:45 am
On my work laptop I got different responses when I ping'ed.  Usually just a "general failure" or "Request Timed Out", but one time I got a "Destination Host Unreachable" 3 times, then a "Request Timed Out" the 4th time.  It doesn't seem to matter if I've got my MiFi connected or not.

Dean
Title: Re: Arduino Yun and WiFi - need help getting started
Post by: JosAH on Jun 09, 2014, 08:02 am

At my work laptop with the MiFi off I did a diagnostic on the Connection and got a message that said: "Wireless Network Connection" doesn't have a valid IP configuration. It also said that my laptop had a proper configuration.  It also said it detected my Yun.   


Hm, to me it looks like your company is trying to block other networks from being connected; what should be invalid about the IPv4 192.168.240.1? If this happened to me I'd feel the irresistable urge to completely reinstall the OS on that laptop; but your company probably wouldn't like it ;-)

kind regards,

Jos
Title: Re: Arduino Yun and WiFi - need help getting started
Post by: JosAH on Jun 09, 2014, 08:06 am

On my work laptop I got different responses when I ping'ed.  Usually just a "general failure" or "Request Timed Out", but one time I got a "Destination Host Unreachable" 3 times, then a "Request Timed Out" the 4th time.  It doesn't seem to matter if I've got my MiFi connected or not.


That's one of the lower OSI layers, i.e. depending on, say, humidity, the radio transmission/receiving layer might be goofy; it has nothing to do with your problem.

kind regards,

Jos
Title: Re: Arduino Yun and WiFi - need help getting started
Post by: federicofissore on Jun 09, 2014, 09:57 am
Farmboy, in none of your posts you say you've connected your laptop wifi to the wifi created by the Yun.

When you're working with Yun's own wifi, your mifi router or whatever other thing is around you has nothing to do with you. It's only your laptop and your yun

Can you connect your laptop to the yun's wifi? (Arduino Yun-ABC...)
Title: Re: Arduino Yun and WiFi - need help getting started
Post by: JosAH on Jun 09, 2014, 01:16 pm

When you're working with Yun's own wifi, your mifi router or whatever other thing is around you has nothing to do with you. It's only your laptop and your yun


That's the reason why I suggested to switch the entire thing off; I don't believe that a fresh out of th e box Yun (or decently reset) can cause so much trouble; it has to have something to do with the laptop.

kind regards,

Jos
Title: Re: Arduino Yun and WiFi - need help getting started
Post by: Farmboy on Jun 09, 2014, 03:30 pm
Hi Frederico, thanks for the help.

I can get my laptop to recognize the Yun, when I show my "Networks" it lists my MiFi and the Arduino Yun - 90A2DAXXXXX. But it does not connect.  I click on "Connect" for the Yun and it comes back with a "Can't connect to this Network" response.

When it shows the list of Networks, the MiFi shows the signal strength bars, and the Yun shows the same signal strength bars but with a little shield with a ! in the shield above the bars.  Is that an indicator?  This is on Windows 8.0.

I'm just working with my personal laptop, I have to make it work with this anyway.


Thanks. 

Dean


Title: Re: Arduino Yun and WiFi - need help getting started
Post by: sonnyyu on Jun 09, 2014, 04:17 pm

...
I'm just working with my personal laptop, I have to make it work with this anyway.
...


Plan B: We could use sharing wifi connection over Ethernet.

http://forum.arduino.cc/index.php?topic=188101.msg1641915#msg1641915 (http://forum.arduino.cc/index.php?topic=188101.msg1641915#msg1641915)
Title: Re: Arduino Yun and WiFi - need help getting started
Post by: sonnyyu on Jun 09, 2014, 04:20 pm
a little shield with a !

(http://i61.tinypic.com/oaou3n.png)

means laptop and yun is not at same subnet, could make them at same subnet.

Windows 7/8 static IP address setup

Click the Start button, then click Control Panel.
Open the Network and Sharing Center.
Select "Change adapter settings" from the menu on the left.
Right-click the Local Area Connection and selet "Properties".
Select "Internet Protocol Version 4 (TCP / IPv4)," then click "Properties."
Select 'Use the following IP address,' then enter the following settings in their respective fields:
- IP address: 192.168.240.2
- Subnet Mask: 255.255.255.0
- Gateway and DNS: leave blank
Click 'OK' when finished.
Title: Re: Arduino Yun and WiFi - need help getting started
Post by: JosAH on Jun 09, 2014, 04:21 pm

When it shows the list of Networks, the MiFi shows the signal strength bars, and the Yun shows the same signal strength bars but with a little shield with a ! in the shield above the bars.  Is that an indicator?  This is on Windows 8.0.


I don't run MS Windows 8, but that shield icon must be there for some reason; does any text pop up when you hover over it? Can you right-click on the network line and get its properties?

kind regards,

Jos
Title: Re: Arduino Yun and WiFi - need help getting started
Post by: Farmboy on Jun 09, 2014, 04:22 pm
Thanks, but if Ethernet means a wired connection then it's a no go.  This application has to be wireless.  And I bought a Yun precisely for the WiFi capability.  I need to solve this problem.

The question seems to be this:  What WiFi settings on my laptop would prevent Yun from connecting?

Thanks anyway.  

Dean
Title: Re: Arduino Yun and WiFi - need help getting started
Post by: sonnyyu on Jun 09, 2014, 04:23 pm
access point connection failed - windows cannot resolve your wireless connectivity issue and problem with wireless adapter or access point.

http://answers.microsoft.com/en-us/windows/forum/windows_7-networking/internet-connection-failed-router-access-point/ff07b1d5-a29a-466f-a265-4d70073d6d30 (http://answers.microsoft.com/en-us/windows/forum/windows_7-networking/internet-connection-failed-router-access-point/ff07b1d5-a29a-466f-a265-4d70073d6d30)

Official solution
Title: Re: Arduino Yun and WiFi - need help getting started
Post by: sonnyyu on Jun 09, 2014, 04:33 pm
an other side coin is Yun also could give problem.

Most easy solution is:-

Code: [Select]
/usr/bin/reset-to-factory-anyway

Backup your code first ( if you have some).
Title: Re: Arduino Yun and WiFi - need help getting started
Post by: Farmboy on Jun 09, 2014, 04:43 pm
Jos, when I hover over the bars/shield  I don't get anything other than "Security: Unsecured" and "Type 802.11n"  I presume that a Yun at level 802.11n is compatible with my MiFi/laptop at 802.11g?  

Sonny, I ran through your steps, but I don't have a LAN option, just Bluetooth, Ethernet, and WiFi.   I changed the WiFi settings per your instructions but that didn't work either.   And I think it screwed up my MiFi, it quit after that so I changed it back.

So should I have a LAN connection listed?  

And is the 192.168.240.2 that you listed correct?  Or should it be 192.168.240.1 like the instructions suggest?

Thanks,

Dean
Title: Re: Arduino Yun and WiFi - need help getting started
Post by: JosAH on Jun 09, 2014, 04:57 pm

Thanks, but if Ethernet means a wired connection then it's a no go.  This application has to be wireless.


Nobody mentioned anything about wires ...

kind regards,

Jos
Title: Re: Arduino Yun and WiFi - need help getting started
Post by: sonnyyu on Jun 09, 2014, 04:59 pm

...
Sonny, I ran through your steps, but I don't have a LAN option, just Bluetooth, Ethernet, and WiFi.   I changed the WiFi settings per your instructions but that didn't work either.   And I think it screwed up my MiFi, it quit after that so I changed it back.

So should I have a LAN connection listed?  

And is the 192.168.240.2 that you listed correct?  Or should it be 192.168.240.1 like the instructions suggest?
...


You are right, change WiFi settings. You changed it back is good since It does not work.
No LAN is here.

192.168.240.2 for Windows box.
192.168.240.1 for Yun.

If you have access an other laptop, should give it try. otherwise follow Microsoft solution.

reset-to-factory-anyway will fix software problem of Yun, unless Yun has hardware problem is very unlikely.


Title: Re: Arduino Yun and WiFi - need help getting started
Post by: Farmboy on Jun 09, 2014, 05:02 pm
Sonny, do I run that /usr/bin/reset-to-factory-anyway via the Serial Monitor to reset it to factory?  I tried that a couple times.

Now my laptop is recognizing the Yun, but still can't connect.  I have Kaspersky security turned off.

What is different now is that the WLAN blue LED on the YUN is blinking constantly at a fast rate, maybe 2-3 per second.

Jos, just saw your most recent post.  I thought Ethernet was a cable connection?  Please explain.   Ultimately what I need is a wireless connection from my laptop to many Yuns that are remote, using a wireless (WiFi) network hub.  Can that be done by Ethernet?

Dean
Title: Re: Arduino Yun and WiFi - need help getting started
Post by: Farmboy on Jun 09, 2014, 05:03 pm
Thanks for all the help.  I have to go to work now, so will be unavailable till tonight.

Dean
Title: Re: Arduino Yun and WiFi - need help getting started
Post by: JosAH on Jun 09, 2014, 05:04 pm

Jos, when I hover over the bars/shield  I don't get anything other than "Security: Unsecured" and "Type 802.11n"  I presume that a Yun at level 802.11n is compatible with my MiFi/laptop at 802.11g?  


That's no problem; your laptop even noticed that Yun's network is 'open', i.e. no WPA or WEP key are necessary. Can you right click on that network and see all it properties?

kind regards,

Jos
Title: Re: Arduino Yun and WiFi - need help getting started
Post by: Farmboy on Jun 09, 2014, 05:19 pm
Thanks Jos.  No, I it doesn't show anything with a right click.  The MiFi gives me a menu of items to look at, but not the YUN.

Dean
Title: Re: Arduino Yun and WiFi - need help getting started
Post by: Farmboy on Jun 09, 2014, 05:31 pm
When I went into the WiFi properties as Sonny described I noticed there is a dialog box for Network where I selected the Internet protocol version 4, and there also is a box for "Sharing" along with the "Networking" box.  Could this be a sharing issue?  There is a selection that says "Allow other network users to connect through this computers network connection" and it was unchecked.  Another item on that menu was to "Allow other network users to control or disable the shared internet connection".  It was checked, but was faded until I checked the box to all other network users, seeming to indicate it isn't active until I allowed sharing.

I tried checking that box to allow other users and it didn't change the ability to connect for my YUN.

Thanks,

Dean

Title: Re: Arduino Yun and WiFi - need help getting started
Post by: federicofissore on Jun 09, 2014, 07:24 pm
2 euros this is the reason: http://www.eightforums.com/network-sharing/19310-unable-connect-network-no-security.html

In essence: windows does not allow you to connect to an unprotected network for security reasons. Workaround is "to change over to using a Public network"
Title: Re: Arduino Yun and WiFi - need help getting started
Post by: sonnyyu on Jun 09, 2014, 08:17 pm

2 euros this is the reason
...


if It works, It should be 2 pounds (£).  $)
Title: Re: Arduino Yun and WiFi - need help getting started
Post by: Farmboy on Jun 09, 2014, 08:23 pm
I switched over to a public network and still nothing.  It recognizes the Yun, but won't connect. 

Do I need a Windows 8 driver update?

Dean
Title: Re: Arduino Yun and WiFi - need help getting started
Post by: sonnyyu on Jun 09, 2014, 08:27 pm

access point connection failed - windows cannot resolve your wireless connectivity issue and problem with wireless adapter or access point.

http://answers.microsoft.com/en-us/windows/forum/windows_7-networking/internet-connection-failed-router-access-point/ff07b1d5-a29a-466f-a265-4d70073d6d30 (http://answers.microsoft.com/en-us/windows/forum/windows_7-networking/internet-connection-failed-router-access-point/ff07b1d5-a29a-466f-a265-4d70073d6d30)

Official solution




Step 1: You may also temporarily disable security software's and check if the issue persists. Make sure to enable those security software's on the computer after checking.

Step 2: Update the network adapter driver.

Step 3: Check if the issue persists in clean boot state.

Step 4: Check if you are able to access internet in safe mode with networking and post back the same.
Title: Re: Arduino Yun and WiFi - need help getting started
Post by: sonnyyu on Jun 09, 2014, 08:29 pm
Your laptop maker and model?
Title: Re: Arduino Yun and WiFi - need help getting started
Post by: Farmboy on Jun 09, 2014, 08:31 pm
Samsung NP350V5C-A01US
Title: Re: Arduino Yun and WiFi - need help getting started
Post by: Farmboy on Jun 09, 2014, 08:33 pm
What do you mean by "clean boot state"?

Thanks,

Dean
Title: Re: Arduino Yun and WiFi - need help getting started
Post by: sonnyyu on Jun 09, 2014, 09:21 pm

Jos, when I hover over the bars/shield  I don't get anything other than "Security: Unsecured" and "Type 802.11n"  I presume that a Yun at level 802.11n is compatible with my MiFi/laptop at 802.11g?  
...


http://www.samsung.com/us/computer/pcs/NP350V5C-A01US-specsWireless LAN (http://www.samsung.com/us/computer/pcs/NP350V5C-A01US-specsWireless LAN)
Your Laptop support
Wireless LAN: 802.11 b/g/n
Title: Re: Arduino Yun and WiFi - need help getting started
Post by: sonnyyu on Jun 09, 2014, 09:23 pm

What do you mean by "clean boot state"?

Thanks,

Dean


Step 3: Check if the issue persists in clean boot state.

Putting your system in clean boot state helps in identifying if any third party applications or startup items are causing the issue.

Try the steps provided under Step 1 in the below article to put your computer in clean boot mode.
http://support.microsoft.com/kb/929135 (http://support.microsoft.com/kb/929135)

Title: Re: Arduino Yun and WiFi - need help getting started
Post by: federicofissore on Jun 10, 2014, 09:13 am
Farmboy, btw: your project has to work over wifi an that's ok, but I think you may accept to first configure the yun via ethernet, don't you?
Once your yun will be configured to access your home wifi, you won't be affected by this windows issue
Title: Re: Arduino Yun and WiFi - need help getting started
Post by: Farmboy on Jun 10, 2014, 02:27 pm
That would be acceptable Frederico!  I just didn't know that was possible or necessary.  But I don't know how to do that.

Would Ethernet be essentially a LAN solution that I could use instead of internet?  My project wouldn't necessarily require access other than locally, I am planning on using the laptop to communicate with many Yuns over a WiFi Hub so I can reach out over a wider area.

I tried the "Clean Boot" this morning, now I can't get the Laptop to even recognize the YUN.  What the heck?

I'll look for a "getting started" guide on Yun Ethernet, or if you can get me started that would be great.

Dean

Title: Re: Arduino Yun and WiFi - need help getting started
Post by: sonnyyu on Jun 10, 2014, 06:04 pm

...
If you have access an other laptop, should give it try.
...

find out which one is trouble maker, Windows or Yun.

Title: Re: Arduino Yun and WiFi - need help getting started
Post by: JosAH on Jun 10, 2014, 08:33 pm


...
If you have access an other laptop, should give it try.
...

find out which one is trouble maker, Windows or Yun.


Assuming it's a fresh Yun (or with a properly reset WiFi), my guess is MS Windows 8 is the trouble maker; if it's true that it doesn't want to connect to an open network, I find it preposterous.

kind regards,

Jos
Title: Re: Arduino Yun and WiFi - need help getting started
Post by: federicofissore on Jun 10, 2014, 11:17 pm
Farmboy, it's just about plugging into the yun an ethernet cable, that would do, just as if you've configured wifi.

Then of course you need to access it. Windows is trickier, you have to install the "Bonjour print services (http://arduino.cc/en/Guide/ArduinoYun#toc11)" (scroll down to the end of the windows paragraph) and double check your firewall is not blocking port 5353 UDP. If that part is ok, starting the IDE should list your yun IP address under the "ports" menu. Type that IP into your browser address bar and access the configuration panel
Title: Re: Arduino Yun and WiFi - need help getting started
Post by: Farmboy on Jun 11, 2014, 06:07 am
Okay, I have the Ethernet cable plugged in.  And the Laptop recognizes it as an unidentified network.

And I loaded Bonjour days ago when I first started.  I presume I don't need to anything more than that, it's got an icon on my desktop.

And I presume the IDE you are referring to is the Arduino 1.5.6-r2 that I use to write and load Sketches, use the Serial Monitor, etc.

But I am stumped on the Port 5353 UDP blocking.  The 1.5.6-r2 has a Port item on the  Tools menu, when I click on port it gives me COM4 for the USB port, but nothing else. And I've searched through my Firewall stuff on the laptop to no avail, I can't find anywhere to enable Port 5353 UDP. 

Sorry I'm being such a pain, I thought this would be much easier than it is.

Dean
Title: Re: Arduino Yun and WiFi - need help getting started
Post by: federicofissore on Jun 11, 2014, 09:24 am
I suppose you've used the ethernet cable to plug your computer to the yun, but that's not right. Your computer should stay plugged to your network switch/router/modem and you must plug the yun to it as well
Title: Re: Arduino Yun and WiFi - need help getting started
Post by: Farmboy on Jun 11, 2014, 01:53 pm
Yes, I went PC to Yun with the cable.   Crap.  I'll have to get a different WiFi router then, this one doesn't have an Ethernet port. 

Dean
Title: Re: Arduino Yun and WiFi - need help getting started
Post by: federicofissore on Jun 11, 2014, 02:36 pm
May be easier to borrow a laptop from a friend. Just because I don't like to make you spend more money than necessary :)
Title: Re: Arduino Yun and WiFi - need help getting started
Post by: Farmboy on Jun 11, 2014, 09:29 pm
Thanks, but now I'm confused.

I am supposed to connect my Yun via Ethernet to my Router instead of my laptop, correct?  So what's the other laptop for?  I will need another router to connect Ethernet to my Yun because my current router does not have an ethernet port.

And the reason I want to do that is so that I can configure the Yun WiFi so that it will function via WiFi independently of the laptop, correct? 

So when I'm done I will have my Yun connected to my laptop via USB so I can communicate with the 32U4 to run sketches.  I will have Ethernet to configure the WiFi side of the Yun.  And then I will have Yun working WiFi via the internet independent of my laptop.  Correct?

Dean
Title: Re: Arduino Yun and WiFi - need help getting started
Post by: Farmboy on Jun 12, 2014, 02:49 am
Thanks for the help Frederico and all!

I now have a Router with ethernet capability, and the Yun is plugged into it.  And in the Arduino IDE 1.5.6-r2 I see I have another port labelled: Arduino at 192.168.1.3 (Arduino Yun) 

If I select the Arduino ethernet port and then try to go to the serial monitor it asks for a password for the Yun.  Where does that come from? 

And I went to that 192.168.1.3 web address and got a request for password also.  So this seems like progress!

Dean
Title: Re: Arduino Yun and WiFi - need help getting started
Post by: Farmboy on Jun 12, 2014, 02:55 am
But I still haven't figured out the 5353 UDP port, where do I see that?  I've gone all through what I can find of the Firewall and not 5353 UDP port.

Deaan
Title: Re: Arduino Yun and WiFi - need help getting started
Post by: Farmboy on Jun 12, 2014, 05:47 am
Eureka!

I think I have it.  I hooked up the Ethernet, I was able to get into the Configuration screen and got it configured for my network and password and all that.  Then I unplugged the Ethernet, went into the Arduino IDE and downloaded the Blink program to the 32U4 over the WiFi if I understand it all correctly.  At least I presume if I select my port in the IDE as the Arduino with the 192.168.x.x address that it's working through the WiFi and NOT the USB.  The reason I ask is that I still have the USB connected for power, but other than that I presume it is not going via USB. 

So I think I'm off and running.  Many thanks to Jos, Sonny and Frederico for your patience and help.  This old micro guy from the 70's and 80's is lost in all these layers upon layers of software.

I'm sure I'll have many more questions, but at least for now I can get to working on my application.

Regards,

Dean
Title: Re: Arduino Yun and WiFi - need help getting started
Post by: JosAH on Jun 12, 2014, 11:44 am
The Yun doesn't have that many layers; it's MS Windows 8 that is to blame; it doesn't allow your laptop to connect over an open WiFi network, but it allows a connection over the wire (which makes that entire 'protection mechanism' (mind the quotes) futile). Check if you can reach Yun's webpage with your browser: http://192.168.x.x; I bet you can.

kind regards,

Jos
Title: Re: Arduino Yun and WiFi - need help getting started
Post by: Farmboy on Jun 12, 2014, 02:35 pm
Yes, I have gotten to the Arduino webpage and reconfigured it so that I can access via WiFi!   Now I'm ready to start figuring out how to write my application code.

My first step is to figure out how to send my applications commands via WiFi and read them into the Yun. 32U4.

Eventually I will have perhaps 20 Yun's in my system.  I assume that if I give each Yun a different name that then I just send my commands over the WiFi by that name, I won't need any other specific address to identify each individual Yun.

Regards,

Dean
Title: Re: Arduino Yun and WiFi - need help getting started
Post by: federicofissore on Jun 13, 2014, 09:37 am

Eventually I will have perhaps 20 Yun's in my system.  I assume that if I give each Yun a different name that then I just send my commands over the WiFi by that name, I won't need any other specific address to identify each individual Yun.


confirm: they will be something like livingroom.local, kitchen.local...
Title: Re: Arduino Yun and WiFi - need help getting started
Post by: Farmboy on Jun 13, 2014, 03:33 pm
Well, more like Stationone.local  Stationtwo.local, etc.  But yes, each different.  I presume that works.  My central controller will communicate with each separately to issue the commands.  

Or would it be better to give them all the same name and then bury an address in the message packet?  But that would require me to also program each Yun with that address, thus harder to move one to a new location.  I prefer to keep as much of the programming at the central controller.


Dean
Title: Re: Arduino Yun and WiFi - need help getting started
Post by: Farmboy on Jun 20, 2014, 01:26 am

May be easier to borrow a laptop from a friend. Just because I don't like to make you spend more money than necessary :)


Hi Frederico,

I am having trouble again.  In order to configure my Yun I got a WiFi router that had Ethernet.  Unfortunately, that router required 4G internet which was unreliable in my area so I had to go back to my JetPack MiFi router which can flip from 4G to 3G.  So I no longer have Ethernet capability.  And my Yun no longer seems to work on WiFi, I presume it's because my router password changed.  Is there a way using another laptop as the Ethernet connection as you seem to suggest in the message quoted above so that I can reconfigure this Yun?  Or should it still be working as it did before?

Thanks,

Dean
Title: Re: Arduino Yun and WiFi - need help getting started
Post by: federicofissore on Jun 20, 2014, 05:22 pm
If you need to reconfigure wifi, I would reset Wifi of the Yun and restart from the beginning.

BTW, it happens I've just released version 1.1 of the image. The main difference is DFS (dynamic frequence selector). It's a feature of the wifi driver that should make it smarter in connecting to modern hotspots (as far as I understood it, at least)

You may want to upgrade the yun to this version and try if it improves your experience in any ways.

http://arduino.cc/en/Main/Software#toc8
Title: Re: Arduino Yun and WiFi - need help getting started
Post by: theenggprojects on Jun 27, 2014, 07:05 pm
Moreover, they also provide complete programming help for Arduino which will make you ease I hope.