Visit Jeremy's Blog.
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, 12:20 PM   #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 03:18 PM.
Old 10-04-2004, 12:40 PM   #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, 02:34 PM   #3
Registered: Sep 2004
Posts: 37

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

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

Old 10-04-2004, 02: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, 02:49 PM   #6
Registered: Aug 2002
Posts: 13,455

Rep: Reputation: 1106Reputation: 1106Reputation: 1106Reputation: 1106Reputation: 1106Reputation: 1106Reputation: 1106Reputation: 1106Reputation: 1106
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 02: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 04:51 PM
nano hostmark101 Linux - Newbie 8 08-12-2005 07:53 PM
hosts.allow & hosts.deny question... jonc Linux - Security 9 03-05-2005 10:41 PM
nano using >99% of CPU!!! oudent Linux - Software 4 06-23-2004 12:41 AM
Adding shell commands to hosts.deny and hosts.allow ridertech Linux - Security 3 12-29-2003 04:52 PM

All times are GMT -5. The time now is 03:42 PM.

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