Windows machine: After configuring on-board WiFi, I cannot access Arduino Yun board using arduino.local. However while configuring, I gave name of the board exactly arduino.
Linux (Ubuntu): However if I repeat same steps configuring WiFi in Ubuntu, I can access its webpanel using arduino.local in browser.
Any solution how can I access from a Windows machine. Or how to figure out IP address of the board to access its webpanel?
You should follow the instructions on their site very carefully.
Specifically:
NB: The Yún uses Bonjour services for auto-discovery on a wireless network. This service is not included with Windows by default. If you do not have Bonjour already installed, you can download the service from here. Additionally, you should make sure any anti-virus software is not blocking communication on port 5353.
Related
I have Raspberry Pi and a mobile app developed in ionic.It has to communicate over SocketIO and normal HTTP request. I can communicate if i know IP address and port no. But what if I'm using it over internet and my raspberry pi's IP address is changing dynamically due to DHCP. How do i connect to my raspberry Pi device. Is their a way to connect if I know MAC address of Rasspberry PI.
Short Answer: no
Slightly Longer:
MAC is only useful at Layer 2. So the minute you have a router between you and the device, you will no longer be able to see the MAC. If you control the Layer 2 network you can statically assign a DHCP address, or you can look at the logs and see what IP it was assigned, but if the device is connecting to networks you don't control and its address is changing, you will need a way for the Raspberry Pi to register where it currently lives. There are a variety of ways to do this, such as dynamic dns registration, or you could have it phone home to some sort of locator service that your app could then query, etc... But without extra software you are probably out of luck.
You should use a dynamic IP service like www.noip.com. They provide a free linux and/or windows client.
That way, when your public IP changes, you will still be able to connect.
I have a RaspberryPi which is going to act as the server for my Arduinos which are connected to the same network.
However, the RaspberryPi is unable to automatically connect to the Arduino. I have to hardcore each Arduino IP address into the server.
Is there anyway for my server to search the network and identify the arduino so it could be added into the server database automatically. Or the other way round, the arduino find the server ip and attempts to connect to it.
My server is running on node.js
If both the Rasbpi and the Arduino are connected to the same router, they are in the same subnet. You can let tell your server periodically scan the subnet ip range.
I am not familiar with node.js but here are some good starting points for network scanning:
https://www.npmjs.com/package/ip
https://github.com/jas-/node-libnmap
From your server install the latest nmap binary then expose that tool to node.js like so:
'$ npm install --save libnmap'
Then use the discover method available to find all connected devices per network interface.
var nmap = require('libnmap');
nmap.discover(function(err, devices) {
if (err) throw err;
console.log(JSON.stringify(devices));
});
I would use mDNS to find the Arduinos. The only requirement for the RPi is to be running Avahi, to have the appropriate multicast port open, and to have the mDNS resolver installed and configured. There are several Arduino libraries available that implement mDNS; a quick Google search finds a few.
I am using a plug and play dongle for internet connection. My WP8 emulator is not working ...I tried all the steps mentioned here and on various other forums.. but it was of no help...I am using a 64 bit machine and Hyper-V is on.What should I do?
This is a problem which even Microsoft is unable to answer as of date.
Windows Phone 8 Emulator has a separate IP of its own, different from the IP of the host computer. It needs a dedicated internet connection for itself.
When you are connecting the dongle, you are feeding internet only to the host system and not to the emulator.
One way to get internet on emulator is to use WLAN connection on the system. You can create a WiFi hotspot and that will provide internet to emulator.
In case, you only have dongle as an option, then you have to do tethering with another system.
Create a peer-to-peer network using a LAN cable with another nearby system and change the IPV4 of all available virtual switch adapters of both the systems to dynamic. (no static IP)
Then use dongle to share internet for both the systems. If the other system successfully gets the internet, be sure that the emulator will also get the internet.
You can google out how to create a peer-to-peer connection.
Happy coding :)
I am using the Linux driver g_ether to communicate Ethernet over USB for an embedded Linux device. The package dnsmasq is running on the embedded device and is configured to provide DHCP service to whatever PC is connected to the board via USB.
This works just fine and I can ping the Linux board from Windows ( 7 and XP ) cmd.exe. I can also ping Windows 7 after configuring the firewall as administrator:
netsh advfirewall firewall add rule name="ICMP Allow incoming V4 echo request" protocol=icmpv4:8,any dir=in action=allow
The difference between Windows 7 and Windows XP is that when I connect the USB Cable under XP I still have my regular Local Area Connection and Internet available and active. Under Windows 7, when I connect the USB device, I lose the Local Area Connection and Internet but gain the Ethernet over USB connection with the Linux Board. As soon as I unplug the USB cable from Win 7 I regain my Local Area Connection and Internet.
What gives? I'd like to keep my Local Area Connection and Internet active while also being able to interact with my Ethernet over USB connection at the same time. I'm not sure if this is a firewall issue or something else. This is definitely a Windows 7 nuance that I'd like to understand and hopefully resolve.
The resolution to this problem was to turn off dnsmasq service as a router. There should be no dhcp-option=3 in the dnsmasq configuration file. With that service turned off, it is possible to maintain the Ethernet over USB connection and Local Area Network ( with internet ) at the same time. The USB -> Ethernet, also works without the LAN connection as expected.
Additionally, you could leave the router behavior in the dnsmasq config file but then set the connection priority to make the LAN 1 and USB RNDIS Connection 9999. Right click on the adapter and choose Advanced options for the IPV4 behavior of that adapter.
How can I connect wireless network adapter to VMWare workstation ?(My Host OS is Windows 7 Ultimate, my Guest OS is Fedora 13 & my VMWare version is 6.5.0)
I'm running Windows 7 on my Dell Vostro A860 laptop & my wireless network adapter is Atheros.
Workstation doesn't have a wireless NIC type, so direct wireless hardware access is out. If you just want to access through the extant host wireless connection, bridging is your answer.
I think the only way to get a wireless NIC dedicated to the VM would be using a USB wireless NIC as a USB-passthrough device on the VM. When you have Workstation running and a USB device plugged in, it should give you an option to change whether that device is connected to the host or to the VM.
Add a local loop network in your normal PC (search google how to)
Click start -> type "ncpa.cpl" hit enter to open network connections.
While pressing Ctrl key, select both your wireless and recently created local loop network. right click on it and create the bridge.
Now in virtual network editor in vmware, select the network with type "Bridged" and change Bridged to option to the recently created bridge.
You will then have access to network via wifi card.
Use a Linux Live cd/usb and boot an that to be able to directly connect to your wifi hardware or use linux as the main OS with direct access to the wifi card and then use windows as a guest os, I know that this maybe not the ideal way but it will work.
I also encountered a similar problem. I run Ubuntu 11.04 on VMware on a Windows 7 host OS. Virtual machines can't expose the physical wireless cards. All of that is using a virtualization layer.
Since there is only one WiFi hardware on the computer its not possible to connect one WiFi hardware to multiple WiFi networks, if you want to that I think you have to map WiFi hardware to guest OS and how host you'll have to use some other hardware (may be Ethernet) but I'm sure that it will work in that way as no VM software allow us to allocate Hardware to Guest except for USB, you can also get USB WiFI and allocate that to VM only.
Change your network adapter to a bridged connection, this will directly connect to your computers physical network.
Here is a simple way to connect with your WIFI -
Click on Edit from the menu section
Virtual Network Editor
Change Settings
Add Network
Select a network name
Select Bridged option in VMnet Information -> Bridge to : Automatic
Apply
That's it. You might be asked password to connect. Add it and you would be able to connect to the network.
Kind Regards,
Rahul Tilloo