Unknown Host - Network Help
Greetings. I just installed Slackware and it feels very professional to me. I'm still a Linux newbie.
When I open the web browser (Konqueror), I see a page that says "Unknown Host" My hostname and domain fields are empty. I cannot see that I am connected to my ethernet interface even though I plugged it in. I open /etc/resolv.conf and I find it completely empty. What do I do to connect to my ethernet network interface? |
Did you skip the network setup in the slackware install?
|
Thanks for your reply, diamondsandrain.
It asked me a Host Name during installation but I clicked cancel. Cause my router has no Host Name or Domain Name. Do I need to use the Slackware DVD again or can it be done by editing some file? |
You should be able to run the command netconfig (as root) to do the setup of the network. The hostname is just a local hostname just like you would provide for Windows. Its up to you what you want to call your computer.
|
$ ifconfig eth0 X.X.X.X netmask xxxxx
$ add default gw XXXXX $ echo "nameserver XXXXX" >/etc/resolv.conf then, try again |
Quote:
netconfig will automatically change the scripts. EDIT: Also, netconfig will load the appropriate module for his network card |
Thanks a lot for all the replies. Gonna go to the Slackware Computer in 50mins and let you guys know ;)
|
As long as you installed the "network-scripts" package from the n series you should be able to run netconfig.
The official information from slackware is here: http://www.slackware.com/config/network.php |
Thanks a lot!! The netconfig command fixed the problem.
Thanks again. :D Damn, I love Slackware. |
All times are GMT -5. The time now is 04:16 AM. |