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 > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 06-11-2005, 12:23 PM   #1
CloudBuilder
Member
 
Registered: May 2003
Location: Netherlands
Distribution: Ubuntu, Puppy
Posts: 386

Rep: Reputation: 30
Internet Acces over Router


I have a small network with different boxes. The network connects to the INTERNET by a vigor 2200E router that acts as DHCP.

There are some boxes with win (98/me/xp) some boxes with linux Suse 9.2- Ubuntu- Debian - FC3.

While Suse, Ubuntu(debian) have no trouble to make the right internet connection, FC3 and Debian(kanotix) can't.

The trouble is in the file /etc/resolv.conf

There should be a search entry YOURPROVIDER.com
and
nameserver [ipadres]
nameserver [ipadres]

If you change the entry's all is well.

Obviously FC3 and Debian take as nameserver, the ipadres of the ROUTER.

In that way you never get an Internet connection......................

The strange thing is that the live-cd's from Ubuntu (the install also) and Kanotix and Knoppix (all debian) make the right connection.

Is this a script issue somewhere in the install, or just an installation error?

CloudBuilder
 
Old 06-12-2005, 05:26 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
firstly i'd wonder why your router isn't providing DNS directly. if it can dish out DHCP, then it's not exactly much more to expect it to do DNS relaying for you. if that's not possible though, you should be able to prevent your dhcp client from replacing the contents of resolv.conf. if you are using dhcpcd then add a -R to the dhcpcd options. normally this is controlled via an option like DHCPARGS = "-R" in /etc/sysconfig/network-scripts/ifcfg-eth0 but to be honest it changes a lot, and i'm normally wrong!
 
Old 06-12-2005, 06:08 PM   #3
CloudBuilder
Member
 
Registered: May 2003
Location: Netherlands
Distribution: Ubuntu, Puppy
Posts: 386

Original Poster
Rep: Reputation: 30
Thanks for your reply.

The strange thing for me is the different behavior by different distro's.

When I look in the setup for the router, DNS addresses are set correct.

For now I have changed the attribute from the resolve.conf file.

I keep however wondering that one distro connects without problems and the other does not.
Even if they are from the same 'root' say Debian, they seem to have different approaches to connect to the router.

I'll carefully study the routers instructions if I did change something, but I doubt, since the last installs where within a period of 3 weeks and there where no troubles with the router, so I had no reason to change anything.......


Thanks anyway, I'll follow your suggestion and a view other things.

CloudBuilder

Last edited by CloudBuilder; 06-12-2005 at 06:09 PM.
 
Old 06-12-2005, 06:13 PM   #4
rkettle
Member
 
Registered: Jun 2005
Posts: 204

Rep: Reputation: 30
live cds will look for dhcp, make sure you have dhcp client running on your distros. If one distro gets the settings, then dhcp and dns are being given out. Check what services are running.

Regards
Richard
 
Old 06-13-2005, 05:58 PM   #5
CloudBuilder
Member
 
Registered: May 2003
Location: Netherlands
Distribution: Ubuntu, Puppy
Posts: 386

Original Poster
Rep: Reputation: 30
I think I'have found it.

In one of the configurations of the router are the following entries :

For NAT Usage
1 st ip address [ ip adres of the router]
1 st subnet mask 255.255.255.0

For Ip Routing Usage [ DISABLED/enabled]
2nd ip address [192.168.2.1]
2nd subnet mask 255.255.255.0

RIP Protocol [DISABLED/ 1 st Subnet/2nd Subnet]

I think RIP should give 1ST SUBNET

CloudBuilder
 
  


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
samba acces router ruben0076 Linux - Networking 2 01-22-2005 07:14 AM
noFTP acces via Internet on Debian 3.0 box on a LAN network with Netgear rp614 router ferry Linux - Networking 2 08-16-2004 12:33 AM
linux router must grant internet acces based on MAC adresses YNets269 Linux - Networking 6 07-15-2004 05:56 AM
Cannot acces internet but network Ok GGSpike Linux - Newbie 5 05-17-2004 08:58 AM
restricted acces to internet rolfy Linux - Networking 1 02-06-2002 07:34 AM

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

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