Temat: WR1043ND V1 brak WAN po zainstalowaniu Gargoyle.
Witam,
mam problem z połączeniem się z WAN. Niby wszystko w ustawieniach jest ok ale internetu brak.
WIFI jest.
Porównałem ustawienia w ipconfig z innym routerem z wgranym oryginalnym softem i różnica jest jedynie we wpisie dns, na gargoyle jest 192.168.1.1 . Co dziwne w zakładce status serwer dns wyświetla się prawidłowo, a w ipconfig jest właśnie 192.168.1.1.
https://www.dropbox.com/s/01zmoqxmgwtwg03/router.jpg
Mam sklonowany adres MAC poprzez zaznaczenie opcji "użyj innego adresu MAC" (internet z kablówki).
Wrzucam jeszcze komendy ssh z putty:
root@Gargoyle:~# mount
rootfs on / type rootfs (rw)
/dev/root on /rom type squashfs (ro,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,noatime)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,noatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,noatime)
/dev/mtdblock3 on /overlay type jffs2 (rw,noatime)
overlayfs:/overlay on / type overlay (rw,noatime,lowerdir=/,upperdir=/overlay/up per,workdir=/overlay/work)
tmpfs on /dev type tmpfs (rw,nosuid,relatime,size=512k,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,mode=600)
debugfs on /sys/kernel/debug type debugfs (rw,noatime)
root@Gargoyle:~# ifconfig
br-lan Link encap:Ethernet HWaddr A0:F3:C1:D4:28:9A
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:4006 errors:0 dropped:12 overruns:0 frame:0
TX packets:5181 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:507374 (495.4 KiB) TX bytes:3645335 (3.4 MiB)
eth0 Link encap:Ethernet HWaddr A0:F3:C1:D4:28:9A
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:131655 errors:0 dropped:137 overruns:5 frame:0
TX packets:79888 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:73618254 (70.2 MiB) TX bytes:80528590 (76.7 MiB)
Interrupt:4
eth0.1 Link encap:Ethernet HWaddr A0:F3:C1:D4:28:9A
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:565 errors:0 dropped:0 overruns:0 frame:0
TX packets:893 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:63884 (62.3 KiB) TX bytes:182395 (178.1 KiB)
eth0.2 Link encap:Ethernet HWaddr 1C:6F:65:8C:98:16
inet addr:213.5.214.144 Bcast:213.5.215.255 Mask:255.255.254.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:127556 errors:0 dropped:19136 overruns:0 frame:0
TX packets:73713 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:70852149 (67.5 MiB) TX bytes:78000626 (74.3 MiB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:66 errors:0 dropped:0 overruns:0 frame:0
TX packets:66 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:5208 (5.0 KiB) TX bytes:5208 (5.0 KiB)
wlan0 Link encap:Ethernet HWaddr A0:F3:C1:D4:28:9A
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3470 errors:0 dropped:0 overruns:0 frame:0
TX packets:4397 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:496544 (484.9 KiB) TX bytes:3594033 (3.4 MiB)
root@Gargoyle:~# cat /etc/config/network
config interface 'loopback'
option ifname 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'
config globals 'globals'
option ula_prefix 'fd9f:a039:f52c::/48'
config interface 'lan'
option ifname 'eth0.1'
option force_link '1'
option type 'bridge'
option proto 'static'
option netmask '255.255.255.0'
option ip6assign '60'
option ipaddr '192.168.1.1'
option dns '192.168.1.1'
config interface 'wan'
option ifname 'eth0.2'
option proto 'dhcp'
option ipv6 '0'
option macaddr '1c:6f:65:8c:98:16'
config interface 'wan6'
option ifname 'eth0.2'
option proto 'dhcpv6'
config switch
option name 'switch0'
option reset '1'
option enable_vlan '1'
config switch_vlan
option device 'switch0'
option vlan '1'
option ports '1 2 3 4 5t'
config switch_vlan
option device 'switch0'
option vlan '2'
option ports '0 5t'
root@Gargoyle:~# ps
PID USER VSZ STAT COMMAND
1 root 1468 S /sbin/procd
2 root 0 SW [kthreadd]
3 root 0 SW [ksoftirqd/0]
4 root 0 SW [kworker/0:0]
5 root 0 SW< [kworker/0:0H]
7 root 0 SW< [khelper]
60 root 0 SW< [writeback]
61 root 0 SW< [bioset]
65 root 0 SW< [kblockd]
68 root 0 SW [kswapd0]
69 root 0 SW [fsnotify_mark]
71 root 0 SW [spi0]
266 root 0 SW< [deferwq]
267 root 0 SW [kworker/u2:2]
328 root 0 SW [kworker/0:2]
388 root 0 SWN [jffs2_gcd_mtd3]
459 root 888 S /sbin/ubusd
465 root 768 S /sbin/askfirst /bin/ash --login
768 root 0 SW< [rpciod]
790 root 0 SW< [nfsiod]
1004 root 0 SW< [cfg80211]
1281 root 1040 S /sbin/logd -S 16
1309 nobody 1024 S /usr/sbin/portmap
1390 root 1360 S /usr/sbin/ntpd -n -l -S /usr/sbin/ntpd-hotplug -p 0.pool.ntp.org -p 1.pool.ntp.org -p 2.pool.ntp.org
1432 root 1148 S /usr/sbin/dropbear -F -P /var/run/dropbear.1.pid -p 22 -K 300
5110 root 0 SW [kworker/u2:0]
6944 root 3420 S /usr/sbin/uhttpd -f -h /www -r Gargoyle -x /cgi-bin -t 900 -T 30 -k 20 -A 1 -E /login.sh -n 50 -N 200 -D -R -p 0.0.0.0:80 -i .sh=/usr/bin/run_haserl -i .csv=/usr/bin/run_haserl -I login.sh -C /etc/uhttpd.crt -
7265 root 1564 S /sbin/netifd
7405 root 1356 S udhcpc -p /var/run/udhcpc-eth0.2.pid -s /lib/netifd/dhcp.script -f -t 0 -i eth0.2 -C
7618 root 1676 S /usr/sbin/hostapd -P /var/run/wifi-phy0.pid -B /var/run/hostapd-phy0.conf
7763 nobody 948 S /usr/sbin/dnsmasq -C /var/etc/dnsmasq.conf -k -x /var/run/dnsmasq/dnsmasq.pid
8648 root 1360 S /usr/sbin/crond -f -c /etc/crontabs -l 9
8842 root 1216 R /usr/sbin/dropbear -F -P /var/run/dropbear.1.pid -p 22 -K 300
8857 root 1360 S -ash
9119 root 1356 R ps
root@Gargoyle:~# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
default host-213-5-214- 0.0.0.0 UG 0 0 0 eth0.2
192.168.1.0 * 255.255.255.0 U 0 0 0 br-lan
213.5.214.0 * 255.255.254.0 U 0 0 0 eth0.2
213.5.214.1 * 255.255.255.255 UH 0 0 0 eth0.2