Click to See Complete Forum and Search --> : Little problem with RP- PPPoE...
BadBen
03-19-2002, 12:25 PM
RP-PPPoE won't connect to my ISP if DHCP is disable, that when I set my network card (eth0)to get a static IP.
I could just let DHCP enable. but this cause a long boot(3min). The boot process stop when eth0 is trying to get a IP from DHCP server (which I don't have)
Is there a way to stop eth0 getting a IP via DHCP at boot? What other solution do I have??
Thx in advance
BadBen
mdwatts
03-19-2002, 05:37 PM
As long as you have the correct gateway address defined and your isp dns servers in /etc/resolv.conf, it shouldn't take that long for dhcp to request a ip address.
Of course I'm not that knowledgeable on PPPoE, so perhaps reading the PPPoE docs or searching Google will find something.
sarah31
03-19-2002, 06:38 PM
Not much help here but is there a way of disabling DHCP? If you connect solely by PPPoE then you do not need DHCP.
If you let us know what distro you are running someone would be able to suggest the best means of shutting down/removing DHCP.
Lorithar
03-19-2002, 11:46 PM
Ummm..
turn off dhcp and then check
/proc/sys/net/ipv4/ip_dynaddr
bash-2.05$ cat /proc/sys/net/ipv4/ip_dynaddr
1
bash-2.05$
if that returns 0 instead of 1
bash-2.05$ echo "1" > /proc/sys/net/ipv4/ip_dynaddr
should solve your problem. You may want to put that in a startup script.
BadBen
03-21-2002, 01:35 PM
Thx guys for your help, but none of the sugestion worked :(.
Anyway , I'll keep DHCP enable for now, but is ther way to disable DHCP during startup, so I don't have to wait??
Thx in advance
-----------------------------
BadBen
Using Slackware 8...
[ 21 March 2002: Message edited by: BadBen ]