Hallo und Danke schonmal,
masquerade script unter /sbin/init.d/ Dann S99masquerade in /sbin/init.d/rc2.d/ auf /sbin/init.d/masquerade gelinkt (ln -s ) ebenso K51. (die Links stimmen) Und existieren in rc2.d bzw. rc3.d? Mit "ls -al" ueberprueft?
ls -al /sbin/init.d/rc2.d/S99mas* lrwxrwxrwx 1 root root 13 Feb 17 18:04 S99masquerade -> ../masquerade
Das /sbin/init.d/masquerade ist von den Rechten her 700 (chmod 700) Gehoert sicher root.root?
iehe oben
trotzdem erscheint beim Eintritt in den Runlevel 2 an der Entsprechenden Stelle /sbin/init.d/rc: /sbin/init.d/rc2.d/S99masquerade: No such file or directory Ebenso beim Verlassen
Hmm, is ja komisch. Was sagt (nach dem Booten) "cat /proc/sys/net/ipv4/ip_forward"?
1 das steht doch auch in dem masquerade script drin (echo) ich habe aber immer noch failed runservices masquerade
Das Paket ipchains is installiert? ja
Kommen Fehler, wenn Du /sbin/init.d/rc2.d/S99masquerade mal von Hand ausfuehrst?
wie geht das denn ? S99masquerade start start S99masquerade beide "bash: start (S99masquerade): command not found" ich stelle hier mal meine /sbin/init.d/masquerade rein die Rechte sehen uebrigens so aus -rwxr--r-- 2 root root 597 Feb 17 17:41 masquerade* Danke fuer weitere Hilfe timo proescholdt cat /sbin/init.d/masquerade _____SCHNIPP #!/bin/bash . /etc/rc.config PROG="/sbin/ipchains" WORLD_DEV="ippp0 ippp1" return=$rc_done case "$1" in start) echo -n "Activating Masquerading" echo "1" > /proc/sys/net/ipv4/ip_forward $PROG -F || return=$rc_failed $PROG -A forward -i $WORLD_DEV -j MASQ || return=$rc_failed echo -e "$return" ;; stop) echo -n "Deactivating Masquerading" echo "0" > /proc/sys/net/ipv4/ip_forward $PROG -F || return=$rc_failed echo -e "$return" ;; *) echo "Usage: `basename $0` {start|stop}" exit 1 ;; esac exit 0 ------SCHNAPP --------------------------------------------------------------------- To unsubscribe, e-mail: suse-linux-unsubscribe@suse.com For additional commands, e-mail: suse-linux-help@suse.com