EnderUNIX Team.


EnderUNIX İpucu

Arkadaşıma gönder , Ana Sayfa

[ NetBSD ]

"NetBSD ile pppoe (DSL) baglanti" - Baybars Uzunoglu - (2005-09-29 16:24:24)   [3129]

------/etc/ifconfig.pppoe0------------------------
! /sbin/ifconfig rtk0 up
! /sbin/pppoectl -e rtk0 pppoe0
! /sbin/pppoectl pppoe0 myauthproto=pap 'myauthname=baybara@ttnet' 'myauthsecret=12345678' hisauthproto=none
0.0.0.0 0.0.0.1 up
--------------------------------------------------

------/etc/ppp/ip-up------------------------------
#! /bin/sh
/sbin/route add default $5
--------------------------------------------------

------/etc/ppp/ip-down----------------------------
#! /bin/sh
/sbin/route delete default
--------------------------------------------------

yukaridaki 3 dosyayi olusturuyoruz ve dosyalarin erisim haklarini ayarliyoruz.

# chmod 600 /etc/ifconfig.pppoe0
# chmod 700 /etc/ppp/ip-up
# chmod 700 /etc/ppp/ip-down

baglantimizin her acilista aktif olabilmesi icin /etc/rc.conf dosyamiza

ifwatchd=YES
ifwatchd_flags="-u /etc/ppp/ip-up -d /etc/ppp/ip-down pppoe0"

satirlarini ekliyoruz.

/etc/rc.d/network restart
/etc/rc.d/ifwatchd restart

komutlari ile IP'miz, bridge mod'da calisan modemimiz uzerinden, rtk0 ag yuzu uzerinden, pppoe0 uzerine alinir.

http://www.serdaraytekin.com/docs/os/debian/debian-bridge-mod-adsl.html
http://www.netbsd.org/Documentation/network/pppoe/

Arkadaşıma gönder , Ana Sayfa