Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
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 have a couple of websites in lan that I want to connect to. I can connect by putting the ip address and then the port number but I wanted to connect via words. I went to /etc/hosts and typed
Quote:
xxx.xxx.xx.xxx tigthvnc.ondemand.org
Well that didn't work. It works from the computer itself but doesn't work with any other computers in the lan. So then I went to /etc/host.conf and made sure host was there behind bind and it was. I'm running Ubuntu right now. I did try to share internet with other computers before but was unsuccessful. I messed around with the iptables and installed dnsmasq and ipmasq before. I uninstalled those two programs but I don't know, there may be something still there. Anyways, do you think the iptables has anything to do with this? Here is the guide I was using. http://ubuntuforums.org/showthread.p...share+internet
The entries in /etc/host only effect that local computer, not the rest of the LAN.
The only time it would effect another computer is if you had a second computer not only connecting to the internet though the Ubuntu machine, but also were running dnsmasq or a full DNS server on the Ubuntu machine.
You are saying you are doing neither of those things (at least not anymore), so then you are not able to pass on the entires in /etc/hosts to the other clients on the LAN.
To do that, you would need to run a small DNS server on a computer in your LAN.
ok thanks guys, but my other computers have windows xp. I want to connect to those website from my xp. What should I install in ubuntu? How should I configure it?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.