Question: how do you guys manage to telnet/ssh into the router? Nmap reports that ports 22 and 23 are indeed open, but telneting or sshing results in an immediately closed connection. Thanks for any help!
Topic: Asus WL600g
The content of this topic has been archived between 19 Sep 2015 and 3 May 2018. Unfortunately there are posts – most likely complete pages – missing.
Hi
@ jhoderd
You have to go to the webinterface of wl-600g and backup the settings ('Management'->'Settings' and click on the button 'Backup Settings'). There will popup a window where you can choose the folder and filename for the backup file. Click on save and remeber where you have saved it. Now you navigate to the foler where you have saved your backup file and open it with an text editor. Now you have to find this line:
<SecCfg>
<srvCtrlList ftp="disable" http="lan" icmp="enable" snmp="disable" ssh="enable" telnet="disable" tftp="lan"/>
and change it to following:
<SecCfg>
<srvCtrlList ftp="disable" http="lan" icmp="enable" snmp="disable" ssh="enable" telnet="enable" tftp="lan"/>
After that you save the file and restore it to the router. Go to wl-600g Webinterface again and go to 'Management' -> 'Settings' -> 'Restore' choose the backup file and click on "Restore" button. Now you should have telnet enabled.
If you have microsoft windows you have to use an editor that is capable to handle the format of the file. (i.e. WinVi32 will do this). Do not use Windows own Notepad because it will destroy the format after saving the file.
StefanV3
Hello.
Is there any way to set the Asus wl 600g to run Rapidshare(Premium) on it? - Torrents work fineThanks
Premium work good
Use VBScript (blabla.vbs) such as this:
//
Set oShell = WScript.CreateObject("WScript.Shell")
oShell.Run "telnet.exe 192.168.1.1"
WScript.Sleep 3000
oShell.SendKeys "admin" & chr(13)
WScript.Sleep 1000
oShell.SendKeys "admin" & chr(13)
WScript.Sleep 1000
oShell.SendKeys "sh" & chr(13)
WScript.Sleep 2000
oShell.SendKeys "PATH=$PATH:/var/harddisk/asus/wget/bin" & chr(13)
WScript.Sleep 1000
oShell.SendKeys "wget --cookies=off --header " + Chr(34) + "Cookie: user=8907915-{%}64{%}62{%}52{%}65{%}48{%}58{%}54{%}71" + Chr(34) + " -c -i /var/harddisk/links.txt -a /var/harddisk/Downloads/wget.log -P /var/harddisk/Downloads/ -b"
//
You need cookies from firefox
(Last edited by Falty on 13 Apr 2009, 21:20)
@StefanV3: thanks for the information!
Though I'm a bit disappointed with the telnet interface. I was expecting a full Linux shell, but instead all you get is a menu-based interface that doesn't really offer more than what is already available via the web interface.
We really need to get OpenWrt on this sucker...
@StefanV3: thanks for the information!
Though I'm a bit disappointed with the telnet interface. I was expecting a full Linux shell, but instead all you get is a menu-based interface that doesn't really offer more than what is already available via the web interface.
We really need to get OpenWrt on this sucker...
just wirte
sh<enter>
in the menu of the telnet, and you will get "full Linux shell")
Anybody test annexb with fixed startup script problem ? I have tested on my wl600g and i see that is working well.
Hello, first of all thank you and others for good work.
I have tried your annexb_chetnix_v1.2 with my usb stick (FAT32+SWAP). Startup is not fixed, when I try to access Services or Samba Setup via firefox it can't connect to 192.168.1.1:8080, I think it's because of bad /etc/startup.sh script, I think that there must be something like this "./var/harddisk/asus/startup" or "sh /var/harddisk/asus/startup" instead of "/var/harddisk/asus/startup" (include dot or sh with space in front of the command). Now I have to manually launch /var/harddisk/asus/startup script via telnet.
Anyway it works great.
I have some questions:
What file systems does it support? Can you add ext3 support?
Does it support large files (>4GB read and write)?
Does it support more partitions?
Am I right that disc is the whole drive, part1 is the first partition and part2 is the second partition in the directory /dev/scsi/host0/bus0/target0/lun0? What is recommended and maximal size of swap? Is it 524284kB? I got "mkswap: warning: truncating swap area to 524284kB Setting up swapspace version 1, size = 536862720 bytes" although my swap partition is 1GB.
Thank you for your answers.
(Last edited by c4pp4 on 3 Jul 2014, 11:35)
Hello everyone
I see there are many people interested in this Router.
How is going freemind with your firmware.
Can i help you ?
I have finished my ANNEXB firmware for wl-600g.
Firmware for now support:
NARS patch,
path to the /var/harddisk/asus/bin and /var/harddisk/asus
swap support (swapon, swapoff, mkswap),
ctorrent and dctcs,
thttpd,wget,webcam and samba
Also included fullbaner menu scripts with samba settings and on/off switches.
For any suggestion write me via email wl600g@gmail.comUse at your own risk
PS.For running startup scripts just type startup in sh.
Can we join our work and make your firmware start the startup script
automatically like the one i have made ?
I see that in your region you use AnnexB, but in mine i use AnnexA
I think if we join our work it will be more easy for both of us.
(Last edited by fullbanner on 20 Apr 2009, 00:55)
OMG fullbanner is back, hi)
Man, if you will add swap support to the kernel of your firmware and nars patch, it will be the greatest day for all 600g users))
Cuz your firmware is almost perfect, but without swap, download of big torrents is impossible.
(Last edited by PoliceMan on 20 Apr 2009, 07:21)
Hello!
Look at: http://forum.openwrt.org/viewtopic.php?pid=86114#p86114
Torrents work fine.
Someone would like to test my AnnexA 1.3.0.5A based firmware build?
I'm releasing it for download because uptime on my wl-600g is already > 10 days. Should be stable enough.
Mostly based on hacking and analyzing previous fullbanner and Blu3s M00d versions mods.
Version 1035A(PM) - build 090411_0113 - Beta
Download here: bcm96348GW_fs_kernel_3.02L.01.-090411_0113.zip
Features:
based on 1.0.3.5A
Annex A
Kernel with EXT2, EXT3, NTFS (RO) support (m)
Kernel with swap support
Kernel support for SMB, NFS, CIFS (m)
Full uClibc libraries
Large file support
Long names support
Delayed startup for /var/harddisk/asus/startup
path for /var/harddisk/asus/bin embedded
adslcnfg.html (DSL_MENU) enabled
Webcam page enabled
hosts file with localhost defined
hostname with wl600g default name
BusyBox Built-in commands, ask for more if needed:
-------------------------------------------------------------
. : break cd continue eval exec exit export help login newgrp
read readonly set shift times trap umask wait [ ar arping awk
basename bunzip2 busybox bzcat cat chgrp chmod chown chroot clear
cp date dd df dirname dmesg du echo egrep env expr false fdisk
fgrep find free ftpget ftpput grep gunzip gzip halt head hostname
ifconfig init insmod install ip kill killall klogd linuxrc ln
logger logread ls lsmod md5sum mkdir mknod mkswap more mount
msh mv netstat nslookup patch ping poweroff ps pwd realpath reboot
renice rm rmdir rmmod route rpm sed sendarp sh sleep swapoff
swapon sysinfo syslogd tail tar telnet test tftp tftpd time top
traceroute true tty umount uname uncompress unzip uptime uudecode
uuencode vconfig vi yes zcat
/var/harddisk partitition apps
Download here: wl600-harddisk.zip
psf not needed
patched setservice
samba supported
rebuilded dctcs, last version (firefox needed)
ctorrent-enhanced, last version
FireFly / md-daapd DAAP (iTunes) Media Server
mediatomb upnp Media Server
Services page with links to apps management pages
As usual: No warranty, prepare to unbrick in case of failure (see http://domodossola.altervista.org/wl-600g/debrick.htm).
Support page: http://www.drakeworld.net/blogs/drakebl … mware_hack
Hope it works on your router too. Feedbacks welcome.
UPDATE: see new version here -> http://forum.openwrt.org/viewtopic.php?pid=86625#p86625
Bye,
Paolo.
(Last edited by TheDrake on 26 Apr 2009, 07:44)
very interesting.
NARS reconnect path very needed!!!!!!!!!
please add it!
TheDrake
your firmware not working - i test upload tftp and IE and still have org firmware.
Updates on work in progress:
* NARS patch applied (but unable to test);
* stupid-ftp large files transfer patch applied.
Now working on including latest version of brcm adsl physical layer.
See you in a couple of days for a new build. Please be patient. :-)
Bye,
Paolo.
Updates on work in progress:
* NARS patch applied (but unable to test);
* stupid-ftp large files transfer patch applied.
test NARS recoonect is simple:
1. (hardware way) disconnect adsl cable and connect - if after adsl link up also up ppp session - patch work
2. (software way) goto adslcfg page, chahge any adsl setting (like for example adsl2+ enable/disable) and press Save/Apply. adsl reinitialized if after adsl link up also up ppp session - patch work
one wish: please add support of cyrilic code page (dos=cp866, win=cp1251) for stupid-ftp
Hello all.I managed to create a libtorrent 0.12.2 and 0.12.4 with no problem, but when you create rTorrent 0.8.2 and 0.8.4 hangs errors, or has someone in has it ????
Trying to find a good bit torrent client but all over-charged to the router for large files.
Hi
@ TheDrake
Is there a way to speedup the transfer rate of a connected usb storage device??? I am using an Trekstor DataStation maxi.u (500 Gb WD drive, USB 2.0) and data transfers via ftp or sambe are very poor. I measured a 100 MB file transfer with NetMeter and only get rates up to max 1.5 MByte/s and 900 kbyte/s write speed.
And, could you let me got hands on the sources of your 1.0.3.5 firmware??? I want to make an annex b version with updated adsl-phy.bin (B2pB023k) and adsldd.o from (19b from Siemens SL2-141-i Firmware) and adslctl from Siemens SL2-141-i for complete Diagnose Modem Tool v8.07 tool (http://dmt.mhilfe.de)
And, if you want, there is a ASUS WL-600g board at http://www.modemboard.net where (<- Sorry, if this is undesirable please delete this line but not the complete post)
Greetings
StefanV3
(Last edited by StefanV3 on 22 Apr 2009, 19:54)
Hello all.I managed to create a libtorrent 0.12.2 and 0.12.4 with no problem, but when you create rTorrent 0.8.2 and 0.8.4 hangs errors, or has someone in has it ????
Trying to find a good bit torrent client but all over-charged to the router for large files.
Hi.
I've decided to try your firmware with transmission and it looks a good bittorrent client, you need is to activate a swap partition. Transmission was something I've tried when I've build my firmware but didn't succeed with it and now I don't have much time to look at it again. Anyway, regarding the use of transmission, add a start up script in the external hard disk that will call the "swapon" command to activate the swap partition. With this, I think you can forget the large file problem.
Mike
First of all, thank you for the great stuff you all release!
In order to use these firmware I understand I have to use some USB storage: does it works both with Sticks and Harddisks?
If I understood it correctly the storage requires 2 partitions: the first FAT32 for the storage, the second should be 512MB for the swap. Right? Should it be primary or extended?
Can I use an USB hub and put both a stick and an harddrive? how it decide what to mount in /var/harddisk adn what to use as swap?
TheDrake
your firmware not working - i test upload tftp and IE and still have org firmware.
Don't know why, sorry. I'm updating without problems with IE.
Any other successfull updated?
TheDrake wrote:Updates on work in progress:
* NARS patch applied (but unable to test);
* stupid-ftp large files transfer patch applied.test NARS recoonect is simple:
1. (hardware way) disconnect adsl cable and connect - if after adsl link up also up ppp session - patch work
2. (software way) goto adslcfg page, chahge any adsl setting (like for example adsl2+ enable/disable) and press Save/Apply. adsl reinitialized if after adsl link up also up ppp session - patch workone wish: please add support of cyrilic code page (dos=cp866, win=cp1251) for stupid-ftp
Some dubts testing NARS patch. Is it only for pppoe "flavour" connections?
I've added cyrillic codepage for Kernel, I will check for stupid-ftp cyrillic support patches if any. I'm working on large file support for stupid-ftp (some problems here, working on it).
Hi
Is there a way to speedup the transfer rate of a connected usb storage device??? I am using an Trekstor DataStation maxi.u (500 Gb WD drive, USB 2.0) and data transfers via ftp or sambe are very poor. I measured a 100 MB file transfer with NetMeter and only get rates up to max 1.5 MByte/s and 900 kbyte/s write speed.
I think that transfer rate is low because of hardware limits. Try to simply cp a file from HD to the same HD locally. You will get a slow performance too.
If you know how it could be speeded up, please tell me! :-)
And, could you let me got hands on the sources of your 1.0.3.5 firmware??? I want to make an annex b version with updated adsl-phy.bin (B2pB023k) and adsldd.o from (19b from Siemens SL2-141-i Firmware) and adslctl from Siemens SL2-141-i for complete Diagnose Modem Tool v8.07 tool (http://dmt.mhilfe.de)
I'm not ready releasing sources, no time to clean it up, but I will sure release it.
I've tried to update adsl_phy, adsldd and adslctl from USR9108 for testing and it works, but I've found problems (up/down ADSL not stable). Do you know if I should I update include files too?
And, if you want, there is a ASUS WL-600g board at http://www.modemboard.net where (<- Sorry, if this is undesirable please delete this line but not the complete post)
Some problems with german language here... :-)
Bye,
Paolo
In order to use these firmware I understand I have to use some USB storage: does it works both with Sticks and Harddisks?
If I understood it correctly the storage requires 2 partitions: the first FAT32 for the storage, the second should be 512MB for the swap. Right? Should it be primary or extended?
Can I use an USB hub and put both a stick and an harddrive? how it decide what to mount in /var/harddisk adn what to use as swap?
My config is 1 HD only (should be the same with a stick) with 2 partitions:
/dev/discs/disc0/part1 -> 512MB swap
/dev/discs/disc0/part2 -> 200GB ext2 (for large files)
I think that firmare gives /var/harddisk alias to the first "mountable" partition it finds (in my case disc0/part2).
Bye,
Paolo.
Some dubts testing NARS patch. Is it only for pppoe "flavour" connections?
yes. only for PPPoE sessions.
Any other successfull updated?
yes. I update by IE by Web interface - all work.
I've tried to update adsl_phy, adsldd and adslctl from USR9108 for testing and it works, but I've found problems (up/down ADSL not stable). Do you know if I should I update include files too?
we also try (we - ukrainian project) - on 1.0.3.5A USR ADSL work same - up/down ADSL not stable.
on 1.0.3.3A USR ADSL work fine.
any wishes again :
- please make always enabled telnet
- can you check nntp client support daylight saving features
- as DSL page can you enable SNMP page in Management menu: snmpconfg.html presrnt in web dir.
for usb stick with one partition I provide next variant:
this script must be in startup
if [ ! -e "/var/harddisk/myswap.swp" ];
then
dd if=/dev/zero of=/var/harddisk/myswap.swp bs=1k count=256000 # count file size of swap
mkswap /var/harddisk/myswap.swp
fi
swapon /var/harddisk/myswap.swp
(Last edited by AndreyPopov on 24 Apr 2009, 14:06)
Hi Mike.
By your advice, I built an automatic assembly SWAP, however, proved to be insufficient, the router still hangs with some torrents.
"Load average" occurs even 6.
The proposal is one, the hardware is too weak
: (
The second case, I wanted to have a DHT, which is only
rTorrent, and in addition is faster which is very important to me.
Mike, thanks for your interest:).