No problems, thanks!
EDIT, Not needed!
I've successfully managed to integrate SNMP into the web interface!
You can call this my custom firmware based on the latest dgteam revision if you wish.
Added features:
- scp binary added so you can transfer stuff straight to /tmp using winscp without having to run a web server and wget your way in
- netstat-nat added (netstat that shows nat connections)
- dgteam's busybox with id and df added (for groups) and extended PS1 variables enabled
- stripped groups script (for winscp)
- /etc/profile added. This /etc/profile actually makes it so when you telnet/ssh in, you can actually see the directory you are in!
- Fixed tcp/ip params helpp page not showing
- SNMP. You can configure the settings for this from the web interface.
- netcat-traditional added
- httptunnel added
- Tugs's uptime client added (go on, lets see who's netgear is the most stable :P)
- autoreboot feature added (if your netgear cannot access sites, it reboots automatically)
- Cleaned out menu links. You can collapse menu links and expand them by clicking their title. To save space.
If anyone is interested in the nitty gritty of the SNMP starting;
- /etc/rcS is executed when the netgear boots.
- I add a line to that file making it start "/tmp/etc/snmp.sh"
- snmp.sh is a script that automatically adds nvram variables for the snmp settings and runs snmpd with those settings from nvram if you choose to enable snmp.
From the web interface, the snmp.htm file grabs the settings for snmp from the nvram using snmp.cgi and lets you change them. The settings are then read on the next reboot.
Removed:
- All other languages (I only speak English and modifying English pages was enough for me!). The other languages automatically symlink to the
www.eng folder.
Credits:
- DD-Wrt team for the router net-SNMP server
- Bracco for the toolchain & UberGT firmware where I took his cgi code and htm code
- Exovii who I originally based the cgi from using his code but failed as his replace binary segfaulted :P. But his snmp.sh startup script (which I made mods to) is in use.
Planned:
- addition of samba/cifs, nfs
- maybe adding kismet_drone
I hope Stev-O sees this and can fix it up and include some of this in the official DGTeam f/w.
Download (source only. I've included the source to things I've changed. To see source for original stuff, grab netgears source archives and the DGTeam source archive, build your own image):
http://qwerty12.maemobox.org/snmp_ro...q12mod.tar.bz2