Results 1 to 5 of 5

Thread: rc.local

  1. #1
    Senior Member registered user
    Join Date
    Jun 2003
    Posts
    101

    rc.local

    I set up an rc.local file to load my modem drivers on
    boot-up. Howerever I can't get sudo chmod a+rw /dev/modem to work.

    # Install Intel Modem Drivers & Set Permissions
    sudo chmod a+rw /dev/Modem
    sudo chmod a+rw /dev/ttyS2
    cd /lib/modules/2.4.20-xfs/kernel/drivers/char
    insmod -f 536epcore.o
    insmod -f 536ep.o

    I thought sudo would work, how would you su + Password -
    to chmod a+rw /dev/modem .

    I tried chmod 1777 /dev/modem from an terminal, but the sticky bit was gone when I rebooted!

    Thanks....

  2. #2
    Senior Member registered user
    Join Date
    Jun 2003
    Posts
    101

    rc.local

    OK, this works !!!

    # Install Intel Modem Drivers & Set Permissions
    su -c "chmod a+rw /dev/Modem"
    su -c "chmod a+rw /dev/ttyS2"
    cd /lib/modules/2.4.20-xfs/kernel/drivers/char
    insmod -f 536epcore.o
    insmod -f 536ep.o

    Good Luck...

  3. #3
    Senior Member registered user
    Join Date
    Jun 2003
    Posts
    101
    You don't need an rc.local, you can use /etc/init.d/bootmisc.sh
    to enter the information.

  4. #4
    Senior Member registered user
    Join Date
    Mar 2003
    Location
    Cleveland, OH
    Posts
    228
    Will /etc/init.d/bootmisc.sh let me run privileged services such as apache, mysql, ntpdate, etc? If so, this is what I have been looking for in debian. rc.local is a redhat thing, and was very handy for easily setting up autoexec.bat items on a linux boxen

    Regards,

    ~paul

  5. #5
    Senior Member registered user
    Join Date
    Feb 2003
    Location
    Nova Scotia, Canada
    Posts
    2,479
    Quote Originally Posted by pau1knopp
    Will /etc/init.d/bootmisc.sh let me run privileged services such as apache, mysql, ntpdate, etc? If so, this is what I have been looking for in debian. rc.local is a redhat thing, and was very handy for easily setting up autoexec.bat items on a linux boxen

    Regards,

    ~paul
    Certainly will that's how I start apache, my firewall, set my hdparm, etc...

Similar Threads

  1. Can I use APT to install packages in /usr/local
    By rozen in forum Hdd Install / Debian / Apt
    Replies: 2
    Last Post: 02-03-2005, 03:32 AM
  2. LOcal FTP for installing and apt
    By Harry Kuhman in forum Hdd Install / Debian / Apt
    Replies: 5
    Last Post: 12-11-2004, 05:09 AM
  3. Use local files during apt-get instead of internet?
    By brianinmaine in forum Hdd Install / Debian / Apt
    Replies: 1
    Last Post: 04-07-2004, 09:51 PM
  4. why the local harddisk can't be save?
    By treo in forum General Support
    Replies: 1
    Last Post: 10-09-2003, 04:05 PM
  5. rc.local and symlinks
    By Ambrose in forum Hdd Install / Debian / Apt
    Replies: 3
    Last Post: 05-14-2003, 01:12 AM

Posting Permissions

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


A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G picture

A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G

$13.99



Samsung 16GB 2Rx4 PC4-2133P DDR4-17000 1.2V RDIMM ECC Registered Server Memory picture

Samsung 16GB 2Rx4 PC4-2133P DDR4-17000 1.2V RDIMM ECC Registered Server Memory

$16.29



HyperX FURY DDR3 8GB 16GB 32GB 1600 MHz PC3-12800 Desktop RAM Memory DIMM 240pin picture

HyperX FURY DDR3 8GB 16GB 32GB 1600 MHz PC3-12800 Desktop RAM Memory DIMM 240pin

$12.90



Corsair Vengeance LPX 32GB PC4-25600 (DDR4-3200) Memory NEVER USED LOOSE STICKS picture

Corsair Vengeance LPX 32GB PC4-25600 (DDR4-3200) Memory NEVER USED LOOSE STICKS

$40.00



A-Tech 8GB PC3-12800 Desktop DDR3 1600 MHz Non ECC 240-Pin DIMM Memory RAM 1x 8G picture

A-Tech 8GB PC3-12800 Desktop DDR3 1600 MHz Non ECC 240-Pin DIMM Memory RAM 1x 8G

$13.99



Kingston HyperX FURY DDR3 8GB 16GB 32G 1600 1866 1333 Desktop Memory RAM DIMM picture

Kingston HyperX FURY DDR3 8GB 16GB 32G 1600 1866 1333 Desktop Memory RAM DIMM

$13.25



A-Tech 16GB 2 x 8GB PC3-12800 Laptop SODIMM DDR3 1600 Memory RAM PC3L 16G DDR3L picture

A-Tech 16GB 2 x 8GB PC3-12800 Laptop SODIMM DDR3 1600 Memory RAM PC3L 16G DDR3L

$27.98



A-Tech 16GB 2x 8GB PC3-12800 Desktop DDR3 1600 MHz 240pin DIMM Memory RAM 16G 8G picture

A-Tech 16GB 2x 8GB PC3-12800 Desktop DDR3 1600 MHz 240pin DIMM Memory RAM 16G 8G

$27.98



A-Tech 256GB 4x 64GB 4Rx4 PC4-19200 ECC Load Reduced LRDIMM Server Memory RAM picture

A-Tech 256GB 4x 64GB 4Rx4 PC4-19200 ECC Load Reduced LRDIMM Server Memory RAM

$287.96



A-Tech 64GB 4x 16GB 2Rx4 PC4-17000R DDR4 2133MHz ECC REG RDIMM Server Memory RAM picture

A-Tech 64GB 4x 16GB 2Rx4 PC4-17000R DDR4 2133MHz ECC REG RDIMM Server Memory RAM

$87.96