Requests

From WL-HDD Wiki

Jump to: navigation, search
WL-HDD Contents
What is the WL-HDD
Features
Pro's/con's
Reviews
Hacking
Inserting the HDD
Hacking Guides
Basic setup guides
Packages guides
Requests
Troubleshooting
This Wiki
Credits
Editing help
Contact Me

Contents

[edit] Requests

Is there a guide that you would like to see on this Wiki? Post your request on this page (click the edit tab).

[edit] How to determine what is loaded?

In the Basic_setup guide it would be useful to say how one would tell if Oleg's firmware had already been flashed and what version. When you dump the config you see something like

hardware_version=WL300-02-03-01-20 firmver=1.9.2.7

(among a great deal of other stuff) and uname -a gives

Linux saturn 2.4.20 #15 Sat Jan 7 20:01:34 MSK 2006 mips unknown

It looks as though you need to use the web interface (not something that comes naturally when there is a command line available:), navigate System Setup > Firmware upgrade, and there is not just a firmware version, but also a firmware release (on my machine it says 1.9.2.7-7b). I'm guessing that releases with an extra number/letter on the end are Oleg versions, so this machine has already been upgraded to custom firmware...

It would also be handy when you refer to the Firmware Recovery tool to have a link to where on the Asus site one would download it. I bought my WL-HDD on ebay, it came without a CD and I had no idea of its history (or whether it had been flashed with custom firmware). Is the Firmware Recovery tool part of the Utility that seems to be the only thing (apart from manuals and firmware) that one can download from Asus.

[edit] Bittorrent client

I Have not yet experimented with bittorrent on the WL-HDD. Should I get round to doing so, I will certainly post info up on here.

If someone has already managed to do this successfully, please feel free to use my wiki to document it.

Thanks, Jono

[edit] Samba with share question

First of all great wiki and very clear steps. I have a question about the samba with users. When I go 192.168.x.x (ip address of your WL-HDD), I get the password dialog box then. Is there any way that the password box comes up for the actual folders (the shares set in samba.conf) inside the wl-hdd instead.

Thanks

Reply from Jono Whilst I am not sure of a way to make a separtate prompt appear for each share, I have written a guide that should allow you to protect your shares so that only certain users or groups can access them: Samba Password Protect

Jono

[edit] Regarding Bittorent with Oleg's Firmware:

  1. Run "ipkg update" then "ipkg install torrent"
  2. Once auto installed, use btget -f [torrent file] to start downloading the file.

The file will be downloaded into the folder that the torrent file is in.

There are more options to use here:

 -h            This help message
 -b            Disable snub detection
 -f<filename>  Download file
 -q<timeout>   Exit after no transfers for timeout secs
 -u            Interpret <torrent> as a URL from which to fetch torrent
 -e<ratio>     Exaggerate upload speed [1.0]
 -s            Seed the file (assume all blocks ok)
 -v            Verbose (show all peers and transfer rates)
 -t<interval>  Time between report intervals

Hope this is enough info to get started. ' Reply from Michiel:

I asked this question on the wl500g forum and a guy oleo helped me:

look here: http://www.wl500g.info/showthread.php?t=4802

[edit] All in one Script

I've found sometimes I've made the wrong changes to my wl-hdd and the only way I can restart is to reset the device and start all over again. Would it be feasible to create a script that would go through all the steps for eg setting up samba in one go. I understand that the reboot steps will be a problem (eg 2 or 3 scripts with reboots inbetween). It would be great to get my fine tuned configuration back in one go, after having reset the device.

The other benefit is that this script could be fine-tuned to a users presonal preference. The downside is that troubleshooting the setup may be more difficult.

I hope I've been clear.

Thanks

Reply from Jono: This is a brilliant idea and would save a lot of trouble for those not familiar with linux. Evidently, scripts will only work with certain guides but I'll see what I can put together. You will see that they are easy to make if you look at the two I have made. If you have some time, I would appreciate some collaboration from other users in making some other scripts. Evidently, there will be some people who know a lot more than me and I might need some of their knowledge!

In the meanwhile, can people please try and run these scripts to see if they work!

Samba Script

VSFTPD Script

[edit] Change admin pages to another port

I have just got the WL-HDD and have hacked the Oleg firmware to include ssh and ftp from WAN, a thttpd web server and starting RSS xml pages to stream music to my PSP and other RSS enabled devices. However, I would like to have the web server running (it is behind another router, a LinkSys WRT54G) on port 80 of my choosing but still enable web access to the admin pages (say through port 81 or 8080).

I am examining this and also taking a look at making scripts to set up my box from a new flash of Oleg. I think it must be possible to trigger a sequence of scripts using the post-boot command so that you just need to add scripts to a folder to get each one going...e.g. I want SSH, FTP and y and z then I drop the scripts into a directory and start a launcher script to start it up. Anyways, just an idea of mine.

I think the last section is like the post above, maybe taking it a little further.

Reply from Jono 17:11, 19 March 2006 (GMT)

I am afraid that this would be quite difficult to implement and I suspect it would involve changing lots of settings.

However, it is probably possible. Sorry I cant help further!


This is easy. Just set nvram variable nvram set http_lanport=8008 and commit. Admin pages will be moved.

[edit] Back-up current firmware (WL-HMD / WL-HDD firmware 1.2.3.6)

Hi,

Great wiki, it's really useful to see things organized as an alternative to hunting through forum threads!

Something I have not found clearly yet: can I back-up my current firmware and use that later on to flash the device? I have followed this post: http://wl500g.info/showpost.php?p=5476

Reply from Jono 14:11, 18 April 2007 (BST)

Hi there, I have never done this myself but I believe it is possible.

I have tried the commands mentioned on that thread in a telnet session:

cat /dev/mtd/0 > /tmp/harddisk/part1/pmon
cat /dev/mtd/1 > /tmp/harddisk/part1/flash

They work fine although I am not exactly sure what the contents are of the files just produced!

This thread on another forum (not about WL-HDD) talks about backing the flash of another type of device.

http://www.sat-industry.net/forums/archive/index.php/t-17532.html

I think you need to follow those instructions but change the number (/dev/mtd/>?). I'm afraid I don't know which number will give you the image you need.

Good Luck, Jono



[edit] Scripting

Hi @all,

sorry for my bad english ;-) i want to know where the vars $1..$9 in the firewall-script were defined. I know, that ie $1 is my vlan1, but is it the interface name or the ip on that interface? where can i find some docs? I only found howtos using these vars, but not explaining where they come from and what they mean.

thx, Marc

Hi Marc, your english is great :)

I have looked long and hard around the filesystem but for the live of me, I can't find the script that is defining these variables! I'm sorry! If you do manage to find it, please let me know as I too would be interested. Thanks

Jono


Okay, here is what i found out:

First the definition of devices:

vlan0 -> LAN
vlan1 -> MAN (VPN)
eth0  -> ports on the switch (1 4)
eth1  -> WLAN
br0   -> vlan0 eth1 (WLAN LAN)

And now the variables:

$1 (WAN-Interface)-> ppp0
$2 (WAN-IPAddress)-> 88.99.88.99 (the address of for example ppp0)
$3 (LAN-Interface)-> br0 (vlan0)
$4 (LAN-IPAddress)-> 192.168.1.1 (the routers LAN-IP)
$5 (MAN-Interface)-> tun0 (VPN) (vlan1)
$6 (MAN-IPAddress)-> 10.0.0.1

Marc

Reply from Jono 10:07, 21 April 2007 (BST)

Hi Marc, thanks for that info, its really useful! Can I ask where you found it for reference purposes?

Cheers for your contributions.

Jono

Hi Jono, its from [HERE[1]], but in german

Personal tools