Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Samba: resolve NETBIOS => IP
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
LucaMartinetti
n00b
n00b


Joined: 23 Jan 2003
Posts: 44
Location: Rome [IT]

PostPosted: Fri Mar 14, 2003 3:26 pm    Post subject: Samba: resolve NETBIOS => IP Reply with quote

I've a small home network with 2 pc (one as a download server running gentoo and the other dualboot WinXp / gentoo) and samba running fine. ;-)
The IP addresses of my machines are assigned dynamicaly by the DHCP server of my ISP.
So, is there an utility to translate the NETBIOS name of the samba server to his IP address?
It will be good to use this in boot scripts to adjust some config files and bookmarks.. thank you!
_________________
http://www.phatsoft.net
Back to top
View user's profile Send private message
tgoodaire
Tux's lil' helper
Tux's lil' helper


Joined: 31 Jan 2003
Posts: 145
Location: Dartmouth, Nova Scotia, Canada

PostPosted: Sat Mar 15, 2003 12:03 am    Post subject: Hmm. Reply with quote

I'm not 100% sure what you need to do this for (is it a problem mounting smb shares on boot?), but the output of
Code:
 smbclient -L //SERVERNAME
will include the IP address.

I can give you some more help if you let me know what exactly you're trying to do.

:P
Back to top
View user's profile Send private message
LucaMartinetti
n00b
n00b


Joined: 23 Jan 2003
Posts: 44
Location: Rome [IT]

PostPosted: Sat Mar 15, 2003 12:47 pm    Post subject: Reply with quote

No, I can mount samba partition with no problem.. I just need the ip address of the server for mldonkey_gui.. and I'm looking for a way to automate that :) thank you
_________________
http://www.phatsoft.net
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum