Temat: [solved] 3G - brak internetu na komputerze
Jeśli macie nadzieję, że znajdziecie tu rozwiązanie swojego problemu z 3G to nie musicie dalej czytać.
Miałem źle ustawione trasy na komputerze - router nie miał żadnych problemów.
W Ubuntu było to w edycji połączenia NetworkManagera, w zakładce Przewodowe, podzakładce
Ustawienia IPv4, przycisk Trasy i zaznaczona opcja Używanie tego połączenia tylko dla zasobów tej sieci
Odznaczyłem i działa.
* * *
Router - TP-Link WR1043ND
OpenWRT - Backfire 10.03+LuCI stąd: http://ecco.selfip.net/tl-wr1043nd-luci/
Na samym routerze się łączę. Robię ping do www.onet.pl i nie ma problemu.
Komputer ma połączenie po LAN do routera i też tu nie ma problemu zarówno z WWW jak i z SSH.
Z komputera pinguję router bez problemu.
Gdy próbuję pingować www.onet.pl z komputera dostaję
connect: Network is unreachableNie mogę również dostać się do żadnej WWW.
Pingowanie po IP również nie działa.
trochę danych z routera
cat firewall
config 'defaults'
option 'syn_flood' '1'
option 'input' 'ACCEPT'
option 'output' 'ACCEPT'
option 'forward' 'REJECT'
config 'zone'
option 'name' 'lan'
option 'input' 'ACCEPT'
option 'output' 'ACCEPT'
option 'forward' 'REJECT'
option 'network' 'lan'
config 'zone'
option 'output' 'ACCEPT'
option 'forward' 'REJECT'
option 'name' '3g'
option 'network' '3g'
option 'masq' '1'
option 'input' 'REJECT'
config 'forwarding'
option 'src' 'lan'
option 'dest' '3g'
config 'rule'
option 'src' 'wan'
option 'proto' 'udp'
option 'dest_port' '68'
option 'target' 'ACCEPT'
config 'rule'
option 'src' 'wan'
option 'proto' 'icmp'
option 'icmp_type' 'echo-request'
option 'target' 'ACCEPT'
config 'include'
option 'path' '/etc/firewall.user'
config 'forwarding'
option 'src' '3g'
option 'dest' 'lan'ifconfig
3g-3g Link encap:Point-to-Point Protocol
inet addr:77.112.124.193 P-t-P:10.64.64.64 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1440 Metric:1
RX packets:58 errors:0 dropped:0 overruns:0 frame:0
TX packets:65 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:9264 (9.0 KiB) TX bytes:5143 (5.0 KiB)
br-lan Link encap:Ethernet HWaddr 00:23:CD:18:F4:6A
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:993 errors:0 dropped:0 overruns:0 frame:0
TX packets:848 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:87139 (85.0 KiB) TX bytes:328361 (320.6 KiB)
eth0 Link encap:Ethernet HWaddr 00:23:CD:18:F4:6A
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:7373 errors:0 dropped:0 overruns:0 frame:0
TX packets:9553 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:766382 (748.4 KiB) TX bytes:3769557 (3.5 MiB)
Interrupt:4
eth0.1 Link encap:Ethernet HWaddr 00:23:CD:18:F4:6A
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:7368 errors:0 dropped:0 overruns:0 frame:0
TX packets:6907 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:661802 (646.2 KiB) TX bytes:2691999 (2.5 MiB)
eth0.2 Link encap:Ethernet HWaddr 00:23:CD:18:F4:6A
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:2645 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:1076515 (1.0 MiB)
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:385 errors:0 dropped:0 overruns:0 frame:0
TX packets:385 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:67882 (66.2 KiB) TX bytes:67882 (66.2 KiB)route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.64.64.64 * 255.255.255.255 UH 0 0 0 3g-3g
192.168.1.0 * 255.255.255.0 U 0 0 0 br-lan
default * 0.0.0.0 U 0 0 0 3g-3gcat dhcp
config 'dnsmasq'
option 'domainneeded' '1'
option 'boguspriv' '1'
option 'filterwin2k' '0'
option 'localise_queries' '1'
option 'local' '/lan/'
option 'domain' 'lan'
option 'expandhosts' '1'
option 'nonegcache' '0'
option 'authoritative' '1'
option 'readethers' '1'
option 'leasefile' '/tmp/dhcp.leases'
option 'resolvfile' '/tmp/resolv.conf.auto'
config 'dhcp' 'lan'
option 'interface' 'lan'
option 'limit' '150'
option 'leasetime' '12h'
option 'start' '64'
config 'dhcp' 'wan'
option 'interface' 'wan'
option 'ignore' '1'
option 'dynamicdhcp' '0'
config 'dhcp'
option 'interface' '3g'
option 'dynamicdhcp' '0'
option 'ignore' '1'
config 'host'
option 'name' 'Kitsunes-zotac'
option 'mac' '00:01:2e:27:63:83'
option 'ip' '192.168.1.64'Backfire 10.03 + Gargoyle 1.3.9 (by obsy)
3G - Huawei E122