Next Previous Contents

4. Hybrid Cable modem ISPs

If you think you have the card recognized you have to now look at the entry for your ISP. I have sorted the information according to a provider because setups are mostly ISP specific.

This section is for people who are using so-called "hybrid" cable modems. Hybrid modems are modems that need two hookups (connections), one to the (TV) cable and one to the phone line. TV cable is used for downloading while phone line is used for uploading.

4.1 Adelphia Powerlink, USA

Instructions on how to get your Adelphia Powerlink hybrid modem running under Linux can be found at

http://linuxpower.cx/~cable/

4.2 LinkExpress, Brasil

This information is provided by Rodrigo Severo:

First of all, let me tell you that here we have the MMD Cable Modem from General Instrument. We use SurfBoard 1000 ISA board for download and a regular telephone modem for upload. I would prefer to use an external board like the SurfBoard 1200 which is available only to corporate users, i.e., willing to pay US$ 200,00 instead of the regular US$ 30,00 so I found out this driver for the internal ISA board. For home users, Linkexpress (my ISP) just installs and supports the internal ISA board - Surfboard 1000. If you want to use it, you have to install Windows 95/98 on your computer and let the guy from Linkexpress install the equipment. After that, make your Linux installation as you like.

I started from the files I downloaded from http://linuxpower.cx/~cable/

Here is the relevant data:


    ISP: LinkExpress <http://www.linkexpress.com.br>
    DNS: 200.252.88.20
    Frequency: 351 MHz
    Phone number: 321 3300
    City: Brasilia
    Province: Distrito Federal
    Upload speed: regular 33.6K (just the download goes through the
    cable modem)

During a download from a local tucows mirror I got 70KB 300KB per second. From distant sites I managed to get 30KB/s a few times.

More information about LinkExpress can be found at http://www.linkexpress.com.br/

4.3 ExpressNet, Maryland

I recently accuired an expressnet cable modem for the maryland area. it is a com21 one way modem and I had a hell a time making it work so id like to share my knowledge in your faq maybe? well heres what I learned inorder for the PPP connection to authenticate the user must be running PAP which consists of editing the /etc/ppp/pap-secrets file accordingly


#/etc/ppp/pap-secrets
#this is the PAP secrets file for PPP
#the quotes are required on both
"username"      *       "password"

after that they must create a PPP-on script what ever name it must execute this command


exec /usr/sbin/pppd debug persist /dev/ttyS1 38400 0.0.0.0:0.0.0.0 connect "chat -v TIMEOUT 3 ABORT 'BUSY' ABORT 'NOANSWER' '' ATH TIMEOUT 30 'OK' ATDTTELEPHONE CONNECT ''"

this must be done with no carrage returns either

next step is to modify the /etc/ppp/ip-up.local file if it does not exist it should be created it should read the following


#!/bin/bash
#/etc/ppp/ip-up.local
#this will set up the route to the ppp device as default everytime the modem
#authenticates dont include it if you do not want this option
route add default ppp0

then the user must configure their ethernet card on box I have a 3c905

I configured it the following way


ifconfig eth0 up
ifconfig eth0 10.0.0.1 broadcast 10.0.0.15 netmask 255.255.255.240

then I added some more routes to the kernel routing table as follows


route add -host 10.0.0.1 eth0
route add -net 10.0.0.0 eth0

all of these commands can be added into a script file as follows


#!/bin/bash    
#This is a script file for establishing the cable modem IF device properties as
#well as the route properties
ifconfig eth0 up
ifconfig eth0 10.0.0.1 broadcast 10.0.0.15 netmask 255.255.255.240
route add -host 10.0.0.1 eth0
route add -net 10.0.0.0 eth0

thats all and the cable modem connection is setup fast as hell I might add.

Contributers: Chris & Mike Milbert

4.4 Charter Pipeline, Riverside, CA

This information is provided by Gabriel Peters (gpx1@earthlink.net):

(I have Charter Pipeline, Powered by Earthlink, Riverside, CA) The modem is a Com21 ComPORT 2000.. connected to the computer via 10 BaseT ethernet cable to a Linksys 10/100 ethernet card (Cable modem, ethernet cabling, and ethernet card supplied) The ethernet card driver that I had to compile into the kernel was for the DEC Tulip. auto-detected the card and set it up nicely.

This is the information I needed:


eth0 IP address - 10.0.0.1
DNS Servers - 207.217.126.81, 207.217.120.83
Subnet Mask - 255.255.255.240
Gateway: None
Your hostname should be CBL-(your username).hs.earthlink.net

Then you need to configure PPP to dial up your access number as normal.. What I had to do to get it to work was this: I typed 'ifconfig eth0 down' to shutdown the ethernet, ppp-go to dial in, once it reported my IP addresses, i typed 'ifconfig eth0 up' and voila, it worked perfectly.

Editor's comment:

Each time PPP link is brought up or down pppd executes scripts /etc/ppp/ip-up (link up) and /etc/ppp/ip-down (link down) so in order to have Ethernet network go up and down with PPP link simply add

ifconfig eth0 up

before 'exit 0' statement in /etc/ppp/ip-up and ifconfig eth0 down in ip-down.

4.5 Chambers Cable, Chico, CA / Fundy Cable, New Brunswick

This information is provided by Brian Moore (bem@cmc.net):

For those using Chambers Cable in Chico, CA, the product is the Scientific Atlanta data Xcellerator(tm) modem. Mike Cumings of Cal State University wrote a nifty driver for it, available at http://www.ecst.csuchico.edu/~mcumings/cablemodem/. This should also work for others using the same modem, such as Fundy Cable of New Brunswick.

4.6 Smyrna Cable, Atlanta, GA

This information is provided by Blake Sorensen ( mailto:librarian@unseen.net ):

I have Smyrna Connect, supported by Smyrna Cable in Atlanta, GA. They are currently (June, 1999) using half-duplex but are scheduled to have full-duplex within six months. The Cable Modem is a ComPort Com21. Here is the configuration stuff I needed to get my linux box running as my dialup.

My eth0 device is a 3com ISA card set to IP 10.0.0.1, Bcast 10.0.0.255, Mask 255.255.255.0. The machine is set to the hostname Smyrna418.smyrnacable.net where Smyrna418 is my username. I don't think this is that important, but I haven't fiddled with it to see if it will still work once I change the hostname.

My modem is an external 56K X2 US Robotics on /dev/ttyS0.

I also have eth1 (a DEC tulip based pci card) set up as 192.168.0.1 as the gateway for the rest of my network to masquerade behind.

Smyrna Connect does not give you DNS info for the cablemodem since you are supposed to use the Windows PPP feature of using the default DNS for the server you dial in to. However, they do have one that works at 209.116.152.252.

I use a ppp connection script to dial in, but the guts of it is this:



/usr/sbin/pppd modem /dev/ttyS0 persist mru 1000 asyncmap 0 \
-detach crtscts user Smyrna??? defaultroute connect '/usr/sbin/chat \
ABORT BUSY ABORT ERROR "" ATZ OK ATDT7704365664 CONNECT' \
57600 0.0.0.0:0.0.0.0 &

I keep the persist in there since Smyrna Connect has a habit of dropping the connection every once in awhile, and this way it automatically dials back in. You will need to replace the Smyrna??? in the above command with your own username and put the line:

Smyrna??? Smyrna??? password

in the file /etc/ppp/pap-secrets.


Next Previous Contents