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
  •  


Cisco SG110 8 Port Gigabit Ethernet Switch SG110D-08-UK picture

Cisco SG110 8 Port Gigabit Ethernet Switch SG110D-08-UK

$39.00



Cisco SG110 24 Port Gigabit Ethernet Switch w/ 2 x SFP SG110-24 picture

Cisco SG110 24 Port Gigabit Ethernet Switch w/ 2 x SFP SG110-24

$117.00



Cisco SG110-16HP 16-Port Gigabit PoE Unmanaged Switch SG110-16HP-NA picture

Cisco SG110-16HP 16-Port Gigabit PoE Unmanaged Switch SG110-16HP-NA

$108.00



Cisco SG95-16 16-Port Gigabit Switch SG95-16-SG picture

Cisco SG95-16 16-Port Gigabit Switch SG95-16-SG

$47.00



New Linksys SE3005 5-port Gigabit Ethernet Switch picture

New Linksys SE3005 5-port Gigabit Ethernet Switch

$18.99



New 10/100 Mbps 8 Ports Fast Ethernet LAN Desktop RJ45 Network Switch Hub picture

New 10/100 Mbps 8 Ports Fast Ethernet LAN Desktop RJ45 Network Switch Hub

$11.49



NETGEAR GS308 8 Gigabit Port Unmanaged Ethernet Switch with Power Cord picture

NETGEAR GS308 8 Gigabit Port Unmanaged Ethernet Switch with Power Cord

$12.95



Juniper Networks EX3300-48P 48-Port PoE+ 4x SFP+ Network Switch w/ Power Cord picture

Juniper Networks EX3300-48P 48-Port PoE+ 4x SFP+ Network Switch w/ Power Cord

$43.95



Netgear ProSafe S3300-52X-POE+ 48-Port Gigabit PoE+ Stackable Network Switch picture

Netgear ProSafe S3300-52X-POE+ 48-Port Gigabit PoE+ Stackable Network Switch

$100.95



Netgear Prosafe Plus JGS524PE 24 Port Gigabit Switch 12 Port PoE JGS524PE-100NAS picture

Netgear Prosafe Plus JGS524PE 24 Port Gigabit Switch 12 Port PoE JGS524PE-100NAS

$129.98