LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 11-19-2005, 09:51 AM   #1
whorsfall
LQ Newbie
 
Registered: Oct 2005
Posts: 7

Rep: Reputation: 0
SUSE 10 BPALogin problem


Hi,

I am having a problem with BPALogin basically it connects to BPALogin - when I restart Linux. (I am using SUSE 10 - which is a LSB type Linux).
Anyway the problems seems to happen if I want stop the BPALogin with Yast2 - it shuts down - however it seems to hang when I restart it. I am figuring it
is something wrong the with BPALogin init script.
Any ideas - am I not setting the correct return code
somewhere. Or is there something else I need todo.
When it hangs after trying to start it via Yast2 it
never yast2 never detects it as started so I never
get control back from Yast2.

My script is below - thanks in advance,

Ward.
ward@threetoed.com


#!/bin/sh
### BEGIN INIT INFO
# Provides: bpalogin
# Required-Start: $syslog $remote_fs $dhcpd
# Should-Start:
# Required-Stop: $syslog $remote_fs
# Should-Stop: $time ypbind sendmail
# Default-Start: 3 5
# Default-Stop: 0 1 2 6
# Short-Description: BPALogin Telstra Client
# Description: Provide login support for Telstra Bpalogin.
# See the config file in /etc/bpalogin.conf for more info.
### END INIT INFO
#
# bpalogin This shell script takes care of starting and stopping
# bpalogin.
#
# chkconfig: 345 50 50
# description: A daemon to connect to Big Pond Advance Cable
#
# processname: bpalogin
# config: /etc/bpalogin.conf

# Source function library.
#. /etc/rc.d/init.d/functions

# Source networking configuration.
#. /etc/sysconfig/network

# Check that networking is up.
#[ ${NETWORKING} = "no" ] && exit 0

#[ -f /usr/sbin/bpalogin ] || exit 0

# See how we were called.
case "$1" in
start)
# Start daemons.

echo -n "Starting bpalogin: "
/usr/sbin/bpalogin -c /etc/bpalogin.conf
echo
touch /var/lock/subsys/bpalogin
exit 0
;;
stop)
# Stop daemons.
echo -n "Shutting down bpalogin: "
killproc bpalogin
echo
rm -f /var/lock/subsys/bpalogin
exit 0
;;
restart)
$0 stop
$0 start
exit 0
;;
status)
status bpalogin
exit 0
;;
*)
echo "Usage: bpalogin {start|stop|restart|status}"
exit 1
esac

exit 0
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
BPALogin SUSE 10 Problem. whorsfall SUSE / openSUSE 1 11-19-2005 12:13 PM
Networking problem after SuSE 8.1 to SuSE 9.3 upgrade chiyoung_ku SUSE / openSUSE 2 06-02-2005 10:14 AM
yoper linux and bpalogin ph4dge Linux - Networking 0 12-17-2004 08:21 PM
Suse 9,1 problem... please help... krypton666 Linux - Newbie 1 10-04-2004 07:19 AM
SuSe 9.0 Problem.....XFree86 problem.... Stealthy_C Linux - General 7 03-05-2004 04:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:37 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration