LinuxQuestions.org
Review your favorite Linux distribution.
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 11-28-2003, 04:49 PM   #1
digiplaya
Member
 
Registered: Nov 2003
Distribution: Sabayon 3.3 & Sidux 2007
Posts: 111

Rep: Reputation: 15
LAN works, but Internet does not connect


Hello, digiplaya here. My LAN works on my Mandrake Linux 9.2 box, but not the Internet. I'm currently using Cox High Speed Internet in Arizona, and someone told me that it was compatible with Linux.

If you have any suggestions or know how to fix my problem, please reply.

Thanks!
 
Old 11-29-2003, 10:27 AM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
What sort of connection is it?

What have you tried?

Do you get any errors?
 
Old 11-29-2003, 12:58 PM   #3
gr8razorx
LQ Newbie
 
Registered: Nov 2003
Posts: 12

Rep: Reputation: 0
is this a cable internet provider or an adsl provider?

use the hardrake tools to configure for adsl or cable modem interfaces follow the on screen instruction and try them both setting the dhcp initialized
 
Old 11-29-2003, 01:07 PM   #4
rkemp
Member
 
Registered: Nov 2003
Distribution: redhat 8.0
Posts: 35

Rep: Reputation: 15
I also have Cox High speed internet in Phoenix. I am running redhat 8.0 and it works fine. You dont need special software for Cox HSI all you have to do is set Linux to Dynamically assign an ip address. The modem will act as a router and assign a addess and DNS servers to linux.

You might also need to add some DNS servers for your ip address if it is static.These can be found from you router. If you setup a static address it might not automatically assign DNS servers.

Here are a couple of COX's DNS servers

68.2.16.25
68.2.16.30
68.6.16.30

Also if you are not using a router any time your cable modem is changed to a new device with a different mac you must hard boot the modem. Cox only tracks the Mac on you modem and they provision the modems based on the MAC address.

Last edited by rkemp; 11-29-2003 at 01:29 PM.
 
Old 11-29-2003, 01:33 PM   #5
StalkerGT
LQ Newbie
 
Registered: Nov 2003
Location: Austin, TX
Distribution: Red Hat
Posts: 8

Rep: Reputation: 0
the cox modem will only give 1 ip address, unless you paid for more that one, otherwise you need to use a Router with NAT... what ip address are you getting on the linux box that cant connect to the internet?, <just the first 2 parts. *.*.x.x
 
Old 11-29-2003, 03:30 PM   #6
digiplaya
Member
 
Registered: Nov 2003
Distribution: Sabayon 3.3 & Sidux 2007
Posts: 111

Original Poster
Rep: Reputation: 15
Here's the scoop:

In the very beginning, I tried using a NETGEAR switch box (like a hub) with a REALTEK 8139 Built-In Ethernet Card. It was hooked to my dad's router (which is also NETGEAR) which the Cable modem is hooked into.

I tried this configuration with DHCP on with my Mandrake Linux box (not static, even though static only works on for my LAN not internet) but still no internet. It could not detect the IP address, and so on.

However, my dad's computer is currently running the same version of Linux I am running, Mandrake LInux 9.2, and the internet works fine. It is also hooked directly to the router.

Please reply if you know how to solve this.

Thanks!
 
Old 11-29-2003, 03:42 PM   #7
chort
Senior Member
 
Registered: Jul 2003
Location: Silicon Valley, USA
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660

Rep: Reputation: 76
If the router is not doing NAT, then you cannot get an Internet connection because your dad's computer already has the only Internet IP assigned to it. You need to find out if his router is configured for NAT. If it is, you need to find out of that router is also assigning IPs by DHCP. If it is, you need to configure your computer for DHCP. If it's not using DHCP for the LAN, then you need to statically assign yourself an IP address in the same network as the inside NAT network from the router. You will also need to modify your routing table and point the default route (0.0.0.0/0) to the inside IP of the router.

Probably you have everything setup right except for the default route. If you can get to anything on the LAN (including being able to ping your dad's computer) than most likely the only thing missing is the correct default route.
 
Old 11-29-2003, 05:07 PM   #8
digiplaya
Member
 
Registered: Nov 2003
Distribution: Sabayon 3.3 & Sidux 2007
Posts: 111

Original Poster
Rep: Reputation: 15
Thanks. That solved my problem.
 
  


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
No Internet but LAN and VPN connect LAN work fine??? xavior SUSE / openSUSE 7 11-09-2005 01:14 PM
Can't connect to the internet through my LAN... help? bigmetalrabbit Fedora 5 10-03-2005 01:46 AM
Connect to the internet through my LAN ALInux Linux - Networking 15 08-15-2004 01:40 PM
Can't connect to internet through the LAN Whatshisface Linux - Networking 18 02-09-2004 10:17 AM
LAN works but Internet doesn't ???? El Croat Mandriva 11 08-24-2003 03:56 AM

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

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