문제

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?

도움이 되었습니까?

해결책

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top