Nie jesteś zalogowany.
Jeśli nie posiadasz konta, zarejestruj je już teraz! Pozwoli Ci ono w pełni korzystać z naszego serwisu. Spamerom dziękujemy!
Prosimy o pomoc dla małej Julki — przekaż 1% podatku na Fundacji Dzieciom zdazyć z Pomocą.
Więcej informacji na dug.net.pl/pomagamy/.
Strony: 1
Użytkownik

Witam posiadam Terminal Hp t5730 zainstalowałem debiana 6 i chce zainstalować neostrade posiadam modem speedtouch 330 robię według tego opisu http://www.debian.pl/threads/2657-Instalacja-Neostr … an-Etch-Lenny lecz niechce działać dodam że gdy miałem inny terminal neo system wszystko działało ok proszę o pomoc
Offline



człowiek pasjonat :D
Użytkownik

zrobiłem wszystko według opisu nie widzi polonczenia internetowego ppp0 gdy daje ifconfig nie ma internetu
Offline
wcześniej nie natknąłeś sie na inne błędy? pokaż
ifconfig -a
Offline
Użytkownik

ok już sobie poradziłem teraz moje pytanie jest takie jak zrobić żeby neostrada ładowała się przy starcie debiana
Offline
Użytkownik

czy nikt naprawde niewie ??
Offline



Członek DUG




Przecież masz to w artykule, który podlinkowałeś... Punkt 3 na końcu - edycja /etc/network/interfaces, ew. pkt 5
Offline
Użytkownik

po dodaniu tego co jest w pkt 5 do interfaces wywala mi cały system niemoge nic zrobić
Offline





Szczawiożerca






Może zaczniesz w końcu pisać konkretnie?
Co dokładnie wpisujesz, w jakim pliku, jakie są ewentualne błędy, objawy itp.
Na razie to tylko jakieś bełkotliwe żale, pisane bez ładu i znaków interpunkcyjnych.
Offline
Użytkownik

skorzystałem z tego skryptu do autostartu neostrady
z tego wątku http://www.debian.pl/threads/891-Ins...t-800-i-ueagle
lecz on nie działa neostrada nie startuje automatycznie
po wpisaniu komendy
update-rc.d neo defaults 95
dostaje takie coś
update-rc.d: using dependency based boot sequencing insserv: warning: script 'K01neo' missing LSB tags and overrides insserv: warning: script 'neo' missing LSB tags and overrides
Offline





Szczawiożerca






W tym skrypcie brakuje nagłówków.
Poczytaj tutaj:
http://dug.net.pl/tekst/157/jak_umiescic_swoj_skryp … startowych__/
https://wiki.debian.org/LSBInitScripts
Offline

Użytkownik


W ostatnim poście (9 strona) podanego przez ciebie wątku opisano inny sposób instalacji skryptu startowego (z paczki).
Offline
Użytkownik

robię to i dostaje takie coś
update-rc.d: using dependency based boot sequencing insserv: warning: script 'K01neo' missing LSB tags and overrides insserv: warning: script 'K01neostrada' missing LSB tags and overrides insserv: warning: script 'speed' missing LSB tags and overrides insserv: warning: script 'neo' missing LSB tags and overrides insserv: warning: script 'neostrada' missing LSB tags and overrides
czy ktoś może mi napisać co jest nie tak z tym skryptem startowym neostrady
#! /bin/sh
PATH=/usr/sbin:/usr/bin:/sbin:/bin
NAME=pppd
DAEMON=/usr/sbin/pppd
PEER="neo" ########### lub net24
DAEMON_ARGS="call $PEER linkname $PEER"
PIDFILE=/var/run/ppp-$PEER.pid
SCRIPTNAME=/etc/init.d/neo ############# lub /etc/init.d/net24
# Exit if the package is not installed
[ -x "$DAEMON" ] || exit 0
do_start()
{
start-stop-daemon --start --quiet --pidfile $PIDFILE --exec $DAEMON --test > /dev/null \
|| return 1
start-stop-daemon --start --quiet --pidfile $PIDFILE --exec $DAEMON -- \
$DAEMON_ARGS \
|| return 2
}
do_stop()
{
start-stop-daemon --stop --quiet --retry=TERM/30/KILL/5 --name $NAME
RETVAL="$?"
[ "$RETVAL" = 2 ] && return 2
start-stop-daemon --stop --quiet --oknodo --retry=0/30/KILL/5 --exec $DAEMON
[ "$?" = 2 ] && return 2
rm -f $PIDFILE
return "$RETVAL"
}
case "$1" in
start)
[ "$VERBOSE" != no ] && log_daemon_msg "Starting $DESC" "$NAME"
do_start
case "$?" in
0|1) [ "$VERBOSE" != no ] && log_end_msg 0 ;;
2) [ "$VERBOSE" != no ] && log_end_msg 1 ;;
esac
;;
stop)
[ "$VERBOSE" != no ] && log_daemon_msg "Stopping $DESC" "$NAME"
do_stop
case "$?" in
0|1) [ "$VERBOSE" != no ] && log_end_msg 0 ;;
2) [ "$VERBOSE" != no ] && log_end_msg 1 ;;
esac
;;
restart|force-reload)
log_daemon_msg "Restarting $DESC" "$NAME"
do_stop
case "$?" in
0|1)
do_start
case "$?" in
0) log_end_msg 0 ;;
1) log_end_msg 1 ;; # Old process is still running
*) log_end_msg 1 ;; # Failed to start
esac
;;
*)
# Failed to stop
log_end_msg 1
;;
esac
;;
*)
#echo "Usage: $SCRIPTNAME {start|stop|restart|reload|force-reload}" >&2
echo "Usage: $SCRIPTNAME {start|stop|restart|force-reload}" >&2
exit 3
;;
esacOffline




Psuj





Dostałeś wyżej informację co trzeba dodać.

Offline
Użytkownik

#! /bin/sh
### BEGIN INIT INFO
PATH=/usr/sbin:/usr/bin:/sbin:/bin
NAME=pppd
DAEMON=/usr/sbin/pppd
PEER="neo" ########### lub net24
DAEMON_ARGS="call $PEER linkname $PEER"
PIDFILE=/var/run/ppp-$PEER.pid
SCRIPTNAME=/etc/init.d/neo ############# lub /etc/init.d/net24
# Exit if the package is not installed
[ -x "$DAEMON" ] || exit 0
do_start()
{
start-stop-daemon --start --quiet --pidfile $PIDFILE --exec $DAEMON --test > /dev/null \
|| return 1
start-stop-daemon --start --quiet --pidfile $PIDFILE --exec $DAEMON -- \
$DAEMON_ARGS \
|| return 2
}
do_stop()
{
start-stop-daemon --stop --quiet --retry=TERM/30/KILL/5 --name $NAME
RETVAL="$?"
[ "$RETVAL" = 2 ] && return 2
start-stop-daemon --stop --quiet --oknodo --retry=0/30/KILL/5 --exec $DAEMON
[ "$?" = 2 ] && return 2
rm -f $PIDFILE
return "$RETVAL"
}
case "$1" in
start)
[ "$VERBOSE" != no ] && log_daemon_msg "Starting $DESC" "$NAME"
do_start
case "$?" in
0|1) [ "$VERBOSE" != no ] && log_end_msg 0 ;;
2) [ "$VERBOSE" != no ] && log_end_msg 1 ;;
esac
;;
stop)
[ "$VERBOSE" != no ] && log_daemon_msg "Stopping $DESC" "$NAME"
do_stop
case "$?" in
0|1) [ "$VERBOSE" != no ] && log_end_msg 0 ;;
2) [ "$VERBOSE" != no ] && log_end_msg 1 ;;
esac
;;
restart|force-reload)
log_daemon_msg "Restarting $DESC" "$NAME"
do_stop
case "$?" in
0|1)
do_start
case "$?" in
0) log_end_msg 0 ;;
1) log_end_msg 1 ;; # Old process is still running
*) log_end_msg 1 ;; # Failed to start
esac
;;
*)
# Failed to stop
log_end_msg 1
;;
esac
;;
*)
#echo "Usage: $SCRIPTNAME {start|stop|restart|reload|force-reload}" >&2
echo "Usage: $SCRIPTNAME {start|stop|restart|force-reload}" >&2
exit 3
;;
esac
### END INIT INFOmam tak zrobione i dalej nic prosze o pomoc
Offline





Szczawiożerca






Przeczytaj, tym razem ze zrozumieniem, pierwsze zdanie w podanym wcześniej artykule:
http://dug.net.pl/tekst/157/jak_umiescic_swoj_skryp … startowych__/
Offline
Użytkownik

mam taki skrypt do autostartu neostrady w etc/init.d/neostrada
#! /bin/sh
### BEGIN INIT INFO
# Provides: neostrada
# Required-Start: $all
# Required-Stop: $all
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: proba
# Description: Enable service provided by daemon.
### END INIT INFO
PATH=/usr/sbin:/usr/bin:/sbin:/bin
NAME=pppd
DAEMON=/usr/sbin/pppd
PEER="neostrada" ########### lub net24
DAEMON_ARGS="call $PEER linkname $PEER"
PIDFILE=/var/run/ppp-$PEER.pid
SCRIPTNAME=/etc/init.d/neostrada ############# lub /etc/init.d/net24
# Exit if the package is not installed
[ -x "$DAEMON" ] || exit 0
do_start()
{
start-stop-daemon --start --quiet --pidfile $PIDFILE --exec $DAEMON --test > /dev/null \
|| return 1
start-stop-daemon --start --quiet --pidfile $PIDFILE --exec $DAEMON -- \
$DAEMON_ARGS \
|| return 2
}
do_stop()
{
start-stop-daemon --stop --quiet --retry=TERM/30/KILL/5 --name $NAME
RETVAL="$?"
[ "$RETVAL" = 2 ] && return 2
start-stop-daemon --stop --quiet --oknodo --retry=0/30/KILL/5 --exec $DAEMON
[ "$?" = 2 ] && return 2
rm -f $PIDFILE
return "$RETVAL"
}
case "$1" in
start)
[ "$VERBOSE" != no ] && log_daemon_msg "Starting $DESC" "$NAME"
do_start
case "$?" in
0|1) [ "$VERBOSE" != no ] && log_end_msg 0 ;;
2) [ "$VERBOSE" != no ] && log_end_msg 1 ;;
esac
;;
stop)
[ "$VERBOSE" != no ] && log_daemon_msg "Stopping $DESC" "$NAME"
do_stop
case "$?" in
0|1) [ "$VERBOSE" != no ] && log_end_msg 0 ;;
2) [ "$VERBOSE" != no ] && log_end_msg 1 ;;
esac
;;
restart|force-reload)
log_daemon_msg "Restarting $DESC" "$NAME"
do_stop
case "$?" in
0|1)
do_start
case "$?" in
0) log_end_msg 0 ;;
1) log_end_msg 1 ;; # Old process is still running
*) log_end_msg 1 ;; # Failed to start
esac
;;
*)
# Failed to stop
log_end_msg 1
;;
esac
;;
*)
#echo "Usage: $SCRIPTNAME {start|stop|restart|reload|force-reload}" >&2
echo "Usage: $SCRIPTNAME {start|stop|restart|force-reload}" >&2
exit 3
;;
esaclecz on nie działa neostrada nie startuje co jest nie tak proszę o pomoc
Offline
Strony: 1