Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (3) </ 1 [2] 3 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: startup files, where to insert  startup files< Next Oldest | Next Newest >
caulktel Offline





Group: Members
Posts: 185
Joined: Sep. 2003
Posted: Dec. 10 2003,22:27 QUOTE

I'm using a hard drive install, and i did not put the sudo command before it, but that would make sense as it would need to be done as root. I will give that a try, thanks for your help.  Joel
Back to top
Profile PM 
caulktel Offline





Group: Members
Posts: 185
Joined: Sep. 2003
Posted: Dec. 11 2003,02:00 QUOTE

After inserting sudo command it still does not work. Here is the exact line that I added to the .bash_profile :
sudo modprobe opl3sa2 io=0x370 mss_io=0x530 mpu_io=0x330 irq=5 dma=1 dma2=0. If I issue this command from the console, it works perfectly, but not from the .bash_profile on bootup. I'm still baffeled about this, any ideas?

Joel
Back to top
Profile PM 
jogi Offline





Group: Members
Posts: 8
Joined: Oct. 2003
Posted: Dec. 11 2003,09:22 QUOTE

Try this,
open a console.
zile /usr/sbin/opl3sa2.sh

#! /bin/sh
modprobe opl3sa2 io=0x370 mss_io=0x530 mpu_io=0x330 irq=5 dma=1 dma2=0

Save this file with ctrl + x/ +c / y

chmod 755 /usr/sbin/opl3sa2.sh

ln /usr/sbin/opl3sa2.sh /etc/rc3.d/S22opl3sa2
(to start in init 3)

ln /usr/sbin/opl3sa2.sh /usr/rc5.d/S22opl3sa2
(to start in init 5)

Jogi :cool:
Back to top
Profile PM 
caulktel Offline





Group: Members
Posts: 185
Joined: Sep. 2003
Posted: Dec. 11 2003,20:32 QUOTE

Jogi,

   Thank You, that worked very well, except in the last link line I think you meant for the line to read /etc/rc5.d not /usr/rc5.d, but other than that everything worked out good. I even understand what you did, I was trying to do the same thing, but was not familar with Debian or DSL enough to do it. Thanks!


--------------
Joel
KB6QVI
Back to top
Profile PM 
roberts Offline





Group: Members
Posts: 4983
Joined: Oct. 2003
Posted: Dec. 12 2003,01:50 QUOTE

Say Caulktel, I am glad that you have a solultion. And Jogi's answer is fine if you are hard drive installed. But it doesn't help if you are running a liveCD. I am inserting three modules via .bash_profile and it works both liveCD and hard drive. The answer I was trying to give is to be of benefit to both groups of users.
Back to top
Profile PM WEB 
11 replies since Dec. 06 2003,04:33 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (3) </ 1 [2] 3 >/
reply to topic new topic new poll
Quick Reply: startup files

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code