Ser2net and local Win 7 application

All about Arduino, Jeenode and other Clones (hardware & Software)

Moderator: Mdamen

Post Reply
Herbus
Member
Member
Posts: 363
Joined: Mon Mar 27, 2006 12:28 pm
Location: Netherlands

Ser2net and local Win 7 application

Post by Herbus »

Hi,

I try to use a Raspberry Pi to connect several USB devices over LAN with my Win 7 domotica PC. I've used the following config:

Disable Serial Console
sudo nano /etc/inittab
insert a # sign in front of this line:
T0:23:respawn:/sbin/getty -L ttyAMA0 115200 vt100
ctrl-O
Enter
ctrl-x

Remove console
sudo nano /boot/cmdline.txt
delete these 2 fields: console=ttyAMA0,115200 kgdboc=ttyAMA0,115200
ctrl-O
Enter
ctrl-x

Add ser2net
sudo apt-get install ser2net
sudo nano /etc/ser2net.conf
10001:raw:0:/dev/ttyUSB0:38400 8DATABITS NONE 1STOPBIT
10002:raw:0:/dev/ttyUSB1:38400 8DATABITS NONE 1STOPBIT
sudo /etc/init.d/ser2net restart

Autostart ser2net
sudo nano /etc/rc.local
add the next line before exit o :
/usr/local/sbin/ser2net -n

Does anybody know how to setup the PC-side? I've tried the VSP application without any luck. (http://new.hwg.cz/download/sw/version/h ... _3-1-2.exe)
Besides that this application only supports one device!
Checked the pi side, ser2net is running.

What application can be used in combination with ser2net to connect several USB devices over LAN?

Thanks!
Herbus (Jos)
User avatar
b_weijenberg
Forum Moderator
Forum Moderator
Posts: 1744
Joined: Sun May 14, 2006 4:32 pm
Location: Netherlands

Re: Ser2net and local Win 7 application

Post by b_weijenberg »

Hi Jos,

This procedure is for the RFXtrx433E and can be used in Homeseer as indicated in my email to you.
Configure the RFXtrx433E with a TCP/IP connection using port 10001 in the RFXCOM plug-in.

Bert
Herbus
Member
Member
Posts: 363
Joined: Mon Mar 27, 2006 12:28 pm
Location: Netherlands

Re: Ser2net and local Win 7 application

Post by Herbus »

Hi Bert,

I assumed that I could use this solution to connect other USB devices over IP to virtual com ports at the PC aswell. Could be handy to connect my PMIX35, Plugwise and USB modem via a RPi. Besides the RFXtrx433E that I'll add to my config later.
So my goal is to find software that can be installed on my Win 7 PC and is able to emulate com ports and can connect to ser2net at the RPi.

Jos
Herbus (Jos)
User avatar
b_weijenberg
Forum Moderator
Forum Moderator
Posts: 1744
Joined: Sun May 14, 2006 4:32 pm
Location: Netherlands

Re: Ser2net and local Win 7 application

Post by b_weijenberg »

Jos,

The RFXtrx433 is equiped with an FTDI USB controller and the device is recognized as USBx.
Check this for other USB controllers and adjust the other parameters like baud rate.

I suppose you can use http://www.eterlogic.com/Products.VSPE.html
Herbus
Member
Member
Posts: 363
Joined: Mon Mar 27, 2006 12:28 pm
Location: Netherlands

Re: Ser2net and local Win 7 application

Post by Herbus »

Thanks Bert, I'll have a look at VSPE. I'm in the middle of a HS2->HS3 migration and facing some challenges :-)
Keep you posted about the result.
Herbus (Jos)
Post Reply

Return to “Raspberry, Arduino, Cubietruck and other clones Forum”