Hello, I'm wondering if we can acces to the OpenWRT of the Yun without Wifi access?
I would like to make ARP broadcast from the Ethernet on a Device (LAN) but I can't have any wifi access...
thank you for any help
Hello, I'm wondering if we can acces to the OpenWRT of the Yun without Wifi access?
I would like to make ARP broadcast from the Ethernet on a Device (LAN) but I can't have any wifi access...
thank you for any help
The Linux side of the Yun controls all networking, both WiFi and Ethernet. Other than their configuration settings, there is no difference in the way they are used. Any access you can perform over WiFi can be done over Ethernet in exactly the same way. The only real difference is that the two interfaces will each have their own IP address.
I manage to connect though wireless Arduino Network but not through Ethernet...
I just connect the Ethernet Cable on my computer to the Arduino but can't run the linino with Putty or through the Console... It seems that the IP address of the YUN is 192.168.1.2 on this local network. The ping works but can't run Linino...
Do you have an explanation?
Are you hooking the Ethernet directly between the Yun and the Computer? If so, that may be the problem unless you have configured your computer and the Yun for (different) static addresses.
As normally configured, the Ethernet port is set to get a dynamic address using DHCP. It is intended to connect to a network that has a router that is a DHCP server.
But it's curious that you say you can ping the Yun, but not connect to it. It should normally be an all-or-nothing situation. If ping works, so should other services. Are you sure that 192.168.1.2 is the Yun's Ethernet IP address and not some other device? Or perhaps it's the Yun's WiFi address - the Ethernet IP address will be different (the Yun will have two IP addresses, one for each network.)
Yes directly plugged on computer.
You are right this is not the Ethernet YUN address...
I just configured new ip parameter:
Vi /etc/config/network
Config interface 'wan'
Option 'ipaddr' 192.168.0.43'
And other options...
It should works now?
CharlyDelta:
So you know how I could configure the static address of the YUN?
There isn't one.
The normal configuration for the Ethernet port is to dynamically get an address from a DHCP server.
If you want it to have static address, that's something that you have to assign, and you set it by logging into the Yun's configuration pages and set it yourself. (Probably via WiFi if you can't plug it into an Ethernet network with a DHCP server.)
I don't have access to a Yun at the moment, so I can't check on the process. I don't think you can do it from the standard configuration page, I think you will have to go to the advanced configuration pages, and set it up on the network settings tab.
That is what I have done I think :
I changed the network config like I said in my previous message (EDIT).
But it seems not to be detected by the computer either
CharlyDelta:
And other options...
It should works now?
Hard to say without knowing what those other options are...
CharlyDelta:
But it seems not to be detected by the computer either
Is your computer also set up with a static address of 192.168.0.xx? (where xx is something other than the 43 you used for the Yun's static address?
Both your computer and the Yun must be set up with compatible addressing information.
Since my computer IP local address is 192.168.1.xx. I changed the YUN address (ethernet) at 192.168.1.43.
For the complet config I set :
config interface 'wan'
option ifname 'eth1'
#option proto 'dhcp'
option 'proto' 'static'
option 'ipaddr' '192.168.1.43'
option 'netmask' '255.255.255.0'
option 'gateway' '192.168.1.1'
option 'dns' '192.168.1.1'
option metric '10'
I tested it , it Works : I can access the Linino without internet or wireless connection.
Just with the local Ethernet between the two machines.
Problem solve! thank you ShapeShifter for your support!
Good work!
In layman's terms, the netmask is used to divide an IP address into a network number and a node number. Where the netmask is a 1, the corresponding bit is a network number, and where it's a zero, the corresponding bit is node number.
So in your current case:
To be able to talk directly to each other, two nodes have to have the same network number, but different node numbers.
Before, you had the case where the Yun's network number is 192.168.0.xxx, and you computer is 192.168.1.xxx. Those are different network numbers, so they can't talk directly to each other. This is where the gateway address comes in, it is the address of a router to handle requests destined for another network. So, with the network numbers being different, the traffic had to go through the gateway router. But if there are only the two nodes on the network, there isn't a router, and that is why it was failing.
This is what I call a CLEAR Explanation.
By the Way, I observed something weird... When I connect the computer to the WLAN of the YUN (192.168.240.1) I can get an access to the Linino with PuTTY using the WAN IP (192.168.1.XX) without being connected with Ehernet Cable.. Sounds not clear in my head, is there any gateway in the Computer Network cheap ARP map?