Twitter iPhone pliant OnePlus 11 PS5 Disney+ Orange Livebox Windows 11

netbsd et no route to host

1 réponse
Avatar
martins_marc
bonjour, je ne trouve toujours pas de solution pour mon probleme 'no route to host'

apres une installation via ftp

Voila ce que je fais.
Avant je fais le setenv PKG_PATH ftp://ftp.netbsd.org/pub/NetBSD/...

apres
free# pkg_add samba-2.2.8anb5.tgz
ftp: connect to address 2001:4f8:4:7:2e0:81ff:fe21:6563: No route to host
Password:
pkg_add: prompt failed - wrong dir?
pkg_add: ftp_start() failed
pkg_add: no pkg found for 'samba-2.2.8anb5.tgz', sorry.


Le fichier resolve.conf est le suivant:

nameserver 192.168.0.1
search 192.168.0.1

Un morcreau du fichier inetd.conf est le suivant (tout est commenté) :

#ftp stream tcp nowait root /usr/libexec/ftpd ftpd -ll
#ftp stream tcp6 nowait root /usr/libexec/ftpd ftpd -ll

Un ifconfig me donne

free# ifconfig -a
fxp0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
address: 00:08:c7:57:c2:4a
media: Ethernet autoselect (100baseTX full-duplex)
status: active
inet 192.168.0.9 netmask 0xffffff00 broadcast 192.168.0.255
inet6 fe80::208:c7ff:fe57:c24a%fxp0 prefixlen 64 scopeid 0x1
lo0: flags=8009<UP,LOOPBACK,MULTICAST> mtu 33220
inet 127.0.0.1 netmask 0xff000000
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2
inet6 ::1 prefixlen 128
ppp0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
ppp1: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
sl0: flags=c010<POINTOPOINT,LINK2,MULTICAST> mtu 296
sl1: flags=c010<POINTOPOINT,LINK2,MULTICAST> mtu 296
strip0: flags=0<> mtu 1100
strip1: flags=0<> mtu 1100


Voila, merci pour votre aide.

1 réponse

Avatar
manu
martins marc wrote:

bonjour, je ne trouve toujours pas de solution pour mon probleme 'no route
to host'


(snip)
free# pkg_add samba-2.2.8anb5.tgz
ftp: connect to address 2001:4f8:4:7:2e0:81ff:fe21:6563: No route to host


Ca n'est pas un vrai problème: il essaye en IPv6, n'y arrive pas, puis
tente en IPv4 et y arrive.

Password:
pkg_add: prompt failed - wrong dir?


Bon, par contre là, hum... Ca te fait ca sur tous les mirroirs?
Quel est ton PKG_PATH exactement? Il devrait être par exemple
ftp://ftp.netbsd.org/pub/NetBSD/packages/1.6.2/i386/All


nameserver 192.168.0.1
search 192.168.0.1


La ligne search indique les domaines à essayer pour les nms de machines
pas qualifés. Elle est facultative, et là tu as mis n'importe quoi
dedans :)

--
Emmanuel Dreyfus
A lire: 240 pages en français sur l'administration UNIX avec BSD
http://www.eyrolles.com/php.informatique/Ouvrages/9782212112443.php3