(E-Mail Removed) (Ync750s02) writes:
]Hi,
]What is the general procedure to use PPP connection? What is the standard
]way to configure my linux' DHCP/DNS/Gateway from the PPP connection?
By changing /etc/resolv.conf. Some ISPs will give you the DNS if you ask
for it ( add the line
usepeerdns
to /etc/ppp/options
which may get the other side to supply the dns addresses and write them
to /etc/ppp/resolv.conf, from where you can copy them to
/etc/resolv.conf vi a script in /etc/ppp/ip-up
)
]For my old computer, I used to manually edit the /etc/resolv.conf for my
]DNS. The trouble is that whenever I switch my ISP, which I did often, I had
]to edit it manually again.
]Now, I'm getting into more trouble. I can't even get onto the Internet. My
]current situation is that, I have a ethernet card, and was using it to
By default, most distributions assign the default dns to the ethernet
card, and pppd will not change that. Thus yuou need to either erase the
default route befor running pppd and use the defaultroute option to
pppd, or erase it and add the new default route to /etc/ppp/ip-up.