LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 08-04-2001, 03:07 AM   #1
Aphrodisiac
LQ Newbie
 
Registered: Aug 2001
Posts: 11

Rep: Reputation: 0
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
 
Old 08-04-2001, 12:56 PM   #2
doris
Member
 
Registered: May 2001
Location: New York, USA
Distribution: RH 7.3, 8.0
Posts: 64

Rep: Reputation: 15
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

Last edited by doris; 08-04-2001 at 01:01 PM.
 
Old 08-04-2001, 02:35 PM   #3
Aphrodisiac
LQ Newbie
 
Registered: Aug 2001
Posts: 11

Original Poster
Rep: Reputation: 0
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
 
Old 08-04-2001, 03:23 PM   #4
doris
Member
 
Registered: May 2001
Location: New York, USA
Distribution: RH 7.3, 8.0
Posts: 64

Rep: Reputation: 15
/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
 
Old 08-07-2001, 06:18 PM   #5
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
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


 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
RH 9 & RCA Cable Modem Theban Linux - Hardware 1 07-13-2004 10:13 AM
howto setup Cable modem&router&red hat on machine with ethernet integrated on mobo&XP takanana Linux - Networking 14 10-23-2003 07:20 AM
DHCP & Cable Modem raypen Linux - Networking 4 08-06-2003 09:16 PM
How to install 3com Sharkfin Cable Modem in RH7.2 Linux salman Linux - Networking 1 03-17-2002 06:25 PM
RH7.2 and cable modem problems AMDPwred Linux - Networking 5 01-17-2002 09:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:17 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration