Yeah, it's working. I am downloading now. Thanks.
Printable View
I followed Raas's instructions and everything went smoothly to the end of step 3. After reboot the router could not mount to the hard disk. I could see the three partitions listed in /dev/discs/disc0/. When trying to mount manually I got error "No such device or address".
I started over from scratch and the same thing happen.
Does anyone know what's wrong here. Please help me.
BTW, if it matters the router I am using is WL520GU.
Many thanks,
lamsao
Hi Lamsao,
Could you please post the output of
and the contents ofCode:df
(use vi / nano)Code:/etc/fstab
Thanks,
If someone could help me with ados I would be apreciated :)
I can schedule downloads to download only from 2-7 (or any other hour) but downloads don't start by themselves....
How can I edit them to start automaticly?
Raas,
I have solved the problem. As mentioned in Wengi's instructions the pre-mount script may take some time to perform e2fsck, but I was impatient and did not wait long enough. Now, I have everything working up to step 4 in your instructions. Just need to customize it.
I want to be able to access http://192.168.0.1:8082 (home page) and http://192.168.0.1:901/ (Samba) from the WAN interface. I tried to configure the port fowarding as follow:
Destination Proto. Port Range Redirect to
all TCP 8082 192.168.0.1
all TCP 901 192.168.0.1
But I could not connect from the WAN side. Do you know if this can be done and how? Thanks a lot for your help.
-- Lamsao
Like the tutorial says, I don't use the asus as a router, but as AP-only.
Normally you would bind outside ip/port to inside ip/port
In what you post, this is not a full combination (like I'm missing the outside port)
Normally you would have something like this.
outside.ip.address:80 -> 192.168.0.1:8082
outside.ip.address:901 -> 192.168.0.1:901
HTH
'your router' , is this the asus or not?
How did you test? please describe with more info please on what you did to test and to get it to work (and which device(s) are used).
Did you test from the actual internet at another place to your public ip? t doesn't work when you are at your own place and try to access your public ip.
HTH
Hi, raas, thanks for the guide! I carefully followed it until the customization section. So I'm just testing now if everything works correctly and I've got a few questions.
First. Your router name is "NAS" mine is different. I see there are files
nas.lan.conf and nas.wan.conf in the /tmp folder
are they related to the name of the router?
Second. I've looked through /tmp/syslog.log and there are a few minor errors after execuling the /opt/etc/init.d/rc.unslung restart command
Nov 21 17:05:18 rc.unslung: restart service /opt/etc/init.d/S05syslogd
Nov 21 17:05:18 System log daemon exiting.
Nov 21 17:05:20 syslogd started: BusyBox v1.1.3
Nov 21 17:05:20 syslogd: started.
Nov 21 17:05:20 rc.unslung: restart service /opt/etc/init.d/S10cron
Nov 21 17:05:20 rc.unslung: restart service /opt/etc/init.d/S10xinetd
Nov 21 17:05:20 /opt/sbin/cron[1505]: (CRON) STARTUP (V5.0)
Nov 21 17:05:22 rc.unslung: restart service /opt/etc/init.d/S45php
Nov 21 17:05:22 rc.unslung: restart service /opt/etc/init.d/S58proftpd
Nov 21 17:05:22 xinetd[1528]: missing service keyword [file=/opt/etc/xinetd.conf] [line=18]
Nov 21 17:05:22 xinetd[1528]: missing } in last service entry [file=/opt/etc/xinetd.conf] [line=18]
Nov 21 17:05:22 xinetd[1528]: xinetd Version 2.3.14 started with no options compiled in.
Nov 21 17:05:22 xinetd[1528]: Started working: 1 available service
Nov 21 17:05:22 rc.unslung: restart service /opt/etc/init.d/S70mysqld
Nov 21 17:05:22 proftpd[1540]: MyRouterName - Failed binding to 0.0.0.0, port 21: Address already in use
Nov 21 17:05:22 proftpd[1540]: MyRouterName - Check the ServerType directive to ensure you are configured correctly.
Nov 21 17:05:28 rc.unslung: restart service /opt/etc/init.d/S80busybox_httpd
Nov 21 17:05:30 rc.unslung: restart service /opt/etc/init.d/S80lighttpd
Nov 21 17:05:31 rc.unslung: restart service /opt/etc/init.d/S80samba
I've highlighted the lines which I'm not sure are ok. What do you think?
Third. I guess you have a "root" and "admin" users on your ASUS. I just have one user with a different name. I couldn't connect to SWAT WebUI until I changed user names to myname in /opt/etc/xinetd.d/ proftpd and swat.
Thanks again! I'll be trying to configure transmission now. It looks like it has to be started manually, right?
p.s. I'm new to all this and not a native English speaker.
Hi TSanchess,
As far ar I know nas.lan.conf and nas.wan.conf are not related to the name of the device (hostname). I think this is coincidence.
the errors when you execute /opt/etc/init.d/rc.unslung restart are probably due to the fact that the services (or the files to (re)start services) don't have the proper restart options set. I must admit, I never looked into this.
I only have an admin user on the system, which during setup of mysql is changed in root, and then back again. (the root user is an mysql user, which is not an os-user).
I've never changed the name admin to anything else, so I don't know if swat and proftp needed reconfiguring.
Transmission should start on itself once the router is started / (re)booted)
I hope you enjoy it !
Greetz,
Raas
Dear all,
contents:
1) Thank you,
2) Samba solution,
3) Proftpd problem.
1) Let me start with big thank you to Raas and Wengi for their tutorials. All my experience with linux so far was 1 Suse installation (graphical) which lasted for 1 day and that was it. Yet, using your tutorials I was able to get my Asus up and running on the first try! Great job guys!
2) I have noticed around this forum (and on the web too) that many people tend to have a login issue to Samba from XP as Guests, especially when XP is part of a domain (AD) and often no solution is given. Well, solution which seems to work everywhere (where I have tested) is simple:
Through web interface (192.168.1.1:901) go to Global -> basic view. Then leave everything as configured by the tutorial (security=SHARE), and in addition change these settings: NullPasswords = Yes [that should help regular XP/Vista installations]; Encrypt passwords = Yes; WINS support = Yes [that should be for ok for xp/Vistas which are part of a domain].
3) Proftpd is a nightmare for me and I am possibly doing something really really wrong or other people just gave up on it and use something else -> because I was not able to find solution anywhere... I even followed the original documentation but still no luck. Well, to the point then:
[insert => maybe if someone writes a complete Howto for others to use would be also helpful]
I can start Proftpd -> no problem (I start it manually). I have it have specified this folder as "ftp root": /mnt/public/FTP
I can login into FTP as anonymous (if that section is present in conf file).
I can login into FTP as users when I comment out the anonymous section, but users must be defined in passwd file using adduser.
Problems:
1) Cannot write to any folder under FTP! (I have an Upload folder there) I used the LIMIT as in the examples of conf files to allow access there. I even disabled the Limit not to write to the whole FTP but still can't upload to any directory. (could it be access rights in linux?)
2) Users -> When I use users, they can browse the whole disk (e.g. they can get "above" FTP -> to public -> mnt -> ...)
I would prefer not tu use passwd file but to create an AuthUserFile -> I tried but apparently proftpd ignores all users in it even when specified in the conf file.
3) What I ultimately want is a conf file which will allow:
a) no anonymous access FTP
b) read virtual users from authusers file (not passwd)
c) each user to have access to either
/mnt/public/FTP
or /mnt/public/FTP2
but only to 1 of these. (I do not want these to be different FTP servers, only different folders).
And hopefully such a conf file that even I will be able to do the updates to it in the future.
Now if you want, go ahead and post here the complete proftpd.conf file. But I'd rather have a good understanding of what and how to do. Also other people might benefit from it.
Thanks in advance.
Cheers,
B.
Regarding point (3), have you taken a look here?
Hi.
Yes I have. This however does not answer all of my problems. Firstly I would rather not use passwd for user accounts; secondly there is no clear way how to split users between "FTP1" and "FTP2" (see my example above); and lastly, don't know if it would solve my write restriction problem.
Once more - I tried several pre-designed conf files and I get get the ftp to accept connections and login. But that is just about where I get :(
Thanks.
B.
I have followed all the instructions line by line...
I canot access the address 10.69.226.13:8082 ( i have changed the default address 192.168.1.1 with the 10.69.226.13). It pops out a message:error loading page. But when i try 10.69.226.13 (without :8082) it brings the default oleg firmware web page.
Partitions are mounted correctly.
samba is not working.
top and ps commands dont show a line with lighttpd.
Any ideas... what is wrong?
What can i do?
Hi,
this is prob. because you've changed your ip address.
Samba only accepts clients from 192.168.1.x range
and lighttpd relies on a php parser which is on 192.168.1.1
for lighttpd do:
and look up the address: 192.168.1.1 and change to yours (10.69.226.13). (it's in the fastcgi.server)Code:nano /opt/etc/lighttpd/lighttpd.conf
for samba do:
and add the following to global:Code:nano /opt/etc/samba/smb.conf
or set with http://10.69.226.13:901 and use the original login/password you've set in the asus original config pages.Code:[global]
hosts allow = 10.69.226.
HTH.
Rass thank you for your prompt response. All those dummies like my self, must really tire you.
the problem although still exists...
I did what you told me to do, but nothing changed. I still cant get the 10.69.226.13:8082 to apear.
I also changed back the original address to 192.168.1.1 and tried to access the 192.168.1.1:8082. Still nothing! The address 192.168.1.1 works with default oleg webpage, but when i put the 8082 port i get the error page...
What could be wrong?
Any ideas are welcomed... because i really need to download torrents directly from the usb disk.
Is there a run around for that, because samba and ftp works great with default oleg software?
Basically what i m also asking is, if there is a way to download torrents to the usb hdd (that is attached to the asus wl500gpv2) with default oleg firmware!
Also i cant access the 10.69.226.13:901 to configure samba...
Thanks in advance and i hope that there are not many question to be answered...
Hi Herbalizer..
Not tiring at all.. I most of the time feel like aa n00b myself, so that's no problem.
Have you restarted the asus after you've changed the config files?
In order to work properly, 'services' have to be (re)loaded with new config.
If all you want to do is have oleg's firmware and download torrents, I strongly suggest WENGI's setup how-to.. this includes stuff for downloading torrents.
http://www.wl500g.info/showthread.php?t=10307
HTH
Do i need to use the 1.9.2.7.9 in order for this tutorial to work?
Will that tutorial work with the 1.9.2.7.10 firmware?
If not, where do i find the 1.9.2.7.9 firmware?
again thanks...
Hi,
the tut. will work with the .10 version.
Hello again...
I see that you say to download the mnt.tar.gz to the /opt folder and the opt.tar.gz to the/mnt folder. Is that right, or is it the other way around?
That is for the head start 2 tutorial... and not for Wengi's.
Hi,
yes, that is right.
opt.tar.gz is downloaded/stored in /mnt because it is extracted to /opt
mnt.tar.gz is downloaded/stored in /opt becasue it is extracted to /mnt
otherwise the packages would extract to the place where they are stored, and I don't know if that works 100%. That's because.
so, from the package on /mnt extract everyting to /opt and vice versa.
it'll work if you follow the directions.
Rass THANK YOU for all the advises you have given me.
Finally i got (web) transmission up and running at full speed:cool:
I followed the wengi tutorial and i have samba, ftp and torrents up and running.
Since you have been so nice to me i decided to give something back. I 'm going to translate Wengi's tutorial and your tutorial (head start 2) in to Greek. Who knows... maybe there will be a Greek subforum for this excellent forum one day.
I also would like (i must) to thank Wengi!
Again thank you guys. You will soon receive a pm from me;)
Hi,
Good to hear it's working!
Enjoy your Asus, and additions to the forum are always welcome.
edit:
now it works, i don't know why, but it works..
I have another question, where can I change IP address 192.168.1.1 to my real in AmpJuke ?
orig: I have installed on my router this great "all in one" package, but in ados only 1 download is active, others are "on queue". In preferences I have changed simultaneous files, apply settings but still only one file is downloading. and after the download is finished, other "on queue" file doesn't start..
anyone have an idea what is wrong?
Hi,
Since the files have been downloaded 4700+ times :), bandwith became an issue with my free provider:mad:. Besides that, the website administrator offered me my own place to host my files on this great forum a while a go.:cool:
you will find it here: http://files.wl500g.info/asus/custom/raas/
the v10 folder you will see is in line with oleg's v.10 firmware.
In this folder the HeadStart images are stored.
Besides this I've updated the links in the tutorial so the installation should go faster because this server has way more bandwith. and has less downtime.
Only thing about this method is that I don't have any statistics anymore so I can't see the usage of HeadStart. This doesn't matter since I now know that people (and quite a few more) are using it. which is nice, I think.:confused:
THX raas. Great work
I've just installed this package.
I have three questions:
1. After installation ipgk upgrade upgraded many packages. Is there any newer package? Or can you prepare? I have pretty clean installation, so it is no problem for me to make clean upgrade - but I need
2. How to integrate in CMS new transmission configured according to Wengi's tutorial?
3. Is this possible to configure WOL for awakening a few computers?
Hi Kaizen ,
Glad you like it.
Answers to your questions:
1)
I want to do this, but it takes quite some time, which I don't have at the moment. (still interfacing with my velleman k8055 board), if this is finished I can think of HeadStart III, which will host new versions and maybe different solutions)
2)
You want your torrent-control page available to the public ??
configure lighttpd.conf to do so.
3)
Use the wol.cgi page as a source, copy it a few times like WOLkitchen.cgi, WOLgarage.cgi, WOLbasement.cgi and edit them with your MAC-addresses of the different machines your want. Then it just something like remembering wich page for which computer.
HTH
Thanks.
ad. 1.
Looking forward for HS III :)
ad. 2
I think transmission doesn't use lighttpd any more (after 'killall lighttpd' I can still access transmission page). I want to go to http://192.168.1.1:PORT NUMBER/transmission/web/ by clicking Transmission in CMS. Port number is set in Transmission starting script and is different than lighttpd.
I want to access from WAN using build-in new authorization and "rpc-whitelist" functionality - and it works. I'm talking about this version (I'm going to correct link in previous post).
Ad. 3
Wow. It's so easy :)
Hi Kaizen,
1) Me too ! I'm glad that people like and use it.
2) So you basically want to jump from a page on the CMS (displayed in your browser) to the transmission page (which is on a diff. webserver,right, but on the same machine).
How about editing text in the CMS system (login, and edit text) and put a link on a page somewhere which links to http://192.168.1.1:PORT.
something like this.
where you change the port and link in which you want, and change the text in what you want.Code:<a href="http://192.168.1.1:PORT">Click here for transmission</a>
3) Sure.. I'm dealing with the same problem. wanting to wake up more than one machine. I use this approach.. would be nicer though if I had a pull-down menu to select the machine from.. .... .... Next time.. in Headstart III
I've installed everything.
Samba works like a charm.
Proftpd hangs on reboot (not such a big problem).
I don't like transmission. Rtorrent works better.
Lighttpd start, the server works, but not with PHP.
This is the errors from the log:
Does someone know how to solve this problem. ThanksQuote:
2009-02-08 10:21:55: (log.c.97) server started
2009-02-08 10:29:18: (mod_fastcgi.c.1768) connect failed: Connection refused on unix:/tmp/php-fastcgi.socket-0
2009-02-08 10:29:18: (mod_fastcgi.c.2956) backend died; we'll disable it for 5 seconds and send the request to another backend instead: reconnects: 0 load: 1
2009-02-08 10:29:18: (mod_fastcgi.c.2722) child signaled: 11
2009-02-08 10:29:19: (mod_fastcgi.c.2494) unexpected end-of-file (perhaps the fastcgi process died): pid: 479 socket: unix:/tmp/php-fastcgi.socket-0
2009-02-08 10:29:19: (mod_fastcgi.c.3282) child signaled: 11
2009-02-08 10:29:19: (mod_fastcgi.c.1051) the fastcgi-backend /opt/bin/php-fcgi failed to start:
2009-02-08 10:29:19: (mod_fastcgi.c.1065) terminated by signal: 11
2009-02-08 10:29:19: (mod_fastcgi.c.1070) to be exact: it segfaulted, crashed, died, ... you get the idea.
2009-02-08 10:29:19: (mod_fastcgi.c.1072) If this is PHP, try removing the bytecode caches for now and try again.
2009-02-08 10:29:19: (mod_fastcgi.c.3302) respawning failed, will retry later
2009-02-08 10:29:19: (mod_fastcgi.c.3325) response not received, request sent: 764 on socket: unix:/tmp/php-fastcgi.socket-0 for /cms/index.php , closing connection
(I'm almost a noob in linux, but i learn from experience).
Hi mandgeo,
are you sure your php isn't working? check the phpmyadmin page, link provided on the headstart homepage. phpmyadmin is a php application,
regardless of the error.. php should work.
PHP and CGI was not working.
I've gave up the idea of installing the opt and mnt from you raas. It was too much, and i like rtorrent. I had to many problems.
I made a clean Wengi install. Rtorrent works fine, much better than transmission. vsftpd works, but i have some trouble making it work like before (it doesn't like the password file).
And php/cgi stil doesn't work. I think i never saw them working on my router.
Anyway...i'm happy that torrents are flowing.
Hi Mandgeo,
whatever works best for you.
(however, php and cgi (should) work fine in the basic install, if you don't change your ip address, if you do, the webserver will look at a parser on an ip address which isn't there.. this is to be configured in lighttpd.conf, if you run standard ip addres (192.168.1.1) then it should work.)
raas
router's ip is 192.168.1.1.
the closer i got to php/cgi was something like "php-fcgi <defunct>" (if i remember right) in ps axf.
hmm..
you've obviously not changed the ip.
I have to check the image (but can't do it right now... right in the middle of interfacing with I/O ports.. will ask a friend to check the image. )
Raas
Firstly thanks for a great package in that of Headstart 2. Made my use of Olegs great firmware even more productive. Follows are some comments and questions.
INSTALLATION: I was surprised that there were no significant problems. The only exception was in Step 3.
“wget files.wl500g.......” required change to
“wget http://files.wl500g ...... “ simple!!
I am especially impressed with how well wshaper prioritises voip. However I need to tweak wshaper to provide priority to web browsing over torrents.
QUESTIONS:
Transmission:
Update is not creating a graphical image. Do I need to install rrdtool or gnuplot ?
Qos: Are there any packages available that provide the same sort of qos graphis as Tomato?
Home Automation: Are there any home Automation packages available or in development? There are ports available with a Tx line, an Rx line, a 3.3-V line, and a GND line. An unused port could be converted from 3.3v to 5v for normal RS232 signals. The other option would be to use a USB converter cable that supports the Usbserial driver.
Nice:
I’ve considering using Nice to prioritise traffic. The aim is -
1) Voip
2) Samba
3) Gmail (Vista)
4) Web Browsing (Vista)
5) uTorrent (Vista)
6) Transmission (do not have enough functionality to use alone)
Is this possible using Nice? If I give transmission a niceness of 19 does this result in a niceness of other apps that cannot be given a niceness, including Vista web browsing, of 0? ie 0 being a higher priority. Is it possible to give a Windows app a niceness. eg uTorrent 10, Gmail -10
Wondershaper:
Will wshaper always prioritise voip even if I use Nice ?
Is it possible to prioritise traffic via ports (port ranges even better) with wshaper startup commands?
Wspaper is in the kernel. How to hack? Would require a recompile?
Could you suggest a wshaper tutorial for Oleg ?
thanks
Rod
PS I'm running a WL500W Oleg -10
Thanks, glad you like it.
Well, sometimes it works without the http:// sometimes it doesn't.
However. I changed the tutorial, just to be sure, no one is having the same problems again. Thanks for the heads-up.
hmmm. I'm not that much of a torrent-guy, so I don't really use it. From what I read from the board there are better torrent-clients available, you might want to try them.
I've never used tomato, so I can't anwer on that.
Doing some HA myself with a velleman k8055 board connected to the Asus.
For now, I'm only measuring (consumed electricity and gas, room-temperatures), but at this point I'm not 'controlling' any. this is for the future. Have a look at:
http://www.wl500g.info/showthread.php?p=133123 and http://www.wl500g.info/showthread.php?t=1598 (there are 2 libraries in this post which can control the k8055)
The only thing that is niced is HellaNZB. I guess you coult NICE some more.
Don't know about your questions about Wondershaper, I'm not using.
I suppose you also use the Asus a router, while I'm only using it as a lan-client, I'm not experienced in setting up the asus as a router and configure traffic.
HTH
Raas,
Thanks for HeadStart II! I've been enjoying it now for over 4 months.
Tonight I finally figured out a way to get rid of the following HellaNZB error message:
Warning: disk_free_space() [function.disk-free-space]: No such file or directory in /mnt/protected/WebUI/zussaweb/functions.php on line 4
On line 4 of the functions.php located in /mnt/protected/WebUI/zussaweb
Change:
return (round (disk_free_space(disk)/1024/1024,2));
To:
return (round (disk_free_space('/mnt')/1024/1024,2));
At least that worked for me. Hopefully someone finds this useful.
Again much thanks to you and all who contribute to wl500g development and wl500g.info.
Hi Rich4rd,
I'm glad that you like it.
You've made a nice contribution to this topic. If there's a headstart III (time) I will def. to this little trick.
raas