Go Down

Topic: Seeing Yun in IDE Port menu (Read 64844 times) previous topic - next topic

sonnyyu


sonnyyu

#31
Mar 03, 2014, 05:58 pm Last Edit: Mar 03, 2014, 07:23 pm by sonnyyu Reason: 1
Many ISPs started the bad practice of DNS hijacking on non-existent domain name (.local is  non-existent domain to ISP) for making money by displaying the internet advertisements.

http://forum.arduino.cc/index.php?topic=222223.msg1616995#msg1616995

If this is the case, you could not use  "http://arduino.local"  to access yun config page.

Code: [Select]
ipconfig /all

find  out which DNS server(s) you use.

Code: [Select]
opkg update
opkg install bind-dig


Test your DNS server.

Code: [Select]
dig @8.8.8.8 +short arduino.local

Code: [Select]


8.8.8.8  is Google's DNS,  no hijacking.

Code: [Select]
dig @209.18.47.61 +short arduino.local

Code: [Select]
198.105.251.210
69.16.143.110


209.18.47.6 is Time Warner's DNS, hijacking.

The work around:


  • Use Google's DNS

  • Put local router ip at first of DNS server list



Special thanks to chrisnet, noblepepper,Chagrin, PCWorxLA

sonnyyu

Background  Information:

Quote
.local From Wikipedia, the free encyclopedia

Networking device hostnames ending with .local are often employed in private networks, where they are resolved either via the multicast domain name service (mDNS) and/or local Domain Name System (DNS) servers. The implementation of both approaches on the same network can be problematic, however, so resolving such names via "unicast" DNS servers has fallen into disfavor as computers, printers and other devices supporting zero-configuration networking (zeroconf) have become increasingly common.


Microsoft recommendations:
The connection of Macintosh and Linux computers and/or zeroconf peripherals to Windows networks can be problematic if those networks include name servers that use .local as a search domain for internal devices. At one time, Microsoft at least suggested the use of .local as a pseudo-TLD for small private networks with internal DNS servers...


http://en.wikipedia.org/wiki/.local

It seem windows machine resolved .local  domain with DNS server first then mDNS, if DNS server resolved the IP  then It will be failed ( like Time Warner Cable DNS server hijacking .local  domain) . However if  local router as first DNS server which is DNS proxy  forwarding request to mDNS  or use Google DNS which fail to resolve IP falling back to mDNS.

I test Linux as well as Macintosh machine both working fine with Time Warner Cable DNS.

osuzer

Using Donnectify can work for some of yours. For the questions like what is my arduinos ip address etc.. Also I see my Arduino in IDE only after I access it from browser via the address that I see from Connectify hotspot.

http://forum.arduino.cc/index.php?topic=223940.msg1632151#msg1632151

glenmeyerowitz

I am having a similar problem to a few others...I am able to SSH into the board, see it in a browser at arduino.local/, and upload to the board over the USB cable. Unfortunately, the Yun does not show up in the Port menu in the IDE over Wifi. I have tried the different ideas posted earlier here to no avail.

I am running Arduino IDE 1.5.6-r2 and am on OS X 10.9.2. Any help would be greatly appreciated!

Glen

sonnyyu

#35
Mar 19, 2014, 09:43 pm Last Edit: Mar 19, 2014, 09:47 pm by sonnyyu Reason: 1

I am having a similar problem to a few others...I am able to SSH into the board, see it in a browser at arduino.local/, and upload to the board over the USB cable. Unfortunately, the Yun does not show up in the Port menu in the IDE over Wifi. I have tried the different ideas posted earlier here to no avail.

I am running Arduino IDE 1.5.6-r2 and am on OS X 10.9.2. Any help would be greatly appreciated!

Glen


I have same Arduino IDE 1.5.6-r2 and  OS X 10.9.2, every thing is fine.

Quote
The Arduino IDE itself is written in Java, and it can communicate to the Arduino via the  Java library.
Sometime you need reinstall  Java runtime as well as Arduino IDE.


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

Update Apple Java 6.0

Upgrade Java 7.0

Remove  Java 7.0

Re install Arduino IDE as well.

sonnyyu

#36
Mar 19, 2014, 11:08 pm Last Edit: Mar 25, 2014, 04:21 am by sonnyyu Reason: 1

  • wifi signal level is too low

  • wifi require X.509 certificate authentication

  • wifi with captive portal authentication

  • no ethernet connector



We could use sharing wifi connection over Ethernet.

http://www.countrymilewifi.com/how-to-share-computers-wifi-with-ethernet-devices.aspx

Sharing windows computers WiFi with other Ethernet Enabled Devices

http://www.mactip.net/share-internet-connection-mac/

Sharing Mac Wireless connection over Ethernet Enabled Devices



Replace Pi to Yun.

sonnyyu

#37
Mar 25, 2014, 04:03 am Last Edit: Mar 25, 2014, 04:07 am by sonnyyu Reason: 1
When the Arduino Yun is first powered on, the Wifi will be starting in AP-Mode ("Access Point Mode") and the Yun creates a new wireless network on the IP range 192.168.240.0/24, and it will take 192.168.240.1 . If you scan for Wifi networks, you should see a new network with a SSID as Arduino Yun-XXXXXXXXXXXX , where XXXXXXXXXXXX is the MAC address of the Yun's Wifi interface. Once you connected to Yun, then could access at 192.168.240.1 or arduino.local.



sonnyyu

#38
Mar 30, 2014, 10:04 pm Last Edit: Mar 30, 2014, 10:09 pm by sonnyyu Reason: 1
Stabilize network connection by use static ip address and ethernet  connection:

Code: [Select]
nano /etc/config/network

Code: [Select]
config interface 'wan'
       option ifname 'eth1'
       option 'proto' 'static'
       option 'ipaddr' '192.168.0.239'
       option 'netmask' '255.255.255.0'
option 'gateway' '192.168.0.1'
option 'dns' '8.8.8.8'


( change ip address/gateway to match with yours.)

http://forum.arduino.cc/index.php?topic=227693.msg1650457#msg1650457

Use Bonjour Browser to make sure Yun's bonjour service is up.

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

Use static ip with ethernet will fix both web control panel  error as well as dhcp error. to access web control panel by "http://192.168.0.239/"

roscoe

I have similar issues and have tried to read through this thread thread trying various things along  the way, but I'm feeling it's some other network straightforward issue, maybe.  Anyway my symptoms are :

1. On wifi I can access the yun config panel, use putty, use sFtp all fine
but the Yun doesn't appear on the Port menu.

2. On wifi using the suggested tools bonjour lists and shows the settings for the yun

3. If I connect my computer to ethernet whilst leaving yun on wifi and restart the yun magically appears on the IDE port menu.

The signal strength of the wifi is good at both the yun end and the laptop computer.

Any ideas?

sonnyyu

leave wifi connected, and disconnect  ethernet.

Post output of

Code: [Select]
ping arduino.local

roscoe


sonnyyu


roscoe

address is 192.168.18.6
I have already had a quick look at those threads and installed the bonjour browser which did seem to correctly list my yun
I am on win7 and have disabled av and firewall

sonnyyu

Code: [Select]
ping arduino.local
times out no reply


and

bonjour browser list correctly yun.

Could be some thing wrong DNS setting (DNS hijacking) or Windows OS  problem.

http://forum.arduino.cc/index.php?topic=188101.msg1617043#msg1617043  for DNS hijacking,

Use an other Windows machine for testing OS  problem.


Go Up