-
Knoppix (Debian) pppoeconf and cable modem
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.
Similar Threads
-
By moift in forum Networking
Replies: 3
Last Post: 05-18-2004, 01:34 PM
-
By Evilgabo in forum General Support
Replies: 1
Last Post: 05-03-2004, 11:29 PM
-
By mharazin78 in forum Networking
Replies: 4
Last Post: 04-14-2004, 07:36 PM
-
By illcuban in forum General Support
Replies: 2
Last Post: 12-20-2003, 02:45 AM
-
By SniperNeo in forum Hdd Install / Debian / Apt
Replies: 10
Last Post: 11-17-2003, 09:03 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Cisco SG110 8 Port Gigabit Ethernet Switch SG110D-08-UK
$39.00
Cisco SG110 24 Port Gigabit Ethernet Switch w/ 2 x SFP SG110-24
$117.00
Cisco SG95-16 16-Port Gigabit Switch SG95-16-SG
$47.00
HP Procurve 2824 24 Gigabit Ports 10/100/1000 External Managed Switch J4903A
$74.99
New Linksys SE3005 5-port Gigabit Ethernet Switch
$18.99
Linksys SE3008 8 Ports Rack Mountable Gigabit Ethernet Switch
$21.99
NetGear ProSafe GS748T V4 48-Port Gigabit Smart Switch w/ Ears + Cord
$30.00
Netgear Prosafe GS724T V2 24-Port 10/100/1000 Gigabit Ethernet Network Switch
$27.99
Netgear ProSafe S3300-52X-POE+ 48-Port Gigabit PoE+ Stackable Network Switch
$99.99
Fortinet FortiSwitch FS-124D-POE 24 Port Gigabit Ethernet Switch UNREGISTERED
$99.97