On 05/02/2007 Max Hyre wrote: > Dear Debianists: > > Between two successive calls to ping, it crapped out. > (Tried twice in a row because I had a flaky DSL connection, > and wanted to see whether it had decided to join the party.) > > ============================== > [EMAIL PROTECTED]:~# ifup eth0 > <snip> > DHCPACK from 192.168.0.1 > bound to 192.168.1.64 -- renewal in 14 seconds. > [EMAIL PROTECTED]:~# ping -n 1 www.debian.org > ping: unknown host www.debian.org > [EMAIL PROTECTED]:~# ping -n 1 www.debian.org > connect: Invalid argument > ==============================
I guess that the problem is '-n 1'. According to the ping manpage, the option '-n' takes no argument: -n Numeric output only. No attempt will be made to lookup symbolic names for host addresses. resivo:~# ping -n 1 www.debian.org connect: Invalid argument resivo:~# ping -n www.debian.org PING www.debian.org (194.109.137.218) 56(84) bytes of data. 64 bytes from 194.109.137.218: icmp_seq=1 ttl=56 time=27.9 ms ... jonas
signature.asc
Description: Digital signature