Using two ethernet devices on Linux

All LINUX related questions (Installation & usage)

Moderator: marcus

Using two ethernet devices on Linux

Postby tudessan » Fri 24. Sep 2021, 22:05

Hello,
I'm currently use 2 (old) IrTrans LAN devices :
IRTrans LAN : IR VER: E5.08.19 ETH VER: L1.06.17 SN: 28911
MAC:00-50-c2-52-78-e4 IP Addr: 192.168.0.51
IRTrans LAN : IR VER: E5.09.01 ETH VER: L1.06.20 SN: 29810
MAC:00-50-c2-52-78-f7 IP Addr: 192.168.0.52
with the Windows irtranstray.exe program. Everything works fine.

Now, I want to use both lan devices with the LINUX irserver (V6.10.23)
using only one IP address in the command line works fine but I'm unable to use the right command line to pass the 2 IP addresses. Could you provide an example ?
Then how to set one different zone on each device ?


Another question : if I replace the ip address with "lan", it returns the following message :
IRServer Version 6.10.23
Init Events done
Init communication ...
Init communication ...
Init communication ...
No IRTrans Devices found.
Aborting ...

Same result with command line : irserver -deviceinfo

Thank you in advance for your support.
tudessan
 
Posts: 2
Joined: Sun 19. Sep 2021, 16:50

Re: Using two ethernet devices on Linux

Postby Barf » Fri 1. Oct 2021, 08:37

In case you are not able to solve the problem as posed (and I suspect that you will not), note that the Ethernet IrTrans offers good possibilities to be sent commands without using an irserver. There are actually four APIs, see documentation on the web site.

If you do Java, possibily you will find https://github.com/bengtmartensson/HarcHardware/blob/master/src/main/java/org/harctoolbox/harchardware/ir/IrTrans.java useful for this.
Barf
 
Posts: 18
Joined: Sat 26. Apr 2008, 09:15

Re: Using two ethernet devices on Linux

Postby tudessan » Tue 5. Oct 2021, 04:25

Thanks a lot for your reply Barf.
I will check that.
tudessan
 
Posts: 2
Joined: Sun 19. Sep 2021, 16:50


Return to LINUX

Who is online

Users browsing this forum: No registered users and 5 guests