Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 10-04-2004, 11:20 AM   #1
Registered: Sep 2004
Posts: 37

Rep: Reputation: 15
nano -w /etc/hosts

i'm installing gentoo linux for the first time. i used a networkless install. i feel like my life might be a little easier now if i had used a auto configuration of my network at the beginning of the install which would have had dhcp detected it for me. i am approaching the end of the installation manual now and am being asked to set certain files for my network. /etc/hosts is my current concern. the examples i've seen specify an ip followed by localhost. do i need to specify an ip? can i put dhcp in place of an ip? how can i set up my network?


Last edited by bobotoes; 07-17-2007 at 02:18 PM.
Old 10-04-2004, 11:40 AM   #2
Registered: Apr 2003
Location: Buenos Aires, Argentina
Distribution: Slackware, Gentoo
Posts: 397

Rep: Reputation: 30
You just need to add the loopback ( which will always point to your machine.

Just have:
Code:       localhost
in your /etc/hosts file.
Old 10-04-2004, 01:34 PM   #3
Registered: Sep 2004
Posts: 37

Original Poster
Rep: Reputation: 15
what is pcmcia? do i have it?
Old 10-04-2004, 01:35 PM   #4
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Is your computer a notebook/laptop? If not,
not likely ...

Old 10-04-2004, 01:39 PM   #5
Registered: Sep 2004
Posts: 37

Original Poster
Rep: Reputation: 15
my computer is a laptop... apple powerbook g4 1GHz (Tibook)

Old 10-04-2004, 01:49 PM   #6
Registered: Aug 2002
Posts: 14,744

Rep: Reputation: 1476Reputation: 1476Reputation: 1476Reputation: 1476Reputation: 1476Reputation: 1476Reputation: 1476Reputation: 1476Reputation: 1476Reputation: 1476
Most current laptops have PCMCIA capability.

PCMCIA - Personal Computer Memory Card International Association aka PC cards. A slot usually on the side of of the laptop where you can insert different devices. Some of the devices are modems, ethernet (wired & wireless), memory, i/o controllers like USB, SCSI, firewire etc... etc...

Last edited by michaelk; 10-04-2004 at 01:51 PM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
External Hosts Resolve but Local Hosts Do Not kjm9 Linux - Networking 7 11-19-2005 03:51 PM
nano hostmark101 Linux - Newbie 8 08-12-2005 06:53 PM
hosts.allow & hosts.deny question... jonc Linux - Security 9 03-05-2005 09:41 PM
nano using >99% of CPU!!! oudent Linux - Software 4 06-22-2004 11:41 PM
Adding shell commands to hosts.deny and hosts.allow ridertech Linux - Security 3 12-29-2003 03:52 PM

All times are GMT -5. The time now is 11:11 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration