• Install dahulu repository pppoe :
# apt-get install pppoe
• Jalankan pppoeconf
# pppoeconf
tampilannya akan seperti ini:

• Pilih “Yes” kemudian dia akan mendeteksi sendiri berada dimana modem ADSL tersebut.

• Pilih “yes”, diminta username dan password ADSL


• Klo sudah, check di file /etc/network/interfaces akan ada tambahannya seperti ini :
auto dsl-provider
iface dsl-provider inet ppp
pre-up /sbin/ifconfig eth0 up # line maintained by pppoeconf
provider dsl-provider
Maka isi keseluruhan file (tulisan warna merah) :
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
gateway 192.168.1.1
dns-nameservers 192.168.1.1
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
dns-nameservers 192.168.0.1
dns-search dns.persegi.net
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 akan muncul interfaces ppp0
# ifconfig ppp0
hasilnya :
• Atau cara nge‐check lain, lakukan ping ke inet.
Tidak ada komentar:
Posting Komentar