tvelliott / charon

Enable your Pluto SDR to become a stand-alone OFDM transceiver with batman-adv mesh network routing capabilities
MIT License
102 stars 36 forks source link

Ethernet connection not working #5

Open hshah89 opened 4 years ago

hshah89 commented 4 years ago

Hi,

I loaded in the pre-built firmware image. It successfully flashes and the device reboots. Afterwards, I am unable to ping the device with the ip address listed in the config file. Is this a known issue?

Thanks, Harit

terracubist commented 2 years ago

This happened to me too. I noticed that the host computer's ip address wasn't getting set correctly, so I just set it manually, i.e. sudo ifconfig enx00e02252e28f 192.168.3.10

Before:

enx00e02252e28f: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet6 fe80::50cb:87b6:2d15:9d48  prefixlen 64  scopeid 0x20<link>
        ether 00:e0:22:52:e2:8f  txqueuelen 1000  (Ethernet)
        RX packets 31  bytes 3129 (3.1 KB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 28  bytes 6060 (6.0 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

After:

enx00e02252e28f: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.3.10  netmask 255.255.255.0  broadcast 192.168.3.255
        inet6 fe80::50cb:87b6:2d15:9d48  prefixlen 64  scopeid 0x20<link>
        ether 00:e0:22:52:e2:8f  txqueuelen 1000  (Ethernet)
        RX packets 32  bytes 3157 (3.1 KB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 36  bytes 7672 (7.6 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0s

After this change ssh works as expected, i.e. ssh root@192.168.3.1.