How to force an application to use only ipv4?

2013-05-18 Thread abdelkader belahcene
Hi,
I have a problem connection from thin clients (old machines) to server
using xdmcp ( connection thru X using  port 6000 and 6001),
with previous debian 6.0.7, mint 13,   I had problem,
with recent distro mint 14 or 15 , debian 7, I have  connection pb
I suspect a conflit ???   between ipv6 and ipv6 ?  may be my old machines
don't understand this protocol ?

I want to test mint15 with just ipv4, I want to force ipv4  on the mdm
manager ( gnome-like)  where to do it ??
here is the output for open port

netstat  -nau |grep 177
udp6   0  0 :::177  :::*
netstat  -nat |grep 6000
tcp0  0 0.0.0.0:60000.0.0.0:*
LISTEN
tcp6   0  0 :::6000 :::*LISTEN

no port open on ipv4 udp ??
thanks for help


Re: How to force an application to use only ipv4?

2013-05-18 Thread Roger Leigh
On Sat, May 18, 2013 at 10:18:33AM +0100, abdelkader belahcene wrote:
 with recent distro mint 14 or 15 , debian 7, I have  connection pb
 I suspect a conflit ???   between ipv6 and ipv6 ?  may be my old machines
 don't understand this protocol ?

Does your old machine have an IPv6 address?  Does your new machine
have an IPv6 address?  Can you ping6 one machine from the other?

% ip -6 addr
1: lo: LOOPBACK,UP,LOWER_UP mtu 65536 
inet6 ::1/128 scope host 
   valid_lft forever preferred_lft forever
2: eth0: BROADCAST,MULTICAST,UP,LOWER_UP mtu 1500 qlen 1000
inet6 2001:770:1d5:::::/64 scope global dynamic 
   valid_lft 86396sec preferred_lft 14396sec
inet6 fe80::62a4:4cff:fe5f:1257/64 scope link 
   valid_lft forever preferred_lft forever

Note the global address for eth0.  If you can't ping6 the other
machine, then there's probably no IPv6 connectivity.  All services
should default to IPv6 and fall back to IPv4 if unavailable.


Regards,
Roger

-- 
  .''`.  Roger Leigh
 : :' :  Debian GNU/Linuxhttp://people.debian.org/~rleigh/
 `. `'   schroot and sbuild  http://alioth.debian.org/projects/buildd-tools
   `-GPG Public Key  F33D 281D 470A B443 6756 147C 07B3 C8BC 4083 E800


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20130518113550.ga31...@codelibre.net



Re: How to force an application to use only ipv4?

2013-05-18 Thread Thilo Six
Hello abdelkader


Excerpt from abdelkader belahcene:

-- snip --
 I want to test mint15 with just ipv4, I want to force ipv4  on the mdm
 manager ( gnome-like)  where to do it ??
-- snip --

I do not know mint but with debian wheezy it is easy to turn off/on IPv6 on the 
fly:

/etc/sysctl.d/ipv6.conf 

# Disable IPv6
net.ipv6.conf.all.disable_ipv6=1
---/

then you need to activate those settings with:
# sysctl -p /etc/sysctl.d/*.conf

-- 
Regards,
Thilo

4096R/0xC70B1A8F
721B 1BA0 095C 1ABA 3FC6  7C18 89A4 A2A0 C70B 1A8F



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/kn874h$svm$1...@ger.gmane.org