On Tue, Jan 27, 2009 at 9:20 PM, Jim Herrmann kclug@itdepends.com wrote:
This is the solution! Easy deal. Once the solution is revealed, of course. Thanks much to everyone who helped. It's been yet another educational experience.
Glad you got your device working. You might try this if you can't leave "well enough" alone.
The following is offered as an FYI and a heads up to someone that might be able to help me with iptables at one of the next meetings.
There is an open source project for these routers. I've just updated the firmware in mine to the one of the latest releases of openWRT. Once installed the router returns a nice little 'logon:' cursor. Telnet in, type 'root' with no password and you are good to go. (Note: After the first login telnet is shut down and ssh is turned on.)
I have the WRT54GL, popular belief is that the L stands for linux because this model had considerably more memory than the 54G's. Jim, yours will likely will run openWRT. see: http://wiki.openwrt.org/OpenWrtDocs/Hardware/Linksys/WRT54G?highlight=(OpenW...)
the following are a few commands and their responce.
root@10.0.0.50's password: BusyBox v1.11.2 (2009-01-06 07:18:07 CET) built-in shell (ash) Enter 'help' for a list of built-in commands.
_______ ________ __ | |.-----.-----.-----.| | | |.----.| |_ | - || _ | -__| || | | || _|| _| |_______|| __|_____|__|__||________||__| |____| |__| W I R E L E S S F R E E D O M KAMIKAZE (8.09, r14127) ---------------------------- * 10 oz Vodka Shake well with ice and strain * 10 oz Triple sec mixture into 10 shot glasses. * 10 oz lime juice Salute! --------------------------------------------------- root@OpenWrt:~# root@OpenWrt:/# ls bin etc jffs mnt rom sbin tmp var dev home lib proc root sys usr www
root@OpenWrt:~# ls /etc TZ hotplug.d preinit banner hotplug2-common.rules preinit.arch config hotplug2-init.rules profile crontabs init.d protocols diag.sh inittab rc.common dropbear modules.d rc.d ethers mtab resolv.conf fstab openwrt_version shells functions.sh opkg.conf sysctl.conf group passwd uci-defaults hosts passwd- hosts.local ppp root@OpenWrt:~#
I hope to get to the next LUG meeting and pick the brain of someone that knows about iptables. The following is the contents of the firewall that is included with the installed firmware. I have questions about what is and isn't being let thru. These question can wait till I get to a meeting. Anyway here is the file.
root@OpenWrt:/etc# cat /etc/config/firewall config defaults option syn_flood 1 option input ACCEPT option output ACCEPT # option forward REJECT option forward ACCEPT
config zone option name lan option input ACCEPT option output ACCEPT # option forward REJECT option forward ACCEPT config zone option name wan option input REJECT option output ACCEPT option forward REJECT option masq 1
config forwarding option src lan option dest wan
## Enable this option if you encounter any MTU problems ## e.g. some websites work, others do not, submitting ## forms causes problems, ... # option mtu_fix 1 #EOF root@OpenWrt:/etc# root@OpenWrt:/etc# root@OpenWrt:/etc# root@OpenWrt:/etc#
It is a slick little device, it also has a very nice web interface. People have even attached SD memory cards to the motherboards and use them as various types of little servers.
later Rod H.