In order to use microcom from busybox, issue:
microcom -s 9600 /dev/ttyAMA1
where -s sets the baudrate and /dev/ttyAMA1 sets the used device.
Break character is crtl+x
quarta-feira, 20 de junho de 2018
terça-feira, 12 de junho de 2018
Changing IP address in a ArmV7l 3.18.20 embedded Linux distribution
To change the ip address in a ArmV7l 3.18.20 embedded Linux distro, follow these commands:
- In the embedded equip, check the inferface name using ifconfig. If you're changing the cabled interface, it should be named as eth0;
- Change the ip address with: sudo ifconfig eth0 192.168.201.105 netmask 255.255.255.0. Change the ip and netmask as needed;
- Display (route -n) and copy the gateway address of a computer with internet connection;
- Add the gateway to the device under configuration by using sudo route add default gw 192.168.201.253 eth0;
- Test the connection via ping google.com
- ifconfig
- ifconfig eth0 192.168.201.175 netmask 255.255.255.0
- (in the configured device) route -n
- route add default gw 192.168.201.253 eth0
- ping google.com
Assinar:
Postagens (Atom)