Opened 21 months ago

Last modified 8 months ago

#2182 reopened

nmbd

Reported by: vpritiskovic Owned by: brainslayer
Keywords: nmbd samba Cc:

Description

SAMBA - 'nmbd' is missing, I see it was added to svn http://svn.dd-wrt.com:8000/changeset/17129 but not present in r17201 and few builds earlier.

Change History (31)

comment:1 Changed 21 months ago by BrainSlayer

cannot reproduce. its still inside and used. but on some builds/router targets there is not space for it

comment:2 follow-up: Changed 21 months ago by BrainSlayer

  • Resolution set to invalid
  • Status changed from new to closed

comment:3 in reply to: ↑ 2 Changed 21 months ago by vpritiskovic

Replying to BrainSlayer:

Sorry for reopening but I have doublechecked - please recheck:

  • my environment: r17201 @ WZR-HP-G300NH (32MB flash size) wih MSWINXP on my laptop
  • note that smbd runs and when accessed from MSWIN via ip address it is normal and ok (I can get/put files to defined samba share)
  • but this samba share cannot be accessed in any other way - it is not listed as SAMBA server/share in any network browser (not visible) and all others are visible since I have 2 more samba servers on my lan - PClinux server and Dreambox STB!
  • cli output
    root@buffalo:~#
    root@buffalo:~# ps
      PID USER       VSZ STAT COMMAND
        1 root      1224 S    /sbin/init
        2 root         0 SW   [kthreadd]
        3 root         0 SW   [ksoftirqd/0]
        4 root         0 SW   [events/0]
        5 root         0 SW   [khelper]
        8 root         0 SW   [async/mgr]
      102 root         0 SW   [sync_supers]
      104 root         0 SW   [bdi-default]
      106 root         0 SW   [kblockd/0]
      115 root         0 SW   [khubd]
      137 root         0 SW   [kswapd0]
      138 root         0 SW   [crypto/0]
      178 root         0 SW   [mtdblockd]
      301 root         0 SW   [scsi_eh_0]
      302 root         0 SW   [usb-storage]
      588 root       684 S    /sbin/hotplug2 --set-rules-file /etc/hotplug2.rules --persistent
      593 root      1628 S    watchdog
      614 root         0 SW   [cfg80211]
      626 root         0 SW   [phy0]
      754 root      1588 S    resetbutton
     1000 root      1144 S    telnetd
     1460 root      1140 S    /bin/sh /etc/config/wdswatchdog.sh
     2238 root      4964 S    /usr/sbin/smbd -D --configfile=/tmp/smb.conf
    17931 root      1132 S    sleep 60
    17956 root      1156 S    -sh
    17971 root      1140 R    ps
    29443 root      2012 S    hostapd -B -P /var/run/ath0_hostapd.pid /tmp/ath0_hostap.conf
    29493 root      2016 S    wpa_supplicant -B -Dnl80211 -iath0 -H /var/run/hostapd/ath0.1 -c /tmp/ath0_wpa_supplicant.conf
    29508 root         0 SW   [bond0]
    29528 root      1388 S    ttraff
    29698 root       776 S    dnsmasq --conf-file=/tmp/dnsmasq.conf
    29732 root       664 S    cron
    29734 root      2712 S    httpd -p 80
    29870 root      1384 S    process_monitor
    30276 root      1616 S    wland
    30277 root       664 S    udhcpc -i ath0 -p /var/run/udhcpc.pid -s /tmp/udhcpc -H buffalo
    root@buffalo:~#
    
    

comment:4 Changed 21 months ago by vpritiskovic

  • Resolution invalid deleted
  • Status changed from closed to reopened
  • list of /usr/sbin (no nmbd)
    root@buffalo:~# /usr/sbin/
    /usr/sbin/aiccu              /usr/sbin/dropbear           /usr/sbin/milkfish_services  /usr/sbin/proftpd            /usr/sbin/splashd
    /usr/sbin/airbase-ng         /usr/sbin/dropbearconvert    /usr/sbin/mtr                /usr/sbin/raddebug           /usr/sbin/sputnik
    /usr/sbin/aireplay-ng        /usr/sbin/dropbearkey        /usr/sbin/notifier           /usr/sbin/radius-client      /usr/sbin/squid
    /usr/sbin/airodump-ng        /usr/sbin/dropbearmulti      /usr/sbin/nstxcd             /usr/sbin/radiusallow        /usr/sbin/svqos
    /usr/sbin/airserv-ng         /usr/sbin/dumpleases         /usr/sbin/nstxd              /usr/sbin/radiusd            /usr/sbin/svqos2
    /usr/sbin/airtun-ng          /usr/sbin/ebtables           /usr/sbin/ntfs-3g            /usr/sbin/radiusdisallow     /usr/sbin/tc
    /usr/sbin/astcanary          /usr/sbin/fischecksum        /usr/sbin/ntpclient          /usr/sbin/radmin             /usr/sbin/tcpdump
    /usr/sbin/asterisk           /usr/sbin/hostapd            /usr/sbin/nvram              /usr/sbin/radvd              /usr/sbin/telnetd
    /usr/sbin/astgenkey          /usr/sbin/httpd              /usr/sbin/olsrd              /usr/sbin/radvdump           /usr/sbin/udhcpc
    /usr/sbin/bcrelay            /usr/sbin/ifenslave          /usr/sbin/openser            /usr/sbin/radwatch           /usr/sbin/udhcpd
    /usr/sbin/bgpd               /usr/sbin/igmprt             /usr/sbin/openser_gen_ha1    /usr/sbin/rasterisk          /usr/sbin/upnp
    /usr/sbin/bpalogin           /usr/sbin/inadyn             /usr/sbin/openserctl         /usr/sbin/rc.radiusd         /usr/sbin/usb_modeswitch
    /usr/sbin/brctl              /usr/sbin/ip                 /usr/sbin/openssl            /usr/sbin/relayd             /usr/sbin/vpnc
    /usr/sbin/chat               /usr/sbin/ip6tables          /usr/sbin/openvpn            /usr/sbin/repeater           /usr/sbin/vpnc-disconnect
    /usr/sbin/checkrad           /usr/sbin/ip6tables-restore  /usr/sbin/ospfd              /usr/sbin/rflow              /usr/sbin/watchquagga
    /usr/sbin/chilli             /usr/sbin/iperf              /usr/sbin/ozerocdoff         /usr/sbin/ripd               /usr/sbin/wdctl
    /usr/sbin/comgt              /usr/sbin/iptables           /usr/sbin/p910nd             /usr/sbin/ripngd             /usr/sbin/wifidog
    /usr/sbin/convertnvram       /usr/sbin/iptables-restore   /usr/sbin/pound              /usr/sbin/rvnamed            /usr/sbin/wiviz
    /usr/sbin/cron               /usr/sbin/iptraf             /usr/sbin/poundctl           /usr/sbin/scan               /usr/sbin/wl_ath9k
    /usr/sbin/dbclient           /usr/sbin/iw                 /usr/sbin/pppd               /usr/sbin/scantidy           /usr/sbin/wl_atheros
    /usr/sbin/dbtextctl          /usr/sbin/iwconfig           /usr/sbin/pppoe-multi        /usr/sbin/sendmail           /usr/sbin/wol
    /usr/sbin/dhcp_lease_time    /usr/sbin/iwlist             /usr/sbin/pppoe-relay        /usr/sbin/shatc              /usr/sbin/wpa_supplicant
    /usr/sbin/dhcp_release       /usr/sbin/iwpriv             /usr/sbin/pppoe-server       /usr/sbin/shatd              /usr/sbin/wpad
    /usr/sbin/dhcpfwd            /usr/sbin/kaid               /usr/sbin/pptp               /usr/sbin/smbd               /usr/sbin/wrt-radauth
    /usr/sbin/disktype           /usr/sbin/macupd             /usr/sbin/pptpctrl           /usr/sbin/smbpasswd          /usr/sbin/xl2tpd
    /usr/sbin/dnsmasq            /usr/sbin/mf_sip_tracer.sh   /usr/sbin/pptpd              /usr/sbin/snmpd              /usr/sbin/zebra
    root@buffalo:~# /usr/sbin/
    
    
Last edited 21 months ago by vpritiskovic (previous) (diff)

comment:5 follow-up: Changed 21 months ago by BrainSlayer

  • Resolution set to invalid
  • Status changed from reopened to closed

SEE INITIAL COMMENT. ON SOME DEVICES THERE IS NO SPACE FOR IT. do not use the network browser in this case. simply use the IP

comment:6 in reply to: ↑ 5 Changed 21 months ago by vpritiskovic

Replying to BrainSlayer:

WZR-HP-G300NH has 32MB of flash isn't that enough?!

Last edited 21 months ago by vpritiskovic (previous) (diff)

comment:7 Changed 20 months ago by chris.day

  • Resolution invalid deleted
  • Status changed from closed to reopened

Definitely enough free space to include nmdb on WZR-HP-G300NH

nvram show > /dev/null size: 21687 bytes (109385 left)

comment:8 Changed 20 months ago by BrainSlayer

  • Resolution set to fixed
  • Status changed from reopened to closed

all recent versions do contain the nmbd in these devices. no need to comment that

comment:9 Changed 20 months ago by vpritiskovic

Instead of repeatedly closing this ticket, BS, please take time and recheck comment:4 on this ticket, smbd is included but nmbd is missing from /usr/sbin!!!

Otherwise why would you suggest to access shares via IP if nmbd was there?!

comment:10 Changed 20 months ago by vpritiskovic

  • Resolution fixed deleted
  • Status changed from closed to reopened

comment:11 follow-up: Changed 20 months ago by Eko

  • Resolution set to worksforme
  • Status changed from reopened to closed

nmbd was added for this router somewhere around r175xx.

comment:12 in reply to: ↑ 11 Changed 20 months ago by vpritiskovic

  • Resolution worksforme deleted
  • Status changed from closed to reopened

Replying to Eko:

nmbd was added for this router somewhere around r175xx.

Eko, see initial explanation of this ticket!

Come on dev's, why is so hard for you to take this particular router powered with recent dd-wrt build and take a look at the files in /usr/sbin???

Again:

there is no nmbd included in dd-wrt builds for this particular router!

comment:13 follow-up: Changed 20 months ago by kt_haddock

comment:14 in reply to: ↑ 13 Changed 20 months ago by vpritiskovic

Replying to kt_haddock:

Look at this ticket: http://svn.dd-wrt.com:8000/changeset/17127

As I already stated in initial explanation for this ticket I realized that source for samba and nmbd was commited to svn but there is no nmbd included in recent builds for this router!

First BS stated that there is no space for this (didn't even bother to recheck), second he stated that this is included???

The only way for dev's to check this is to take this particular router with recent dd-wrt and test. I have tested all builds from this year and nmbd is missing in all of them.

comment:15 follow-up: Changed 20 months ago by Kong

BS please check this:

http://svn.dd-wrt.com:8000/browser//src/router/configs/ar7xxx/.config_wzrg300nh

There is no:

CONFIG_BUFFALO CONFIG_NMBD

Which is neccessary:

http://svn.dd-wrt.com:8000/browser/src/router/rules/samba3.mk?rev=17127

So vpritiskovic is right.

comment:16 in reply to: ↑ 15 ; follow-up: Changed 19 months ago by chris.day

Anything happening to this ticket?

comment:17 in reply to: ↑ 16 Changed 19 months ago by vpritiskovic

Replying to chris.day:

Anything happening to this ticket?

Got new test build (r17766) for this router and it's OK. Hope this bug will also fixed in next public release...

root@buffalo:~#
root@buffalo:~# uname -a
Linux buffalo 2.6.34.10-svn17742 #8529 Thu Oct 13 00:22:16 CEST 2011 mips GNU/Linux
root@buffalo:~# ls /usr/sbin/n*
/usr/sbin/nmbd       /usr/sbin/nstxd      /usr/sbin/nvram
/usr/sbin/notifier   /usr/sbin/ntfs-3g
/usr/sbin/nstxcd     /usr/sbin/ntpclient
root@buffalo:~#
root@buffalo:~# ps
  PID USER       VSZ STAT COMMAND
    1 root      1224 S    /sbin/init
    2 root         0 SW   [kthreadd]
    3 root         0 SW   [ksoftirqd/0]
    4 root         0 SW   [events/0]
    5 root         0 SW   [khelper]
    8 root         0 SW   [async/mgr]
  100 root         0 SW   [sync_supers]
  102 root         0 SW   [bdi-default]
  104 root         0 SW   [kblockd/0]
  113 root         0 SW   [khubd]
  135 root         0 SW   [kswapd0]
  136 root         0 SW   [crypto/0]
  176 root         0 SW   [mtdblockd]
  293 root         0 SW   [scsi_eh_0]
  294 root         0 SW   [usb-storage]
  580 root       672 S    /sbin/hotplug2 --set-rules-file /etc/hotplug2.rules
  585 root      1628 S    watchdog
  602 root         0 SW   [cfg80211]
  614 root         0 SW   [phy0]
  925 root      2012 S    hostapd -B -P /var/run/ath0_hostapd.pid /tmp/ath0_ho
  951 root      2016 S    wpa_supplicant -B -Dnl80211 -iath0 -H /var/run/hosta
  973 root         0 SW   [bond0]
 1058 root       768 S    dnsmasq --conf-file=/tmp/dnsmasq.conf
 1096 root      1388 S    ttraff
 1149 root      1060 S    dropbear -b /tmp/loginprompt -r /tmp/root/.ssh/ssh_h
 1199 root      1740 S    /usr/sbin/nmbd -D --configfile=/tmp/smb.conf
 1305 root      4960 S    /usr/sbin/smbd -D --configfile=/tmp/smb.conf
 1482 root      2736 S    httpd -p 80
 1494 root      1588 S    resetbutton
 1681 root      1384 S    process_monitor
 2065 root      1616 S    wland
 2066 root       664 S    udhcpc -i ath0 -p /var/run/udhcpc.pid -s /tmp/udhcpc
11732 root       664 S    cron
11735 root      1192 S    {wdswatchdog.sh} /bin/sh /etc/config/wdswatchdog.sh
22559 root      1184 S    sleep 1000
23482 root      1116 S    dropbear -b /tmp/loginprompt -r /tmp/root/.ssh/ssh_h
23511 root      1204 S    -sh
23868 root      1192 R    ps
root@buffalo:~#

comment:18 Changed 19 months ago by chris.day

Excellent news - more than happy to test on a WZR-HP-G300NH (B0 B0) if available?

comment:19 Changed 17 months ago by vpritiskovic

  • Resolution set to fixed
  • Status changed from reopened to closed

comment:20 Changed 17 months ago by vpritiskovic

Works for me on WZR-HP-G300NH

comment:21 Changed 17 months ago by Shonk

same problem on the 1043nd

comment:22 Changed 16 months ago by fxdxrycz

  • Resolution fixed deleted
  • Status changed from closed to reopened

I'm using the latest mega build 18024 on e4200, still can't find nmbd in /usr/sbin ... Can someone make that happen? Thanks in advance

Last edited 16 months ago by fxdxrycz (previous) (diff)

comment:23 follow-up: Changed 16 months ago by BrainSlayer

no space for nmbd left on these devices

comment:24 Changed 16 months ago by BrainSlayer

  • Resolution set to invalid
  • Status changed from reopened to closed

comment:25 in reply to: ↑ 23 Changed 16 months ago by LOM

  • Resolution invalid deleted
  • Status changed from closed to reopened

Replying to BrainSlayer:

no space for nmbd left on these devices

No space left on TL-WR1043ND (8MB flash) understood and WZR-HP-G300NH has obviously got NMBD now.

E4200 (and E3200) has 16MB flash and the biggest K26 Broadcom build is big/mega for fitting in 8MB so there is space enough for NMBD in those. There are also Broadcom based routers from Asus and Netgear with 16/32/128 MB flash so it is time for a new dd-wrt Broadcom build size for those routers, you can't say that there is on no space left.

comment:26 Changed 16 months ago by fxdxrycz

I find the function that nmbd provides very useful and I don't think I'm the only one... Can we make this work please? At least on the E4200...

comment:27 follow-up: Changed 16 months ago by fxdxrycz

Can we get an answer on this BrainSlayer?? Please

comment:28 in reply to: ↑ 27 ; follow-up: Changed 15 months ago by fcs001fcs

Still no NMBD on: Router: Linksys E3000 Installed SVN: DD-WRT v24-sp2 (12/20/11) std-usb-nas - build 18024

It does have enough room so when can we all expect it to be added to the large flash routers??

Please!!!

comment:29 in reply to: ↑ 28 Changed 11 months ago by vpritiskovic

Replying to fcs001fcs:

Still no NMBD on: Router: Linksys E3000 Installed SVN: DD-WRT v24-sp2 (12/20/11) std-usb-nas - build 18024

It does have enough room so when can we all expect it to be added to the large flash routers??

Please!!!

It the device is Broadcom based try to contact Eko!

comment:30 Changed 9 months ago by Sash

  • Resolution set to fixed
  • Status changed from reopened to closed

so this is a dicussion on a different problem now.

comment:31 Changed 8 months ago by vpritiskovic

  • Resolution fixed deleted
  • Status changed from closed to reopened

Missing again in r19484@WZR-HP-G300NH

Note: See TracTickets for help on using tickets.