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.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I´m a linux newbie. I use Ubuntu Gutsy im my laptop.
Well, I have a device that only comunicates through com1 (rs232) to my laptop, but I need to redirect that data received from com1 to a ip address (over ethernet) in server located in another network computer.
I would like to know how can I redirect the data receveid from com1 to a eth ip address.
When I was using windows I used Serial to Ethernet Connector software from Eltima (_http://www.eltima.com/products/serial-over-ethernet/), and this was just perfect.
But now I kicked Windows out of my life and I need to know how I can do in Linux what Eltima serial to ethernet did in windows.
I would be very gratefull to have some backup answers from you guys.
Check out some of the devices from Sena (www.sena.com). They appear to be black-box type things, though, but that may be a better solution, depending on what you're looking for.
Thanks for the answer, but it seems that SENA is a commercial solution, and I want to avoid that.
I was thinking in someting that we can do over linux comand line.
I receive data from com1 (rs232) in an interverval of 15 seconds and I would like to redirect that data (binary I supose) to a ethernet ip address in my linux machine (what comes after does't matter).
Thanks for the answer, but it seems that SENA is a commercial solution, and I want to avoid that.
I was thinking in someting that we can do over linux comand line.
I receive data from com1 (rs232) in an interverval of 15 seconds and I would like to redirect that data (binary I supose) to a ethernet ip address in my linux machine (what comes after does't matter).
Any idea guys?
You can just pipe the data to the network device, but it'll just be gibberish, unless you encapsulate it, and make it into something useful. If you don't want a commercial solution, your only other option is to write your own program to do it.
There's lots of info on socket programming for C, Perl, and probably Ruby and Python too, all of which run nicely on 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.