gettin the list of computers in network on Ubuntu lazarus / 32-Linux ---------------------------------------------------------------------- alehandro · 2014-02-25 08:42 On web i have found several solutions how to get list of computers in network on Windows platform, but none for Linux. BTW I've recently switched from Win to Ubuntu ... ---------------------------------------------------------------------- Rails · 2014-02-25 11:35 man nmap ---------------------------------------------------------------------- BigChimp · 2014-02-25 12:04 Quote from: Rails on February 25, 2014, 12:35:47 pmman nmap or perhaps on a plain vanilla Ubuntu: Code: [Select]sudo apt-get install nmap man nmap ... and you can parse e.g. the XML format it spits out. Also: Code: [Select]man ping and probably Code: [Select]man smbclient #not sure about name; perhaps you need to install samba tools as well depending on what OP wants exactly (e.g. is a computer something that respods to ping? Has an ftp share open? Provides nfs? Smb? ---------------------------------------------------------------------- alehandro · 2014-02-25 14:03 Thanks for the reply ill try it out. Aim of app is to be used in network (for daily business needs) and when it starts user can picks a computer from a list - where current and active database file is stored (firebird) and for that i needed the list of network computers. ---------------------------------------------------------------------- BigChimp · 2014-02-25 14:29 In that case, I'd first ping your subnet, then try to connect to the firebird port (3050 TCP by default, IIRC) to see if something (e.g. Firebird) is listening. HOWEVER, why don't you just use a config file with the server IP address/hostname? An admin will have to set up a Firebird server anyway? Quotecomputer [...] where current and active database file is stored (firebird) Note: FYI: if using Firebird for multiple users, you're supposed to use a server, not a file share with an fdb file on it and e.g. multiple embedded client. You may get data corruption, locking etc. Just thought I'd mention it. ---------------------------------------------------------------------- alehandro · 2014-02-25 14:52 QuoteNote: FYI: if using Firebird for multiple users, you're supposed to use a server, not a file share with an fdb file on it and e.g. multiple embedded client. You may get data corruption, locking etc. Just thought I'd mention it.well one machine has a firebird server installed and other users have fbclient.dll in applications directory. By picking up from the list server comp they connect to database on that machine. This is done in case something happens to server so a new server computer can easily replace it ( of course after installing fb server on it). Is this ok ? or im still getting something wrong? at least this is how i started it under windows ---------------------------------------------------------------------- BigChimp · 2014-02-25 16:28 @alehandro, no, that's fine.