Neptune354 v0.1 — new firmware
Hi all! A new firmware is available. The new project neptune354 is working hard to give you a better firmware for your wag354g.
Someone of you asked about the AnnexB version, so I have built it, but since I cannot test it, is up to you to report your success. Anyway there is no reason why it should not work.
Check out the download page
These are the new features you will find with this firmware:
* Added the Admnistration -> Utility page for utilities. (format partition, private key, …).
* You can tell sshd to listen on a user defined port.
* Uptime of router showed in the “Status” page
* File system is now compressed with Squashfs 3.1-r2
* Dnsmasq 2.22, we hope no more dns problems…
* Fix to firmware upgrade via http, (it seems that) the rw partition is no longer erased.
Thanks toneworks:
* You can specify to run a custom script at boot.
* Static DHCP (Setup -> Static DHCP)
* Fixed the bug of button “DHCP Client Table” always disabled in Status_Lan.asp
* httpd speed improved up to 35%!
* Fixed bug with static route management in web interface.
* Added wan uptime in the “Status” page.
Thanks JohnAthana:
* Fixed bug of Internet Led stop blinking after heavy download sessions
Good work, looks to work flawlessly.
tnx for annex B firmware but i allways get the message “wrong code pattern”, please let me know how to apply the firmware to check it out.
sorry I forget about the code pattern, it was the same of the AnnexA version.
Now it should be fixed, test it and let me know!
Can You prepare this firmware for wag354 v2?
Maciek: for sure I can build a version compatible with the v2, but I need a volunteer to test it, because I have only v1 hardware.
Let me know if you are interested.
Good job. It’s working perfect. But how can I use scripts? In addition, can I run xLink kai?
you could use the script to run whatever you want to be executed by the router at startup. If you dont know how to use it, probably you dont need it. Just keep in mind that there is this possibility
about xlink kai, as I’ve already write, you need a running version for our router.
Marco: I have a HG200 which was sold in the UK, but I belive is a cut down version of the WAG354G V1, no external antenna, and only one RJ45 connection although they are there and active if you open it up. Your code works on the HG200 as far as I can see, but needs the code pattern changing to HG1A and re tichksum. Apparently the HG200 is not 8Mbps ADSL compatible, one upgraded as above seems to be.
Thanks
ok Marco, prepare firmware for v2, I will upgrade my router and I will be testing
@Andrew: nice! Are you sayng that 3 rj45 ports of the HG200 are just covered by the case :=) ?
Anyway, are u sure that all is working, including wireless? If yes, I will add also a firmware available to download for this model.
@Maciek: ok, in the meanwhile you can send me an email, so that I can tell you when the custom firmware is ready…
hi i flashed th annex B version and ended up with a flashing power led. so far i couldnt recover the router at least with my windows computer the recover procedure didnt work. now im going to build a serial cable and try i that way. fortunatly i have a backup modem.
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
There is an easier way to recover your router.
First of all, you need a tftp client.
Download here http://www.practicallynetworked.com/downloads/Other/tftp.exe
Download the original firmware and rename it to upgrade_code.bin
Select it in the tftp client by
clicking the “Browse” button.
In the ip field put 192.168.1.1
In the password field put “admin”.
Disconnect the router from the power line.
Reconnect it and and as soon as possible press the “Upgrade” button.
All of the above require a static ip.
If tis doesn’t work I would suggest that you should enable in Windows XP to display a status icon in system tray when it connects to the router. Then you have to press the “Upgrade” button immediatellywhen you see this icon.
@Martin: i’m sorry about that, anyway to recover your router you just have to guess the right time to send the firmware via tftp at boot like Paris said.
If you can build a serial console that would be great, so that we can investigate on the cause of the router not working.
good luck
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
hello guys i flashed the annexB of Neptune354 v0.1 firmware for wag354g V1 and i am testing it for about half day.well i saw the tracert command doen’t works it writes unknow protocol icmp,the busybox is 1.2.1 ver and the firmware has adsl disconection problems every 1h with torrents.for disconections i used before the johnathanas firmware from http://l1nux.h4ck3r.googlepages.com/wag354g.html
and i didn’t had any disconnections.
my msn is nikoskrhth@hotmail.com fo more detail or firmware testing.
regards nikos crete greece
Hey Nikos, I’m from Crete too. Now to your questions.
1) traceroute has been fixed on svn. It will be implemented in future versions.
2) your disconnections happen because of OTE dsl lines. They are congested and they use packet limit instead of bandwidth limit. What causes the disconnects is lcp echo failure (3 failed tries every 30 seconds means disconnect).
Johnathana has removed this feature on his firmware. While using a non-lcp firmware on OTE line is good, for international usage lcp is a good feature, eg. in case of a stalled connection.
Anyway if you have more specific questions, please join dev mailing list.
Cheers
hi, i could unbrick my router the way paris said. but now i have a different weird problem that is i can not upgrade firmware via the webinterface even though the router says update succesful it didnt update the fw.
@Martin Try to update via tftp.
@Nikos I am from Athens! lol! Anyway, what Toneworks said is right. I have no such problems with Vivodi shared LLU.
Hello guys again.
i have disconnection & dyndns problems with neptune 354g v0.1 for annexb. i saw if i have torrent upload and the adsl has to much lag the router’s dyndns ip updater can’t connect with the server and don’t update the ip.after that whitch the adsl don’t have lag the dyndns router updater don’t try again to connect with server again i beleave and it stucks.
can you make diffrent builts of netptune354 fimware for users with packet limited adsl lines with lcp echo failures like johnthanas firmware?
i tryed the neptune firmware v0.1 in 3 linksys wag354g routers with diferent adsl lines and i have disconnects at all.
i would like to join the neptune354g project but i don’t have experience about programming
I just hope Johnathana wants to contribute to Neptune354. If he doesn’t then I’ll have to compile non-lcp versions for Greek users myself.
About dyndns: Does the problem exist with qos enabled? (http high priority).
I can try changing dyndns settings about updating, but you’ve got to be a beta tester. That’s why I’m telling you to join mailing list.
C ya
Fantastic work! Uprgrade went smoothly.
Only flaw I have found is that I can not VPN into my server from the outside world (PPTP - the GRE protocol #47 is not routed). Not that I could with the official firmware either mind.
Any chance of a fix?
Bryan
hi Bryan, my knowledge of vpn is near to zero, so I really dont know how can I fix your problem. Have u some idea? Is it a problem of iptables or what?
Hi Marco,
First of all, nice work!
Second thing a question.
This “Custom script” where should it be added? I have tested to manipulate the iptables rules and it works like a charm, but I would like this to be permanent. Couldnt at first glance find where iptables read it configuration from so i would like to have this (and some other stuff) ran from an shell script. So where should the script be ? /usr/etc/rc.d ? Mount it -uw should be sufficient?
Thanks
Abu
ps. For all others that dont know but would like to play arround with firewall, its pure iptables and binary is in /usr/sbin.
Ignore my previous comment, just saw its at /usr/tmp
Thanks anyway.
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
the script should be put in /mnt/ and called script.sh (remember to chmod +xr). Obviously RW partition must be mounted at boot.
I have to say you that, I am not sure that writing iptables rules in the startup script will work. That is because the boot of the router is in this order:
1) run the custom scritp;
2) connect to the Internet;
3) upon connection, do a iptables-restore of the rules in /tmp/.ipt.
These are the current rules of iptables: https://opensvn.csie.org/neptune354/trunk/router/rc/firewall.c
If you have some knowledge of iptables and setting up a firewall, you can if you want rewrite all the rules, because I dont like things like policy “ACCEPT” for the INPUT chain. Maybe it can be used a bash script instead of a c file.
In case tell me something on http://groups.google.com/group/neptune354-dev/
Hi there!
I’m using that firmware now since a week (Annex B, router v1). Flashed it and it’s working. Awesome…
One point i was wondering since I’m using that device is the following: The router seems not to be able to obtain the correct time.
No matter whether I’m using the Linksys or Neptune fw, all it says is: ” Current Time: Not Available”
Do you have any idea, what this could cause? And maybe have a workaround for that?
Thanks in advance for the big help with that fw, loving it…
Hi Marco.
Re: VPN
Sorry I’ve been away for a week. I’ve been trying to diagnose the problem, so far with no joy. I will keep looking.
Bryan
Good day marco v
I’ve been using the firmware for 3+ days…
annex A, router v1
Loaded from linksys version 1.11 -
Performed a download test
(Bit torrent network) downloading 3 torrents at the same time 600+ connections no issue
So far no issues to report….
Very Very Good…………….
I’ve just seen Nikos Crete’s post I have not seen an issue so far, I’ll report back if I do
time is not updated when qos enabled. one possible workaround is to login through telnet and enter command “ntpd”.
Thanks toneworks! Telnet helped…
hi guys,
I think that on my wag with neptune354 QoS doesn’t start after reboot. After restart I need reapply it from WWW (without it “tc -s class show dev ppp0″ doesn’t return any info - just empty line).
Thanks
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
Hi,
I’ve built neptune354 for V2 hardware. Please check out the google groups page…
http://groups.google.it/group/neptune354-dev?hl=en
The latest version is neptune354_v2_04.bin, please don use neptune354_v2_03.bin as is a nasty bug.
Jim
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
Hi to all! Compliments to all for the optimal job.
I’m working from some month to the porting of firmware neptune354 on the WAG354G V2 and I have tried the firmware of Jim. Firmware goes well, but I have noticed that the power of the wireless is a lot diminished. If it interests to you, I will confront your sources with mine and say you what to change.
My firmware release _003 is available here: http://www.esnips.com/web/ConfigurazioneLinksysWAG354GV1V2
A new release _004 fixed some PPPoE problems of the Linksys WAG354GV2 1.01.58 firmware.
Byez
i need help
is there any way i can disable ports
i need to disable torrents as users under me use alot of torrents
I have upgraded from Firmware Version: 1.01.11 to 1.01.11-neptune354.
Immediately I could notice my internet speed seems to be increased (I don’t know how it is possible) I will monitor for some weeks and post here my feed back.
I need to know what are the benefit out of this upgrade?
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
hi Ahamed, about the speed, the only explanation I can give you is that neptune use adsl drivers that are newer than the ones in the official firmware, so maybe you can sync your router with a higher bitrate.
These are the changes so far: https://opensvn.csie.org/neptune354/trunk/changelog
As you can see at the moment there arent lot of benefit for “normal” users, but I hope to come out in future with new fixes and features.
bye and thanks for your feedback
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
Hi Marco,
Might be nice to ‘borrow’ some of the features in ‘Tomato’ firmware for WRT54G.
http://www.polarcloud.com/tomato
Hi Marco,
I want to use WDS to connect a WRT54G to a device running DD-WRT.
The Neptune firmware seems the best option. Can I add the WDS function using a package (without building the firmware)?
(I hope this the right place for this question)
neptune is not for WRT54G!! Use openwrt instead….bye
Hi Marco,
Just few words to thank you for your very good job !
Everything works very well.
Cheer !
Hi Marco,
Sorry for the typo.
I want to use WDS to connect a WAG354G to a device (WRT54G) running DD-WRT.
The Neptune firmware seems the best option. Can I add the WDS function using a package (without building the firmware)?
sorry mark, wds is not available on this type of hardware
Does the neptune firmware support half-bridge mode?
Because I’m running a WRT54G router with my WAG354g and I can’t seem to get what appears to be half-bridge working properly on my WAG. (Static DHCP -> Share WAN IP + Single PC Mode)
i dont know what u mean with “half bridge”. By now this firmware make the WAG act like a standard access point. Repeater mode (wds) or client mode are not available.
It’s because I want the WAG354G to be used as just a ethernet modem (PPPoA), and use a customised WRT54G to do all the routing.
Half-bridge mode refers to disabling all router functionality and using an external router to do its job. It also forwards the WAN IP address to the router as the gateway IP address (not 192.168.1.1 for example).
Fantastic firmware! However, is it possible to give out a hostname and/or IP address based on MAC? Also, is the DNS caching features of dnsmasq enabled?
mapping ip-mac is possible, just look at the page reserved dhcp under setup.
About dnsmasq, dns caching is there only if it is already enabled by default.
Just started using the firmware, its SO much better than the standard Linksys firmware.
I have a quick question, has anyone managed to connect two Xbox 360’s wirelessly and get them both to show as Open for NAT?
Hi Marco,
Thanks for this great Job
I am using 1.01.11-neptune354 firmware
According to the changelog ssh can be used I am wondering if there is extra setps to enable this feature as it is not described
Also, I am wondering if the qos tab can use port range instead of a single one. I would like to use this feature for rtp traffic wich require udp port range and not a single port
Thanks for your clarifications
Sam
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
hi, about ssh read here: http://cyberstorm.altervista.org/phpBB3/viewtopic.php?f=8&t=34&sid=c85dbb76c8164d46bb1df2e51ad8fd75
About qos port range, yep of course it can be done, i just have to find the time to add all those features.
Hi,
I have applied the procedure described in the link you have posted and manged to connect from the lan but when testing the connection from wan I was unable to connect. I have tried to use the port forwarding to forward ssh cnx to the router wan address which does not help. I am wondering if you have no idea what to check to make the ssh wan cnx possible
Thanks in advance
Sam
hi Sam, I could do it for the next release of neptune354. I have to add a line to the configuration of the firewall.
Hi Marco,
I am wondering when this new version is planned and if
it will fix the qos for rtp flow as well or not
Thanks in advance
fix qos for rtp == port range qos?
about next firmware release, for the end of this year, but you keep asking me improvements so i dont know if all of them will be there.
Yes QOS for rtp will be enabled by qos port range
Thanks for your efforts
Oh! Great job!
Very good and useful post.
Thx, your blog in my Google reader now
is it possible to setup a wireless bridge between two wag354g with neptune354?
no, wireless can work only in access point mode.
hi!
Greate job….
i have a problem
the remote management do not work….via 1202 port (http://xxx.xxx.xxx.xxx:1202)
any idea?
I’m from Spain, I have just installed the neptune V1 annex a, and my WRT54g loose his DSL connection every 10-30min.
Any fix for this ?
I’m with Jazztel Spain
Hi Marco
I just flashed my WAG354G Annex A with your firmware, and it’s solved a few issues I’ve had.
Thanks for the time and effort put into getting this work done. I love all the new features the router now has. It’s been up solidly for a few days now, and it’s definitely more stable than the original firmware.
You’re a GOD !!!
All of the best with your studies.
Jude
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
Marco, i was wondering if there is any way to support multiple VCs. I am trying to use communityNet feature of my ISP. The instructions which the IPS has posted for linksys routers is as follows:
This guide shows how to setup your modem for CommunityNet on a Linksys WAG54G v2.0 / AG241
First step is to log into your Linksys Webconfiguration, the default address for this is http://192.168.1.1, with a default username/password of admin/admin
* Login to Linksys WAG54G v2.0 / AG241
* Change to PVC 2
You will find this on the page the linksys login drops you too, on the left it shows PVC Connection and to the right of that you will see ‘Please select a Connection:’ with a dropdown box, open the dropdown box and select the number 2. This will automaticly update the page and take you too PVC 2.
1. Tick Enable Now
2. Set Encapsulation to RFC 1483 Bridged
3. Set the Virtual Cirtuit to as below
o VPI: 8
o VCI: 36
* DSL Modulation should be set to MultiMode
* Under IP Settings, make sure ‘Obtain an IP Address Automaticly’ is dotted
* Make sure ‘PPPoE Session’ is set to Disabled.
Click Save Setting at the Bottom of the page
I have attempted to recreate the above with no luck and was wondering if you had any ideas / suggestions. Would you know if i could achieve the above connection via telnet command line string ? thanks in advance
and yes i am running your latest firmware, thanks, great piece of work
I would like to know if WAG354G support in MIB OID’s that could tell me through SNMP the transmission rate,throuput and the connected clients
kevlar: yes, it is possibile, by recompiling firmware with Multi PVC support.
marcov, care to explain how to recompile with multi PVC support? can it not be currently achieved with the current build via the command line?
ciao kevlar, sorry for delay.
You can enable multi pvc simply uncommenting the MULTIPVC lines in the files “cy_conf.h” and “cy_conf.mak” located at the root of the trunk directory on SVN. Building firmware is just matter of following the instructions on the download page.
thanks buddy, ill give it a go this weekend if i have time, I shall report results when complete. Your a legend thanks again.
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
Hi, great work Marco V! I installed v0.2 on my WAG354G V1 Annex A. I am trying to add iptables rules described here: http://www.funofmath.com/weblog/2007/04/starcraft-and-nat.html:
iptables -t nat -I PREROUTING -p udp -d 70.100.200.24 –dport 63002 -j DNAT –to-destination 192.168.1.2:6112
iptables -t nat -I POSTROUTING -p udp -s 192.168.1.2 –sport 6112 -j SNAT –to-source 70.100.200.24:63002
iptables -t nat -I PREROUTING -p udp -d 70.100.200.24 –dport 63003 -j DNAT –to-destination 192.168.1.3:6112
iptables -t nat -I POSTROUTING -p udp -s 192.168.1.3 –sport 6112 -j SNAT –to-source 70.100.200.24:63003
(IPs are different and specific to my setup).
However when I then do iptables –list I can\’t see anything with port 63003, 63002 or WAN IPs I entered. Same if I add these rules to post-connect script. Do you have an idea why? Thanks in advance!
Hi Marco, I’m new to this, and you may have answered my question,
does the latest Neptune firmware allow a WAG354g to act as a wireless bridge to another wireless router? I want to used it with my xbox360 to connect to my wireless router upstairs.
ANDYW: no
I tried to build one for WAG354G Annex A and encounter error “Error 63″, configure.in:324: warning: AC_CACHE_VAL(zebra_rtread, …): suspicious cache-id, must contain _cv_ to be cached. your implementation of AM_INIT_AUTOMAKE comes from an old Automake version. You should recreate aclocal.m4 with aclocal and run automake again.
Do you know whether it has something to do with wrong configuration or some missing library? Thanks
JO: use another version of Automake. There is some versions out there that seems to be bugged!
I suggest you to use an earlier version, but I cannot tell you the version exactly
Try 1.7 or 1.8
good luck
I managed to get it compiled until to the point I have no idea to fix it. The last few messages are
[ ! -d nvram ] || make -C nvram
make[1]: Entering directory `/home/me/neptune-firmware/trunk/router/nvram’
mipsel-uclibc-gcc -I. -I/home/me/neptune-firmware/trunk/include -I/home/me/neptune-firmware/trunk/router/shared -Wall -s -O2 -c -o nvram_linux.o nvram_linux.c
make[1]: *** [nvram_linux.o] Error 255
make[1]: Leaving directory `/home/me/neptune-firmware/trunk/router/nvram’
make: *** [nvram] Error 2
Any idea how to fix that error?
Hi Marco,
I spent the day attempting to compile the firmware but am running into the following problem.
from your Troubleshooting section
4)
….
src/linux/linux/drivers/net/mac/writemac.o’: No such file or directory
make: *** [linux-modules] Error 1
….
This error is not influent, you can safely ignore it.
Once this error occurs, everything in the compile stops. in the images directory there is a ram_zimage.bin. i am a little lost as to where i go from here. Any help would be greatly appreciated. Thanks.
hey KEVLAR, did you end up resolve the issue writemac.o not found error?