wifi module
#6
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?

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
  Reply


Messages In This Thread
wifi module - by zehks - 12-16-2017, 08:38 AM
RE: wifi module - by zehks - 12-16-2017, 02:14 PM
RE: wifi module - by xalius - 12-16-2017, 05:15 PM
RE: wifi module - by zehks - 12-17-2017, 12:59 PM
RE: wifi module - by zehks - 12-18-2017, 10:54 AM
RE: wifi module - by zehks - 12-19-2017, 11:56 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  get wifi mt7601u mediatek usb dongle to work Johannes 0 2,736 11-17-2020, 09:48 AM
Last Post: Johannes
Information Rock64 RTL8188EU Wifi Adapter from Pine Store Tested Well MarkHaysHarris777 7 12,440 05-13-2020, 06:00 PM
Last Post: Leon Rembowski
  RTL8192EU WIFI elik745i 12 27,173 05-13-2020, 05:03 PM
Last Post: Leon Rembowski
  low speed wifi pas059 4 6,038 05-13-2019, 12:09 PM
Last Post: pas059
  emmc module help default_user8 1 3,256 04-05-2019, 07:19 PM
Last Post: SirRyanTheGeek
  Using ESP32 as WiFi and Bluetooth Module shripal17 2 4,422 03-08-2019, 02:44 AM
Last Post: shripal17
  50 kb with RTL8188eu WIFI adapter Juice4 2 4,031 11-09-2018, 12:56 PM
Last Post: Juice4
  WIFI driver compilation wsk 1 3,190 11-01-2018, 12:21 AM
Last Post: wsk
  Wifi; how to? scalextrix 12 19,286 05-30-2018, 12:20 AM
Last Post: scalextrix
  Very disappointed with ROCK64 USB WIFI 802.11B/G/N Danielsan 0 2,534 04-23-2018, 09:51 AM
Last Post: Danielsan

Forum Jump:


Users browsing this thread: 1 Guest(s)