On Tue, 26 Aug 2003 10:49:44 -0700 Vineet Kumar wrote:
> * Carlos Sousa ([EMAIL PROTECTED]) [030826 07:25]:
> > On Mon, 25 Aug 2003 18:53:47 -0700 Vineet Kumar wrote:
> > > * Joe Emenaker ([EMAIL PROTECTED]) [030825 17:03]:
> > > > Is there some Debian tool that would let me specify an IP and a
> > > > message and it would handle the delivery without making me
> > > > bother with finding out the NetBIOS name, etc.?
> > > 
> > > Did you try smbclient's -I option?
> > 
> > Seems to need the netbios name all the same.
> 
> I haven't tried it

I have.

$ echo 'hello' | smbclient -M pc-049
added interface ip=127.0.0.1 bcast=127.255.255.255 nmask=255.0.0.0
added interface ip=192.168.0.1 bcast=192.168.0.255 nmask=255.255.255.0
Connected. Type your message, ending it with a Control-D
sent 7 bytes

$ echo 'hello' | smbclient -I 192.168.0.67 -M pc-049
added interface ip=127.0.0.1 bcast=127.255.255.255 nmask=255.0.0.0
added interface ip=192.168.0.1 bcast=192.168.0.255 nmask=255.255.255.0
Connected. Type your message, ending it with a Control-D
sent 7 bytes

$ echo 'hello' | smbclient -I 192.168.0.67 -M XXXXXX
added interface ip=127.0.0.1 bcast=127.255.255.255 nmask=255.0.0.0
added interface ip=192.168.0.1 bcast=192.168.0.255 nmask=255.255.255.0
session request failed

> , so I could be wrong, but:
> ...
> ... then so is the man page.

Apparently.

Cheers,

-- 
Carlos Sousa
http://vbc.dyndns.org/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to