Top Banner
19

Link it smart 7688 MEETUP - Bangkok

Apr 12, 2017

Download

Technology

Nat Weerawan
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Link it smart 7688 MEETUP - Bangkok
Page 2: Link it smart 7688 MEETUP - Bangkok

OpenWrt

Page 3: Link it smart 7688 MEETUP - Bangkok
Page 4: Link it smart 7688 MEETUP - Bangkok
Page 5: Link it smart 7688 MEETUP - Bangkok
Page 6: Link it smart 7688 MEETUP - Bangkok

STA + AP

Page 7: Link it smart 7688 MEETUP - Bangkok

config wifi-iface 'sta' option device 'radio0' option mode 'sta' option network 'wan' option ifname 'apcli0' option led 'mediatek:orange:wifi' option encryption 'psk2' option ssid '...@ Pinn Creative Space' option key '@Pinnqwerty'

option disabled '1'

Page 8: Link it smart 7688 MEETUP - Bangkok

uci

Page 9: Link it smart 7688 MEETUP - Bangkok
Page 10: Link it smart 7688 MEETUP - Bangkok
Page 11: Link it smart 7688 MEETUP - Bangkok
Page 12: Link it smart 7688 MEETUP - Bangkok

uci set wireless.ap.ssid='NAT.WRW'

Page 13: Link it smart 7688 MEETUP - Bangkok

uci commit

Page 14: Link it smart 7688 MEETUP - Bangkok

/sbin/uci set wireless.sta.disabled='0' /sbin/uci commit /etc/init.d/network restart

/sbin/uci set wireless.sta.disabled='1' /sbin/uci commit

Page 15: Link it smart 7688 MEETUP - Bangkok
Page 16: Link it smart 7688 MEETUP - Bangkok

sshtunnel

Page 17: Link it smart 7688 MEETUP - Bangkok

ssh -R 9000:localhost:3000 [email protected]

http://blog.trackets.com/2014/05/17/ssh-tunnel-local-and-remote-port-forwarding-explained-with-examples.html

Page 18: Link it smart 7688 MEETUP - Bangkok

/etc/confing/sshtunnel

Page 19: Link it smart 7688 MEETUP - Bangkok