Re: pppd and DNS [WAS:Driver for 536ep-Modem does not compile]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello all,

DHCP is installed, the system accepts to get adresses from a router with DHCP server.

Added usepeerdns to /etc/ppp/options. As described in man pppd, the following files were created:

/var/run/ppp_resolv.conf.ppp0
nameserver 195.129.111.50
nameserver 195.129.111.49

/var/run/ppp_resolv.conf.dsl0
nameserver 217.0.43.1
nameserver 217.0.43.193

...but apparently not passed to pppd ("ppp 2.4.5-5.1-i586 from vendor openSUSE"). Browsing via dial-up modem failed. The nameserver addresses are correct.

My DSL device is new, but rather old fashioned. It is merely a modem, not a router. It does nothing else than convert IP-packages to DSL format and vice versa. It can not be configured, it gets the internet access data every time it is startet from pppd resp. smpppd.


Regards
Ludwig



-------- Original-Nachricht --------
> Datum: Wed, 29 Feb 2012 15:05:38 +0200
> Von: Jacques Goldberg <goldberg@xxxxxxxxxxxxxxxxxxxx>
> An: Ludwig Gebauer <ludwiggebauer@xxxxxxx>
> CC: Philippe Vouters <philippe.vouters@xxxxxxxxxxx>, junker@xxxxxxxxxxxxxxxxxxx, olivares14031@xxxxxxxxx, discuss@xxxxxxxxxxxxx
> Betreff: Re: pppd and DNS   [WAS:Driver for 536ep-Modem does not compile]

> Dear Ludwig,
> 
> Please forgive me to remind here, since I do not know you, that 
> wvdial/wdialconf are not programs that operate the communication but 
> rather friendly utilities that prepare the parameters  (data) for the 
> real program which does the work,  pppd.
> 
> Now please can you tell us if there is or not a line    usepeerdns  in 
> your file   /etc/ppp/options
> 
> If there is not, please add that line.
> 
> Then please try to connect to your analog modem ISP with wvdial and Auto 
> DNS = yes, do not worry for what there is or not in /etc/resolv.conf 
> because in this case pppd should NOT use /etc/resolv.conf, disconnect 
> the cable from DSL to PC to make sure that you use the analog modem, and 
> try to surf the Web, like Google or others. Does it work?
> 
> If it works (it should), reconnect your DSL, make it work by adding the 
> DSL DNS in /etc/resolv.conf if necessary (see Note) and give the 
> following commands in a separate window as superuser (the first takes 
> time), while wvdial (pppd) is still running:   updatedb  ,then this long 
> composite command         for f in `locate resolv.conf* `;do echo $f;cat 
> $f;done       so that you  can see the contents of the various  
> resolv.conf present on your computer.
> 
> Note: if your DSL box is not old, and I am sure you were given a brand 
> new one since DSL is new in your place, configure your PC (Linux) for 
> the DSL connection to take DNS's from the DSL box  (do not define  
> /etc/resolv.conf    and make it clear   in the network s\manager 
> definitions, no local name server, no local DNS). Your DSL box normally 
> comes configured such that the DSL box takes itself automatically the 
> DNS addresses from the network. You may want,and even need, to check 
> that your DSL box is configured like that. That way you should not hear 
> of DNS's any more once you have    usepeerdns    in your /etc/ppp/options
> .
> 
> Regards
> 
> Jacques
> 
> n 02/29/012 02:00 PM, Ludwig Gebauer wroteresolv.conf
> 
> With "Auto DNS = yes" in wvdial.conf, DNS addresses show up in the 
> wvdial protocol, when running wvdial (ISP: www.yooline.de ), whether 
> network manager is activated or not. wi And whether network manager is 
> activated or not, I have to edit resolv.conf manually. Since a few 
> weeks, DSL exists here in my village, 12 km afar from Brunswick (so much 
> about the highly industrialisated etc. country Germany), and with my DSL 
> _modem_ (not a modem _router_!) I have the same effect: DNS addresses 
> must be transferred manually to resolv.conf. Seems to be an openSUSE 
> 11.4 issue.
> 
> 
> 

-- 
Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir
belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de


[Index of Archives]     [Linux Media Development]     [Asterisk]     [DCCP]     [Netdev]     [X.org]     [Xfree86]     [Fedora Women]     [Linux USB]

  Powered by Linux