SUSE / openSUSEThis Forum is for the discussion of Suse Linux.
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.
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.
I recently installed suse 10. I have an internet connection but I can't browse or connect to gaim. However, if i enter an ip for a website it will open without the graphics. I added the 2 dns from isp into /etc/resolv.conf. Can anyone help me solve this problem?
What is the "nwres" program? I don't have it on my suse system.
More information would be nice. Apparently static addressing is being used if /etc/resolv.conf is being manually edited rather than being supplied by DHCP. The default gateway on the nics need to be set up also, as well as the route. Also, the firewall could possibly cause problems.
Are you running a service where you need static addressing? How do you connect to the internet? Is your computer connected directly, or is it another computer or a router?
To answer your question: it's a small part of bind which is used for name resolution.
from the lwresd man page:
Code:
NAME
lwresd - lightweight resolver daemon
SYNOPSIS
lwresd [ -C config-file ] [ -d debug-level ] [ -f ] [ -g ] [ -i pid-file ] [ -n #cpus
] [ -P port ] [ -p port ] [ -s ] [ -t directory ] [ -u user ] [ -v ]
DESCRIPTION
lwresd is the daemon providing name lookup services to clients that use the BIND 9
lightweight resolver library. It is essentially a stripped-down, caching-only name server
that answers queries using the BIND 9 lightweight resolver protocol rather than the DNS
protocol.
lwresd listens for resolver queries on a UDP port on the IPv4 loopback interface,
127.0.0.1. This means that lwresd can only be used by processes running on the local
machine. By default UDP port number 921 is used for lightweight resolver requests and
responses.
Incoming lightweight resolver requests are decoded by the server which then resolves them
using the DNS protocol. When the DNS lookup completes, lwresd encodes the answers in the
lightweight resolver format and returns them to the client that made the request.
If /etc/resolv.conf contains any nameserver entries, lwresd sends recursive DNS queries to
those servers. This is similar to the use of forwarders in a caching name server. If no
nameserver entries are present, or if forwarding fails, lwresd resolves the queries
autonomously starting at the root name servers, using a built-in list of root server
hints.
I'm in a similar situation, but have just picked Linux up again after 8 months of being away and my brain has emptied completely!
I too can only browse by IP address but would be really grateful if the script needed to overcome this problem could be provided, email me if you like, but i'd be very grateful, thanks
You don't need a script. You can use GUI and never have to muss with command line or scripts to set up DNS. All you need is the information(which DNS servers to use) and then you can just put them in the network configuration via YAST.
1) Find ISPs DNS... How to do this?
a) You can check your router, see what it pulled as DNS.
b) You can check your modem and see what DNS you are assigned.
c) You can call your ISP(or check their online gateway) and see if they will tell you DNS locations. Some also give you them in setup guides.
2) Yast > Network Devices > Network Card
a) Assuming you are using 9.1-10.0 it will go right away.
b) Assuming you are using 10.1 you need to select traditional with ifup, not Network Manager.(that is auto config and doesn't allow DNS setup.
3) Select your current Network Card. Choose "Edit" of the bottom buttons.
4) You should see a bunch of settings, and further menu options accessable via buttons. Choose "Hostname and Host Server".
5) There are 2 sections. The first is your domain information, and information about your computer. Like its Name. For instance "Hostname" and "Domain". The second section is Name Servers and Domain Listings. You should see Name Servers(3 of them) and a field either called "Search List" or something else on the right hand side. You need to change the name servers(which you will have to turn on the little manually configure box. You can't pull through DHCP.
6) Set the Nameserver #1 as the primary DNS server your ISP uses. Set the Nameserver #2 as the Secondary DNS server your ISP uses. Set Nameserver #3 as your Router/Gateway/Modem.
7) Make sure the top box on the right in that section is set as "site"
8) OK, NEXT, NEXT...etc Until it configures the settings and runs the little SuSE config stuff.
Well it's clearly a DNS issue.
Just as a basic troubleshoot, try a "nslookup google.com" from a blank konsole. If no response, you dont have your DNS IP correct. Fix it in, Control Center/Yast Modules/Network Services/DNS and Hostname. In there it should have your hostname, and your dns IP addresses. My dad's computer would prefill it with a bunch of crap automatically for some reason, so I had to manually set the DNS ip's there. Fixed the problem instantly. Hope this helps and makes it a simple solution
Clearly sounds like a DNS issue to me too. Don't know how much help this is, but you can check /etc/resolv.conf to see what DNS are stored. To add one, you can either use the GUI as has been suggested, or log in as root in the konsole, then type the line:
Code:
route add default gw 192.168.0.1
The ip I've suggested is for my router, just put whatever DNS you want to add in there and viola!
Last edited by Agentvenom; 01-31-2006 at 12:37 PM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.