Neptune354 v0.2 - WAG354G & HG200 Unofficial firmware
30 december 2007 — Neptune354 v0.2 is finally out.
Check it out in the download page.
Changelog:
- Base source code updated to 1.01.12
- Graphic lifting in web interface.
- Support for OptWare package system from NSLU-2 Project (http://www.nslu2-linux.org/wiki/Optware/Packages).Packages must be installed in a NFS mounted folder.The package list is: http://ipkg.nslu2-linux.org/feeds/unslung/wl500gOptware is activated from telnet with command: “optware-install”
- Run a script after DSL Connection (put here your custom iptables rules, routes, nameservers…).Administration -> Management
- Support for wireless authentication via a Radius Server.”WPA Radius” : you have to authenticate against the RADIUS server after a successful login to the WLAN (using WPA-PSK).”Radius” : “WEP Radius”.
- Multiple (2) PPPoE connections support.
- Wan mac adress Cloning (only with PPPoE).Setup -> MAC Address Clone.
- Fix for Windows Vista tcp scaling.
- Added optimizations to network for better P2P and less memory footprint.
- Router act as a NFS client.You can mount a NFS shared folder at boot. Mount point is /opt/.Configuration in Administration->Utility
- Time is now synchronized using (a standard) ntp daemeon called openntpd, updated time zones.
- Fixed bug of time “not available” when qos is enabled.
- Added more console utilites; “mtd” used to flash independently root fs and kernel.
- DSL stats in Status -> DSL Connection:DSLAM Chipset Brand# of failed trainingsDSP Datapump version
- Free ram memory showed in Status.
- Fixed traceroute issues.
- Fixed snmp issue.
- Added support for HG200 AnnexA/B.
- Fixed disconnection issues ppp-lcp ( thnx johnathana).
- Latest DSL DSP Firmware 7.04 from Texas Instrument for Annex A/B.
97610572

Labosoft…………LABOSOFTT……….
non so se disabilitare gli rss o blacklistare la val cavallina
Hehehe
Ti tengo sotto controllo! OKKIO!!!
:D
Nice one
WAG354G v2 is planned for this release ?
Not by me! Maybe someone will come out with a build for v2.
Cool Changes……. been waiting for this…
Many thanks
thnx, you are welcome
Thanks buddy, I upgraded to Firmware Version: Neptune354 v0.2 and works like charm!
Hi Marco,
Thank you for your very good job !
I just upgraded to V0.2 and everythings works fine.
Ciao
Fantastic! Thank you once again for a new version.
Does anyone know what changes to make to IPTABLES in order to allow external access to SSH? Are there any examples of scripts that can accomplish this?
Many thanks
John
hi John these should be the iptables rules, add them to the online script (see Administration page for instructions…)
change router-ip and ssh-port and wan-router-ip to your values.
Last rule may be optional, try and let me know if it works
iptables -A INPUT -p tcp -m tcp -d router-ip --dport ssh-port -j limacceptiptables -A INPUT -p tcp -m tcp -d router-ip --dport ssh-port -j ACCEPT
iptables -A PREROUTING -p tcp -m tcp -d wan-router-ip --dport ssh-port -j DNAT --to-destination router-ip:ssh-port
Hi Marco,
I’ve had a go adding these rules to iptables directly from local ssh and in a script, each with no luck.
When I try to use the online script, the rules do not seem to be added (after checking “iptables –list”). The script is in the right place and is saved according to the instructions.
Does the script have to be in a certain format?
Thank you for your time!
John
Hi Marco
Many thanks for the new release - Working perfectly.
Rich
John: /mnt/online.sh is executed after the iptables rules of firewall are started. You can try adding a sleep of some seconds before entering the iptables commands.
bye
Very nice work,
Can i use telnet remotely (from another PC outside my LAN)? How can i do this?
Thanxxx!!!
Kostas, look at the comments above to try to enable ssh from wan. telnet is insecure
Why can’t i use remote management? With the official firmware i was able to connect remotely to my router by enbling remote management. Now when i try to connect i receive a blanc page. There are some extra settings to do?
KOSTAS, i was not aware of this problem and I havent done changes that could make it appear. Are u sure of this? However you could just stay with the official firmware until this issue will be fixed (maybe never…).
MARCO, in your instructions to John (Jan 9), the second iptables rule has no target fot the -j parameter. Is that correct or is something missing here?
MIKE K, you are right, i forget it in copy&paste. Now it is corrected, target is “ACCEPT”.
Can you please tell me if does it work?
MACRO, can i configure port forward over ssh? Could you give me an example?
Thanxxx!!!
Hi,
just got a cheap v1 model for 30e and tested your firmware on it, it works like a charm.
The device looks pretty stable although i have only used it on my dsl line for two days. I was expecting a better adsl2+ link but my line must be poor..
what kind of extra features did you have in mind when you worked on that nfs mount ?
thx for you great work !
hi, i dont think you can expect better performances for your adsl line, since I used the latest adsl drivers available from texas instrument. You can try with older netpune or with stock firmware to see if you get better sync, these firmware comes older adsl drivers.
About nfs, initially i used it to test new firmwares and appz without the needing to flash the router every time. Then i’ve seen it could also be used with the ipkg package system available on nslu2. that’s all
okay thx for the info, i didn’t know about that nslu2 device, but i don’t know much about linksys devices so
Anyways i managed to put a public rsa key for the ssh server, those open linux devices are really neat !
Too bad our french ISP Free and their great linux based freebox won’t let us play around with it..
MARCO, I managed to get local ssh access working finally - quite slow progress as I am working remotely, and the wag gets a new ext ip addr with each boot!
A couple of questions: first, what’s the best way to get the wag’s external ip addr - needed in the “iptables -A PREROUTING” command?
Second, what’s the difference between the two “iptables -A INPUT” commands. Are they both needed? I’ve had a look at the .ipt file after setting up remote management from one specific ip addr. In this case the only “INPUT” line is:
-I INPUT -s remote-ip -d 192.168.1.1 -p tcp –dport 80 -j limaccept
Finally, if I wanted to use a public rsa key, where would I put it and what would the file be called?
Thanks for your patience!
@mike
for the pub key i did the following steps.
put your pub rsa key in :
/mnt/.ssh/authorized_keys
then edit/create your /mnt/script.sh and put the following command in it :
ln -s /mnt/.ssh /tmp/.ssh
(the ssh server looks for /home/user/.ssh/authorized_keys)
don’t forget to unmount /mnt to save the modifications and mount it back, here with :
mount /dev/mtdblock/4 /mnt
try to log from your ssh client, you shouldn’t need to reboot. Test a reboot to make sure it works after a reboot..
ELDON, thanks
that’s very helpful!
i have some troubles using snmp, are there anything specific to make it work. I never used it so i’m probably missing obvious things, but i’ve tried to check port 161 with netstat on my wag and it doesn’t show in the listening ports..
I’ve downloaded some adsl mib file but i’m not sure if it’s a good one for the wag354g either..
thx
Hi Marco,
After upgrade I notice that my WAG354 is not so hot that before ! Strange isn’t it ? but good for the planet !
Thanks.
Neptune354: your router has never been so cool
:D
Wag354G v2 is not supported?
perfect mate
thank you for your great job
regards
Btw,
any chance to run openvpn on the wag354gv1? This would help a lot, since the servers don’t need to waste energy, if not used. Better would be getting into the Intranet via openvpn and starting the server via virtual powerswitch…
Best
just me
Kostas wrote:
+++++++++++++++++++++++++++++++++++++++++++++++++
Why can’t i use remote management? With the official firmware i was able to connect remotely to my router by enbling remote management. Now when i try to connect i receive a blanc page. There are some extra settings to do?
==================================================
Did you ever get this sorted as I have the same problem?
Thank you Marco, Great Work!
Do you have a diff to try to apply the changes to a similar linksys hardware as WAG200G?
Ciao
Gianluca
Gianluca C: source code is available on SVN. However the wag200g source tree is very different from the 354g one.
I cant seem to do tracerout tests, i always get “Request timed out”
Hi,
I’m not that versed on routers, OpenWrt etc but I came across this site while looking for advanced configuration info for my WAG354G v1 AnnexA.
I have a few questions concerning this firmware that I would be very thankful if someone could help me:
1) After installation, will my modem+router just keep working as it is now, with all the same configurations available in the Linksys setup (the blue and black pages on the router IP)?
2) Will this firmware allow me to switch off the ADSL modem and turn the WAG into a normal wireless router? If so, which Ethernet port becomes the WAN port so I can connect to an external modem?
3) Will this firmware allow me (if I decide I don’t need a router after all) to convert the WAG into a Wireless Receiver to give my Xbox 360 wireless access?
Many thanks in advance for any help!
hi Miguel.
1) Yes, but it’s better go through the config to check if all is still there because i’ve done some changes. Before flashing you can of course backup your old config, so that if yuo want to go back with stock firmware, you can re-upload it.
-
2) No sorry, even if it could be possible (with switch vlans), i’ve never implemented this feature
-
3) No, not with this firmware. Probably you can do it with OpenWrt.
-
anyway, if u download the firmware you can go through changelog and see the improvements.
Hi Marco,
Thanks for the prompt reply!
In regards to point (2), I googled a bit and from the following links I got the impression (though I don\’t understand any of these scripts) that this would be possible:
-
http://cyberstorm.altervista.org/?p=6
http://www.linksysinfo.org/forums/showpost.php?p=295154&postcount=5
-
Can you please confirm that these people\’s comments are wrong?
Once again, many thanks.
On the cyberstorm link above, I’m talking about jm’s comment, dated January 25, 2007 @ 12:15 am.
Great unofficial firmware!
My WAG354G now works perfect, good job Marco
really cool my wag354g kept dropping the connection untill i installed this update , really appreciate the work put into this.
I upgraded my router first from version 1.01.03 to version 1.01.05. The SNMP worked fine. I then went straight to Neptune354 v0.2 and the SNMP stoped working. I found version 1.01.11 on the Linksys site and downgraded my firmware to that version. It works now again.
Not sure what was wrong, but I have now lost the extra functionality.
I hope that you can maybe help he to find the problem.
I upgraded from 1.01.11 to Neptune354 v0.2 and my DSL begins to fall every 3-5 minutes.
Then I downgraded to Neptune354 v0.1 and my DSL line is rock solid, but I can’t connect to my Hall router (WRT54G tomato 1.19) using WPA security.
I would like to use Neptune354 v0.2, but the problems with my DSL line makes it unusable to me.
I tried to compile a new firmware from my self but the IT toolachins is no longer available anywhere, seems that has been remplaced fot a virtual appliance
hi, just got a second-hand one and it was with your firmware on it. quite a pleasant surprise.
so, my question is: i have a wag54g and i want to use it as a “extender” of the wifi network, is it possible to use it with wag354g, running your firmware?
thanks!
grey: wag354g can be used only in access point mode. if wag54g can be used in wds mode i think you could do it.
marco, thanks for prompt answer
yes, wag54g can be used in wds mode, but as far as i know, the second one (wag354g) should support it, too.
isn`t this right?
grey, no. but you can just use the wag54g in wds mode for range-extender purpose.
Thanks marco this rocks!
Hi Marco, great job! Have you any plans to support Annex M through the interface?
(Sorry posted this as a comment to v0.1 announcement first)
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!
It’s all working, it’s just I was looking in the default table instead of -t nat.
THX from thailand
Hi Marco, great job! Please fix WI-FI on Linksys WAG354G V2 Annex A - thx
Ciao,
c’è una pagina che spiega tutte le differenze (le aggiunte) tra questo firmware e il firmware 1.01.11 ufficiale? Ho provato a cercare un po’ ma non ho trovato niente.
Just installed on my £7.00 bargain bin Tesco HG200 (hacked with a craft knife to give me access to all four of the ethernet ports) and it seems to work fine, will try out the thing for real when I go home tonight. :¬)
marco, hi
how can i set modem up to make a reboot once a day, at a certain time ?
unfortunately, it hangs from time to time and i have to restart it manually to gain access to it…
maybe there is a way to automate this process ?
thanks!
Hi guys I have a linksys WAG354G and need to implement a captive portal system. The Neptune354 firmware update has WPA RADIUS support does this mean that user will be redirected to insert autentication?
If that is the case all I have to do is implement a RADIUS SERVER and I’m done….
Thanks for your help
Andre
Hi,
Thanks for the great job!
Any chance of a new firmware revision/features for WAG354G?
Reference - reboot router once a day
Grey - this is how you do it
Create a script that runs at start-up
-reference admin pages to create rw partition
-create / add to file /mnt/script.sh
#!/bin/sh
#
# Have to kill cron before adding new jobs
killall cron
#
# create cron job to re boot the router at 9.00 am
echo “* 9 * * * root /sbin/reboot” > /tmp/cron.d/reboot
#
# Re start cron
cron
#
#The end
This router software is good
Hi Marco,
Is there any possibility of making some updated firmware for WAG354gV1? The last one (Neptune 0.2) is over a year old and you are the guy who knows how to take what’s needed off the Open-WRT and make it WAG354G-friendly
Most of the people don’t know how to compile, what to compile etc.
Best Regards,
Mark
Hi there, I have enormous problems with playing Left 4 Dead. I posted the issue on the official Left 4 Dead forum but didn’t get anywhere with it: http://forums.steampowered.com/forums/showthread.php?t=849636
If anyone can help me I would be really grateful
Air Jordan 4
RICK, Thank you so much! Regards from MOLDOVA. And yes, software is great!
Thanks a lot great job finally it is working!
Best Regards
Muchas gracias por tu trabajo, aunque tube problemas al principio, con cortes de ADSL. ya los he podido solucionar, aunque… cada vez que lo apago, pierdo el acceso SSH, y tengo que formatear la particion, montarla y generar la KEY.
Esperemos que en el proximo.. si lo hay. espero que si, se solucionen esos problemas.
Saludos y Gracias.
Hasta la proxima version Neptune354 v0.3
Is it possible to change the downstream margin. At the DSLAM is set to combine with 8 db. If it would be possible overestimation of noise margin could get more speed
Congratulations for your excellent work
Hello,
Thanks for your jobs! Very great…
What about a new version with IPv6 support ?
See you
Sorry, the comment form is closed at this time.