Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
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.
Hi,
I am on a network with all computers on the same domain.
It is a network system in which users have logins and quotas.
Is there a way to find out the hostname of a computer on which a user(specified by the username) is logged on?
Hi,
'w -f' does the same thing as w.
I need to find users online on a network.
For Example, if X is logged on to the computer beside me. i need a command which'll tell me that X has logged on to the computer beside me(in terms of IP).
Hi,
'w -f' does the same thing as w.
I need to find users online on a network.
For Example, if X is logged on to the computer beside me. i need a command which'll tell me that X has logged on to the computer beside me(in terms of IP).
Pramod
"who" or "w" will show who is logged onto the current machine (and display the ip from where they are connected, like if someone ssh's into the box)
Are you talking about people logged into their own machines? Like bob starts up his xp machine on the network you are on, and you want to know bob's ip address?
I don't think you'll be able to do that unless you are using some form of central authentication such as NIS or LDAP.
A program you can use to look up remote logons is 'finger' but it is not secure; I've never used it and I don't recommend it.
If your are running Samba on all the computers then you'll be able to view the NetBIOS Table which gets copied to all the computers. For that you can use the program 'nbtscan' on your LAN - it will print the computer name, ip address and sometimes the mac address too - I always thought of that as another reason why Windows networking is so insecure.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.