LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices

Reply
 
Search this Thread
Old 10-04-2004, 12:20 PM   #1
bobotoes
Member
 
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?

thanks.

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

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

Just have:
Code:
127.0.0.1       localhost
in your /etc/hosts file.
 
Old 10-04-2004, 02:34 PM   #3
bobotoes
Member
 
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
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,999
Blog Entries: 11

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



Cheers,
Tink
 
Old 10-04-2004, 02:39 PM   #5
bobotoes
Member
 
Registered: Sep 2004
Posts: 37

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

thanks.
 
Old 10-04-2004, 02:49 PM   #6
michaelk
Moderator
 
Registered: Aug 2002
Posts: 12,048

Rep: Reputation: 758Reputation: 758Reputation: 758Reputation: 758Reputation: 758Reputation: 758Reputation: 758
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...

http://www.webopedia.com/TERM/P/PCMCIA.html

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


Reply


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 04:00 AM.

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