LinuxQuestions.org
Review your favorite Linux distribution.
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 06-23-2004, 02:35 AM   #1
allenpanther
LQ Newbie
 
Registered: Jan 2004
Posts: 6

Rep: Reputation: 0
Fedora 2 and /etc/hosts...


FC2 doesn't seem to have set itself up correctly upon install....it wants me to add the physical address of my etherlink card to /etc/hosts...? (Here I am frustrated and using WinSucks, again...)

RH9 demanded the same, ages ago, and I did it and everything worked fine ( but I forget the exact edit of /etc/hosts that achieved it...).

At present my /etc/hosts contains only;

__________________________

#(you know)
#(etc)
127.0.0.1 localhost.localdomain hostname localhost
__________________________

Where do I insert the x1-6-00-etc...?


Thanks, folks...-Allen (newbie all over again)
 
Old 06-23-2004, 06:42 AM   #2
Vlad-A
Member
 
Registered: May 2004
Location: Vienna, Austria
Distribution: Open SuSE 11, Mac OS X 10.5
Posts: 299

Rep: Reputation: 32
Are you sure it's in the /etc/hosts ?

If you refer to the MAC address as physical adress then it's entered in
/etc/sysconfig/network-scripts/ifcfg-cardname

so in the case we are talking about eth0
it's in

/etc/sysconfig/network-scripts/ifcfg-eth0
In this file you shall enter
HWADDR=XX:YY:ZZ....

where XX:YY:ZZ...... ist your MAC address
 
  


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
hosts.allow & hosts.deny question... jonc Linux - Security 9 03-05-2005 10:41 PM
Adding shell commands to hosts.deny and hosts.allow ridertech Linux - Security 3 12-29-2003 04:52 PM
hosts.deny and hosts.allow defaults? gui10 Linux - Security 5 12-20-2001 02:57 AM
hosts.allow / hosts.deny fistz Linux - Newbie 1 04-19-2001 08:00 PM


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

Main Menu
Advertisement
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