<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Howdy,<br>
<br>
On 10/13/2013 11:54 PM, Milan Pelech wrote:<br>
</div>
<blockquote cite="mid:525B9518.4000903@seznam.cz" type="cite">It
seems that. For sure try Ctrl+Alt+T and ifconfig, or route command
in CLI mode and check default routing table and ethernet
interface.
<br>
</blockquote>
Ctrl-Alt-T doesn't seem to do anything in either wintest or the
dxtelnet windows. I don't think wine has command.com or whatever it
is called (sorry, haven't used windows for the past 15 years). On
Linux, ifconfig gives the following output:<br>
<br>
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500<br>
inet 192.168.1.10 netmask 255.255.255.0 broadcast
192.168.1.255<br>
inet6 fe80::211:11ff:fed0:1678 prefixlen 64 scopeid
0x20<link><br>
ether 00:11:11:d0:16:78 txqueuelen 1000 (Ethernet)<br>
RX packets 217736 bytes 71645252 (68.3 MiB)<br>
RX errors 0 dropped 0 overruns 0 frame 0<br>
TX packets 162417 bytes 14854375 (14.1 MiB)<br>
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0<br>
<br>
and the routing table is very simple:<br>
<br>
Destination Gateway Genmask Flags MSS Window
irtt Iface<br>
0.0.0.0 192.168.1.1 0.0.0.0 UG 0
0 0 eth0<br>
192.168.1.0 0.0.0.0 255.255.255.0 U 0
0 0 eth0<br>
<br>
Broadcast address do work fine on the linux side (as evidenced by
pinging the local net broadcast address with -b), so this must be
something linux/wine specific. The above ifconfig output also shows
that broadcast addresses are accepted and the routing table is set
up correctly to access the local net. <br>
<br>
I recall that, on Linux, one needs to set socket options
(setsockopt(2)) to include SO_BROADCAST so that broadcast messages
can be sent.
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
Perhaps this is set by default in windows? It would be easy to check
the source code to see if setsockopt() is called with SO_BROADCAST
or not. If this is the case then an easy fix would be to set
SO_BROADCAST to make Linux happy too.<br>
<br>
Jussi Eloranta (AA6KJ)<br>
<br>
</body>
</html>