Results 1 to 6 of 6

Thread: Run SAMBA and problem

  1. #1

    Question Run SAMBA and problem

    Please help me with runing Samba.

    I have 40GB HDD with 1 partition conected after USB1.1 to WL500g with firmware version 1.9.2.7-4.
    Part1: 32GB FAT32


    If configure my router after thread [HowTo] Getting started (Firmware upgr, Storage, Samba, SSH) then shared disk in windows not found .

    Please help me with configuration. Please step by steb instruction i am beginner .

    My progress:

    1. step:
    Running SSH

    2. step:
    login as: admin
    admin@192.168.1.1's password:
    [admin@(none) root]$ fdisk -l

    Disk /dev/scsi/host0/bus0/target0/lun0/disc: 41.1 GB, 41109061120 bytes
    255 heads, 63 sectors/track, 4997 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes

    Device Boot Start End Blocks Id System
    /dev/scsi/host0/bus0/target0/lun0/part1 1 3891 31254426 c Win95 FAT32 (LBA)

    [admin@(none) root]$ vi /etc/smb.conf
    [global]
    workgroup = BRNO
    guest account = nobody
    security = share
    browseable = yes
    guest ok = yes
    guest only = no
    log level = 1
    max log size = 100
    encrypt passwords = yes
    dns proxy = no
    [share]
    path=/tmp/harddisk
    writeable = yes
    browseable = yes
    force user = admin

    ~
    ~
    ~
    ~
    ~
    ~
    [admin@(none) root]$ echo /etc/smb.conf >> /usr/local/.files
    [admin@(none) root]$ echo "/usr/sbin/smbd -D" >> /usr/local/sbin/post-boot
    [admin@(none) root]$ echo "/usr/sbin/nmbd -D" >> /usr/local/sbin/post-boot
    [admin@(none) root]$ flashfs save
    tar: Removing leading '/' from member names
    etc/smb.conf
    tmp/local/
    tmp/local/.files
    tmp/local/sbin/
    tmp/local/sbin/post-boot
    tmp/local/etc/
    tmp/local/etc/dropbear/
    tmp/local/etc/dropbear/dropbear_dss_host_key
    tmp/local/etc/dropbear/dropbear_rsa_host_key
    tmp/local/root/
    -rw-r--r-- 1 admin root 1523 Apr 23 11:41 /tmp/flash.tar.gz
    Check saved image and type "/sbin/flashfs commit" to commit changes
    [admin@(none) root]$ flashfs commit
    Commited.
    [admin@(none) root]$ flashfs enable
    [admin@(none) root]$ reboot

    The system is going down NOW !!
    Sending SIGTERM to all processes.
    Last edited by connic; 23-04-2005 at 10:54.

  2. #2

    Next

    Log next to reboot:

    Jan 1 01:00:03 syslogd started: BusyBox v1.00 (2005.03.03-17:55+0000)
    Jan 1 01:00:03 dnsmasq[53]: started, version 2.17 cachesize 150
    Jan 1 01:00:03 dnsmasq[53]: DHCP, IP range 192.168.1.2 -- 192.168.1.254, lease time 24h
    Jan 1 01:00:03 dnsmasq[53]: DHCP, /tmp/dnsmasq.log will be written every 28800s
    Jan 1 01:00:03 dnsmasq[53]: read /etc/hosts - 4 addresses
    Jan 1 01:00:03 dnsmasq[53]: reading /tmp/resolv.conf
    Jan 1 01:00:03 dnsmasq[53]: using nameserver 212.24.128.8#53
    Jan 1 01:00:03 dnsmasq[53]: using nameserver 192.168.4.1#53
    Jan 1 01:00:03 kernel: Primary data cache 4kb, linesize 16 bytes (2 ways)
    Jan 1 01:00:03 kernel: Linux version 2.4.20 (root@omnibook) (gcc version 3.2.3 with Broadcom modifications) #62 Mon Mar 14 21:39:22 MSK 2005
    Jan 1 01:00:03 kernel: Setting the PFC value as 0x15
    Jan 1 01:00:03 kernel: Determined physical RAM map:
    Jan 1 01:00:03 kernel: memory: 01000000 @ 00000000 (usable)
    Jan 1 01:00:03 kernel: On node 0 totalpages: 4096
    Jan 1 01:00:03 kernel: zone(0): 4096 pages.
    Jan 1 01:00:03 kernel: zone(1): 0 pages.
    Jan 1 01:00:03 kernel: zone(2): 0 pages.
    Jan 1 01:00:03 kernel: Kernel command line: root=/dev/mtdblock2 noinitrd init=/linuxrc console=ttyS0,115200
    Jan 1 01:00:03 kernel: CPU: BCM4710 rev 0 at 125 MHz
    Jan 1 01:00:03 kernel: !unable to setup serial console!
    Jan 1 01:00:03 kernel: Calibrating delay loop... 82.94 BogoMIPS
    Jan 1 01:00:03 kernel: Memory: 13920k/16384k available (1755k kernel code, 2464k reserved, 220k data, 68k init, 0k highmem)
    Jan 1 01:00:03 kernel: Dentry cache hash table entries: 2048 (order: 2, 16384 bytes)
    Jan 1 01:00:03 kernel: Inode cache hash table entries: 1024 (order: 1, 8192 bytes)
    Jan 1 01:00:03 kernel: Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
    Jan 1 01:00:03 kernel: Buffer-cache hash table entries: 1024 (order: 0, 4096 bytes)
    Jan 1 01:00:03 kernel: Page-cache hash table entries: 4096 (order: 2, 16384 bytes)
    Jan 1 01:00:03 kernel: Checking for 'wait' instruction... unavailable.
    Jan 1 01:00:03 kernel: POSIX conformance testing by UNIFIX
    Jan 1 01:00:03 kernel: PCI: Fixing up bus 0
    Jan 1 01:00:03 kernel: PCI: Fixing up bridge
    Jan 1 01:00:03 kernel: PCI: Fixing up bus 1
    Jan 1 01:00:03 kernel: Linux NET4.0 for Linux 2.4
    Jan 1 01:00:03 kernel: Based upon Swansea University Computer Society NET3.039
    Jan 1 01:00:03 kernel: Initializing RT netlink socket
    Jan 1 01:00:03 kernel: Starting kswapd
    Jan 1 01:00:03 kernel: Journalled Block Device driver loaded
    Jan 1 01:00:03 kernel: devfs: v1.12c (20020818) Richard Gooch (rgooch@atnf.csiro.au)
    Jan 1 01:00:03 kernel: devfs: boot_options: 0x1
    Jan 1 01:00:03 kernel: NTFS driver v1.1.22 [Flags: R/O]
    Jan 1 01:00:03 kernel: pty: 256 Unix98 ptys configured
    Jan 1 01:00:03 kernel: Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ SERIAL_PCI enabled
    Jan 1 01:00:03 kernel: loop: loaded (max 8 devices)
    Jan 1 01:00:03 kernel: PPP generic driver version 2.4.2
    Jan 1 01:00:03 kernel: PPP Deflate Compression module registered
    Jan 1 01:00:03 kernel: PPP BSD Compression module registered
    Jan 1 01:00:03 kernel: MPPE/MPPC encryption/compression module registered
    Jan 1 01:00:03 kernel: Amd/Fujitsu Extended Query Table v1.1 at 0x0040
    Jan 1 01:00:03 kernel: Physically mapped flash: Swapping erase regions for broken CFI table.
    Jan 1 01:00:03 kernel: number of CFI chips: 1
    Jan 1 01:00:03 kernel: Flash device: 0x400000 at 0x1fc00000
    Jan 1 01:00:03 kernel: Physically mapped flash: squashfs filesystem found at block 936
    Jan 1 01:00:03 kernel: Creating 5 MTD partitions on "Physically mapped flash":
    Jan 1 01:00:03 kernel: 0x00000000-0x00040000 : "pmon"
    Jan 1 01:00:03 kernel: 0x00040000-0x003e0000 : "linux"
    Jan 1 01:00:03 kernel: 0x000ea190-0x003e0000 : "rootfs"
    Jan 1 01:00:03 kernel: 0x003f0000-0x00400000 : "nvram"
    Jan 1 01:00:03 kernel: 0x003e0000-0x003f0000 : "config"
    Jan 1 01:00:03 kernel: sflash: chipcommon not found
    Jan 1 01:00:03 kernel: NET4: Linux TCP/IP 1.0 for NET4.0
    Jan 1 01:00:03 kernel: IP Protocols: ICMP, UDP, TCP
    Jan 1 01:00:03 kernel: IP: routing cache hash table of 512 buckets, 4Kbytes
    Jan 1 01:00:03 kernel: TCP: Hash tables configured (established 1024 bind 2048)
    Jan 1 01:00:03 kernel: ip_conntrack version 2.1 (128 buckets, 1024 max) - 344 bytes per conntrack
    Jan 1 01:00:03 kernel: ip_conntrack_pptp version 1.9 loaded
    Jan 1 01:00:03 kernel: ip_nat_pptp version 1.5 loaded
    Jan 1 01:00:03 kernel: ip_tables: (C) 2000-2002 Netfilter core team
    Jan 1 01:00:03 kernel: ipt_time loading
    Jan 1 01:00:03 kernel: NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
    Jan 1 01:00:03 kernel: IPv6 v0.8 for NET4.0
    Jan 1 01:00:03 kernel: IPv6 over IPv4 tunneling driver
    Jan 1 01:00:03 kernel: NET4: Ethernet Bridge 008 for NET4.0
    Jan 1 01:00:03 kernel: 802.1Q VLAN Support v1.7 Ben Greear <greearb@candelatech.com>
    Jan 1 01:00:03 kernel: All bugs added by David S. Miller <davem@redhat.com>
    Jan 1 01:00:03 kernel: FAT: bogus logical sector size 21760
    Jan 1 01:00:03 kernel: FAT: bogus logical sector size 21760
    Jan 1 01:00:03 kernel: NTFS: Unable to set blocksize 512.
    Jan 1 01:00:03 kernel: VFS: Mounted root (squashfs filesystem) readonly.
    Jan 1 01:00:03 kernel: Mounted devfs on /dev
    Jan 1 01:00:03 kernel: Freeing unused kernel memory: 68k freed
    Jan 1 01:00:03 kernel: Warning: unable to open an initial console.
    Jan 1 01:00:03 kernel: Algorithmics/MIPS FPU Emulator v1.5
    Jan 1 01:00:03 kernel: eth0: Broadcom BCM47xx 10/100 Mbps Ethernet Controller 3.90.7.0
    Jan 1 01:00:03 kernel: eth1: Broadcom BCM47xx 10/100 Mbps Ethernet Controller 3.90.7.0
    Jan 1 01:00:03 kernel: PCI: Enabling device 01:02.0 (0004 -> 0006)
    Jan 1 01:00:03 kernel: eth2: Broadcom BCM4320 802.11 Wireless Controller 3.90.7.0
    Jan 1 01:00:03 kernel: device eth0 entered promiscuous mode
    Jan 1 01:00:03 kernel: device eth2 entered promiscuous mode
    Jan 1 01:00:03 kernel: br0: port 2(eth2) entering listening state
    Jan 1 01:00:03 kernel: br0: port 1(eth0) entering listening state
    Jan 1 01:00:03 kernel: br0: port 2(eth2) entering learning state
    Jan 1 01:00:03 kernel: br0: port 1(eth0) entering learning state
    Jan 1 01:00:03 kernel: br0: port 2(eth2) entering forwarding state
    Jan 1 01:00:03 kernel: g
    Jan 1 01:00:03 kernel: br0: port 1(eth0) entering forwarding state
    Jan 1 01:00:03 kernel: br0: topology change detected, propagating
    Jan 1 01:00:04 kernel: usb.c: registered new driver usbdevfs
    Jan 1 01:00:04 kernel: usb.c: registered new driver hub
    Jan 1 01:00:04 kernel: usb-ohci.c: USB OHCI at membase 0xb8004000, IRQ 2
    Jan 1 01:00:04 kernel: usb-ohci.c: usb-00:04.0, PCI device 14e4:4715
    Jan 1 01:00:04 kernel: usb.c: new USB bus registered, assigned bus number 1
    Jan 1 01:00:04 kernel: hub.c: USB hub found
    Jan 1 01:00:04 kernel: hub.c: 2 ports detected
    Jan 1 01:00:05 kernel: hub.c: new USB device 00:04.0-1, assigned address 2
    Jan 1 01:00:05 kernel: usb.c: USB device 2 (vend/prod 0x67b/0x3507) is not claimed by any active driver.
    Jan 1 01:00:05 kernel: lp0: using parport0 (polling).
    Jan 1 01:00:05 kernel: usb.c: registered new driver usblp
    Jan 1 01:00:05 kernel: printer.c: v0.13: USB Printer Device Class driver
    Jan 1 01:00:07 kernel: usb.c: registered new driver audio
    Jan 1 01:00:07 kernel: audio.c: v1.0.0:USB Audio Class driver
    Jan 1 01:00:07 kernel: Linux video capture interface: v1.00
    Jan 1 01:00:08 kernel: SCSI subsystem driver Revision: 1.00
    Jan 1 01:00:08 kernel: Initializing USB Mass Storage driver...
    Jan 1 01:00:08 kernel: usb.c: registered new driver usb-storage
    Jan 1 01:00:08 kernel: scsi0 : SCSI emulation for USB Mass Storage devices
    Jan 1 01:00:08 kernel: Vendor: Maxtor 6 Model: E040L0 Rev: NAR6
    Jan 1 01:00:08 kernel: Type: Direct-Access ANSI SCSI revision: 02
    Jan 1 01:00:08 kernel: Attached scsi disk sda at scsi0, channel 0, id 0, lun 0
    Jan 1 01:00:08 kernel: SCSI device sda: 80291135 512-byte hdwr sectors (41109 MB)
    Jan 1 01:00:08 kernel: Partition check:
    Jan 1 01:00:08 kernel: p1
    Jan 1 01:00:08 kernel: USB Mass Storage support registered.
    Jan 1 01:00:09 dnsmasq[53]: read /etc/hosts - 4 addresses
    Jan 1 01:00:09 dnsmasq[53]: reading /tmp/resolv.conf
    Jan 1 01:00:09 dnsmasq[53]: using nameserver 212.24.128.8#53
    Jan 1 01:00:09 dnsmasq[53]: using nameserver 192.168.4.1#53
    Jan 1 01:00:10 kernel: lp driver: get device ID
    Jan 1 01:00:10 kernel: neg fail
    Jan 1 01:00:12 dropbear[107]: Running in background
    Apr 23 10:42:16 ntp client: Synchronizing time with time.nist.gov ...
    Apr 23 10:42:16 kernel: VFS: Can't find ext3 filesystem on dev sd(8,1).
    Apr 23 10:42:16 kernel: MSDOS FS: Using codepage 950
    Apr 23 10:42:16 kernel: MSDOS FS: IO charset cp950
    Apr 23 10:42:16 USB storage: vfat fs mounted to /tmp/harddisk
    Apr 23 10:42:17 FTP server: daemon is started
    Apr 23 11:44:23 kernel: lp driver: get device ID
    Apr 23 11:44:23 kernel: neg fail
    Apr 23 11:44:23 kernel: neg fail

  3. #3
    Join Date
    Dec 2003
    Location
    Russian Federation
    Posts
    8,356
    You need to set LAN Hostname.

  4. #4
    And how to? Please help me.

  5. #5
    Join Date
    Dec 2003
    Location
    Russian Federation
    Posts
    8,356
    Using the Web interface (IP Config | LAN & WAN).

  6. #6

    Thank

    Thank you for help. Samba is run

Similar Threads

  1. Problem writing w/ Samba
    By dsf260 in forum WL-500g Q&A
    Replies: 17
    Last Post: 27-08-2005, 14:38
  2. Problem with samba on wl500gx
    By tekmic in forum WL-500g Q&A
    Replies: 2
    Last Post: 06-07-2005, 15:26
  3. Samba Problem
    By britnet in forum WL-500g Q&A
    Replies: 8
    Last Post: 25-06-2005, 15:45
  4. Problem with Samba
    By bs3 in forum WL-500g Q&A
    Replies: 16
    Last Post: 24-05-2005, 09:42
  5. 1.7.5.9 Samba Problem with big files
    By kwr in forum WL-500g Custom Development
    Replies: 4
    Last Post: 27-08-2004, 22:58

Posting Permissions

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