Does somebody know where I can find the start and stop scripts??
Or does somebody knows how it is working?
I found the deamon files, but I want to know who or what is starting them.
Printable View
Does somebody know where I can find the start and stop scripts??
Or does somebody knows how it is working?
I found the deamon files, but I want to know who or what is starting them.
Take a look at /init/ .
There is no /init dir!
I thought you were talking about Oleg's custom firmware - so which firmware are you using?
there IS a /init dir
gives me this:Code:ls /
bin
dev
etc
init
initrd
lib
linuxrc
mnt
proc
ramfs
sbin
tmp
usr
var
web
AND PLEASE READ THE FAQ and the sticky message in the HowTo forum
why do you ask questions inhere if there is a message (that is always at top) that asks you NOT to ask questions inhere but in the magic Questions and Answers forum
I'm using the ASUS pre-compiled .trx file.
When I extact this file with wlextract and mount the rootfs with mount -o loop, there isn't a /init directory.
I also tried to build a .trx file using the ASUS GPL source code.
Also NO /init directory found.
The main issue is:
I want to auto start some other daemons!
Check the WIKI on flashfs-boot. This method allows you to add your own stuff to the boot process.Quote:
Originally Posted by funsje
http://wiki.wl500g.info/index.php/FlashfsBoot
Note: It requires a custom firmware!
Thanks!
On my WL-500g I use firmware version 1.8.1.9, Isn't this firmware use flashfs?
But is there also a custom firmware version for the WL-HDD, which includes the flashfs?
I'm trying to modify the box to hold 2 3,5" disks.
Therefore I need to modify the source code to access the second disk!
I also need to start some services AND start a second httpd server on an other port.
Regards,
Marcel
No, for 1.8.1.9 there are no custom firmwares (yet) available. Try 1.7.5.9-CR5 if you want to use flashfs. NOTE: Downgrading the firmware is tricky, search the forum on a how-to.Quote:
Originally Posted by funsje
NoQuote:
But is there also a custom firmware version for the WL-HDD, which includes the flashfs?
For mounting the second harddisk you can try using the BootCmd's. If the firmware does not detect the second HD, then you'll have to create a custom firmware yourself.Quote:
I'm trying to modify the box to hold 2 3,5" disks.
Therefore I need to modify the source code to access the second disk!
I also need to start some services AND start a second httpd server on an other port.
Starting some other services can be done through BootCmd's as well. The second http server has to be in busybox because the websetup-http-server will not run on another port (if it works the same as it Wl500g counterpart).
finally you mention the firmware version using.. fw 1.8.x.x do not use start/stop scripts.Quote:
Originally Posted by funsje
only fw lower than 1.8.x.x do use start/stop scripts
btw how are you going to connect those 2 3,5inch drives?
The disks are already connected and working!
The disk are know as hda en hdb..
I bought a 44-pin IDE connector and a 40-pin connector. I have connected the right pins to each other.
I used a external powersupply as harddisk power and WL-HDD power.
HDA is automaticly mounted to the right mountpoints.
After this I can reach the hda disk via the webpage and start the mount script to mount the hdb partitions.
Now I'm modifying the source code to mount the hdb partitions automaticly also AND add a webpage to control them.
This last thing is very difficult!
It's working!! 800Gb NAS box.
~10Mb/sec throughput
Todo: A user friendly interface!
Quote:
Originally Posted by funsje
That's nice work...
you should publish some pics about your box
The pictures are not heart-attack aware!!
I don't have a official configuration.. All connections are made with 40 wires, not with a flat-cable!
Some people asked me where to buy the 44-pin connector..
I had an old not working 2,5" disk, with the correct connector.. I used this connector to make the test environment!
Go to a 'second hand' sale for computers. Buy a defect disk for about 2,50 Euro and you have the cheapest connector you ever find!
The official connectors from the electronic parts store are very exepensive!! (If you can find this connector)
My ideas for the box holding the WL-HDD and the 2 disk:
1 X official WL-HDD box
2 X a lookalike WL-HDD box made by myself
Perhaps this is a nice option?
http://store.mini-box.com/ituner/40to442laide.html
or this one
http://www.myelectronics.nl/index.ht...rget=d138.html
(scroll down to "Convertercable for Notebook HD on IDE bus, 30 cm
4017")
THIS WON'T WORK AS ANTILOPE POINTS OUT IN HIS THE NEXT POST!
uhm.. ....Quote:
Originally Posted by brubber
but ehm.. you can't connect any of those 2 to the wl-hdd..