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
  •  


Gigabyte 4U AI Server 10x Nvidia GPU 2x Xeon Gold 6150 36 Core 2.7GHz DDR4 RAM picture

Gigabyte 4U AI Server 10x Nvidia GPU 2x Xeon Gold 6150 36 Core 2.7GHz DDR4 RAM

$1625.00



Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram  2x 550W PSU No HDD picture

Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram 2x 550W PSU No HDD

$275.00



867959-B21 HPE ProLiant DL360 G10 CTO Server W/ 2x 865414-B21 1x 840140-001 picture

867959-B21 HPE ProLiant DL360 G10 CTO Server W/ 2x 865414-B21 1x 840140-001

$245.00



Dell PowerEdge R240 Intel Xeon E-2224 3.50GHz 8GB DDR4 ECC NO HDD 250W picture

Dell PowerEdge R240 Intel Xeon E-2224 3.50GHz 8GB DDR4 ECC NO HDD 250W

$285.97



Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 32GB RAM No HDD picture

Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 32GB RAM No HDD

$378.93



Dell PowerEdge C4130 1U AI GPU Server | 2x E5-2690 v3 | 64gb Ram | 2x 1600W picture

Dell PowerEdge C4130 1U AI GPU Server | 2x E5-2690 v3 | 64gb Ram | 2x 1600W

$524.99



Dell PowerEdge C4130 1U AI GPU Server | 2x E5-2680 v3 | 32gb Ram | 2x 1600W picture

Dell PowerEdge C4130 1U AI GPU Server | 2x E5-2680 v3 | 32gb Ram | 2x 1600W

$409.99



Supermicro 2U GPU Server SYS-2029GP-TR 2x Xeon 6130 32C 6x PCIe 3.0 x16 Slots picture

Supermicro 2U GPU Server SYS-2029GP-TR 2x Xeon 6130 32C 6x PCIe 3.0 x16 Slots

$745.00



Dell Poweredge R630 2x Intel Xeon E5-2650 v4 32GB RAM No Drives/OS Server picture

Dell Poweredge R630 2x Intel Xeon E5-2650 v4 32GB RAM No Drives/OS Server

$292.50



Dell PowerEdge FX2s + 8x FC430 Blades 16x E5-2630v4 160 Cores Rails No PSU/RAM picture

Dell PowerEdge FX2s + 8x FC430 Blades 16x E5-2630v4 160 Cores Rails No PSU/RAM

$699.00