LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 05-11-2003, 07:52 AM   #1
richardharwood
LQ Newbie
 
Registered: May 2003
Location: Huddersfield, West Yorkshire
Distribution: Mandrake 9.1
Posts: 8

Rep: Reputation: 0
configuring cable modems via ethernet


I fixed the mouse problem (see prev thread) and now have moved on to getting the box online.

In Mandrake 9.1 what is all the internet and ethernet card configuration carried out in? Mandrake control centre and linuxconf? And how do I configure the ethernet card to automatically get an IP address via DCHP?

I'm very new to this so please excuse me if i'm talking absolute bollocks and none of this makes any sense :-)

Will Mandrake detect the modems IP address and all the settings? I have tried a few things like the network/internet wizard with no luck. It detects the ethernet card but that's as far as I can get.

Are there any tutorials about this written in plain english?

Cheers
 
Old 05-12-2003, 04:05 PM   #2
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 72
Honestly dude, open a terminal, Konsole, xterm, aterm, whatever, use the command:

su -

to become root, and then:

dhcpcd eth0

Its just that easy. If you get a dhcpcd command not found error, its an RPM on the CDs with no dependencies I don't think, at least none you haven't already got installed. Offhand I don't know how to get it through the GUIs anymore, especially not Mandy's ever changing Drak-goo.

Cheers,

Finegan
 
Old 05-13-2003, 07:44 AM   #3
richardharwood
LQ Newbie
 
Registered: May 2003
Location: Huddersfield, West Yorkshire
Distribution: Mandrake 9.1
Posts: 8

Original Poster
Rep: Reputation: 0
It's that simple? If it is then hopefully I should get it online tonight!

We'll see what happens I suppose. Should I expect to need to configure anything else or will that open up the connection?

Cheers
 
Old 05-13-2003, 10:31 AM   #4
busbarn
Member
 
Registered: Feb 2002
Location: Denver, CO US
Distribution: Arch
Posts: 453

Rep: Reputation: 30
One problem I ran into when getting online was making sure the modem was configured properly. If you get a host not found error or something like that, be sure to unplug the power from your cable modem, count to ten, then plug it back in. Once it's done doing it's thing, try dhcpcd again. This has nothing to do with mandrake just a heads up on hardware stuff.
 
Old 05-14-2003, 04:52 AM   #5
davecs
Member
 
Registered: Feb 2003
Location: Barking, Essex, Britain
Distribution: PCLinuxOS and MX-Linux
Posts: 503

Rep: Reputation: 32
I'm with NTL world. They don't officially support linux, and so I have to set up the connection using Windows using dual-boot. Once done, (and in my case once the nForce drivers from nVidia had been installed for my ethernet,) then the Internet Connection Wizard in Mandrake Control Centre detected and installed everything for me!

However, I think I could have got away with setting up in Windows if I knew how to get (a) my MAC number and (b) the IP address that my computer was attempting to use (as displayed in the Windows program winipcfg.exe). Coz when I had to set up a new computer and couldn't get the ethernet connection to start from the NTL disks, that's what they asked me for.

So: how do I get these numbers?

DAVE
 
Old 05-14-2003, 07:11 AM   #6
webtoe
Member
 
Registered: Apr 2001
Location: Cambridge, England
Distribution: Slackware 10, Fedora Core 3, Mac OS X
Posts: 617

Rep: Reputation: 30
hmmm, with NTL you don't need either of those numbers to get set up. You may need to use windows to register the MAC address with them (this is done via a website so may be possible in linux). Then Once that's done you're laughing.

just use your username as the argument for the host option with dhcpcd as follows:

Code:
dhcpcd -h my_username_for_ntl
HTH

Alex

P.S. surely you would only know the IP address if you were connected already? In which case, what's the point in ringing NTL for help (what's the point anyway to be quite honest).

P.P.S. Not sure whether they register the MAC address of the cable modem or the ethernet card in your machine. For the MAC address of your ethernet card, /sbin/ifconfig shows you this detail. The first line, 'HWaddr' the following alpha-numeric characters. But this also relies on the connection being up though you could temporarily set it up with a dummy ip address just to get the MAC address.

Last edited by webtoe; 05-14-2003 at 07:20 AM.
 
Old 05-14-2003, 10:43 AM   #7
davecs
Member
 
Registered: Feb 2003
Location: Barking, Essex, Britain
Distribution: PCLinuxOS and MX-Linux
Posts: 503

Rep: Reputation: 32
What happened is that I registered my connection originally using USB and Windows. After that, I discovered Linux. When my computer broke down I had to get some new gear and reload programs. I did Win98SE first but as I had some problems with USB in Linux this time I tried to connect using the Ethernet connection. The NTL CD did not get me registered so I phoned for help, and having checked my ethernet was set up correctly the woman at the other end asked me to run winipcfg. She took the IP number from it and announced I was now on line, and I was! No stupid "Correct Connect" software either (a bonus in itself)! When I later set up the Linux partition, and once I had correctly installed the nVidia nForce driver to enable my ethernet connection in Linux, it just found the connection.

Problem: With the old USB I could find the MAC address using KDE Control Centre, but with the ethernet I can't. If I have to change my computer again in future, I may need to find it as, by then, I may have found GNU/Linux programs to replace Windows ones, so won't want to load Windows.

That is why I need to know which file is it stored in?

DAVE
 
Old 05-14-2003, 02:09 PM   #8
webtoe
Member
 
Registered: Apr 2001
Location: Cambridge, England
Distribution: Slackware 10, Fedora Core 3, Mac OS X
Posts: 617

Rep: Reputation: 30
Bingo!

MAC address is on the bottom of the modem apparently according to NTL's documentation on the web
Quote:
your MAC address on the side or underneath of your modem ( this begins with 00: )
let me have a little look.......yep, its on mine (a Terayon TJ210)

HTH

Alex
 
Old 05-14-2003, 02:21 PM   #9
davecs
Member
 
Registered: Feb 2003
Location: Barking, Essex, Britain
Distribution: PCLinuxOS and MX-Linux
Posts: 503

Rep: Reputation: 32
Oh dear so it is!

Hang on, that's the number I got when I connected it via USB. I think I get a different one under ethernet... I'll have to go back into Windoze later to check...

DAVE
 
Old 05-14-2003, 02:35 PM   #10
webtoe
Member
 
Registered: Apr 2001
Location: Cambridge, England
Distribution: Slackware 10, Fedora Core 3, Mac OS X
Posts: 617

Rep: Reputation: 30
If you do then this must be why.

When you have an ethernet card, the ethernet card's MAC address is given to NTL. This is all fine and dandy due to the fact that its integral in their design/use that they have one. However, a cable modem doesn't need one (and the first load prob don't have one) since they are connected by ethernet cards to a computer (they are a modem in that the modulate and demodulate the signal they get through the cable, nowt else). However, when you have a USB connection as well the cable modem has to have an ethernet interface built in to connect with the servers (it might just be minimal with the most work done in software, that's why if you're processor is being used extensively while using USB the connection will slow down). Therefore, when the USB port is used instead of the ethernet it uses its internal ethernet capabilities and its MAC address.

That's my hypothesis anyway.

Alex

Last edited by webtoe; 05-14-2003 at 02:37 PM.
 
  


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
cable modems bitterjack Linux - Networking 2 10-24-2003 06:49 AM
USB Cable Modems. Mastadex Linux - Hardware 1 09-18-2003 10:54 AM
Cable Modems... rvaccare Linux - Hardware 3 02-05-2003 11:57 AM
cable modems X Predator X Linux - Hardware 6 05-21-2002 09:12 PM
cable modems Wildjoey Linux - Newbie 0 02-27-2002 09:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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