LinuxQuestions.org
Register a domain and help support LQ
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-2005, 01:27 PM   #1
Corxscrew
LQ Newbie
 
Registered: Jan 2005
Posts: 6

Rep: Reputation: 0
Suse Networking Problem


Hello all.

I have set up a small LAN with a Suse 9.2 server doing all of the networking servbices (DNS, DHCP, etc.). I thought I had set it up correctly, but maybe I didn't. The thing is, if I try to use a Windows XP client on the network, it gets adn address just fine. It can ping other machines, by name and the internet as well. When I try a Suse linux client, it can get an IP, and can access the internet. However, it cannot ping other machines by name - I receive an 'unknown host' error. I check the logs of the DNS server when each of the clients connect, and there is no change - e.g., no errors are reported when the linux client tries to connect. I have set both Win/Lin clients to get all settings and options from the server through DHCP, and have not set any additional networking options on any of the machines. BOth are newly-installed desktops. It's a bit wieird how one can see other machines and the other can't - I mean, I thought that networking protocols were standard - what works on one computer should work on every other one in the network, provided they are in the same configurations, and I've done all ithat is in my knowledge to do that. On a semi-related note, Firefox browsing on the linux machine is a bit slow - it takes 8-10 seconds to access a page, giving me "Looking up website." This does not happen on Windows. There is no delay when pinging addressess from the command prompt on either machine, either. Apparently there's something screwy in the Linux machine configuration, but I'm ata loss as to what it is - I've tried settings all options available onthe Linux machine. Short of adding names to the /etc/hosts file (which I REALLY don't want to do, seeing as there are quite a bit of diverse machines that come on the network), I don't see what is preventing the linux client from access other hosts. I should mention that I can access any host from any OS by the IP address.
Also, I have checked on the linux machine the "/etc/resolv.conf" file, and it chcks out - it lists the search domain as our local one, and the nameserver as 192.168.0.2, which both are correct.

Any suggesttions? Thanks.
 
Old 01-17-2005, 05:02 PM   #2
arno
Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: fedora core 8, suse 10.3, ubuntu 7.10, kamikaze 7.09
Posts: 515

Rep: Reputation: 30
You mentioned two problems:

1) you canīt ping a local name
2) the linux box has a 8 second delay while accessing an internet destination

You can try the following

problem 1:

1a) check on the linux client if the following file
/etc/resolv.conf
contains a line nameserver which points to your local linux dns server

1b) check on the linux client if the following file
/etc/sysconfig/network-scripts/ifcfg-eth0
contains something like this
HOSTNAME="nameofmylinuxclient"

problem 2:

Linux is prepared for IPv6 but some providers are not they stil only support IPv4 so you have to disable IPv6

I made the following changes to /etc/modprobe.conf:

alias net-pf-10 ipv6

changed to:

alias net-pf-10 off


PS let us know if this was the sollution to your problem
 
Old 01-17-2005, 05:35 PM   #3
Corxscrew
LQ Newbie
 
Registered: Jan 2005
Posts: 6

Original Poster
Rep: Reputation: 0
That didn't quite seem to work. I checked all of those settings, and I still can't access hosts by name.

Just a couple of observations:

-When I attempt to ping "wlansrvr1" (or any other local host) there doesn't seem to be any thing sent to the nameserver. No lights flash on its network card, etc. In contrast, when I ping "google . com" (spaces removed), a request does get sent to the server, resolved, etc. Its almost as if it's just discarding local address pings entirely.

-Konqueror doesn't have that delay in accessing internet sites that firefox has - it access sites immediately.

-I have tried two different DNS servers on the server (Bind previously, and now a server called "Dnsmasq") with exact same results.

- It's strange how WinXP works fine, but Linux doesn't. I have taken great care to ensure that both are getting EVERY option concerned to networking that they can get from the DHCP server.


Last edited by Corxscrew; 01-17-2005 at 05:41 PM.
 
Old 01-18-2005, 10:26 AM   #4
peter_robb
Senior Member
 
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458

Rep: Reputation: 47
Make sure your dhcp server is allocating a domain name as well as a hostname,
then they will also be in the dhcp server's leases file for dnsmasq to find.

It may be that your Suse pc's kde/gnome can't find it's own hostname..

Last edited by peter_robb; 01-18-2005 at 10:27 AM.
 
  


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
Networking problem after SuSE 8.1 to SuSE 9.3 upgrade chiyoung_ku Suse/Novell 2 06-02-2005 10:14 AM
Suse 9.2 Networking problem knobula Suse/Novell 10 02-05-2005 09:20 AM
Suse 9.1 Personal Networking Problem WindowsIsBetter Suse/Novell 2 12-22-2004 11:51 PM
Suse 8.2 Networking Problem ettienne Linux - Networking 1 03-09-2004 11:35 AM
Suse 8.1 - networking problem uncoolx2 Linux - Newbie 5 06-20-2003 09:44 AM


All times are GMT -5. The time now is 01:20 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration