Wednesday, June 22, 2011

Make Setting Dial-Up For Modem ADSL

Install repository pppoe
#  apt-get install pppoe
Run pppoeconf
#  pppoeconf
Look the picture then choice yes
and when automatic detection modem ADSL
Choice yes and insert username and password ADSL


Don't use DNS Peers because we when create make DNS Server local so choice "no"
For MTU choice "yes" and default 1452byte
Done and direct connect


Check file /etc/network/interfaces there will be additional

auto dsl-provider
iface dsl-provider inet ppp
pre-up /sbin/ifconfig eth0 up # line maintained by pppoeconf provider dsl-provider

then

auto lo
iface lo inet loopback

auto eth0
iface eth1 inet static
address 192.168.1.2
netmask 255.255.255.0 network 192.168.1.0 broadcast 192.168.1.255

auto eth1
iface eth1 inet static
address 192.168.0.1 netmask 255.255.255.0 network 192.168.0.0
broadcast 192.168.0.255

auto dsl-provider
iface dsl-provider inet ppp
pre-up /sbin/ifconfig eth0 up # line maintained by pppoeconf
provider dsl-provider

Check interfaces dial-up dengan ifconfig,dial up when appear interfaces ppp0
#  ifconfig ppp0

Result or ping to the internet

0 comments:

Post a Comment