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
  •  


DELL PowerEdge R730 Server 2x E5-2680v4 2.4GHz =28 Cores 32GB H730 4xRJ45 picture

DELL PowerEdge R730 Server 2x E5-2680v4 2.4GHz =28 Cores 32GB H730 4xRJ45

$284.00



Dell PowerEdge R620 Server 2x E5-2660 v1 2.2GHz 16 Cores 256GB RAM 2x 300GB HDD picture

Dell PowerEdge R620 Server 2x E5-2660 v1 2.2GHz 16 Cores 256GB RAM 2x 300GB HDD

$89.99



Dell R630 Server 2x E5-2620 V4 2.1GHz =16 Cores 128GB DDR4 1x 960GB 2x 1G 2x 10G picture

Dell R630 Server 2x E5-2620 V4 2.1GHz =16 Cores 128GB DDR4 1x 960GB 2x 1G 2x 10G

$210.00



Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 128GB RAM No HDD picture

Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 128GB RAM No HDD

$389.99



Dell PowerEdge R720 Server - 2x8c CPUs, 256Gb RAM, 128Gb SSD/3x900Gb SAS Proxmox picture

Dell PowerEdge R720 Server - 2x8c CPUs, 256Gb RAM, 128Gb SSD/3x900Gb SAS Proxmox

$340.00



Dell Poweredge R620 2x E5-2680 2.7ghz 16-Cores / 128gb / H710 / 2x Trays / 750w picture

Dell Poweredge R620 2x E5-2680 2.7ghz 16-Cores / 128gb / H710 / 2x Trays / 750w

$199.99



Dell R730xd 26 Port SFF 2x E5-2697v4 36-Cores H730 128GB Server 2x SFP 10G ENT picture

Dell R730xd 26 Port SFF 2x E5-2697v4 36-Cores H730 128GB Server 2x SFP 10G ENT

$490.00



Dell Poweredge R720 8x 2.5

Dell Poweredge R720 8x 2.5" Bay Xeon E5-2650 2.8GHz 8 Cores / 64gb No HDD

$114.97



DELL PowerEdge R730 Server 2x E5-2697v3 2.6GHz =28 Cores 32GB H730 4xRJ45 picture

DELL PowerEdge R730 Server 2x E5-2697v3 2.6GHz =28 Cores 32GB H730 4xRJ45

$290.00



DELL PowerEdge R730XD Server 2x E5-2697v4 2.3GHz =36 Cores 32GB H730 4xRJ45 picture

DELL PowerEdge R730XD Server 2x E5-2697v4 2.3GHz =36 Cores 32GB H730 4xRJ45

$380.00