Firstly, thanks for your support!sander wrote: Good that you found & could start python. However, I think you don't yet type the correct commands. So, after starting up python, type (or even better: copy & paste) these commands within python:
Copy & paste the full output here back in this forum.Code: Select all
print socket.has_ipv6 import socket print socket.getaddrinfo("www.python.org", 80, 0, 0, socket.SOL_TCP) print socket.getaddrinfo("newszilla6.xs4all.nl", 80, 0, 0, socket.SOL_TCP)
The first command is not working:
EyerulesNAS> ./python
Python 2.5.4 (r254:67916, Jan 31 2010, 16:34:06)
[GCC 4.2.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> print socket.has_ipv6
Traceback (most recent call last):
File "", line 1, in
NameError: name 'socket' is not defined
Second commands:
>>> import socket
print socket.getaddrinfo("www.python.org", 80, 0, 0, socket.SOL_TCP)
print socket.getaddrinfo("newszilla6.xs4all.nl", 80, 0, 0, socket.SOL_TCP)>>> [(2, 1, 6, '', ('82.94.164.162', 80))]
>>>
EyerulesNAS> ./python
Python 2.5.4 (r254:67916, Jan 31 2010, 16:34:06)
[GCC 4.2.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import socket
print socket.getaddrinfo("www.python.org", 80, 0, 0, socket.SOL_TCP)
print socket.getaddrinfo("newszilla6.xs4all.nl", 80, 0, 0, socket.SOL_TCP)
>>> [(2, 1, 6, '', ('82.94.164.162', 80))]
>>> Traceback (most recent call last):
File "", line 1, in
socket.gaierror: (4, 'non-recoverable failure in name resolution.'