Use a com port and the modem commands AT DT from Ubuntu 6.06.
Linux - NewbieThis 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
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.
Use a com port and the modem commands AT DT from Ubuntu 6.06.
I'm logging as a newbie. I should know this.
I have a modem on comm port 3 on a Toshiba Laptop, running Ubuntu 6.06.
I need to connect to another modem, using the AT DT modem commands, log in and simply use the terminal on the other system. The other system is not connected to the internet, it has an Auto Answer modem setup.
All right now, I seem to remember Kermit. But when I go to add applications, and try kermit, there are no finds. PUTTY, or ssh are fine for connections to another system via an IP address, but won't allow me to setup connection to a port. From what I can determine, COMM PORT 3 is linked to /dev/ttys3.
Tried getty, but nothing provided me with a response. Oh yes, it probably is using the software modem.
If you want a Windows equivilent, I can run Dynamic Connect on the Windows side, (VT 220 emulator) This can be configured to connect to Comm Port 3.
So does anyone have any clues for this clueless one who should know better?
You should minicom to connect to your serial port and manage the modem using Hayes (AT) commands. Mind that com3 should be /dev/ttyS2
Of course your modem must have been recognized by the OS (Ubuntu), that could be a pain in the *** since it's a software modem.
Last edited by bathory; 04-15-2009 at 01:48 PM.
Reason: wrong ttSx name
Thank you for the response, particularly the note about using ttyS4, (rather ttyS2 in response to your edit.)
All right now, running ubuntu 6.06. As far as I can determine, minicom is not installed. When I go to add remove programs, and looking for minicom, I come up with a blank. So the first question is there a repository I should be adding?
I did a search of sourceforge for minicom. As far as I can determine, a debian package for minicom is not available. I am assuming that I would need to compile the source. I have had poor luck compiling applications because of dependency problems. Almost like the Windows .dll ....
It appears that there is a release level 2.2 which came out in October of 06, which is the same approximate time I installed by Ubuntu, and if push comes to shove, I may try that one.
There is also komport which is available in a .deb package, and is supposed to be a version of minicom developed for Knoppix. I'm tempted to try that, even though I am running GNU linux.
So, my question is what am I missing?
A word of caution, before anyone suggest I upgrade to Ubuntu 8.10, the serial port I am trying to get working for a character dial out to another Unix machine is a secondary use for this computer. Mainline, I use a wireless link to a cable modem. I have had no luck getting the wireless to work with the live CD for Ubuntu 8.04 or 8.10, and hesitate to install the newer version until I get that particular issue resolved. That is a problem for a different thread, but if someone felt like answering that here I wouldn't complain.
Last edited by sam_o_rogers; 04-16-2009 at 06:13 AM.
Reason: Comment changed in response to bathroy's edit of that post.
I was wrong. com3 should be /dev/ttyS2 in linux, since serial ports start from 0. (Edited also in previous post)
Note that there is also gtkterm that is like the windows hyperterminal program.
Anyway did you try to: apt-get install minicom
According to this, there is a package for Ubuntu. There also useful info about minicom usage.
I was wrong. com3 should be /dev/ttyS2 in linux, since serial ports start from 0. (Edited also in previous post)
Note that there is also gtkterm that is like the windows hyperterminal program.
Anyway did you try to: apt-get install minicom
According to this, there is a package for Ubuntu. There also useful info about minicom usage.
Regards
Ah yes, sudo apt-get install minicom
It's a good thing I posted this under Newbie, anywhere else I'd be defiled for cluelessness. Thank you. Got the package fine.
This looks like it will do what I want. Now the only question is whether or not I can get it to recognize the built in modem.
I still don't know which /dev/ttyS will be used. I had assumed, which we know what happens when you assume, that COM 0 would be ttyS0, COM 1 would be ttyS1, COM 2 would be ttyS2 and COM 3 would be ttyS3. Unfortunately this little laptop does not have any standard RS232 connections to use with an external modem. I don't know why the internal modem is tied to COM 3.
to see what serial port is recognized.
Maybe you can change the serial port through BIOS. The difficult thing is to find a driver for your winmodem, so that it can be used by linux.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.