When i try to use pppoeconf to configure my cable modem I get a message saying that my another program is using my modem already???

I am with Cable Wanadoo in the Netherlands. My modem is a COM 21.

I also have a dual boot system using Windoze. The modem functions ok in windows.

Any Ideas???

Further info:

I recently installed Windows and reconfigured the network. I heard a rumour that Windows leaves the Modem turned on even when you are not connected to the internet. I think that it may be the source of the pppoe service operating error message. i have a dual boot system. I'm still not brave enough to try Linux only! Soon I hope!

This info is from the Cable Modem How-To:

The current Wanadoo cable modems operate via the serial port, acting like normal modems, answering AT commands like phone modems. The setup is really very easy, because all the chat script needs to do is dial ATDT4. (this is in ppp-on-dialer). Hence it uses PPP, which is unusual for most cable modems.

Relevant files are included /etc/ppp/ppp-on

DIALER_SCRIPT=/etc/ppp/ppp-on-dialer
exec /usr/sbin/pppd -detach /dev/ttyS0 115200 connect $DIALER_SCRIPT &


/etc/ppp/ppp-on-dialer

exec /usr/sbin/chat -e '' AT '' ATDT4


/etc/ppp/ppp-off

#!/bin/sh
################################################## ####################
#
# Determine the device to be terminated.
#

sleep 5

if [ "$1" = "" ]; then
DEVICE=ppp0
else
DEVICE=$1
fi
#
################################################## ####################
#
# If the ppp0 pid file is present then the program is running. Stop it.
if [ -r /var/run/$DEVICE.pid ]; then
kill -INT `cat /var/run/$DEVICE.pid`
#
# If the kill did not work then there is no process running for this
# pid. It may also mean that the lock file will be left. You may wish
# to delete the lock file at the same time.
if [ ! "$?" = "0" ]; then
rm -f /var/run/$DEVICE.pid
echo "ERROR: Removed stale pid file"
exit 1
fi
#
# Success. Let pppd clean up its own junk.
echo "PPP link to $DEVICE terminated."
exit 0
fi
#
# The ppp process is not running for ppp0
echo "ERROR: PPP link is not active on $DEVICE"
exit 1


/etc/ppp/keepalive.sh

#!/bin/sh

# keepalive.sh

# This is a keepalive script for the Casema cable modems. This script was
# lifted from the /usr/doc/HOWTO/unmaintained/mini/Dynamic-IP-Hacks
# document. There should be an entry in your crontab looking like:
# */2 * * * * /etc/ppp/keepalive.sh
# to run this script every 2 minutes to see if your connection is still
# up, if not, gracefully kill the pppd process and remake it.
# Modify paths as necessary.


if [ -f /var/run/ppp0.pid ]; then
ping -c4 -l3 195.96.96.97 2>&1 | grep "0 packets" > /dev/null && \
{ /etc/ppp/ppp-off > /dev/null 2>&1 ; sleep 2 ; /etc/ppp/ppp-on }
else
/etc/ppp/ppp-on
fi


/etc/resolv.conf

search dynip.com
nameserver 195.96.96.97
nameserver 195.96.96.33


/etc/sysconfig/network (this file applies only to RedHat and Mandrake distributions, adapt accordingly for other distributions)

GATEWAYDEV=ppp0
GATEWAY=195.96.96.97


I've documented some things in the files themselves. The ppp-on script is called during boot time from /etc/rc.d/init.d/ppp and the ppp-off script during shutdown. The ppp-on-dialer is called from the ppp-on script. The keepalive script for keeping the connection alive as long as the computer is on (might as well, right?) is called from crontab (see the keepalive file for details). The /etc/sysconfig/network file specifies the default gateway for routing. The resolv.conf tells the computer which IP of casema.net to send DNS queries to (this is pretty standard across all unixes, I believe).

I've forgotten to include the /etc/ppp/pap-secrets which should be the same as the ExpressNet, Maryland, Maryland. There's also the question of the ip-up, ip-down. These however, didn't need to be changed. I've also included the options.ttyS0 file, which should be in /etc/ppp/ppp-on. It is read by the pppd daemon as it logs on. There are a couple options like defaultrouteadd that should be on. ttyS0 is the port where you install your modem mine is on COM1 == ttyS0. Change accordingly.

/etc/ppp/options.ttyS0

asyncmap 0
crtscts
defaultroute
lock
modem
name cvd




Incidentally Wanadoo recomends Roaring Penguins pppoe program.

Thanks.