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

WAG200G : woytekm alternative firmware

Discussion in 'Other Linksys Equipment' started by ReDFlaG, Sep 22, 2007.

  1. ReDFlaG New Member

  2. ozgur Guest

    i upgraded to this firmware but i cant access to the device over internet...
    i always see "the webpage cannot be displayed"
    remote management activated and port setted to 51000... also tried with 8080
    it doesnt make any sense...

    now i cant access to web gui from LAN ahhahaha what a nice firmware...
  3. ReDFlaG New Member

    [ woytekm build 0.8 ]
    - updated to Linksys 1.01.06
    - added dnsmasq caching dns and dhcp server (optional).
    - added wake on LAN and autoreboot control to www interface.
    - noip.org works with more than one host name.
    - rc.myfirewall should work properly now
    - remote management via ssh is working (access control settings of remote web management are used to control ssh access).
    - tcpdump was removed and it's place was taken by etherdump (19KB instead of 360KB).
    etherdump is linked to tcpdump command name - use "tcpdump -i ppp0" or "tcpdump -i br0" to look at packets flowing out of the interfaces (I'm not sure why pcap filter can't
    catch incoming packets on wag200).
    - you can generate your own sshd rsa key, using dropbearkey shell command.
    (Place the key in the /mnt/mtd5/dropbear_rsa_host_key)
    - you can change sshd TCP port to value other than 22.
    - added netstat-nat utility - it can be used to display network connections routed/nated by wag200.
    - added sysinfo.sh - shell script that gathers and displays various debug information about wag200.
    - added nslookup busybox shell command.

    Known problems

    - there are problems with ipsec VPN passthru in wag200-woytekm software. This is being worked on.
    - linksys DHCP client table is empty in woytekm 0.8. Yuse MySetup->DHCP to display list of current DHCP leases.
    - default gateway assignment fails when "RFC1483 Bridged" is chosen as encapsulation type on ADSL link. This is being worked on.

    [ ANNEX A] http://woytekm.googlepages.com/WAG200G_V1.01.06.wm-build-0.8-A.img
    [ ANNEX B] http://woytekm.googlepages.com/WAG200G_V1.01.06.wm-build-0.8-B.img
  4. polopolo Guest

    running this firmware now 9 days, no problems at al :biggrin:

    wag200g:/mnt/mtd5#uptime
    15:13:58 up 9 days, 4:34, load average: 0.02, 0.09, 0.06

    Someone has an example rc.myfirewall ?
    I can't find out which info i should put in. I understand iptables
    so thats no problem.
  5. mazdac Guest

    script example

    #!/bin/sh
    PPPUP=`ifconfig | grep ppp0` # ppp0 configured
    while [ -z "$PPPUP" ]
    do
    echo sleeping...
    sleep 5
    PPPUP=`ifconfig | grep ppp0`
    done

    /usr/sbin/tc qdisc del dev br0 root
    /usr/sbin/tc qdisc del dev ppp0 root
    /usr/sbin/tc qdisc add dev br0 root handle 1: htb
    /usr/sbin/tc qdisc add dev ppp0 root handle 2: htb
    /usr/sbin/tc class add dev br0 parent 1: classid 1:1 htb rate 400kbit
    /usr/sbin/tc class add dev br0 parent 1:1 classid 1:11 htb rate 200kbit ceil 400kbit prio 2
    /usr/sbin/tc class add dev br0 parent 1:1 classid 1:12 htb rate 200kbit ceil 400kbit prio 2
    /usr/sbin/tc qdisc add dev br0 parent 1:11 handle 11: sfq perturb 10
    /usr/sbin/tc qdisc add dev br0 parent 1:12 handle 12: sfq perturb 10
    /usr/sbin/tc filter add dev br0 protocol ip parent 1: u32 match ip dst 192.168.1.10 flowid 1:11
    /usr/sbin/tc filter add dev br0 protocol ip parent 1: u32 match ip dst 192.168.1.100 flowid 1:12
    /usr/sbin/tc class add dev ppp0 parent 2: classid 2:1 htb rate 60kbit
    /usr/sbin/tc class add dev ppp0 parent 2:1 classid 2:11 htb rate 30kbit ceil 60kbit prio 2
    /usr/sbin/tc class add dev ppp0 parent 2:1 classid 2:12 htb rate 30kbit ceil 60kbit prio 2
    /usr/sbin/tc qdisc add dev ppp0 parent 2:11 handle 11: sfq perturb 10
    /usr/sbin/tc qdisc add dev ppp0 parent 2:12 handle 12: sfq perturb 10
    /usr/sbin/tc filter add dev ppp0 protocol ip parent 2: u32 match ip src 192.168.1.10 flowid 2:11
    /usr/sbin/tc filter add dev ppp0 protocol ip parent 2: u32 match ip src 192.168.1.100 flowid 2:12
  6. nobugme LI Guru

    I upgraded my firmware with the woytekm 0.8 build for the Annex A Wag200G because i want this upgrade so i can use the WAKE ON LAN function that i need really bad. but now i can't connect to the internet anymore so i had to downgrade again....

    My question: When will the "default gateway assignment fails when "RFC1483 Bridged" is chosen as encapsulation type on ADSL link"-problem be fixed?
  7. Toink LI Guru

    I swear I've searched hi and low but I can't find the "how to's" on upgrading to this 3rd party firmware? Did I miss a link or something (perhaps I didn't search enough)?

    Or is upgrading the same as going to the webui > Admin > upgrade?

    And the default username and password remains admin/admin or becomes root/admin?

    Any screen shots of the firmware?

    Sorry guys, but I really need your help Thanks!
  8. lyzanxia New Member

    I have the woytek build 0.8 installed successfully.
    Now I would like to make a static arp entry in the wag200.

    Can anyone explain to me how I do this? I am a total newbie concerning commands in the wag200 over sshd.

    thanks!
  9. Tigger2304 Guest

    Hi,

    I just installed the buil 0.8 and encoutered the following problem:
    The webinterface ist not available.
    If I try to connect via IE / Firefox , a page will be displayed which says that the adress
    is not valid.
    The router is working perfectly, so does the telnet.
    I just type the 192.168.0.1 into the adress field ( as I always did ) .
    What went wrong and am I able to get the original software back on the router ?
    The last chance is to flash it via JTAG, but I try to avoid it :) .

    So it's the same problem, as mentioned above :( .


    regards Uli
  10. mstombs Network Guru

    The kernel is modified by a compile switch TI_SLOW_PATH, defining this probably fixes tcpdump - not sure what else it breaks - but watch out for binary only wireless drivers etc.
  11. marginal2k New Member

    Hi everyone!

    i downloaded and installed woytekm build 0.8. logged to router via telnet, and issued a "make_mtd5" command. then go to "my setup" page and enable automounting of the filesystem. everything works great. somedays ago there was interruption of power in my house and after that a can't access "my setup" page. while i tryin' "page not found" displayed. what i need to do to fix it?

    p.s. sorry for bad english :redface:
  12. DocMAX New Member

    same problem here. no web interface!
  13. woytekm New Member

    OK, let's try to resolve "no web" problem. It seems that there are really two separate problems:

    1. no MySetup page
    2. no web interface at all after upgrade to woytekm

    1: "No MySetup" can be temporarily resolved by using https instead of http. Currently i'm not sure why this occurs as I can't reproduce this problem on my router. I'm interested if complete reset to factory defaults is helping here or not - this is the question to people having this issue ....

    2: I have a question to everybody having "no web at all" issue - which language version have you used before upgrading to woytekm software ?
    If telnet is working (this is kind of strange, cause SSHD is the default remote CLI, not telnet), the issue can be resolved by logging in via telnet/sshd (login: root / password: web admin password), and manually bringing up http server from the shell prompt:

    /usr/sbin/mini_httpd -d/www.my -r Linksys WAG200G -c *.cgi -t 300 -i/var/run/mini_httpd.pid -S -E/usr/sbin/certSrv.pem

    Then you can log in via www and upgrade to original Linksys firmware or do whatever else.
    In this case it is also interesting if factory reset resolves the issue ...
    WM
  14. marginal2k New Member

    my report:
    using https do the job - 'MySetup' page is accessible. reset to factory defaults not resolve issue - no 'MySetup' via http...

    Funny thing - a CAN access 'MySetup' page from my girlfriend's MacBook or from Wii, both connected via WiFi...
  15. woytekm New Member

    @marginal2k - thanks for your feedback - can you please send me output of the sysinfo.sh diagnostic script ? (my address: wag200(at)gmail.com). You should log in to your wag200 via ssh/telnet and run sysinfo.sh ....
    thanks
    WM
  16. Ed50547 LI Guru

    I had the same problem. Unable to access the MySetup page using http, but works fine with https. Not a big issue for me though.

    One thing that bothers me is that under the DHCP sub-tab under MySetup, it shows IPs issued to devices even after they've been disconnected and/or shutdown. Is this something that will be resolved soon??
  17. woytekm New Member

    Hello
    DHCP entries should disappear after the lease time expires.... (probably after about one day). It looks that this is the way dnsmasq works with embedded devices - it does not update lease file every minute, only removes entries from the file after lease time expires....
    In the future i i'll probably look into this, and maybe try to change behavior of dnsmasq...
    WM
  18. woytekm New Member

    Important info for everybody wanting to flash woytekm software:

    I've conducted some more flashing tests and it looks that problems can appear when upgrading from localized factory firmware to woytekm rebuild. So please if you are trying to flash my rebuild - reset the language settings to english first.
    WM
  19. Ed50547 LI Guru

    I've always been on the English firmware. My WAG unit is around five months old. The first thing I did was upgrade to the latest stock Linksys firmware after getting it and I upgraded to your firmware two months back. Was never on any other language other than English.
  20. sceng_me New Member

    do you have firmware is not probblem
  21. jetmlinksys Guest

    Access SSH via WAN

    Hi:

    I have the last version downloaded from woytekm page.

    SSH is enabled in LAN, access is OK but don't have across IP WAN.

    Is possible get access via WAN?

    TIA,
    JETM
  22. ReDFlaG New Member

    [ woytekm build 0.9 ]

    - Added ip connection watchdog - ability to reboot the router or restart ppp when
    specified IP address stops responding to ping (use 0.0.0.0 to ping current default gateway).
    - Added possibility to move Wireless LAN area to different ip network (routed WLAN),
    which enables greater control of WLAN clients (firewalling LAN from WLAN). WLAN can
    have it's own DHCP service with static entries. Thanks to Grzegorz Sadowski for the
    idea and sharing the example script :)
    - Added www interface to control execution of custom startup/firewall scripts from router
    webpage.
    - passwd CLI command changes nvram admin/root password.
    - Secure copying (scp) files to/from the WAG200 is now possible.
    - RFC1483 Bridged DSL default gateway assignment should work now.
    - Ipsec VPN passthru should work now with any ipsec client capable of RFC3947 NAT traversal.
    - Fixed problem with iptables that prevented dnsmasq DNS cache from working correctly.
    - Fixed problem that sometimes prevented telnet login to wag200.
    - Fixed problem with wake on LAN www interface (adding static ARP entry failed due to typo in the script). Thanks to Bullent Ozturk for finding the bug :)
    - Some path/filename fixes to get rid of problems with dissapearing pages of the administrative www interface.
    - Fixed problem with user crontab (/mnt/mtd5/crontab) not being appended to system crontab.
    - RED QoS algorythm added to the kernel config.

    grab it : http://sourceforge.net/projects/openwag200/
  23. sadmam Guest

    Hey all,

    Is it possible to change the WAG200 from Annex B to Annex A? Other brands can do that (D-link; Draytek...so on)

    Thanks all
  24. wlkn Networkin' Nut

  25. Spyros Networkin' Nut

    Do you plan a firmware release based on the new 1.01.09 firmware?
  26. alexlau Networkin' Nut

    I think woytekm is working on a new version which includes linksys firmware 1.01.09. Let's wait and see :)
  27. wlkn Networkin' Nut

    Yes, but it is not safe:

    /usr/sbin/iptables -I INPUT -i ppp0 -m state --state NEW -m tcp -p tcp --dport 22 -j ACCEPT
  28. wlkn Networkin' Nut

    I can send you 0.10 candidate - some bugfixes along with the linksys version upped to the 1.01.09. If you have jtag working already, you can test this.

    If you want to test 0.10 candidate, visit http://openwag200.sourceforge.net/?p=beta
  29. wlkn Networkin' Nut

    [ OpenWAG200 (a.k.a woytekm) Build 0.10 ]

    Changes since 0.9:
    - Project name changed to OpenWAG200
    - Source tree updated to Linksys 1.01.09 release
    - Fixed blank MySetup page problem (thanks to Volkan Kirik)
    - Fixed static DHCP problems that appeared in 0.9
    - Fixed hard-coded WAN interface name in scripts
    - You can execute some commands from ip-up and ip-down scripts (executed when ppp0 is going up/down).
    (Create /mnt/mtd5/ip-up and/or /mnt/mtd5/ip-down, and make it executable)
    - Added mount support for NFS filesystems
    - Added connection uptime reporting
    - Minor bugfixes and cleanups
  30. wlkn Networkin' Nut

    [ Build 0.11 ]

    Changes since 0.10:
    - Added: Ability to use Public-Key Authentication for SSH
    - Added: UI to change gateway IP address for DHCP clients
    - Added: UPnP configuration UI
    - Added: Network interface statistics UI
    - Added: AR7 DSL Modem Statistics/Feature Control UI
    - Fixed: MySetup tab doesnt exist on all pages
    - Fixed: mtd5 not synced before reboot
    - Fixed: DHCP client table is always empty
    - Fixed: DHCP server for WLAN doesnt start at boot when routed WLAN is enabled
    - Fixed: Poor PPTP performance due to continual debugging
    - Minor UI improvements and cleanups
  31. bovirus New Member

    @wlkn
    Should be a good idea to have inside the firmware file (.zip) a Changelog file with all changes since first version.
  32. wlkn Networkin' Nut

    See website for the changelog, I think only developers care about the history
  33. bovirus New Member

    I think that also the users should be intersted to know history/bug fixes/new features
  34. wlkn Networkin' Nut

    they can browse the website, too.
  35. Spyros Networkin' Nut

    I have a problem with 0.11, ADSL synch speed is not being updated. The router changes WAN IP but the ADSL synchronisation speed always remains the same, is this possible?
  36. wlkn Networkin' Nut

  37. wlkn Networkin' Nut

    [ Build 0.12 ]

    Changes since 0.11:
    - Added: ip command from iproute2 package
    - Added: DNS-O-Matic (Dynamic DNS update service) support
    Thanks to @mazdac for sharing example script
    - Fixed: The bug causing a segmentation fault in hex2env tool
    - Minor UI improvements and cleanups
  38. wlkn Networkin' Nut

    [ Build 0.13 ]

    - Added: High precision option for DSL statistics
    - Added: Display amount of free memory on firmware upgrade page
    - Fixed: The bug causing a segmentation fault in etherdump
  39. bovirus New Member

    Do you know a probelm regarding the upgrade from 0.12 to 0.13 via webupdate?

    The update procedure didn't recognize the firmware file (0.13) as valid.

    Thanks.
  40. wlkn Networkin' Nut

  41. wlkn Networkin' Nut

    [ Build 1.0 ]

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

    [ 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
  43. Splintter New Member

    Installed it, but i dont know how to route my cable modem signal connected on LAN port 1 to other ports and wireless. Can anyone help me?
  44. wlkn Networkin' Nut

  45. wlkn Networkin' Nut

  46. wlkn Networkin' Nut

  47. J-ossiej New Member

    hi,

    I might want to try this firmware but I have a quesiton:

    Does it have QoS on it? if yes, does it have the option to limit a users bandwidth using his MAC-address??

    thanks in advance,

    Jos
  48. wlkn Networkin' Nut

    It has QoS.
  49. Pilgerone Reformed Router

    Does this QoS support filtering by IP instead of by ports?
  50. 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