Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 12-09-2002, 02:46 PM   #1
Registered: Dec 2002
Location: IL
Distribution: NetBSD, Slackware, Gentoo, Debian, FreeBSD
Posts: 444

Rep: Reputation: 31
port in use ?'s

EDIT: please replace the word port with "address" sorry

Ok, i finally got my modem working but there is a few issues that i dont understand......In my attempts i installed this, the program on bottom...I guess that automatically tries to install it to ttyS3.....upon booting it would say this
"cannot use port, already in use"
"/dev/ttys3 no file or directory"

Ok, so that wasnt working finally used set serial to set it up to ttys1, got online and everything was fine....So i figured that that program isnt doing anything so i just removed it. Then rebooted a little while later and when i tried to use the setserial command again (i understand that i have to do every reboot or find out how to set it up so does automatically on boot), but it said that ttyS3 was in use???? So i installed that program from the USR website and then it would allow me to assign to ttyS3, so my question is, what does that program do?? Obviously the port isnt in use...Also i fould out how to make a ttyS3 and 4 by doing this

mknod -m 666 /dev/ttyS* c 4 64

I made a 3 and 4, then tried to set the modem top either one of those and it said port was in does that program enter a command to scan the ports or something?? Im pretty confused, thanks in advance for any help

BTW: i just noticed that when i made the ttyS3 and 4 i used the wrong number for the minor....should i just delete and remake??? -thanks

Last edited by wr3ck3d; 12-09-2002 at 03:49 PM.
Old 12-09-2002, 04:35 PM   #2
Registered: Dec 2002
Location: IL
Distribution: NetBSD, Slackware, Gentoo, Debian, FreeBSD
Posts: 444

Original Poster
Rep: Reputation: 31
Ok, reformatted and reinstalled to make sure i didnt mess anything up or that program, setup ttyS4, linked it to /dev/modem and bam it worked.....My only question now is why wasnt ttyS2 and 3 installed??? -thanks


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
PLESK [Solution] Change port to 23 (telnet) instead of default port 8443 x5452 Linux - Software 6 05-10-2009 06:58 AM
linux serial port to router console port connection? frankie_fix Linux - General 3 02-26-2007 10:32 PM
Using serial port card(PCMCIA) with IPAQ running Linux, can't find ttyS0 port d2army Linux - Laptop and Netbook 0 11-12-2005 09:07 PM
route locally generated traffic to ip:port to localhost:port maenho Linux - Software 2 03-11-2005 05:08 AM
--destination-ports port[,port[,port...]] KevinGuy Linux - Networking 1 03-16-2004 07:06 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:56 PM.

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