Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
05-24-2003, 03:14 PM
|
#1
|
LQ Newbie
Registered: May 2003
Posts: 8
Rep:
|
setserial
Actually, i need to re-enter this command each time i reboot to make the modem work. The OS is Mandrake 9.0.
setserial ttyS1 uart 16550A irq 11 port 0xe800
How can i make it work automatically at startup.
Thanks
Last edited by ErnstVikenstein; 05-24-2003 at 03:15 PM.
|
|
|
05-24-2003, 03:25 PM
|
#2
|
Moderator
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047
Rep:
|
Put it at the end of your rc.local file.
|
|
|
05-24-2003, 05:14 PM
|
#3
|
Senior Member
Registered: Feb 2003
Location: Calif, USA
Distribution: PCLINUXOS
Posts: 2,918
Rep: 
|
Quote:
setserial ttyS1 uart 16550A irq 11 port 0xe800
|
Geez, 100 points for figuring that out at posts = 1.
|
|
|
05-24-2003, 05:18 PM
|
#4
|
LQ Newbie
Registered: May 2003
Posts: 8
Original Poster
Rep:
|
Don't understand your dialect, french speakink...
|
|
|
05-24-2003, 05:20 PM
|
#5
|
Senior Member
Registered: Feb 2003
Location: Calif, USA
Distribution: PCLINUXOS
Posts: 2,918
Rep: 
|
I see 1 post listed on your profile and you are asking how to make a correct setserial command permanent. I am impressed.
|
|
|
05-24-2003, 05:28 PM
|
#6
|
LQ Newbie
Registered: May 2003
Posts: 8
Original Poster
Rep:
|
I am a technicien, i am currently working with Micros.. product, but i am fedup of these product, to expensive for the home users and small companies. Soon, during the summer, when things will be more quiet, i will follow a formation.
Actually, this command work with my topic 56k v90, but what would be the equivalent of autoexec.bat with linux, how could a make it permanent ?
|
|
|
05-24-2003, 05:42 PM
|
#7
|
Senior Member
Registered: Feb 2003
Location: Calif, USA
Distribution: PCLINUXOS
Posts: 2,918
Rep: 
|
As david_ross mentions, the files in /etc/rc* are usually where startup scripts are located.
There is also a /etc/setserial.conf that may be appropriate.
Please mention the distribution of Linux you are using for more information.
I am still impressed with an intelligent question on a first post. I hope we can give you an intelligent answer.
Did I forget to say welcome to Linuxquestions?
|
|
|
05-24-2003, 06:27 PM
|
#8
|
Senior Member
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,306
Rep:
|
if rc.local exists in your version of linux
in /etc/rc.d
you can
cat >> /etc/rc.d/rc.local
setserial ttyS1 uart 16550A irq 11 port 0xe800
control-d # to save
|
|
|
05-24-2003, 07:11 PM
|
#9
|
LQ Newbie
Registered: May 2003
Posts: 8
Original Poster
Rep:
|
I was succesfull with this :
in file:/usr/lib/linuxconf/redhat/scripts/linuxconf
i added the following lines
# Ceci est un fichier de configuration pour le port serie employé par le modem
cd..
cd dev
setserial ttyS1 uart 16550A irq 11 port 0xe800
just before the exit $RETVAL, after a swith case
Good .
Many thanks for your help and the Welcome
|
|
|
05-24-2003, 07:14 PM
|
#10
|
LQ Newbie
Registered: May 2003
Posts: 8
Original Poster
Rep:
|
Next question concerning Mount RPC in a new thread
|
|
|
All times are GMT -5. The time now is 09:49 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|