Post by RaymondDay on Sept 1, 2007 12:16:42 GMT -5
I replace my linux server from Fedora to Ubuntu server. I wanted to get tcpser running on it. When I found all I had to do was this one command!
apt-get install tcpser
It looked like this:
root@small:~/tcpser-1.0rc10# apt-get install tcpser Reading package lists... Done Building dependency tree Reading state information... Done The following NEW packages will be installed: tcpser 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 25.9kB of archives. After unpacking 98.3kB of additional disk space will be used. Get:1 http://us.archive.ubuntu.com feisty/universe tcpser 1.0rc10-1 [25.9kB] Fetched 25.9kB in 0s (36.8kB/s) Selecting previously deselected package tcpser. (Reading database ... 43907 files and directories currently installed.) Unpacking tcpser (from .../tcpser_1.0rc10-1_i386.deb) ... Setting up tcpser (1.0rc10-1) ... root@small:~/tcpser-1.0rc10#
Or could do that right on the command line to start it.
Wow that's something that the tcpser Jim made they have it for Ubuntu Linux so you could even do a apt-get update and if tcpser had a new version it would update it! I think this is very good. It's like part of it now.
Post by raymond61 on Sept 11, 2009 14:08:16 GMT -5
Here is my hole /etc/rc.local file. It my help others after you do a apt-get install tcpser on Ubuntu Linux.
#!/bin/sh -e # # rc.local # # This script is executed at the end of each multiuser runlevel. # Make sure that the script will "exit 0" on success or any other # value on error. # # In order to enable or disable this script just change the execution # bits. # # By default this script does nothing.
# With Ubuntu can install tcpser with "apt-get install tcpser" then just have to type tcpser to run it.
#tcpser -d /dev/ttyS0 -s 1200 -i"e0&k0&c0" -n"5551212"=188.8.131.52:5190& #tcpser -d /dev/ttyS1 -p 6401 -s 1200 -i"e0&k0&c0" -n"5551212"=184.108.40.206:5190& # tcpser -d /dev/ttyUSB0 -p 6402 -s 1200 -i"e0&k0&c0" -n"5551212"=220.127.116.11:5190& # On Oct-11-2006 a domain squatter got quantum-link.org from then just the IP of 18.104.22.168 port 5190 works. # I think it was on Jan-27-2007 that they got a new domain name "go.quantumlink.tk" says it's registered for 2 years. I am going to change the IP "22.214.171.124" to the new domain name. # On April 13, 2007 they moved the server and go.quantumlink.tk did no carrier. So I Changed it to the IP Jim said to on 4/3/07 "Try 126.96.36.199 as the IP." # On January 1, 2008 I test the go.quantumlink.tk and it works! # On January 17, 2008. Got caller ID working with mgetty. But then tcpser stopped working on a reboot. Going to set this tcpser to start before mgetting if I can.
On that code you just delete the # before the line to have it use that. I have 3 in it. 2 are real RS-232 or com ports what they call them and one is a USB to RS-232.
I will put it in here as a attachment too if I can. That my make it easy for people. But you may have some other RS232 or USB ports. So just edit the text some in it. At lest it says some neat info.
Last Edit: Sept 12, 2009 13:00:36 GMT -5 by raymond61