List all computer names on network
Our former router would display: computer name, IP address, and MAC address. Here, you can see that our "new and improved" router (issued by our benevolent ISP) only displays IP and MAC. I was just wondering if there were any ways for me to display computer names to better assess if any unauthorized users are leeching onto our network.
One quasi-solution was the command:
sudo nbtscan -r 192.168.0.1/24
However, it only shows Windows client names, and only some of the time (for instance, it isn't displaying a roommate's laptop name, even though his laptop is online and running Windows).
ewaller wrote:Have you looked at Avahi?
This may just prove to be the philosopher's stone for which I've sought However, when I run the command to view network hosts, it only displays one, my roommate's Chromecast, and just kinda idles on that (I've redacted the username and IP):
root@Sera:~# avahi-browse -alr
+ eth0 IPv4 Username Chromecast _googlecast._tcp local
= eth0 IPv4 Username Chromecast _googlecast._tcp local
hostname = [Username\032Chromecast.local]
address = [192.168.x.xx]
port = [8009]
txt = ["ic=/setup/icon.png" "md=Chromecast" "ve=02" "id=ed346d0f9965c73d2328545b8f55166e"]
EDIT: I seemed to have missed the part about avahi-browse detecting computers with Avahi installed :\ So, that might explain why most of the computers on the network aren't showing up -- although it doesn't explain why Chromecast shows up.
Here's a screenshot of our old router, which shows the names of connected users. I'd think it wouldn't be so hard to implement this on a 'newer' router.
Last edited by apolyonn (2014-02-17 03:28:21)
Similar Messages
-
Need a query to list all table names
I have more than 500 tables in my database.
'insert_date' & 'update_date' columns are found in more than 100 tables with data type as date.
I need a query to list all table names and 'insert_date' , 'update_date' column's content.
Please Help
Lee1212
Message was edited by:
LEE1212I have more than 500 tables in my database.
'insert_date' & update_date column is found in more
than 100 tables with data type as date.
I need a query to list all table names and
'insert_date' column's content.What do you mean by "column's content". A table can have many rows. Do you want to display all the distinct value for these columns?
Below is the query to get the tables which has columns insert_Date and update_date
select table_name
from user_tab_columns
where column_name ='INSERT_DATE'
or column_name ='UPDATE_DATE'
/You can write a PL/SQL block to retrive the distinct values of INSERT_DATE for these tables
declare
TYPE ref_cur IS REF CURSOR;
insert_date_cur ref_cur;
lv_insert_date DATE;
cursor tables_list IS
select table_name
from user_tab_columns
where column_name ='INSERT_DATE';
begin
for cur_tables in tables_list
loop
OPEN insert_date_cur for 'SELECT DISTINCT insert_date from '||cur_tables.table_name;
DBMS_OUTPUT.PUT_LINE(cur_tables.table_name);
DBMS_OUTPUT.PUT_LINE('--------------------------------');
LOOP
FETCH insert_date_cur into lv_insert_date;
EXIT WHEN insert_date_cur%NOTFOUND;
DBMS_OUTPUT.PUT_LINE(lv_insert_date);
END LOOP;
CLOSE insert_date_cur;
end loop;
end;I haven't tested this code. There might be some errors. Just posted something to start with for you. -
Double computer name on network and NAT issue with Back to My Mac
These are the problems I am having:
When my MacPro workstation (which on the network is named "The Beast") wakes from sleep - I get a message saying "there is already a computer on the network with the name "The Beast". Other computers on the network can now find you at "The Beast-2"" and it gives me a new name in the file sharing preferences - even though it is the only computer on the network with that name.
Why is this happening???
The other problem is with BackTo My Mac - When I try to enable it - I get an error message saying "Turn off NAT Addressing" - which I thought was turned off since the AEBS is in Bridge Mode. Why is this happening?
Here is my network setup which consists of the Modem / Router from my ISP - an Airport Extreme Base Station and one Airport Express - which is connected to my MacPro via ethernet. The MacPro does not have an airport card installed and is running OSX 10.6.8 - all other computers / devices are running 10.7.x and iOS6).
VDSL Modem / Router (from Internet provider) with wireless turned off - (so it is not broadcasting a competing wireless signal) - connected via ethernet to my Airport Extreme Base Station.
Here are all the settings on the AEBS and the Airport Express: - I am using Airport Utility 5.6.1 on my Mac Pro running OSX 10.6.8 - so the setup prefs are different than the newer version of Airport Utility found on 10.7.x systems - but both work fine. Although I did notice that the option to allow ethernet clients to connect to the Airport Express does not exist (or I just didn't find it) in the newer version of Airport Utility.
Airport Extreme Base Station is set up as follows:
Wireless Mode: Create a Wireless Network
Wireless Settings:
Allow this network to be extended IS CHECKED
Radio Mode: 802.11n (b and g compatible)
Wireless Security: WPA/WPA2 Personal
Access Control:
MAC Address Access Control: Not Enabled
Internet Settings:
Internet Connection:
Connect Using: Ethernet
Connection Sharing: OFF (Bridge Mode).
TCP/IP:
Configure IPv4: Using DHCP
Advanced Settings:
Logging & Statistics:
Syslog Destination Address is blank (as in nothing appears in this field).
Syslog Level: 5 - Notice
Allow SNMP is CHECKED
MobileMe:
Back to my Mac is turned off - but if I try to turn it on I get an error message saying "Turn off NAT Addressing - which I thought was turned off since the AEBS is in Bridge Mode. Why is this happening?
IPv6:
IPv6 Mode: Link-local only
As stated - my MacPro with no wifi card - is connected via ethernet to an Airport Express which connects wirelessly to the AEBS for network and internet access.
Airport Express Settings:
Airport Settings:
Wireless Mode: Join a Wireless Network
Allow Ethernet Clients IS CHECKED
Wireless Security WPA/WPA2 Personal
Internet Settings: Are grayed out (as in I can't change these settings - I assume because they are being controlled by the AEBS) and read as follows:
Connect Using: Wireless Network
Connection Sharing: OFF (Bridge Mode)
TCP/IP:
Configure IPv4: using DHCP
All other settings are identical to the AEBS.
All other WiFi devices in the house (MacBook Pro, iPhones, iPad's, iMac, Apple TV, Nintendo Wii etc…all are able to connect to the network and connect to the internet - no problem.
Thanks for any insights into what might be causing the double name on the network and why it is asking me to turn off NAT addressing - when both my Airport devices are in Bridge Mode?I am also having this issue... any updates on this??
-
List all file names in a directory
Hello everybody,
I need to write a script in PL/SQL (oracle 10g) that lists all filenames in a specific directory on a client machine and import the files into the database (xml files). After the file is imported they have to be removed.
I was searching for a solution for this because I have never come accross a challenge like this.
What I found was that I could use the procedure dbms_backup_restore.searchfiles of the SYS schema.
Now I need to know how this procedure works. There is very little documentation available.
Can I give the procedure a folder name on my client computer that has the xml files and let the procedure list these files?
Can someone please help me with this. I haven't got a clue.
Thanks in advance.
regards,
MarianeHello Justin,
Thank you for your reply.
You have just confirmed what I already was thinking: that the server cannot read files from the client.
I haven't got a client application running to do this. My customer wants me to write a script in PL/SQL that enables users to run an import of xml files in the database by giving in a directory name on the client.
I told my customer that they have to put the xml files on a server directory. Should that always be the server where the database resides on?
Is there another way to solve this request?
Thanks in advance.
regards,
Mariane -
I want to list all of my wifi networks
Hello all, I would like to find out all of the wifi networks that my iphone has been connected to. How can I list these networks?
Thanks.
KevinNo such feature exists in iOS.
-
Hi,
Is there any way that I can list all the CONTEXT indexes I have against a table?
Basically I want to drop an index but have forgotten its name (oops!).
Thanks.Hi,
Try:
select index_name, index_type
from user_indexes
where table_name = '&table_name'
and index_type = 'DOMAIN';
Thanks,
Ron -
Why do I have multiple computer names in Network?
I have a problem since loading Yosemite. In my Network list I have 11 other names for the computer each with the original name followed by a number in brackets. Is there a way to delete these? Internet sharing is turned off. I do not yet use a time capsule. I also get a message saying another device is using the iMac's IP address when nothing else is.
The Calendar app pulls birthdays from the Contacts app.
If you also have another Birthday calendar with the same birthdays, they will show up twice. -
List all SQL servers on network
Hello,
I'm trying to find a way to produce a list of all the SQL servers running on a network and have been looking at the SQLDataSourceEnumerator GetDataSources method. However there is a note saying this may not show all the SQL servers and may return a different list each time it is called. I would be grateful if anyone has anymore information on why this will not always return a complete list and may be different each time or if anyone knows if there is a way I can get a list of SQL servers that is more consistent?
Thanks,
Carolineu can execute this code
Set NoCount On
Declare @CurrID int,@ExistValue int, @MaxID int, @SQL nvarchar(1000)
Declare @TCPPorts Table (PortType nvarchar(180), Port int)
Declare @SQLInstances Table (InstanceID int identity(1, 1) not null primary key,
InstName nvarchar(180),
Folder nvarchar(50),
StaticPort int null,
DynamicPort int null,
Platform int null);
Declare @Plat Table (Id int,Name varchar(180),InternalValue varchar(50), Charactervalue varchar (50))
Declare @Platform varchar(100)
Insert into @Plat exec xp_msver platform
select @Platform = (select 1 from @plat where charactervalue like '%86%')
If @Platform is NULL
Begin
Insert Into @SQLInstances (InstName, Folder)
Exec xp_regenumvalues N'HKEY_LOCAL_MACHINE',
N'SOFTWARE\Microsoft\Microsoft SQL Server\Instance Names\SQL';
Update @SQLInstances set Platform=64
End
else
Begin
Insert Into @SQLInstances (InstName, Folder)
Exec xp_regenumvalues N'HKEY_LOCAL_MACHINE',
N'SOFTWARE\Microsoft\Microsoft SQL Server\Instance Names\SQL';
Update @SQLInstances Set Platform=32
End
Declare @Keyexist Table (Keyexist int)
Insert into @Keyexist
Exec xp_regread'HKEY_LOCAL_MACHINE',
N'SOFTWARE\Wow6432Node\Microsoft\Microsoft SQL Server\Instance Names\SQL';
select @ExistValue= Keyexist from @Keyexist
If @ExistValue=1
Insert Into @SQLInstances (InstName, Folder)
Exec xp_regenumvalues N'HKEY_LOCAL_MACHINE',
N'SOFTWARE\Wow6432Node\Microsoft\Microsoft SQL Server\Instance Names\SQL';
Update @SQLInstances Set Platform =32 where Platform is NULL
Select @MaxID = MAX(InstanceID), @CurrID = 1
From @SQLInstances
While @CurrID <= @MaxID
Begin
Delete From @TCPPorts
Select @SQL = 'Exec xp_instance_regread N''HKEY_LOCAL_MACHINE'',
N''SOFTWARE\Microsoft\\Microsoft SQL Server\' + Folder + '\MSSQLServer\SuperSocketNetLib\Tcp\IPAll'',
N''TCPDynamicPorts'''
From @SQLInstances
Where InstanceID = @CurrID
Insert Into @TCPPorts
Exec sp_executesql @SQL
Select @SQL = 'Exec xp_instance_regread N''HKEY_LOCAL_MACHINE'',
N''SOFTWARE\Microsoft\\Microsoft SQL Server\' + Folder + '\MSSQLServer\SuperSocketNetLib\Tcp\IPAll'',
N''TCPPort'''
From @SQLInstances
Where InstanceID = @CurrID
Insert Into @TCPPorts
Exec sp_executesql @SQL
Select @SQL = 'Exec xp_instance_regread N''HKEY_LOCAL_MACHINE'',
N''SOFTWARE\Wow6432Node\Microsoft\\Microsoft SQL Server\' + Folder + '\MSSQLServer\SuperSocketNetLib\Tcp\IPAll'',
N''TCPDynamicPorts'''
From @SQLInstances
Where InstanceID = @CurrID
Insert Into @TCPPorts
Exec sp_executesql @SQL
Select @SQL = 'Exec xp_instance_regread N''HKEY_LOCAL_MACHINE'',
N''SOFTWARE\Wow6432Node\Microsoft\\Microsoft SQL Server\' + Folder + '\MSSQLServer\SuperSocketNetLib\Tcp\IPAll'',
N''TCPPort'''
From @SQLInstances
Where InstanceID = @CurrID
Insert Into @TCPPorts
Exec sp_executesql @SQL
Update SI
Set StaticPort = P.Port,
DynamicPort = DP.Port
From @SQLInstances SI
Inner Join @TCPPorts DP On DP.PortType = 'TCPDynamicPorts'
Inner Join @TCPPorts P On P.PortType = 'TCPPort'
Where InstanceID = @CurrID;
Set @CurrID = @CurrID + 1
End
Select serverproperty('ComputerNamePhysicalNetBIOS') as ServerName, InstName, StaticPort, DynamicPort,Platform
From @SQLInstances
Set NoCount Off -
How does one flush old computer names from network finder?
Whenever I select Network from the Go->Networks Finder menu item, the list of networked computers that appear in the finder includes names of computers that no longer exist on my network. I have tried reinitializing the com.apple.finder.plist and com.apple.recentitems.plist without success. I am running Yosemite and this problem appears on all 3 of my Macs (iMac, mini, and MB Pro). Does anyone know how to clear this list?
Welcome
You may also need to delete the Safari Forms AutoFill keychain. -
2012 R2 RDS Shadowing from Server Manager - how to view client computer names
Hello,
I have a 2012R2 RDS session based deployment. We have a few generic user accounts for a production environment where a group of users uses the same username to start multiple RDS sessions. This creates a bit of a challenge when support has to shadow one
of those sessions because they all appear with the same name: domain\username. The Connections pane in RDS (Server manager) does not list client computer name, which would be the distinguishing factor. The old version of the RDS console (remote
desktop manager) had this information. Citrix appears to have it as well. Is there a way around this limitation in 2012R2 Server Manager?
ThanksHi,
As far as I know, there are two ways.
1. Use the Task Manager. In the Users Tab, you can see the client name.
http://social.technet.microsoft.com/Forums/en-US/1d571c01-69ff-4508-af0f-d7eeecd806b6/forum-faq-how-to-manage-rds-user-connections-and-processes-in-a-rds-2012-deployment?forum=winserverTS
2. Use the Terminal Services PowerShell Module. With the Get-TSSession in PowerShell, we can get the detailed information.
http://archive.msdn.microsoft.com/PSTerminalServices
Hope this helps.
Jeremy Wu
TechNet Community Support -
How to list all .URL shortcuts on multiple computers desktops
I've been searching to find a Powershell script that polls a list of computer names and then returns a list of the .URL shortcuts along with their targets from the logged in users desktop.
Does anyone know if there is one out there or at least point me in the right direction?
Thanks$strComputer = Get-Content C:\ps\test.txt
function Get-DesktopShortcuts
$Shortcuts = Get-ChildItem -Recurse ~\desktop\ -Include *.url
$Shell = New-Object -ComObject WScript.Shell
foreach ($computer in $strComputer)
foreach ($Shortcut in $Shortcuts)
$Properties = @{
Computer = $computer.Name
ShortcutName = $Shortcut.Name
Target = $Shell.CreateShortcut($Shortcut).targetpath
New-Object PSObject -Property $Properties
[Runtime.InteropServices.Marshal]::ReleaseComObject($Shell) | Out-Null
$Output = Get-DesktopShortcuts
$Output
$Output | Export-Csv C:\ps\shortcut.csv
This is what I've put together but seems to only show a single url for each computer even though I know there are multiple .url files on the desktop for each computer. Plus it is outputting only google.com shortcuts. Hmmm -
Hi all ,
i need help with small problem ,
i tried to create new script that know get all computer names that start with " ISR..." And then move them to another ou ,
i have 2 convention name on my organization name , 1 - ISR , 2 -TLV .
some computers :
ISR2
ISR3
ISR4
some computers :
TLV2
TLV3
TLV3
i tried this command "
Get-ADComputer -Filter * {Name -Like "TLV,"} Error :
Get-ADComputer : A positional parameter cannot be found that accepts argument 'Name -Like "TLV"'.
At line:1 char:15
+ Get-ADComputer <<<< -Filter * {Name -Like "TLV"}
+ CategoryInfo : InvalidArgument: (:) [Get-ADComputer], ParameterBindingException
+ FullyQualifiedErrorId : PositionalParameterNotFound,Microsoft.ActiveDirectory.Management.Commands.GetADComputer
or if have another option -command can read both computers name and then move them
My Website:www.Pelegit.co.il Mcitp /Mcsa 2012Lol , My friend i dound that command in another website and it is working but thank you so much !
what about 2 differet name ?
Possible ?
Get-ADComputer -Filter {Name -like "TLV*,ISR*"}
My Website:www.Pelegit.co.il Mcitp /Mcsa 2012
You would need separate statements like
-Filter {(Name -Like "TLV*") -and (Name -Like "ISR*")}
If you find that my post has answered your question, please mark it as the answer. If you find my post to be helpful in anyway, please click vote as helpful.
Don't Retire Technet -
Unix command to make list of file name
Hi Gurus,
I have seen post how to process multiple file from johngoodwin.blogspot.com.
But what is the equlivalent command in unix to list all file names.
I want one text file will contain all text file name and another text file will contain all csv filenames.
Need some suggestion.Please help.
Thanks in advance.Hi please follow below steps.
vi yourfilename.sh
then in edit mode put your command
then save it by pressing esc : q (escape colon q)
Now your file will be there. just run that script file in OS Command.But that file should be accessible or else give the full path for that script file.
Thanks -
How to list all filename in excuteable jar file?
Hi there,
i've been googling around for hours, but found no good answer :(
i want listing all file name in my excuteable jar file
Firstly, i use
File f = new File("/sounds");
String[] filenames = f.list();
and use these filenames to load some resouces from url
//ex
URL url = getClass().getResource("/sounds/"+filenames);
No problem occurs when i run it normally
but when I put it in excuteable jar file, NullPointerException appears
i think it's because : "File f = new File("/sounds");" doesn't work in jar file (somehow, i don't know why too)
is there any alternative way to listing all filename in this situation?
thanks in advanceThere are jar handling classes in the standard library under java.util.jar. I think JarFile is the one you want.
Hower it's not good practice to list jar contents in order to read resources. It's better to have some kind of resource file in the jar which lists your sounds or whatever. A simple text file with one file name per line suffices. -
List all file namess under a dba_directory.
Guys,
It there any way that I can get all the file names in a dba_directory..
ie.
SQL> select * from dba_directories;
OWNER DIRECTORY_NAME DIRECTORY_PATH
SYS ATTACH_FILES C:\PLSQL
Now I'm looking for a SQL query\PL-SQL block to list all file names under C:\PLSQL.
Guidance plz.
Thanks,
BhagatThere's an Ask Tom thread here:
http://asktom.oracle.com/pls/ask/f?p=4950:8:::::F4950_P8_DISPLAYID:439619916584
shows how to do this with a Java stored procedure.
HTH
Regards Nigel
Maybe you are looking for
-
Find Friends App has not been working for several weeks now. Anyone else experiencing issues with the app? It states that the location of friends can not be found.
-
Schema Mapping in Data Service Integrator
Hi, I'm just examining some schema mapping programs like BizTalk, Altova and IBM Rational Data Architect, and now found Oracle Data Service Integrator which might be a similiar tool. Actually I found out about Data Service Integrator via BeQ AquaLogi
-
Hi Experts, I have created a zclass ZL_BP_DATA_MARKETINGATTR5_CN00 keeping class CL_BP_DATA_MARKETINGATTR5_CN00 as super. Now when I am tryng to activate it, I am getting an syntax error "Type LCL_VALUEHELP_FOR_ATTR_SET is unknown". When I double cli
-
Cannot download Adobe reader. What is error cod 150105?
I have a very old laptop. It runs windows XP-32, with Service Pack 3 loaded on it (and those are the only numbers I know connected to my computer). I run Flashplayer 11 and Java 7.11 on it. my Internet connection is Internet explorer. It cannot run
-
Just wondering is there any job offers related to Labview programming in Singapore? or Malaysia? There seems not many opportunities in these two countries for labview user !? Labview programming in Singapore? or Malaysia? Regards ian [email protected