[WT-support] works on Linux - small issues

Jussi Eloranta jmeloranta at gmail.com
Tue Oct 15 05:20:04 CEST 2013


Howdy,

On 10/13/2013 11:54 PM, Milan Pelech wrote:
> 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.
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:

eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
         inet 192.168.1.10  netmask 255.255.255.0  broadcast 192.168.1.255
         inet6 fe80::211:11ff:fed0:1678  prefixlen 64  scopeid 0x20<link>
         ether 00:11:11:d0:16:78  txqueuelen 1000  (Ethernet)
         RX packets 217736  bytes 71645252 (68.3 MiB)
         RX errors 0  dropped 0  overruns 0  frame 0
         TX packets 162417  bytes 14854375 (14.1 MiB)
         TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

and the routing table is very simple:

Destination     Gateway         Genmask         Flags   MSS Window irtt 
Iface
0.0.0.0         192.168.1.1     0.0.0.0         UG        0 0          0 
eth0
192.168.1.0     0.0.0.0         255.255.255.0   U         0 0          0 
eth0

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.

I recall that, on Linux, one needs to set socket options (setsockopt(2)) 
to include SO_BROADCAST so that broadcast messages can be sent. 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.

Jussi Eloranta (AA6KJ)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.win-test.com/pipermail/support/attachments/20131014/e5401bd4/attachment.htm>


More information about the support mailing list