Results 1 to 5 of 5
I have dial-up connection through mobile phone, using pppd. But dns does not work properly. When I ping IP address, it works, but
Code:
ping google.com
or any symbolic host ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 08-08-2010 #1Linux Newbie
- Join Date
- Apr 2010
- Location
- Novosibirsk, Russia
- Posts
- 136
Dns does not work with ppp
I have dial-up connection through mobile phone, using pppd. But dns does not work properly. When I ping IP address, it works, but
or any symbolic host name, causes 'unknown host ...' error. How I can make dns work correctly with pppd?Code:ping google.com
- 08-08-2010 #2
It could be that you are not receiving name server
addresses from the gateway. Try to find out your
ISPs name servers, and enter the information manually
if necessary.
- 08-09-2010 #3
Find the dailup networking file that pppd calls, usually /etc/ppp/peers/dun and add:
123.456.678.1 is your DNS Server IP AddressCode:ms-dns 123.456.678.1
Have a look at the manual for all ppp options
Code:man pppd
- 08-09-2010 #4Just Joined!
- Join Date
- Mar 2009
- Location
- Moves between London, Oslom Brussels
- Posts
- 30
Simplicity
There may also be a simple configuration error if you want to poke into your own ISP's emails, but it is usually just on the outgoing emails (SMTP server).
Most consider their network as a LAN, where the route messages out of their "cloud". Your phone gets it IP address from your operator - say Vodafone, and they will assign an IP address out of their LAN address pool. Then you hit your ISP's email server - that has an external, public IP address, and for security reasons your ISP will refuse access from outside their LAN - and rely on WEB mail.
The answers above are all correct, but ignores this simple observation - that all access to their POP/SMTP has to come from own address pool.
So - I use Gmail - as this is outside, and use WEB access to own ISP. I can respond to emails using Gmail's SMTP, and I can access Gmail using POP with secure connection set-up.
Tell your ISP that POP access requires password authentication, and they should open for POP access, best on a secure link and from a remote address. If they use WEB-mail, they have a log-in procedure here, that they can use. It is no rocket science. It is a security constraint that makes sense, but that needs to have an exception.
Beware that MS firewalls will at times block Google services. So if you use Windows mobile, turn off the firewall.
- 08-10-2010 #5Linux Newbie
- Join Date
- Apr 2010
- Location
- Novosibirsk, Russia
- Posts
- 136
Not sure that I'm understood well...) I just try to connect PPP from tty, directly configuring pppd. I can connect ISP using kppp, it simply writes two temporary "nameserver" entities to /etc/resolv.conf. But I interested in how kppp uses pppd while receives DNS addresses automatically.


Reply With Quote

