Page 3 of 3 FirstFirst 123
Results 31 to 37 of 37

Thread: Message for Oleg

  1. #31
    Join Date
    Aug 2006
    Location
    Lisbon / Portugal
    Posts
    8
    I have a WL-500gp with the latest Oleg firmware and I have been trying
    to install samba 2:

    /opt/bin/ipkg update
    /opt/bin/ipkg remove samba
    /opt/bin/ipkg install samba2
    /opt/bin/ipkg install xinetd
    /opt/etc/init.d/S10xinetd start
    /opt/etc/init.d/S80samba start


    /opt/bin/ipkg remove samba does nothing, I suppose thats because it comes with the firmware itself.

    Anyhow samba2 and xinetd install correctly, and I can access SWAT.
    I took S97Samba from Oleg out of rhe way and /opt/etc/init.d/S80samba looks OK.

    I also disabled Samba Demo mode and hidden read-write share on the browser interface.

    I configured samba thru SWAT, and later with 'vi' at /opt/etc/samba/smb.conf on my several tries.

    But smbd will not start, either thru SWAT or by executing 'S80Samba start' directly.

    It still logs briefly:

    [2007/02/23 00:26:05, 0] source/smbd/server.c:main(791)
    smbd version 2.2.12 started.
    Copyright Andrew Tridgell and the Samba Team 1992-2002
    [2007/02/23 00:26:05, 1] source/lib/debug.c:debug_message(258)
    INFO: Debug class all level = 2 (pid 223 from pid 223)
    [2007/02/23 00:26:05, 2] source/param/loadparm.c:do_section(3073)
    Processing section "[smbshare]"

    But dies at once. I installed 'strace' and used it directly with smbd -D but the output didn't clarify what is happening.

    nmbd survives for some time, about 1 minute and dies also.

    The output of 'lsmod | sort' is:

    Module Size Used by
    audio 50680 0 (unused)
    ehci-hcd 31660 0 (unused)
    et 34912 0 (unused)
    ip_nat_starcraft 2224 0 (unused)
    ipt_NETMAP 992 2
    printer 12676 0 (unused)
    scsi_mod 70216 3 [usb-storage sd_mod]
    sd_mod 13292 6
    soundcore 5320 0 [audio]
    usb-storage 62568 3
    usb-uhci 28564 0 (unused)
    usbcore 83904 1 [usb-storage audio printer ehci-hcd usb-uhci]
    videodev 8344 0
    wl 423856 0 (unused)

    And my smb.conf is:

    # Global parameters
    [global]
    workgroup = MEKTUB
    guest account = nobody
    server string = ASUS
    interfaces = 192.168.1.0/24 127.0.0.1
    bind interfaces only = yes
    security = SHARE
    browseable = yes
    guest ok = Yes
    guest only = no
    log level = 2
    max log size = 100
    encrypt passwords = no
    dns proxy = No
    log file = /opt/var/log/samba/log.%m
    load printers = No

    [smbshare]
    path = /opt/smbshare
    writeable = yes
    browseable = yes


    The output of 'df' is:

    Filesystem Size Used Avail Use% Mounted on
    rootfs 2.9M 2.9M 0 100% /
    /dev/root 2.9M 2.9M 0 100% /
    /dev/discs/disc0/part1
    37G 251M 35G 1% /opt
    /dev/discs/disc1/part1
    896M 19M 832M 3% /tmp/harddisk


    I run out of ideas, by now. Since I have a disk with swap, I am thinking of trying samba3. Or is that a bad idea ?

    Mektub

  2. #32
    Join Date
    Jun 2005
    Location
    Slovenia
    Posts
    736
    What I would suggest is to run testparam to see if there is any problem with config.

    Another way is to copy working config from /etc/smb.conf to /opt/etc/samba.smb.conf when you are in samba demo mode.

  3. #33
    Join Date
    Aug 2006
    Location
    Lisbon / Portugal
    Posts
    8
    Quote Originally Posted by oleo View Post
    What I would suggest is to run testparam to see if there is any problem with config.

    Another way is to copy working config from /etc/smb.conf to /opt/etc/samba.smb.conf when you are in samba demo mode.
    testparm output does not detect any errors. I am used to it since now and then I configured Samba in Linux machines.

    Then I did: enable samba demo, copied /etc/smb.conf to /opt/etc/samba/smb.conf, disabled samba demo and tried to start samba thru /opt/etc/init.d/S80Samba. smbd starts and exits, nmbd survives 30 seconds and dies.

    Perhaps I will try samba3.

    Regards,

    Mektub

  4. #34
    Quote Originally Posted by Mektub View Post
    testparm output does not detect any errors. I am used to it since now and then I configured Samba in Linux machines.

    Then I did: enable samba demo, copied /etc/smb.conf to /opt/etc/samba/smb.conf, disabled samba demo and tried to start samba thru /opt/etc/init.d/S80Samba. smbd starts and exits, nmbd survives 30 seconds and dies.

    Perhaps I will try samba3.

    Regards,

    Mektub
    Hi!

    I have the same problem....I am stuck.
    Can anyone help me?

    Thanks!

  5. #35
    Join Date
    Jun 2005
    Location
    Slovenia
    Posts
    736
    Take attention to passwd file.
    smb passwd file = /opt/etc/samba/smbpasswd

    try smbpasswd -a admin
    and smbpasswd -a nobody

  6. #36

    Thumbs down installing samba2 hangs up the router

    Quote Originally Posted by peter_altherr View Post

    i have tried again to install the samba2 package but no success. just let me describe and comment my steps:

    here your walkthrough i was following:
    1) /opt/bin/ipkg update
    2) /opt/bin/ipkg remove samba
    3) /opt/bin/ipkg install samba2
    4) /opt/bin/ipkg install xinetd
    5) /opt/etc/init.d/S10xinetd start
    6) /opt/etc/init.d/S80samba start

    here my attempts:
    1) works fine
    2) error message - but this is ok as in wl-hdd's firmware samba 2.0.10-security_rollup is already included but not installed by ipkg
    3) starts downloading and says "installing to root..." and this is it. i do not get any response from my device for a long time (cannot say how long as i left it alone for several hours). after that i logged in using putty over ssh and wl-hdd was up and running but still no samba 2.2.12 installed.
    4) not necessary for wl-hdd as it is already installed
    5) works fine
    6) /opt/etc/init.d/S80samba does not exist only S97samba exists (which is olegs samba 2.0.10).
    Got a similar problem. I have WL500W with Oleg's firmware 1.9.2.7-8-pre9 and USB HDD 40 GB used as storage and 500 MB swap.

    1) goes well
    2) says there is no such package so there's nothing to remove
    3) says samba2 suggests installing xinetd before hanging up
    4) goes fine if done before 3). Actually after the first unsuccessful attempt of installing samba2 I went on installing xinetd first and trying to install samba2 afterwards.

    Here is what happens when trying to install samba2 package:

    Code:
    [admin@router part1]$ ipkg -V 3 -t /tmp/harddisk/part1/tmp -force-reinstall install samba2_2.2.12-1_mipsel.ipk
    pkg_info_preinstall_check: updating arch priority for each package
    pkg_info_preinstall_check: update file owner list
    best installation candidate for samba2
     adding samba2 to providers
      samba2 arch=mipsel arch_priority=10 constraint=1
      using held package samba2
    arch mipsel (priority 10) supported for pkg samba2
    Installing samba2 (2.2.12-1) to root...
    best installation candidate for xinetd
     adding xinetd to providers
      xinetd arch=mipsel arch_priority=10 constraint=1
      using latest version of installed package xinetd
    pkg_depends.c:177: satisfying_pkg=0x10179600
    Running script /tmp/harddisk/part1/tmp/ipkg-XXddZ3/samba2-cfUTcy/preinst
      installing maintainer scripts
      installing data files
        extracting data files to /
    At this point two instances of ipkg eat up the entire CPU and in about 30 seconds the router becomes unresponsive while heavily using the HDD (presumably for swapping RAM). Telnet can't connect afterwards so I couldn't check the logs or see what was happening. A second telnet session running in parallel and showing the output of the "top" command ceases to update terminal as well.

    After several hours of heavy HDD usage everything stops. Still no response to telnet connection attempts, no DHCP, nothing. But pinging the router yields prompt response as well as pinging some external destinations by IP (DNS does not work at this time).

    Of course after plugging the router out and back in there are no traces of samba2 or xinetd installed.

    Probably next time I'll try to arrange booting the router from the HDD and installing SAMBA v.3 on it.

  7. #37

    Thumbs up

    Quote Originally Posted by s0Va View Post
    Probably next time I'll try to arrange booting the router from the HDD and installing SAMBA v.3 on it.
    Succeeded doing that. Everything rocks now. Except there is no SWAT so all configs are to be done in console.

Page 3 of 3 FirstFirst 123

Similar Threads

  1. Send Message
    By MHz in forum WL-500g Q&A
    Replies: 2
    Last Post: 09-05-2006, 08:39
  2. FTP Server Welcome Message
    By MHz in forum WL-500g Q&A
    Replies: 0
    Last Post: 28-04-2006, 16:04
  3. Problem with Samba
    By bs3 in forum WL-500g Q&A
    Replies: 16
    Last Post: 24-05-2005, 09:42
  4. Windows XP code 10 device does not start message
    By iceman-nl in forum WL-100g/WL-100gDeluxe/WL-103b/WL-120b/WL-120g [Broadcom Chipset]
    Replies: 4
    Last Post: 14-05-2004, 17:44

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •