View Single Post
Posts: 149 | Thanked: 21 times | Joined on Jun 2007 @ Germany
#36
Thank you But it doesn't work. Irreco displays 'can not open socket'.

iptables -F INPUT/OUTPUT/FORWARD
iptables -P INPUT/OUTPUT/FORWARD ACCEPT
selinux=0 (I use Fedora)

lirc <-> lirc from one pc to another works, for example:

PC1
lircd -c 192.168.1.119 -H udp -n
PC2
lircd -l -H pinsys -n

wlan basestation might have some kind of filtering / firewall / nat which breaks things
If I start httpd on port 8765, I can access it with N810 and I'm in the same network (192.168.1.0/24)

edit: tcpdump & other informations added

at 1st start or Irreco, I get following tcpdump (Server: *.254, N810: *.40)
[root@server ~]# tcpdump -nni eth1 port 8765
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth1, link-type EN10MB (Ethernet), capture size 96 bytes
00:20:23.237468 IP 192.168.1.40.51706 > 192.168.1.254.8765: S 564523059:564523059(0) win 5840 <mss 1460,sackOK,timestamp 5050050 0,nop,wscale 2>
00:20:23.237563 IP 192.168.1.254.8765 > 192.168.1.40.51706: S 3301026896:3301026896(0) ack 564523060 win 5792 <mss 1460,sackOK,timestamp 1344061286 5050050,nop,wscale 6>
00:20:23.239809 IP 192.168.1.40.51706 > 192.168.1.254.8765: . ack 1 win 1460 <nop,nop,timestamp 5050054 1344061286>
00:20:23.239883 IP 192.168.1.40.51706 > 192.168.1.254.8765: P 1:6(5) ack 1 win 1460 <nop,nop,timestamp 5050054 1344061286>
00:20:23.239919 IP 192.168.1.254.8765 > 192.168.1.40.51706: . ack 6 win 91 <nop,nop,timestamp 1344061289 5050054>
00:20:23.241714 IP 192.168.1.254.8765 > 192.168.1.40.51706: F 1:1(0) ack 6 win 91 <nop,nop,timestamp 1344061290 5050054>
00:20:23.242236 IP 192.168.1.254.8765 > 192.168.1.40.51706: R 2:2(0) ack 6 win 91 <nop,nop,timestamp 1344061291 5050054>
00:20:23.245244 IP 192.168.1.40.51706 > 192.168.1.254.8765: . ack 2 win 1460 <nop,nop,timestamp 5050055 1344061290>
00:20:23.245316 IP 192.168.1.254.8765 > 192.168.1.40.51706: R 3301026898:3301026898(0) win 0
After that, Irreco doesn't respond. Now I killed Irreco and it looks like lircd dies too:
[root@server ~]# tcpdump -nni eth1 port 8765
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth1, link-type EN10MB (Ethernet), capture size 96 bytes
00:13:22.881446 IP 192.168.1.40.55734 > 192.168.1.254.8765: S 126136818:126136818(0) win 5840 <mss 1460,sackOK,timestamp 4996244 0,nop,wscale 2>
00:13:22.881524 IP 192.168.1.254.8765 > 192.168.1.40.55734: R 0:0(0) ack 126136819 win 0
After that, I get the open socket message on N810

Some other informations:
[root@server ~]# rpm -qv lirc
lirc-0.8.1-1.fc6
[root@server ~]# ps ax | grep lircd
25253 ? Ss 0:00 /usr/sbin/lircd -l -H pinsys

Last edited by slha89; 2008-03-20 at 23:24.