Hello All,I reconfigure network connexns and assigned IP addresses
for LAN etc and eth0 is starting at bootup.if i try 'pon dsl-provider', ppp0 is listed as active by ifconfig. however if i ran:
Code:
route add default ppp0
every time inorder to get connected
So How can i make 'ppp0' as defaultroute?
ifconfig lists eth0,lo and ppp0.but u cannot ping or browse web.my /etc/network/interfaces file:
Code:
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
iface eth0 inet static
name Ethernet LAN card
address 192.168.1.2
netmask 255.255.255.0
broadcast 192.168.1.255
network 192.168.1.0
gateway 192.168.1.1
auto eth0
iface dsl-provider inet ppp
provider dsl-provider
Please Help urgently...................
After "pon dsl-provider",
I need to run :
Code:
route add default ppp0
that will
connect.i updated manually my ppp,pppoe and pppoeconf packages to latest unstable distros package inthe hope that it will work.after i upgraded pppoe/pppoeconf,my
/etc/network/interfaces files last line "pre-up /sbin/ifconfig eth0 up" was removed automatically.
.but that was OK as those lines are not bringing up my eth0 lan anyway.but now lan is working at boot,only problem is i need to run this again for internet adsl:
Code:
route add default ppp0
So my problem is how to make ppp0 as default connection rather than running :route add default ppp0 everytime.Please Help geeks urgently........