1. I am running on a cable modem right now so if you get this it will be via
aroadrunner cable modem and be from linux. I hope I can remember everthing I
did to get this working.
2. I assume you are using some version of redhat. What I did worked on both
6.0 and 6.1 (I cannot speak for earlier versions).
3. I am using "pump" to initialize the interface. I also (with netcfg) define
the interface with dhcp as the initialization protocol and DO NOT initialize
"atboot".
4. I have an initialization script in /etc/rc.d/init.d which does the actual
initialization. I also use ipchains to provide some protection.
5. If you are using ipchains, you need to enable the bootpc/bootps stuff.
SOmething similar to the following:
##################################################################
# DHCP client support (for dhcpcd or pump)
/sbin/ipchains -A input -i $extint -p udp -s $universe bootps \
-d $broadcast/0 bootpc -l -j ACCEPT
/sbin/ipchains -A input -i $extint -p tcp -s $universe bootps \
-d $broadcast/0 bootpc -l -j ACCEPT
/sbin/ipchains -A output -i $extint -p udp -s $universe bootpc \
-d $broadcast/0 bootps -l -j ACCEPT
/sbin/ipchains -A output -i $extint -p tcp -s $universe bootpc \
-d $broadcast/0 bootps -l -j ACCEPT
Then, enable the interface with something like:
##################################################################
# enable the external interface
/etc/sysconfig/network-scripts/ifup $extint
##################################################################
# get the dynamic IP address assigned via DHCP
#
extip="`/sbin/ifconfig eth1 | grep 'inet addr' | awk '{print $2}' | sed -e 's/.*://'`"
echo Internal: $intint and net is $intnet
echo External: $extint and IP is $extip
6. The interface should now be up. You can continue setting ipchains stuff if
you are running it (and you should be protecting yourself via something).
7. Note that "pump" will define the nameservers that it got via dhcp in
/etc/resolv.conf.
This works for me at mgfairfax.rr.com. Good luck! If you have more questions,
please do not hesitate to ask.
Gene
On Tue, 09 Nov 1999, John Wilson wrote:
> Can anyone help with how to connect with the cable modem, Roadrunner? Also
> networking with no IP address. Two computers and the cable modem are
> plugged into a hub. The IP address is assigned by Roadrunner dynamically.
> All of this works in windows. No IP address is listed in any windows
> networking file. I do mail and surf fast to my hearts content in Windows
> but not Linux. Windows was so very easy to set up but Linux has me stumped.
> And Time Werner is of no help. They supply windows signon programs and no
> support for Linux. My wife logs on with one computer as nwilson and me the
> other as jwilson and we get respective mail and can both surf at the same
> time. But not when with Linux. Help???
>
> Thanks Jack Wilson
>
> --
> To unsubscribe:
> mail -s unsubscribe [EMAIL PROTECTED] < /dev/null
--
To unsubscribe:
mail -s unsubscribe [EMAIL PROTECTED] < /dev/null