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

WAG200G - modified firmware avaliable ! Testers wanted !

Discussion in 'Other Firmware Projects' started by woytekm, Jan 4, 2007.

  1. wlkn Networkin' Nut

    Fix for blank page error (MySetup.cgi)

    Code:
    [B]if [ "$REQUEST_METHOD" = "POST" ] ; then[/B]
    _F_QUERY_STRING=`/bin/dd count=$CONTENT_LENGTH bs=1 2> /dev/null`"&"
    [B]fi[/B]
    
    if [ -x /bin/hex2env ]
    then
    [B] if [ "$_F_QUERY_STRING" != "" ] ; then[/B]
      #decoding vars
      /bin/hex2env "$_F_QUERY_STRING" > /tmp/vars.tmp
      #loading
      . /tmp/vars.tmp
    [B] fi[/B]
    else
     echo "Content-type: text/html"
     echo ""
     echo "<html><body><br><b>ERROR: /bin/hex2env is missing !</b></body></html>"
     exit
    fi
    

    Attached Files:

  2. wlgspotter New Member

    Help! Static DHCP not working on v0.9

    Hi:

    I've installed the latest v0.9 on the woytekm firmware, to get arond the issue I was having with the VPN passthrough I was having from v0.8. Now, it seems my static DHCP assignment isn't working anymore - the MAC address was specified in xx:xx:xx:xx:xx:xx (is it case sensitive BTW?), and it's saved and I can see it in the MySetup page, but underneath thr actual DHCP leases I see the devices seemd to be assigned different IP addresses. I've checked the /mnt/mtd5 directory, and there are now 3 files : udhcd.statics, which seemed to have the "old" DHCP static assignment config from v.08, br0.dhcp.statics, which have the static DHCP assignments from this version (0.9), and wlan0.dhcp.statics, which is empty (I didn't enable routed wlan in v0.9).

    Anyone has any ideas what could be wrong?

    Thanks.
  3. woytekm New Member

    Hello
    Is dnsmasq running ? Can you check ps -ef from your router ?
    thanks
    WM
  4. wlgspotter New Member

    Yes I do have dnsmasq running when I did a ps -ef from the router. Is that supposed to be off? How to I turn if off if need be.

    Thanks.
  5. woytekm New Member

    Hello
    It's OK, it should be running. It would be good if you could paste your /etc/dnsmasq.br0.conf here for review....
    WM
  6. wlgspotter New Member

    Hi woytekm:

    I've just sent you a PM (Private Message) on my /etc/dnsmasq.br0.conf file. Let me know if you have any issue viewing it.

    Thanks.
  7. DrLex New Member

    Do I need to do something special to make DHCP on the LAN interface work again in 0.9 like it did in 0.8? With exactly the same table as on my 0.8 version, only the WLAN clients get the correct address. The addresses for the LAN clients seem random.

    I assumed that when the separate DHCP for WLAN and LAN is not enabled, DHCP would behave like previously, but it seems like I'm wrong (or there is a bug). Do I need to enable "DHCP on WLAN interface" and explicitly put the WLAN MAC addresses in the second table?
  8. wlkn Networkin' Nut

    DHCP on WLAN will only work if routed WLAN is enabled

    I think, You need to enable "DHCP on WLAN interface" + "routed WLAN" and explicitly put the WLAN MAC addresses in the second table for DHCP broadcast on wlan0.
  9. smartcard New Member

    Hello, from where can I download this modified firmware?

    Tks
  10. wlkn Networkin' Nut

  11. DrLex New Member

    I tried this and it has the same effect. DHCP works on WLAN if the separate routing is enabled and I use a different subnet address, but it doesn't work at all on LAN. The computers get all kinds of addresses except the ones that are in the static DHCP table.

    Even worse, after going back to the original config, the address assigned to my WLAN interface is also wrong. I have tried rebooting everything in all possible ways, to no avail.

    I guess I'll downgrade to the previous version, because static DHCP is pretty much the only reason why I installed this firmware.
  12. wlkn Networkin' Nut

    0.9.1 candidate (Annex A)

    Zipped 0.9.1 Release Candidate (Annex A) with a fix for MySetup.cgi blank page, and some minor fixes for static DHCP assignment problems:

    Edit: Dead links are removed

    Edit: 0.10 RC is available: http://openwag200.org/?p=beta
  13. DrLex New Member

  14. asimrafi Guest

    MD5 conflict...?

    Hi,

    I need to ask two things:

    1. MD5 file at sourceforge.net has this MD5 for v0.9 ANNEX A build:

    87fc6f24cc4a6a7cd7923431b8611769

    while, the file I downloaded after unzipping has MD5:

    402AB6FF8A6BF783BCD54DBB97796E66

    I try downloading the file twice but same results. Is something wrong with the file or MD5 listed in MD5 file? Also, I need to download WAG200G_V1.01.06.wm-build-0.9-A.img.zip for flashing via local lan web interface... am I right?


    2. Where can I download the compiled (ready to flash) version of 1.01.06 firmware for wag200?

    Thanks

    2/18/09: I have found the correct file for point # 1. Thanks.
    Looking for the answer for point # 2...

    2/18/09: I have also found the link to download original firmware. Here is the page:
    http://www.linksysbycisco.com/UK/en/support/WAG200G/download/
    Sorry for bothering :)
  15. twist New Member

    Just updated my Wag200g to 0.9 (1). Works fine and quick.

    Is it possible somehow to set up a one transfer limit (much more less than 12 Mbps, i need e.g 0.5 Mbps) per client(wireless as well as cable)?
  16. DrLex New Member

    You mean that the download and/or upload speed of each client would be limited to a certain bitrate? I'm afraid that's not possible with this firmware.
    But it would be very useful indeed. Even better would be if the bandwidth were always distributed equally over all clients, so that nobody could hog the entire connection with Bittorrent or so. But I believe that's extremely complicated to implement.
  17. twist New Member

    yeah, thats exactly what i need. One simple seting of equal download and/or upload speed for all clients. Doable?
    At 'advanced wireless settings' I can find defoults (from 12..54Mbps or auto).
    Would it be so hard to ad some lower control tx rates to choose there? It would be something however this setting wouldn't fix/equalize the transfer rate for cable clients..
    Such implementation would make this machine really very handy. With the 2M broadband and 6 clients we have here, one downloading a moovie is enogh to freeze the rest of the neighbours arround. A stable share of 330kbps each and we fly nice and easy:)
  18. fluegelmann Guest

    Remote Administration

    Hi everyone.

    Currently I´m running Version 0.9(1) on my WAG200 and it is not possible for me to remote access the router (via Internet).

    I tried several Port numbers without success. :mad:

    I´m working with an DYNDNS-Account and if I try to connect via
    https://myAccount.dyndns.org:Portnumber
    I only get Timeout messages after some time.

    DynDns works fine, it is possible to reach the computers behind the router via this address.

    Can anyone confirm if Remote Management works on her/his Router?

    Thanks in advance.
    fluegelmann
  19. wlkn Networkin' Nut

    http://www.linksysinfo.org/forums/showthread.php?t=55250#post313224
  20. yamane New Member

  21. wlkn Networkin' Nut

    Do you get brute-force-attack from LAN?
  22. yamane New Member

    wlkn, I'm getting brute-force-attack from WAN (1 attack in each 3 seconds), trying to connect in my NAS (QNAP 109II), so I would like to filter all attacks direct in my router.

    knockd is very interesting too!

    Regards,
    Renato
  23. yamane New Member

  24. wlkn Networkin' Nut

    This should work for SSH attacks:
    Code:
    /usr/sbin/iptables -I INPUT -m tcp -p tcp --dport 22 -j DROP
    
    /usr/sbin/iptables -I INPUT -m tcp -p tcp --dport 22 -m state --state NEW -m limit --limit 4/minute --limit-burst 8 -j ACCEPT 
    
    /usr/sbin/iptables -I INPUT -m tcp -p tcp --dport 22 -s 192.168.1.0/24 -j ACCEPT
    
    /usr/sbin/iptables -I INPUT -m tcp -p tcp --dport 22 -m state --state ESTABLISHED,RELATED -j ACCEPT
    
  25. ne-- New Member

    First of all, thank you for your work on this firmware!

    I have noticed some small issues.

    1. Scp doesn't seem to work: dbclient is missing.

    wag200g:~#scp somefile someuser@somehost:somefile
    /usr/bin/dbclient: No such file or directory
    lost connection


    2. There are various places where you use "ppp0" hardcoded for the wan interface. When the encapsulation is set to "RFC 1483 Bridged", the interface is called nas0.

    wag200g:~#nvram get wan_ifname
    name=nas0

    This, of course, breaks a lot of your added features.
  26. wlkn Networkin' Nut

    SCP Works

    IMHO, SCP server is sufficient for copying files to/from the WAG200G.

    I think, the client intentionally not included..
  27. ne-- New Member

    Makes sense. I misunderstood the changelog, then.

    Thanks.
  28. yamane New Member

    web100

    Anyone know if this patch is applied in Linksys products?
    http://www.web100.org

    I found this in FAQ:
    The Web100 Project is funded primarily by the National Science Foundation, with an additional grant from Cisco Systems, Inc

    Regards,
    Renato
  29. wlkn Networkin' Nut

    Not applied in WAG200G
  30. wlkn Networkin' Nut

    Get PPP Uptime

    If you want to get PPP uptime on woytekm firmware, you can use attached script

    one is using /var/run/ppp0.pid file, the other one is using /tmp/wan_uptime file to determine the uptime

    Attached Files:

  31. potyo Serious Server

    Will be available woytekm firmware based on 1.01.09?
  32. wlkn Networkin' Nut

    Yes, probably in June.
  33. mgman Guest

    Looking forward to the 1.01.09 version!

    A minor point on Static DHCP leases in case anyone else is struggling... I followed the directions to enable the mtd5 filesystem and set it to automount, but could not get Static leases to work. It was only when I clicked the boxes to run rc.local and rc.myfirewall that it began working. Since I wasn't using either, I didn't enable initially. Hope this helps another newbie like me... :)
  34. Radio-tech New Member

    I take it that this should enable the DHCP in the WAG200 to assign an IP address to devices, if so I could not get it to work either.
    Nice firmware though, I also look forward to the new release
  35. razor7 New Member

    Ohh....i cant belive it...i got my modem bricked after trying to downgrade from 0.9.1 rc to 0.9...any advise to de-brick it?

    Power light is in a really attenuated red color and the ETH1 led is green...

    If i configure my PC to DHCP I get this IP 169.254.245.225 ¿¿??

    Thanks a lot!
  36. Spyros Networkin' Nut

    which year :confused:
  37. quintilio New Member

    no news about this update?
    Thx
    q!
  38. pavlos New Member

    i just brick my lovely router. What a sad. Linksys stop this model in my country and i need to restore it back cause i love it. I was waiting for about 20 minutes but nothing happened, so i decided to give it a restart. I have a bootloader problem because the power led i always red, but the switch is working. Tryied the 30secs-1m reset but nothing changed.
    e-mail: k.polumeros@gmail.com
  39. pavlos New Member

    After WM's disappearing and have nothing to do to rebrick my modem, i did this:
    First i called Linksys tech support to informed about and they told me..... what do u think?
    Ei young boy, we have about a thousand of bricked modems in our wharehouse flashed with WM's firms. Dont be idiots and dont flash wag200 with alternative firmwares because if something can be better than it is, only WE can fix it and not noname people that they want to experiment with VICTIMS such as u r. The way that that guy (WM) had to avoid the bricks, is only one command and that firmware have hundred of bugs. that means that he doesnt knows what is doing and all are under luck and is only a 10% to flash this firmware whithout bricking your modem and i was not with the lucky ones. What a shame of me of course for being such an idiot. Another think is 2 of my friends that tried the same, they throw them from the window after that. This is the true and dont be stupids like me. Thats why woytekm first told me "send me your router to fix it" and then of course....... he dissapeared, without answer any mails anymore
    So....... if u think that u r dude man, try to provide a support from your self and dont dissappear to difficulties. This is the difference from a proffessional against amateurs and change your title to your post to:

    VICTIMS WANTED

    Anyone ho has in mind to flash this idiot firmware............ read the above first and rethink of it
  40. _marleen_ Guest

    Another two here, me and my boyfriend, who has the support of these nonsense? I demand someone to take the responsibility and rebrick mine, of course if there is someone, but i dont believe it.

    VICTIM IS SEEKING FOR HELP
  41. woytekm New Member

    Hello all,
    I don't know anything about thousands of bricked modems (i've had about 20 such reports in the whole time when the firmware was avaliable). Check sourceforge project opinion page - where are those thousands of angry wag200 owners ?
    This is the mail that I've got from pavlos:

    "sorry about the linksys forum, but u forced me to write all of them because of your behaviour man. i lost a modem but u lost your reputation anymore ;)"


    I've always offered help to those that got into trouble while flashing this firmware EVEN IF THEY SIMPLY HAVEN'T READ THE DISCLAIMERS OR DOCUMENTATION before flashing it. I simply haven't had a time lately to read wag200 mailbox - people that write to me know that i'm frequently responding after 2-3 weeks or even later....

    The bottom line of this situation is that i'm not going to release anything else on wag200. The www page and sourceforge project will be shot down, and i'll send the request to the forum admin to at least change the topic title here. I don't want more "victims", even if they are victims of their own incompetence and lack of interest in reading documentation ....

    WM
  42. mstombs Network Guru

    Sorry to hear of this WM, have been following your developments for a while - quite a few similarities to RouterTech firmware on similar hardware platform (including the use of minix filesystem) - but Linksys 'core-logic' and flash organisation very different to the Ti nsp based routers supported by RouterTech firmware.

    As I see it the big problem of the Linksys WAG200G for 3rd party firmware is the stupid build options Linksys used for the old adam2 bootloader. Most routers with Ti AR7 chipset have an ftp interface to the bootloader which can be used to reload firmware or configuration with Ti (adam2app, pcapp, PC-Tool) or 3rd party tools (RRT, Ciclamab, Tiupgrade), most other Linksys devices have a tftp interface.

    Replacing the bootloader is easy from a Linux command line, but much more risky than firmware upgrades - the bootloader must be built with correct ram/flash and switch support, and then the Linux kernel must have correct drivers for the version of adam2/pspboot bootloader.

    If the router fails to boot, or gets locked in a reboot cycle due to config error, and there is no way to communicate directly to the bootloader, the only solution appears to be to use JTAG to clear the config, or do a full reflash. The old HairyDairyMaid wrt54g.c JTAG tools with very poorman passive parallel port cable do support the Ti AR7 processor, but soldering a header onto the PCB not for everyone!
  43. pavlos New Member

    apologize

    First of all u have all to know that my father did all the "dirty work" above(where i searched for the firm, ask for my user and pass, wrote the post), so i have to apologize instead of him, because im only 16 years old and of course he thinks that he is the cleverest than anyone, guard of the family, etc, etc
    Second and most important is that WM has mailed me and he is comfortable to refix my modem
    I dont really think that a big sorry for me will fix everything here and if can do something else...... plz tell me so

    My father did a mistake and all have to know about that. (at last..... revenge)
  44. woytekm New Member


    OK man, no offence. Further correspondence on the priv.
    WM
  45. woytekm New Member

    Mstombs you are right - worst thing in wag200 is that ADAM2 doesn't have ftp enabled. I don't understand why linksys haven't included this in the bootloader build.... It is making debrick near to impossible for "plain" user....
    WM
  46. yamane New Member

    Tell to your father to write such as an adult, not such as a kid.

    You and your father write very close, and I really think that you and your "father" are the same :)

    "i" instead "I"

    "u" instead "you"

    "r" instead "are", etc.
  47. wlkn Networkin' Nut

    Dear User,

    This issue has been fixed in 0.10...

    Please send us feedback
  48. wlkn Networkin' Nut

    Maybe due to GPL issues? I think FTP code was GPLed...
  49. mstombs Network Guru

    Not an issue with GPL, the bootloader is declared proprietary Ti/Telogy Inc, but full leaked sources are available in various GPL distros. Linksys/CyberTan just decided not to enable the pcapp interface. I am not sure exactly what they did include in the WAG200G bootloader because it fits into 64K with the ftp interface in other similar routers, the WAG200G version is 128K. The bootloader must be built to be board specific, with knowledge of the specific cpu/ram/flash/switch/nvram used. I'm sure its possible to build a new bootloader that boots, but without knowing all the details of the WAG200G build not easy to get one that will support all aspects of the (patched) Linksys firmware.
  50. wlkn Networkin' Nut

    Is it possible to patch WAG200G's ADAM2 to enable boot delay
  51. Spyros Networkin' Nut

  52. anis_ber New Member

    Hi
    I have a question regarding WAG200G
    I just installed Firmware Version: 1.01.09-openwag200-13
    can I use this router as wireless bridge or client bridge or whatever you call it
    basically I want to connect the WAG200G to my primary router, then connect non wifi capable devices to the WAG200G?
    I tried bridge mode but it looks like it's not the right feature but just a modem mode only

    Thx
  53. wlkn Networkin' Nut

    No. You can't.
  54. wlkn Networkin' Nut

    The Latest release is v1.3

    Info: http://openwag200.sourceforge.net/
    Files: http://sourceforge.net/projects/openwag200/files

    [ Build 1.3 ]

    - Added: Option to disable HTTPd
    - Added: Ability to change HTTP DocumentRoot
    - Fixed: AR7 DSL bit allocation graph
    - Changed min. redial period from 20s to 15s
    - Minor UI improvements and cleanups

    [ Build 1.2 ]

    - Added: Control for auto-start of PPPoE client
    - Added: Controls for SSH/telnet connections from WAN
    - Added: AR7 DSL bit allocation graph/table

    [ Build 1.1 ]

    - Added: External modem support (PPPoE client mode)
    - Added: Option for additional hosts files (dnsmasq)
    - Fixed: Firmware binaries cant stop dnsmasq
    - Minor UI improvements

    [ Build 1.0 ]

    - Added: MAC Address Clone
    - Fixed: upgrade_flash.cgi will not stop crond before upgrade
    - Fixed: Build problem on 64-bit systems
  55. wlkn Networkin' Nut

    [ Build 1.4 ]

    - Fixed: Minor bug in MySetup-DDNS page
    - Fixed: Immediately termination of trafficstat.sh before FW upgrades
    - Added: BOOTP support on DHCP server for PXEclient
    - Added: pppd noauth option for PPPoE Client Mode
    - Accessibility changes:
    DSL Driver Info link added to DSL Connection status page
    PPP Debug Enable button added to Gateway status page
    Minor improvements on DSL Driver Info/Firmware Upgrade pages

    http://sourceforge.net/projects/openwag200/files/OpenWAG200/1.4/

    http://openwag200.sourceforge.net/?p=releases&s=1.4

Share This Page