Results 1 to 4 of 4

Thread: post-boot

  1. #1

    post-boot

    I'm trying to make a device work using the pl2303 module and it works once the module is loaded.

    Here is my post-boot file:

    [admin@(none) etc]$ cat /usr/local/sbin/post-boot
    #!/bin/sh
    /usr/sbin/dropbear
    /sbin/insmod /lib/modules/2.4.20/kernel/drivers/usb/serial/pl2303.o
    dropbear
    insmod pl2303
    insmod pl2303.o

    In every way of trying to load the module on boot it doesn't work and doesn't the dropbear is loaded also. Manually i can load them.

    I've got the correct run permissions on the file.

    Any ideas of gettingt this modules on boot? Any other place i can add it ro load on boot?
    I've seen a file called /mnt/linux.rc but i can't edit it...

    I'm using firmware 1.9.2.7. This is a version with CDMA support.

  2. #2

    solved

    It was a buggy version. The new version solved the problem.

  3. #3
    Which version exactly? I have probelm with post-boot too:/

  4. #4

    the post boot should be in /tmp/local/sbin

    the post boot is like that:

    #!/bin/sh
    insmod /tmp/local/usbserial.o
    insmod /tmp/local/pl2303.o
    mknod /dev/ttyUSB0 c 188 0
    chmod 666 /dev/ttyUSB0
    /tmp/local/remserial -d -p 6002 -s "1200 raw" /dev/ttyUSB0 &

    and the 1.9.2.7 firmware has pl2303 already.

Similar Threads

  1. Unstable boot from USB
    By Tamadite in forum WL-500g Q&A
    Replies: 6
    Last Post: 20-08-2008, 15:19
  2. Post lost?
    By ikerstges in forum WL-500g Q&A
    Replies: 3
    Last Post: 15-02-2006, 12:41
  3. Boot the Router over Network TFTP+NFS
    By tomekmik in forum WL-500g Custom Development
    Replies: 7
    Last Post: 14-01-2006, 21:11
  4. Ftp Wan
    By CPTC in forum WL-500g Q&A
    Replies: 9
    Last Post: 07-04-2005, 21:23
  5. web interface loads only occasionally during boot
    By oferlaor in forum WL-500g Q&A
    Replies: 5
    Last Post: 18-10-2004, 10:48

Posting Permissions

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