LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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


Reply
  Search this Thread
Old 05-24-2003, 03:14 PM   #1
ErnstVikenstein
LQ Newbie
 
Registered: May 2003
Posts: 8

Rep: Reputation: 0
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.
 
Old 05-24-2003, 03:25 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Put it at the end of your rc.local file.
 
Old 05-24-2003, 05:14 PM   #3
2damncommon
Senior Member
 
Registered: Feb 2003
Location: Calif, USA
Distribution: PCLINUXOS
Posts: 2,918

Rep: Reputation: 103Reputation: 103
Quote:
setserial ttyS1 uart 16550A irq 11 port 0xe800
Geez, 100 points for figuring that out at posts = 1.
 
Old 05-24-2003, 05:18 PM   #4
ErnstVikenstein
LQ Newbie
 
Registered: May 2003
Posts: 8

Original Poster
Rep: Reputation: 0
Don't understand your dialect, french speakink...
 
Old 05-24-2003, 05:20 PM   #5
2damncommon
Senior Member
 
Registered: Feb 2003
Location: Calif, USA
Distribution: PCLINUXOS
Posts: 2,918

Rep: Reputation: 103Reputation: 103
I see 1 post listed on your profile and you are asking how to make a correct setserial command permanent. I am impressed.
 
Old 05-24-2003, 05:28 PM   #6
ErnstVikenstein
LQ Newbie
 
Registered: May 2003
Posts: 8

Original Poster
Rep: Reputation: 0
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 ?
 
Old 05-24-2003, 05:42 PM   #7
2damncommon
Senior Member
 
Registered: Feb 2003
Location: Calif, USA
Distribution: PCLINUXOS
Posts: 2,918

Rep: Reputation: 103Reputation: 103
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?
 
Old 05-24-2003, 06:27 PM   #8
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,306

Rep: Reputation: 66
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
 
Old 05-24-2003, 07:11 PM   #9
ErnstVikenstein
LQ Newbie
 
Registered: May 2003
Posts: 8

Original Poster
Rep: Reputation: 0
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
 
Old 05-24-2003, 07:14 PM   #10
ErnstVikenstein
LQ Newbie
 
Registered: May 2003
Posts: 8

Original Poster
Rep: Reputation: 0
Next question concerning Mount RPC in a new thread
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
setserial warrant6767 Mandriva 1 06-29-2004 08:01 PM
setserial ziox Linux - General 2 05-07-2004 05:59 PM
Setserial in MDK 10 yvesm Mandriva 1 04-21-2004 04:58 PM
Setserial SMACK Mandriva 1 09-20-2003 02:35 PM
setserial under Slack 9.0 - is it there? uFoQ Slackware 2 07-02-2003 05:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 09:49 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration