==================================================================
Please DO NOT REPLY to this mail or send email to the developers
about this bug. Please follow-up to Bugzilla using this link:
http://bugs.contribs.org/show_bug.cgi?id=8120
Have you checked the Frequently Asked Questions (FAQ)?
http://wiki.contribs.org/SME_Server:Documentation:FAQ
Please also take the time to read the following useful guide:
http://www.chiark.greenend.org.uk/~sgtatham/bugs.html
==================================================================
Bug ID: 8120
Summary: Shows 'Host is up' but no client name or IP address
Classification: Contribs
Product: SME Contribs
Version: 8.0
Hardware: ---
OS: ---
Status: CONFIRMED
Severity: normal
Priority: P3
Component: smeserver-dhcpmanager
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Scan your network
Scanning your network, the time needed depends of your subnet mask
Modify to :
Scanning your network. Please wait - the scan time needed depends on your
subnet mask
Shows 'Host is up' but no client name or IP address ???
e.g. I get the following. First line has no latency. None have an IP address.
Host is up.
Host is up (0.00062s latency).
Host is up (0.00024s latency).
Host is up (0.00027s latency).
>From John crisp
I'm no Perl guru (in fact I know nothing about it) but it seems you could use
this :
http://perldoc.perl.org/Net/Ping.html
And maybe the example from here :
http://stackoverflow.com/questions/8007488/how-to-get-response-from-ping-c-1-example-com
use Net::Ping;
$p = Net::Ping->new();
print "$host is alive.\n" if $p->ping($host);
$p->close();
$p = Net::Ping->new("icmp");
$p->bind($my_addr); # Specify source interface of pings
foreach $host (@host_array)
{
print "$host is ";
print "NOT " unless $p->ping($host, 2);
print "reachable.\n";
sleep(1);
}
$p->close();
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Mail for each SME Contribs bug report
To unsubscribe, e-mail [email protected]
Searchable archive at http://lists.contribs.org/mailman/public/contribteam/