Page 1 of 2 12 LastLast
Results 1 to 15 of 16

Thread: Where to find the start and stop scripts

  1. #1

    Where to find the start and stop scripts

    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.

  2. #2
    Join Date
    Sep 2004
    Location
    Austria
    Posts
    125
    Take a look at /init/ .

  3. #3
    There is no /init dir!

  4. #4
    Join Date
    Sep 2004
    Location
    Austria
    Posts
    125
    I thought you were talking about Oleg's custom firmware - so which firmware are you using?

  5. #5
    Join Date
    Nov 2003
    Location
    Eindhoven
    Posts
    2,407
    there IS a /init dir
    Code:
    ls /
    gives me this:

    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
    Last edited by Antiloop; 22-09-2004 at 15:44.

    My little Asus Collection: Too much to fit inhere, my 2 babies:WL500w 1.9.2.7-10(OLEG) VX2SE Yellow Lamborghini notebook



    WL500g Forum Asus Files OpenDir

    Asusforum.NL -- Asusforum.DE -- Asusforum.RU -- Asusforum.PL -- Asusforum.NET -- Asusforum.EU -- Asusforum.BE -- Asusforum.ES -- Asusforum.INFO

  6. #6
    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!

  7. #7
    Join Date
    Apr 2004
    Location
    Netherlands
    Posts
    1,308
    Quote Originally Posted by funsje
    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.

    http://wiki.wl500g.info/index.php/FlashfsBoot

    Note: It requires a custom firmware!

  8. #8
    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

  9. #9
    Join Date
    Apr 2004
    Location
    Netherlands
    Posts
    1,308
    Quote Originally Posted by funsje
    Thanks!

    On my WL-500g I use firmware version 1.8.1.9, Isn't this firmware use flashfs?
    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.

    But is there also a custom firmware version for the WL-HDD, which includes the flashfs?
    No

    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.
    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.

    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).

  10. #10
    Join Date
    Nov 2003
    Location
    Eindhoven
    Posts
    2,407
    Quote Originally Posted by funsje
    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
    finally you mention the firmware version using.. fw 1.8.x.x do not use start/stop scripts.

    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?

    My little Asus Collection: Too much to fit inhere, my 2 babies:WL500w 1.9.2.7-10(OLEG) VX2SE Yellow Lamborghini notebook



    WL500g Forum Asus Files OpenDir

    Asusforum.NL -- Asusforum.DE -- Asusforum.RU -- Asusforum.PL -- Asusforum.NET -- Asusforum.EU -- Asusforum.BE -- Asusforum.ES -- Asusforum.INFO

  11. #11
    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!

  12. #12
    Join Date
    Feb 2004
    Posts
    103
    Quote Originally Posted by funsje
    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!

    That's nice work...
    you should publish some pics about your box

  13. #13
    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

  14. #14
    Join Date
    Sep 2004
    Location
    NL
    Posts
    206
    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!
    Last edited by brubber; 26-09-2004 at 12:46.
    Brubber

    WL-500g, WL-138g, WL-160g

  15. #15
    Join Date
    Nov 2003
    Location
    Eindhoven
    Posts
    2,407
    Quote Originally Posted by brubber
    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")
    uhm.. ....

    but ehm.. you can't connect any of those 2 to the wl-hdd..

    My little Asus Collection: Too much to fit inhere, my 2 babies:WL500w 1.9.2.7-10(OLEG) VX2SE Yellow Lamborghini notebook



    WL500g Forum Asus Files OpenDir

    Asusforum.NL -- Asusforum.DE -- Asusforum.RU -- Asusforum.PL -- Asusforum.NET -- Asusforum.EU -- Asusforum.BE -- Asusforum.ES -- Asusforum.INFO

Page 1 of 2 12 LastLast

Similar Threads

  1. stop samba
    By schmidt_as in forum WL-500g Q&A
    Replies: 1
    Last Post: 03-10-2005, 10:15
  2. Post Your Useful Scripts
    By tomilius in forum WL-500g Custom Development
    Replies: 2
    Last Post: 05-06-2005, 10:01
  3. bash scripts
    By AmoRico in forum WL-500g Q&A
    Replies: 2
    Last Post: 31-01-2005, 19:45
  4. Edit /init scripts
    By alpha5 in forum WL-500g Q&A
    Replies: 3
    Last Post: 18-06-2004, 16:25

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •