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?
|
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 |
homework anyone?
|
"homework anyone?"
was that for me?...don't think I gave him bad info, did I??
|
Quote:
|
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! |
All times are GMT -5. The time now is 03:34 AM. |