1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Tomato ND USB Mod

Discussion in 'Tomato Firmware' started by teddy_bear, Dec 17, 2008.

  1. toolbox

    toolbox Addicted to LI Member

    Another newbie question...

    I installed build 47 on my Asus WL-520gu and is working fine. I also configured the router as Master Browser and WINS server per http://tomatousb.org/tut:configure-windows-network-browsing . It is working fine except Asus is showing up as one of the computer on my network. Is this because SAMBA is turned on on the router by default. Is there a way to not show the Asus router as one of the computer on the network?
    Thanks.
     
  2. bluechalk

    bluechalk Networkin' Nut Member

    I've been noticing that the FTP server goes away after a day or so of non-use. I'm running Tomato v1.27.8747 ND USB Std on a WL-520GU. I'm using LAN Only for FTP. In order to get it going again, I go to the "FTP Server" web page, not enter anything new on the page, and click Save. Then it works again for a while.
     
  3. andy

    andy Addicted to LI Member

    I have been using TB mod + optware amule without problem. Now, I set up a small x86 PC using Debian Squeeze. I use the same client PC with amulecmd to add download links. When added to the router, Chinese filenames displayed correctly in amulegui, but when added to the x86 PC, the filenames are displayed something like [飞屋çŽÂ¯Ã¦Â¸Â¸Ã¨Â®Â°].

    What setting I have missed in the x86 PC ?
     
  4. harman

    harman Networkin' Nut Member

    First of all thank you for your response!
    So if the jffs,ext and opt are all mounted in /mnt/label there is no problem?. secondly for the swap, sorry for being a noob, but what do you mean create a file? how can i do that?
    searching around i also found these scripts :
    sleep 10 && mount /dev/scsi/host0/bus0/target0/lun0/part1 /opt
    sleep 10 && mount /dev/scsi/host0/bus0/target0/lun0/part3 /jffs
    sleep 10 && mount /dev/scsi/host0/bus0/target0/lun0/part4 /mnt
    sleep 10 && /opt/bin/busybox swapon /dev/scsi/host0/bus0/target0/lun0/part2

    are these correct to use?
    sorry again for the noob questions.
    thank you.
     
  5. bluechalk

    bluechalk Networkin' Nut Member

    I added a new user to my Tomato v1.27.8747 ND USB Std in /etc/passwd. When I login as that user via ssh, I get the message "-sh: nvram: Permission denied". Everything seems to be working normally, but I'm curious about what is trying to access nvram.

     
  6. rhester72

    rhester72 Network Guru Member

    Unprivileged user running something out of /etc/profile requiring nvram, perhaps?

    Rodney
     
  7. bluechalk

    bluechalk Networkin' Nut Member

    Yes, that's it. /etc/profile has:

     
  8. ray123

    ray123 LI Guru Member

    Harman,

    2) No, those scripts are very very obsolete. [edit] Oh, and they are wrong wrong wrong! As in "pluck out your eyes wonrg".

    1) I think you are confused about jffs. Unless you really know what you are doing (that is, if you develop Linux shell scripts in with cat and your fingers automatically twitch in VI commands), you don't want to have a partition on your hard drive named jffs. Or mnt. Or probably even opt.

    How did you make the partitions on your hard drive? You had to have used something like fdisk on a Linux system, right? Then you had to have formatted them using mkfs & mkswap, right? When you did that, you gave a label like:
    "mkfs.exts -L maxtor_250gb /dev/xyz1" and "mkswap -L 64mb_swap /dev/xyz2" and
    "mkfs.exts -L MUsic /dev/xyz3"

    When your router boots up, or you plug in the drive, the disk partitions get automounted. From then on out, you can refer to them like this: " ls /mnt/maxtor_250gb" and "ls /mnt/Music".
    Note that "/mnt" is an alias for "/tmp/mnt", so you can use either one and you might see either one. No matter---they are identical.

    You have to create the file I mentioned in *any* partition that gets automounted on that disk. All the *.autorun files in the root directory will get executed when it gets mounted.

    You can create the file with any editor. What I do is to create/edit them on my desktop PC and then copy them (via ftp or using the Windows shared folder) over to the disk on the router. It has to be executable, so after you create it you need to do "chmod +x FILENAME".

    You *can* create/edit files on the router if you are telnet'ed in to it, using vi. I wouldn't recommend vi, though, it's old and clunky.
     
  9. harman

    harman Networkin' Nut Member

    Ray 123,

    i don't know how to thank you for loosing your time helping me.
    i have formated the disk with an ubuntu laptop i have and i created the partitions.
    as i mentioned from automount (i have it enabled, don't know if i should) on the router i see :

    Toshiba External USB HDD
    Partition 'Optware' ext3 (2,048.98 MB) is mounted on /tmp/mnt/Optware
    Partition 'disc0_2' swap (512.00 MB) is not active
    Partition 'JFFS' ext3 (2,048.00 MB) is mounted on /tmp/mnt/JFFS
    Partition 'Data' ext3 (460.00 GB) is mounted on /tmp/mnt/Data

    since the usb drive is pretty big, i also bought a usb powered hub, cause the router couldn't handle it.
    i did this operation, thinking of the possibilities installing later optware packages for example torrent and other interesting packages. i have searched online but the guides are pretty tough to understand for a noob. anyway. at least for the line i wanted to be sure i have everything configured ok, and then try with optware and other things :).
    thank you again, really.
     
  10. Polaris75

    Polaris75 Networkin' Nut Member

    Hey guys,

    Got my router debricked. The Linux/BSD TFTP client seems to solve all the timing issues with the Windows clients ... I've got it first try with it about 3 or 4 times now ...

    Anyway ... I know this is sort of a general C/Linux thing, but the pppoecd source says it's a Broadcom thing, so the C/Linux crowd might shove me back in this direction, and although I think it's used in regular Tomato too, as I'm building a K26 build I thought I might get bumped back here on that fact, so I decided to start here :)

    I'm trying to put IPV6CP back into pppoecd ... I think I've done everything right so far, but I'm getting the following error when I try to build -

    Code:
    ../pppd/ipv6cp.c: In function 'printifaceid':
    ../pppd/ipv6cp.c:342: warning: implicit declaration of function 'llv6_ntoa'
    ../pppd/ipv6cp.c: At top level:
    ../pppd/ipv6cp.c:353: error: conflicting types for 'llv6_ntoa'
    ../pppd/ipv6cp.c:342: error: previous implicit declaration of 'llv6_ntoa' was here
    The code in question is -

    Code:
    static void
    printifaceid(opt, printer, arg)
        option_t *opt;
        void (*printer) __P((void *, char *, ...));
        void *arg;
    {
            ipv6cp_options *wo = &ipv6cp_wantoptions[0];
    
            if (wo->opt_local)
                    printer(arg, "%s", llv6_ntoa(wo->ourid)); // Line 342
            printer(arg, ",");
            if (wo->opt_remote)
                    printer(arg, "%s", llv6_ntoa(wo->hisid));
    }
    
    /*
     * Make a string representation of a network address.
     */
    char *
    llv6_ntoa(ifaceid)
        eui64_t ifaceid; // Line 353
    {
        static char b[64];
    
        sprintf(b, "fe80::%s", eui64_ntoa(ifaceid));
        return b;
    }
    I'm not sure if this is something I've done wrong (I haven't touched the source but maybe I failed to include something or something? - Wait, I think I did touch some of the *other* source in the pppoecd directory to re-add any references I found in the pppd versions to eui64.c or ipv6cp.c - but I haven't touched ipv6cp.c) or what ... All I did to try to include it (I think, I've done and undone a lot of things now) is add the following to router/ppp/pppoecd/Makefile -

    Code:
    OBJS += ipv6cp.o eui64.o
    CFLAGS   += -DINET6=1
    Any help would be greatly appreciated! Or even just a point in the right direction if I should be asking for help somewhere else :)

    Thanks! :)


    Edit - Hrm, I put pppd in place of pppoecd in full, copied Makefile.linux to Makefile and uncommented HAVE_IPV6 and I'm getting the same error ... going to try dropping a whole new version of pppd in there I guess ...
     
  11. ray123

    ray123 LI Guru Member

    It's telling you right there what's the problem. Not your fault---there's a lot of this bad coding in the kernel. Dunno why Linus has never required people to fix them.

    The implicit declaration is that the function return type is "int". But then the actual declaration is return type "char *".
     
  12. Polaris75

    Polaris75 Networkin' Nut Member

    Thanks :) I thought that was it, but I'm a C-noob so I wasn't sure :)

    I guess I'll try to change one to the other or vice versa ... or something ... and see what happens :)


    Edit - Ok, I *thought* I thought so yesterday, but now looking at it again, I'm not sure if or why I thought so and am pretty lost ... could you point me at the implicit declaration you mention? :) I'm not seeing it ... %s is a char array isn't it? And that's what it is returning?

    Total C-noob, as I said :)
     
  13. ray123

    ray123 LI Guru Member

    This is the implicit declaration:
    printer(arg, "%s", llv6_ntoa(wo->ourid)); // Line 342

    All you need to do is put this line somewhere before that:
    char *llv6_ntoa(ifaceid);

    That is an explicit declaration.
     
  14. Polaris75

    Polaris75 Networkin' Nut Member

    woot! Thanks! I think it worked ... I'm getting all new errors now :biggrin: I think they're due to some of the stripped out options ... I'll play more and see what I come up with :) Thanks again!! :)
     
  15. Polaris75

    Polaris75 Networkin' Nut Member

    Wow ... I think I just overwrote about a week's work -

    Code:
    rob@debian:~$ mkdir tomato_usb_clean
    rob@debian:~$ cd tomato
    rob@debian:~/tomato$ tar zxf ../tomato_usb.tar.gz
    rob@debian:~/tomato$ ls
    CHANGELOG  make_all.sh  README.TXT  tomato     tools
    COPYING    make.sh      release     toolchain  VERSION
    rob@debian:~/tomato$
    
    :frown:

    This may be the end of my adventures in custom firmware :frown:

    Edit - Oh thank God!!! I didn't notice that tomato directory in there ... WHEW! That was a close one! I'd better tar all this up just in case :)
     
  16. rhester72

    rhester72 Network Guru Member

    Polaris, don't sweat it - I've done worse, but after you get over the staggering sense of loss, you'll often find that the experience gained up to that point results in a better approach and cleaner code the second time around. ;)

    That having been said, very glad to hear you didn't lose anything. =)

    You might want to consider using git to track your local changes, so you can easily revert and have a "backup" of sorts.

    Rodney
     
  17. Polaris75

    Polaris75 Networkin' Nut Member

    Yes ... I highly suspect it would ... I've done some dirty, dirty things before I got that initial bit of comfort with the code ...

    Example - if I turn off the web interface, RADVD and the v6 address on the LAN interface will go with it :biggrin::biggrin::biggrin:

    Ooo, I didn't know git could be used locally ... dang, I wish I'd set it up from day 1 ... I'll look into it :) Thanks for the tip :)
     
  18. Polaris75

    Polaris75 Networkin' Nut Member

    WOOT!

    Code:
    Creating TRX: image/tomato-K26-1.27.--defMIPSR1-Std.trx
    
    TRX Image:
     Total Size .... : 3805184 (3716.0 KB) (3.6 MB)
    <snip>
    -----------------
    1.27.0017 MIPSR1 K26 Std  ready
    -----------------
    I had to modify the includes in ipv6cp.c a little to clear up the errors ... I don't know what the difference between -

    Code:
    #include "pppd.h"
    and

    Code:
    #include <pppd.h>
    is, but the first one which was in there initially, didn't work :)

    I think I now have a v6 capable version of pppoecd ... the issue now might be the v6 trigger ... with pppoecd using all command line options and pppd expecting "+ipv6" from a config file (I believe), I'm not sure if there is any way to turn it on yet ... guess I'll have to copy and modify some of the other option code somewhere ...

    I'll post a patch or something of my efforts when I'm all done since all this is actually clean enough to share :)
     
  19. rhester72

    rhester72 Network Guru Member

    The former (with quotes) expects to find the header in the same directory as the source including it. The latter (with brackets) will search the entire INCLUDE path for the file.

    In general, project-specific headers and "overrides" (includes with the same name as a system include but different/modified contents) use quotes, system-supplied headers use brackets. (That last part is a book unto itself, as there is not a lot of consistency in terms of what constitutes "system-supplied" across various distributions/operating systems.)

    Rodney
     
  20. Polaris75

    Polaris75 Networkin' Nut Member

    Sweet :) Thanks :) Hopefully I remember that if ever I need to know it :)
     
  21. Polaris75

    Polaris75 Networkin' Nut Member

    *happy dance*


    ppp1 Link encap:point-to-Point Protocol
    inet addr:<snip>.185.1 P-t-P:<snip>.154.103 Mask:255.255.255.255
    inet6 addr: <snip>:155:6814:cb42:4959:6ae7/64 Scope:Global
    inet6 addr: fe80::6814:cb42:4959:6ae7/10 Scope:Link
    UP POINTOPOINT RUNNING MULTICAST MTU:1492 Metric:1
    RX packets:9 errors:0 dropped:0 overruns:0 frame:0
    TX packets:13 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:3
    RX bytes:1366 (1.3 KiB) TX bytes:796 (796.0 B)


    Just a couple little things to do (-6 requires an argument at the moment and is not documented in the usage blurb) and I'll figure out how to dump my changes in a patch ... unless there is a better way for me to extract and contribute them ...
     
  22. Polaris75

    Polaris75 Networkin' Nut Member

    Hope I made this right :)

    Here's the patch for working IPv6CP in PPPoEcd with a -6 switch to enable it. The only thing I think I did a little messy that should probably be touched up a bit is the Makefile in the pppoecd directory :)

    Sorry it's a zip ... the board doesn't accept .patch or .tar.gz files it seems ...
     

    Attached Files:

  23. teddy_bear

    teddy_bear Network Guru Member

    Polaris75,
    Great, thanks for your work!
    Would you be able to get patch using diff -up instead?
     
  24. Polaris75

    Polaris75 Networkin' Nut Member

    Absolutely :) Here it is. -up didn't do much so after flipping through the man page I settled on -uprB - if that's still not what you need just let me know and I'll make another :)
     

    Attached Files:

  25. dmb41crash

    dmb41crash Networkin' Nut Member


    I'm sorry to rehash this, but it's driving me insane! My entire log is clogged up with these CIFS entries, and short of disabling bandwidth logging to the CIFS client (which I don't want to do, nor should I have to), I can't figure out why I'm getting these messages. The bandwidth log file is reading/writing just fine, and the CIFS drive is mounting with no issues.

    Is anyone else getting these log entries? Does anyone have a clue what is causing them, or how to rectify it?

    I'm posting my full log, maybe something will jump out at someone.

    PS - Running the latest v1.27.8747 ND Std

    Code:
    Dec 31 19:00:03 ? syslog.info syslogd started: BusyBox v1.16.1
    Dec 31 19:00:04 ? user.notice kernel: klogd started: BusyBox v1.16.1 (2010-06-11 03:37:29 EDT)
    Dec 31 19:00:04 ? user.warn kernel: CPU revision is: 00029008
    Dec 31 19:00:04 ? user.warn kernel: Primary instruction cache 16kB, physically tagged, 2-way, linesize 16 bytes.
    Dec 31 19:00:04 ? user.warn kernel: Primary data cache 8kB, 2-way, linesize 16 bytes.
    Dec 31 19:00:04 ? user.warn kernel: Linux version 2.4.37.9 (root@tomato) (gcc version 3.4.6) #6 2010-06-11 03:43:58 EDT
    Dec 31 19:00:04 ? user.warn kernel: Setting the PFC to its default value
    Dec 31 19:00:04 ? user.warn kernel: Determined physical RAM map:
    Dec 31 19:00:04 ? user.warn kernel:  memory: 01000000 @ 00000000 (usable)
    Dec 31 19:00:04 ? user.warn kernel: On node 0 totalpages: 4096
    Dec 31 19:00:04 ? user.warn kernel: zone(0): 4096 pages.
    Dec 31 19:00:04 ? user.warn kernel: zone(1): 0 pages.
    Dec 31 19:00:04 ? user.warn kernel: zone(2): 0 pages.
    Dec 31 19:00:04 ? user.warn kernel: Kernel command line: root=/dev/mtdblock2 noinitrd console=ttyS0,115200
    Dec 31 19:00:04 ? user.warn kernel: CPU: BCM5352 rev 0 pkg 2 at 200 MHz
    Dec 31 19:00:04 ? user.warn kernel: Using 100.000 MHz high precision timer.
    Dec 31 19:00:04 ? user.warn kernel: Calibrating delay loop... 199.47 BogoMIPS
    Dec 31 19:00:04 ? user.info kernel: Memory: 14332k/16384k available (1441k kernel code, 2052k reserved, 100k data, 80k init, 0k highmem)
    Dec 31 19:00:04 ? user.info kernel: Dentry cache hash table entries: 2048 (order: 2, 16384 bytes)
    Dec 31 19:00:04 ? user.info kernel: Inode cache hash table entries: 1024 (order: 1, 8192 bytes)
    Dec 31 19:00:04 ? user.info kernel: Mount cache hash table entries: 512 (order: 0, 4096 bytes)
    Dec 31 19:00:04 ? user.info kernel: Buffer cache hash table entries: 1024 (order: 0, 4096 bytes)
    Dec 31 19:00:04 ? user.warn kernel: Page-cache hash table entries: 4096 (order: 2, 16384 bytes)
    Dec 31 19:00:04 ? user.warn kernel: Checking for 'wait' instruction...  unavailable.
    Dec 31 19:00:04 ? user.warn kernel: POSIX conformance testing by UNIFIX
    Dec 31 19:00:04 ? user.warn kernel: PCI: no core
    Dec 31 19:00:04 ? user.warn kernel: PCI: Fixing up bus 0
    Dec 31 19:00:04 ? user.info kernel: Linux NET4.0 for Linux 2.4
    Dec 31 19:00:04 ? user.info kernel: Based upon Swansea University Computer Society NET3.039
    Dec 31 19:00:04 ? user.warn kernel: Initializing RT netlink socket
    Dec 31 19:00:04 ? user.warn kernel: Starting kswapd
    Dec 31 19:00:04 ? user.info kernel: devfs: v1.12c (20020818) Richard Gooch (rgooch@atnf.csiro.au)
    Dec 31 19:00:04 ? user.info kernel: devfs: boot_options: 0x1
    Dec 31 19:00:04 ? user.info kernel: squashfs: version 3.0 (2006/03/15) Phillip Lougher
    Dec 31 19:00:04 ? user.warn kernel: pty: 256 Unix98 ptys configured
    Dec 31 19:00:04 ? user.info kernel: Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ SERIAL_PCI enabled
    Dec 31 19:00:04 ? user.info kernel: ttyS00 at 0xb8000300 (irq = 3) is a 16550A
    Dec 31 19:00:04 ? user.info kernel: ttyS01 at 0xb8000400 (irq = 3) is a 16550A
    Dec 31 19:00:04 ? user.warn kernel: HDLC line discipline: version $Revision: 3.7 $, maxframe=4096
    Dec 31 19:00:04 ? user.info kernel: N_HDLC line discipline registered.
    Dec 31 19:00:04 ? user.info kernel: PPP generic driver version 2.4.2
    Dec 31 19:00:04 ? user.info kernel: PPPoL2TP kernel driver, V0.15.1
    Dec 31 19:00:04 ? user.info kernel: PPTP driver version 0.8.4
    Dec 31 19:00:04 ? user.debug kernel: Physically mapped flash: Found an alias at 0x400000 for the chip at 0x0
    Dec 31 19:00:04 ? user.debug kernel: Physically mapped flash: Found an alias at 0x800000 for the chip at 0x0
    Dec 31 19:00:04 ? user.debug kernel: Physically mapped flash: Found an alias at 0xc00000 for the chip at 0x0
    Dec 31 19:00:04 ? user.debug kernel: Physically mapped flash: Found an alias at 0x1000000 for the chip at 0x0
    Dec 31 19:00:04 ? user.debug kernel: Physically mapped flash: Found an alias at 0x1400000 for the chip at 0x0
    Dec 31 19:00:04 ? user.debug kernel: Physically mapped flash: Found an alias at 0x1800000 for the chip at 0x0
    Dec 31 19:00:04 ? user.debug kernel: Physically mapped flash: Found an alias at 0x1c00000 for the chip at 0x0
    Dec 31 19:00:04 ? user.notice kernel:  Amd/Fujitsu Extended Query Table v1.1 at 0x0040
    Dec 31 19:00:04 ? user.notice kernel:  Flash Id: Vendor: 0x00c2 Device: 0x00a8
    Dec 31 19:00:04 ? user.notice kernel: number of CFI chips: 1
    Dec 31 19:00:04 ? user.notice kernel: cfi_cmdset_0002: Disabling fast programming due to code brokenness.
    Dec 31 19:00:04 ? user.notice kernel: Flash device: 0x400000 at 0x1c000000
    Dec 31 19:00:04 ? user.notice kernel: Creating 5 MTD partitions on "Physically mapped flash":
    Dec 31 19:00:04 ? user.notice kernel: 0x00000000-0x00040000 : "pmon"
    Dec 31 19:00:04 ? user.notice kernel: 0x00040000-0x003f0000 : "linux"
    Dec 31 19:00:04 ? user.notice kernel: 0x000bcc00-0x002f0000 : "rootfs"
    Dec 31 19:00:04 ? user.notice kernel: 0x002f0000-0x003f0000 : "jffs2"
    Dec 31 19:00:04 ? user.notice kernel: 0x003f0000-0x00400000 : "nvram"
    Dec 31 19:00:04 ? user.err kernel: sflash: found no supported devices
    Dec 31 19:00:04 ? user.info kernel: Initializing Cryptographic API
    Dec 31 19:00:04 ? user.info kernel: NET4: Linux TCP/IP 1.0 for NET4.0
    Dec 31 19:00:04 ? user.info kernel: IP Protocols: ICMP, UDP, TCP, IGMP
    Dec 31 19:00:04 ? user.info kernel: IP: routing cache hash table of 16384 buckets, 128Kbytes
    Dec 31 19:00:04 ? user.info kernel: TCP: Hash tables configured (established 1024 bind 2048)
    Dec 31 19:00:04 ? user.info kernel: Linux IP multicast router 0.06 plus PIM-SM
    Dec 31 19:00:04 ? user.warn kernel: ip_conntrack version 2.1 (16384 buckets, 8192 max) - 324 bytes per conntrack
    Dec 31 19:00:04 ? user.warn kernel: ip_tables: (C) 2000-2002 Netfilter core team
    Dec 31 19:00:04 ? user.info kernel: NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
    Dec 31 19:00:04 ? user.info kernel: NET4: Ethernet Bridge 008 for NET4.0
    Dec 31 19:00:04 ? user.info kernel: 802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
    Dec 31 19:00:04 ? user.info kernel: All bugs added by David S. Miller <davem@redhat.com>
    Dec 31 19:00:04 ? user.warn kernel: VFS: Mounted root (squashfs filesystem) readonly.
    Dec 31 19:00:04 ? user.info kernel: Mounted devfs on /dev
    Dec 31 19:00:04 ? user.info kernel: Freeing unused kernel memory: 80k freed
    Dec 31 19:00:04 ? user.debug kernel: PCI: Setting latency timer of device 00:01.0 to 64
    Dec 31 19:00:04 ? user.warn kernel: eth0: Broadcom BCM47xx 10/100 Mbps Ethernet Controller 4.150.10.29
    Dec 31 19:00:04 ? user.debug kernel: PCI: Setting latency timer of device 00:05.0 to 64
    Dec 31 19:00:05 ? user.debug kernel: vlan0: dev_set_promiscuity(master, 1)
    Dec 31 19:00:05 ? user.info kernel: device eth0 entered promiscuous mode
    Dec 31 19:00:05 ? user.info kernel: device vlan0 entered promiscuous mode
    Dec 31 19:00:06 ? user.info kernel: device eth1 entered promiscuous mode
    Dec 31 19:00:06 ? user.info kernel: br0: port 2(eth1) entering learning state
    Dec 31 19:00:06 ? user.info kernel: br0: port 1(vlan0) entering learning state
    Dec 31 19:00:06 ? user.warn kernel: vlan1: Setting MAC address to  XX XX XX XX XX XX.
    Dec 31 19:00:06 ? user.info kernel: br0: port 2(eth1) entering forwarding state
    Dec 31 19:00:06 ? user.info kernel: br0: topology change detected, propagating
    Dec 31 19:00:06 ? user.info kernel: br0: port 1(vlan0) entering forwarding state
    Dec 31 19:00:06 ? user.info kernel: br0: topology change detected, propagating
    Dec 31 19:00:06 ? daemon.info udhcpc[74]: udhcpc (v1.16.1) started
    Dec 31 19:00:06 ? user.debug kernel: vlan1: add 01:00:5e:00:00:01 mcast address to master interface
    Dec 31 19:00:06 ? daemon.info udhcpc[74]: Sending discover...
    Dec 31 19:00:06 ? daemon.info udhcpc[74]: Sending select for XXX.XXX.XXX.XXX...
    Dec 31 19:00:06 ? daemon.info udhcpc[74]: Lease of XXX.XXX.XXX.XXX obtained, lease time 604800
    Dec 31 19:00:06 ? user.info mount-cifs[78]: notice[cifs]: Mounting...
    Dec 31 19:00:06 ? user.info init[1]: Tomato 1.27.8747 ND Std
    Dec 31 19:00:06 ? user.info init[1]: Linksys WRT54G/GS/GL
    Dec 31 19:00:07 ? daemon.info dnsmasq[97]: started, version 2.55 cachesize 150
    Dec 31 19:00:07 ? daemon.info dnsmasq[97]: compile time options: no-IPv6 GNU-getopt no-RTC no-DBus no-I18N DHCP no-scripts TFTP
    Dec 31 19:00:07 ? daemon.info dnsmasq-dhcp[97]: DHCP, IP range 192.168.1.100 -- 192.168.1.149, lease time 1d
    Dec 31 19:00:07 ? daemon.info dnsmasq[97]: reading /etc/resolv.dnsmasq
    Dec 31 19:00:07 ? daemon.info dnsmasq[97]: using nameserver 208.67.220.220#53
    Dec 31 19:00:07 ? daemon.info dnsmasq[97]: using nameserver 208.67.222.222#53
    Dec 31 19:00:07 ? daemon.info dnsmasq[97]: read /etc/hosts - 0 addresses
    Dec 31 19:00:07 ? daemon.info dnsmasq[97]: read /etc/hosts.dnsmasq - 7 addresses
    Dec 31 19:00:07 ? daemon.crit dnsmasq[93]: failed to bind DHCP server socket: Address already in use
    Dec 31 19:00:07 ? daemon.crit dnsmasq[93]: FAILED to start up
    Dec 31 19:00:09 ? user.info rcheck[138]: Time not yet set. Only "all day, everyday" restrictions will be activated.
    Jun 21 04:13:36 ? daemon.notice miniupnpd[316]: HTTP listening on port 2049
    Jun 21 04:14:24 ? cron.err crond[83]: time disparity of 21285134 minutes detected
    Jun 21 05:13:34 ? user.err kernel:  CIFS VFS: could not find file instance for new file 809fcb40
    Jun 21 05:13:34 ? user.err kernel:  CIFS VFS: could not find file instance for new file 809fcb40
    Jun 21 06:13:34 ? user.err kernel:  CIFS VFS: could not find file instance for new file 80fd2860
    Jun 21 07:13:34 ? user.err kernel:  CIFS VFS: could not find file instance for new file 809fc7c0
    Jun 21 08:13:34 ? user.err kernel:  CIFS VFS: could not find file instance for new file 80fd26e0
    Jun 21 09:13:33 ? user.err kernel:  CIFS VFS: could not find file instance for new file 80fd2860
    Jun 21 10:13:33 ? user.err kernel:  CIFS VFS: could not find file instance for new file 809fc640
    Jun 21 11:13:34 ? user.err kernel:  CIFS VFS: could not find file instance for new file 809fc7c0
    Jun 21 12:13:34 ? user.err kernel:  CIFS VFS: could not find file instance for new file 8099c260
    Jun 21 13:13:34 ? user.err kernel:  CIFS VFS: could not find file instance for new file 809fc540
    Jun 21 14:13:33 ? user.err kernel:  CIFS VFS: could not find file instance for new file 809fc2c0
    Jun 21 15:13:33 ? user.err kernel:  CIFS VFS: could not find file instance for new file 809fc6c0
    Jun 21 16:13:33 ? user.err kernel:  CIFS VFS: could not find file instance for new file 809fc6c0
    Jun 21 17:13:32 ? user.err kernel:  CIFS VFS: could not find file instance for new file 80fd2860
    Jun 21 18:13:34 ? user.err kernel:  CIFS VFS: could not find file instance for new file 80fd24e0
    Jun 21 19:13:33 ? user.err kernel:  CIFS VFS: could not find file instance for new file 80fd2860
    Jun 21 20:13:33 ? user.err kernel:  CIFS VFS: could not find file instance for new file 8099c0e0
    Jun 21 21:13:33 ? user.err kernel:  CIFS VFS: could not find file instance for new file 80fd23e0
    Jun 21 22:13:32 ? user.err kernel:  CIFS VFS: could not find file instance for new file 80fd25e0
    Jun 21 23:13:33 ? user.err kernel:  CIFS VFS: could not find file instance for new file 809fc340
    Jun 22 00:13:32 ? user.err kernel:  CIFS VFS: could not find file instance for new file 8099c2e0
    Jun 22 00:13:32 ? user.err kernel:  CIFS VFS: could not find file instance for new file 8099c2e0
    Jun 22 01:13:33 ? user.err kernel:  CIFS VFS: could not find file instance for new file 8099cae0
    Jun 22 02:13:33 ? user.err kernel:  CIFS VFS: could not find file instance for new file 809fcb40
    Jun 22 03:13:33 ? user.err kernel:  CIFS VFS: could not find file instance for new file 80fd23e0
    Jun 22 04:13:33 ? user.err kernel:  CIFS VFS: could not find file instance for new file 809fc640
    Jun 22 05:13:32 ? user.err kernel:  CIFS VFS: could not find file instance for new file 80fd28e0
    Jun 22 06:13:32 ? user.err kernel:  CIFS VFS: could not find file instance for new file 80fd2660
    Jun 22 07:13:33 ? user.err kernel:  CIFS VFS: could not find file instance for new file 8099c2e0
    Jun 22 08:13:32 ? user.err kernel:  CIFS VFS: could not find file instance for new file 80fd24e0
    Jun 22 09:13:33 ? user.err kernel:  CIFS VFS: could not find file instance for new file 80fd2660
    Jun 22 10:13:32 ? user.err kernel:  CIFS VFS: could not find file instance for new file 809fc3c0
    Jun 22 11:13:32 ? user.err kernel:  CIFS VFS: could not find file instance for new file 8099c0e0
    Jun 22 12:13:32 ? user.err kernel:  CIFS VFS: could not find file instance for new file 80918620
    Jun 22 13:13:32 ? user.err kernel:  CIFS VFS: could not find file instance for new file 809fcbc0
    Jun 22 14:13:33 ? user.err kernel:  CIFS VFS: could not find file instance for new file 80fd25e0
    Jun 22 15:13:32 ? user.err kernel:  CIFS VFS: could not find file instance for new file 8099c2e0
    Jun 22 16:13:32 ? user.err kernel:  CIFS VFS: could not find file instance for new file 8099ca60
    Jun 22 17:13:32 ? user.err kernel:  CIFS VFS: could not find file instance for new file 80fd24e0
    Jun 22 18:13:32 ? user.err kernel:  CIFS VFS: could not find file instance for new file 809fcb40
    Jun 22 19:13:31 ? user.err kernel:  CIFS VFS: could not find file instance for new file 809fcbc0
    Jun 22 20:13:32 ? user.err kernel:  CIFS VFS: could not find file instance for new file 809fc6c0
    Jun 22 21:13:32 ? user.err kernel:  CIFS VFS: could not find file instance for new file 809fc340
    Jun 22 22:13:32 ? user.err kernel:  CIFS VFS: could not find file instance for new file 809fc6c0
    Jun 22 23:13:32 ? user.err kernel:  CIFS VFS: could not find file instance for new file 8099cae0
    Jun 23 00:13:32 ? user.err kernel:  CIFS VFS: could not find file instance for new file 8099c2e0
    Jun 23 00:13:32 ? user.err kernel:  CIFS VFS: could not find file instance for new file 8099c2e0
    Jun 23 01:13:31 ? user.err kernel:  CIFS VFS: could not find file instance for new file 8099c0e0
    Jun 23 02:13:30 ? user.err kernel:  CIFS VFS: could not find file instance for new file 80fd28e0
    Jun 23 03:13:32 ? user.err kernel:  CIFS VFS: could not find file instance for new file 80fd24e0
    Jun 23 04:13:32 ? user.err kernel:  CIFS VFS: could not find file instance for new file 80fd25e0
    Jun 23 05:13:32 ? user.err kernel:  CIFS VFS: could not find file instance for new file 80fd2660
    Jun 23 06:13:31 ? user.err kernel:  CIFS VFS: could not find file instance for new file 809fcbc0
    Jun 23 07:13:31 ? user.err kernel:  CIFS VFS: could not find file instance for new file 80fd28e0
    Jun 23 08:13:31 ? user.err kernel:  CIFS VFS: could not find file instance for new file 809fc440
    Jun 23 09:13:32 ? user.err kernel:  CIFS VFS: could not find file instance for new file 80fd26e0
    Jun 23 10:13:32 ? user.err kernel:  CIFS VFS: could not find file instance for new file 8099ca60
    Jun 23 11:13:30 ? user.err kernel:  CIFS VFS: could not find file instance for new file 80fd23e0
    Jun 23 12:13:31 ? user.err kernel:  CIFS VFS: could not find file instance for new file 809fc4c0
    Jun 23 13:13:31 ? user.err kernel:  CIFS VFS: could not find file instance for new file 8099c8e0
    Jun 23 14:13:31 ? user.err kernel:  CIFS VFS: could not find file instance for new file 809fc6c0
    Jun 23 15:15:31 ? user.err kernel:  CIFS VFS: could not find file instance for new file 809fcb40
    Jun 23 16:15:31 ? user.err kernel:  CIFS VFS: could not find file instance for new file 809fcb40
    Jun 23 17:15:31 ? user.err kernel:  CIFS VFS: could not find file instance for new file 809fc6c0
    Jun 23 18:15:31 ? user.err kernel:  CIFS VFS: could not find file instance for new file 809fc6c0
    Jun 23 19:15:31 ? user.err kernel:  CIFS VFS: could not find file instance for new file 809fc6c0
    Jun 23 20:15:31 ? user.err kernel:  CIFS VFS: could not find file instance for new file 809fc6c0
    Jun 23 21:15:30 ? user.err kernel:  CIFS VFS: could not find file instance for new file 809fc6c0
    Jun 23 22:15:30 ? user.err kernel:  CIFS VFS: could not find file instance for new file 809fc6c0
    Jun 23 23:15:31 ? user.err kernel:  CIFS VFS: could not find file instance for new file 809fc6c0
    Jun 24 00:15:31 ? user.err kernel:  CIFS VFS: could not find file instance for new file 809fc6c0
    Jun 24 00:15:31 ? user.err kernel:  CIFS VFS: could not find file instance for new file 809fc6c0
    Jun 24 01:15:31 ? user.err kernel:  CIFS VFS: could not find file instance for new file 809fc6c0
    Jun 24 02:15:29 ? user.err kernel:  CIFS VFS: could not find file instance for new file 80fd25e0
    Jun 24 03:15:30 ? user.err kernel:  CIFS VFS: could not find file instance for new file 80fd25e0
    Jun 24 04:15:30 ? user.err kernel:  CIFS VFS: could not find file instance for new file 809fc740
    Jun 24 05:15:30 ? user.err kernel:  CIFS VFS: could not find file instance for new file 809fc740
    Jun 24 06:15:31 ? user.err kernel:  CIFS VFS: could not find file instance for new file 809fc740
    Jun 24 07:15:30 ? user.err kernel:  CIFS VFS: could not find file instance for new file 809fc340
    Jun 24 08:15:30 ? user.err kernel:  CIFS VFS: could not find file instance for new file 809fc340
    Jun 24 09:15:30 ? user.err kernel:  CIFS VFS: could not find file instance for new file 8099c2e0
    Jun 24 10:15:30 ? user.err kernel:  CIFS VFS: could not find file instance for new file 8099c2e0
    Jun 24 11:15:30 ? user.err kernel:  CIFS VFS: could not find file instance for new file 8099c2e0
    Jun 24 12:15:30 ? user.err kernel:  CIFS VFS: could not find file instance for new file 8099c2e0
    Jun 24 13:15:30 ? user.err kernel:  CIFS VFS: could not find file instance for new file 8099c2e0
    Jun 24 14:15:30 ? user.err kernel:  CIFS VFS: could not find file instance for new file 8099c2e0
    Jun 24 15:15:30 ? user.err kernel:  CIFS VFS: could not find file instance for new file 8099c2e0
    Jun 24 16:15:30 ? user.err kernel:  CIFS VFS: could not find file instance for new file 8099c8e0
    Jun 24 17:15:29 ? user.err kernel:  CIFS VFS: could not find file instance for new file 809fc540
    Jun 24 18:15:30 ? user.err kernel:  CIFS VFS: could not find file instance for new file 809fc540
    Jun 24 19:15:30 ? user.err kernel:  CIFS VFS: could not find file instance for new file 809fc540
    Jun 24 20:15:30 ? user.err kernel:  CIFS VFS: could not find file instance for new file 809fc540
    Jun 24 21:15:30 ? user.err kernel:  CIFS VFS: could not find file instance for new file 809fc540
    Jun 24 22:17:29 ? user.err kernel:  CIFS VFS: could not find file instance for new file 809fc540
    Jun 24 23:17:29 ? user.err kernel:  CIFS VFS: could not find file instance for new file 809fcb40
    Jun 25 00:17:28 ? user.err kernel:  CIFS VFS: could not find file instance for new file 809fcb40
    Jun 25 00:17:29 ? user.err kernel:  CIFS VFS: could not find file instance for new file 809fcb40
    Jun 25 01:17:30 ? user.err kernel:  CIFS VFS: could not find file instance for new file 809fcb40
    Jun 25 02:17:30 ? user.err kernel:  CIFS VFS: could not find file instance for new file 8099c8e0
    Jun 25 03:17:29 ? user.err kernel:  CIFS VFS: could not find file instance for new file 8099c8e0
    Jun 25 05:17:29 ? user.err kernel:  CIFS VFS: could not find file instance for new file 8099c8e0
    Jun 25 06:17:29 ? user.err kernel:  CIFS VFS: could not find file instance for new file 8099c8e0
    Jun 25 07:17:30 ? user.err kernel:  CIFS VFS: could not find file instance for new file 809fcb40
    Jun 25 08:17:29 ? user.err kernel:  CIFS VFS: could not find file instance for new file 809fcb40
    Jun 25 09:17:29 ? user.err kernel:  CIFS VFS: could not find file instance for new file 809fc7c0
    Jun 25 10:17:29 ? user.err kernel:  CIFS VFS: could not find file instance for new file 809fc7c0
    Jun 25 11:17:29 ? user.err kernel:  CIFS VFS: could not find file instance for new file 809fc7c0
    Jun 25 12:17:29 ? user.err kernel:  CIFS VFS: could not find file instance for new file 809fc7c0
    Jun 25 13:17:29 ? user.err kernel:  CIFS VFS: could not find file instance for new file 809fc7c0
    Jun 25 14:17:29 ? user.err kernel:  CIFS VFS: could not find file instance for new file 809fc7c0
    Jun 25 15:17:29 ? user.err kernel:  CIFS VFS: could not find file instance for new file 809fc7c0
    Jun 25 16:17:29 ? user.err kernel:  CIFS VFS: could not find file instance for new file 809fc7c0
    Jun 25 17:17:29 ? user.err kernel:  CIFS VFS: could not find file instance for new file 80fd23e0
    Jun 25 18:17:28 ? user.err kernel:  CIFS VFS: could not find file instance for new file 80fd23e0
    Jun 25 19:17:28 ? user.err kernel:  CIFS VFS: could not find file instance for new file 80fd23e0
    Jun 25 20:17:30 ? user.err kernel:  CIFS VFS: could not find file instance for new file 80fd23e0
    Jun 25 21:17:29 ? user.err kernel:  CIFS VFS: could not find file instance for new file 80fd24e0
    Jun 25 22:17:29 ? user.err kernel:  CIFS VFS: could not find file instance for new file 80fd24e0
    Jun 25 23:17:28 ? user.err kernel:  CIFS VFS: could not find file instance for new file 80fd24e0
    Jun 26 00:17:28 ? user.err kernel:  CIFS VFS: could not find file instance for new file 80fd24e0
    Jun 26 00:17:28 ? user.err kernel:  CIFS VFS: could not find file instance for new file 80fd24e0
    Jun 26 01:17:28 ? user.err kernel:  CIFS VFS: could not find file instance for new file 80fd24e0
    Jun 26 02:17:28 ? user.err kernel:  CIFS VFS: could not find file instance for new file 809fc7c0
    Jun 26 03:17:29 ? user.err kernel:  CIFS VFS: could not find file instance for new file 809fc7c0
    Jun 26 04:17:28 ? user.err kernel:  CIFS VFS: could not find file instance for new file 809fc7c0
    Jun 26 05:17:28 ? user.err kernel:  CIFS VFS: could not find file instance for new file 809fc7c0
    Jun 26 06:17:27 ? user.err kernel:  CIFS VFS: could not find file instance for new file 809fc7c0
    Jun 26 07:17:28 ? user.err kernel:  CIFS VFS: could not find file instance for new file 809fc7c0
    Jun 26 08:17:28 ? user.err kernel:  CIFS VFS: could not find file instance for new file 809fc7c0
    Jun 26 09:17:27 ? user.err kernel:  CIFS VFS: could not find file instance for new file 809fc7c0
    Jun 26 10:17:28 ? user.err kernel:  CIFS VFS: could not find file instance for new file 809fc7c0
    Jun 26 11:17:28 ? user.err kernel:  CIFS VFS: could not find file instance for new file 809fc7c0
    Jun 26 12:17:28 ? user.err kernel:  CIFS VFS: could not find file instance for new file 809fc7c0
    Jun 26 13:17:28 ? user.err kernel:  CIFS VFS: could not find file instance for new file 809fc7c0
    Jun 26 14:17:27 ? user.err kernel:  CIFS VFS: could not find file instance for new file 809fc7c0
    Jun 26 15:17:27 ? user.err kernel:  CIFS VFS: could not find file instance for new file 809fc7c0
    Jun 26 16:17:28 ? user.err kernel:  CIFS VFS: could not find file instance for new file 809fc7c0
    Jun 26 17:17:28 ? user.err kernel:  CIFS VFS: could not find file instance for new file 809fc7c0
    Jun 26 18:17:28 ? user.err kernel:  CIFS VFS: could not find file instance for new file 809fc7c0
    Jun 26 19:17:27 ? user.err kernel:  CIFS VFS: could not find file instance for new file 809fc7c0
    Jun 26 20:19:27 ? user.err kernel:  CIFS VFS: could not find file instance for new file 809fc7c0
    Jun 26 21:19:27 ? user.err kernel:  CIFS VFS: could not find file instance for new file 809fc7c0
    Jun 26 22:19:28 ? user.err kernel:  CIFS VFS: could not find file instance for new file 809fc7c0
    Jun 26 23:19:28 ? user.err kernel:  CIFS VFS: could not find file instance for new file 80918d20
    Jun 27 00:19:27 ? user.err kernel:  CIFS VFS: could not find file instance for new file 809fc540
    Jun 27 00:19:27 ? user.err kernel:  CIFS VFS: could not find file instance for new file 809fc540
    Jun 27 01:19:27 ? user.err kernel:  CIFS VFS: could not find file instance for new file 809fc7c0
    Jun 27 02:19:26 ? user.err kernel:  CIFS VFS: could not find file instance for new file 809fc7c0
    Jun 27 03:19:27 ? user.err kernel:  CIFS VFS: could not find file instance for new file 809fc7c0
    Jun 27 04:19:27 ? user.err kernel:  CIFS VFS: could not find file instance for new file 809fc7c0
    Jun 27 05:19:27 ? user.err kernel:  CIFS VFS: could not find file instance for new file 809fc7c0
    Jun 27 06:19:27 ? user.err kernel:  CIFS VFS: could not find file instance for new file 809fc7c0
    Jun 27 07:19:27 ? user.err kernel:  CIFS VFS: could not find file instance for new file 809fc7c0
    Jun 27 08:19:27 ? user.err kernel:  CIFS VFS: could not find file instance for new file 809fc7c0
    Jun 27 09:19:27 ? user.err kernel:  CIFS VFS: could not find file instance for new file 809fc7c0
    Jun 27 10:19:26 ? user.err kernel:  CIFS VFS: could not find file instance for new file 809fc7c0
    Jun 27 11:19:27 ? user.err kernel:  CIFS VFS: could not find file instance for new file 809fc7c0
    Jun 27 12:19:27 ? user.err kernel:  CIFS VFS: could not find file instance for new file 809fc7c0
    Jun 27 13:19:27 ? user.err kernel:  CIFS VFS: could not find file instance for new file 809fc7c0
    Jun 27 14:19:27 ? user.err kernel:  CIFS VFS: could not find file instance for new file 809fc7c0
    Jun 27 15:19:25 ? user.err kernel:  CIFS VFS: could not find file instance for new file 809fc7c0
    Jun 27 16:19:26 ? user.err kernel:  CIFS VFS: could not find file instance for new file 809fc7c0
     
  26. teddy_bear

    teddy_bear Network Guru Member

  27. dmb41crash

    dmb41crash Networkin' Nut Member

  28. CBC888

    CBC888 Networkin' Nut Member

    Has anyone else encountered problems with FTP using build 47 beta 16?... or am I the only one?....

    Does this mean that I will be stuck using build 47 beta 15 forever?... :frown:​
     
  29. harman

    harman Networkin' Nut Member

    sorry for quoting again, but i don't know what to do .
    thanks
     
  30. Polaris75

    Polaris75 Networkin' Nut Member

    New issue ... it's an odd one ... not sure if I somehow caused it ... if anyone has seen it before or knows the fix it would be greatly appreciated ...

    After a complete NVRAM reset, using DHCP (to another LAN switch) or PPPoE (to my DSL modem), I get an iptables error and it doesn't start ... the error text from /var/log/messages is -

    Code:
    Jun 28 14:52:46 unknown user.crit dhcpc-event[781]: Error while loading rules. See /etc/iptables.error file.
    and the file it references contains what look like perfectly valid rules -

    Code:
    root@unknown:/tmp/home/root# cat /etc/iptables.error
    *mangle
    :PREROUTING ACCEPT [0:0]
    :OUTPUT ACCEPT [0:0]
    COMMIT
    *nat
    :PREROUTING ACCEPT [0:0]
    :POSTROUTING ACCEPT [0:0]
    :OUTPUT ACCEPT [0:0]
    -A PREROUTING -i vlan1 -d 192.168.1.1/255.255.255.0 -j DROP
    -A PREROUTING -p icmp -d 172.30.0.104 -j DNAT --to-destination 192.168.1.1
    -A POSTROUTING -o vlan1 -j MASQUERADE
    COMMIT
    *filter
    :INPUT DROP [0:0]
    :OUTPUT ACCEPT [0:0]
    -A INPUT -i br0 -d 172.30.0.104 -j DROP
    -A INPUT -m state --state INVALID -j DROP
    -A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT
    -A INPUT -i br0 -j ACCEPT
    -A INPUT -i lo -j ACCEPT
    :FORWARD DROP [0:0]
    -A FORWARD -i br0 -o br0 -j ACCEPT
    -A FORWARD -m state --state INVALID -j DROP
    -A FORWARD -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --clamp-mss-to-pmtu
    :wanin - [0:0]
    :wanout - [0:0]
    -A FORWARD -m state --state RELATED,ESTABLISHED -j ACCEPT
    -A FORWARD -i vlan1 -j wanin
    -A FORWARD -o vlan1 -j wanout
    -A FORWARD -i br0 -j ACCEPT
    COMMIT
    root@unknown:/tmp/home/root#
    
    I thought maybe it needs address family defined somewhere now since I've enabled v6, but with 'ip6tables' being a whole other thing that doesn't really make sense to me -

    Code:
    root@unknown:/tmp/home/root# ip6tables --list
    Chain INPUT (policy ACCEPT)
    target     prot opt source               destination
    
    Chain FORWARD (policy ACCEPT)
    target     prot opt source               destination
    
    Chain OUTPUT (policy ACCEPT)
    target     prot opt source               destination
    root@unknown:/tmp/home/root#
    
    Anyone have any ideas? Thanks.
     
  31. gtj0

    gtj0 Networkin' Nut Member

    I just ran into this. If you compiled ipv6 as a module, then the TCPMSS target gets switched from being compiled into the kernel into being compiled as a module. Unfortunately, the module isn't auto loaded, hence iptables complaining.

    In your "init" script do a "modprobe xt_TCPMSS" and that should fix the error.
     
  32. Polaris75

    Polaris75 Networkin' Nut Member

    Awesome!! That worked like a charm! Thank you SO much! :)

    I added it to the clampmss function in router/rc/firewall.c with an xstart and it worked like a charm ... though I see now poking through that file more I should have instead used "modprobe("xt_TCPMSS");" ... I'll update it for my next build ...
     
  33. ray123

    ray123 LI Guru Member

    TeddyBear,
    I'm finishing up on the fixes to jffsv1 on the 2.6 kernel. Just some more testing & cleanup yet to go.

    Q: Is there some specific reason why all the "lock_kernel" calls got put into jffs during the port to kernel 2.6? Because that's the BKL (Big Kernel Lock) -- which is a gross lock and is being replaced throughout the kernel with finer-grained locks. But jffs already has the finer grained locks, so the lock_kernels are both harmful (too gross of a lock) and un-necessary.

    Unless there's some reason for it, I'll pull them back out during the cleanup.
     
  34. tphan03

    tphan03 Networkin' Nut Member

    nice!!!
     
  35. Polaris75

    Polaris75 Networkin' Nut Member

    xt_TCPMSS appears to have IPv6 support built in, and in the src-rt/Makefile, CONFIG_IP6_NF_TARGET_TCPMSS is only set for K24, so I'm guessing it's built in to something else or so is the assumption in K26, yet when I copy the v4 iptables TCPMSS rule to my v6 config and try to load it, I get the following error -

    Code:
    ip6tables-restore v1.3.8: Unknown arg `--clamp-mss-to-pmtu'
    Anyone have any idea or suspicions as to why and/or how I can fix it? xt_TCPMSS is loaded ... Thanks! :)
     
  36. horhe

    horhe Addicted to LI Member

    Hi...

    I was a bit busy and it's just now that I that I found the time and decided to upgrade my WL-520gU from build 8744 to 8747

    Everything went well except now, the samba service is asking for a non existent password?

    Tried re-setting the password and removing it and still the same...

    FTP service though is okay...

    Reverted back to 8744 and everything is well again...

    I'm checking and investigating further what I missed...

    But would appreciate any clues or hints from you guys... :)
     
  37. qingz

    qingz Network Guru Member

    WOL does not work

    Wake-On-Lan does not work with Build 47 VPN version on my Asus WL-520gU.
    It does work if I install wakelan package and run it manually.
     
  38. sbonner

    sbonner Networkin' Nut Member

    HP LaserJet 1000

    Hey everyone,

    I'm trying to get my HP LaserJet 1000 working on my ASUS RT N-16 (running tomato-K26USB-1.27.9047MIPSR2-beta16-Ext) and I'm wondering if anyone might have had success with this. The HP 1000 requires part of the driver to be loaded via hotplug -- like the HP 1018 discussed on page 11 of this forum. Using the instruction there and on the Oleg's firmware forum I was able to get the hotplug script working, and at the moment the printer works from my computer running Ubuntu 9.10, but not from my wife's computer running Vista.

    I've followed the instructions from Oleg's site and various other places on setting up the printer in Windows -- essentially: 1) install as local printer with new IP 192.168.1.1 and port 9100, 2) use custom settings and ensure protocol is RAW, 3) select driver). But nothing happens when I try to print the test page and Windows reports and error.

    One caveat is that the HP 1000 does not have a Vista driver. Unlike the HP 1018, HP does not support the printer on Vista. However, the XP driver works locallys -- my wife has been using this printer locally without trouble since she bought a new laptop with Vista a year ago -- and so I hoped that it would also work over the network.

    Does anyone had any experience with this or suggestions on how to proceed?

    Thanks for your help!
     
  39. ghostknife

    ghostknife Addicted to LI Member

    Yep it's been a while since I asked about this but anyway it must have been a random printer/router issue and it seems to be working now. Maybe it didn't like it when winter set in or something. I tried a few things and it was still randomly doing it so I couldn't track it down to a firmware issue as I thought it was, it's all good for now..I hope.
     
  40. parkhaus

    parkhaus Addicted to LI Member

    Problem with builds > 44

    Hi teddy_bear,

    I have a WL-500g V2 P with Build 44 Extras running fine. On my WAN-port, a DSL-modem is connected (it's IP is 10.0.0.138 and has a DHCP enabled, router IP is 192.168.1.1).

    When I flash builds greater than 44 (e.g. 46 or I also just tried tomato-K26USB-1.27.9047MIPSR1-beta16-vpn3), the routing tables are not set correctly automatically, I also did a full flash with erasing NVRAM. No success (neither with Kernel 2.4 builds).

    the Routing Table (under Advanced) is attached from the WORKING 44 build. in the newer builds, the first and last line is missing. I tried to manually add them, but inserting a * as gateway causes an error.

    Do you have any idea how to resolve that? Thank you very much for your help!
     

    Attached Files:

  41. Aquafire

    Aquafire LI Guru Member

    Hello,

    I am trying to install the optware package by Lost_Animal from

    http://www.xtremecoders.org/forums/showthread.php/169-Tomato-Optware-Package-%28Valerakvb%29-Ver.11.4

    on Linksys WRTSL54GS with Tomato Firmware v1.27.8747 ND USB (teddy_bear).

    When I proceed ahead with the installation of optware as guided by the script mentioned ,

    I get the following error for missing files. I think the VPN version of tomato does contain all the binaries, I dont know why is this happening. I have tried searching for these files in the router by connecting through WinSCP, but they are not found , hence the installation of optware packages cannot continue.

    My version is :
    [​IMG]

    Following the message I get when running the script in puTTY for the missing binaries :

    Any idea what could be missing or how to make these binaries available in order to proceed with the installation.

    Maybe teddy_bear can add these binaries to the tomato firmware image file.

    Thanks for help.
     
  42. Aquafire

    Aquafire LI Guru Member

    Hello,

    I am trying to install the optware package by Lost_Animal from

    http://www.xtremecoders.org/forums/showthread.php/169-Tomato-Optware-Package-%28Valerakvb%29-Ver.11.4

    on Linksys WRTSL54GS with Tomato Firmware v1.27.8747 ND USB (teddy_bear).

    When I proceed ahead with the installation of optware as guided by the script mentioned ,

    I get the following error for missing files. I think the VPN version of tomato does contain all the binaries, I dont know why is this happening. I have tried searching for these files in the router by connecting through WinSCP, but they are not found , hence the installation of optware packages cannot continue.

    My version is :
    [​IMG]

    Following the message I get when running the script in puTTY for the missing binaries :

    Any idea what could be missing or how to make these binaries available in order to proceed with the installation.

    Maybe teddy_bear can add these binaries to the tomato firmware image file.

    Thanks for help.
     
  43. BeHappy

    BeHappy Network Guru Member

    As stated from the 1. post
    ... Standard builds of this firmware do not include tools to partition USB drives, or to format them using Ext2/Ext3 Linux native filesystems.
    You may download the tool manually or do it from Linux distro CD to format your device
     
  44. Frosty2k8

    Frosty2k8 Addicted to LI Member

    Does teddy_bear Mod support WPA2 in Wireless Ethernet Brdige mode ?
     
  45. Engineer

    Engineer Network Guru Member

    Yes (I'm running it).
     
  46. Frosty2k8

    Frosty2k8 Addicted to LI Member

    nice, which version do you use ?

    I got an oldschool WRT54GL (1.1) and do not want do install a beta version, so can i install Kernel 2.4 (stable) (noUSB std) ?
     
  47. arikam

    arikam Addicted to LI Member

    that's what I did.
     
  48. Engineer

    Engineer Network Guru Member

    That's the version that I'm using (latest stable version noUSB std). No issues.
     
  49. stangboy68

    stangboy68 Networkin' Nut Member

    I have a RT-N16 flashed with Teddy Bear K26-MIPSR2 Tomato USB mod. Everything is cool except my transfer speeds from my usb connected hd. Its a 2 tb ntfs drive. I only get 500 kb/s whether its to my macbook or win 7 machine. Any thoughts?
     
  50. rhester72

    rhester72 Network Guru Member

    NTFS is the slowest filesystem to use (speeds are ranked ext2, ext3, and ntfs in order of best to worst performance for USB mounts in Tomato), and Samba will slow things down further. This is reality on the RT-N16, unfortunately - poor drivers leading to grossly excessive CPU utilization in doing the transfers from USB to kernel space byte-by-byte.

    Rodney
     
  51. ray123

    ray123 LI Guru Member

    JFFS (V1) fix for kernel 2.6

    Teddy Bear,
    There were actually several bugs in the JFFS1 code ported to kernel 2.6.

    * The biggie that caused it to be pulled--system crash.
    a) There was a bug in the startup code for the GC kernel thread. This
    dropped a few land-mines for an innocent passer-by to step on and
    blow a leg off.

    b) Whoever put the allow_signal/disallow_signal code into jffs (both
    v2 and hence the backport to v1) didn't understand how kernel threads
    handle signals. This causes random problems & crashes. The clue is
    that the *only* place disallow_signal appears in the entire kernel
    source is in jffs2.

    * A bug in the code for deleting a file. This accidently worked in
    2.4, but crashed in 2.6.

    * A bug in a rarely taken error path.

    * The "noatime" flag should alway forcibly be set. This was done in a
    normal mount but not on a remount. The remount part is tricky,
    because setting the flag in the obvious/natural place doesn't work.

    * Removed the BKL code that shouldn't have been put into the 2.6 port.

    The first bug was extremely hard to find, and the next two bugs were
    discovered in attempting to find it.

    I also did some misc cleanup, and backported much of the cleanup that
    had been done to the 2.6 version back into the 2.4 version, to align
    the code and minimise the diff's between the two versions.

    Link to the patchset:

    http://www.mediafire.com/file/1tya1at6586s5p2/rvt-jffs1.4-k2.4_k2.6.patchset.tar.gz
     
  52. zmzmzm

    zmzmzm Addicted to LI Member

    I have been having some rather strange network behavior since switching to the Beta 16 USB/VPN build on a Netgear 3500L from running stock Tomato on a Buffalo router.

    I find that if I reboot the router then all the Windows 7 PC's think it's a new network and bring up a dialog to ask me if it a Home, Work, or Public network. Then they give it a name like Shire X (where Shire is my SSID, and X keeps incrementing each time this happens). Note that only use the Netgear as a router,,, I am using other AP's for wireless so I stay connected during the reboot. Wireless is disabled on the Netgear.

    This did start when I switched routers and I have not tried switching back. I have homegroup in Windows 7 disabled and have not found any posts which might guide me to a solution. I have tried with the WINS server enabled and disabled, with the same outcome.

    Any suggestions?
     
  53. driver975

    driver975 Networkin' Nut Member

    teddy_bear!

    Hello!

    Help me please!
    You made this firmware (tomato nd usb mod).I would like to know how can I put more functions: shcd driver, which tomato 1.25 sdhc mod, ftdi serial driver in it.

    thanks.

    bye

    Driver
     
  54. myersw

    myersw Network Guru Member

    It has been stated before in the treads but I will state again. On Teddy's other support site
    tomatousb.org he states "
    Some of you probably noticed that I have not been answering any questions recently - neither on this forum, nor on http://www.linksysinfo.org/forums.

    Unfortunately now I have other - more important - matters to take care of, and will not be able to spend as much time on this project as before. I'm not abandoning the project - but the development is going to significantly slow down for a while, and I won't provide as much support on the forums as I used to.

    Please help each other, and don't hesitate to share your knowledge by creating a new tutorial or a feature documentation."

    So I would not expect him to respond in a timely manner.
    --bill
     
  55. Aquafire

    Aquafire LI Guru Member

    Is the tomatousb.org site running and working for the most of you..?
     
  56. myersw

    myersw Network Guru Member

    Yes, no problem getting to it.
    May be getting hit because of the new build that was put on the site on 7/25.
    --bill
     
  57. Dagger

    Dagger Networkin' Nut Member

    Has anyone tried the new build? Specifically the K2.4 ND VPN variety...
     
  58. brutevinch

    brutevinch Networkin' Nut Member

    Yes. works fine at wl500w. 1.28 ND vpn
    P.S. Who needs take it. I made for itself theme that include ("Green tomato", "bule&green","Asus").
     

    Attached Files:

  59. kastytis75

    kastytis75 Addicted to LI Member

    I am not sure when...but looks like in dir-320 I can't get dhcp IP from wan...I have tested with 47, and 48 build....wan I am connecting to other router with tomato from polarcloud
     
  60. brutevinch

    brutevinch Networkin' Nut Member

    did you make right vlan1?
     
  61. tmpid

    tmpid Networkin' Nut Member

    Yes, I tried it. The VPN did not seem to work right and the log showed "connection refused". So I reverted it back to build 47 and everything works fine again.
     
  62. sabgenton

    sabgenton Networkin' Nut Member

    Could somebody tell me if this firmware mod has 3g support

    I spose if the following has been compiled it will work?

    CONFIG_USB_SERIAL
    CONFIG_USB_SERIAL_GENERIC
    CONFIG_USB_SERIAL_OPTION
     
  63. irobot

    irobot Networkin' Nut Member

    Hi, I have the latest EXT 1.28 version on Asus wl-520g.
    I cannot copy files from window/linux to usb disk attached to the router.
    both windows and linux clients are loosing connection to the drive in the middle of copy.
    a folder of pictures totaling 200 mb copies fine.
    but a folder of picture totaling 700 mb may fail half way through. when it fails, I can't delete the copied folder from the usb disk on router.

    Is this a known issue?
     
  64. maurer

    maurer LI Guru Member

    k26 on wl500gx (deluxe)

    hello,

    I've tried to load the k26 lite version on my wl-500gx (deluxe) router.
    it's not working but i've managed to save the serial log.
    i teddy is willing to provide support for this model i am able to test and recover any ND or k26 versions on the deluxe.
    logs attached
     

    Attached Files:

  65. teddy_bear

    teddy_bear Network Guru Member

    Thanks for the logs.
    K26 Lite build is too big for 500g Deluxe. If barely fits into WL520GU 4MB flash - but only because it has 128KB CFE. With deluxe's 256KB CFE there's not enough space. You can try the no-USB Std K26 build to see if it boots up and works - but to get working USB you'll need to stick with K24 builds for now. I don't really know what else to strip out from the K26 Lite build - it already doesn't include Samba/CIFS/JFFS/Zebra...

    By the way, does the K24 build work on this router? Can you access the GUI after loading it?
     
  66. adolchristin

    adolchristin Guest

    First time posting, just wanted to say thanks to teddy_bear for the firmware! Very quick question; should be extremely quick to answer. I'm using Tomato Firmware v1.28.9048 MIPSR1-beta18 K26 USB Ext. I'm trying to open the tcp port 113; i've installed fakeidentd. I've put together a script that I'm running from the firewall startup scripts:

    root@feenah:/opt/tmp# cat ident.sh
    #!/bin/sh
    iptables -t nat -A PREROUTING -p tcp -m tcp -d `nvram get wan_ipaddr` --dport 113 -j DNAT --to-destination 192.168.1.1:113
    iptables -A INPUT -p tcp -m tcp -d 192.168.1.1 --dport 113 -j ACCEPT

    This seems to be working as expected:
    root@feenah:/opt/tmp# iptables -t nat -L | grep 113 && iptables -L | grep auth
    DNAT tcp -- anywhere rrcs-XX-XX-XX-XX.midsouth.biz.rr.com tcp dpt:auth to:192.168.1.1:113
    ACCEPT tcp -- anywhere feenah tcp dpt:auth


    Yet for some reason port 113 reports as closed. Port 22 is opened with identical config:
    DNAT tcp -- anywhere rrcs-XX-XX-XX-XX.midsouth.biz.rr.com tcp dpt:ssh to:192.168.1.1:22
    ACCEPT tcp -- anywhere feenah tcp dpt:ssh

    Any ideas about what I've done wrong here?
     
  67. maurer

    maurer LI Guru Member

    the leds seems ok - pwr and wifi - but i can't access the web gui nore the telnet/ssh although there are no errors in the serial log
     
  68. toolbox

    toolbox Addicted to LI Member

    ---------------------
     
  69. ImGeo

    ImGeo Addicted to LI Member

    Just to make sure, the teddy_bear mod has been replaced (or merged into, replaced, etc) by the Tomato USB mod?
     
  70. greenythebeast

    greenythebeast LI Guru Member

    The teddy_bear mod is the Tomato USB mod, just renamed.
     
  71. ciccio

    ciccio Networkin' Nut Member

    Hi,

    I am using Tomato v1.28.9049 MIPSR2-beta19 K26 USB vpn3.6 on my new Asus RT-N16 and all works very well (my compliments to teddy).

    Only my problem is about VPN: sometimes (after 1 hour from VPN's start) I get following error (I use vyprvpn)

    Aug 30 00:10:12 RT-N16 daemon.err openvpn[6768]: ERROR: could not read Auth username from stdin
    Aug 30 00:10:12 RT-N16 daemon.notice openvpn[6768]: Exiting

    Can you help me?

    TIA
     
  72. kastytis75

    kastytis75 Addicted to LI Member

    Now I get the same with wl520gu...48 version flashed...I did not noticed when it happens...but looks like with elder version there was no such kind of behavior.
     
  73. s072689

    s072689 Networkin' Nut Member

    call me a noob (i am) but where do i download this firmware? can find a single download link.

    i have 2 asus wl520gu's im trying to set up WDS on.

    thanks for any help
     
  74. s072689

    s072689 Networkin' Nut Member

  75. kastytis75

    kastytis75 Addicted to LI Member

  76. Toastman

    Toastman Super Moderator Staff Member Member

    I'm keen to add something to tomatusb.org - but for some reason it is not reachable directly from Thailand, and the web proxies I've used don't allow me to register / post. Any site administrator who may be able to sort out the problem? I can supply tracert etc.

    Thanks!
     
  77. occamsrazor

    occamsrazor Network Guru Member

    Assume you are typing http://tomatousb.org/ not http://tomatusb.org/ as per your post? Just checking...

    Have you tried using a free VPN such as Hotspotshield in case the address is being filtered in Thailand?
     
  78. Toastman

    Toastman Super Moderator Staff Member Member

    That was a typo in my mail - yes. oops. Yes, using the free proxies I can get into the site but so far I have not been able to register. My query is not only due to my own frustration, but also that there may be whole countries that cannot access this site ! Someone has a routing problem ...

    Tracing route to tomatousb.org [74.86.234.149]
    over a maximum of 30 hops:

    <cut>
    4 19 ms 27 ms 31 ms 10.169.46.121
    5 20 ms 22 ms 20 ms 119-46-78-130.static.asianet.co.th [119.46.78.130]
    6 24 ms 21 ms 25 ms 58-97-25-101.static.asianet.co.th [58.97.25.101]
    7 20 ms 19 ms 23 ms 61-91-210-66.static.asianet.co.th [61.91.210.66]
    8 20 ms 19 ms 23 ms 203-144-144-27.static.asianet.co.th [203.144.144.27]
    9 22 ms 19 ms 19 ms 61-91-210-1.static.asianet.co.th [61.91.210.1]
    10 20 ms 20 ms 19 ms 61.19.10.25
    11 26 ms 26 ms 26 ms 61.19.9.65
    12 29 ms 27 ms 19 ms 61.19.9.46
    13 228 ms 236 ms 223 ms 202.47.253.250
    14 224 ms 235 ms 225 ms GigabitEthernet9-4.ar3.SJC2.gblx.net [67.17.134.17]
    15 265 ms 266 ms 273 ms te1-1.cer02.sr01.dal01.networklayer.com [64.215.81.2]
    16 263 ms 265 ms 273 ms po2.fcr03.sr04.dal01.networklayer.com [66.228.118.190]
    17 * * * Request timed out.
    18 * * * Request timed out.
    19 * * * Request timed out.
    20 * * * Request timed out.
    21 * * * Request timed out.
    22 * * * Request timed out.
    23 * * * Request timed out.
    24 * * * Request timed out.
    25 * * * Request timed out.
     
  79. teddy_bear

    teddy_bear Network Guru Member

    New update - build 50 - is available for download.

    It contains some important bug fixes as well as a few new features - refer to Changelog for more details.
     
  80. DAWOOD6283

    DAWOOD6283 Network Guru Member

    Just flashes build 50 on my Asus WL-520GU. Everything went great. Checked VPN, Samba, Etc. and all were good. Like like the Web moniting feature. Just need a clear button for the logs (They could be dangerous). I just want to say - teddy bear your the man.

    Thank You,
     
  81. teddy_bear

    teddy_bear Network Guru Member

    Toastman,
    Strange... I have [almost] the same trace to tomatousb.org as well as wikidot.com (which is the platform the tomatousb.org is built on) - but all wikidot sites work just fine!
    Code:
    traceroute to wikidot.com (74.86.234.149), 15 hops max, 38 byte packets 
     [......................]
     6  po21.bbr02.eq01.dal01.networklayer.com (66.109.9.222)  35.557 ms  79.614 ms  130.610 ms 
     7  po5.dar02.sr01.dal01.networklayer.com (173.192.18.203)  34.013 ms  33.684 ms  35.469 ms 
     8  po2.fcr03.sr04.dal01.networklayer.com (66.228.118.190)  34.482 ms  81.633 ms  35.001 ms 
     9  *  *  * 
    10  *  *  * 
    11  *  *  * 
    12  *  *  * 
    
    Maybe Rasky who set up the site and is more familiar with Wikidot, could provide some help... Otherwise you can always send me your articles, and I'll post them on TomatoUSB site (I can even register and login as "Toastman" :wink: so they will have your name on it)...

    DAWOOD6283,
    Thanks for the feedback! Yeah, I'll consider adding the "Clear" button - might be useful. For now you can always clear the logs by disabling and then re-enabling the web monitor.
     
  82. TexasFlood

    TexasFlood Network Guru Member

    My traceroute looks nearly the same, po1.fcr03.sr04.dal01.networklayer.com in Dallas TX is the last device that responds in the traceroute, 20 devices after that do not but I still get to the site.
     
  83. micko_escalade

    micko_escalade Network Guru Member

    Hi all,

    I just spent over 2 hours tying to figure out why all of 3 machines could not see each other in My network places > View workgroup computers and a simple router reboot solved it.
    I was wondering if I need to change anything in order to avoid this in the future?

    Thanks!
     
  84. Rasky

    Rasky Addicted to LI Member

    I don't know what the routing problem might be. I believe it is a local problem of Toastman's connection somehow because there are Thai-based wikis on Wikidot, so surely it is not something country-wide.

    Toastman, maybe you can try with the connection of a friend or internet point in Thailand to verify that it is a problem related to a specific connection or maybe ISP?

    BTW, the fact that you can't register with a free proxy might be related to the fact that registration requires SSL that most free proxies don't support. Try with a VPN (there are a few very economic ones around).
     
  85. Toastman

    Toastman Super Moderator Staff Member Member

    Rasky, thanks. I can use VPN tunnel, I guess I need to do it just to register. If I can't I'll do what Fedor suggests.

    I tried the site from an internet shop in Central Bangkok which uses another ISP, and a friend's house. Both the same. Very occasionally I do get a scrambled-up half-loaded version of the main page - but it has never progressed any further. I tried various lower MTU's but that didn't help either.

    Curious, isn't it?

    BTW - I get no replies to pings.
     
  86. maurer

    maurer LI Guru Member

    ND build 50 short test on wl-500g Deluxe:
    flashing OK,
    wireless access OK,
    MAJOR ISSUE - no wired connectivity - nor by automatic DHCP, nor by static ip addressing
    only thing I noticed is that tomato creates only the following interfaces: eth0, br0 and lo when i run "ifconfig" command.
    I'll try to post very soon a serial bootlog.
    Thanks Teddy for your great work!!
     
  87. teddy_bear

    teddy_bear Network Guru Member

    maurer,
    Did you reset the router to defaults?
    If you did, that sounds like some nvram misconfiguration in the code - should be easy to fix. Please post the output of the following commands:
    Code:
    nvram find vlan
    nvram find ifname
    
     
  88. ray123

    ray123 LI Guru Member

  89. maurer

    maurer LI Guru Member

    wl-500g Deluxe


    / # nvram find vlan
    lan_ifnames=vlan0 eth1
    vlan0hwname=et0
    vlan0ports=1 2 3 4 5*
    vlan1hwname=et0
    vlan1ports=0 5
    wan_iface=vlan1
    wan_ifname=vlan1
    wan_ifnameX=vlan1
    wan_ifnames=vlan1
    wl0_vlan_prio_mode=off
    wl_vlan_prio_mode=off
    / # nvram find ifname
    lan_ifname=br0
    lan_ifnames=vlan0 eth1
    pppoe_ifname=
    wan_ifname=vlan1
    wan_ifnameX=vlan1
    wan_ifnames=vlan1
    wl0_ifname=eth1
    wl_ifname=eth1
     

    Attached Files:

    • log.txt
      File size:
      10.5 KB
      Views:
      73
  90. teddy_bear

    teddy_bear Network Guru Member

    Hmm... I'm still missing something - could you please provide the complete "nvram show" output?
     
  91. Toastman

    Toastman Super Moderator Staff Member Member

    Rasky & T/B - don't know if it as a result of anything you did - but tomatousb.org is now available here and quite fast!

    Merci Beaucoup ...
     
  92. maurer

    maurer LI Guru Member

    it's attached in the txt
     

    Attached Files:

  93. teddy_bear

    teddy_bear Network Guru Member

    maurer,
    Try to set boardflags as below:
    Code:
    nvram set boardflags="0x00000100"; nvram commit; reboot
     
  94. maurer

    maurer LI Guru Member

    thaks teddy,
    it works
    that was the problem - now all the vlans appear correctly.
    do I ask too much if you can commit the fix and send me a test build?
     
  95. JPorter

    JPorter LI Guru Member

    The p910nd daemon is giving me some headaches, I wonder if anyone can help?

    For some reason the daemon will crash out or otherwise lose connectivity with the printer about once every 2-3 hours, for no reason that I can figure out. It seems relatively random in timing. This isn't always after long periods of inactivity, so power save on the printer doesn't seem to be the culprit, occasionally this will happen immediately following a successful print job.

    Fully power cycling the router seems to do the trick 9 times out of 10, but I'd like to avoid doing this at all, if possible.

    Is there any way to poll the port to see if it is up and ready, and restart p910nd automatically if it is unresponsive for more than, say, 10-15 seconds? I'm thinking maybe this would restart p910nd when the port is unavailable/unresponsive but be less likely to kill the daemon during an actual print job.

    I found the watchprinter script on the wl520gu project site but wasn't sure whether it would be generally appropriate (with revised paths) for the p910nd implementation on TomatoUSB.


    Note: this behavior is identical on both K24 and K26 variants of TomatoUSB, on several different printers. Current printer is a Zebra thermal label printer, but it occurs with an HP DeskJet as well so I ruled that out. Router is an Asus WL-520GU.

    Thanks for any help, folks! I'm stumped!
     
  96. teddy_bear

    teddy_bear Network Guru Member

    Here's your test build, and the fix:
    Code:
    diff --git a/release/src/router/rc/init.c b/release/src/router/rc/init.c
    index b056cb5..4fc6d48 100644
    --- a/release/src/router/rc/init.c
    +++ b/release/src/router/rc/init.c
    @@ -394,7 +394,8 @@ static void check_bootnv(void)
     	case MODEL_WL500GD:
     		dirty |= check_nv("vlan0hwname", "et0");
     		dirty |= check_nv("vlan1hwname", "et0");
    -		if (!nvram_get("vlan0ports")) {
    +		dirty |= check_nv("boardflags", "0x00000100"); // set BFL_ENETVLAN
    +		if (strcmp(nvram_safe_get("vlan0ports"), "") == 0) {
     			dirty |= check_nv("vlan0ports", "1 2 3 4 5*");
     			dirty |= check_nv("vlan1ports", "0 5");
     		}
    
    -- not commited to the git yet because my local repository is a mess right now ;)...
     
  97. maurer

    maurer LI Guru Member

    teddy,
    the test build is mipsR2, i don't think it'll boot.
    is it safe to try?
     
  98. teddy_bear

    teddy_bear Network Guru Member

    Oops - wrong link... Fixed.
     
  99. maurer

    maurer LI Guru Member

    the test build did the job - now the issue is fixed.
    thank you very much.
    Deluxe is now supported by Tomato!!!
     
  100. hpdad

    hpdad Networkin' Nut Member

    I have router Asus WL-520GU about 6 moths flashed with tomato fw. Worked great with my printer samsung ml-2510 on my two laptops W7 & XP.

    Now I moved to different place. Changed from DSL verizon (modem Westell 6100g) to DSL AT&T (modem/router is 2wire 2701 HG-B). Now the usb printer only works on XP computer, not the W7's.

    Computer:

    IP: 192.168.1.130
    Subnet: 255.255.255.0

    Router:

    IP: 192.168.1.1
    Subnet: 255.255.255.0

    Printer:

    192.168.1.1
    Subnet: don't know how to get.

    AT&T router 2701HG-B:

    IP: 192.168.1.254
    Don't know how to get.

    I deleted and configured the printer port again:

    Port: 162.168.1.1
    Protocol: RAW
    Port number: 9100

    Still not working
     

Share This Page