You are not logged in.
Hi
Until now, all I have used have beed DHCP connections, which have worked easily. However, I have now moved a to a new apartment where I must use a different ISP than before. Now I get a LAN connection via DHCP, which lets me access ISP's own services. The WAN access is provided via pppoe.
I have succeeded in getting the ppp interface configured and it is now started at boot time. The problem is that after boot, I don't seem to be able to connect anywhere, except to the lan via eth0. ppp0 has an ip address and it seems to be working, but I can't ping anything outside the LAN if I don't specify the interface as ppp0.
If I run:
sudo ifconfig eth0 stop
sudo ifconfig eth0 start
sudo /etc/rc.d/ppp restart
I get the connection working. This isn't a good solution, I believe there is a better one available. I think that as default, it tries to use the wrong interface. How can I make it use ppp0 when accessing the internet?
Offline
Have you set the default Gateway?
route add default gw (your Gateway)
Have you tried to turn it off and on again?
Offline
pppd doesn't replace the default route if one is set already. Try
route del default
before starting pppd.
Offline