*BSDThis forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.
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 GreatSpeed ADSL modem with a switch connected to my two computers, one with windows, and the other, a laptop with netBSD. I managed to configure the network to have internet access, but now it only works with some sites and hangs up with others. For example I can go to google.com without problem, but i'm not able at all to go to free.fr, and so on.
With windows there's no problem.
I don't know if you need more information to help me solve my problem, in that case don't hesitate to ask me.
Yesterday there were serious internet outages .... see slashdot.org for more detail. I had the same problem here, with some sites being very slow and some not connecting at all. The difference between windows and your other machine may be the caching of DNS on windows, or something like that ...
Thanks for your reply, but mine isn't a temporal problem. I cannot reach free.fr where I have an email account under NetBSD at any hour nor day. So the other option is the DNS caching. But how can i modify that in order to get to any site I want? please, help!
I would suggest using whatever tool NetBSD gives you for configuring your NIC to manually add your nameservers. If you don't know what they are, you can check your Windows box. Better still, the config tool may give you the option to update your nameservers via dhcp - that might work.
Alternatively, create the /etc/resolv.conf file yourself and add your nameserver entries, like so
ok, I don't know what is my NIC, I don't know how to check those values in my windows box, I don't how to use a config tool with DHCP, and I don't understand what I have to write in resolv.conf. I'm a newbie!!!
HELP!!!"
If "nameserver" is my machine's name and x.x.x.x is its internal IP, what is the difference between these and hosts ?? and if x.x.x.x is its external IP, I don't have one, because it changes!
The x.x.x.x for the first line should be the Primary DNS server you wrote down. The x.x.x.x for the second line should be the Secondary DNS server you wrote down.
That is a private IP. Apparently you are behind some sort of NAT device (probably a hardware router). Get the nameservers from the NAT device itself. These things usually have a web administration tool or some such. Then add then to /etc/resolv.conf like we discussed.
No, I am not sure this will solve your problems, but it is very possible that it will. This is process-of-elimination time.
Yes, my modem is connected to a router (or switch?) by an ethernet cable, and then many ethernet cables come out of the router to my two computers. But as far as I know, it doesn't have any administration tool, because I don't think it came with any CD nor floppy. It is an Encore 8 port Nway Switch, but anyway I'm not sure if you are referring to this. Do you want me to connect directly my modem to my laptop to see what happens?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.