Strict Standards: Declaration of Walker_Page::start_lvl() should be compatible with Walker::start_lvl(&$output) in /membri/cyberstorm/blog/wp-includes/classes.php on line 576

Strict Standards: Declaration of Walker_Page::end_lvl() should be compatible with Walker::end_lvl(&$output) in /membri/cyberstorm/blog/wp-includes/classes.php on line 576

Strict Standards: Declaration of Walker_Page::start_el() should be compatible with Walker::start_el(&$output) in /membri/cyberstorm/blog/wp-includes/classes.php on line 576

Strict Standards: Declaration of Walker_Page::end_el() should be compatible with Walker::end_el(&$output) in /membri/cyberstorm/blog/wp-includes/classes.php on line 576

Strict Standards: Declaration of Walker_PageDropdown::start_el() should be compatible with Walker::start_el(&$output) in /membri/cyberstorm/blog/wp-includes/classes.php on line 593

Strict Standards: Declaration of Walker_Category::start_lvl() should be compatible with Walker::start_lvl(&$output) in /membri/cyberstorm/blog/wp-includes/classes.php on line 687

Strict Standards: Declaration of Walker_Category::end_lvl() should be compatible with Walker::end_lvl(&$output) in /membri/cyberstorm/blog/wp-includes/classes.php on line 687

Strict Standards: Declaration of Walker_Category::start_el() should be compatible with Walker::start_el(&$output) in /membri/cyberstorm/blog/wp-includes/classes.php on line 687

Strict Standards: Declaration of Walker_Category::end_el() should be compatible with Walker::end_el(&$output) in /membri/cyberstorm/blog/wp-includes/classes.php on line 687

Strict Standards: Declaration of Walker_CategoryDropdown::start_el() should be compatible with Walker::start_el(&$output) in /membri/cyberstorm/blog/wp-includes/classes.php on line 710

Strict Standards: Redefining already defined constructor for class wpdb in /membri/cyberstorm/blog/wp-includes/wp-db.php on line 58

Deprecated: Assigning the return value of new by reference is deprecated in /membri/cyberstorm/blog/wp-includes/cache.php on line 99

Strict Standards: Redefining already defined constructor for class WP_Object_Cache in /membri/cyberstorm/blog/wp-includes/cache.php on line 404

Deprecated: Assigning the return value of new by reference is deprecated in /membri/cyberstorm/blog/wp-includes/query.php on line 21

Deprecated: Assigning the return value of new by reference is deprecated in /membri/cyberstorm/blog/wp-includes/theme.php on line 576

Strict Standards: Declaration of fs_ezSQL_mysql::query() should be compatible with fs_ezSQLcore::query() in /membri/cyberstorm/blog/wp-content/plugins/firestats/lib/ezsql/mysql/ez_sql_mysql.php on line 329

Strict Standards: Declaration of fs_ezSQL_mysql::escape() should be compatible with fs_ezSQLcore::escape() in /membri/cyberstorm/blog/wp-content/plugins/firestats/lib/ezsql/mysql/ez_sql_mysql.php on line 329

Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method GoogleSitemapGeneratorLoader::Enable() should not be called statically in /membri/cyberstorm/blog/wp-includes/plugin.php on line 311
Unofficial firmware for Linksys WAG354G | marco v. site
Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /membri/cyberstorm/blog/wp-includes/kses.php on line 932

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /membri/cyberstorm/blog/wp-includes/kses.php on line 933

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /membri/cyberstorm/blog/wp-includes/kses.php on line 932

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /membri/cyberstorm/blog/wp-includes/kses.php on line 933

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /membri/cyberstorm/blog/wp-includes/kses.php on line 932

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /membri/cyberstorm/blog/wp-includes/kses.php on line 933

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /membri/cyberstorm/blog/wp-includes/kses.php on line 932

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /membri/cyberstorm/blog/wp-includes/kses.php on line 933

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /membri/cyberstorm/blog/wp-includes/kses.php on line 932

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /membri/cyberstorm/blog/wp-includes/kses.php on line 933

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /membri/cyberstorm/blog/wp-includes/kses.php on line 932

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /membri/cyberstorm/blog/wp-includes/kses.php on line 933

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /membri/cyberstorm/blog/wp-includes/kses.php on line 932

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /membri/cyberstorm/blog/wp-includes/kses.php on line 933

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /membri/cyberstorm/blog/wp-includes/kses.php on line 932

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /membri/cyberstorm/blog/wp-includes/kses.php on line 933

Unofficial firmware for Linksys WAG354G

Filed under: Linksys WAG354G, Unofficial firmware — Wrote by marco v on Monday, January 1st, 2007 @ 2:02 pm

A new unofficial firmware of Linksys WAG354G(v1) is out. It is based on 1.01.09beta sources.

Release note:

  • Added telnet access. It’s possible that telnet enabled by default. You can enable/disable it under http://router_ip/Management.asp .The login for telnet is the same of the web interface.
  • Added page http://router_ip/ProcfsInfo.html , showing info about the cpu.

Dowload page
Before flashing, I advice you to compare the checksum of the bin file with the one in the README file. If you use linux, just type “md5sum filename” in a terminal, if you use windows instead, get this program.

This build is intended ONLY for AnnexA, hw version 1.

13 Comments   -
  • Comment by Anonymous | January 16, 2007 @ 10:32 am

    Ive flashed my wag354g with your modified firmware, and telnet works just fine.
    Do you need any help to implement ssh? Testing perhaps?
    I would like ssh and wol or etherwake (in particular) to run on it.

    Thanks for the hardwork,
    Andy

  • Comment by marcoV | January 16, 2007 @ 9:51 pm

    Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /membri/cyberstorm/blog/wp-includes/kses.php on line 932

    Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /membri/cyberstorm/blog/wp-includes/kses.php on line 933

    Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /membri/cyberstorm/blog/wp-includes/kses.php on line 932

    Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /membri/cyberstorm/blog/wp-includes/kses.php on line 933

    Thanks for testing my firmware. Actually I have got the sources of the pluto project (big thanks to Bored Individual at whirlpool.net.au forum), that is an unofficial firmware for the wag54g. The authors have implemented lots of things and improvements, and my efforts now are to integrate those changes into our router.
    I successfully compiled the
    dropbear
    package that is a lightweight ssh server.
    If you wanna test it, you can find a statically linked (i.e. big) version here. Just set up a ftp or http server, and download the binaries in the /tmp folder using wget. Note that the files you download are not stored in the flash, but only in ram, so they disappear with a reboot.

    # cd /tmp
    # wget ftp://192.168.1.10/write/dropbear
    dropbear 100% |*****************************| 332 KB 00:00 ETA
    # wget ftp://192.168.1.10/write/dropbearkey
    dropbearkey 100% |*****************************| 178 KB 00:00 ETA
    # chmod 755 dropbear
    # chmod 755 dropbearkey
    # ./dropbearkey -t rsa -f key.rsa
    Will output 1024 bit rsa secret key to ‘key.rsa’
    Generating key, this may take a while…
    Public key portion is:
    ssh-rsa AAAAB3NzaC1yc2EAAAADAQ…..fa:f5:e6:41
    # ./dropbear -r key.rsa -E
    [11499] Jan 16 16:48:30 Failed reading ‘/etc/dropbear/dropbear_dss_host_key’, disabling DSS
    # [11501] Jan 16 16:48:30 Running in background

    ether-wake instead is part of the busybox package, already present in the firmware. It only need to be uncommented in the config file.

    If you have the knowledge of some c language and/or have some experience with linux, I’d like you to help me. Otherwise testing is much appreciated too.

    Just contact me for further infos , the email address is on the up-right side.

  • Comment by jm | January 24, 2007 @ 11:19 am

    hi, i’ve tried your firmware too. it works fine :)
    I intend to use the wag354g as a gateway with NAT, but without using the internal adsl modem. The wag354 would be a dhcp client of my cable modem (which can deliver only one ip), and dhcp server for my lan.
    but I don’t know if it is really possible with this hardware :/

    Thanks for the hardwork,
    jm

  • Comment by marcoV | January 24, 2007 @ 6:25 pm

    Hi, thank you for using my fw.
    Well, I dont know if all of what you want is possible. The best thing is to do some tests.

    dhcp client: from telnet. start the daemon:

    udhcpc -b

    nat: I really dont know if it is possible, the problem is that our router has a built-in switch, and I think that packets cannot be intercepted between the switch ports by iptables.

    Then you have to change the static routing in order to not forward packets to the wan adsl port.
    The static routes can be seen by:

    ip route list

    You should delete the default:

    ip route del default

    and instead add this:

    ip route add default via 192.168.1.1 dev br0

    For the same reason I’ve told you before, I dont know if it is useful to write the 2nd and 3rd line, because of the switch…

    Finally do a “ps” to check what is useless, and kill it:

    killall checkadsl
    killall redial
    killall wanledctrl
    killall pppd

  • Comment by jm | January 25, 2007 @ 12:15 am

    finaly i’ve managed to set up the wag354g as a gateway with my cable modem.
    to sum up, i’ve just done :
    udhcpc -i br0:0 -s /tmp/simple.script
    iptables -t nat -A POSTROUTING -s 192.168.1.0/24 -j MASQUERADE

    thanks again for this firmware :)

  • Comment by marcoV | January 25, 2007 @ 10:38 am

    does nat work?Anyway, good job!
    Maybe it should also be useful the command brctl.
    Ah, remember that all the changes disappear once you reboot your wag. This means you need to rebuild the fw to change this:
    # cat /proc/mounts
    /dev/mtdblock/0 / squashfs ro 0 0
    ….
    in
    /dev/mtdblock/0 / squashfs rw 0 0
    Maybe there is a command used to mount partitions, but I havent found it yet!
    If you want to share your knowledge with my new firmware project, it is much appreciated.

    cheers

    marco

  • Comment by Tom Millar | February 18, 2007 @ 10:23 pm

    Any chance you may provide a v2 compatible image?

  • Comment by marco v | February 20, 2007 @ 12:21 am

    @Tom: of course, but…do you dare test it? I cannot just put online a firmware, without being sure it works at least on one router. If you’d like to do some testing, let me know..

  • Comment by nibbs | April 1, 2007 @ 2:47 am

    Hi there!

    I found your page through google, I would like to use telnet on a WAG354 V1 Annex B.

    Is there any chance of a version for that hardware?

  • Comment by marco v | April 3, 2007 @ 1:55 pm

    I found your page through google, I would like to use telnet on a WAG354 V1 Annex B.

    yes, I checked, it should be easy. Gotta try to do a build. Thank you for the idea!

  • Comment by Aaronnn UNITED KINGDOM | September 6, 2011 @ 5:57 pm

    hey,
    just a quick thought, i was wondering if there is any way of using this router as a wireless bridge? and can this firmware do that?

  • Comment by marcov ITALY | September 6, 2011 @ 6:08 pm

    no you can\’t Aaronnn.

  • Comment by Kostas AUSTRIA | October 31, 2011 @ 2:49 pm

    Hi… Im also trying to use the wag354g as a gateway with NAT, but without using the internal adsl modem. I did not manage to make the router be a dhcp client of my cable modem. I tried the following line that our friend posted (Jan 25 2007) but didnt work:

    udhcpc -i br0:0 -s /tmp/simple.script
    The modem is just echoing Sending discover(xxx) without nothing.. Should i connect my cable modem in ethernet port 1 right??

    An by the way what is the /tmp/simple.script that you are using. This file does not exist in my router. Thanks in advance!

Leave your comment


Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method zrx_captcha::draw_form() should not be called statically in /membri/cyberstorm/blog/wp-includes/plugin.php on line 311
FireStats icon Powered by FireStats