На роутере есть интернет.
root@OpenWrt:~# ping ya.ru
PING ya.ru (87.250.251.3): 56 data bytes
64 bytes from 87.250.251.3: seq=0 ttl=56 time=31.297 ms
64 bytes from 87.250.251.3: seq=1 ttl=56 time=34.429 ms
64 bytes from 87.250.251.3: seq=2 ttl=56 time=29.907 ms
^C
--- ya.ru ping statistics ---
Что нужно сделать, чтобы интернет появился на машинах связанных wi-fi соединением с роутером?
root@OpenWrt:~# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
81.30.199.94 10.161.158.1 255.255.255.255 UGH 0 0 0 eth0.1
10.8.0.1 10.161.158.1 255.255.255.255 UGH 0 0 0 eth0.1
81.30.199.5 10.161.158.1 255.255.255.255 UGH 0 0 0 eth0.1
92.50.189.132 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 br-lan
10.161.158.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0.1
0.0.0.0 92.50.189.132 0.0.0.0 UG 0 0 0 ppp0
root@OpenWrt:~# ifconfig
br-lan Link encap:Ethernet HWaddr 1C:AF:F7:2C:EF:7E
inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:617 errors:0 dropped:0 overruns:0 frame:0
TX packets:526 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:64598 (63.0 KiB) TX bytes:172467 (168.4 KiB)
eth0 Link encap:Ethernet HWaddr 1C:AF:F7:2C:EF:80
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:371 errors:0 dropped:0 overruns:0 frame:0
TX packets:259 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:28653 (27.9 KiB) TX bytes:27796 (27.1 KiB)
Interrupt:4
eth0.0 Link encap:Ethernet HWaddr 1C:AF:F7:2C:EF:80
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:63 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:10574 (10.3 KiB)
eth0.1 Link encap:Ethernet HWaddr 1C:AF:F7:2C:EF:80
inet addr:10.161.158.57 Bcast:10.161.158.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:369 errors:0 dropped:0 overruns:0 frame:0
TX packets:196 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:21883 (21.3 KiB) TX bytes:15472 (15.1 KiB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:12 errors:0 dropped:0 overruns:0 frame:0
TX packets:12 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:877 (877.0 B) TX bytes:877 (877.0 B)
mon.wlan0 Link encap:UNSPEC HWaddr 1C-AF-F7-2C-EF-7E-00-00-00-00-00-00-00-00-00-00
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:10 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:687 (687.0 B) TX bytes:0 (0.0 B)
ppp0 Link encap:Point-to-Point Protocol
inet addr:77.79.158.81 P-t-P:92.50.189.132 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1460 Metric:1
RX packets:24 errors:0 dropped:0 overruns:0 frame:0
TX packets:26 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:1140 (1.1 KiB) TX bytes:1278 (1.2 KiB)
wlan0 Link encap:Ethernet HWaddr 1C:AF:F7:2C:EF:7E
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:616 errors:0 dropped:0 overruns:0 frame:0
TX packets:587 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:73216 (71.5 KiB) TX bytes:193983 (189.4 KiB)