LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 12-02-2003, 05:27 PM   #1
R4NG3R
LQ Newbie
 
Registered: Dec 2003
Posts: 7

Rep: Reputation: 0
Local IP address


i really need a command to find my local ip address ex. 192.168.1.xxx anyone know?
 
Old 12-02-2003, 05:28 PM   #2
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
ifconfig
 
Old 12-02-2003, 05:33 PM   #3
R4NG3R
LQ Newbie
 
Registered: Dec 2003
Posts: 7

Original Poster
Rep: Reputation: 0
ooo thank you sir, nice quick reply too!
 
Old 12-02-2003, 05:36 PM   #4
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
no probs. don't forget that "man ifconfig" will give you other ways to use it.
 
Old 12-02-2003, 05:41 PM   #5
R4NG3R
LQ Newbie
 
Registered: Dec 2003
Posts: 7

Original Poster
Rep: Reputation: 0
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?
 
Old 12-02-2003, 05:43 PM   #6
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
Try q or enter
 
Old 12-02-2003, 05:47 PM   #7
R4NG3R
LQ Newbie
 
Registered: Dec 2003
Posts: 7

Original Poster
Rep: Reputation: 0
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.
 
Old 12-02-2003, 05:49 PM   #8
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
Escape?
 
Old 12-02-2003, 05:49 PM   #9
teval
Member
 
Registered: Jul 2003
Location: Toronto, Canada
Distribution: Gentoo
Posts: 720

Rep: Reputation: 30
ifconfig

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

Press CTRL+C
 
Old 12-02-2003, 05:54 PM   #10
R4NG3R
LQ Newbie
 
Registered: Dec 2003
Posts: 7

Original Poster
Rep: Reputation: 0
i have a friend who helps me, i got it with CTRL + ALT + F3. logged me out but its' oaky, thanks!
 
Old 12-02-2003, 05:57 PM   #11
R4NG3R
LQ Newbie
 
Registered: Dec 2003
Posts: 7

Original Poster
Rep: Reputation: 0
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
 
Old 12-02-2003, 06:33 PM   #12
teval
Member
 
Registered: Jul 2003
Location: Toronto, Canada
Distribution: Gentoo
Posts: 720

Rep: Reputation: 30
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)
 
Old 12-03-2003, 09:18 PM   #13
zaphodiv
Member
 
Registered: Oct 2003
Distribution: Slackware
Posts: 388

Rep: Reputation: 30
>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.
 
Old 12-03-2003, 09:53 PM   #14
R4NG3R
LQ Newbie
 
Registered: Dec 2003
Posts: 7

Original Poster
Rep: Reputation: 0
i am the network administrator
 
  


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
qmail: how to hide Local IP address inaki Linux - Security 3 08-03-2005 09:42 AM
DNAT local address range? MadCactus Linux - Security 5 11-20-2003 09:47 AM
finding local IP address flynnhandley Linux - Software 2 10-08-2003 04:08 AM
get local ip address DKY Linux - Newbie 8 07-25-2003 09:35 AM
local address confusion hcmk Linux - Newbie 1 08-26-2002 09:40 AM

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

All times are GMT -5. The time now is 02:19 PM.

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