LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 12-05-2006, 01:29 PM   #1
java-student
LQ Newbie
 
Registered: Dec 2006
Posts: 2

Rep: Reputation: 0
Problem in browsing local http sites


Hi,

My problem is with accessing local http sites (LAN). I can access them using the IP address like

Code:
http :// 10.1.1.1
but I can't use the name like

Code:
http :// computer
In windows system, it works fine. but it doesn't with linux OpenSuse 10.1

This is the content of the file /etc/resolv.conf

Code:
### BEGIN INFO
#
# Modified_by:  NetworkManager
# Process:      /usr/bin/NetworkManager
# Process_id:   2799
#
### END INFO



nameserver 10.1*0.1.*
nameserver 10.1*0.3.*
it has the same DNS server as Windows ipconfig /all

regards,
 
Old 12-05-2006, 01:54 PM   #2
Andrew Benton
Senior Member
 
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
Add the addresses for the computers on your local network to /etc/hosts

10.1.1.1 computer
10.1.1.2 another-computer
 
Old 12-05-2006, 02:14 PM   #3
java-student
LQ Newbie
 
Registered: Dec 2006
Posts: 2

Original Poster
Rep: Reputation: 0
Is there another way to make it automatically instead of adding each IP-Name to the hosts file ?
 
  


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
Browsing Intranet Sites duryodhan Linux - Desktop 5 11-03-2006 09:42 AM
web browsing - some sites blocked some not galrub Linux - Newbie 17 09-23-2006 01:36 PM
mozilla not browsing ftp sites kabads Linux - Software 0 09-04-2003 04:41 AM
browsing other http ports Ian Fleeton Linux - Networking 13 05-14-2003 04:21 AM
Browsing arabic web sites safrout Linux - Newbie 1 03-19-2002 01:06 AM

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

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