Hi, I managed to connect the ESP module to the board through serial port (ttyS2 was disabled). Now I have flashed the module with esp-link firmware that allows the module to act as a wifi bridge. I have been trying to follow this guide but i couldnt follow the second part (software configuration)
When it says "the server" it is referring to a computer connected to the network (home network), right?
What does this code do?
What are those IP addresses that have to be configured?
Then on the board's side:
why is that ip the same as the "server"?
that gateway is the router, right?
Im sorry if this is not the proper place to ask this
When it says "the server" it is referring to a computer connected to the network (home network), right?
What does this code do?
Code:
socat TCP:192.168.1.3:23 PTY,link=/tmp/socat.sock
slattach -L -s 115200 -p slip /tmp/socat.sock
ifconfig sl0 192.168.255.2/24 up
echo 1 > /proc/sys/net/ipv4/ip_forward
iptables -t nat -A POSTROUTING -s 192.168.255.0/24 -o eth0 -j SNAT –to-source 192.168.1.250
What are those IP addresses that have to be configured?
Then on the board's side:
Code:
slattach -L -s 115200 -p slip /dev/ttyUSB0
ifconfig sl0 192.168.255.2/24 up
route add default gw 192.168.255.1
why is that ip the same as the "server"?
that gateway is the router, right?
Im sorry if this is not the proper place to ask this