Projekat

Općenito

Profil

Akcije

Podrška #16894

Zatvoren

wrt54gl firmware: tomato

Dodano od Ernad Husremović prije oko 16 godina. Izmjenjeno prije skoro 15 godina.

Status:
Zatvoreno
Prioritet:
Normalan
Odgovorna osoba:
Kategorija:
-
Početak:
30.03.2009
Završetak:
% završeno:

0%

Procjena vremena:

Fajlovi

tomato1.17_screenshots.zip (2,9 MB) tomato1.17_screenshots.zip Ernad Husremović, 31.03.2009 19:54

Povezani tiketi 2 (0 otvoreno2 zatvorenih)

korelira sa router - Podrška #17150: build tomato-aZatvorenoErnad Husremović24.04.2009

Akcije
korelira sa router - Nove funkcije #17940: nmraka-2, build tomatoZatvorenoErnad Husremović20.07.2009

Akcije
Akcije #2

Izmjenjeno od Ernad Husremović prije oko 16 godina

http://www.polarcloud.com/tomato

Tomato is a small, lean and simple replacement firmware for Linksys' WRT54G/GL/GS, Buffalo WHR-G54S/WHR-HP-G54 and other Broadcom-based routers. It features a new easy to use GUI, a new bandwidth usage monitor, more advanced QOS and access restrictions, enables new wireless features such as WDS and wireless client modes, raises the limits on maximum connections for P2P, allows you to run your custom scripts or telnet/ssh in and do all sorts of things like re-program the SES/AOSS button, adds wireless site survey to see your wifi neighbors, and more

Akcije #4

Izmjenjeno od Ernad Husremović prije oko 16 godina

  • Naslov promijenjeno iz wrt54gl firmware-i u wrt54gl firmware: tomato

hernad@nmraka-5:~/devel/git/tomato$ cat /home/hernad/.my_bashrc

...
export PATH=$PATH:/home/hernad/devel/git/tomato/tools/brcm/hndtools-mipsel-linux/bin
export PATH=$PATH:/home/hernad/devel/git/tomato/tools/brcm/hndtools-mipsel-uclibc/bin

hernad@nmraka-5:~/devel/git/tomato$ sudo ln -s /home/hernad/devel/git/tomato/tools/brcm/ /opt/brcm

...

lpd (LPD) [N/y/?] n                                                                                                        
lpr (LPR) [N/y/?] n                                                                                                        
lpq (LPQ) [N/y/?] n                                                                                                        
make[3]: Leaving directory `/home/hernad/devel/git/tomato/release/src/router/busybox'                                      
-e                                                                                                                         
Using G profile.                                                                                                           

make[2]: Leaving directory `/home/hernad/devel/git/tomato/release/src'
make[1]: Leaving directory `/home/hernad/devel/git/tomato/release/src'
make                                                                  
make[1]: Entering directory `/home/hernad/devel/git/tomato/release/src'
-e                                                                     

G Profile
Version: 1.23.0000 (Pon, 30 Mar 2009 19:03:46 +0200)
-e                                                  

make[2]: Entering directory `/home/hernad/devel/git/tomato/release/src/router'
rm -rf /home/hernad/devel/git/tomato/release/src/router/mipsel-uclibc/target  
rm -rf /home/hernad/devel/git/tomato/release/src/router/mipsel-uclibc/install 
rm -f /home/hernad/devel/git/tomato/release/src/router/mipsel-uclibc/linux.trx /home/hernad/devel/git/tomato/release/src/router/mipsel-uclibc/vmlinuz /home/hernad/devel/git/tomato/release/src/router/mipsel-uclibc/target.image                                                               
rm -rf /home/hernad/devel/git/tomato/release/src/router/mipsel-uclibc/extras                                                                    
make[3]: Entering directory `/home/hernad/devel/git/tomato/release/src/router/shared'                                                           
In file included from shared.h:4,                                                                                                               
                 from process.c:14:                                                                                                             
tomato_profile.h:7:2: #endif without #if                                                                                                        
In file included from shared.h:4,                                                                                                               
                 from strings.c:18:                                                                                                             
tomato_profile.h:7:2: #endif without #if                                                                                                        
In file included from shared.h:4,                                                                                                               
                 from files.c:18:                                                                                                               
tomato_profile.h:7:2: #endif without #if                                                                                                        
In file included from shared.h:4,                                                                                                               
                 from version.c:1:                                                                                                              
tomato_profile.h:7:2: #endif without #if                                                                                                        
In file included from shared.h:4,                                                                                                               
                 from led.c:17:                                                                                                                 
tomato_profile.h:7:2: #endif without #if                                                                                                        
In file included from shared.h:4,                                                                                                               
                 from misc.c:26:                                                                                                                
tomato_profile.h:7:2: #endif without #if                                                                                                        
In file included from shared.h:4,                                                                                                               
                 from id.c:14:                                                                                                                  
tomato_profile.h:7:2: #endif without #if                                                                                                        
In file included from shared.h:4,                                                                                                               
                 from wl.c:26:                                                                                                                  
tomato_profile.h:7:2: #endif without #if                                                                                                        
In file included from shared.h:4,                                                                                                               
                 from shutils.c:35:                                                                                                             
tomato_profile.h:7:2: #endif without #if                                                                                                        
make[3]: Leaving directory `/home/hernad/devel/git/tomato/release/src/router/shared'                                                            
make[3]: Entering directory `/home/hernad/devel/git/tomato/release/src/router/shared'                                                           
 [shared] CC shutils.o                                                                                                                          
In file included from shared.h:4,                                                                                                               
                 from shutils.c:35:                                                                                                             
tomato_profile.h:1: parse error before '-' token
tomato_profile.h:1: syntax error at '#' token
In file included from shared.h:4,
                 from shutils.c:35:
tomato_profile.h:7:2: #endif without #if
In file included from shared.h:6,
                 from shutils.c:35:
/opt/brcm/hndtools-mipsel-uclibc-0.9.19/include/netinet/in.h:194: parse error before "uint8_t" 
/opt/brcm/hndtools-mipsel-uclibc-0.9.19/include/netinet/in.h:197: parse error before '}' token
/opt/brcm/hndtools-mipsel-uclibc-0.9.19/include/netinet/in.h:201: parse error before '}' token
In file included from shared.h:6,
                 from shutils.c:35:
/opt/brcm/hndtools-mipsel-uclibc-0.9.19/include/netinet/in.h:235: field `sin6_addr' has incomplete type
/opt/brcm/hndtools-mipsel-uclibc-0.9.19/include/netinet/in.h:243: field `ipv6mr_multiaddr' has incomplete type
In file included from shared.h:6,
                 from shutils.c:35:
/opt/brcm/hndtools-mipsel-uclibc-0.9.19/include/netinet/in.h:366: field `ipi6_addr' has incomplete type
make[3]: *** [shutils.o] Error 1
make[3]: Leaving directory `/home/hernad/devel/git/tomato/release/src/router/shared'
make[2]: *** [shared] Error 2
make[2]: Leaving directory `/home/hernad/devel/git/tomato/release/src/router'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/hernad/devel/git/tomato/release/src'
make: *** [all] Error 2
cp: ne mogu stat `release/image/code.bin': No such file or directory

Akcije #5

Izmjenjeno od Ernad Husremović prije oko 16 godina

Makefile - koristi bash shell

hernad@nmraka-5:~/devel/git/tomato$ cat Makefile

test:
        @echo -e "eheee" 

hernad@nmraka-5:~/devel/git/tomato$ make test

-e eheee

e sad je bash shell

hernad@nmraka-5:~/devel/git/tomato$ make SHELL=/bin/bash test

eheee

Akcije #9

Izmjenjeno od Ernad Husremović prije oko 16 godina

sh -> bash

hernad@nmraka-5:~/devel/git/tomato/release/src$ sudo rm /bin/sh
hernad@nmraka-5:~/devel/git/tomato/release/src$ sudo ln -s /bin/bash /bin/sh

Akcije #10

Izmjenjeno od Ernad Husremović prije oko 16 godina

hernad@nmraka-5:~/devel/git/tomato$ git branch -l

  tomato
  tomato-ND
* tomato-ND-USBmod
  tomato-ND-fixes
  tomato-fixes

hernad@nmraka-5:~/devel/git/tomato/release/src/router$ make menuconfig

hernad@nmraka-5:~/devel/git/tomato/release/src$ make

...
sort.c:246: warning: format ‘%lld’ expects type ‘long long int’, but argument 3 has type ‘__off_t’                                              
sort.c:254: warning: format ‘%lld’ expects type ‘long long int’, but argument 3 has type ‘__off_t’                                              
g++ mksquashfs.o read_fs.o sort.o -Llzma/C/7zip/Compress/LZMA_Lib -llzma -o mksquashfs-lzma                                                     
make[4]: Leaving directory `/home/hernad/devel/git/tomato/release/src/linux/linux/scripts/squashfs'                                             
Creating little endian 3.0 filesystem on /home/hernad/devel/git/tomato/release/src/router/mipsel-uclibc/target.image, block size 65536.         

Little endian filesystem, data block size 65536, compressed data, compressed metadata, compressed fragments
Filesystem size 2943.47 Kbytes (2.87 Mbytes)                                                               
        25.26% of uncompressed filesystem size (11653.56 Kbytes)                                           
Inode table size 4435 bytes (4.33 Kbytes)                                                                  
        23.75% of uncompressed inode table size (18670 bytes)                                              
Directory table size 5214 bytes (5.09 Kbytes)                                                              
        59.56% of uncompressed directory table size (8754 bytes)                                           
Number of duplicate files found 0                                                                          
Number of inodes 584                                                                                       
Number of files 408                                                                                        
Number of fragments 38                                                                                     
Number of symbolic links  137                                                                              
Number of device nodes 0                                                                                   
Number of fifo nodes 0                                                                                     
Number of socket nodes 0                                                                                   
Number of directories 39                                                                                   
Number of uids 1
        hernad (1000)
Number of gids 0
make[3]: Leaving directory `/home/hernad/devel/git/tomato/release/src/router'
make[3]: Entering directory `/home/hernad/devel/git/tomato/release/src/btools'
gcc -O3 -Wall -o fpkg fpkg.c
make[3]: Leaving directory `/home/hernad/devel/git/tomato/release/src/btools'

Creating TRX: image/tomato-ND-USB-0000-Std.trx

TRX Image:
 Total Size .... : 3723264 (3636.0 KB) (3.6 MB)
   Images ...... : 3719784 (0x0038c268)
   Padding ..... : 3452
   Avail for jffs: 4 EBs + 15768
 CRC-32 ........ : F5B8EFCD
 128K Blocks ... : 29 (0x0000001D)
  64K Blocks ... : 57 (0x00000039)
 Offsets:
   0: 0x0000001C  linux/linux/arch/mips/brcm-boards/bcm947xx/compressed/vmlinuz
   1: 0x000AC284  router/mipsel-uclibc/target.image
   2: 0x00000000

-----------------
 1.23.0000 ND USB Std  ready
-----------------
make[2]: Leaving directory `/home/hernad/devel/git/tomato/release/src'
make[1]: Leaving directory `/home/hernad/devel/git/tomato/release/src'

TCONFIG ...

hernad@nmraka-5:~/devel/git/tomato/release/src/router$ grep -r TCONFIG_DDNS *

config/config.in:config TCONFIG_DDNS
config_a:TCONFIG_DDNS=y
config_base:TCONFIG_DDNS=y
config_current:TCONFIG_DDNS=y
Makefile:#      obj-$(TCONFIG_DDNS) += ipupdate
grep: mipsel-uclibc/target/www/ext: No such file or directory
grep: mipsel-uclibc/target/www/user: No such file or directory
grep: mipsel-uclibc/target/var: No such file or directory
grep: mipsel-uclibc/target/root: No such file or directory
grep: mipsel-uclibc/target/home: No such file or directory

grep: mipsel-uclibc/target/etc: No such file or directory
grep: mipsel-uclibc/target/usr/share: No such file or directory
grep: mipsel-uclibc/target/usr/local/share: No such file or directory
grep: mipsel-uclibc/target/mnt: No such file or directory
rc/rc.h:#ifdef TCONFIG_DDNS
rc/rc.c:#ifdef TCONFIG_DDNS
rc/Makefile:ifeq ($(TCONFIG_DDNS),y)
rc/Makefile:ifeq ($(TCONFIG_DDNS),y)
shared/tomato_config.h:#define TCONFIG_DDNS 1

Akcije #11

Izmjenjeno od Ernad Husremović prije oko 16 godina

hernad@nmraka-5:~/devel/git/tomato/release$ ls -l ./src/image/tomato-ND-USB-0000-Std.trx

-rw-r--r-- 1 hernad hernad 3723264 2009-03-30 21:05 ./src/image/tomato-ND-USB-0000-Std.trx

Akcije #13

Izmjenjeno od Ernad Husremović prije oko 16 godina

http://nicolas314.wordpress.com/2008/06/09/tomato-vs-openwrt/

...

End of the road for WRT54G? Not at all. ‘Tomato’ was recommended to me as yet another alternative firmware and since I tried it I cannot get back to OpenWRT. Where the latter is rich in potential, Tomato is rich in achievements. If you want to setup a basic service with OpenWRT you have to skim through pages and pages of (well-written) documentation to understand all the details of what you are trying to do, then absorb all needed knowledge to configure that stuff, and then several full evenings of experimentation to get things straight. And even then performance might be poor or you may get into dark corners not covered by any documentation and then your only hope lies in some IRC channels. Nice but tiresome.

Tomato is the straight thing: it does not offer as many options as OpenWRT but everything it covers is user-friendly, works immediately as described, and does not need countless hours of painful experimentations. Overall network performance also seems to be better with Tomato but I did not try to benchmark the whole thing. Judging by what I have seen over the last two weeks, my bandwidth seems to have increased by 15-20% on average.

Akcije #14

Izmjenjeno od Ernad Husremović prije oko 16 godina

root@OpenWrt:/tmp# mtd -r write tomato-ND-USB-0000-Std.trx linux

Akcije #15

Izmjenjeno od Ernad Husremović prije skoro 15 godina

  • Status promijenjeno iz Dodijeljeno u Zatvoreno
Akcije

Također dostupno kao Atom PDF