On dom, 2004-04-18 at 12:17, Boto wrote:
Kla wrote:
On sab, 2004-04-17 at 23:51, Pasquale Matera wrote:
ho due computer collegati con cavo cross: uno collegato a internet con modem
su cui gira WinXP e sull'altro gira debian; ho configurato il client, è
connesso in rete ma non risolve i nomi quindi dovrei assegnargli il dns:
come si fa?
Pas
Nel file /etc/ppp/options, o nel file in cui ci sono tutte le opzioni da
passsare a pppd, aggiungi usepeerdns...
man pppd :-)
Ciao, Francesco
ma qui, se non sbaglio, stiamo parlando di rete lan, ovvero di
condivisione di connessione...
usepeerdns non riguarda una connessione `reale` effettuata tramite pppd?
dal man:
usepeerdns
Ask the peer for up to 2 DNS server addresses. The
addresses supplied by the peer (if any) are passed to the /etc/ppp/ip-up
script in the envi-
ronment variables DNS1 and DNS2, and the environment
variable USEPEERDNS will be set to 1. In addition, pppd will create an
/etc/ppp/resolv.conf
file containing one or two nameserver lines with the
address(es) supplied by the peer.