Windows commands are not going to help on linux, No Net View command in ubuntu. There is a Net command is some linux distros through.
Jay
November 8, 2011 at 11:57 am
You can use dos and dos commands on dos commands using dosbox or wine.
type: net view and hit enter
Richard Carpenter
November 8, 2011 at 12:20 pm
But dosbox and wine are limit to there own enclosed environment, and can not really be used for network management. They are both just emulators.
Richard Carpenter
November 8, 2011 at 9:54 am
I just had a thought... Are these computers yours or company computers? The reason I ask is because a lot of the software we have recommended would violate a companies security policy really fast and in a hurry.
That is a really good piece of software, I use it when I am getting a preliminary look at a network. Can not beat it.
Richard Carpenter
November 8, 2011 at 9:17 am
The best way is to go to each computer and use the ifconfig command. There is no easy command, meaning just one command or a even a piped command, that will list all IPs on a network. Wish it were, Make my job a lot easier.
Also, the MAC addresses of each NIC card will also benefit you. It is easy to take shutdown a computer and take its IP, but slightly harder to successfully spoof a MAC, and no way to behind a real firewall.
Nithya
November 8, 2011 at 9:11 am
I have 3 laptops connected to each other in adhoc mode (No router is used). I can ping them successfully, meaning that they are all connected. Now am looking for a command to list the ip addresses of all computers in the network so that i'll know if a new user comes in.
Jeff Fabish
November 8, 2011 at 9:15 am
Nithya, try the ARP utility as I stated previously. Did you check your router's interface to see if it has a feature to show devices that are currently connected?
Netstat should not help too much. The computer would be broadcasting, but would not actually be connected in that way.
Richard Carpenter
November 8, 2011 at 9:04 am
Well, this is a bit old if you they to use programs native in Ubuntu. Mainly because Unix and Windows don't get along the best on a network. I would recommend running Wireshark, an IP scanner, as Jeff Fabish mentioned. That will show you everything on your network broadcasting information across it.
There is another really good way to do this using AirSnare in Windows, or you can use Kismet in Linux. You would have to get the MACs for all of your computers first. Then, once you have those, put the into the program of your choosing and if a unrecognized computer connects to your network it warn you, if setup properly.
Jeff Fabish
November 8, 2011 at 8:40 am
If you have setup file sharing, you can just go to Places ? Network. Otherwise, your system would have to be the host of a DMZ to read the networking activity directly. The easiest way of seeing what IP Address are connected to your network is to log into your router's interface, it should have a management area to identify which computers are currently connected.
However, if you can't find it post your router information and I'll help you. You can alternatively use an IP scanner to scan your entire subnet for live systems.
(sudo) nmap -sP 192.168.1.0/24 for ping 256 last ip in your network
dos command net view tells you the names of connected computers.
you can use ms dos by installing dosbox.
http://ubuntuforums.org/showthread.php?t=417458
Windows commands are not going to help on linux, No Net View command in ubuntu. There is a Net command is some linux distros through.
You can use dos and dos commands on dos commands using dosbox or wine.
type: net view and hit enter
But dosbox and wine are limit to there own enclosed environment, and can not really be used for network management. They are both just emulators.
I just had a thought... Are these computers yours or company computers? The reason I ask is because a lot of the software we have recommended would violate a companies security policy really fast and in a hurry.
Check out the arp-scan command - you will probably have to install it:
sudo apt-get install arp-scan
http://manpages.ubuntu.com/manpages/hardy/man1/arp-scan.1.html
That is a really good piece of software, I use it when I am getting a preliminary look at a network. Can not beat it.
The best way is to go to each computer and use the ifconfig command. There is no easy command, meaning just one command or a even a piped command, that will list all IPs on a network. Wish it were, Make my job a lot easier.
Also, the MAC addresses of each NIC card will also benefit you. It is easy to take shutdown a computer and take its IP, but slightly harder to successfully spoof a MAC, and no way to behind a real firewall.
I have 3 laptops connected to each other in adhoc mode (No router is used). I can ping them successfully, meaning that they are all connected. Now am looking for a command to list the ip addresses of all computers in the network so that i'll know if a new user comes in.
Nithya, try the ARP utility as I stated previously. Did you check your router's interface to see if it has a feature to show devices that are currently connected?
That is a really good point....
may be netstat command can help, i am not sure.
it is used for monitoring network activity woth several options.
http://www.basicconfig.com/linuxnetwork/netstat
http://stackoverflow.com/questions/4338298/ubuntu-netstat-command-howto-keep-it-updating
http://linuxpoison.blogspot.com/2008/07/how-to-use-netstat.html
Netstat should not help too much. The computer would be broadcasting, but would not actually be connected in that way.
Well, this is a bit old if you they to use programs native in Ubuntu. Mainly because Unix and Windows don't get along the best on a network. I would recommend running Wireshark, an IP scanner, as Jeff Fabish mentioned. That will show you everything on your network broadcasting information across it.
There is another really good way to do this using AirSnare in Windows, or you can use Kismet in Linux. You would have to get the MACs for all of your computers first. Then, once you have those, put the into the program of your choosing and if a unrecognized computer connects to your network it warn you, if setup properly.
If you have setup file sharing, you can just go to Places ? Network. Otherwise, your system would have to be the host of a DMZ to read the networking activity directly. The easiest way of seeing what IP Address are connected to your network is to log into your router's interface, it should have a management area to identify which computers are currently connected.
However, if you can't find it post your router information and I'll help you. You can alternatively use an IP scanner to scan your entire subnet for live systems.