LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-07-2007, 06:37 AM   #1
jwymore
LQ Newbie
 
Registered: Feb 2007
Location: N/A
Distribution: FedoraCore5
Posts: 7

Rep: Reputation: 0
How do i determine my IP address? How do i determine my host name?


In FedoraCore5 How do i determine my IP address? How do i determine my host name? How is firewalling accomplished in Linux? and How do i configure the firewall in both the GUI and CLI?
 
Old 02-07-2007, 07:11 AM   #2
jimbo1954
Member
 
Registered: Oct 2006
Location: High Wycombe, Bucks, UK.
Distribution: Debian and Fedora Core in equal measure
Posts: 264

Rep: Reputation: 33
1) To determine your IP address, issue the command:

ifconfig

the output will show a list of interfaces. If you have 1 Ethernet interface, you will see entries for Eth0, if you have 2 interfaces, you will see entries for Eth0 and Eth1. Both interfaces will have an IP address associated with them in the list of info. You will also see an "dummy" or loopback interface lo0, associated with address 127.0.0.1, which is the address applications need to use when sending data to other applications on the same machine.

2)to find your hostname, issue the command:

hostname


3) firewalls are built into the kernel in Linux, so all you need is to either know the commands for the kernel, or because that is pretty hard first time round, you can use a firewall manager. A good CLI-based one is "Shorewall", ( http://www.shorewall.net ) and very nice Gui-based one is "Firestarter" ( http://www.fs-security.com/ )...Ultimately, they all control IPTABLES (http://www.netfilter.org/ ) functions in the kernel

That's a pretty basic answer, post more details if you can be more specific about what you are trying to do

HTH
Jimbo
 
Old 02-07-2007, 07:30 AM   #3
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
homework anyone?
 
Old 02-07-2007, 08:42 AM   #4
jimbo1954
Member
 
Registered: Oct 2006
Location: High Wycombe, Bucks, UK.
Distribution: Debian and Fedora Core in equal measure
Posts: 264

Rep: Reputation: 33
"homework anyone?"

was that for me?...don't think I gave him bad info, did I??
 
Old 02-07-2007, 09:23 AM   #5
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
Quote:
Originally Posted by jimbo1954
was that for me?...don't think I gave him bad info, did I??
oh no, the OP... just a string of unrelated questions with no apparent background knowledge. sounds like a homework assignment or similar.
 
Old 02-07-2007, 09:57 AM   #6
jimbo1954
Member
 
Registered: Oct 2006
Location: High Wycombe, Bucks, UK.
Distribution: Debian and Fedora Core in equal measure
Posts: 264

Rep: Reputation: 33
Fair enough...I'm often tempted to flame posts like that...along the lines of "get up off yer ass and find out"...I got most of my Linux knowledge from Google, and so should they, but if you flame them, they will just get disillusioned and/or hassle someone else, or worse, revert to Windoze...maybe by making it easier, and posting a tag-line along the lines of "Google is your friend" I can shame them into some kind of self-reliance. That was where I was heading with:

"That's a pretty basic answer, post more details if you can be more specific about what you are trying to do"

The silly thing is, if you just post an answer, they won't learn, but they don't see it...Then they miss the buzz that comes from finally fixing a problem that's been bugging you for days...."sigh...I don't know, the youngsters of today..." Ow! Now I sound like my Dad! I'm off to reboot my walking frame!
 
  


Reply



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
Can't Determine IP Address basketkase999 Linux - Networking 4 11-20-2005 07:42 PM
How to determine IP address of ADSL router shazam75 Linux - Networking 3 09-24-2005 04:57 AM
How do I determine a computer's IP address? njschroe Linux - General 4 05-04-2005 05:53 AM
Determine IP Address with DHCP rock9604 Linux - General 3 08-20-2004 05:32 PM
proftpd - unable to determine IP address nathangg Linux - Networking 1 02-28-2003 06:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:07 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
Open Source Consulting | Domain Registration