linuxsambanetbios

Netbios name without samba


Is there a way to enable the netbios name in a Linux without using Samba?

What I want is that I would like the hostname (or whatever) to appear when other computers (MS Windows) is scanning the device through ethernet. This is achieved by netbios. Samba has an application called nmbd that will do the trick. But Samba will take up more that 0.5MB in my compressed image. Which is bursting my partitions. And I don't want to spend that much flash and ram on such a trivial function anyway. (I'm using an embedded linux device btw.)

Does anyone know another way? An alternative to nmbd perhaps?


Solution

  • I'm not aware of any free software alternatives to nmbd. The nmbd from older versions of Samba might be smaller in size. Alternatively, you might be able to use the nmbd from Samba-TNG .

    Or if you're really feeling adventurous, you might be able to write your own (if you just care about the name appearing). See http://ubiqx.org/cifs/NetBIOS.html.