LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Cable Modem & RH7.1 (https://www.linuxquestions.org/questions/linux-networking-3/cable-modem-and-rh7-1-a-5074/)

Aphrodisiac 08-04-2001 03:07 AM

Cable Modem & RH7.1
 
I just installed RH7.1 and I have no idea what I need to do to access the net through my cable modem

I am have both KDE and Gnome installed.

My network card was successfully identified and was "OK'd" during bootup.

I've tried to search for answers on the net but they are too vage for my understanding

What I have done is the following.

Added my IP address to the

etc/hosts file because it was saying something about it (I dont know I tried)

I dont have my DNS number, Nameserver or any # except for my IP address.

My ISP is Rogers@home, Toronto

(and I dont have a user name or password, shaw took over and everything went haywire)

Currently on my Windows box all I have to do is set it to DHCP and THATS it. I dont even have to add a proxy address or anything.

Thanks for the help in advance

-John-e

doris 08-04-2001 12:56 PM

If DHCP works for your windows, this should work:
1. change to superuser by "su"
2. run "/usr/sbin/netcfg"
3. "add" an "Ethernet"
4. select "DHCP" in the dropdown menu
5. activate it
...

You don't need an ip if you use DCHP but you do need name servers to go outside by domain names. Otherwise, use IP.

doris

Aphrodisiac 08-04-2001 02:35 PM

Thanks
 
I already have my nic set as DHCP, it turns out I had to add the nameserver IP's

but I put them in

/etc/resolv.conf

-John-e

doris 08-04-2001 03:23 PM

/etc/resolv.conf is the right place to put name servers.

Only if you didn't bring up the nic by "netcfg":

"ifconfig" shows you the active nic, and "ifconfig up" may also bring up the nic.

doris

DavidPhillips 08-07-2001 06:18 PM

I had to edit my ifup file to get dhcp to work with my cable modem.


My ISP is @home I added the

"-h myhostname"

below for PUMPARGS= ,
put in the cc-xxx name that they use to identify you.

if [ -n "${DYNCONFIG}" ]; then
PUMPARGS="-h myhostname"
DHCPCDARGS=
if [ -n "${DHCP_HOSTNAME}" ]; then
PUMPARGS="-h ${DHCP_HOSTNAME}"
DHCPCDARGS="-h ${DHCP_HOSTNAME}"
fi
if [ -n "${NEEDHOSTNAME}" ]; then
PUMPARGS="${PUMPARGS} --lookup-hostname"
DHCPCDARGS="${DHCPCDARGS} -H"
fi
if [ "${PEERDNS}" = "no" ]; then
PUMPARGS="${PUMPARGS} -d"
DHCPCDARGS="${DHCPCDARGS} -R"
fi


:Pengy: :Pengy:


All times are GMT -5. The time now is 07:07 PM.