I think that the bug is not solved, and now I have finally found a solution.
Actually, I'm using Ubuntu Karmic Koala and pppd is at version 2.4.5 and I use wicd
(so, I do NOT have Network Manager!)
Just install the 'resolvconf' package does not solve my problem: after a while (one hour for example) I can't access any page by using its domain name, but if I try to access to a particular page through its IP, there are not problems.
So, it seems that the problem are really the DNS addresses.
In order to solve the problem, I set the DNS addresses when I obtain the IP address for the eth0 interface (through 'dhclient eth0'). Since, I find many troubles in order to do this, I prefer to write down all the steps in order to make the system works.
1) comment the line 'usepeerdns' (by putting a # at the start of the line) in the /etc/ppp/peers/dsl-provider configuration file.
2) modify the /etc/dhcp3/dhclient.conf configuration file in the following way:
- add a line like the following:
prepend domain-name-servers 208.67.222.222;
(instead of 208.67.222.222 you should put the DNS address you want)
Again in the /etc/dhcp3/dhclient.conf file, you have to modify the 'request' entry.
After the word 'request' there are listed some words.
You have to be sure, that the 'domain-name-server' word is NOT present (if there is, delete it!)
Ok, it's done. Now you can do:
ifconfig eth0 up
dhclient eth0
pon dsl-provider
Now, when you perform 'dhclient eth0', the DNS are setted, and the 'pon dsl-provider' command will not modify the DNS addresses!
I know that the level of these explanations is very low (ie for newbie), but I've lost many hours in trying to solve this problem, and I have NOT find in the web a solution to this problem.
Hi,
I think that the bug is not solved, and now I have finally found a solution.
Actually, I'm using Ubuntu Karmic Koala and pppd is at version 2.4.5 and I use wicd
(so, I do NOT have Network Manager!)
Just install the 'resolvconf' package does not solve my problem: after a while (one hour for example) I can't access any page by using its domain name, but if I try to access to a particular page through its IP, there are not problems.
So, it seems that the problem are really the DNS addresses.
In order to solve the problem, I set the DNS addresses when I obtain the IP address for the eth0 interface (through 'dhclient eth0'). Since, I find many troubles in order to do this, I prefer to write down all the steps in order to make the system works.
1) comment the line 'usepeerdns' (by putting a # at the start of the line) in the /etc/ppp/ peers/dsl- provider configuration file. dhclient. conf configuration file in the following way:
2) modify the /etc/dhcp3/
- add a line like the following:
prepend domain-name-servers 208.67.222.222;
(instead of 208.67.222.222 you should put the DNS address you want)
Again in the /etc/dhcp3/ dhclient. conf file, you have to modify the 'request' entry. name-server' word is NOT present (if there is, delete it!)
After the word 'request' there are listed some words.
You have to be sure, that the 'domain-
Ok, it's done. Now you can do:
ifconfig eth0 up
dhclient eth0
pon dsl-provider
Now, when you perform 'dhclient eth0', the DNS are setted, and the 'pon dsl-provider' command will not modify the DNS addresses!
I know that the level of these explanations is very low (ie for newbie), but I've lost many hours in trying to solve this problem, and I have NOT find in the web a solution to this problem.
I hope it helps,
Yan