-
Senior Member
registered user
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....
-
Senior Member
registered user
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...
-
Senior Member
registered user
You don't need an rc.local, you can use /etc/init.d/bootmisc.sh
to enter the information.
-
Senior Member
registered user
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
-
Senior Member
registered user

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
-
By rozen in forum Hdd Install / Debian / Apt
Replies: 2
Last Post: 02-03-2005, 03:32 AM
-
By Harry Kuhman in forum Hdd Install / Debian / Apt
Replies: 5
Last Post: 12-11-2004, 05:09 AM
-
By brianinmaine in forum Hdd Install / Debian / Apt
Replies: 1
Last Post: 04-07-2004, 09:51 PM
-
By treo in forum General Support
Replies: 1
Last Post: 10-09-2003, 04:05 PM
-
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
-
Forum Rules

Kingston 32GB 64GB 128GB 256GB USB 3.0 Flash Drive Thumb Memory Stick Pen lot
$285.90

Microsoft Windows 11 Pro 64bit - New Sealed – Flash USB 1 PC
$49.99

1/ 10/ 100pcs USB 2.0 2GB, 4GB ,8GB ,16GB ,32GB ,64GB 128GB USB Flash Drives Lot
$269.10

Digital Movie Poster (USB-flash drive)
$100.00

USB 3.0 Flash Drive 32GB 64GB 128GB Memory Stick Thumb Stick Lot Pack
$826.09

USB 2.0 Flash Drive 16GB 32GB 64GB 128GB Thumb Memory Stick Multi Pack Bulk Lot
$1082.99

USB Type-A Flash Drive Metal Memory Stick High Speed USB Drive 128GB 256GB 512GB
$8.47

Lot 5/10pcs USB Flash Drive Memory Stick 1MB-64GB Pendrive Thumb Drive 8GB 32GB
$282.00

128GB USB 14-in-1 MacOS bootable Installer repair recovery tech support service
$39.99

Zero Trace Pen: All-in-one Tor Network Anonymous Drive + Cryptocurrency Wallet
$147.00