Fedora This forum is for the discussion of the Fedora Project. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
06-11-2005, 01:23 PM
|
#1
|
Member
Registered: May 2003
Location: Netherlands
Distribution: Ubuntu, Puppy
Posts: 386
Rep:
|
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
|
|
|
06-12-2005, 06:26 AM
|
#2
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
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!
|
|
|
06-12-2005, 07:08 PM
|
#3
|
Member
Registered: May 2003
Location: Netherlands
Distribution: Ubuntu, Puppy
Posts: 386
Original Poster
Rep:
|
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 07:09 PM.
|
|
|
06-12-2005, 07:13 PM
|
#4
|
Member
Registered: Jun 2005
Posts: 204
Rep:
|
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
|
|
|
06-13-2005, 06:58 PM
|
#5
|
Member
Registered: May 2003
Location: Netherlands
Distribution: Ubuntu, Puppy
Posts: 386
Original Poster
Rep:
|
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
|
|
|
All times are GMT -5. The time now is 07:45 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|