[SLL] script works but improvement desirable

William Kreuter billyk at drizzle.com
Mon Apr 28 10:38:36 PDT 2008


I want to connect my RHEL 3-5 boxen to my winXP
laptop via vncviewer and rdesktop.  The laptop's
addresses are assigned by DHCP and change
occasionally.  The following is suitable for a
script, but only as long as I've initiated a
connection from the laptop's My Network Places to
the Linux box:

vncviewer `smbstatus|grep -i laptop-netbios-name|cut -f2 -d'('|cut -f1 -d')'`

I can't find a tool to map the netbios name to its
IP, so that I don't need to connect from the laptop
first.

Billy



More information about the linux-list mailing list