Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Wie PPP Verbindung ohne wvdial aufbauen
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
Beforegod
Bodhisattva
Bodhisattva


Joined: 10 Apr 2002
Posts: 1494
Location: Frankfurt/Main

PostPosted: Wed Sep 11, 2002 6:43 am    Post subject: Wie PPP Verbindung ohne wvdial aufbauen Reply with quote

Hallo,

nachdem ich KDE den Rücken gekehrt habe, suche ich nach einem Skript das eine ppp Verbindung herstellt.
Bei Debian hatte ich ein Skript das sich pon nannte und eine Verbindung herstellte. Nachdem ich pppconfig installierte hoffte ich auch solch ein Skript zu finden aber nichts wars ;)

Wer weiss ob es solch ein SKript auch für Gentoo gibt?
Back to top
View user's profile Send private message
Qubax
Guru
Guru


Joined: 19 Jul 2002
Posts: 451
Location: Tirol, Austria

PostPosted: Wed Sep 11, 2002 7:23 am    Post subject: Reply with quote

pon ist als skipt recht kurz und eigentlich zum selber schreiben, so kurz ist es
ich habe es in diesem forum schon einmal gelesen
in pon steht nichts anderes als
Code:
pppd call *providername*
wobei mit providername der name gemeint ist, den du bei pppconfig angegeben hast. im zweifelsfall kannst du ja noch einen blick in /etc/ppp/peers/ werfen wo die datei mit namen zu finden ist
falls du auch poff brauchts ist dies die lösung
Code:
kill `ps axw | grep pppd | grep -v grep | awk '{print $1}'`


nun sollts gehen
Back to top
View user's profile Send private message
Beforegod
Bodhisattva
Bodhisattva


Joined: 10 Apr 2002
Posts: 1494
Location: Frankfurt/Main

PostPosted: Wed Sep 11, 2002 7:47 am    Post subject: Reply with quote

Ok danke für die rasche Antwort ;)
Back to top
View user's profile Send private message
citizen428
Retired Dev
Retired Dev


Joined: 10 Jun 2002
Posts: 317
Location: Vienna, Austria

PostPosted: Thu Sep 12, 2002 7:36 am    Post subject: Reply with quote

Qubax wrote:

falls du auch poff brauchts ist dies die lösung
Code:
kill `ps axw | grep pppd | grep -v grep | awk '{print $1}'`


Ungetestet und aus dem Kopf weil in der Arbeit auf einem Winrechner:
Code:

kill `ps ho pid -C pppd`

Sollte das gleiche tun und ist kürzer.

Macht ein ps, ohne Header (h), user defined (o), nur das Feld mit der PID (pid), vom Prozess pppd (-C pppd).
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum