I have installed lede-ramips-rt305x-a5-v11-squashfs-sysupgrade.bin on a A5-v11 router. I can access it using failsafe. But how do I configure it to connect to the Internet or be accessible when attached to a DHCP LAN via an IP address on the local network?
If I just attach it to the DHCP network without any configuration then it seems to get an IP address (at least my Fritz!Box DHCP server says so) but when I try to log in I cannot:
$ ssh root@192.168.xxx.xxx
ssh: connect to host 192.168.xxx.xxx port 22: No route to host
The device has only one Ethernet port and the instructions in the Quick Start Guide seem to assume I can access the device at 192.168.1.1
and connect it to the Internet via DHCP at the same time. How am I supposed to do that with only one Ethernet port?
Also, I don't seem to see a /etc/config/network
file like I was used to in OpenWrt.
I do see
/etc/board.d/02_network
/etc/board.d/99-default_network
though. Are these documented?
In /etc/config/dhcp
it seems like the system assumes two Ethernet ports, LAN and WAN when in fact the device has only one...
config dhcp lan
option interface lan
option start 100
option limit 150
option leasetime 12h
config dhcp wan
option interface wan
option ignore 1
/etc/board.json
contains:
{
"model": {
"id": "a5-v11",
"name": "A5-V11"
},
"led": {
"power": {
"name": "POWER",
"sysfs": "a5-v11:red:power",
"default": "1"
}
},
"switch": {
"switch0": {
"enable": false,
"reset": true
}
},
"network": {
"lan": {
"ifname": "eth0",
"protocol": "static",
"macaddr": "2c:67:xx:xx:xx:xx"
}
}
}