[help needed] Netbios Name resolution for Dbox - UkCvs.org
 

Go Back   UkCvs.org > Digital Tv Box Section > Dbox Section

Dbox Section All Things Dbox Here

Reply
 
LinkBack Thread Tools Display Modes
Old 26-11-2008, 03:17 PM   #1 (permalink)
Moderator
UkCvs Senior Member
 
pt-1's Avatar
 
Join Date: Sep 2008

Posts: 350
iTrader: (0)
Casino cash: $146980
Thanks: 105
Thanked 379 Times in 171 Posts
Nominated 10 Times in 3 Posts
Nominated TOTW/F/M Award(s): 2
Groans: 0
Groaned at 0 Times in 0 Posts
Default [help needed] Netbios Name resolution for Dbox

Hi Guys,

I have already asked in the Tuxbox Board but I would like some Netbios Name Resolution support for the Dbox so that it shows up with it's name within your Windows Workgroup.

The feature could be resolved via NMDB

I am unable to built this at present due lack of knowledge,time or Linux Machine....

Anyone ?

http://www.rtr.com/winpak/Documentation/nmbd.htm

I even found this on my own server ;-) : http://www.pt-1.net/Diffs/newmake-01sambaserver.diff
pt-1 is offline   Reply With Quote
Old 26-11-2008, 06:26 PM   #2 (permalink)
Northern Git Admin
Team-UkCvs Senior Member
 
renwich's Avatar
 
Join Date: Aug 2008
1 Highscore

Posts: 5,097
iTrader: (0)
Casino cash: $326474
Thanks: 1,126
Thanked 1,271 Times in 538 Posts
Nominated 8 Times in 6 Posts
Nominated TOTW/F/M Award(s): 4
Groans: 1
Groaned at 0 Times in 0 Posts
Default
what maybe helpful is to get an answer on how-to make smbfs.o in newmake..?

but Ill take a look for you
renwich is offline   Reply With Quote
Old 26-11-2008, 06:41 PM   #3 (permalink)
Moderator
UkCvs Senior Member
 
pt-1's Avatar
 
Join Date: Sep 2008

Posts: 350
iTrader: (0)
Casino cash: $146980
Thanks: 105
Thanked 379 Times in 171 Posts
Nominated 10 Times in 3 Posts
Nominated TOTW/F/M Award(s): 2
Groans: 0
Groaned at 0 Times in 0 Posts
Default
According to Coronas you don't need it....???

http://tuxbox-forum.dreambox-fan.de/...&hilit=smbfs.o
pt-1 is offline   Reply With Quote
Old 26-11-2008, 07:13 PM   #4 (permalink)
Northern Git Admin
Team-UkCvs Senior Member
 
renwich's Avatar
 
Join Date: Aug 2008
1 Highscore

Posts: 5,097
iTrader: (0)
Casino cash: $326474
Thanks: 1,126
Thanked 1,271 Times in 538 Posts
Nominated 8 Times in 6 Posts
Nominated TOTW/F/M Award(s): 4
Groans: 1
Groaned at 0 Times in 0 Posts
Default
thats not the point , I want to do it for samba client support
renwich is offline   Reply With Quote
Old 26-11-2008, 08:30 PM   #5 (permalink)
Moderator
UkCvs Senior Member
 
pt-1's Avatar
 
Join Date: Sep 2008

Posts: 350
iTrader: (0)
Casino cash: $146980
Thanks: 105
Thanked 379 Times in 171 Posts
Nominated 10 Times in 3 Posts
Nominated TOTW/F/M Award(s): 2
Groans: 0
Groaned at 0 Times in 0 Posts
Default
Quote:
Originally Posted by renwich View Post
thats not the point , I want to do it for samba client support
OK Boss.................
pt-1 is offline   Reply With Quote
Old 30-11-2008, 09:00 PM   #6 (permalink)
Developer
UkCvs Senior Member
 
Speedy2206's Avatar
 
Join Date: Nov 2008
1 Highscore

Location: Leatherhead
Posts: 188
iTrader: (0)
Casino cash: $64049
Thanks: 80
Thanked 257 Times in 112 Posts
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
Groans: 1
Groaned at 0 Times in 0 Posts
Default
Quote:
Originally Posted by pt-1 View Post
Hi Guys,

I have already asked in the Tuxbox Board but I would like some Netbios Name Resolution support for the Dbox so that it shows up with it's name within your Windows Workgroup.

The feature could be resolved via NMDB

I am unable to built this at present due lack of knowledge,time or Linux Machine....

Anyone ?

http://www.rtr.com/winpak/Documentation/nmbd.htm

I even found this on my own server ;-) : http://www.pt-1.net/Diffs/newmake-01sambaserver.diff

@pt-1,
So what exactly are you trying to do? Please explain with all available information

P.S: The Oxygen FINAL image had both smbd and nmbd compiled and worked with NetBIOS.
Speedy2206 is offline   Reply With Quote
Old 02-12-2008, 05:13 PM   #7 (permalink)
Developer
UkCvs Senior Member
 
Speedy2206's Avatar
 
Join Date: Nov 2008
1 Highscore

Location: Leatherhead
Posts: 188
iTrader: (0)
Casino cash: $64049
Thanks: 80
Thanked 257 Times in 112 Posts
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
Groans: 1
Groaned at 0 Times in 0 Posts
Default
OK looking through the makefiles I found that building the samba server will also give you the NMBD file you require. Samba (not the client-portion however!) is not included in a standard image build but you can specify it by adding --enable-sambaserver in the configure line.

By the way, to get it going you will actually need smbd and nmbd. I am half way through a test compile now with the very latest CVS tree so I will upload all the required files to here when that is complete for you to test.
Speedy2206 is offline   Reply With Quote
Old 02-12-2008, 06:36 PM   #8 (permalink)
Developer
UkCvs Senior Member
 
Speedy2206's Avatar
 
Join Date: Nov 2008
1 Highscore

Location: Leatherhead
Posts: 188
iTrader: (0)
Casino cash: $64049
Thanks: 80
Thanked 257 Times in 112 Posts
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
Groans: 1
Groaned at 0 Times in 0 Posts
Default
As promised here are the files. I have also included libnsl in case you need it (I'm not entirely sure).

Instructions:

- smbd needs to go in /bin or /var/bin and CHMOD 755
- nmbd needs to go in /bin or /var/bin and CHMOD 755
- smb.conf needs to go in /etc or /var/etc and CHMOD 777.
Optional: libnsl-2.3.6.so needs to go in /lib or /var/lib

Once all files are in place, use telnet to execute the smbd command (use smbd & to run it in the background), and once that has completed without errors, execute the nmbd command.

After that you will be able to see the DBOX2 in your Windows Workgroup or Server Domain, with its hostname, and a couple of shared folders. You can login using the root account.

Hope this is what you were after.
Liam

EDIT: Forgot to attach the file - done now
Attached Files - Who Downloaded?
File Type: zip netbios-pt1.zip (311.3 KB, 3 views)

Last edited by Speedy2206; 02-12-2008 at 07:05 PM..
Speedy2206 is offline   Reply With Quote
The Following 3 Users Say Thank You to Speedy2206 For This Useful Post:
PaphosAL (03-12-2008), renwich (02-12-2008), wiz569 (02-12-2008)
Old 02-12-2008, 09:38 PM   #9 (permalink)
Moderator
UkCvs Senior Member
 
pt-1's Avatar
 
Join Date: Sep 2008

Posts: 350
iTrader: (0)
Casino cash: $146980
Thanks: 105
Thanked 379 Times in 171 Posts
Nominated 10 Times in 3 Posts
Nominated TOTW/F/M Award(s): 2
Groans: 0
Groaned at 0 Times in 0 Posts
Default
Code:
/hdd/bin > smbd &
/hdd/bin > smbd: relocation error: smbd: symbol seteuid, version GLIBC_2.0 not defined in file libc.so.6 with link time reference



it's all installed here:
Quote:
/hdd/bin > ls -l
-rwxr-xr-x 1 root root 69968 Dec 2 22:31 libnsl-2.3.6.so
-rwxr-xr-x 1 root root 274064 Dec 2 22:31 nmbd
-rwxr-xr-x 1 root root 318656 Oct 13 17:56 sectionsd
-rwxr-xr-x 1 root root 1188 Dec 2 22:33 smb.conf
-rwxr-xr-x 1 root root 398100 Dec 2 22:31 smbd
Kernel is
2.4.36.9
pt-1 is offline   Reply With Quote
Old 02-12-2008, 09:45 PM   #10 (permalink)
Developer
UkCvs Senior Member
 
Speedy2206's Avatar
 
Join Date: Nov 2008
1 Highscore

Location: Leatherhead
Posts: 188
iTrader: (0)
Casino cash: $64049
Thanks: 80
Thanked 257 Times in 112 Posts
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
Groans: 1
Groaned at 0 Times in 0 Posts
Default
How old is your image? These are based on the very latest CVS without modification, so should work with latest image. Kernel version in newmake is 2.4.36.6. Make sure libnsl-2.3.6.so is in /lib, /var/lib, or /hdd/lib etc.
Speedy2206 is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT. The time now is 10:07 AM.


Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0
Any information provided on this site is not guaranteed in any way. Some articles may discuss topics that are illegal, so this information is provided for educational purposes only, use at your own risk !! Ukcvs.org cannot be held responsible for the content of any post on this forum.