LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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, 04: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 04:15 PM.
 
Old 05-24-2003, 04:25 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

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

Rep: Reputation: 48
Quote:
setserial ttyS1 uart 16550A irq 11 port 0xe800
Geez, 100 points for figuring that out at posts = 1.
 
Old 05-24-2003, 06: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, 06:20 PM   #5
2damncommon
Senior Member
 
Registered: Feb 2003
Location: Calif, USA
Distribution: Debian Wheezy
Posts: 2,839

Rep: Reputation: 48
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, 06: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, 06:42 PM   #7
2damncommon
Senior Member
 
Registered: Feb 2003
Location: Calif, USA
Distribution: Debian Wheezy
Posts: 2,839

Rep: Reputation: 48
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, 07:27 PM   #8
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix, 98,2000 + various
Posts: 3,171

Rep: Reputation: 52
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, 08: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, 08: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 09:01 PM
setserial ziox Linux - General 2 05-07-2004 06:59 PM
Setserial in MDK 10 yvesm Mandriva 1 04-21-2004 05:58 PM
Setserial SMACK Mandriva 1 09-20-2003 03:35 PM
setserial under Slack 9.0 - is it there? uFoQ Slackware 2 07-02-2003 06:51 PM


All times are GMT -5. The time now is 03:21 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration