Skip to content

Commit

Permalink
point to point ethernet
Browse files Browse the repository at this point in the history
  • Loading branch information
wjasper committed Oct 29, 2019
1 parent 20cd39c commit e94e5f6
Showing 1 changed file with 14 additions and 9 deletions.
23 changes: 14 additions & 9 deletions Ethernet/README
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,20 @@ E-series devices:
./test-E-TC <ip_address> ./test-E-TC.py 'ip address'
./test-E-TC32 <ip_address> ./test-E-TC32.py 'ip address'

3. The device is connected directly to the host PC (link-local). On the Raspberry Pi,
edit the file /etc/network/interfaces as follows:

iface eth0 inet static
address 192.168.0.10
netmask 255.255.255.0
broadcast 192.168.0.255
network 192.168.0.0
gateway 192.168.0.1
3. The device is connected directly to the host PC (link-local).

a) Try the command:
ip route add 192.168.0.0/24 dev eth0

b) If that does not work try:
edit the file /etc/network/interfaces as follows:

iface eth0 inet static
address 192.168.0.10
netmask 255.255.255.0
broadcast 192.168.0.255
network 192.168.0.0
gateway 192.168.0.1

After saving the file, release any dhcp leases by typing
sudo rm /var/dhcp/*
Expand Down

0 comments on commit e94e5f6

Please sign in to comment.