OpenWrt Forum Archive

Topic: WDR3600 LAN and WLAN problem ( clients can't access internet unless..)

The content of this topic has been archived on 22 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hi, I bought this router and I have a strange problem with gargoyle 1.5.9  which is based on the popular OPENWRT;
used as AP, it connects perfectly to the WAN, gets it's IP , but the LAN and Wireless clients don't have access to the internet (yellow exclamation mark) unless I go to the CONNECTION menu in the webinterface and hit APPLY CHANGES button once again without changing anything after the reboot ; after each reboot, I have to do this so the LAN and WLAN clients have access to the internet; I thought is was a DNSmasq problem but from the router itself (using putty) I can ping any adress on the internet and it works well, only from the client side is the problem.
I wonder if anyone knows the UCI command line syntax that is equivalent to the APPLY CHANGES button from the webinterface so that I add it in rc.local to execute at each startup? what exactly does the gargoyle firmware during an APPLY CHANGES command? does it re-load it's all settings? initiates some scripts?
I paste here the log before and after I issue the APPLY CHANGES command using the "logread" syntax in console :
(Notice the last lines on which I used bold characters which differ from the first output - this is after APLY CHANGES comand was issued from the webinterface "connection" menu)

BEFORE :

root@Gargoyle:~# logread
Jan 1 02:00:17 Gargoyle kern.info kernel: [ 0.320000] pci_bus 0000:00: root bus resource [io 0x0000]
Jan 1 02:00:17 Gargoyle kern.debug kernel: [ 0.330000] pci 0000:00:00.0: [168c:0033] type 0 class 0x000280
Jan 1 02:00:17 Gargoyle kern.err kernel: [ 0.330000] pci 0000:00:00.0: invalid calibration data
Jan 1 02:00:17 Gargoyle kern.debug kernel: [ 0.330000] pci 0000:00:00.0: reg 10: [mem 0x00000000-0x0001ffff 64bit]
Jan 1 02:00:17 Gargoyle kern.debug kernel: [ 0.330000] pci 0000:00:00.0: reg 30: [mem 0x00000000-0x0000ffff pref]
Jan 1 02:00:17 Gargoyle kern.debug kernel: [ 0.330000] pci 0000:00:00.0: supports D1
Jan 1 02:00:17 Gargoyle kern.debug kernel: [ 0.330000] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
Jan 1 02:00:17 Gargoyle kern.info kernel: [ 0.330000] pci 0000:00:00.0: BAR 0: assigned [mem 0x10000000-0x1001ffff 64bit]
Jan 1 02:00:17 Gargoyle kern.info kernel: [ 0.340000] pci 0000:00:00.0: BAR 6: assigned [mem 0x10020000-0x1002ffff pref]
Jan 1 02:00:17 Gargoyle kern.info kernel: [ 0.340000] pci 0000:00:00.0: using irq 40 for pin 1
Jan 1 02:00:17 Gargoyle kern.info kernel: [ 0.350000] Switching to clocksource MIPS
Jan 1 02:00:17 Gargoyle kern.info kernel: [ 0.350000] NET: Registered protocol family 2
Jan 1 02:00:17 Gargoyle kern.info kernel: [ 0.360000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
Jan 1 02:00:17 Gargoyle kern.info kernel: [ 0.360000] TCP established hash table entries: 4096 (order: 3, 32768 bytes)
Jan 1 02:00:17 Gargoyle kern.info kernel: [ 0.370000] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
Jan 1 02:00:17 Gargoyle kern.info kernel: [ 0.370000] TCP: Hash tables configured (established 4096 bind 4096)
Jan 1 02:00:17 Gargoyle kern.info kernel: [ 0.380000] TCP reno registered
Jan 1 02:00:17 Gargoyle kern.info kernel: [ 0.380000] UDP hash table entries: 256 (order: 0, 4096 bytes)
Jan 1 02:00:17 Gargoyle kern.info kernel: [ 0.390000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
Jan 1 02:00:17 Gargoyle kern.info kernel: [ 0.390000] NET: Registered protocol family 1
Jan 1 02:00:17 Gargoyle kern.debug kernel: [ 0.400000] PCI: CLS 0 bytes, default 32
Jan 1 02:00:17 Gargoyle kern.info kernel: [ 0.410000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
Jan 1 02:00:17 Gargoyle kern.info kernel: [ 0.420000] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
Jan 1 02:00:17 Gargoyle kern.info kernel: [ 0.430000] msgmni has been set to 247
Jan 1 02:00:17 Gargoyle kern.info kernel: [ 0.430000] io scheduler noop registered
Jan 1 02:00:17 Gargoyle kern.info kernel: [ 0.440000] io scheduler deadline registered (default)
Jan 1 02:00:17 Gargoyle kern.info kernel: [ 0.440000] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
Jan 1 02:00:17 Gargoyle kern.info kernel: [ 0.470000] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11) is a 16550A
Jan 1 02:00:17 Gargoyle kern.info kernel: [ 0.470000] console [ttyS0] enabled, bootconsole disabled
Jan 1 02:00:17 Gargoyle kern.warn kernel: [ 0.490000] m25p80 spi0.0: found s25fl064k, expected m25p80
Jan 1 02:00:17 Gargoyle kern.info kernel: [ 0.490000] m25p80 spi0.0: s25fl064k (8192 Kbytes)
Jan 1 02:00:17 Gargoyle kern.notice kernel: [ 0.500000] 5 tp-link partitions found on MTD device spi0.0
Jan 1 02:00:17 Gargoyle kern.notice kernel: [ 0.500000] Creating 5 MTD partitions on "spi0.0":
Jan 1 02:00:17 Gargoyle kern.notice kernel: [ 0.510000] 0x000000000000-0x000000020000 : "u-boot"
Jan 1 02:00:17 Gargoyle kern.notice kernel: [ 0.520000] 0x000000020000-0x000000103318 : "kernel"
Jan 1 02:00:17 Gargoyle kern.warn kernel: [ 0.520000] mtd: partition "kernel" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
Jan 1 02:00:17 Gargoyle kern.notice kernel: [ 0.540000] 0x000000103318-0x0000007f0000 : "rootfs"
Jan 1 02:00:17 Gargoyle kern.warn kernel: [ 0.540000] mtd: partition "rootfs" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
Jan 1 02:00:17 Gargoyle kern.notice kernel: [ 0.550000] mtd: partition "rootfs" set to be root filesystem
Jan 1 02:00:17 Gargoyle kern.info kernel: [ 0.560000] mtd: partition "rootfs_data" created automatically, ofs=6A0000, len=150000
Jan 1 02:00:17 Gargoyle kern.notice kernel: [ 0.570000] 0x0000006a0000-0x0000007f0000 : "rootfs_data"
Jan 1 02:00:17 Gargoyle kern.notice kernel: [ 0.580000] 0x0000007f0000-0x000000800000 : "art"
Jan 1 02:00:17 Gargoyle kern.notice kernel: [ 0.580000] 0x000000020000-0x0000007f0000 : "firmware"
Jan 1 02:00:17 Gargoyle kern.info kernel: [ 0.720000] ag71xx_mdio: probed
Jan 1 02:00:17 Gargoyle kern.info kernel: [ 0.720000] eth0: Atheros AG71xx at 0xb9000000, irq 4
Jan 1 02:00:17 Gargoyle kern.info kernel: [ 1.300000] eth0: Atheros AR8327 switch driver attached.
Jan 1 02:00:17 Gargoyle kern.info kernel: [ 2.460000] ag71xx ag71xx.0: eth0: connected to PHY at ag71xx-mdio.0:00 [uid=004dd033, driver=Atheros AR8216/AR8236/AR8316]
Jan 1 02:00:17 Gargoyle kern.info kernel: [ 2.480000] TCP cubic registered
Jan 1 02:00:17 Gargoyle kern.info kernel: [ 2.480000] NET: Registered protocol family 17
Jan 1 02:00:17 Gargoyle kern.notice kernel: [ 2.480000] Bridge firewalling registered
Jan 1 02:00:17 Gargoyle kern.info kernel: [ 2.490000] Ebtables v2.0 registered
Jan 1 02:00:17 Gargoyle kern.info kernel: [ 2.490000] 8021q: 802.1Q VLAN Support v1.8
Jan 1 02:00:17 Gargoyle kern.info kernel: [ 2.500000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
Jan 1 02:00:17 Gargoyle kern.info kernel: [ 2.510000] Freeing unused kernel memory: 212k freed
Jan 1 02:00:17 Gargoyle kern.debug kernel: [ 4.510000] Registered led device: tp-link:blue:qss
Jan 1 02:00:17 Gargoyle kern.debug kernel: [ 4.510000] Registered led device: tp-link:blue:system
Jan 1 02:00:17 Gargoyle kern.debug kernel: [ 4.510000] Registered led device: tp-link:green:usb1
Jan 1 02:00:17 Gargoyle kern.debug kernel: [ 4.510000] Registered led device: tp-link:green:usb2
Jan 1 02:00:17 Gargoyle kern.debug kernel: [ 4.510000] Registered led device: tp-link:blue:wlan2g
Jan 1 02:00:17 Gargoyle kern.info kernel: [ 5.470000] eth0: link up (1000Mbps/Full duplex)
Jan 1 02:00:17 Gargoyle kern.notice kernel: [ 7.800000] JFFS2 notice: (450) jffs2_build_xattr_subsystem: complete building xattr subsystem, 1 of xdatum (1 unchecked, 0 orphan) and 194 of xref (0 dead, 175 orphan) found.
Jan 1 02:00:17 Gargoyle kern.info kernel: [ 7.980000] eth0: link down
Jan 1 02:00:17 Gargoyle kern.info kernel: [ 9.040000] Compat-drivers backport release: compat-drivers-2012-09-04-2-gddac993
Jan 1 02:00:17 Gargoyle kern.info kernel: [ 9.050000] Backport based on wireless-testing.git master-2012-09-07
Jan 1 02:00:17 Gargoyle kern.info kernel: [ 9.060000] compat.git: wireless-testing.git
Jan 1 02:00:17 Gargoyle kern.info kernel: [ 9.180000] cfg80211: Calling CRDA to update world regulatory domain
Jan 1 02:00:17 Gargoyle kern.info kernel: [ 9.180000] cfg80211: World regulatory domain updated:
Jan 1 02:00:17 Gargoyle kern.info kernel: [ 9.190000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
Jan 1 02:00:17 Gargoyle kern.info kernel: [ 9.200000] cfg80211: (2400000 KHz - 2483000 KHz @ 40000 KHz), (N/A, 3000 mBm)
Jan 1 02:00:17 Gargoyle kern.info kernel: [ 9.200000] cfg80211: (5140000 KHz - 5860000 KHz @ 40000 KHz), (N/A, 3000 mBm)
Jan 1 02:00:17 Gargoyle kern.notice kernel: [ 9.650000] SCSI subsystem initialized
Jan 1 02:00:17 Gargoyle kern.info kernel: [ 9.860000] usbcore: registered new interface driver usbfs
Jan 1 02:00:17 Gargoyle kern.info kernel: [ 9.870000] usbcore: registered new interface driver hub
Jan 1 02:00:17 Gargoyle kern.info kernel: [ 9.870000] usbcore: registered new device driver usb
Jan 1 02:00:17 Gargoyle kern.debug kernel: [ 10.570000] ath: EEPROM regdomain: 0x0
Jan 1 02:00:17 Gargoyle kern.debug kernel: [ 10.570000] ath: EEPROM indicates default country code should be used
Jan 1 02:00:17 Gargoyle kern.debug kernel: [ 10.570000] ath: doing EEPROM country->regdmn map search
Jan 1 02:00:17 Gargoyle kern.debug kernel: [ 10.570000] ath: country maps to regdmn code: 0x3a
Jan 1 02:00:17 Gargoyle kern.debug kernel: [ 10.570000] ath: Country alpha2 being used: US
Jan 1 02:00:17 Gargoyle kern.debug kernel: [ 10.570000] ath: Regpair used: 0x3a
Jan 1 02:00:19 Gargoyle kern.info kernel: [ 19.300000] eth0: link up (1000Mbps/Full duplex)
Jan 1 02:00:20 Gargoyle kern.info kernel: [ 20.270000] eth0: link down
Jan 1 02:00:20 Gargoyle kern.info kernel: [ 20.280000] device eth0.1 entered promiscuous mode
Jan 1 02:00:20 Gargoyle kern.info kernel: [ 20.280000] device eth0 entered promiscuous mode
Jan 1 02:00:20 Gargoyle daemon.notice netifd: Interface 'lan' is now up
Jan 1 02:00:20 Gargoyle daemon.notice netifd: Interface 'loopback' is now up
Jan 1 02:00:20 Gargoyle kern.info kernel: [ 20.310000] eth0: link up (1000Mbps/Full duplex)
Jan 1 02:00:20 Gargoyle kern.info kernel: [ 20.360000] br-lan: port 1(eth0.1) entered forwarding state
Jan 1 02:00:20 Gargoyle kern.info kernel: [ 20.360000] br-lan: port 1(eth0.1) entered forwarding state
Jan 1 02:00:20 Gargoyle daemon.notice netifd: wan (793): udhcpc (v1.19.4) started
Jan 1 02:00:21 Gargoyle daemon.notice netifd: wan (793): Sending discover...
Jan 1 02:00:21 Gargoyle daemon.notice netifd: wan (793): Sending select for 78.87.23.148...
Jan 1 02:00:21 Gargoyle daemon.notice netifd: wan (793): Lease of 78.87.23.148 obtained, lease time 602054
Jan 1 02:00:21 Gargoyle daemon.notice netifd: Interface 'wan' is now up
Jan 1 02:00:22 Gargoyle user.notice ifup: Enabling Router Solicitations on lan (br-lan)
Jan 1 02:00:22 Gargoyle kern.info kernel: [ 22.360000] br-lan: port 1(eth0.1) entered forwarding state
Jan 1 02:00:24 Gargoyle kern.info kernel: [ 24.600000] device wlan0 entered promiscuous mode
Jan 1 02:00:25 Gargoyle user.notice usb-modeswitch: 1-0:1.0: Manufacturer=Linux_3.3.8_ehci_hcd Product=Generic_Platform_EHCI_Controller Serial=ehci-platform
Jan 1 02:00:25 Gargoyle kern.info kernel: [ 25.240000] br-lan: port 2(wlan0) entered forwarding state
Jan 1 02:00:25 Gargoyle kern.info kernel: [ 25.250000] br-lan: port 2(wlan0) entered forwarding state
Jan 1 02:00:26 Gargoyle daemon.info hostapd: wlan0: STA 00:23:69:c7:e9:dd IEEE 802.11: authenticated
Jan 1 02:00:26 Gargoyle daemon.info hostapd: wlan0: STA 00:23:69:c7:e9:dd IEEE 802.11: associated (aid 1)
Jan 1 02:00:27 Gargoyle daemon.info hostapd: wlan0: STA 00:23:69:c7:e9:dd RADIUS: starting accounting session 00000019-00000000
Jan 1 02:00:27 Gargoyle daemon.info hostapd: wlan0: STA 00:23:69:c7:e9:dd WPA: pairwise key handshake completed (RSN)
Jan 1 02:00:27 Gargoyle kern.info kernel: [ 27.250000] br-lan: port 2(wlan0) entered forwarding state
Mar 25 08:32:56 Gargoyle authpriv.info dropbear[1229]: Running in background
Mar 25 08:32:57 Gargoyle user.notice usb-modeswitch: 1-1:1.0: Manufacturer=? Product=USB2.0_Hub Serial=?
Mar 25 08:32:57 Gargoyle daemon.warn httpd_gargoyle[1296]: started as root without requesting chroot(), warning only
Mar 25 08:32:57 Gargoyle daemon.notice httpd_gargoyle[1296]: httpd_gargoyle/1.0 14mar2008 starting on Gargoyle, port 80
Mar 25 08:32:57 Gargoyle daemon.info hostapd: wlan0: STA 00:23:69:c7:e9:dd WPA: group key handshake completed (RSN)
Mar 25 08:32:59 Gargoyle user.notice dnsmasq: DNS rebinding protection is active, will discard upstream RFC1918 responses!
Mar 25 08:32:59 Gargoyle user.notice dnsmasq: Allowing 127.0.0.0/8 responses
Mar 25 08:33:02 Gargoyle daemon.info dnsmasq[1624]: started, version 2.62 cachesize 150
Mar 25 08:33:02 Gargoyle daemon.info dnsmasq[1624]: compile time options: IPv6 GNU-getopt no-DBus no-i18n no-IDN DHCP no-DHCPv6 no-Lua TFTP no-conntrack
Mar 25 08:33:02 Gargoyle daemon.info dnsmasq-dhcp[1624]: DHCP, IP range 192.168.1.100 -- 192.168.1.249, lease time 12h
Mar 25 08:33:02 Gargoyle daemon.info dnsmasq[1624]: using local addresses only for domain lan
Mar 25 08:33:02 Gargoyle daemon.info dnsmasq[1624]: reading /etc/resolv.conf.auto
Mar 25 08:33:02 Gargoyle daemon.info dnsmasq[1624]: using nameserver 208.67.220.220#53
Mar 25 08:33:02 Gargoyle daemon.info dnsmasq[1624]: using nameserver 208.67.222.222#53
Mar 25 08:33:02 Gargoyle daemon.info dnsmasq[1624]: using nameserver 208.67.222.222#53
Mar 25 08:33:02 Gargoyle daemon.info dnsmasq[1624]: using local addresses only for domain lan
Mar 25 08:33:02 Gargoyle daemon.info dnsmasq[1624]: cleared cache
Mar 25 08:33:02 Gargoyle daemon.info dnsmasq-dhcp[1624]: read /etc/ethers - 0 addresses
Mar 25 08:33:02 Gargoyle user.err syslog: error starting threads: errno 89 (Function not implemented)
Mar 25 08:33:02 Gargoyle user.info sysinit: exportfs: could not open /var/lib/nfs/.etab.lock for locking: errno 2 (No such file or directory)
Mar 25 08:33:02 Gargoyle user.info sysinit: exportfs: can't lock /var/lib/nfs/etab for writing
Mar 25 08:33:02 Gargoyle user.info sysinit: exportfs: could not open /var/lib/nfs/.xtab.lock for locking: errno 2 (No such file or directory)
Mar 25 08:33:02 Gargoyle user.info sysinit: exportfs: can't lock /var/lib/nfs/xtab for writing
Mar 25 08:33:40 Gargoyle daemon.info hostapd: wlan0: STA 00:14:bf:3c:48:f9 IEEE 802.11: authenticated
Mar 25 08:33:40 Gargoyle daemon.info hostapd: wlan0: STA 00:14:bf:3c:48:f9 IEEE 802.11: associated (aid 2)
Mar 25 08:33:40 Gargoyle daemon.info hostapd: wlan0: STA 00:14:bf:3c:48:f9 RADIUS: starting accounting session 00000019-00000001
Mar 25 08:33:40 Gargoyle daemon.info hostapd: wlan0: STA 00:14:bf:3c:48:f9 WPA: pairwise key handshake completed (RSN)
Mar 25 08:33:40 Gargoyle user.info sysinit: ERROR: No valid dynamic DNS service configurations defined
Mar 25 08:33:40 Gargoyle user.info sysinit: (Did you specify correct configuration file path?)
Mar 25 08:33:52 Gargoyle authpriv.info dropbear[1907]: Child connection from 192.168.1.6:3586
Mar 25 08:33:57 Gargoyle authpriv.notice dropbear[1907]: Password auth succeeded for 'root' from 192.168.1.6:3586
Mar 25 08:33:58 Gargoyle user.notice ifup: Allowing Router Advertisements on wan (eth0.2)
Mar 25 08:34:00 Gargoyle authpriv.info dropbear[1907]: Exit (root): Exited normally
Mar 25 08:34:05 Gargoyle user.notice root: vsftpd init: mounted = 0
Mar 25 08:34:05 Gargoyle user.info sysinit: ERROR: No drives attached, no directories to share!
Mar 25 08:34:06 Gargoyle kern.info kernel: [ 63.440000] cfg80211: Calling CRDA to update world regulatory domain
Mar 25 08:34:06 Gargoyle user.info sysinit: command failed: Operation not supported (-122)
Mar 25 08:34:06 Gargoyle kern.info kernel: [ 63.440000] cfg80211: World regulatory domain updated:
Mar 25 08:34:06 Gargoyle kern.info kernel: [ 63.450000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
Mar 25 08:34:06 Gargoyle kern.info kernel: [ 63.460000] cfg80211: (2400000 KHz - 2483000 KHz @ 40000 KHz), (N/A, 3000 mBm)
Mar 25 08:34:06 Gargoyle kern.info kernel: [ 63.470000] cfg80211: (5140000 KHz - 5860000 KHz @ 40000 KHz), (N/A, 3000 mBm)
Mar 25 08:34:06 Gargoyle user.info sysinit: setting up led USB1
Mar 25 08:34:06 Gargoyle user.info sysinit: setting up led USB2
Mar 25 08:34:06 Gargoyle user.info sysinit: setting up led WLAN2G
Mar 25 08:34:08 Gargoyle authpriv.info dropbear[2072]: Child connection from 192.168.1.6:3587
Mar 25 08:34:14 Gargoyle authpriv.notice dropbear[2072]: Password auth succeeded for 'root' from 192.168.1.6:3587
Mar 25 08:34:36 Gargoyle authpriv.info dropbear[2072]: Exit (root): Exited normally
Mar 25 08:34:43 Gargoyle authpriv.info dropbear[2147]: Child connection from 192.168.1.6:3588
Mar 25 08:34:48 Gargoyle authpriv.notice dropbear[2147]: Password auth succeeded for 'root' from 192.168.1.6:3588
Mar 25 08:35:00 Gargoyle user.notice ifup: Enabling Router Solicitations on loopback (lo)
root@Gargoyle:~#

===============================================

AFTER I issued APPLY CHANGES in Connection Menu

================================================


root@Gargoyle:~# logread
Jan 1 02:00:17 Gargoyle kern.info kernel: [ 2.490000] Ebtables v2.0 registered
Jan 1 02:00:17 Gargoyle kern.info kernel: [ 2.490000] 8021q: 802.1Q VLAN Support v1.8
Jan 1 02:00:17 Gargoyle kern.info kernel: [ 2.500000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
Jan 1 02:00:17 Gargoyle kern.info kernel: [ 2.510000] Freeing unused kernel memory: 212k freed
Jan 1 02:00:17 Gargoyle kern.debug kernel: [ 4.510000] Registered led device: tp-link:blue:qss
Jan 1 02:00:17 Gargoyle kern.debug kernel: [ 4.510000] Registered led device: tp-link:blue:system
Jan 1 02:00:17 Gargoyle kern.debug kernel: [ 4.510000] Registered led device: tp-link:green:usb1
Jan 1 02:00:17 Gargoyle kern.debug kernel: [ 4.510000] Registered led device: tp-link:green:usb2
Jan 1 02:00:17 Gargoyle kern.debug kernel: [ 4.510000] Registered led device: tp-link:blue:wlan2g
Jan 1 02:00:17 Gargoyle kern.info kernel: [ 5.470000] eth0: link up (1000Mbps/Full duplex)
Jan 1 02:00:17 Gargoyle kern.notice kernel: [ 7.800000] JFFS2 notice: (450) jffs2_build_xattr_subsystem: complete building xattr subsystem, 1 of xdatum (1 unchecked, 0 orphan) and 194 of xref (0 dead, 175 orphan) found.
Jan 1 02:00:17 Gargoyle kern.info kernel: [ 7.980000] eth0: link down
Jan 1 02:00:17 Gargoyle kern.info kernel: [ 9.040000] Compat-drivers backport release: compat-drivers-2012-09-04-2-gddac993
Jan 1 02:00:17 Gargoyle kern.info kernel: [ 9.050000] Backport based on wireless-testing.git master-2012-09-07
Jan 1 02:00:17 Gargoyle kern.info kernel: [ 9.060000] compat.git: wireless-testing.git
Jan 1 02:00:17 Gargoyle kern.info kernel: [ 9.180000] cfg80211: Calling CRDA to update world regulatory domain
Jan 1 02:00:17 Gargoyle kern.info kernel: [ 9.180000] cfg80211: World regulatory domain updated:
Jan 1 02:00:17 Gargoyle kern.info kernel: [ 9.190000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
Jan 1 02:00:17 Gargoyle kern.info kernel: [ 9.200000] cfg80211: (2400000 KHz - 2483000 KHz @ 40000 KHz), (N/A, 3000 mBm)
Jan 1 02:00:17 Gargoyle kern.info kernel: [ 9.200000] cfg80211: (5140000 KHz - 5860000 KHz @ 40000 KHz), (N/A, 3000 mBm)
Jan 1 02:00:17 Gargoyle kern.notice kernel: [ 9.650000] SCSI subsystem initialized
Jan 1 02:00:17 Gargoyle kern.info kernel: [ 9.860000] usbcore: registered new interface driver usbfs
Jan 1 02:00:17 Gargoyle kern.info kernel: [ 9.870000] usbcore: registered new interface driver hub
Jan 1 02:00:17 Gargoyle kern.info kernel: [ 9.870000] usbcore: registered new device driver usb
Jan 1 02:00:17 Gargoyle kern.debug kernel: [ 10.570000] ath: EEPROM regdomain: 0x0
Jan 1 02:00:17 Gargoyle kern.debug kernel: [ 10.570000] ath: EEPROM indicates default country code should be used
Jan 1 02:00:17 Gargoyle kern.debug kernel: [ 10.570000] ath: doing EEPROM country->regdmn map search
Jan 1 02:00:17 Gargoyle kern.debug kernel: [ 10.570000] ath: country maps to regdmn code: 0x3a
Jan 1 02:00:17 Gargoyle kern.debug kernel: [ 10.570000] ath: Country alpha2 being used: US
Jan 1 02:00:17 Gargoyle kern.debug kernel: [ 10.570000] ath: Regpair used: 0x3a
Jan 1 02:00:19 Gargoyle kern.info kernel: [ 19.300000] eth0: link up (1000Mbps/Full duplex)
Jan 1 02:00:20 Gargoyle kern.info kernel: [ 20.270000] eth0: link down
Jan 1 02:00:20 Gargoyle kern.info kernel: [ 20.280000] device eth0.1 entered promiscuous mode
Jan 1 02:00:20 Gargoyle kern.info kernel: [ 20.280000] device eth0 entered promiscuous mode
Jan 1 02:00:20 Gargoyle daemon.notice netifd: Interface 'lan' is now up
Jan 1 02:00:20 Gargoyle daemon.notice netifd: Interface 'loopback' is now up
Jan 1 02:00:20 Gargoyle kern.info kernel: [ 20.310000] eth0: link up (1000Mbps/Full duplex)
Jan 1 02:00:20 Gargoyle kern.info kernel: [ 20.360000] br-lan: port 1(eth0.1) entered forwarding state
Jan 1 02:00:20 Gargoyle kern.info kernel: [ 20.360000] br-lan: port 1(eth0.1) entered forwarding state
Jan 1 02:00:20 Gargoyle daemon.notice netifd: wan (793): udhcpc (v1.19.4) started
Jan 1 02:00:21 Gargoyle daemon.notice netifd: wan (793): Sending discover...
Jan 1 02:00:21 Gargoyle daemon.notice netifd: wan (793): Sending select for 78.87.23.148...
Jan 1 02:00:21 Gargoyle daemon.notice netifd: wan (793): Lease of 78.87.23.148 obtained, lease time 602054
Jan 1 02:00:21 Gargoyle daemon.notice netifd: Interface 'wan' is now up
Jan 1 02:00:22 Gargoyle user.notice ifup: Enabling Router Solicitations on lan (br-lan)
Jan 1 02:00:22 Gargoyle kern.info kernel: [ 22.360000] br-lan: port 1(eth0.1) entered forwarding state
Jan 1 02:00:24 Gargoyle kern.info kernel: [ 24.600000] device wlan0 entered promiscuous mode
Jan 1 02:00:25 Gargoyle user.notice usb-modeswitch: 1-0:1.0: Manufacturer=Linux_3.3.8_ehci_hcd Product=Generic_Platform_EHCI_Controller Serial=ehci-platform
Jan 1 02:00:25 Gargoyle kern.info kernel: [ 25.240000] br-lan: port 2(wlan0) entered forwarding state
Jan 1 02:00:25 Gargoyle kern.info kernel: [ 25.250000] br-lan: port 2(wlan0) entered forwarding state
Jan 1 02:00:26 Gargoyle daemon.info hostapd: wlan0: STA 00:23:69:c7:e9:dd IEEE 802.11: authenticated
Jan 1 02:00:26 Gargoyle daemon.info hostapd: wlan0: STA 00:23:69:c7:e9:dd IEEE 802.11: associated (aid 1)
Jan 1 02:00:27 Gargoyle daemon.info hostapd: wlan0: STA 00:23:69:c7:e9:dd RADIUS: starting accounting session 00000019-00000000
Jan 1 02:00:27 Gargoyle daemon.info hostapd: wlan0: STA 00:23:69:c7:e9:dd WPA: pairwise key handshake completed (RSN)
Jan 1 02:00:27 Gargoyle kern.info kernel: [ 27.250000] br-lan: port 2(wlan0) entered forwarding state
Mar 25 08:32:56 Gargoyle authpriv.info dropbear[1229]: Running in background
Mar 25 08:32:57 Gargoyle user.notice usb-modeswitch: 1-1:1.0: Manufacturer=? Product=USB2.0_Hub Serial=?
Mar 25 08:32:57 Gargoyle daemon.warn httpd_gargoyle[1296]: started as root without requesting chroot(), warning only
Mar 25 08:32:57 Gargoyle daemon.notice httpd_gargoyle[1296]: httpd_gargoyle/1.0 14mar2008 starting on Gargoyle, port 80
Mar 25 08:32:57 Gargoyle daemon.info hostapd: wlan0: STA 00:23:69:c7:e9:dd WPA: group key handshake completed (RSN)
Mar 25 08:32:59 Gargoyle user.notice dnsmasq: DNS rebinding protection is active, will discard upstream RFC1918 responses!
Mar 25 08:32:59 Gargoyle user.notice dnsmasq: Allowing 127.0.0.0/8 responses
Mar 25 08:33:02 Gargoyle daemon.info dnsmasq[1624]: started, version 2.62 cachesize 150
Mar 25 08:33:02 Gargoyle daemon.info dnsmasq[1624]: compile time options: IPv6 GNU-getopt no-DBus no-i18n no-IDN DHCP no-DHCPv6 no-Lua TFTP no-conntrack
Mar 25 08:33:02 Gargoyle daemon.info dnsmasq-dhcp[1624]: DHCP, IP range 192.168.1.100 -- 192.168.1.249, lease time 12h
Mar 25 08:33:02 Gargoyle daemon.info dnsmasq[1624]: using local addresses only for domain lan
Mar 25 08:33:02 Gargoyle daemon.info dnsmasq[1624]: reading /etc/resolv.conf.auto
Mar 25 08:33:02 Gargoyle daemon.info dnsmasq[1624]: using nameserver 208.67.220.220#53
Mar 25 08:33:02 Gargoyle daemon.info dnsmasq[1624]: using nameserver 208.67.222.222#53
Mar 25 08:33:02 Gargoyle daemon.info dnsmasq[1624]: using nameserver 208.67.222.222#53
Mar 25 08:33:02 Gargoyle daemon.info dnsmasq[1624]: using local addresses only for domain lan
Mar 25 08:33:02 Gargoyle daemon.info dnsmasq[1624]: cleared cache
Mar 25 08:33:02 Gargoyle daemon.info dnsmasq-dhcp[1624]: read /etc/ethers - 0 addresses
Mar 25 08:33:02 Gargoyle user.err syslog: error starting threads: errno 89 (Function not implemented)
Mar 25 08:33:02 Gargoyle user.info sysinit: exportfs: could not open /var/lib/nfs/.etab.lock for locking: errno 2 (No such file or directory)
Mar 25 08:33:02 Gargoyle user.info sysinit: exportfs: can't lock /var/lib/nfs/etab for writing
Mar 25 08:33:02 Gargoyle user.info sysinit: exportfs: could not open /var/lib/nfs/.xtab.lock for locking: errno 2 (No such file or directory)
Mar 25 08:33:02 Gargoyle user.info sysinit: exportfs: can't lock /var/lib/nfs/xtab for writing
Mar 25 08:33:40 Gargoyle daemon.info hostapd: wlan0: STA 00:14:bf:3c:48:f9 IEEE 802.11: authenticated
Mar 25 08:33:40 Gargoyle daemon.info hostapd: wlan0: STA 00:14:bf:3c:48:f9 IEEE 802.11: associated (aid 2)
Mar 25 08:33:40 Gargoyle daemon.info hostapd: wlan0: STA 00:14:bf:3c:48:f9 RADIUS: starting accounting session 00000019-00000001
Mar 25 08:33:40 Gargoyle daemon.info hostapd: wlan0: STA 00:14:bf:3c:48:f9 WPA: pairwise key handshake completed (RSN)
Mar 25 08:33:40 Gargoyle user.info sysinit: ERROR: No valid dynamic DNS service configurations defined
Mar 25 08:33:40 Gargoyle user.info sysinit: (Did you specify correct configuration file path?)
Mar 25 08:33:52 Gargoyle authpriv.info dropbear[1907]: Child connection from 192.168.1.6:3586
Mar 25 08:33:57 Gargoyle authpriv.notice dropbear[1907]: Password auth succeeded for 'root' from 192.168.1.6:3586
Mar 25 08:33:58 Gargoyle user.notice ifup: Allowing Router Advertisements on wan (eth0.2)
Mar 25 08:34:00 Gargoyle authpriv.info dropbear[1907]: Exit (root): Exited normally
Mar 25 08:34:05 Gargoyle user.notice root: vsftpd init: mounted = 0
Mar 25 08:34:05 Gargoyle user.info sysinit: ERROR: No drives attached, no directories to share!
Mar 25 08:34:06 Gargoyle kern.info kernel: [ 63.440000] cfg80211: Calling CRDA to update world regulatory domain
Mar 25 08:34:06 Gargoyle user.info sysinit: command failed: Operation not supported (-122)
Mar 25 08:34:06 Gargoyle kern.info kernel: [ 63.440000] cfg80211: World regulatory domain updated:
Mar 25 08:34:06 Gargoyle kern.info kernel: [ 63.450000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
Mar 25 08:34:06 Gargoyle kern.info kernel: [ 63.460000] cfg80211: (2400000 KHz - 2483000 KHz @ 40000 KHz), (N/A, 3000 mBm)
Mar 25 08:34:06 Gargoyle kern.info kernel: [ 63.470000] cfg80211: (5140000 KHz - 5860000 KHz @ 40000 KHz), (N/A, 3000 mBm)
Mar 25 08:34:06 Gargoyle user.info sysinit: setting up led USB1
Mar 25 08:34:06 Gargoyle user.info sysinit: setting up led USB2
Mar 25 08:34:06 Gargoyle user.info sysinit: setting up led WLAN2G
Mar 25 08:34:08 Gargoyle authpriv.info dropbear[2072]: Child connection from 192.168.1.6:3587
Mar 25 08:34:14 Gargoyle authpriv.notice dropbear[2072]: Password auth succeeded for 'root' from 192.168.1.6:3587
Mar 25 08:34:36 Gargoyle authpriv.info dropbear[2072]: Exit (root): Exited normally
Mar 25 08:34:43 Gargoyle authpriv.info dropbear[2147]: Child connection from 192.168.1.6:3588
Mar 25 08:34:48 Gargoyle authpriv.notice dropbear[2147]: Password auth succeeded for 'root' from 192.168.1.6:3588
Mar 25 08:35:00 Gargoyle user.notice ifup: Enabling Router Solicitations on loopback (lo)
Mar 25 08:35:59 Gargoyle authpriv.info dropbear[2147]: Exit (root): Exited normally
Mar 25 08:36:07 Gargoyle daemon.info dnsmasq[1624]: exiting on receipt of SIGTERM
Mar 25 08:36:08 Gargoyle kern.info kernel: [ 185.200000] device wlan0 left promiscuous mode
Mar 25 08:36:08 Gargoyle kern.info kernel: [ 185.210000] br-lan: port 2(wlan0) entered disabled state
Mar 25 08:36:10 Gargoyle kern.info kernel: [ 187.290000] br-lan: port 1(eth0.1) entered disabled state
Mar 25 08:36:10 Gargoyle kern.info kernel: [ 187.290000] device eth0.1 left promiscuous mode
Mar 25 08:36:10 Gargoyle kern.info kernel: [ 187.300000] device eth0 left promiscuous mode
Mar 25 08:36:10 Gargoyle kern.info kernel: [ 187.300000] br-lan: port 1(eth0.1) entered disabled state
Mar 25 08:36:10 Gargoyle kern.info kernel: [ 187.310000] eth0: link down
Mar 25 08:36:10 Gargoyle kern.info kernel: [ 187.320000] device eth0.1 entered promiscuous mode
Mar 25 08:36:10 Gargoyle kern.info kernel: [ 187.330000] device eth0 entered promiscuous mode
Mar 25 08:36:10 Gargoyle daemon.notice netifd: Interface 'lan' is now up
Mar 25 08:36:10 Gargoyle daemon.notice netifd: Interface 'loopback' is now up
Mar 25 08:36:10 Gargoyle daemon.notice netifd: wan (2686): udhcpc (v1.19.4) started
Mar 25 08:36:10 Gargoyle daemon.notice netifd: wan (2686): Sending discover...
Mar 25 08:36:11 Gargoyle kern.info kernel: [ 188.220000] eth0: link up (1000Mbps/Full duplex)
Mar 25 08:36:11 Gargoyle kern.info kernel: [ 188.230000] br-lan: port 1(eth0.1) entered forwarding state
Mar 25 08:36:11 Gargoyle kern.info kernel: [ 188.240000] br-lan: port 1(eth0.1) entered forwarding state
Mar 25 08:36:11 Gargoyle user.notice ifup: Enabling Router Solicitations on lan (br-lan)
Mar 25 08:36:12 Gargoyle kern.info kernel: [ 189.960000] device wlan0 entered promiscuous mode
Mar 25 08:36:13 Gargoyle kern.info kernel: [ 190.240000] br-lan: port 1(eth0.1) entered forwarding state
Mar 25 08:36:13 Gargoyle kern.info kernel: [ 190.280000] br-lan: port 2(wlan0) entered forwarding state
Mar 25 08:36:13 Gargoyle kern.info kernel: [ 190.280000] br-lan: port 2(wlan0) entered forwarding state
Mar 25 08:36:13 Gargoyle daemon.notice netifd: wan (2686): Sending discover...
Mar 25 08:36:13 Gargoyle daemon.notice netifd: wan (2686): Sending select for 78.87.23.148...
Mar 25 08:36:13 Gargoyle daemon.notice netifd: wan (2686): Lease of 78.87.23.148 obtained, lease time 601885
Mar 25 08:36:13 Gargoyle daemon.notice netifd: Interface 'wan' is now up
Mar 25 08:36:14 Gargoyle daemon.info hostapd: wlan0: STA 00:23:69:c7:e9:dd IEEE 802.11: authenticated
Mar 25 08:36:14 Gargoyle daemon.info hostapd: wlan0: STA 00:23:69:c7:e9:dd IEEE 802.11: associated (aid 1)
Mar 25 08:36:14 Gargoyle daemon.info hostapd: wlan0: STA 00:23:69:c7:e9:dd RADIUS: starting accounting session 514FF05D-00000000
Mar 25 08:36:14 Gargoyle daemon.info hostapd: wlan0: STA 00:23:69:c7:e9:dd WPA: pairwise key handshake completed (RSN)
Mar 25 08:36:15 Gargoyle kern.info kernel: [ 192.280000] br-lan: port 2(wlan0) entered forwarding state
Mar 25 08:36:19 Gargoyle user.info firewall: adding lan (br-lan) to zone lan
Mar 25 08:36:20 Gargoyle user.info firewall: adding wan (eth0.2) to zone wan
Mar 25 08:36:21 Gargoyle user.notice dnsmasq: DNS rebinding protection is active, will discard upstream RFC1918 responses!
Mar 25 08:36:21 Gargoyle user.notice dnsmasq: Allowing 127.0.0.0/8 responses
Mar 25 08:36:25 Gargoyle daemon.info dnsmasq[3429]: started, version 2.62 cachesize 150
Mar 25 08:36:25 Gargoyle daemon.info dnsmasq[3429]: compile time options: IPv6 GNU-getopt no-DBus no-i18n no-IDN DHCP no-DHCPv6 no-Lua TFTP no-conntrack
Mar 25 08:36:25 Gargoyle daemon.info dnsmasq-dhcp[3429]: DHCP, IP range 192.168.1.100 -- 192.168.1.249, lease time 12h
Mar 25 08:36:25 Gargoyle daemon.info dnsmasq[3429]: using local addresses only for domain lan
Mar 25 08:36:25 Gargoyle daemon.info dnsmasq[3429]: reading /etc/resolv.conf.auto
Mar 25 08:36:25 Gargoyle daemon.info dnsmasq[3429]: using nameserver 208.67.220.220#53
Mar 25 08:36:25 Gargoyle daemon.info dnsmasq[3429]: using nameserver 208.67.222.222#53
Mar 25 08:36:25 Gargoyle daemon.info dnsmasq[3429]: using nameserver 208.67.222.222#53
Mar 25 08:36:25 Gargoyle daemon.info dnsmasq[3429]: using local addresses only for domain lan
Mar 25 08:36:25 Gargoyle daemon.info dnsmasq[3429]: cleared cache
Mar 25 08:36:25 Gargoyle daemon.info dnsmasq-dhcp[3429]: read /etc/ethers - 0 addresses
Mar 25 08:36:25 Gargoyle daemon.info hostapd: wlan0: STA 00:14:bf:3c:48:f9 IEEE 802.11: authenticated
Mar 25 08:36:25 Gargoyle daemon.info hostapd: wlan0: STA 00:14:bf:3c:48:f9 IEEE 802.11: associated (aid 2)
Mar 25 08:36:26 Gargoyle daemon.info hostapd: wlan0: STA 00:14:bf:3c:48:f9 RADIUS: starting accounting session 514FF05D-00000001
Mar 25 08:36:26 Gargoyle daemon.info hostapd: wlan0: STA 00:14:bf:3c:48:f9 WPA: pairwise key handshake completed (RSN)
Mar 25 08:36:41 Gargoyle authpriv.info dropbear[3511]: Child connection from 192.168.1.6:3596
Mar 25 08:36:44 Gargoyle user.notice ifup: Allowing Router Advertisements on wan (eth0.2)
Mar 25 08:36:44 Gargoyle user.info firewall: removing wan (eth0.2) from zone wan
Mar 25 08:36:45 Gargoyle user.info firewall: adding wan (eth0.2) to zone wan
Mar 25 08:36:48 Gargoyle authpriv.notice dropbear[3511]: Password auth succeeded for 'root' from 192.168.1.6:3596
Mar 25 08:37:08 Gargoyle user.notice ifup: Enabling Router Solicitations on loopback (lo)
root@Gargoyle:~#


(Notice the last lines on which I used bold characters which differ from the first output - this is after APLY CHANGES comand was issued from the webinterface "connection" menu)

if somebody is willing to help and give me a hint what to do, I could post also the dmesg output before and after ;
Many thanks !

(Last edited by paradoxman on 26 Mar 2013, 05:55)

I'm posting also the dmesg dump before and after I hit the APPLY CHANGES button


BEFORE :


root@Gargoyle:~# dmesg
[    0.000000] Linux version 3.3.8 (eric@Osiris) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #3 Thu Jan 3 08:55:36 EST 2013
[    0.000000] MyLoader: sysp=4b1bf7b5, boardp=9002c600, parts=6bde8914
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU revision is: 0001974c (MIPS 74Kc)
[    0.000000] SoC: Atheros AR9344 rev 2
[    0.000000] Clocks: CPU:560.000MHz, DDR:450.000MHz, AHB:225.000MHz, Ref:40.000MHz
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 08000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone PFN ranges:
[    0.000000]   Normal   0x00000000 -> 0x00008000
[    0.000000] Movable zone start PFN for each node
[    0.000000] Early memory PFN ranges
[    0.000000]     0: 0x00000000 -> 0x00008000
[    0.000000] On node 0 totalpages: 32768
[    0.000000] free_area_init_node: node 0, pgdat 802daf90, node_mem_map 81000000
[    0.000000]   Normal zone: 256 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 32512 pages, LIFO batch:7
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
[    0.000000] Kernel command line:  board=TL-WDR4300 console=ttyS0,115200 rootfstype=squashfs,jffs2 noinitrd
[    0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
[    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[    0.000000] Writing ErrCtl register=00000000
[    0.000000] Readback ErrCtl register=00000000
[    0.000000] Memory: 126556k/131072k available (2134k kernel code, 4516k reserved, 406k data, 212k init, 0k highmem)
[    0.000000] SLUB: Genslabs=9, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:51
[    0.000000] Calibrating delay loop... 278.93 BogoMIPS (lpj=1394688)
[    0.070000] pid_max: default: 32768 minimum: 301
[    0.070000] Mount-cache hash table entries: 512
[    0.080000] NET: Registered protocol family 16
[    0.080000] gpiochip_add: registered GPIOs 0 to 22 on device: ath79
[    0.090000] MIPS: machine is TP-LINK TL-WDR3600/4300/4310
[    0.090000] registering PCI controller with io_map_base unset
[    0.310000] bio: create slab <bio-0> at 0
[    0.310000] PCI host bridge to bus 0000:00
[    0.320000] pci_bus 0000:00: root bus resource [mem 0x10000000-0x13ffffff]
[    0.320000] pci_bus 0000:00: root bus resource [io  0x0000]
[    0.330000] pci 0000:00:00.0: [168c:0033] type 0 class 0x000280
[    0.330000] pci 0000:00:00.0: invalid calibration data
[    0.330000] pci 0000:00:00.0: reg 10: [mem 0x00000000-0x0001ffff 64bit]
[    0.330000] pci 0000:00:00.0: reg 30: [mem 0x00000000-0x0000ffff pref]
[    0.330000] pci 0000:00:00.0: supports D1
[    0.330000] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[    0.330000] pci 0000:00:00.0: BAR 0: assigned [mem 0x10000000-0x1001ffff 64bit]
[    0.340000] pci 0000:00:00.0: BAR 6: assigned [mem 0x10020000-0x1002ffff pref]
[    0.340000] pci 0000:00:00.0: using irq 40 for pin 1
[    0.350000] Switching to clocksource MIPS
[    0.350000] NET: Registered protocol family 2
[    0.360000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.360000] TCP established hash table entries: 4096 (order: 3, 32768 bytes)
[    0.370000] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
[    0.370000] TCP: Hash tables configured (established 4096 bind 4096)
[    0.380000] TCP reno registered
[    0.380000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.390000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.390000] NET: Registered protocol family 1
[    0.400000] PCI: CLS 0 bytes, default 32
[    0.410000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.420000] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.430000] msgmni has been set to 247
[    0.430000] io scheduler noop registered
[    0.440000] io scheduler deadline registered (default)
[    0.440000] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[    0.470000] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11) is a 16550A
[    0.470000] console [ttyS0] enabled, bootconsole disabled
[    0.490000] m25p80 spi0.0: found s25fl064k, expected m25p80
[    0.490000] m25p80 spi0.0: s25fl064k (8192 Kbytes)
[    0.500000] 5 tp-link partitions found on MTD device spi0.0
[    0.500000] Creating 5 MTD partitions on "spi0.0":
[    0.510000] 0x000000000000-0x000000020000 : "u-boot"
[    0.520000] 0x000000020000-0x000000103318 : "kernel"
[    0.520000] mtd: partition "kernel" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[    0.540000] 0x000000103318-0x0000007f0000 : "rootfs"
[    0.540000] mtd: partition "rootfs" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[    0.550000] mtd: partition "rootfs" set to be root filesystem
[    0.560000] mtd: partition "rootfs_data" created automatically, ofs=6A0000, len=150000
[    0.570000] 0x0000006a0000-0x0000007f0000 : "rootfs_data"
[    0.580000] 0x0000007f0000-0x000000800000 : "art"
[    0.580000] 0x000000020000-0x0000007f0000 : "firmware"
[    0.720000] ag71xx_mdio: probed
[    0.720000] eth0: Atheros AG71xx at 0xb9000000, irq 4
[    1.300000] eth0: Atheros AR8327 switch driver attached.
[    2.460000] ag71xx ag71xx.0: eth0: connected to PHY at ag71xx-mdio.0:00 [uid=004dd033, driver=Atheros AR8216/AR8236/AR8316]
[    2.480000] TCP cubic registered
[    2.480000] NET: Registered protocol family 17
[    2.480000] Bridge firewalling registered
[    2.490000] Ebtables v2.0 registered
[    2.490000] 8021q: 802.1Q VLAN Support v1.8
[    2.500000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[    2.510000] Freeing unused kernel memory: 212k freed
[    4.510000] Registered led device: tp-link:blue:qss
[    4.510000] Registered led device: tp-link:blue:system
[    4.510000] Registered led device: tp-link:green:usb1
[    4.510000] Registered led device: tp-link:green:usb2
[    4.510000] Registered led device: tp-link:blue:wlan2g
[    5.470000] eth0: link up (1000Mbps/Full duplex)
[    7.800000] JFFS2 notice: (450) jffs2_build_xattr_subsystem: complete building xattr subsystem, 1 of xdatum (1 unchecked, 0 orphan) and 194 of xref (0 dead, 175 orphan) found.
[    7.980000] eth0: link down
[    9.040000] Compat-drivers backport release: compat-drivers-2012-09-04-2-gddac993
[    9.050000] Backport based on wireless-testing.git master-2012-09-07
[    9.060000] compat.git: wireless-testing.git
[    9.180000] cfg80211: Calling CRDA to update world regulatory domain
[    9.180000] cfg80211: World regulatory domain updated:
[    9.190000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[    9.200000] cfg80211:   (2400000 KHz - 2483000 KHz @ 40000 KHz), (N/A, 3000 mBm)
[    9.200000] cfg80211:   (5140000 KHz - 5860000 KHz @ 40000 KHz), (N/A, 3000 mBm)
[    9.650000] SCSI subsystem initialized
[    9.860000] usbcore: registered new interface driver usbfs
[    9.870000] usbcore: registered new interface driver hub
[    9.870000] usbcore: registered new device driver usb
[   10.570000] ath: EEPROM regdomain: 0x0
[   10.570000] ath: EEPROM indicates default country code should be used
[   10.570000] ath: doing EEPROM country->regdmn map search
[   10.570000] ath: country maps to regdmn code: 0x3a
[   10.570000] ath: Country alpha2 being used: US
[   10.570000] ath: Regpair used: 0x3a
[   10.570000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   10.570000] Registered led device: ath9k-phy0
[   10.570000] ieee80211 phy0: Atheros AR9340 Rev:0 mem=0xb8100000, irq=47
[   10.580000] PCI: Enabling device 0000:00:00.0 (0000 -> 0002)
[   10.590000] ath: EEPROM regdomain: 0x0
[   10.590000] ath: EEPROM indicates default country code should be used
[   10.590000] ath: doing EEPROM country->regdmn map search
[   10.590000] ath: country maps to regdmn code: 0x3a
[   10.590000] ath: Country alpha2 being used: US
[   10.590000] ath: Regpair used: 0x3a
[   10.590000] ieee80211 phy1: Selected rate control algorithm 'minstrel_ht'
[   10.590000] Registered led device: ath9k-phy1
[   10.590000] ieee80211 phy1: Atheros AR9300 Rev:4 mem=0xb0000000, irq=40
[   10.720000] cfg80211: Calling CRDA for country: US
[   10.730000] cfg80211: Regulatory domain changed to country: US
[   10.730000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   10.740000] cfg80211:   (2400000 KHz - 2483000 KHz @ 40000 KHz), (N/A, 3000 mBm)
[   10.750000] cfg80211:   (5140000 KHz - 5860000 KHz @ 40000 KHz), (N/A, 3000 mBm)
[   11.150000] RPC: Registered named UNIX socket transport module.
[   11.160000] RPC: Registered udp transport module.
[   11.160000] RPC: Registered tcp transport module.
[   11.170000] RPC: Registered tcp NFSv4.1 backchannel transport module.
[   11.500000] PPP generic driver version 2.4.2
[   11.580000] tun: Universal TUN/TAP device driver, 1.6
[   11.580000] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[   11.680000] GRE over IPv4 demultiplexor driver
[   11.770000] GRE over IPv4 tunneling driver
[   12.050000] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[   12.130000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   12.450000] NET: Registered protocol family 24
[   12.650000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   12.650000] ehci-platform ehci-platform: Generic Platform EHCI Controller
[   12.660000] ehci-platform ehci-platform: new USB bus registered, assigned bus number 1
[   12.700000] ehci-platform ehci-platform: irq 3, io mem 0x1b000000
[   12.720000] ehci-platform ehci-platform: USB 2.0 started, EHCI 1.00
[   12.720000] hub 1-0:1.0: USB hub found
[   12.730000] hub 1-0:1.0: 1 port detected
[   12.820000] nf_conntrack version 0.5.0 (1980 buckets, 7920 max)
[   13.290000] usb 1-1: new high-speed USB device number 2 using ehci-platform
[   13.300000] PPTP driver version 0.8.5
[   13.550000] hub 1-1:1.0: USB hub found
[   13.550000] hub 1-1:1.0: 4 ports detected
[   13.870000] xt_time: kernel timezone is -0000
[   14.480000]  Hooked IMQ after mangle on PREROUTING
[   14.490000]  Hooked IMQ after nat on POSTROUTING
[   14.490000] IMQ driver loaded successfully. (numdevs = 2, numqueues = 1)
[   14.620000] Netfilter messages via NETLINK v0.30.
[   14.800000] ip_set: protocol 6
[   15.210000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[   15.440000] usbcore: registered new interface driver cdc_acm
[   15.440000] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[   15.540000] usbcore: registered new interface driver usblp
[   15.570000] usbcore: registered new interface driver usbserial
[   15.570000] USB Serial support registered for generic
[   15.580000] usbcore: registered new interface driver usbserial_generic
[   15.580000] usbserial: USB Serial Driver core
[   15.660000] Initializing USB Mass Storage driver...
[   15.660000] usbcore: registered new interface driver usb-storage
[   15.670000] USB Mass Storage support registered.
[   15.690000] usbcore: registered new interface driver ums-alauda
[   15.710000] usbcore: registered new interface driver ums-cypress
[   15.730000] usbcore: registered new interface driver ums-datafab
[   15.750000] usbcore: registered new interface driver ums-freecom
[   15.770000] usbcore: registered new interface driver ums-isd200
[   15.790000] usbcore: registered new interface driver ums-jumpshot
[   15.810000] usbcore: registered new interface driver ums-karma
[   15.830000] usbcore: registered new interface driver ums-sddr09
[   15.850000] usbcore: registered new interface driver ums-sddr55
[   15.870000] usbcore: registered new interface driver ums-usbat
[   15.970000] fuse init (API version 7.18)
[   19.300000] eth0: link up (1000Mbps/Full duplex)
[   20.270000] eth0: link down
[   20.280000] device eth0.1 entered promiscuous mode
[   20.280000] device eth0 entered promiscuous mode
[   20.310000] eth0: link up (1000Mbps/Full duplex)
[   20.360000] br-lan: port 1(eth0.1) entered forwarding state
[   20.360000] br-lan: port 1(eth0.1) entered forwarding state
[   22.360000] br-lan: port 1(eth0.1) entered forwarding state
[   24.600000] device wlan0 entered promiscuous mode
[   25.240000] br-lan: port 2(wlan0) entered forwarding state
[   25.250000] br-lan: port 2(wlan0) entered forwarding state
[   27.250000] br-lan: port 2(wlan0) entered forwarding state
[   63.440000] cfg80211: Calling CRDA to update world regulatory domain
[   63.440000] cfg80211: World regulatory domain updated:
[   63.450000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   63.460000] cfg80211:   (2400000 KHz - 2483000 KHz @ 40000 KHz), (N/A, 3000 mBm)
[   63.470000] cfg80211:   (5140000 KHz - 5860000 KHz @ 40000 KHz), (N/A, 3000 mBm)
root@Gargoyle:~#


AFTER:



root@Gargoyle:~# dmesg
[    0.000000] Linux version 3.3.8 (eric@Osiris) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #3 Thu Jan 3 08:55:36 EST 2013
[    0.000000] MyLoader: sysp=4b1bf7b5, boardp=9002c600, parts=6bde8914
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU revision is: 0001974c (MIPS 74Kc)
[    0.000000] SoC: Atheros AR9344 rev 2
[    0.000000] Clocks: CPU:560.000MHz, DDR:450.000MHz, AHB:225.000MHz, Ref:40.000MHz
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 08000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone PFN ranges:
[    0.000000]   Normal   0x00000000 -> 0x00008000
[    0.000000] Movable zone start PFN for each node
[    0.000000] Early memory PFN ranges
[    0.000000]     0: 0x00000000 -> 0x00008000
[    0.000000] On node 0 totalpages: 32768
[    0.000000] free_area_init_node: node 0, pgdat 802daf90, node_mem_map 81000000
[    0.000000]   Normal zone: 256 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 32512 pages, LIFO batch:7
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
[    0.000000] Kernel command line:  board=TL-WDR4300 console=ttyS0,115200 rootfstype=squashfs,jffs2 noinitrd
[    0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
[    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[    0.000000] Writing ErrCtl register=00000000
[    0.000000] Readback ErrCtl register=00000000
[    0.000000] Memory: 126556k/131072k available (2134k kernel code, 4516k reserved, 406k data, 212k init, 0k highmem)
[    0.000000] SLUB: Genslabs=9, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:51
[    0.000000] Calibrating delay loop... 278.93 BogoMIPS (lpj=1394688)
[    0.070000] pid_max: default: 32768 minimum: 301
[    0.070000] Mount-cache hash table entries: 512
[    0.080000] NET: Registered protocol family 16
[    0.080000] gpiochip_add: registered GPIOs 0 to 22 on device: ath79
[    0.090000] MIPS: machine is TP-LINK TL-WDR3600/4300/4310
[    0.090000] registering PCI controller with io_map_base unset
[    0.310000] bio: create slab <bio-0> at 0
[    0.310000] PCI host bridge to bus 0000:00
[    0.320000] pci_bus 0000:00: root bus resource [mem 0x10000000-0x13ffffff]
[    0.320000] pci_bus 0000:00: root bus resource [io  0x0000]
[    0.330000] pci 0000:00:00.0: [168c:0033] type 0 class 0x000280
[    0.330000] pci 0000:00:00.0: invalid calibration data
[    0.330000] pci 0000:00:00.0: reg 10: [mem 0x00000000-0x0001ffff 64bit]
[    0.330000] pci 0000:00:00.0: reg 30: [mem 0x00000000-0x0000ffff pref]
[    0.330000] pci 0000:00:00.0: supports D1
[    0.330000] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[    0.330000] pci 0000:00:00.0: BAR 0: assigned [mem 0x10000000-0x1001ffff 64bit]
[    0.340000] pci 0000:00:00.0: BAR 6: assigned [mem 0x10020000-0x1002ffff pref]
[    0.340000] pci 0000:00:00.0: using irq 40 for pin 1
[    0.350000] Switching to clocksource MIPS
[    0.350000] NET: Registered protocol family 2
[    0.360000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.360000] TCP established hash table entries: 4096 (order: 3, 32768 bytes)
[    0.370000] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
[    0.370000] TCP: Hash tables configured (established 4096 bind 4096)
[    0.380000] TCP reno registered
[    0.380000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.390000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.390000] NET: Registered protocol family 1
[    0.400000] PCI: CLS 0 bytes, default 32
[    0.410000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.420000] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.430000] msgmni has been set to 247
[    0.430000] io scheduler noop registered
[    0.440000] io scheduler deadline registered (default)
[    0.440000] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[    0.470000] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11) is a 16550A
[    0.470000] console [ttyS0] enabled, bootconsole disabled
[    0.490000] m25p80 spi0.0: found s25fl064k, expected m25p80
[    0.490000] m25p80 spi0.0: s25fl064k (8192 Kbytes)
[    0.500000] 5 tp-link partitions found on MTD device spi0.0
[    0.500000] Creating 5 MTD partitions on "spi0.0":
[    0.510000] 0x000000000000-0x000000020000 : "u-boot"
[    0.520000] 0x000000020000-0x000000103318 : "kernel"
[    0.520000] mtd: partition "kernel" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[    0.540000] 0x000000103318-0x0000007f0000 : "rootfs"
[    0.540000] mtd: partition "rootfs" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[    0.550000] mtd: partition "rootfs" set to be root filesystem
[    0.560000] mtd: partition "rootfs_data" created automatically, ofs=6A0000, len=150000
[    0.570000] 0x0000006a0000-0x0000007f0000 : "rootfs_data"
[    0.580000] 0x0000007f0000-0x000000800000 : "art"
[    0.580000] 0x000000020000-0x0000007f0000 : "firmware"
[    0.720000] ag71xx_mdio: probed
[    0.720000] eth0: Atheros AG71xx at 0xb9000000, irq 4
[    1.300000] eth0: Atheros AR8327 switch driver attached.
[    2.460000] ag71xx ag71xx.0: eth0: connected to PHY at ag71xx-mdio.0:00 [uid=004dd033, driver=Atheros AR8216/AR8236/AR8316]
[    2.480000] TCP cubic registered
[    2.480000] NET: Registered protocol family 17
[    2.480000] Bridge firewalling registered
[    2.490000] Ebtables v2.0 registered
[    2.490000] 8021q: 802.1Q VLAN Support v1.8
[    2.500000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[    2.510000] Freeing unused kernel memory: 212k freed
[    4.510000] Registered led device: tp-link:blue:qss
[    4.510000] Registered led device: tp-link:blue:system
[    4.510000] Registered led device: tp-link:green:usb1
[    4.510000] Registered led device: tp-link:green:usb2
[    4.510000] Registered led device: tp-link:blue:wlan2g
[    5.470000] eth0: link up (1000Mbps/Full duplex)
[    7.800000] JFFS2 notice: (450) jffs2_build_xattr_subsystem: complete building xattr subsystem, 1 of xdatum (1 unchecked, 0 orphan) and 194 of xref (0 dead, 175 orphan) found.
[    7.980000] eth0: link down
[    9.040000] Compat-drivers backport release: compat-drivers-2012-09-04-2-gddac993
[    9.050000] Backport based on wireless-testing.git master-2012-09-07
[    9.060000] compat.git: wireless-testing.git
[    9.180000] cfg80211: Calling CRDA to update world regulatory domain
[    9.180000] cfg80211: World regulatory domain updated:
[    9.190000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[    9.200000] cfg80211:   (2400000 KHz - 2483000 KHz @ 40000 KHz), (N/A, 3000 mBm)
[    9.200000] cfg80211:   (5140000 KHz - 5860000 KHz @ 40000 KHz), (N/A, 3000 mBm)
[    9.650000] SCSI subsystem initialized
[    9.860000] usbcore: registered new interface driver usbfs
[    9.870000] usbcore: registered new interface driver hub
[    9.870000] usbcore: registered new device driver usb
[   10.570000] ath: EEPROM regdomain: 0x0
[   10.570000] ath: EEPROM indicates default country code should be used
[   10.570000] ath: doing EEPROM country->regdmn map search
[   10.570000] ath: country maps to regdmn code: 0x3a
[   10.570000] ath: Country alpha2 being used: US
[   10.570000] ath: Regpair used: 0x3a
[   10.570000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   10.570000] Registered led device: ath9k-phy0
[   10.570000] ieee80211 phy0: Atheros AR9340 Rev:0 mem=0xb8100000, irq=47
[   10.580000] PCI: Enabling device 0000:00:00.0 (0000 -> 0002)
[   10.590000] ath: EEPROM regdomain: 0x0
[   10.590000] ath: EEPROM indicates default country code should be used
[   10.590000] ath: doing EEPROM country->regdmn map search
[   10.590000] ath: country maps to regdmn code: 0x3a
[   10.590000] ath: Country alpha2 being used: US
[   10.590000] ath: Regpair used: 0x3a
[   10.590000] ieee80211 phy1: Selected rate control algorithm 'minstrel_ht'
[   10.590000] Registered led device: ath9k-phy1
[   10.590000] ieee80211 phy1: Atheros AR9300 Rev:4 mem=0xb0000000, irq=40
[   10.720000] cfg80211: Calling CRDA for country: US
[   10.730000] cfg80211: Regulatory domain changed to country: US
[   10.730000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   10.740000] cfg80211:   (2400000 KHz - 2483000 KHz @ 40000 KHz), (N/A, 3000 mBm)
[   10.750000] cfg80211:   (5140000 KHz - 5860000 KHz @ 40000 KHz), (N/A, 3000 mBm)
[   11.150000] RPC: Registered named UNIX socket transport module.
[   11.160000] RPC: Registered udp transport module.
[   11.160000] RPC: Registered tcp transport module.
[   11.170000] RPC: Registered tcp NFSv4.1 backchannel transport module.
[   11.500000] PPP generic driver version 2.4.2
[   11.580000] tun: Universal TUN/TAP device driver, 1.6
[   11.580000] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[   11.680000] GRE over IPv4 demultiplexor driver
[   11.770000] GRE over IPv4 tunneling driver
[   12.050000] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[   12.130000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   12.450000] NET: Registered protocol family 24
[   12.650000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   12.650000] ehci-platform ehci-platform: Generic Platform EHCI Controller
[   12.660000] ehci-platform ehci-platform: new USB bus registered, assigned bus number 1
[   12.700000] ehci-platform ehci-platform: irq 3, io mem 0x1b000000
[   12.720000] ehci-platform ehci-platform: USB 2.0 started, EHCI 1.00
[   12.720000] hub 1-0:1.0: USB hub found
[   12.730000] hub 1-0:1.0: 1 port detected
[   12.820000] nf_conntrack version 0.5.0 (1980 buckets, 7920 max)
[   13.290000] usb 1-1: new high-speed USB device number 2 using ehci-platform
[   13.300000] PPTP driver version 0.8.5
[   13.550000] hub 1-1:1.0: USB hub found
[   13.550000] hub 1-1:1.0: 4 ports detected
[   13.870000] xt_time: kernel timezone is -0000
[   14.480000]  Hooked IMQ after mangle on PREROUTING
[   14.490000]  Hooked IMQ after nat on POSTROUTING
[   14.490000] IMQ driver loaded successfully. (numdevs = 2, numqueues = 1)
[   14.620000] Netfilter messages via NETLINK v0.30.
[   14.800000] ip_set: protocol 6
[   15.210000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[   15.440000] usbcore: registered new interface driver cdc_acm
[   15.440000] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[   15.540000] usbcore: registered new interface driver usblp
[   15.570000] usbcore: registered new interface driver usbserial
[   15.570000] USB Serial support registered for generic
[   15.580000] usbcore: registered new interface driver usbserial_generic
[   15.580000] usbserial: USB Serial Driver core
[   15.660000] Initializing USB Mass Storage driver...
[   15.660000] usbcore: registered new interface driver usb-storage
[   15.670000] USB Mass Storage support registered.
[   15.690000] usbcore: registered new interface driver ums-alauda
[   15.710000] usbcore: registered new interface driver ums-cypress
[   15.730000] usbcore: registered new interface driver ums-datafab
[   15.750000] usbcore: registered new interface driver ums-freecom
[   15.770000] usbcore: registered new interface driver ums-isd200
[   15.790000] usbcore: registered new interface driver ums-jumpshot
[   15.810000] usbcore: registered new interface driver ums-karma
[   15.830000] usbcore: registered new interface driver ums-sddr09
[   15.850000] usbcore: registered new interface driver ums-sddr55
[   15.870000] usbcore: registered new interface driver ums-usbat
[   15.970000] fuse init (API version 7.18)
[   19.300000] eth0: link up (1000Mbps/Full duplex)
[   20.270000] eth0: link down
[   20.280000] device eth0.1 entered promiscuous mode
[   20.280000] device eth0 entered promiscuous mode
[   20.310000] eth0: link up (1000Mbps/Full duplex)
[   20.360000] br-lan: port 1(eth0.1) entered forwarding state
[   20.360000] br-lan: port 1(eth0.1) entered forwarding state
[   22.360000] br-lan: port 1(eth0.1) entered forwarding state
[   24.600000] device wlan0 entered promiscuous mode
[   25.240000] br-lan: port 2(wlan0) entered forwarding state
[   25.250000] br-lan: port 2(wlan0) entered forwarding state
[   27.250000] br-lan: port 2(wlan0) entered forwarding state
[   63.440000] cfg80211: Calling CRDA to update world regulatory domain
[   63.440000] cfg80211: World regulatory domain updated:
[   63.450000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   63.460000] cfg80211:   (2400000 KHz - 2483000 KHz @ 40000 KHz), (N/A, 3000 mBm)
[   63.470000] cfg80211:   (5140000 KHz - 5860000 KHz @ 40000 KHz), (N/A, 3000 mBm)
[  185.200000] device wlan0 left promiscuous mode
[  185.210000] br-lan: port 2(wlan0) entered disabled state
[  187.290000] br-lan: port 1(eth0.1) entered disabled state
[  187.290000] device eth0.1 left promiscuous mode
[  187.300000] device eth0 left promiscuous mode
[  187.300000] br-lan: port 1(eth0.1) entered disabled state
[  187.310000] eth0: link down
[  187.320000] device eth0.1 entered promiscuous mode
[  187.330000] device eth0 entered promiscuous mode
[  188.220000] eth0: link up (1000Mbps/Full duplex)
[  188.230000] br-lan: port 1(eth0.1) entered forwarding state
[  188.240000] br-lan: port 1(eth0.1) entered forwarding state
[  189.960000] device wlan0 entered promiscuous mode
[  190.240000] br-lan: port 1(eth0.1) entered forwarding state
[  190.280000] br-lan: port 2(wlan0) entered forwarding state
[  190.280000] br-lan: port 2(wlan0) entered forwarding state
[  192.280000] br-lan: port 2(wlan0) entered forwarding state
root@Gargoyle:~#



the text in bold characters differs from the first part and it is after I hit the APPLY CHANGES button in the "connection" menu from the webinterface

Is there some command using UCI to issue those changes automatically after each reboot and not having to access the webinterface?

any help is appreciated, thanks!

(Last edited by paradoxman on 25 Mar 2013, 18:55)

you can try to add to your /etc/rc.local file (you can edit it from terminal using vi, or scp but with a unix-endline-capable text editor!..), before exit, this line:

/etc/init.d/network restart

(Last edited by nebbia88 on 25 Mar 2013, 19:46)

thanks but i have already done that, I issued this command after a plain reboot and did not bring on the network, the only solution I have found is hitting "apply changes" in the connection menu of the webinterface... so that's why i was wondering if that command starts some scripts, or re-loads some configs that I could start manually from putty, and if it has some command line equivalent

Why don't you save your configs (System -> Backup/Restore -> Get Backup button) on a working router & a non-working config.

Expand both backup_Gargoyle.tar.gz files & then do a diff -rq folder_working folder_non_working

As for what hitting Save Changes does, the scope of the saveChanges() function is large here:
http://www.gargoyle-router.com/gargoyle … s/basic.js

thank you for your advice, unfortunatelly it gave me this message after copying the working backup to "ok" folder and the other one to "nok" folder (both in /tmp)

root@Gargoyle:~# cd /tmp
root@Gargoyle:/tmp# diff -rq ok nok
-ash: diff: not found


anyway, I checked the differences manually and there seems to be no difference between the 2 backups

on the other hand, thanks for the link to the startup script, I tried to copy that part (save changes function) and start it manually but with no success;
the fact is that this APPLY CHANGES button in the webinterface it doesn't have an universal function, because I only end up with a working router when I hit that button in the Connection Menu ... when I hit the same button in any other menu, I get no effect at all.

I'm stucked ...

(Last edited by paradoxman on 26 Mar 2013, 09:13)

No, on your computer you do the diff, not the router. Your OS might not have the diff command, but that's another problem.

The diff command looks for differences. The -r flag says to work through the files 1-by-1, the -q says to shut up and the paths tells the diff command which 2 folders to compare.

If you manually checked the files and found no differences, then you missed something because at least 1 file contains a timestamp (usr/data/time_backup) and a few bandwidth data files (/usr/data/bwmon/total5-download-day-365.bw).

You can't just use that saveChanges() function however you want. You can't expect a router (which basically does shell scripts) to understand client-side browser javascript. Eventually you might find the difference, and that basic.js (javascript) file is going to help you understand what settings the Gargoyle Connections page saved.

And on my 1.5.9 Gargoyle, its "Save Changes". So if you "Save Changes" on the firewall page, its not shocking that you might not get the change you are looking for. So it is universal in that it "Saves those changes on the page you are on". The "Router Identification" page won't work on your router interfaces if you "Save Changes" - the scope of that page is limited to the name of the router.

it absolutelly makes sense everything you wrote here;
however if i import the "good" working backup onto the router after a fresh reboot, I still end with a non-working device so that's why I said that basically the backups are identical with no differences (I only visually checked them)
until i hit that "save changes" button in the connection interface, it's no party for me !
may I have a defective unit?
although I don't think it's a hardware problem since a simple software command does bring it to life...

If a good backup doesn't help, maybe the thing the Save button does is not a "uci set blah blah", but some other command. I doubt you have a defective unit - probably just a router that has a slight unaccounted for variance.

Well, unfortunately, I'm not at my router, but this might work (and be difficult to follow). What might help shed some light is to see the entirety of the commands that save button sends to the router. That requires editing the javascript source to dump all the output to a text file on the router.

Download that javascript basic.js webpage. Or do a git checkout. Or get the source - to get that 1 file.
Find:
  commands = preCommands + commands + adjustIpCommands
    (and there is more to that line)

Add on a new line after:
  commands.push("echo \'" + commands.toString() + "\' > /tmp/commands.tmp");

Save file.
Copy file to router:
  scp /that/saved/basic.js root@192.168.1.1:/tmp

Now on the router ssh in &:
Backup original file:
  cp /www/js/basic.js /tmp/basic.js.original

Copy new file into place:
  mv -f /tmp/basic.js /www/js/basic.js

On your computer, visit the Connections webpage. Click Save Changes. The 1 line addition should have left a file on the router.

On your router, ssh in &:
  cat /tmp/commands.tmp

If all goes well, that file is there & holds what you are looking for.

Revert back to original basic.js by (on your router):
  mv -f /tmp/basic.js.original /www/js/basic.js

thank you very much for your time and efforts for this explanation

meabwhile I just upgraded to the new DD-WRT firmware that came out yesterday and the unit is behaving just fine, it got connected to WAN imediatelly and also forwarded dns and internet to the wireless clients without any aditional settings; unfortunatelly, it has the TURBO 40 Mhz function broken, thus I am back to Gargoyle 1.5.9 using the "noscan"=1 feature to enable 40Mhz

this means it is not a hardware malfunction and hopefully gargoyle's next version will fix this issue using openwrt's newest developments but I really don't know when could we expect a new version

So, I will be able to test the scenario that you explained so well
will be back with the results, thanks!

I did exactly what you told me, downloaded that basic.js file from the link you gave me earlier and added that line with an unix text editor (ultraedit32), saved it and copied in original location after I did a backup;
unfortunatelly, when I hit "save changes" it waited for an undefinite period with the message "please wait until changes are applied" but got stuck there, nothing happened and no file was generated in /tmp meanwhile;

after that I put back the original backup and everything went fine with the same procedure; then I went to take a look in the original basic.js file from the router and when I did a search to find that string for adding that extra line, it gave me no results - that's why I presume that the original file differs big time from that one you gave me in that link

So I uploaded for you to take a look in my basic.js original file from the router and maybe give me a hint where to add that extra line inside it
Please click on the download link in the middle of the page "apasati aici..." to download the file, you don't have to enter any username or pass , thanks !

http://www.filehost.ro/29395213/basic_js/


I like very much this gargoyle 1.5.9 for being able to work corectly with HT40 setting ;
I have this result with a WR941ND connected as a client bridge to this WDR3600 AP (running Gargoyle) at approx. 100 meter distance on a 120 Mbit WAN connection


http://i45.tinypic.com/200em82.jpg

(Last edited by paradoxman on 26 Mar 2013, 16:51)

have you tried an older version of Gargoyle?

this router is a pretty new model so it is supported only in the last 3 firmwares of gargoyle ;
I would have liked to test 1.5.6 but this model is supported only from 1.5.7 to 1.5.9

I didn't test the last OPENWRTs from trunk because I liked gargoyle's interface and QOS settings, but I will for sure since this is pretty annoying bug; beside this and compared to dd-wrt, it works best with the 40 mhz setting which I need ;
I wonder if those with WDR4300 do have the same problem because they are pretty much the same at the hardware level, only the 5 ghz wl chip differs

for sure it's not a hardware problem since I tested today the last dd-wrt available and it's working good and don't manifest this strange problem , but there is broken the HT40 functionality on this model with dd-wrt

can't wait for a new gargoyle firmware or a new openwrt attitude adjustment version

maybe more users who will buy this device will give feedback, it is worth the price for sure even with this little annoying problem, it has very good wireless sensitivity (also as client) and big 128 MB RAM which helps it I think to handle better the P2P connections... I can download wirelessly with 12 MB/s from P2P just as same like on the LAN cable and meanwhile I can navigate the webpages without difficulties, unlike my other old router models

(Last edited by paradoxman on 26 Mar 2013, 19:11)

A) you might be on something other than the most current Gargoyle version, in which case, downloading the newest wouldn't have helped much
B) your file passed through UglifyJS which reduces variable names down to save space
C) I assumed 'commands' was an array - its a string.

In the file you posted, search for "Fb=d+Fb+j+k+Gb+Hb;" (without the quotes). right after that semicolon, paste:

Fb += "\necho \'" + Fb + "\' > /tmp/commands.tmp\n";

(you want Fb=d+Fb+j+k+Gb+Hb;Fb += "\necho \'" + Fb + "\' > /tmp/commands.tmp\n";var Ib=getP.....

Save & copy that file onto your router & into place in /www/js again.

I did a test run. It takes a while on my router, but it does a few uci settings, but its the last 3 lines (and probably the 1st):

sh /usr/lib/gargoyle/restart_network.sh ;

rm -rf /tmp/cached_basic_vars ;
/usr/lib/gargoyle/cache_basic_vars.sh >/dev/null 2>/dev/null

now it worked !

I got this in /tmp :

uci commit

uci set network.wan=interface
uci set wireless.ap_g=wifi-iface
uci commit

uci set firewall.@defaults[0].force_router_dns=1
uci set wireless.ap_g=wifi-iface
uci set wireless.ap_g.device=radio0
uci set wireless.ap_g.mode=ap
uci set wireless.ap_g.network=lan
uci set wireless.ap_g.ssid=OpenWRT
uci set wireless.ap_g.encryption=psk2
uci set wireless.ap_g.key=AABBCCDDEE
uci commit
/etc/init.d/dnsmasq enable
uci set gargoyle.connection.dhcp=200
uci set gargoyle.firewall.portforwarding=100
uci set gargoyle.firewall.restriction=125
uci set gargoyle.firewall.quotas=175
uci set qos_gargoyle.global.network=wan
uci commit
sh /usr/lib/gargoyle/restart_network.sh ;

rm -rf /tmp/cached_basic_vars ;
/usr/lib/gargoyle/cache_basic_vars.sh >/dev/null 2>/dev/null

which ones do you think I should execute from SSH ? the ones you have posted earlier ?
many thanks for your help!

WOW, I just pasted the whole set of commands to etc/rc.local to execute it automatically on startup and IT WORKS !!

I don't know which one of those commands brought it to life, I will test them separatelly tomorrow and see which one has effect

but I cannot tell you how gratefull I am for all your time, knowledge and explanations !
you're a real linux guru smile and I am so happy that I posted my problem on this forum because back at gargoyle forum it is very quiet, no one is saying anything

Wishing you all the luck and thanks again for your help
Ciao!

i guess you only need

sh /usr/lib/gargoyle/restart_network.sh

but absolutely not sure..

(Last edited by nebbia88 on 26 Mar 2013, 20:24)

Hi there! I believe I'm facing the same problem with you, WAN can get IP address, but LAN and WLAN don't work. Wondering if you can post the file that I need to replace with...I'm fresh new here...Thank you!!

sure, if you use the same configuration like myself, connect to router with WINCSP , enter the /etc directory and replace your empty rc.local file with this one found in this link

http://www.filehost.ro/29450526/rc_local/

after every fresh reboot, all your clients will succesfully get their DNS and IP

good luck!

The discussion might have continued from here.