LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 01-17-2008, 12:53 AM   #1
southsibling
Member
 
Registered: Jun 2003
Location: Harford County, Maryland
Distribution: Mandrake 10.1
Posts: 162

Rep: Reputation: 30
Comcast Cable not working w/Linux


I just got cable service thru Comcast, and to my chagrin, am sending this email out in the Windows side of my dual-boot.

Background:

My linux distro is Mandrakelinux 10.1

'Was' connected (for 4 years) thru Earthlink with a DSL connection. Had two computers set up thru a switchbox. One of the boxes (this one) dual-booted (XP and the aformentioned 10.1), the second ('puter) was exclusively Linux (Mandrake) and everything worked fine (well, within Earthlink's definition of 'fine', but let's not get started on that.)

I'm connecting this box with a 3-Com ethernet connector, installed where it has always been installed (emphasizing the fact that I made NO changes to my system except going from DSL to cable).

Obviously, the (Windows) connection works fine with the new connection, as that's how I'm now communicating.

Just as obviously, or I wouldn't be here complaining now, my linux side will not connect.

Start with this premise-I have not a clue what I am doing. I did go to the GUI screen (in my Mandrake distro) and, as su, attempted to set up a new internet connection, using the 'cable' option and the eth1 connection, which is where my 3-com connector draws breath (eth0 is the mobo connection, and has always 'FAILED'<superseded by the 3-com> on boot-up).

Below is a display of the results of running '/sbin/ifconfig':

eth0:

Link encap:Ethernet Hwaddr 00:50:8D:ED:9A:4A
inet6 addr: fe80::250:8dff:feed:9a4a/64 Scope:Link
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:35 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes: (0.0 b) TX bytes:1338 (1.3 Kb)
Interrupt:5 Base address:0xb000

eth1

Link encap:Ethernet HWaddr 00:04:75:AE:B0:9D
inet6 addr: fe80::204:75ff:feae:b09d/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:10068 errors:0 dropped:0 overrusn:235 frame:0
TX packets:12 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:610428 (596.1 Kb) TX bytes:2490 (2.4 Kb)
Interrupt:10 Base address:0xa000

lo

Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:1072 errors:0 dropped:0 overruns:0 frame:0
TX packets:1072 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:86854 (84.8 Kb) TX bytes:86854 (84.8 Kb)

Thanks in advance for your valuable input, folks.
 
Old 01-17-2008, 06:20 PM   #2
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
What does /sbin/dhclient eth0 output?

A bit confused on above but is this machine have both XP and Mandrake?
This is the only machine you are connecting with?
And is the nic being used the same for both OSes?

Not knowing what you are doing with both nics I would disable the one you are not using at the moment and only get the one left working for both.

Next post info on the nics from the output of /sbin/lspci -v and which one is which. Plus the loaded modules for the nics in question.

But for starters disable the 2nd nic first. Really only one nic under linux can be configured with a Gateway. If both are trying to get and IP then they try to have thier own Gateway.

Brian
 
Old 01-18-2008, 12:41 AM   #3
southsibling
Member
 
Registered: Jun 2003
Location: Harford County, Maryland
Distribution: Mandrake 10.1
Posts: 162

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by Brian1 View Post
What does /sbin/dhclient eth0 output?

But for starters...

Brian
Thanks for getting back to me. I'm gonna have to sit on this until I get home from work later this evening. Just finished doing taxes, and I'm falling asleep on the keyboard-gotta be back up in 3 hours to head back out for work. I'll get back to you...

(Oh, BTW...can't find a file named '/sbin/Ispci', or such a file name in ANY directory. Also, when I run '/sbin/dhclient eth0', I cannot seem to redirect to either a text file or a printer-whether I run as 'myself' or as root. The last line informs me that there was 'no stdin, so there is nothing to redirect' (or words to that effect). Can you coach me along on this dilemma?)

LT
 
Old 01-18-2008, 12:55 AM   #4
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,716
Blog Entries: 3

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
earth link uses pppoe your new line doesn't that is your problem. But not sure a static connection not a dynamic. you need to know. the pppoe program is sending out the wrong info. configure your card and try a static.If comcast is using a pppoe reconfigure with there gateway. If it is a pppoe their gateway is a html web page. you must use it to reconfigure your account.
 
Old 01-18-2008, 04:56 AM   #5
southsibling
Member
 
Registered: Jun 2003
Location: Harford County, Maryland
Distribution: Mandrake 10.1
Posts: 162

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by Drakeo View Post
earth link uses pppoe your new line doesn't that is your problem. But not sure a static connection not a dynamic. you need to know. the pppoe program is sending out the wrong info. configure your card and try a static.If comcast is using a pppoe reconfigure with there gateway. If it is a pppoe their gateway is a html web page. you must use it to reconfigure your account.

Cool stuff, man! Thanks. When I get back in this evening I will print out your comments and call Comcast with that info on my desk, and hopefully they can provide the info/handholding that I need.

Thanks again.

LT
 
Old 01-18-2008, 07:44 AM   #6
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
Quote:
When I get back in this evening I will print out your comments and call Comcast with that info on my desk, and hopefully they can provide the info/handholding that I need.
Good luck with that. I've got Comcast and in my experience, as soon as the word "linux" gets mentioned, the "service tech" has a nervous breakdown, starts speaking in tongues and on the rare occasions engages in goat sacrifice to ward off the evil Linux spirits. To put it bluntly, they don't know jack about Linux.

Comcast should issue an IP address to a standard DHCP request from a Linux client like dhcpcd, dhclient or ifup. I've never used Mandrake so I don't know which one it uses, but if you set up your Linux side to use DHCP, Comcast should respond. Now with that said, I've suspected that Comcast monitors the MAC address connected to the IP, so if you're connecting with different cards, it might cause a bit of an issue.

To be honest, if you've got more than one computer in the house, investing in a router might be the way to go. I've been connecting that way for years, and Comcast has worked fine with a couple of different brands of router (mostly Linksys).
 
Old 01-18-2008, 08:02 AM   #7
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,783

Rep: Reputation: 5936Reputation: 5936Reputation: 5936Reputation: 5936Reputation: 5936Reputation: 5936Reputation: 5936Reputation: 5936Reputation: 5936Reputation: 5936Reputation: 5936
To expand on Hangdog42's post typically cable ISPs only provide one dynamic IP address for home service. The modem stores the MAC address in memory so no other computer will be able to acquire an IP address unless modem power is recycled. In addition, using a router instead of a switch will add an extra measure of security since your home network is now isolated from the rest of the internet if you sharing files and printers via SMB.
 
Old 01-18-2008, 08:20 AM   #8
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
Quote:
Originally Posted by southsibling View Post

(Oh, BTW...can't find a file named '/sbin/Ispci',
That's a lower case L not a capital I, LSPCI = List the PCI bus contents. I don't know that I have ever run across a command in Linux that uses capital letters in the command itself..


/sbin/lspci
 
Old 01-18-2008, 08:39 AM   #9
ARC1450
Member
 
Registered: Jun 2005
Location: Odenton, MD
Distribution: Gentoo
Posts: 290

Rep: Reputation: 30
Comcast uses standard IPv4 DHCP addressing, no PPPoE, and Linux works just fine on their service (I've used it myself).

The only thing I've noticed is that you have IPv6 enabled. . .try removing support for that, see what happens. It probably won't do anything, but it's a thought.

Like someone else mentioned, though; get a router. It'll alleviate these problem and you'll be a little more protected.

Last edited by peter_robb; 02-07-2008 at 11:46 AM. Reason: //language softening//
 
Old 01-18-2008, 06:45 PM   #10
southsibling
Member
 
Registered: Jun 2003
Location: Harford County, Maryland
Distribution: Mandrake 10.1
Posts: 162

Original Poster
Rep: Reputation: 30
Next...?

I went back over into linux and tried to reset a cable connection in the GUI screen (as root). Chose a cable connection, which automatically informed me it was setting up a "Automatic IP (BOOTPDHCP) connection. That did no good. Results the same. Nadda.

Arc1450...I don't understand what you meant by '...you have IPv6 enabled...' I can't find that reference in the detail readout that I offered. What am I missing?
 
Old 01-18-2008, 09:32 PM   #11
ARC1450
Member
 
Registered: Jun 2005
Location: Odenton, MD
Distribution: Gentoo
Posts: 290

Rep: Reputation: 30
IPv4: inet addr:127.0.0.1 Mask:255.0.0.0
IPv6: inet6 addr: ::1/128 Scope:Host

They're 2 different addressing schemes for your computer, and they don't always operate well together. There should be something in your TCP/IP settings that should allude to having that enabled. Disable it, and see what gives.
 
Old 01-19-2008, 07:05 AM   #12
southsibling
Member
 
Registered: Jun 2003
Location: Harford County, Maryland
Distribution: Mandrake 10.1
Posts: 162

Original Poster
Rep: Reputation: 30
An offer...

Quote:
Originally Posted by ARC1450 View Post
IPv4: inet addr:127.0.0.1 Mask:255.0.0.0
IPv6: inet6 addr: ::1/128 Scope:Host

Disable it, and see what gives.
I emailed you earlier, but I've got no faith in anything about this Comcast right now. You're a half-hour south of me thru the tunnel. Wanna make a few bucks on this dreary Saturday? (I CAN receive email, but not a lot else functions.)
 
Old 01-19-2008, 07:32 AM   #13
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
Quote:
I went back over into linux and tried to reset a cable connection in the GUI screen (as root). Chose a cable connection, which automatically informed me it was setting up a "Automatic IP (BOOTPDHCP) connection. That did no good. Results the same. Nadda.
I don't think you're going back far enough.

1) Unplug your cable modem
2) Plug your Linux computer (with the power off) into the cable modem
3) Power up the cable modem and let it run through its setup
4) Turn on your Linux computer and let it boot

If your Linux box is set to use DHCP, it should be able to grab an IP from Comcast.

Oh, and I don't think that IPv6 is an issue since Comcast isn't using it.
 
Old 01-19-2008, 08:22 AM   #14
ARC1450
Member
 
Registered: Jun 2005
Location: Odenton, MD
Distribution: Gentoo
Posts: 290

Rep: Reputation: 30
Quote:
Originally Posted by Hangdog42 View Post
Oh, and I don't think that IPv6 is an issue since Comcast isn't using it.
The issue isn't that necessarily IPv6 is the issue, it's that some distros I've run across only have IPv6 enabled by default. *shrug*

Either way, they're not compatible, and since Comcast isn't using it (as you said), might as well take it out of the equation.

South> Yeah, I tried emailing you back, but the mailer daemon for gmail doesn't seem to like your email address. :-P Unfortunately, I gotta decline unless you want to take a chance on getting as sick as me.
 
Old 01-19-2008, 12:33 PM   #15
southsibling
Member
 
Registered: Jun 2003
Location: Harford County, Maryland
Distribution: Mandrake 10.1
Posts: 162

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by Hangdog42 View Post
I don't think you're going back far enough.

1) Unplug your cable modem
2) Plug your Linux computer (with the power off) into the cable modem
3) Power up the cable modem and let it run through its setup
4) Turn on your Linux computer and let it boot

If your Linux box is set to use DHCP, it should be able to grab an IP from Comcast.

Oh, and I don't think that IPv6 is an issue since Comcast isn't using it.
Nope. Nadda.
 
  


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
Comcast Cable Problems Post Modern Linux - Hardware 22 06-26-2007 05:23 PM
Cable from COMCAST with SUSE 9 xri Linux - Networking 6 01-12-2004 08:34 AM
does comcast cable internet work on linux keeknspin Linux - Newbie 2 12-31-2003 05:22 AM
Comcast Cable Support Ultimaterra2005 Slackware 1 02-24-2003 05:41 PM
comcast cable & corel linux tlist Linux - General 9 07-20-2002 10:32 PM

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

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