Click to See Complete Forum and Search --> : pppoe and mandrake 8.2..please help!!


cutemer02
05-05-2002, 07:17 PM
OK...here is my problem. I have DSL. I have Mandrake 8.2 and Windows ME dual booting on my compaq presario 5000us. I figured out how to set up the internet connection using adsl-setup. I was able to connect using adsl-start. However I could not get on the net due to the fact that the routing table was showing the default gateway to be 10.0.0.1. So somebody (on another forum) told me to set it up manually. So I did, and it worked. But when I restarted the computer it was the same again. Then someone else told me it was because the info should be put into a configuration file. But which file? And when i tried to do it manually again, it wasn't working. And there seemed to be an extra line in the routing table, which I deleted. It wasnt there before. Now I can't even adsl-start anymore. Its all messed up.....

adsl-status: Link is up and running on interface ppp0
ppp0 Link encap:Point-to-Point Protocol
inet addr:66.125.226.36 P-t-P:66.125.227.254 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1
RX packets:3 errors:0 dropped:0 overruns:0 frame:0
TX packets:3 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:54 (54.0 b) TX bytes:54 (54.0 b)

[root@localhost laura]# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
66.125.227.254 * 255.255.255.255 UH 0 0 0 ppp0 (i deleted this line)
10.0.0.0 * 255.255.255.0 U 0 0 0 eth0
127.0.0.0 * 255.0.0.0 U 0 0 0 lo
default 10.0.0.1 0.0.0.0 UG 0 0 0 eth0

help! maybe i should just reinstall? :confused:

cutemer02
05-05-2002, 07:18 PM
PS the dns ip's are correct. my only problem seems to be the default gateway settings.

jumpedintothefire
05-06-2002, 07:26 PM
pppd, which is run by pppoe, will not replace a default gateway by default. If there is no default route present, then pppd will set the default route with no other changes required. You'd need to place "defaultroute" in one of the pppd configuration files for that to happen. The easiest way is to ensure that there is no default to begin with....

Your picking up the default gateway from one of your configuration files.

check: /etc/sysconfig/network

delete the lines like:
GATEWAY="10.0.0.1"
GATEWAYDEV="eth0"

also check: /etc/sysconfig/network-scripts/ifcfg-eth0

hope it helps....

Molecule Man
05-06-2002, 07:38 PM
10.0.0.1 is the default setup and should be fine. Why not set it up with Drak Conf? That works pretty well.