Open GiovanniMounir opened 10 years ago
Are you able to ping your server?
Hi friedrich,
Thanks for taking time and replying to my post! I can only ping my server if I use the "-r" parameter while starting hans as I have disabled the server from responding to ICMP requests, but it doesn't matter if I enable or disable it, the same error keeps repeating for around 1-2 seconds then nothing else appears in my Windows command prompt. What do you think the problem is? Thanks again!
I am not sure if I understand your reply correctly. Could you paste the output of the commands "route print", "ipconfig /all" and "ping YOURSERVER".
I meant that it keeps outputting the "no route to host" error message for 2 seconds then it doesn't output anything else. Here's the output you requested, I'm connected to my USB Modem (Profile name: Etisalat Internet) and the TAP driver is not used by any processes:
C:\>route print
===========================================================================
Interface List
37...........................Etisalat Internet
23...00 ff 37 69 73 8e ......TAP-Win32 Adapter V9
19...00 ac e6 a0 e3 1b ......VPN Client Adapter - VPN
15...58 2c 80 13 92 63 ......HUAWEI Mobile Connect - Network Adapter #2
13...00 13 02 45 78 da ......Intel(R) PRO/Wireless 3945ABG Network Connection
11...00 15 60 c7 4c 2d ......Broadcom 440x 10/100 Integrated Controller
1...........................Software Loopback Interface 1
20...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter
12...00 00 00 00 00 00 00 e0 Teredo Tunneling Pseudo-Interface
...
===========================================================================
IPv4 Route Table
===========================================================================
Active Routes:
Network Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 On-link 10.181.43.210 31
10.181.43.210 255.255.255.255 On-link 10.181.43.210 286
127.0.0.0 255.0.0.0 On-link 127.0.0.1 4531
127.0.0.1 255.255.255.255 On-link 127.0.0.1 4531
127.255.255.255 255.255.255.255 On-link 127.0.0.1 4531
224.0.0.0 240.0.0.0 On-link 127.0.0.1 4531
224.0.0.0 240.0.0.0 On-link 10.181.43.210 31
255.255.255.255 255.255.255.255 On-link 127.0.0.1 4531
255.255.255.255 255.255.255.255 On-link 10.181.43.210 286
===========================================================================
Persistent Routes:
None
IPv6 Route Table
===========================================================================
Active Routes:
If Metric Network Destination Gateway
12 58 ::/0 On-link
1 306 ::1/128 On-link
12 58 2001::/32 On-link
12 306 2001:0:5ef5:79fd:180f:1cef:f54a:d42d/128
On-link
12 306 fe80::/64 On-link
12 306 fe80::180f:1cef:f54a:d42d/128
On-link
1 306 ff00::/8 On-link
12 306 ff00::/8 On-link
===========================================================================
Persistent Routes:
None
C:\>ipconfig /all
Windows IP Configuration
Host Name . . . . . . . . . . . . :
Primary Dns Suffix . . . . . . . :
Node Type . . . . . . . . . . . . : Hybrid
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
PPP adapter Etisalat Internet:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Etisalat Internet
Physical Address. . . . . . . . . :
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
IPv4 Address. . . . . . . . . . . : 10.181.43.210(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.255
Default Gateway . . . . . . . . . : 0.0.0.0
DNS Servers . . . . . . . . . . . : 105.203.255.250
105.203.255.252
NetBIOS over Tcpip. . . . . . . . : Disabled
Ethernet adapter Local Area Connection 2:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : TAP-Win32 Adapter V9
Physical Address. . . . . . . . . : 00-FF-37-69-73-8E
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
Ethernet adapter VPN - VPN Client:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : VPN Client Adapter - VPN
Physical Address. . . . . . . . . : 00-AC-E6-A0-E3-1B
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Mobile Broadband adapter Mobile Broadband Connection 2:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : HUAWEI Mobile Connect - Network Adapter #
2
Physical Address. . . . . . . . . : 58-2C-80-13-92-63
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
Wireless LAN adapter Wireless Network Connection:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . : Home
Description . . . . . . . . . . . : Intel(R) PRO/Wireless 3945ABG Network Con
nection
Physical Address. . . . . . . . . : 00-13-02-45-78-DA
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Ethernet adapter Local Area Connection:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Broadcom 440x 10/100 Integrated Controlle
r
Physical Address. . . . . . . . . : 00-15-60-C7-4C-2D
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Tunnel adapter isatap.Home:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Microsoft ISATAP Adapter
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
Tunnel adapter Local Area Connection* 11:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Teredo Tunneling Pseudo-Interface
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
IPv6 Address. . . . . . . . . . . : 2001:0:5ef5:79fd:180f:1cef:f54a:d42d(Pref
erred)
Link-local IPv6 Address . . . . . : fe80::180f:1cef:f54a:d42d%12(Preferred)
Default Gateway . . . . . . . . . : ::
NetBIOS over Tcpip. . . . . . . . : Disabled
Tunnel adapter isatap.{36E2B257-ED58-48BC-AD29-8A92B325DD34}:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Microsoft ISATAP Adapter #2
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
Tunnel adapter isatap.{166A1F0A-FEEA-476A-8A4F-2AE1ECFA61BD}:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Microsoft ISATAP Adapter #3
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
Tunnel adapter isatap.{139A7E49-7E3E-4F2B-BF97-CEE66F76A0F8}:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Microsoft ISATAP Adapter #4
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
Tunnel adapter isatap.{7E310927-0955-48EC-B765-09FD8FF12847}:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Microsoft ISATAP Adapter #5
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
Tunnel adapter isatap.{3769738E-1DC3-4838-ABB8-C090D51458F9}:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Microsoft ISATAP Adapter #6
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
C:\>ping hostname
Pinging hostname [xx.xx.xx.xx] with 32 bytes of data:
Reply from xx.xx.xx.xx: bytes=32 time=127ms TTL=47
Reply from xx.xx.xx.xx: bytes=32 time=135ms TTL=47
Reply from xx.xx.xx.xx: bytes=32 time=128ms TTL=47
Reply from xx.xx.xx.xx: bytes=32 time=126ms TTL=47
Ping statistics for xx.xx.xx.xx:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 126ms, Maximum = 135ms, Average = 129ms
Hi,
I keep receiving the following message from the Windows client when trying to connect to a server that is running hans as well.
hans: error sending icmp packet: No route to host
This message is repeated 34 times and then the output stops. Is this a bug with the Windows version? or did I miss something while setting up hans? Here's the full output I receive
hans: opened tunnel device: Local Area Connection 2 Ok.
hans: connection established
hans: error sending icmp packet: No route to host hans: error sending icmp packet: No route to host hans: error sending icmp packet: No route to host hans: error sending icmp packet: No route to host hans: error sending icmp packet: No route to host hans: error sending icmp packet: No route to host hans: error sending icmp packet: No route to host hans: error sending icmp packet: No route to host hans: error sending icmp packet: No route to host hans: error sending icmp packet: No route to host hans: error sending icmp packet: No route to host hans: error sending icmp packet: No route to host hans: error sending icmp packet: No route to host hans: error sending icmp packet: No route to host hans: error sending icmp packet: No route to host hans: error sending icmp packet: No route to host hans: error sending icmp packet: No route to host hans: error sending icmp packet: No route to host hans: error sending icmp packet: No route to host hans: error sending icmp packet: No route to host hans: error sending icmp packet: No route to host hans: error sending icmp packet: No route to host hans: error sending icmp packet: No route to host hans: error sending icmp packet: No route to host hans: error sending icmp packet: No route to host hans: error sending icmp packet: No route to host hans: error sending icmp packet: No route to host hans: error sending icmp packet: No route to host hans: error sending icmp packet: No route to host hans: error sending icmp packet: No route to host hans: error sending icmp packet: No route to host hans: error sending icmp packet: No route to host hans: error sending icmp packet: No route to host hans: error sending icmp packet: No route to host ^C hans: SIGINT received hans: select: Interrupted system call