Start IRServer in Linux -Environment

Ethernet specific questions and answers - IRTrans LAN, LAN Controller devices

Moderator: marcus

Start IRServer in Linux -Environment

Postby lichterloh » Thu 19. Apr 2012, 19:55

Hi there,

Thanks for sending a IRTrans-Ethernet device without DB (IRT-LAN-Mod).
Testing in a Windows environment was great, IRTrans-server in windows was working fine.
As well learning as sending codes was an easy job.

So I tried to install the IRTrans Server on a Fedora-system, but no connection to the module could be established.
I used as well the command
sudo ./irserver -loglevel 4 lan => No IRTrans Devices found
as
sudo ./irserver -loglevel 4 <ip-adress> => Error opening COM/USB-Port / LAN Device

which both came up with error-messages (see above).

Fedora was a new installation.
so I gave a new UBUNTU-Installation a try but without success.
As fas as I know, there is no firewall enabled by default in either of the OS.
All three OS (Windows/Fedora/Ubuntu) were installed in a virtual environment (Parallel Desktop on a Mac), with standard settings (and Windows was working fine - so I see no problems there).

I tried to find something in the board, but without luck.
Do you have any ideas, why it's not working with my Linux-distributions?

thx in advance for your help!
lichterloh
 
Posts: 3
Joined: Thu 19. Apr 2012, 18:55

Re: Start IRServer in Linux -Environment

Postby IRTrans » Thu 19. Apr 2012, 21:43

Hi,
regarding your questions:

In general LINUX installations of IRTrans Network devices are not crititcal.

An installation in a virtualized environment might be a bit more tricky.

Depending on how the virtual LAN interfaces are configured the autofind (irserver lan) might not work as broadcasts are not always forwarded.

A start using the IP address should work, though. Can you ping the IRTrans from your virtual machine?

If the start of irserver <ip> does not work there is most probable a firewall involved. This firewall might be on the guest or the host system. The irserver needs to open server ports (!) on TCP/21000 and UDP/21000.

IRTrans
IRTrans
Administrator
 
Posts: 2115
Joined: Mon 21. Apr 2008, 23:32

Re: Start IRServer in Linux -Environment

Postby lichterloh » Fri 20. Apr 2012, 17:23

Hi there!
Thanks for your reply!
Sorry for bothering you - of course, there was a firewall on - I found out using the following command in the Fedora Terminal:
system-config-firewall
(in case there is someone else a noob like me)
Adding the port (its already a known fact for Fedora, that these ports are used by IRTrans), starting the server using the IP-Adress (couldn't find it using the LAN-Option), and voila! everything up and running!

First tests with the Windows GUI-Client for learning and sending IR-Codes were working perfectly!

Cheers!
lichterloh
 
Posts: 3
Joined: Thu 19. Apr 2012, 18:55


Return to Ethernet

Who is online

Users browsing this forum: No registered users and 12 guests

cron