Gargoyle for Atheros AR7130

Report problems and success stories with Gargoyle on various hardware platforms.

Moderator: Moderators

szemo77
Posts: 9
Joined: Fri May 22, 2009 7:55 am

Gargoyle for Atheros AR7130

Post by szemo77 »

Hello,

It is possible to add support for Atheros AR7130 boards in Gargoyle?
I can success install LuCI src.
System: Atheros AR7130 rev 2 (id:0xa8)
Processor: MIPS 24K V7.4
Load: 0.00, 0.01, 0.00
Memory: 60.93 MB (11% cached, 0% buffered, 79% free

I don't test yet if Gargoyle will run but i see only src for atheros packages. I can be beta tester for that boards if you like.
I have my own clear running Open-WRT compilation from trunk for AR7130.

szemo77
Posts: 9
Joined: Fri May 22, 2009 7:55 am

Re: Gargoyle for Atheros AR7130

Post by szemo77 »

Ok, some install results from logs. Any idea how to install it correctly?

Code: Select all

root@OpenWrt:/# opkg install gargoyle
Installing gargoyle (1.0.0-3) to root...
Downloading http://gargoyle-router.com/packages/kamikaze0709/atheros-2.6/./gargo
yle_1.0.0-3_mips.ipk
Connecting to gargoyle-router.com (64.130.10.15:80)
gargoyle_1.0.0-3_mip 100% |*******************************|   147k 00:00:00 ETA
Configuring gargoyle
root@OpenWrt:/# reboot
root@OpenWrt:/# br-lan: port 1(eth0) entering disabled state
device eth0 left promiscuous mode
br-lan: port 1(eth0) entering disabled state
eth0: link down
Restarting system.


RouterBOOT booter 2.19

RouterBoard 411A

CPU frequency: 300 MHz
  Memory size:  64 MB

Press any key within 2 seconds to enter setup..
loading kernel from nand... OK
setting up elf image... OK
jumping to kernel code
Linux version 2.6.26.8 (szemo77@Fedora) (gcc version 4.1.2) #2 Thu Jan 1 22:49:5
8 CET 2009
console [early0] enabled
CPU revision is: 00019374 (MIPS 24K)
Determined physical RAM map:
 memory: 04000000 @ 00000000 (usable)
Initrd not found or empty - disabling initrd
Zone PFN ranges:
  Normal          0 ->    16384
Movable zone start PFN for each node
early_node_map[1] active PFN ranges
    0:        0 ->    16384
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
Kernel command line: rootfstype=squashfs,yaffs,jffs2 noinitrd console=ttyS0,1152
00 init=/etc/preinit
Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
Writing ErrCtl register=00010410
Readback ErrCtl register=00010410
PID hash table entries: 256 (order: 8, 1024 bytes)
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory: 62200k/65536k available (1764k kernel code, 3264k reserved, 318k data, 1
28k init, 0k highmem)
SLUB: Genslabs=6, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Mount-cache hash table entries: 512
net_namespace: 484 bytes
NET: Registered protocol family 16
MIPS: machine is MikroTik RouterBOARD 411/A/AH
registering PCI controller with io_map_base unset
PCI: mapping irq 32 to pin1@0000:00:12.0
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 2048 (order: 2, 16384 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 2048 bind 2048)
TCP reno registered
NET: Registered protocol family 1
squashfs: version 3.0 (2006/03/15) Phillip Lougher
Registering mini_fo version $Id$
JFFS2 version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
yaffs Jan  1 2009 22:31:49 Installing.
msgmni has been set to 121
io scheduler noop registered
io scheduler deadline registered (default)
Serial: 8250/16550 driver $Revision: 1.90 $ 1 ports, IRQ sharing disabled
serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11) is a 16550A
console handover: boot [early0] -> real [ttyS0]
ag71xx_mdio: probed
eth0: Atheros AG71xx at 0xb9000000, irq 4
NAND flash driver for RouterBoard 4xx series version 0.1.10
NAND SPI clock 25000 kHz (AHB 150000 kHz / 6)
FLASH SPI clock 25000 kHz (AHB 150000 kHz / 6)
NAND device: Manufacturer ID: 0xad, Chip ID: 0x76 (Hynix NAND 64MiB 3,3V 8-bit)
Scanning device for bad blocks
Creating 3 MTD partitions on "NAND 64MiB 3,3V 8-bit":
0x00000000-0x00040000 : "booter"
0x00040000-0x00400000 : "kernel"
0x00400000-0x04000000 : "rootfs"
mtd: partition "rootfs" set to be root filesystem
split_squashfs: no squashfs found in "NAND 64MiB 3,3V 8-bit"
Atheros AR71xx SPI Controller driver version 0.2.2
Atheros AR71xx hardware watchdog driver version 0.1.0
Registered led device: rb4xx:yellow:user
TCP vegas registered
NET: Registered protocol family 17
802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
All bugs added by David S. Miller <davem@redhat.com>
yaffs: dev is 32505858 name is "mtdblock2"
yaffs: passed flags ""
yaffs: Attempting MTD mount on 31.2, "mtdblock2"
VFS: Mounted root (yaffs filesystem) readonly.
Freeing unused kernel memory: 128k freed
Please be patient, while OpenWrt loads ...
Algorithmics/MIPS FPU Emulator v1.5
- preinit -
Press CTRL-C for failsafe
- init -

Please press Enter to activate this console.


BusyBox v1.11.3 (2009-01-01 22:07:56 CET) built-in shell (ash)
Enter 'help' for a list of built-in commands.

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 KAMIKAZE (bleeding edge, r13798) -------------------
  * 10 oz Vodka       Shake well with ice and strain
  * 10 oz Triple sec  mixture inbr-lan: Dropping NETIF_F_UFO since no NETIF_F_HW
_CSUM feature.
to 10 shot glasses.
  * 10 oz lime juice  Salute!
 ---------------------------------------------------
root@OpenWrt:/# device eth0 entered promiscuous mode
roboswitch: Probing device eth0: Invalid phy address (0)
roboswitch: Probing device eth1: No such device
roboswitch: Probing device eth2: No such device
roboswitch: Probing device eth3: No such device
PPP generic driver version 2.4.2
ip_tables: (C) 2000-2006 Netfilter Core Team
nf_conntrack version 0.5.0 (1024 buckets, 4096 max)
eth0: link up (100Mbps/Full duplex)
br-lan: port 1(eth0) entering learning state
br-lan: topology change detected, propagating
br-lan: port 1(eth0) entering forwarding state
wlan: trunk
ath_hal: module license 'Proprietary' taints kernel.
ath_hal: 2008-10-02 (AR5210, AR5211, AR5212, AR5416, RF5111, RF5112, RF2413, RF5
413, RF2133, RF2425, REGOPS_FUNC, DFS, XR)
ath_rate_minstrel: Minstrel automatic rate control algorithm 1.2 (trunk)
ath_rate_minstrel: look around rate set to 10%
ath_rate_minstrel: EWMA rolloff level set to 75%
ath_rate_minstrel: max segment size in the mrr set to 6000 us
wlan: mac acl policy registered
ath_pci: trunk
PCI: Enabling device 0000:00:12.0 (0000 -> 0002)
Atheros HAL provided by OpenWrt, DD-WRT and MakSat Technologies
wifi0: 11a rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
wifi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
wifi0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36
Mbps 48Mbps 54Mbps
wifi0: turboA rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
wifi0: turboG rates: 6Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
wifi0: H/W encryption support: WEP AES AES_CCM TKIP
ath_pci: wifi0: Atheros 5212: mem=0x10000000, irq=32

root@OpenWrt:/#
And web login give me white table with that:

Code: Select all

Status
Device Name:
Gargoyle Version:
Memory Usage:
Uptime:
Current Date & Time:
LAN IP Address:
LAN Netmask:
LAN MAC Address:
WAN IP Address:
WAN Netmask:
WAN MAC Address:
Wireless Mode:
Wireless MAC address:
Access Point SSID:
SSID Joined By Client:
QoS Upload:
QoS Download:
gargoyle_header_footer: can't load library 'libuci.so.0.6' 

szemo77
Posts: 9
Joined: Fri May 22, 2009 7:55 am

Re: Gargoyle for Atheros AR7130

Post by szemo77 »

I check the uci libs:

Code: Select all

root@OpenWrt:/# opkg install libuci
Package libuci (0.7.1-1) installed in root is up to date.
root@OpenWrt:/# opkg install uci
Package uci (0.7.1-1) installed in root is up to date.
root@OpenWrt:/# opkg install libmatrixssl-nothread
Package libmatrixssl-nothread (1.8.5-1) installed in root is up to date.
root@OpenWrt:/#
Im not advenced user Open-WRT ;) so I ask for some help. Any other test or install package?

szemo77
Posts: 9
Joined: Fri May 22, 2009 7:55 am

Re: Gargoyle for Atheros AR7130

Post by szemo77 »

New log from reflash:

Code: Select all

root@OpenWrt:/# opkg update
Downloading http://downloads.openwrt.org/snapshots/trunk/ar71xx/packages/Package
s.gz
Connecting to downloads.openwrt.org (195.56.146.238:80)
Packages.gz          100% |*******************************|   156k 00:00:00 ETA
Inflating http://downloads.openwrt.org/snapshots/trunk/ar71xx/packages/Packages.
gz
Updated list of available packages in /var/opkg-lists/snapshots
Downloading http://gargoyle-router.com/packages/kamikaze0809/atheros-2.6/Package
s
Connecting to gargoyle-router.com (64.130.10.15:80)
Packages             100% |*******************************| 60542  00:00:00 ETA
Updated list of available packages in /var/opkg-lists/gargoyle
root@OpenWrt:/# opkg install libopenssl
Installing libopenssl (0.9.8k-2) to root...
Downloading http://downloads.openwrt.org/snapshots/trunk/ar71xx/packages/libopen
ssl_0.9.8k-2_mips.ipk
Connecting to downloads.openwrt.org (195.56.146.238:80)
libopenssl_0.9.8k-2_ 100% |*******************************|   490k 00:00:00 ETA
Installing zlib (1.2.3-5) to root...
Downloading http://gargoyle-router.com/packages/kamikaze0809/atheros-2.6/./zlib_
1.2.3-5_mips.ipk
Connecting to gargoyle-router.com (64.130.10.15:80)
zlib_1.2.3-5_mips.ip 100% |*******************************| 36099  00:00:00 ETA
Configuring libopenssl
Configuring zlib
root@OpenWrt:/# opkg install hostapd
Installing hostapd (0.6.9-1) to root...
Downloading http://downloads.openwrt.org/snapshots/trunk/ar71xx/packages/hostapd
_0.6.9-1_mips.ipk
Connecting to downloads.openwrt.org (195.56.146.238:80)
hostapd_0.6.9-1_mips 100% |*******************************|   159k 00:00:00 ETA
Installing libnl-tiny (0.1-1) to root...
Downloading http://downloads.openwrt.org/snapshots/trunk/ar71xx/packages/libnl-t
iny_0.1-1_mips.ipk
Connecting to downloads.openwrt.org (195.56.146.238:80)
libnl-tiny_0.1-1_mip 100% |*******************************| 13098  --:--:-- ETA
Configuring hostapd
Configuring libnl-tiny
root@OpenWrt:/# opkg install wpa-supplicant
Installing wpa-supplicant (0.6.9-2) to root...
Downloading http://downloads.openwrt.org/snapshots/trunk/ar71xx/packages/wpa-sup
plicant_0.6.9-2_mips.ipk
Connecting to downloads.openwrt.org (195.56.146.238:80)
wpa-supplicant_0.6.9 100% |*******************************|   198k 00:00:00 ETA
Configuring wpa-supplicant
root@OpenWrt:/# opkg install tc
Package tc (2.6.25-1) installed in root is up to date.
root@OpenWrt:/# opkg install kmod-sched
Package kmod-sched (2.6.28.10-ar71xx-1) installed in root is up to date.
root@OpenWrt:/# opkg install kmod-ipt-imq
Package kmod-ipt-imq (2.6.28.10-ar71xx-1) installed in root is up to date.
root@OpenWrt:/# opkg install kmod-ipt-filter
Package kmod-ipt-filter (2.6.28.10-ar71xx-1) installed in root is up to date.
root@OpenWrt:/# opkg install kmod-ipt-ipopt
Package kmod-ipt-ipopt (2.6.28.10-ar71xx-1) installed in root is up to date.
root@OpenWrt:/# opkg install kmod-ipt-conntrack
Upgrading kmod-ipt-conntrack on root from 2.6.26.8-ar71xx-1 to 2.6.28.10-ar71xx-
1...
Downloading http://downloads.openwrt.org/snapshots/trunk/ar71xx/packages/kmod-ip
t-conntrack_2.6.28.10-ar71xx-1_mips.ipk
Connecting to downloads.openwrt.org (195.56.146.238:80)
kmod-ipt-conntrack_2 100% |*******************************| 43046  00:00:00 ETA
Configuring kmod-ipt-conntrack
root@OpenWrt:/# opkg install miniupnpd
Package miniupnpd (1.3-2) installed in root is up to date.
root@OpenWrt:/# opkg install ntpclient
Package ntpclient (2007_365-1) installed in root is up to date.
root@OpenWrt:/# opkg install libuci
Upgrading libuci on root from 0.7.1-1 to 0.7.5-1...
Downloading http://downloads.openwrt.org/snapshots/trunk/ar71xx/packages/libuci_
0.7.5-1_mips.ipk
Connecting to downloads.openwrt.org (195.56.146.238:80)
libuci_0.7.5-1_mips. 100% |*******************************| 14167  --:--:-- ETA
Configuring libuci
root@OpenWrt:/# opkg install uci
Upgrading uci on root from 0.7.1-1 to 0.7.5-1...
Downloading http://downloads.openwrt.org/snapshots/trunk/ar71xx/packages/uci_0.7
.5-1_mips.ipk
Connecting to downloads.openwrt.org (195.56.146.238:80)
uci_0.7.5-1_mips.ipk 100% |*******************************|  6766  --:--:-- ETA
Configuring uci
root@OpenWrt:/# opkg install libmatrixssl-nothread
Package libmatrixssl-nothread (1.8.5-1) installed in root is up to date.
root@OpenWrt:/# opkg install haserl-dev
Package haserl-dev (0.9.24-3) installed in root is up to date.
root@OpenWrt:/# opkg install qos-gargoyle
Package qos-gargoyle (1.0.0-1) installed in root is up to date.
root@OpenWrt:/# opkg install ddns-gargoyle
Installing ddns-gargoyle (1.0.0-1) to root...
Downloading http://gargoyle-router.com/packages/kamikaze0809/atheros-2.6/./ddns-
gargoyle_1.0.0-1_mips.ipk
Connecting to gargoyle-router.com (64.130.10.15:80)
ddns-gargoyle_1.0.0- 100% |*******************************| 18641  --:--:-- ETA
Installing libericstools (1.0-1) to root...
Downloading http://gargoyle-router.com/packages/kamikaze0809/atheros-2.6/./liber
icstools_1.0-1_mips.ipk
Connecting to gargoyle-router.com (64.130.10.15:80)
libericstools_1.0-1_ 100% |*******************************|  8353  --:--:-- ETA
Configuring ddns-gargoyle
Configuring libericstools
root@OpenWrt:/# opkg install httpd-gargoyle
Package httpd-gargoyle (1.0.0-1) installed in root is up to date.
root@OpenWrt:/# opkg install bwmon-gargoyle
Installing bwmon-gargoyle (1.0.0-1) to root...
Downloading http://gargoyle-router.com/packages/kamikaze0809/atheros-2.6/./bwmon
-gargoyle_1.0.0-1_mips.ipk
Connecting to gargoyle-router.com (64.130.10.15:80)
bwmon-gargoyle_1.0.0 100% |*******************************| 22461  00:00:00 ETA
Configuring bwmon-gargoyle
root@OpenWrt:/# opkg install gargoyle
Installing gargoyle (1.0.0-5) to root...
Downloading http://gargoyle-router.com/packages/kamikaze0809/atheros-2.6/./gargo
yle_1.0.0-5_mips.ipk
Connecting to gargoyle-router.com (64.130.10.15:80)
gargoyle_1.0.0-5_mip 100% |*******************************|   159k 00:00:00 ETA
Installing webmon-gargoyle (1.0.0-1) to root...
Downloading http://gargoyle-router.com/packages/kamikaze0809/atheros-2.6/./webmo
n-gargoyle_1.0.0-1_mips.ipk
Connecting to gargoyle-router.com (64.130.10.15:80)
webmon-gargoyle_1.0. 100% |*******************************|  7272  --:--:-- ETA
Installing libpcap (1.0.0-1) to root...
Downloading http://downloads.openwrt.org/snapshots/trunk/ar71xx/packages/libpcap
_1.0.0-1_mips.ipk
Connecting to downloads.openwrt.org (195.56.146.238:80)
libpcap_1.0.0-1_mips 100% |*******************************| 75658  00:00:00 ETA
Installing restricter-gargoyle (1.0.0-1) to root...
Downloading http://gargoyle-router.com/packages/kamikaze0809/atheros-2.6/./restr
icter-gargoyle_1.0.0-1_mips.ipk
Connecting to gargoyle-router.com (64.130.10.15:80)
restricter-gargoyle_ 100% |*******************************| 28876  --:--:-- ETA
Installing iptables-mod-weburl (1.4.0-1) to root...
Downloading http://gargoyle-router.com/packages/kamikaze0809/atheros-2.6/./iptab
les-mod-weburl_1.4.0-1_mips.ipk
Connecting to gargoyle-router.com (64.130.10.15:80)
iptables-mod-weburl_ 100% |*******************************|  2829  --:--:-- ETA
Installing kmod-ipt-weburl (2.6.26.5-atheros-1) to root...
Downloading http://gargoyle-router.com/packages/kamikaze0809/atheros-2.6/./kmod-
ipt-weburl_2.6.26.5-atheros-1_mips.ipk
Connecting to gargoyle-router.com (64.130.10.15:80)
kmod-ipt-weburl_2.6. 100% |*******************************| 11475  --:--:-- ETA
Not downgrading package kernel on root from 2.6.28.10-ar71xx-1 to 2.6.26.5-ather
os-1.
Configuring iptables-mod-weburl
Configuring kmod-ipt-weburl
Configuring libpcap
Configuring restricter-gargoyle
Configuring webmon-gargoyle
[b]An error ocurred, return value: 14.[/b]
root@OpenWrt:/# reboot
root@OpenWrt:/# br-lan: port 1(eth0) entering disabled state
device eth0 left promiscuous mode
br-lan: port 1(eth0) entering disabled state
eth0: link down
Restarting system.
And boot log:

Code: Select all

RouterBOOT booter 2.19

RouterBoard 411A

CPU frequency: 300 MHz
  Memory size:  64 MB

Press any key within 2 seconds to enter setup..
loading kernel from nand... OK
setting up elf image... OK
jumping to kernel code
Linux version 2.6.26.8 (szemo77@Fedora) (gcc version 4.1.2) #2 Thu Jan 1 22:49:5
8 CET 2009
console [early0] enabled
CPU revision is: 00019374 (MIPS 24K)
Determined physical RAM map:
 memory: 04000000 @ 00000000 (usable)
Initrd not found or empty - disabling initrd
Zone PFN ranges:
  Normal          0 ->    16384
Movable zone start PFN for each node
early_node_map[1] active PFN ranges
    0:        0 ->    16384
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
Kernel command line: rootfstype=squashfs,yaffs,jffs2 noinitrd console=ttyS0,1152
00 init=/etc/preinit
Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
Writing ErrCtl register=00010410
Readback ErrCtl register=00010410
PID hash table entries: 256 (order: 8, 1024 bytes)
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory: 62200k/65536k available (1764k kernel code, 3264k reserved, 318k data, 1
28k init, 0k highmem)
SLUB: Genslabs=6, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Mount-cache hash table entries: 512
net_namespace: 484 bytes
NET: Registered protocol family 16
MIPS: machine is MikroTik RouterBOARD 411/A/AH
registering PCI controller with io_map_base unset
PCI: mapping irq 32 to pin1@0000:00:12.0
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 2048 (order: 2, 16384 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 2048 bind 2048)
TCP reno registered
NET: Registered protocol family 1
squashfs: version 3.0 (2006/03/15) Phillip Lougher
Registering mini_fo version $Id$
JFFS2 version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
yaffs Jan  1 2009 22:31:49 Installing.
msgmni has been set to 121
io scheduler noop registered
io scheduler deadline registered (default)
Serial: 8250/16550 driver $Revision: 1.90 $ 1 ports, IRQ sharing disabled
serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11) is a 16550A
console handover: boot [early0] -> real [ttyS0]
ag71xx_mdio: probed
eth0: Atheros AG71xx at 0xb9000000, irq 4
NAND flash driver for RouterBoard 4xx series version 0.1.10
NAND SPI clock 25000 kHz (AHB 150000 kHz / 6)
FLASH SPI clock 25000 kHz (AHB 150000 kHz / 6)
NAND device: Manufacturer ID: 0xad, Chip ID: 0x76 (Hynix NAND 64MiB 3,3V 8-bit)
Scanning device for bad blocks
Creating 3 MTD partitions on "NAND 64MiB 3,3V 8-bit":
0x00000000-0x00040000 : "booter"
0x00040000-0x00400000 : "kernel"
0x00400000-0x04000000 : "rootfs"
mtd: partition "rootfs" set to be root filesystem
split_squashfs: no squashfs found in "NAND 64MiB 3,3V 8-bit"
Atheros AR71xx SPI Controller driver version 0.2.2
Atheros AR71xx hardware watchdog driver version 0.1.0
Registered led device: rb4xx:yellow:user
TCP vegas registered
NET: Registered protocol family 17
802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
All bugs added by David S. Miller <davem@redhat.com>
yaffs: dev is 32505858 name is "mtdblock2"
yaffs: passed flags ""
yaffs: Attempting MTD mount on 31.2, "mtdblock2"
VFS: Mounted root (yaffs filesystem) readonly.
Freeing unused kernel memory: 128k freed
Please be patient, while OpenWrt loads ...
Algorithmics/MIPS FPU Emulator v1.5
- preinit -
Press CTRL-C for failsafe
- init -

Please press Enter to activate this console. br-lan: Dropping NETIF_F_UFO since
no NETIF_F_HW_CSUM feature.
device eth0 entered promiscuous mode
roboswitch: Probing device eth0: Invalid phy address (0)
roboswitch: Probing device eth1: No such device
roboswitch: Probing device eth2: No such device
roboswitch: Probing device eth3: No such device
PPP generic driver version 2.4.2
ip_tables: (C) 2000-2006 Netfilter Core Team
nf_nat: Unknown symbol __nf_ct_l4proto_find
nf_nat: Unknown symbol nf_ct_invert_tuplepr
nf_nat: Unknown symbol nf_ct_l3proto_put
nf_nat: Unknown symbol nf_conntrack_tcp_update
nf_nat: Unknown symbol nf_ct_extend_register
nf_nat: Unknown symbol nf_ct_get_tuple
nf_nat: Unknown symbol nf_nat_seq_adjust_hook
nf_nat: Unknown symbol nf_conntrack_untracked
nf_nat: Unknown symbol nf_ct_l3proto_find_get
nf_nat: Unknown symbol nf_ct_extend_unregister
nf_nat: Unknown symbol __nf_ct_ext_add
nf_nat: Unknown symbol nf_conntrack_tuple_taken
nf_nat: Unknown symbol nf_conntrack_htable_size
nf_nat: Unknown symbol nf_ct_iterate_cleanup
nf_nat: Unknown symbol nf_conntrack_alter_reply
nf_nat: Unknown symbol nf_ct_free_hashtable
nf_nat: Unknown symbol need_ipv4_conntrack
nf_nat: Unknown symbol nf_ct_alloc_hashtable
iptable_nat: Unknown symbol nf_conntrack_untracked
iptable_nat: Unknown symbol nf_nat_packet
iptable_nat: Unknown symbol __nf_ct_ext_add
iptable_nat: Unknown symbol nf_nat_setup_info
iptable_nat: Unknown symbol nf_nat_icmp_reply_translation
iptable_nat: Unknown symbol need_ipv4_conntrack
ipt_MASQUERADE: Unknown symbol nf_nat_setup_info
ipt_MASQUERADE: Unknown symbol nf_ct_iterate_cleanup
nf_conntrack_ftp: Unknown symbol nf_ct_expect_alloc
nf_conntrack_ftp: Unknown symbol nf_ct_expect_put
nf_conntrack_ftp: Unknown symbol nf_ct_expect_init
nf_conntrack_ftp: Unknown symbol nf_conntrack_helper_unregister
nf_conntrack_ftp: Unknown symbol nf_ct_expect_related
nf_conntrack_ftp: Unknown symbol nf_conntrack_helper_register
nf_nat_ftp: Unknown symbol nf_nat_follow_master
nf_nat_ftp: Unknown symbol nf_nat_ftp_hook
nf_nat_ftp: Unknown symbol nf_nat_mangle_tcp_packet
nf_nat_ftp: Unknown symbol nf_ct_expect_related
nf_nat_ftp: Unknown symbol nf_ct_unexpect_related
nf_conntrack_irc: Unknown symbol nf_ct_expect_alloc
nf_conntrack_irc: Unknown symbol nf_ct_expect_put
nf_conntrack_irc: Unknown symbol nf_ct_expect_init
nf_conntrack_irc: Unknown symbol nf_conntrack_helper_unregister
nf_conntrack_irc: Unknown symbol nf_ct_expect_related
nf_conntrack_irc: Unknown symbol nf_conntrack_helper_register
nf_nat_irc: Unknown symbol nf_nat_follow_master
nf_nat_irc: Unknown symbol nf_nat_irc_hook
nf_nat_irc: Unknown symbol nf_nat_mangle_tcp_packet
nf_nat_irc: Unknown symbol nf_ct_expect_related
nf_nat_irc: Unknown symbol nf_ct_unexpect_related
nf_conntrack_tftp: Unknown symbol nf_ct_expect_alloc
nf_conntrack_tftp: Unknown symbol nf_ct_expect_put
nf_conntrack_tftp: Unknown symbol nf_ct_expect_init
nf_conntrack_tftp: Unknown symbol nf_conntrack_helper_unregister
nf_conntrack_tftp: Unknown symbol nf_ct_expect_related
nf_conntrack_tftp: Unknown symbol nf_conntrack_helper_register
nf_nat_tftp: Unknown symbol nf_nat_follow_master
nf_nat_tftp: Unknown symbol nf_nat_tftp_hook
nf_nat_tftp: Unknown symbol nf_ct_expect_related
wlan: trunk
eth0: link up (100Mbps/Full duplex)
br-lan: port 1(eth0) entering learning state
br-lan: topology change detected, propagating
br-lan: port 1(eth0) entering forwarding state
ath_hal: module license 'Proprietary' taints kernel.
ath_hal: 2008-10-02 (AR5210, AR5211, AR5212, AR5416, RF5111, RF5112, RF2413, RF5
413, RF2133, RF2425, REGOPS_FUNC, DFS, XR)
ath_rate_minstrel: Minstrel automatic rate control algorithm 1.2 (trunk)
ath_rate_minstrel: look around rate set to 10%
ath_rate_minstrel: EWMA rolloff level set to 75%
ath_rate_minstrel: max segment size in the mrr set to 6000 us
wlan: mac acl policy registered
ath_pci: trunk
PCI: Enabling device 0000:00:12.0 (0000 -> 0002)
Atheros HAL provided by OpenWrt, DD-WRT and MakSat Technologies
wifi0: 11a rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
wifi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
wifi0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36
Mbps 48Mbps 54Mbps
wifi0: turboA rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
wifi0: turboG rates: 6Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
wifi0: H/W encryption support: WEP AES AES_CCM TKIP
ath_pci: wifi0: Atheros 5212: mem=0x10000000, irq=32



BusyBox v1.11.3 (2009-01-01 22:07:56 CET) built-in shell (ash)
Enter 'help' for a list of built-in commands.

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 KAMIKAZE (bleeding edge, r13798) -------------------
  * 10 oz Vodka       Shake well with ice and strain
  * 10 oz Triple sec  mixture into 10 shot glasses.
  * 10 oz lime juice  Salute!
 ---------------------------------------------------
root@OpenWrt:/#
Index of ./

. 01Jan2009 21:06 512
.. 01Jan2009 21:49 512

httpd_gargoyle/1.0 14mar2008

Hmm no site this time. :x

Eric
Site Admin
Posts: 1443
Joined: Sat Jun 14, 2008 1:14 pm

Re: Gargoyle for Atheros AR7130

Post by Eric »

Hi -- sorry it's taken me a while to respond, but I've been really busy this week (though lately that seems to be very week).

I wouldn't try to use the atheros packages for a different board. I'm not surprised they don't work. You will probably have better luck compiling from source. Checkout the source from SVN, and then run:

Code: Select all

sh full-build-809.sh custom
Then configure the build for your router (a screen equivalent to make menuconfig should pop up when you run that command) and wait half an hour to an hour while it builds. When you configure it make sure to select the gargoyle package under admin/gargoyle.

The biggest catch you're going to run into is that only brcm & atheros wifi is currently supported in the GUI. Configuration of ath9k, (which I seem to remember is usually associated with this architecture), is not yet supported.

szemo77
Posts: 9
Joined: Fri May 22, 2009 7:55 am

Re: Gargoyle for Atheros AR7130

Post by szemo77 »

Hmm. Board is RB411A with Wistron CM9. Webgui LuCi full working.

In first time with mistake I install packages from:
src/gz snapshots http://downloads.openwrt.org/snapshots/ ... x/packages
src gargoyle http://gargoyle-router.com/packages/kam ... theros-2.6
....and Gargoyle web gui was present. Wi-fi works only when I enable it in console network config. Sitesurway works, but can't save settings form webgui. Save booton not works.

Ok, I make new trunk build with selected gargoyle package.

szemo77
Posts: 9
Joined: Fri May 22, 2009 7:55 am

Re: Gargoyle for Atheros AR7130

Post by szemo77 »

Successful build with Gargoyle and successful booting Web Gui works, new login page, all pages from menu load correct, even Save button works. All LAN services too.

Wi-Fi was disabled default and need first enter configuration by console to /etc/config/wireless. Then wireless get enable Gargoyle. All wifi options works: modes, scan ...etc..

And now "LOL" WAN port don't works :cry: Any mode dhcp on WAN port don't get configuration. I test wire and wireless dhcp client configuration. Nothing works.

Ok, so I make static configuration for wire WAN port. hmm... from router I can ping internet hosts. But PCs from lan get full configuration from router dhcp server, correct dns.... and no internet conection. Gargoyle show correct routing table too.
Ok, I make some pings to all hops... hmmm something is with NAT...

Eric any idea?
I remember that similar problem was in Tomato. WAN port don't works too. There helps Vlan configuration set.

Code: Select all

nvram set vlan0ports="0 1 2 3 4 5*"
nvram set vlan1ports="5"
nvram set manual_boot_nv=1
nvram commit
reboot
:/ how about here?

Gargoyle save all changes from web gui to network configurations files in /etc/ correct. I compare with similar Gargoyle config on Fonera.
I need help what test next.

Eric
Site Admin
Posts: 1443
Joined: Sat Jun 14, 2008 1:14 pm

Re: Gargoyle for Atheros AR7130

Post by Eric »

The important config file for (wired) network configuration is /etc/config/network

SSH in and get the output from the following two commands:

Code: Select all

uci show network
ifconfig
Post that output here -- it may help me figure out the problem (but no guarantees).

szemo77
Posts: 9
Joined: Fri May 22, 2009 7:55 am

Re: Gargoyle for Atheros AR7130

Post by szemo77 »

Static WAN config:

Code: Select all

root@OpenWrt:/# uci show network
network.loopback=interface
network.loopback.ifname=lo
network.loopback.proto=static
network.loopback.ipaddr=127.0.0.1
network.loopback.netmask=255.0.0.0
network.lan=interface
network.lan.type=bridge
network.lan.proto=static
network.lan.netmask=255.255.255.0
network.lan.ipaddr=192.168.3.1
network.lan.ifname=ath0
network.lan.dns=192.168.3.1
network.wan=interface
network.wan.ifname=eth0
network.wan.proto=static
network.wan.ipaddr=192.168.2.2
network.wan.netmask=255.255.255.0
network.wan.gateway=192.168.2.1
network.wan.dns=192.168.2.1
root@OpenWrt:/# ifconfig
ath0      Link encap:Ethernet  HWaddr 00:0B:6B:87:4C:9E
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:19 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:6418 (6.2 KiB)

br-lan    Link encap:Ethernet  HWaddr 00:0B:6B:87:4C:9E
          inet addr:192.168.3.1  Bcast:192.168.3.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:19 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:6418 (6.2 KiB)

eth0      Link encap:Ethernet  HWaddr 00:0C:42:13:B2:B8
          inet addr:192.168.2.2  Bcast:192.168.2.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:67 errors:0 dropped:0 overruns:0 frame:0
          TX packets:40 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:6891 (6.7 KiB)  TX bytes:3744 (3.6 KiB)
          Interrupt:4

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:8 errors:0 dropped:0 overruns:0 frame:0
          TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:682 (682.0 B)  TX bytes:682 (682.0 B)

wifi0     Link encap:UNSPEC  HWaddr 00-0B-6B-87-4C-9E-00-48-00-00-00-00-00-00-00
-00
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:442 errors:0 dropped:0 overruns:0 frame:50
          TX packets:19 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:195
          RX bytes:35859 (35.0 KiB)  TX bytes:6836 (6.6 KiB)
          Interrupt:32

root@OpenWrt:/#
Wire Client DHCP config:

Code: Select all

root@OpenWrt:/# uci show network
network.loopback=interface
network.loopback.ifname=lo
network.loopback.proto=static
network.loopback.ipaddr=127.0.0.1
network.loopback.netmask=255.0.0.0
network.lan=interface
network.lan.type=bridge
network.lan.proto=static
network.lan.netmask=255.255.255.0
network.lan.ipaddr=192.168.3.1
network.lan.ifname=ath0
network.lan.dns=192.168.3.1
network.wan=interface
network.wan.ifname=eth0
network.wan.proto=dhcp
root@OpenWrt:/# ifconfig
ath0      Link encap:Ethernet  HWaddr 00:0B:6B:87:4C:9E
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:402 (402.0 B)

br-lan    Link encap:Ethernet  HWaddr 00:0B:6B:87:4C:9E
          inet addr:192.168.3.1  Bcast:192.168.3.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:402 (402.0 B)

eth0      Link encap:Ethernet  HWaddr 00:0C:42:13:B2:B8
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:422 errors:0 dropped:0 overruns:0 frame:0
          TX packets:755 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:55238 (53.9 KiB)  TX bytes:304564 (297.4 KiB)
          Interrupt:4

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:16 errors:0 dropped:0 overruns:0 frame:0
          TX packets:16 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:1178 (1.1 KiB)  TX bytes:1178 (1.1 KiB)

wifi0     Link encap:UNSPEC  HWaddr 00-0B-6B-87-4C-9E-00-48-00-00-00-00-00-00-00
-00
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:4212 errors:0 dropped:0 overruns:0 frame:247
          TX packets:204 errors:12 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:195
          RX bytes:369583 (360.9 KiB)  TX bytes:61982 (60.5 KiB)
          Interrupt:32

root@OpenWrt:/#

szemo77
Posts: 9
Joined: Fri May 22, 2009 7:55 am

Re: Gargoyle for Atheros AR7130

Post by szemo77 »

Wireless DHCP client:

Code: Select all

root@OpenWrt:/# uci show network
network.loopback=interface
network.loopback.ifname=lo
network.loopback.proto=static
network.loopback.ipaddr=127.0.0.1
network.loopback.netmask=255.0.0.0
network.lan=interface
network.lan.type=bridge
network.lan.proto=static
network.lan.netmask=255.255.255.0
network.lan.ipaddr=192.168.3.1
network.lan.ifname=eth0
network.lan.dns=192.168.3.1
network.wan=interface
network.wan.type=bridge
network.wan.proto=dhcp
root@OpenWrt:/# ifconfig
ath0      Link encap:Ethernet  HWaddr 00:0B:6B:87:4C:9E
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

br-lan    Link encap:Ethernet  HWaddr 00:0C:42:13:B2:B8
          inet addr:192.168.3.1  Bcast:192.168.3.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:151 errors:0 dropped:0 overruns:0 frame:0
          TX packets:122 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:19880 (19.4 KiB)  TX bytes:44224 (43.1 KiB)

br-wan    Link encap:Ethernet  HWaddr 00:0B:6B:87:4C:9E
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:41 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:16482 (16.0 KiB)

eth0      Link encap:Ethernet  HWaddr 00:0C:42:13:B2:B8
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:384 errors:0 dropped:0 overruns:0 frame:0
          TX packets:546 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:56830 (55.4 KiB)  TX bytes:205396 (200.5 KiB)
          Interrupt:4

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:29 errors:0 dropped:0 overruns:0 frame:0
          TX packets:29 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:2537 (2.4 KiB)  TX bytes:2537 (2.4 KiB)

wifi0     Link encap:UNSPEC  HWaddr 00-0B-6B-87-4C-9E-00-48-00-00-00-00-00-00-00
-00
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:4376 errors:0 dropped:24 overruns:0 frame:1047
          TX packets:1921 errors:35 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:195
          RX bytes:456940 (446.2 KiB)  TX bytes:279872 (273.3 KiB)
          Interrupt:32

root@OpenWrt:/#
Wireless static config:

Code: Select all

root@OpenWrt:/# uci show network
network.loopback=interface
network.loopback.ifname=lo
network.loopback.proto=static
network.loopback.ipaddr=127.0.0.1
network.loopback.netmask=255.0.0.0
network.lan=interface
network.lan.type=bridge
network.lan.proto=static
network.lan.netmask=255.255.255.0
network.lan.ipaddr=192.168.3.1
network.lan.ifname=eth0
network.lan.dns=192.168.3.1
network.wan=interface
network.wan.type=bridge
network.wan.proto=static
network.wan.ipaddr=192.168.1.10
network.wan.netmask=255.255.255.0
network.wan.gateway=192.168.1.1
root@OpenWrt:/# ifconfig
ath0      Link encap:Ethernet  HWaddr 00:0B:6B:87:4C:9E
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

br-lan    Link encap:Ethernet  HWaddr 00:0C:42:13:B2:B8
          inet addr:192.168.3.1  Bcast:192.168.3.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:85 errors:0 dropped:0 overruns:0 frame:0
          TX packets:55 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:9875 (9.6 KiB)  TX bytes:20454 (19.9 KiB)

br-wan    Link encap:Ethernet  HWaddr 00:0B:6B:87:4C:9E
          inet addr:192.168.1.10  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:11 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:462 (462.0 B)

eth0      Link encap:Ethernet  HWaddr 00:0C:42:13:B2:B8
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:664 errors:0 dropped:0 overruns:0 frame:0
          TX packets:838 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:98744 (96.4 KiB)  TX bytes:311676 (304.3 KiB)
          Interrupt:4

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:73 errors:0 dropped:0 overruns:0 frame:0
          TX packets:73 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:6259 (6.1 KiB)  TX bytes:6259 (6.1 KiB)

wifi0     Link encap:UNSPEC  HWaddr 00-0B-6B-87-4C-9E-00-48-00-00-00-00-00-00-00
-00
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:6173 errors:0 dropped:106 overruns:0 frame:1275
          TX packets:4600 errors:35 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:195
          RX bytes:668412 (652.7 KiB)  TX bytes:401312 (391.9 KiB)
          Interrupt:32

root@OpenWrt:/#

Post Reply