Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Cannot Map to a Samba Share from PDA


    Problem: Cannot get my pda (HTC Mogul) to connect to a samba share.
    Behavior: Resco File Explorer (V7.03) keeps asking for a password when I try to map to a samba share.

    Basic Setup Information:
    ROUTER: Dynamic Type Configuration acting as a DHCP Server. The DNS is Automagic from the IP.
    LAPTOP (windows xp): /
    SAMBA_PC (Suse 11) : /
    PDA (Sprint Mogul, Windows Mobile 6 Pro): /

    -----Below is my current smb.conf---------------
    # smb.conf is the main Samba configuration file. You find a full commented
    # version at /usr/share/doc/packages/samba/examples/smb.conf.SUSE if the
    # samba-doc package is installed.
    # Date: 2008-06-07
    workgroup = MCHOME
    printing = cups
    printcap name = cups
    printcap cache time = 750
    cups options = raw
    map to guest = Bad User
    include = /etc/samba/dhcp.conf
    logon path = \\%L\profiles\.msprofile
    logon home = \\%L\%U\.9xprofile
    logon drive = P:
    usershare allow guests = Yes
    use spnego = No
    comment = Home Directories
    valid users = %S, %D%w%S
    browseable = No
    read only = No
    inherit acls = Yes
    comment = Network Profiles Service
    path = %H
    read only = No
    store dos attributes = Yes
    create mask = 0600
    directory mask = 0700
    comment = All users
    path = /home
    read only = No
    inherit acls = Yes
    veto files = /aquota.user/groups/shares/
    comment = All groups
    path = /home/groups
    read only = No
    inherit acls = Yes
    comment = All Printers
    path = /var/tmp
    printable = Yes
    create mask = 0600
    browseable = No
    comment = Printer Drivers
    path = /var/lib/samba/drivers
    write list = @ntadmin root
    force group = ntadmin
    create mask = 0664
    directory mask = 0775

    comment = downloaded shows
    inherit acls = Yes
    path = /home/jason/Podcasts/
    read only = No

    comment = storage drive
    inherit acls = Yes
    path = /media/disk/
    read only = No

    1) Ping \\LINUX-PD\lacie
    Results: 24.A.B.C
    Note: this number is unknown. It is only similar to the Router Configuration in the first number!

    2) Ping
    Results with Reply from

    3) Ping \\LAPTOP
    Results 24.A.B.C
    Note: This is the same number as PDA Testing #1

    1) Ping \\LINUX-PD
    Results: 24.A.B.C .Qu1nnLAN
    Note: This is the same number as PDA Testing #1 including the name of the wireless lan!

    2) Ping
    Results with reply from

    3) Ping
    Results with reply from

    4) net view \\LINUX-PD
    << shows all of the shares , Not Shown, The Command Completed successfully >>

    5) net use g: \\LINUX-PD\lacie
    << asks for username / pass. The Command Completed successfully >>

    6) From File MANAGER, I can sucessfully browse the network and view the shares!

    From XP > Command Prompt: ipconfig /all
    Windows IP config:
    Host Name: LAPTOP
    Primary DNS Suffix:
    Node Type: Unknown
    IP Routing Enabled: NO
    WINS Proxy Enabled: NO
    DNS Suffix Search List: Qu1nnLAN
    Ethernet adapter wireless Network Connection
    Connection Specific DNS Suffix: Qu1nnLAN
    DHCP Enabled: Yes
    Autoconfig Enabled: Yes
    IP Address:
    Subnet Mask:
    Default Gateway:
    DHCP Server:
    DNS Servers: 24.W.X.Y

    LINUX-PD TESTING: (Includes steps from Chapter 38 of the Samba Checklist)
    Results in Reply form

    linux-pd:~ # smbclient -L LINUX-pd
    Enter password:
    Domain=[MCHOME] OS=[Unix] Server=[Samba 3.2.0rc1-22.1-1795-SUSE-SL11.0]

    Sharename Type Comment
    --------- ---- -------
    profiles Disk Network Profiles Service
    users Disk All users
    groups Disk All groups
    print$ Disk Printer Drivers
    linuxpodcasts Disk downloaded shows
    lacie Disk storage drive
    IPC$ IPC IPC Service (Samba 3.2.0rc1-22.1-1795-SUSE-SL11.0)
    Photosmart_3200 Printer Photosmart 3210
    HIDDEN Disk Home Directories
    Domain=[MCHOME] OS=[Unix] Server=[Samba 3.2.0rc1-22.1-1795-SUSE-SL11.0]

    Server Comment
    --------- -------
    LAPTOP Pentium M750 1.86GHz, 1GB RAM
    LINUX-PD Samba 3.2.0rc1-22.1-1795-SUSE-SL11.0

    Workgroup Master
    --------- -------

    linux-pd:~ # nmblookup -B LINUX-PD __SAMBA__
    querying __SAMBA__ on __SAMBA__<00>

    linux-pd:~ # nmblookup -d 2 '*'
    added interface eth0 ip=fe80::213:20ff:fecb:7cbb%eth0 bcast=fe80::ffff:ffff:ffff:ffff%eth0 netmask=ffff:ffff:ffff:ffff::
    added interface eth0 ip= bcast= netmask=
    querying * on
    Got a positive name query response from ( ) *<00>

    linux-pd:~ # smbclient //LINUX-PD/lacie
    Enter HIDDEN password:
    Domain=[MCHOME] OS=[Unix] Server=[Samba 3.2.0rc1-22.1-1795-SUSE-SL11.0]
    smb: \>

    linux-pd:~ # nmblookup -M MCHOME
    querying MCHOME on MCHOME<1d>

    Additional Questions:
    1) when in a linux console and you are pinging a IP, how to you stop the continuous pinging?
    2) how do you find the machine name on the PDA similar to how the LINUX-PD =
    3) why is the wireless router name showing up when I ping?

    I am at a loss.
    I will be posting to a Resco forum as well.
    Any suggestions helping this newb would be great.

    Thank you for your time

  2. #2

    thank you for your time

Posting Permissions

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