LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-14-2003, 05:18 AM   #1
tristan_v
LQ Newbie
 
Registered: May 2003
Posts: 2

Rep: Reputation: 0
setserial query


ok, i entered wrong ttyS number usin setserial. Now when I try to repeat the command with the right one it tells me that it cant because that port (I assume its the port) is used already.
Anyone know how to free it up or delete the command so I can set it with the right parameters?

TIA
 
Old 05-14-2003, 06:15 AM   #2
soob
Member
 
Registered: May 2003
Location: A country town, Australia
Distribution: Debian
Posts: 72

Rep: Reputation: 15
Thumbs up

If the first port (one with the wrong number) is not being used, you don't have to do anything to undo your previous command.

If the right serial port is saying it's in use, there's another reason - prehaps it is used by a modem or mouse? I haven't seen that message myself... If you tell us a bit more about what you're trying to do maybe we can help more.
 
Old 05-14-2003, 11:06 PM   #3
tristan_v
LQ Newbie
 
Registered: May 2003
Posts: 2

Original Poster
Rep: Reputation: 0
ok,
I was trying to setup my modem, I no longer have that problem but now when I query my modem it keeps telling me that it's not responding. I followed the setup process as I have seen elsewhere... any ideas?
 
Old 05-15-2003, 12:46 AM   #4
soob
Member
 
Registered: May 2003
Location: A country town, Australia
Distribution: Debian
Posts: 72

Rep: Reputation: 15
OK, assuming it's a serial modem... what I'd do is open a shell, su to root, run minicom to try and talk to the modem. Be sure to set the port name and reasonable settings in minicom's port setup: you can get there via control-A, set 9600, no parity, 8 data, 1 stop bit for testing. Feed it a few AT commands (type AT and press enter) and see if it says "OK". If it does, it's responding!

You could also watch the transmit and receive lights on the modem to see if it's receiving... if it isn't then be sure you've got the right port, try different cables, etc. Maybe turn off the modem, then on again: sometimes it helps.
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
setserial command tjgadu Linux - Newbie 1 06-02-2005 05:29 AM
setserial warrant6767 Mandriva 1 06-29-2004 09:01 PM
setserial ziox Linux - General 2 05-07-2004 06:59 PM
Setserial SMACK Mandriva 1 09-20-2003 03:35 PM
setserial ErnstVikenstein Linux - General 9 05-24-2003 08:14 PM


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