Tarik T. wrote:
Hallo Joachim,
vielen Dank für deine Antwort.
Meinst du ich kann das so DIREKT nach dem Booten starten, oder ist das evtl, besser in einem der Runlevel zu tun (z.B. 3 oder 5)?
Mein Startskript sah so aus und haut nicht hin:
-- . /etc/rc.status # First reset status of this service rc_reset
M101_BIN=/usr/sbin/pppd passive persist crtscts lock noauth lcp-echo-interval 0 netmask 255.255.255.0 192.168.0.1:192.168.0.111 /dev/ttyS0 115200 connect "/usr/sbin/chat TIMEOUT 10000 CLIENT CLIENTSERVER" disconnect "/etc/ppp/ip-down ppp1 /dev/ttyS0 115200 192.168.0.1 192.168.0.111"
Kein Wunder, es wird nur die erste Zeile verwendet. Abgesehen davon, wie wärs mit manpages? Um solche Monster zu verhindern haben die Programmierer Configfiles erschaffen. Aus man pppd: OPTIONS FILES Options can be taken from files as well as the command line. Pppd reads options from the files /etc/ppp/options, ~/.ppprc and /etc/ppp/options.ttyname (in that order) before processing the options on the command line. (In fact, the command-line options are scanned to find the terminal name before the options.ttyname file is read.) In forming the name of the options.ttyname file, the ini tial /dev/ is removed from the terminal name, and any remaining / characters are replaced with dots. An options file is parsed into a series of words, delim ited by whitespace. Whitespace can be included in a word by enclosing the word in double-quotes ("). A backslash (\) quotes the following character. A hash (#) starts a comment, which continues until the end of the line. There is no restriction on using the file or call options within an options file. Bitte lesen. Für ipppd gibts auf der SuSE CD eine Sammlung von Beispielscripten, wahrscheinlich für pppd auch. [TOFU entsorgt...] so long... bernd