[LINUX:16318] Re: Internet'e bir baglama cekemedim.!

---------

New Message Reply About this list Date view Thread view Subject view Author view

From: Serdar KOYLU (skoylu@altavista.com)
Date: Sun 04 Jun 2000 - 22:31:39 EEST


On Sun, 04 June 2000, "Omer VATANSEVER" wrote:

>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
> <HTML><HEAD>
> <META content="text/html; charset=iso-8859-9" http-equiv=Content-Type>
> baglanti kuruluyor fakat hicbir sayfa
> cikmiyor???
> napayim ben bu kppp yi?!?

route ile routing tablosuna bak. ppp0'a bir default gateway tanimi olmali. Ama ifconfig ile gordugun yerdeki P-t-P adresine bir gateway tanimlanmis olmali. Yoksa bir script yazip, veya elle routing tablosunu duzenlemen gerekiyor. Script yazmak filan benim neyime diyorsan, sana hazir bir script yolluyorum. /etc/ppp/options dosyasina defaultroute yazmayi deneyebilirsin ama genelde bu durumda pek etkili olmuyor.
Iste bir script:
------------------------------------- Script baslama yeri ----------
#!/bin/bash
 /etc/rc.d/init.d/functions
 /etc/sysconfig/network

[${NETWORKING} = "no" ] && exit 0

# Alttaki satira dikkat..

PTP=`route |grep 'ppp0' |cut -d '*' -f 1`
route add default gateway $PTP
------------------------------------- Script burada bitiyor ---------
PTP = Satirinda en basta ve en sondaki tirnaklar, ters tirnak, yani virgulun tersi. Senin klavyende nasil cikiyor, bilmiyorum..
Scripti /bin dizinine koy, executable yapmayi unutma..
Scripti nasil yazicam diyorsan, kesfetmenin zevki ve gucunu kullan. Benden bu kadar.. Ama genede olmadi diyorsan sana hazir yazilmis bir scriptte yollarim. Ama sonucu muspet, menfi, listeye yazmayi unutmayacaksan..
Saygi ve sevgiler..

_______________________________________________________________________

Why pay when you don't have to? Get AltaVista Free Internet Access now!
http://jump.altavista.com/freeaccess4.go

_______________________________________________________________________

 
 Listeden cikmak icin:
          unsub linux
 mesajini listeci@bilkent.edu.tr adresine gonderiniz.
   Lutfen Listeci icin MIME / HTML / Turkce Aksan kullanmayin.
 Listeci arayuzu: http://listweb.bilkent.edu.tr/yardim/bilkent/linux.html
 Liste arsivinin adresi: http://listweb.bilkent.edu.tr/


New Message Reply About this list Date view Thread view Subject view Author view

---------

Bu arsiv hypermail 2b29 tarafindan uretilmistir.