Results 1 to 5 of 5

Thread: rc.local

Hybrid View

  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
  •  


DELL PowerEdge R630 8SFF Server 2x E5-2680v4 2.4GHz =28 Cores 128GB H730 4xRJ45 picture

DELL PowerEdge R630 8SFF Server 2x E5-2680v4 2.4GHz =28 Cores 128GB H730 4xRJ45

$346.00



Dell PowerEdge R630 Server 2x E5-2680 V4 = 28 Cores S130 32GB RAM NEW 480GB SSD picture

Dell PowerEdge R630 Server 2x E5-2680 V4 = 28 Cores S130 32GB RAM NEW 480GB SSD

$256.99



Dell PowerEdge R630 Server 2x E5-2640v3 2.60Ghz 16-Core 64GB H330 picture

Dell PowerEdge R630 Server 2x E5-2640v3 2.60Ghz 16-Core 64GB H330

$182.65



Dell PowerEdge T620 8-Bay LFF Xeon E5-2660 0 2.20GHz 48GB NO HDD S110 Server picture

Dell PowerEdge T620 8-Bay LFF Xeon E5-2660 0 2.20GHz 48GB NO HDD S110 Server

$174.99



Dell PowerEdge R720xd Server 2x E5-2650 2.00Ghz 16-Core 16GB H310 picture

Dell PowerEdge R720xd Server 2x E5-2650 2.00Ghz 16-Core 16GB H310

$171.94



Dell Poweredge R730xd 3.5 2x E5-2690 v3 2.6ghz 64gb H730 14x Trays 2x 1100w picture

Dell Poweredge R730xd 3.5 2x E5-2690 v3 2.6ghz 64gb H730 14x Trays 2x 1100w

$489.99



Dell PowerEdge R420 2 2.4 4C,16GB,8TB,RAID5,IDRAC7 ENT,2PSU picture

Dell PowerEdge R420 2 2.4 4C,16GB,8TB,RAID5,IDRAC7 ENT,2PSU

$125.00



DELL PowerEdge R430 8SFF 2x E5-2680v4 2.4GHz =28 Cores 32GB H730 4xRJ45 picture

DELL PowerEdge R430 8SFF 2x E5-2680v4 2.4GHz =28 Cores 32GB H730 4xRJ45

$296.00



Dell Poweredge R630 2x Xeon E5-2680 v4 2.4ghz 28-Cores / 128gb / H330 / 2x 1TB picture

Dell Poweredge R630 2x Xeon E5-2680 v4 2.4ghz 28-Cores / 128gb / H330 / 2x 1TB

$324.99



Dell Poweredge R730xd LFF 14-Bay 2U Server | Choose Your CPU & RAM Config picture

Dell Poweredge R730xd LFF 14-Bay 2U Server | Choose Your CPU & RAM Config

$477.99