Merhaba, http://ipucu.enderunix.org/view.php?id=347&lang=tr
Adresinde calisan bir ornek ppp.conf dosyasi var, onu edit ederek deneyebilirsiniz. On Sat, Mar 12, 2005 at 08:42:55AM -0800, Eda Keskin wrote: > Merhaba arkadaslar, > Adsl hatt?m?z?n ?nune a? ge?idi ve g?venlik duvar? > olacak bir freebsd koymak istiyoruz. > Ipfilter & Squid ile transparan proxy uygulayaca??z. > > FreeBSD 4.11 kurulu makinada 2 adet eternet kart? var. > rl0 -> 192.168.0.1 > xl0 -> Adsl Modeme bagli > > Adsl Modemi bridge moda ald?m. > { WAN Information: > Mode: Bridge > Encapsulation: RFC 1483 > Multiplexing: LLC > VPI/VCI: 8/35 > } > > Kernele pppoe ile ilgili asagidaki satirlari ekleyip > yeniden derledim. > > options NETGRAPH > options NETGRAPH_SOCKET > options NETGRAPH_PPPOE > > /etc/ppp/ppp.conf i?eri?i ise ??yle: > { > default: > set log Phase tun command > set timeout 0 > > ttnet: > set device PPPoE:xl0 > set authname [EMAIL PROTECTED] > set authkey sifrem > set dial > set login > add default HISADDR > enable dns > } > > /etc/rc.conf un ilgili icerigi ise ??yle: > { > gateway_enable="YES" > > ifconfig_rl0="inet 192.168.0.4 netmask 255.255.255.0" > ifconfig_xl0="up" > ifconfig_tun0="DHCP" > > ppp_enable="YES" > ppp_mode="ddial" > ppp_profile="ttnet" > } > > root olarak "ppp -ddial ttnet" komutunu verdi?imde ise > a?a??daki hata mesaj?n? al?yorum: > Warning: Bad label in /etc/ppp/ppp.conf (line 2) - > missing colon > Warning: Bad label in /etc/ppp/ppp.conf (line 3) - > missing colon > Working in ddial mode > Using interface: tun0 > Warning: Bad label in /etc/ppp/ppp.conf (line 2) - > missing colon > Warning: Bad label in /etc/ppp/ppp.conf (line 2) - > missing colon > Warning: Bad label in /etc/ppp/ppp.conf (line 3) - > missing colon > Warning: Bad label in /etc/ppp/ppp.conf (line 6) - > missing colon > > Oysa konfig?rasyonu ?ok az bir de?i?iklikle handbook > tan ald?m ve handbook taki konfig?rasyonun ayn?s?n? > kendi bilgilerimize g?re uyarlasam dahi benzer hata > mesajar?n? al?yorum. > Sizce sorun ne olabilir? Daha ?nce b?yle bisey deneyen > oldu mu aram?zda? > > Yard?mlar?n?z i?in ?imdiden te?ekk?r ederim. > > Eda Keskin Florat > Walennius CRC > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > > --------------------------------------------------------------------- > Cikmak icin, e-mail: [EMAIL PROTECTED] > Liste arsivi: http://lists.enderunix.org ve > http://www.mail-archive.com/freebsd@lists.enderunix.org > Turkiye'nin ilk FreeBSD kitabi: http://www.acikkod.com/freebsd.php > > -- Duydunuz mu! Turkiye'nin ilk FreeBSD kitabi cikti. http://www.acikkod.com/freebsd.php --------------------------------------------------------------------- Cikmak icin, e-mail: [EMAIL PROTECTED] Liste arsivi: http://lists.enderunix.org ve http://www.mail-archive.com/freebsd@lists.enderunix.org Turkiye'nin ilk FreeBSD kitabi: http://www.acikkod.com/freebsd.php