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 04-06-2004, 08:31 AM   #1
MacMorning
LQ Newbie
 
Registered: Apr 2004
Distribution: Debian Sarge, OpenSUSE 10.2, FC6, RHEL4, RHEL5
Posts: 15

Rep: Reputation: 0
Cool Hmm... Cable modem connection - Solved


Hi all,

First, let me thank you for all the answers I already found here
But I'm really stuck right now.

I'm trying to connect to internet with my freshly installed Debian (still at 2.2 kernel).

My ethernet cable modem is on eth0 and is supposed to be forwarding dhcp requests to my isp (Noos). It works fine under WinXP on my other box.
What I did first, after getting the right module for my nic, is :

something like
# /etc/network/interfaces

iface eth0 inet dhcp


# ifdown eth0

# ifup eth0

I get something like "every thing is fine", but then I get my prompt back 50 seconds later and get the ip 192.168.0.247. I don't think my isp's dhcp would have given me a private ip. Well of course I can't ping anything (100% packet loss).

I can ping and telnet my PCs on my lan (well, my direct RJ45 connection between my XP and my Debian), so the cards are not an issue.

The second thing I tried is to change the eth0 configuration to static by copying the parameters I got from the DHCP with my WinXP, but it doesn't seem to work any better.

I also tried to configure my XP to be a gateway for my Debian, with no success.

Basically, nothing seems to go out of my local network whatever I do.

Does anyone have a clue or tip ?

Last edited by MacMorning; 04-07-2004 at 02:53 AM.
 
Old 04-06-2004, 10:34 AM   #2
AutOPSY
Member
 
Registered: Mar 2004
Location: US
Distribution: Redhat 9 - Linux 2.6.3
Posts: 836

Rep: Reputation: 31
192.168.0.247

looks like a LAN ip, I doubt your ISP will assign multiple IP's to you unless you pay for it.

you need to configure the machine that has the cable modem attached to it as the gateway to to the other computer.
 
Old 04-06-2004, 12:31 PM   #3
MacMorning
LQ Newbie
 
Registered: Apr 2004
Distribution: Debian Sarge, OpenSUSE 10.2, FC6, RHEL4, RHEL5
Posts: 15

Original Poster
Rep: Reputation: 0
Absolutly, this is a lan ip, that's what makes me think that I didn't get any information from my dhcp.

The modem is attached directly to the Debian box !
 
Old 04-06-2004, 07:06 PM   #4
urzumph
Member
 
Registered: Jan 2004
Location: Australia
Distribution: Debian
Posts: 168

Rep: Reputation: 30
dumb question. Did you post the IP for the correct card? If you have 1 card connected to the modem and one to the XP machine, then you have 2 cards. Which card is eth0? The modem card or the XP card?

if ifconfig doesn't show 2 network cards (lo is not a network card) then we need to make the other appear before we can do anything.
 
Old 04-07-2004, 02:52 AM   #5
MacMorning
LQ Newbie
 
Registered: Apr 2004
Distribution: Debian Sarge, OpenSUSE 10.2, FC6, RHEL4, RHEL5
Posts: 15

Original Poster
Rep: Reputation: 0
There is only one nic in my debian box, but there are two on the XP. I had to change the RJ45 cables configuration to make the tests :

1-
Debian --- Modem --- Internet

2-
Debian --- XP --- Modem --- Internet


But the problem is solved now ... I feel so stupid ... The cable modem had to be reset (electrically) before I could plug it from a box to the other. I was always starting on XP, checking forums, doing searches on google, then moving the modem to the Debian.
I have also been able to connect to the internet via configuration 2, I don't know why I failed yesterday.

It could be because the modem gives the ethernet card's mac adress to my isp when it connects ?
 
  


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 modem connection problems reichhorn Linux - Networking 11 03-06-2008 03:58 AM
null modem cable connection PC-PC Boiler_Mafiot Linux - Software 2 04-12-2005 01:51 AM
Cable Modem Connection robertmenezes Mandriva 2 01-24-2005 09:32 AM
Cable Modem Connection ? khreha Linux - Newbie 0 12-27-2003 08:40 AM
RedHat8.0 cable modem connection dimeo111 Linux - Networking 5 02-06-2003 04:14 PM

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

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