LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Local IP address (https://www.linuxquestions.org/questions/linux-networking-3/local-ip-address-122077/)

R4NG3R 12-02-2003 05:27 PM

Local IP address
 
i really need a command to find my local ip address ex. 192.168.1.xxx anyone know?

XavierP 12-02-2003 05:28 PM

ifconfig

R4NG3R 12-02-2003 05:33 PM

ooo thank you sir, nice quick reply too!

XavierP 12-02-2003 05:36 PM

no probs. don't forget that "man ifconfig" will give you other ways to use it.

R4NG3R 12-02-2003 05:41 PM

um! i did the man ifconfig and i read through it and i got to the bottom, how do i get out of it? it just says

(END)

i pushed F3 and END and enter and space bar, nothin happends, what do i do?

XavierP 12-02-2003 05:43 PM

Try q or enter

R4NG3R 12-02-2003 05:47 PM

that worked, hten i typed if address and i got all these
>
>
>
>
>
and i press enter i get a new one, Q doesn't work, neither do any of the F keys. wow i'm really good at this huh.

XavierP 12-02-2003 05:49 PM

Escape?

teval 12-02-2003 05:49 PM

ifconfig

If will get you into a loop like that curtesy of bash commandline scripts (very useful actually)

Press CTRL+C

R4NG3R 12-02-2003 05:54 PM

i have a friend who helps me, i got it with CTRL + ALT + F3. logged me out but its' oaky, thanks!

R4NG3R 12-02-2003 05:57 PM

uh ho.. nother problem, i set DNS hosts like Comp100, Comp101, Comp102 etc. my linux was Linux102, now its [root@localhost root] it used to be [root@linux102] foudn out it's DMZ was changed from 102 to 105. how do i fix it? and why does it do that, it's happend before too

teval 12-02-2003 06:33 PM

CRTL alt <something>
Doesn't log you out.
That's the beauty of Linux, you can be logged on more then once.
Try CTRL ALT F2 then CTRAL ALT F1 you'll see that you're just moving between what are called tty terminals (actually those kind of terminals more specifically are pty, but generally doesn't make much of a difference)

zaphodiv 12-03-2003 09:18 PM

>uh ho.. nother problem,
it might help if you post your /etc/hosts file
I assume thats what you are messing with.
>foudn out it's DMZ was changed from 102 to 105
eh? You mean the last digit of it's ip address?
If it's allocated with DHCP then talk to your network administrator.

R4NG3R 12-03-2003 09:53 PM

i am the network administrator


All times are GMT -5. The time now is 09:28 AM.