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
  •  


Team T-FORCE VULCAN Z 32GB (2 x 16GB) PC RAM DDR4 3200 (PC4 25600) picture

Team T-FORCE VULCAN Z 32GB (2 x 16GB) PC RAM DDR4 3200 (PC4 25600)

$48.99



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



Team T-FORCE VULCAN Z 32GB (2 x 16GB) PC RAM DDR4 3200 (PC4 25600) Memory picture

Team T-FORCE VULCAN Z 32GB (2 x 16GB) PC RAM DDR4 3200 (PC4 25600) Memory

$50.99



HyperX FURY DDR4 4GB 8GB 16GB 32GB 3200 2400 2666 Desktop RAM Memory DIMM 288pin picture

HyperX FURY DDR4 4GB 8GB 16GB 32GB 3200 2400 2666 Desktop RAM Memory DIMM 288pin

$8.99



Team T-FORCE VULCAN Z 16GB (2 x 8GB) 288-Pin PC RAM DDR4 3200 (PC4 25600) Intel picture

Team T-FORCE VULCAN Z 16GB (2 x 8GB) 288-Pin PC RAM DDR4 3200 (PC4 25600) Intel

$33.99



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

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

$22.45



8GB PC3L-12800S 1600MHz SODIMM DDR3 RAM | Grade A picture

8GB PC3L-12800S 1600MHz SODIMM DDR3 RAM | Grade A

$12.00



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

$15.90



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

$38.95



HyperX FURY DDR4 16GB 32GB 64GB 2666MHz PC4-21300 Desktop RAM Memory DIMM 288Pin picture

HyperX FURY DDR4 16GB 32GB 64GB 2666MHz PC4-21300 Desktop RAM Memory DIMM 288Pin

$118.80