Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (2) </ [1] 2 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Hostname resolving in a mixed network (Linux, Win)< Next Oldest | Next Newest >
bert Offline





Group: Members
Posts: 5
Joined: July 2006
Posted: Sep. 24 2007,12:03 QUOTE

Hello!
I have a question concerning hostname resolving. My DSL box runs on a network with many windows workstations (windows domain) attached. Until now I always used the ip adress to access it (ping, httpd etc.).

But I discovered that my windows machine can also find it by using the hostname. How does windows do that? Does DSL register somewhere in the windows network during boot?

Regards
Bert
Back to top
Profile PM 
Juanito Offline





Group: Members
Posts: 1601
Joined: Sep. 2005
Posted: Sep. 24 2007,12:12 QUOTE

The base dsl system has the samba (windows networking) configuration file, smb.conf, and a couple of other samba bits & pieces (eg smbtree?) - is the hostname you see in smb.conf?
Back to top
Profile PM 
bert Offline





Group: Members
Posts: 5
Joined: July 2006
Posted: Sep. 24 2007,13:11 QUOTE

Here the first lines of /etc/samba/smb.conf:
[global]
  workgroup = fake
  server string = %h server (Samba %v)
;   wins support = no
;   wins server = w.x.y.z
  dns proxy = no
;   name resolve order = lmhosts host wins bcast

But I do not start samba explicitly. And the samba server is not installed (I think it is an extra package.)

B.t.w. I did not change the default hostname. It is still 'box'. An the domain name is obtained by dhcp.
Back to top
Profile PM 
Juanito Offline





Group: Members
Posts: 1601
Joined: Sep. 2005
Posted: Sep. 24 2007,13:32 QUOTE

Ah - OK, I wasn't at a dsl machine so I couldn't check that. After checking, all I could see in the base system samba-wise was /usr/bin/smbclient & smbtree.

You're right, samba is a mydsl extension.
Back to top
Profile PM 
^thehatsrule^ Offline





Group: Members
Posts: 3275
Joined: July 2006
Posted: Sep. 24 2007,14:59 QUOTE

Afaik this is part of a standard network... part of DHCP... so it would depend on your network setup/servers.
Back to top
Profile PM 
6 replies since Sep. 24 2007,12:03 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (2) </ [1] 2 >/
reply to topic new topic new poll
Quick Reply: Hostname resolving in a mixed network (Linux, Win)

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code