Home   |   Guides and Tutorials   |   What's New?   |   Comments   |   About
 

Cable Modem Configuration

by Tammy Fox
Last Modified: Wednesday, 19-May-2004 11:54:08 EDT

Introduction
    I recently subscribed to RoadRunner Cable Internet Service despite the lack of security because it is the only high-speed internet connection offered in my area. The following instructions refer to its installation. I would think other cable internet services have similar setups.

Configuring the Network Card and Cable Modem
    The way my cable modem works is as follows. The dynamic IP addresses are assigned through DHCP based on the MAC address of my external cable modem. A coaxial cable connects the cable connection from the wall to my external cable modem. A CAT 5 cable connects the cable modem to an internal 10Base-T ethernet card in my Linux firewall box. The card must be set for DHCP, and that is it! See Network Configuration using Red Hat netcfg to configure the network card and DHCP or below to do it manually. No need to enter a password to connect since authenication is based on the MAC address of the cable modem provided by Time Warner. One important querk is that it takes about an hour for them to enter the cable modem in their system. I had to unplug the power supply from my cable modem and plug it back it for it to "reset" and grab an IP address. Other than that, no problems. Works pretty fast and I haven't lost service yet.

Manual Configuration of Network Card and DHCP
  1. Edit /etc/conf.modules or /etc/modules.conf depending on your distribution for the proper module for the network card. For example, to use the tulip driver on eth0 add the line alias eth0 tulip.
  2. Edit/create the file /etc/sysconfig/network-scripts/ifcfg-eth0 to use DHCP.
    Sample ifcfg-eth0 file:
    DEVICE=eth0
    USERCTL=no
    ONBOOT=yes
    BOOTPROTO=dhcp
    BROADCAST=
    NETWORK=
    NETMASK=
    IPADDR=
    
  3. Replace eth0 above with eth1 if it is the second network card in your system.
  4. Unplug the power cord for the cable modem to reset it and plug it back in.
  5. Restart the network: /etc/rc.d/init.d/network restart
  6. Run /sbin/ifconfig to see if you got an IP addresses. If you assuming you have your network card to activate on bootup, as soon as you boot your machine, you will be connected.
  7. Optional: run ipchains to share connect to rest of network without having to pay for additional IP addresses.

What's Related


All Rights Reserved Linux Headquarters © 2000-2007
Linux is a registered trademark of Linus Torvalds
All logos are registered trademarks of their respective owners
Last modified: Wednesday, May 19, 2004