Welcome, Guest. Please login or register.

Author Topic: Connecting Ethernet device to serial port  (Read 19016 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline bloodline

  • Master Sock Abuser
  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 12113
    • Show all replies
    • http://www.troubled-mind.com
Re: Connecting Ethernet device to serial port
« Reply #14 from previous page: May 25, 2008, 04:45:23 PM »
Quote

Speelgoedmannetje wrote:
Quote

bloodline wrote:

Never feel guilty about avoiding your family... you owe them nothing!!! :madashell:
What have you people always against family?


I didn't choose my family... I am disappointed with some of their decisions and actions.

Quote

I love my family, and vice versa (aunts still treat me as the benjamin of the family :oops:)


Yet, she still hasn't learned your name?

Offline bloodline

  • Master Sock Abuser
  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 12113
    • Show all replies
    • http://www.troubled-mind.com
Re: Connecting Ethernet device to serial port
« Reply #15 on: May 25, 2008, 11:10:39 PM »
Quote

Speelgoedmannetje wrote:
Benjamin means the youngest son.


Ahhh right you are! I though she might have dementia or something :-)

Offline bloodline

  • Master Sock Abuser
  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 12113
    • Show all replies
    • http://www.troubled-mind.com
Re: Connecting Ethernet device to serial port
« Reply #16 on: May 26, 2008, 10:11:40 PM »
Quote

motorollin wrote:
Hmm Wikipedia actually helped :-)

http://en.wikipedia.org/wiki/Berkeley_sockets#TCP

Explains how to set up a client and a server. I guess the RFXCOM is doing all the server business, so I'll have a look at the client setup tomorrow after the Exam Of Doom.

--
moto


Good luck tomorrow!

Offline bloodline

  • Master Sock Abuser
  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 12113
    • Show all replies
    • http://www.troubled-mind.com
Re: Connecting Ethernet device to serial port
« Reply #17 on: May 26, 2008, 10:20:51 PM »
Quote

motorollin wrote:
Thanks :-)

--
moto


You should get some sleep.

Offline bloodline

  • Master Sock Abuser
  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 12113
    • Show all replies
    • http://www.troubled-mind.com
Re: Connecting Ethernet device to serial port
« Reply #18 on: May 29, 2008, 01:43:34 PM »
Quote

motorollin wrote:

Bloodline, you reckon it's quite simple to set up a virtual COM port under OS X. I have Googled it but can't find out how. Would you mind pointing me in the right direction?

--
moto


What you need to do is set up a loopback device... I used to use them all the time before we had Rewire and Core Audio/Network MIDI.

It craetes two COM device on the system that are actually conencted so that you put data in to one and it pop out the other... then you connenct one end to your Terminal and the other end to the MultiCOM software.


-Edit- If you can't do it in software... use two serial ports on the Mac and put a Null Modem cable between them... Einfach!:-)

Offline bloodline

  • Master Sock Abuser
  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 12113
    • Show all replies
    • http://www.troubled-mind.com
Re: Connecting Ethernet device to serial port
« Reply #19 on: May 30, 2008, 02:28:25 PM »
Quote

motorollin wrote:
Got another USB serial port and created a serial port loopback. I then pointed my test Applescript at one of the ports, and told Multicom to redirect the other one to the IP and port of the RFXCOM. Sent a serial command from my Applescript and....... it worked :-D


Had you ever doubts?!?! ;-)

Now can we please figure out a way to get my damn PowerMac going :-D


Offline bloodline

  • Master Sock Abuser
  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 12113
    • Show all replies
    • http://www.troubled-mind.com
Re: Connecting Ethernet device to serial port
« Reply #20 on: May 30, 2008, 02:50:25 PM »
Quote

motorollin wrote:
Quote
bloodline wrote:
Had you ever doubts?!?! ;-)

Of course not! Ok, well maybe a bit :-P It's an interim solution IMO. We need bidirectional control, which due to the way the RFXCOM works requires two separate connections on different IP ports. That means we need two serial interfaces, so two serial loopbacks, and therefore four serial ports! If I can get it working with socat then I will be very happy as it will be an entirely software solution.


A software solution is totally possible... I'm pretty sure you can use pipes or something... I foget how this all works on Unix...

But since the hardware solution proved it would work, I'm feeling quite satisfied!

Quote

Quote
bloodline wrote:
Now can we please figure out a way to get my damn PowerMac going :-D

BUY A KEYBOARD! :-P


To that sir, I say bum!

Offline bloodline

  • Master Sock Abuser
  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 12113
    • Show all replies
    • http://www.troubled-mind.com
Re: Connecting Ethernet device to serial port
« Reply #21 on: May 30, 2008, 10:51:38 PM »
:-D

We rule, except when it comes to doing something simple... Like getting an old PowerMac up headless...

Offline bloodline

  • Master Sock Abuser
  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 12113
    • Show all replies
    • http://www.troubled-mind.com
Re: Connecting Ethernet device to serial port
« Reply #22 on: May 31, 2008, 12:52:57 PM »
Quote

motorollin wrote:
Quote
bloodline wrote:
:-D

We rule, except when it comes to doing something simple... Like getting an old PowerMac up headless...

Well we don't even know whether that is working. The autorun VNC CD was a great idea, but obviously not much help if the OS isn't up!

When's your birthday? I'll get you the bloody VGA adapter! ;-)


:lol: But the point is I don't want an adaptor! It's all about not having to get any adaptors to support legacy ports... The challenge was there... we failed.

Offline bloodline

  • Master Sock Abuser
  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 12113
    • Show all replies
    • http://www.troubled-mind.com
Re: Connecting Ethernet device to serial port
« Reply #23 on: May 31, 2008, 01:44:07 PM »
Quote

Speelgoedmannetje wrote:
Quote

motorollin wrote:
Hmm, not really sure how to respond to your bum...

--
moto
Use your instinct.


We were doing so well... :-D

Offline bloodline

  • Master Sock Abuser
  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 12113
    • Show all replies
    • http://www.troubled-mind.com
Re: Connecting Ethernet device to serial port
« Reply #24 on: May 31, 2008, 03:54:09 PM »
Quote

Speelgoedmannetje wrote:
Quote

bloodline wrote:
Quote

Speelgoedmannetje wrote:
Quote

motorollin wrote:
Hmm, not really sure how to respond to your bum...

--
moto
Use your instinct.


We were doing so well... :-D
Almost 5 pages until deterioration. :-D


Indeed!

Let the sock jokes flow forth...

Offline bloodline

  • Master Sock Abuser
  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 12113
    • Show all replies
    • http://www.troubled-mind.com
Re: Connecting Ethernet device to serial port
« Reply #25 on: May 31, 2008, 07:10:42 PM »
Quote

motorollin wrote:
Quote
Speelgoedmannetje wrote:
My washing machine has died recently...

Then you'll have to do it by hand...












...your washing, that is.

--
moto


Ooooh Matron!