Results 1 to 3 of 3

Thread: Samba share to be accessed by "My Network Places"

  1. #1
    Junior Member
    Join Date
    Jul 2004
    Posts
    3

    Samba share to be accessed by "My Network Places"

    Hello all.

    I am a newbie, but I've been meaning to get my feet wet with Linux for a long time, so please bear with me.

    I have done an HD install of Knoppix 3.4 onto a machine which I intend to use as a simple SMB share for my parents small (3 XP workstations and a laptop) business. I would like this machine to simply appear in "My Network Places" and allow them to map it as a drive. Basically, they just need a place to dump files to a machine that isn't in the same part of the building, and we didn't want to pay for an OS and I wanted something that wouldn't need to be rebooted.

    The network has no WINS server, and IPs are assigned via DHCP on an 8-port cable router/switch. It's just a basic workgroup network, and I'd really like to leave it that way for them if possible. It's been hard enough getting them used to that.

    1) I cannot seem to get this (Knoppix) machine to appear in My Network Places. I can access shares on my XP machine from the Linux machine (via Konqueror), but I cannot access the Linux machine from the XP machine, even when typing the \\host\share into the address bar. The machines can ping each other's IPs, however, and the host name of the Linux box does appear on the router config page. The XP box just can't see the Linux box (the Linux box sees the XP box in LinNeighborhood as well). The Linux box accesses the Internet via the router without trouble as well.

    Following are my etc/samba/smb.conf file contents (abridged):

    [global]
    panic action = /usr/share/samba/panic-action %d
    printing = cups
    printcap name = cups
    load printers = yes
    guest account = everybody
    invalid users = root
    security = share
    workgroup = WORKGROUP
    server string = %h server (Samba %v)
    syslog only = no
    syslog = 0;
    socket options = IPTOS_LOWDELAY TCP_NODELAY SO_SNDBUF=4096 SO_RCVBUF=4096
    encrypt passwords = true
    passdb backend = smbpasswd guest
    wins support = no
    wins server =
    include =
    name resolve order = lmhosts host wins bcast
    dns proxy = no
    preserve case = yes
    short preserve case = yes
    unix password sync = false
    passwd program = /usr/bin/passwd %u
    passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* %n\n .
    max log size = 1000
    obey pam restrictions = yes
    unix charset = iso-8859-15
    display charset = iso-8859-15
    dos charset = 850

    [homes]
    comment = Home Directories
    browseable = yes
    read only = yes
    create mask = 0700
    directory mask = 0700

    [print$]
    comment = Printer Drivers
    path = /var/lib/samba/printers
    browseable = yes
    guest ok = no
    read only = yes
    write list = knoppix

    [printers]
    printer admin = knoppix
    comment = All Printers
    browseable = no
    path = /tmp
    printable = yes
    public = no
    writable = no
    create mode = 0700

    [ROOT_SHARE]
    path = /root/Share
    comment = /root/Share
    public = yes
    guest ok = yes
    writable = no
    wide links = no

    --Some of these lines I understand, some of them I don't. I realize that to be able to write to the share, I'll need to switch it from read-only, but right now I just want to get the XP box to see the Linux box.


    2) I would ideally like to share the root directory (or any directory, really) of a separate hard drive from what Knoppix/Debian is running from, but I have discovered that under normal circumstances one can only share directories in the user's home directory. Surely there is a way around this?


    I realize that the setup I'm proposing is not as secure or professional as would normally be desired, but I am the closest thing my parents have to an IT guy, and I live a few hours away. It just has to be set up in such a manner that they never really need to worry about it.

    I'd really appreciate your help and insight. I've been Googling for a week, but don't seem to be getting anwhere.

    Thanks!

  2. #2
    Senior Member registered user
    Join Date
    Feb 2004
    Posts
    949

    Re: Samba share to be accessed by "My Network Places&qu

    Quote Originally Posted by kurtz25
    Hello all.

    2) I would ideally like to share the root directory (or any directory, really) of a separate hard drive from what Knoppix/Debian is running from, but I have discovered that under normal circumstances one can only share directories in the user's home directory. Surely there is a way around this?
    You can mount the drive in your home directory.

    open up a shell and type sudo mount -a /dev/(name of drive ex: hda1) home/knoppix/name_of_folder (correct me if I'm wrong)

    everything else I don't know.

  3. #3
    Senior Member registered user
    Join Date
    Jun 2004
    Posts
    788
    kurtz25

    1) You need smb4k for easier (gui ) to see your shared mnt point and easy mounting. Command: apt-get install smb4k.

    2) For windows to see linux shared, you need to create user account on your knoppix box (every user in every windows box). Command : adduser
    You can hide these users later on from your login manager if you want to.

    3) You need to create samba password for every user including you. This password must be same password that every user use to login to windows box.
    Command: smbpasswd -a *username*

    4) Open smb4k and scan for network or add i.p address of windows box. You will see shared files in windows and knoppix.
    Mount your knoppix shared.

    5) Open your network neighborhood in windows box....you can map the mount point if you want to.


Similar Threads

  1. Accessing Wireles Network "G"
    By n3szw in forum Laptops
    Replies: 0
    Last Post: 01-30-2005, 10:14 PM
  2. Samba Client - Does it "Auto Start"?
    By ELeahi in forum Networking
    Replies: 0
    Last Post: 10-15-2004, 09:40 AM
  3. "No supported Network Card Found"
    By rayesteq in forum Networking
    Replies: 0
    Last Post: 09-14-2004, 04:47 PM
  4. "No supported Network Cards Found"
    By Angryguy in forum Networking
    Replies: 4
    Last Post: 09-12-2003, 01:48 AM
  5. "Error: No Wireless Network Card Found"
    By akira28 in forum Networking
    Replies: 0
    Last Post: 08-02-2003, 11:52 PM

Posting Permissions

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


USB 3.0 Flash Drive 32GB 64GB 128GB Memory Stick Thumb Stick Lot Pack picture

USB 3.0 Flash Drive 32GB 64GB 128GB Memory Stick Thumb Stick Lot Pack

$826.09



TF/SD Card Adapter Camera Reader Android Type-c For iPhone17 Pro Max Plusm lot picture

TF/SD Card Adapter Camera Reader Android Type-c For iPhone17 Pro Max Plusm lot

$573.98



24x Micron MT40A512M16LY-062E IT:E 8Gb DDR4-3200 96-FBGA Memory IC picture

24x Micron MT40A512M16LY-062E IT:E 8Gb DDR4-3200 96-FBGA Memory IC

$349.99



Wholesale 5/10/100PCS 1GB 2GB 4GB 8GB 16GB 32GB USB 2.0 Flash Drive Memory Stick picture

Wholesale 5/10/100PCS 1GB 2GB 4GB 8GB 16GB 32GB USB 2.0 Flash Drive Memory Stick

$489.96



Kingston 32GB 64GB 128GB 256GB USB 3.0 Flash Drive Thumb Memory Stick Pen lot picture

Kingston 32GB 64GB 128GB 256GB USB 3.0 Flash Drive Thumb Memory Stick Pen lot

$285.90



Samsung 32GB DDR4-2666V-2Rx4-RB2-12 RAM  M393A4K40CB2-CTD6Q picture

Samsung 32GB DDR4-2666V-2Rx4-RB2-12 RAM M393A4K40CB2-CTD6Q

$169.00



USB 3.0 Micro SD SDHC TF Card Reader Memory Adapter for PC Laptop Camera lot picture

USB 3.0 Micro SD SDHC TF Card Reader Memory Adapter for PC Laptop Camera lot

$3.75



Server Memory: Samsung 32GB 4DRx4 PC4-2133P ECC LRDIMM DDR4 M386A4G40DM0-CPB picture

Server Memory: Samsung 32GB 4DRx4 PC4-2133P ECC LRDIMM DDR4 M386A4G40DM0-CPB

$124.95



Samsung Planet First 8GB 2Rx4 PC3-10600R picture

Samsung Planet First 8GB 2Rx4 PC3-10600R

$341.00



Dell 16GB PC4-21300 (DDR4-2666) Memory (SNPPWR5TC16G) picture

Dell 16GB PC4-21300 (DDR4-2666) Memory (SNPPWR5TC16G)

$89.99