>I just got a cable modem from MediaOne express (New England area). I am
>trying to configure it with linux.
>So far, I haven't been able to set it up correctly. I follow the mini DHCP
>HOWTO.
>I am using Redhat 5.1 with kernel 2.0.34.
> During bootup I saw this message : "SIOCADDRT : Invalid argument" and the
>dhcp
>failed to configure my connection.
I just did this. It works great (and keeps working) once you get
all the stuff in place.
My /etc/sysconfig/network-scripts/ifcfg-eth0 file
contains the following:
DEVICE=eth0
BOOTPROTO=dhcp
ONBOOT=yes
My /etc/sysconfig/network file contains the following.
NETWORKING=yes
FORWARD_IPV4=false
HOSTNAME=zzzz.ne.mediaone.net
You know, you have to call mediaone tech support and tell
them the MAC address (HWAddr) of your Ethernet card (the one
plugged into the LanCity modem they provide). Then, you have
turn off power to the modem for at least two minutes, turn it
back on, and reboot. You can find out the HWAddr by saying
/sbin/ifconfig to your machine.
Also, something was goofed up on the installation of DHCPCD
on my machine. I went to the RPMS directory on the CD
and reinstalled it with
rpm -i --force
BEWARE! There are crackers around. A friend of mine got
his mediaone linux machine broken into; some bozo set up an irc
file server on his machine and it got heavy use for exchanging
pirated software until mediaone got a complaint and turned
him off. Before you set this up, READ and UNDERSTAND the
manual page for tcpd, then shut off all services except
the ones you need. Here's what my /etc/hosts.deny looks like:
ALL: ALL
Here's what my /etc/hosts.allow looks like:
in.ftpd,in.telnetd: 192.168.124.
in.ftpd,in.telnetd: mymachine.whereIwork.com
(The first line is my home network -- it's one of the
privatenet Class C networks. The second is self-
explanatory.)
Here are the only uncommented lines in my /etc/inetd.conf
ftp stream tcp nowait root /usr/sbin/tcpd in.ftpd -l -a
telnet stream tcp nowait root /usr/sbin/tcpd in.telnetd
Be careful out there!