Quote:
Originally Posted by
busoh.sensen
last -i ==> this just local pc
Are you sure that someone (you?) did log in into the Linux computer from another computer?
"last -i" shows ALL logins, from anywhere.
"last -i | grep 192" will filter the output from last -i and show only the lines which has got 192. The "| grep 192" is a second, independent command which filters the output from the first command.
Quote:
Originally Posted by
busoh.sensen
but, the good news my laptop is detect from another windows pc. any idea/ways to knows another IP in my network (LAN)?
I am not sure that I understand the question. I did explain how to perform broadcast ping. What IP are you looking for?
To find out your own IP address on the Linux computer, run ifconfig.
On the Windows computer, install "putty". Putty can login to a remote Linux or Unix computer ... but only if the Linux computer is configured to allow logins from remotely.
In the good old days Linux computers used to allow this by default. Now many Linux distributions do not include the software to allow remote login by default. For example Ubuntu Server version includes an SSH daemon, but Ubuntu desktop version does not.
In Ubuntu or Debian or any derivative Linux or any linux that uses APT for software package management, run this command to install the SSH daemon:
sudo apt-get install sshd
Note: Many Unix services are called daemons.
It will find the software, download it, install it, configure it and activate it automatically.
To check if your computer allows remote login via SSH, run this command:
netstat -a | grep -i ssh
If there is something that states LISTENING then you can connect with an SSH client such as "Putty".
P.S You are not disturbing. Feel free to ask as many questions, but you should also try to google search to find these answers. I do know however that the "vocabulary" is new and in the beginning it is difficult to know what to google and how to sift through the plethora of results that you get. I still struggle with it and I've only been using Unix since 1989 and Linux since 1991.