LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 12-20-2003, 02:56 PM   #1
nightowl512
LQ Newbie
 
Registered: Dec 2003
Location: NC, USA
Posts: 1

Rep: Reputation: 0
Cable connection with 9.1


I have a RCA dcm 305 cable modem
Realtek RTL8139 Family PCI Fast ethernet NIC (built into the motherboard)
I am using Mediacom High speed Internet
the ISP told me that the modem had an assigned MAC, and they use DHCP

I am trying to get my internet working on madrake 9.1, but no luck so far, I have used the internet connection wizard, but I haven't had any luck yet. Any idea what I should do, or links to websights with help would be great.
 
Old 12-20-2003, 06:39 PM   #2
/bin/bash
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Mandrake Slackware-current QNX4.25
Posts: 1,802

Rep: Reputation: 47
Make sure you have this in /etc/modules.conf
alias eth0 8139too

The cable modem is your gateway so you need it's internal IP. I guess they were saying they would give the IP to the cable modem via DHCP. So you need to configure your NIC on the same network as the cable modem.

You should have a file /etc/sysconfig/network that looks something like this:
$ cat /etc/sysconfig/network
HOSTNAME=spongebob
NETWORKING=yes
GATEWAY=192.168.0.1
GATEWAYDEV=eth0

The GATEWAY IP may be different and use your own hostname.

Also to configure the NIC you need a file /etc/sysconfig/network-scripts/ifcfg-eth0 that looks something like this:
cat /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
BOOTPROTO=static
IPADDR=192.168.0.2
NETMASK=255.255.255.0
NETWORK=192.168.0.0
BROADCAST=192.168.0.255
ONBOOT=yes

Of course the IP's all depend on the cable modem internal IP. If for example the cable modem has an internal IP of 10.10.0.1 then your file would look like this:
IPADDR=10.10.0.2
NETMASK=255.255.255.0
NETWORK=10.10.0.0
BROADCAST=10.10.0.255

<edit> If you change anything and you want to test it just do this:
service network restart

Last edited by /bin/bash; 12-20-2003 at 06:41 PM.
 
  


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
My cable connection through router is like 56K connection ExtremeSupremacy Linux - Networking 1 07-10-2005 03:01 AM
Slow cable connection... Radical_Dreamer Linux - Networking 1 05-04-2005 09:28 PM
Cable Connection Gerrard17 Linux - Newbie 1 08-27-2004 04:15 PM
Cable Connection Gerrard17 Linux - Networking 1 08-27-2004 04:11 PM
Cable connection Problem azazel77 Linux - Networking 0 02-17-2004 01:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 10:25 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