LinuxQuestions.org
Help answer threads with 0 replies.
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 10-10-2001, 02:43 PM   #1
Danobri
LQ Newbie
 
Registered: Jun 2001
Location: Madison, WI
Distribution: Red Hat 7.1
Posts: 19

Rep: Reputation: 0
cable modem setup


I currently have a Win98 box that also boots to Red Hat 7.1 on a separate drive. I recently got high speed internet access via a cable modem, which is working fine through Windows.

Can anyone tell me what I have to do to configure my NIC (eth0) so that I can start using the cable modem connection in Linux??

I was hoping I could just edit and add some values in the Linux netcfg tool, using the values setup in Windows (Control Panel -> Network-> Configuration -> TCP/IP (for my Nic) -> Properties). However, since the netcfg tool uses a different format and different jargon, I am a little lost.

Should it be this simple, or no??

Thanks

Last edited by Danobri; 10-10-2001 at 02:46 PM.
 
Old 10-10-2001, 03:27 PM   #2
AzrielMacKay
Member
 
Registered: Jul 2001
Location: Moody, AL
Distribution: Debian and Kubuntu
Posts: 249

Rep: Reputation: 30
you need to compile a kernel module for your ethernet card
 
Old 10-10-2001, 05:39 PM   #3
Danobri
LQ Newbie
 
Registered: Jun 2001
Location: Madison, WI
Distribution: Red Hat 7.1
Posts: 19

Original Poster
Rep: Reputation: 0
I believe the eth0 was detected and setup automatically when I installed the OS. It's showing up in the netcfg tool, I just don't know how to configure the settings (IP Address, Gateway, DNS, etc.)

Thanks
 
Old 10-10-2001, 06:19 PM   #4
ChaosX2
Member
 
Registered: Aug 2001
Location: Sacramento, CA
Distribution: Gentoo 1.4+
Posts: 195

Rep: Reputation: 30
you set it up the same way you set it up for Windows. Usually its DHCP and you assign it the computer name they gave you.
 
Old 10-10-2001, 07:23 PM   #5
TimBeR
LQ Newbie
 
Registered: Oct 2001
Distribution: Redhat 7.1
Posts: 11

Rep: Reputation: 0
just cd to /etc/sysconfig/network-scripts/ and edit your ifcfg-eth0 with your fav text editor and set the bootproto=dhcp and onboot=yes and youshould then be able to save the file and then run the command ifup eth0 and as long as your ISP providing the cable modem is using dhcp you should see it trying to obtain an ip if it works well to ifconfig -a and see what your ip info is under your eth0
 
Old 10-13-2001, 09:59 AM   #6
Danobri
LQ Newbie
 
Registered: Jun 2001
Location: Madison, WI
Distribution: Red Hat 7.1
Posts: 19

Original Poster
Rep: Reputation: 0
I have tried what both of you suggested, but I whenever I attempt to activate the device (ifup eth0) I get-- "Determining IP information for eth0.... Operation failed."

I have a list of information from Charter@home that looks like this:

Device DNS:
Subdomain:
Equip IP Addr:
Deflt Gateway IP:
Subnet Mask:
Broadcast IP Add:
Modem Subnet Mask:
Modem Broadcast IP:
Primary DNS IP:
Secondary DNS IP:

The setup (with corresponding values from above) in Win98 looks like this:

In Settings -> Control Panel -> Network -> Configuration -> TCP/IP (for my NIC):

IP ADDRESS TAB
Specify an IP Address: is checked
IP Address: <Equip IP Addr>
Subnet Mask: <Subnetmask>

GATEWAY TAB
Installed Gateways: <Deflt Gateway IP>

DNS CONFIGURATION:
Enable DNS: is checked
Host: <Device DNS>
Domain: <Subdomain>
DNS Server Search Order: <Prmary DNS IP> <Secondary DNS IP>

All other tabs were left unchanged from the default settings.

In Settings -> Control Panel -> Network -> Identification:
Computer Name: <Device DNS>
Workgroup: @home (which only appears in this one place)

So can anyone tell me where these values belong in the netcfg tool in Linux? I have experimented endlessly it seems, but the eth0 device never seems to be able to determine the IP info.

Thanks.
 
Old 10-13-2001, 02:23 PM   #7
TimBeR
LQ Newbie
 
Registered: Oct 2001
Distribution: Redhat 7.1
Posts: 11

Rep: Reputation: 0
when in win98 side of your dualboot after the machine boots up do you have to run any software to connect to the cable modem to get on the net? or does it get on the net automaticly? if it gets on automaticly and your linux install recognizes the nic it should work fine unless your isp has something special setup
 
Old 10-13-2001, 03:19 PM   #8
Danobri
LQ Newbie
 
Registered: Jun 2001
Location: Madison, WI
Distribution: Red Hat 7.1
Posts: 19

Original Poster
Rep: Reputation: 0
No software is required to run the cable modem. You just have to plug it in, and have the network settings setup right. Also, I am not doing a dual boot. I installed Linux on a separate hard drive, and use a boot disk to boot to Linux.

When you say "if it gets on automaticly and your linux install recognizes the nic" do mean if Linux recognized the nic when I installed Linux, or are you asking if Linux is initializing the eth0 at boot properly?

The nic was recognized and installed when I installed the OS. It's a 3Com, and I have used it before in a Linux box without any problems. However, when I try to "activate at boot" it never works. I always get the same message -"Determining IP information for eth0.... Operation failed."

?????

Last edited by Danobri; 10-13-2001 at 03:23 PM.
 
Old 10-13-2001, 09:58 PM   #9
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 271Reputation: 271Reputation: 271
have you tried maybe getting your DNS and Gateway while booted in windows while your connected using either ipconfig in NT or winipcfg in 9X to get the specific addresses of these while connected. Then try to add them in netcfg in linux enabling DHCP. Not sure on this one.. its been awhile since I messed with DHCP on a cable modem, as I usually used the static IP they gave me.. you might want to call your ISP, cause alot of the times @home gives you a option of a static ip as well which is way easier to setup.

also, have you tried looking at the documentation howto of DHCP found here: http://www.linuxdoc.org/HOWTO/mini/DHCP/index.html
 
Old 10-13-2001, 10:35 PM   #10
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 271Reputation: 271Reputation: 271
just ran across this article on www.linux.com about @home connections that might be of help:
http://www.linux.com/learn/newsitem....id=1&aid=12537
 
Old 10-15-2001, 08:09 AM   #11
WindozBytes
Member
 
Registered: Aug 2001
Location: CT, USA
Distribution: Mandriva 2008
Posts: 105

Rep: Reputation: 15
Danobri:

I am also running RH7.1 with @home as the ISP; TimBeR was close with his suggestion to modify ifcfg-eth0; I needed one additional line in my setup:

DHCP_HOSTNAME=cc999999-a

where cc999999-a is the hostname that @home provides.
If your NIC is recognized and installed correctly, no other mods should be necessary.

If you're really curious, you can take a look at ifup and see where it substitutes this variable during execution.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Cant setup my cable modem despite my perseverance allthor Linux - Networking 12 02-19-2005 02:48 PM
USB Cable modem setup mojo_risin SUSE / openSUSE 1 02-16-2005 11:09 PM
Cable modem setup milir Mandriva 4 08-06-2004 08:23 PM
Linux DSL/Cable Modem setup zodmaner Linux - Networking 3 02-11-2003 09:30 AM
Need help with cable modem setup saxmanohs Linux - Newbie 6 01-03-2002 12:59 PM

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

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

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