You did it!
You're right. This was an ordeal! There were three major
problems to overcome: talking to the modem, authentication, and DNS. You did a lot of research, and I am sure you learned a lot.
I am just wrapping up with an observation about your last question.
Originally Posted by Hacker X
Is that "Guaranteed" to be enough to work forever, or are there other details that will bite me in the butt later on?
What follows is based on my
/etc/ppp/ip-up and /etc/sysconfig/network-scripts/ifup-post scripts. You're running a different system, so your mileage may vary.
is run automatically as described in the pppd
man page. On my system, ip-up
One of the main functions of ifup-post
is (potentially) altering resolv.conf to reflect the nameservers needed for the ppp
connection. (Conversely, ip-down
change it back.)
These are bash scripts. If you know bash (or want to learn it
), you can study what ip-up
and its descendants do with resolv.conf
. If your ISP gave you specific addresses for DNS, maybe you don't even want to use usepeerdns
. It's up to you. If/when you know how to read bash scripts, you now have enough knowledge to make a rational decision. Good luck, and happy surfing!