Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm on a school network and the ip isn't static, so how do I find out my ip in linux...? I'm a linux newbie, just running it for a counter-strike server, although it'll probably be a good skill for jobs later if I'm ambitious in learning it..
You should get an output like the following:
eth0 Link encap:Ethernet HWaddr 00:A0:C9:DB:AB:E6
inet addr:140.211.139.173 Bcast:140.211.139.255
(With more down below this)
ETH0 is the first network card! I didnt show the rest because there are a few network cards in this machine. You will notice an interface called lo at the bottom that is your loopback interface but the value you are looking for is (inet addr:) as you can see at the moment the IP address of my first network card is 140.211.139.173 hope this helps.
Chances are that your school is using DHCP (Dynamic Host Contiguration Protocol) or BOOTP (I can't remember what this one stands for) which are mostly compatible. DHCP is a newer, slicker version of the same protocol. I know that Linux supports both of these protocols, but there *is* a mini-HOW-TO on DHCP (check http://www.linuxdoc.org).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.