-
Junior Member
registered user
Can share Win box, but not Knoppix box
Well now that I'm networked and both computers can access the internet, I moved onto file sharing.
I was able to get it so I could see my WinXP box from my Linux box and I can see and access the shared files on my WinXP box using http://www.knoppix.net/wiki/Smb_Client_HowTo.
But when I'm stuck when I try to share files on my Linux box now. I start the Samba server and enter the root PW but then nothing happens (I believe the problem lies in here since I should be asked at this point if I want to share my hardrive, correct?).
I right click on a folder in my home folder, select the Share tab, select the Shared radio button, click ok and I get failed.
Make sure that the Perl script 'fileshareset' is set to suid root.
I click on Configure File Sharing button on that same tab, enter my root PW, and nothing happens. Any ideas how I can get my windows box to see my linux box?
Thanks in advance for putting up with my newbiness 
Matt
-
Junior Member
registered user
Well I adjusted a bunch of stuff (too much to remember) and I now have Samba up and running and I can see the linux box from my windows machine.
-
i've just managed to get mine to do that - it wasn't easy.
First, you need to configure /etc/samba/smb.conf correctly. It may already be right.
Then, you create users on your system for the "names" of the machines you want to be able to access the Linux box.
You do it this way: assume you want machines called fred and ernie to access hte Linx machine,
open a root terminal, and type
sudo adduser --force-badname fred
sudo adduser --force-badname ernie
smbpasswd -a fred
smbpasswd -a ernie
and enter the password(s) you choose at each stage.
That creates a directory on the Linux box for each; that way, they can access it. There may be a better way, but I've not found it.
Then you go to K - Control Center - Internet and Network - Local Network Browsing and set up the details under Windows Shares and Lisa Daemon to match your system.
Then, you copy smb.conf to YOUR home directory (you can leave the original in /etc/samba/). Make sure the owner is YOU.
Then, you start Samba Server, which will ask you for the root password, then disappear again.
Then (and this is the bit I had trouble to find) you open a root terminal and type the following two lines:
smbd -D -s /home/<username>/smb.conf
nmbd -D -s /home/<username>/smb.conf
It's the last bit that tells Samba server that others can see your system.
It worked for me. A bit kludgy, but I have access from my two Windows machines.
-
Junior Member
registered user
Thanks Keith, I'll give all this a try.
Matt
-
Thanks, this was helpful for me too.
-
Similar Threads
-
By rkolech in forum Networking
Replies: 2
Last Post: 06-08-2009, 02:07 AM
-
By dpro in forum General Support
Replies: 4
Last Post: 05-10-2006, 10:07 AM
-
By knoppixn00b in forum Networking
Replies: 0
Last Post: 10-18-2005, 03:09 AM
-
By Calman in forum Networking
Replies: 3
Last Post: 02-15-2004, 01:14 AM
-
By npyang in forum General Support
Replies: 8
Last Post: 12-18-2003, 09:19 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
-
Forum Rules

Dell Poweredge R720 8SFF 2.5" x Xeon E5-2680 v2 2.8GHz 20-Cores 128gb 4x Trays
$349.99

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

Dell PowerEdge R730XD Server 2x E5-2695 V4 = 36 Cores H730p 32GB RAM 4x trays
$649.99

Dell PowerEdge R420 Rack Server Intel Xeon 1.90GHz Six-Core 8GB DDR3 RAM
$95.00

Dell Poweredge R720 8SFF 2.5" 2x Xeon E5-2680 v2 2.8GHz 20-Cores 64gb 4x Trays
$259.99

Dell PowerEdge R620 2x Xeon E5-2630 v2 3.1GHz 2.5" 4-BAY 32GB RAM No OS 2x 495w
$168.95

Dell Poweredge R740 8 Bay LFF 3.5" 2U Rack Server DUAL XEON GOLD CPUs HOMELAB US
$399.94

Dell PowerEdge R640 Server 2.10Ghz 32-Core 64GB RAM Energy-Efficient
$649.95

Dell Poweredge R630 2x Xeon E5-2680 v3 2.5ghz 24-Cores / 64gb / Raid / 2x 1Tb
$374.99

Dell PowerEdge R530 2x E5-2630v4 H330 iDRAC8 Port Card Riser No PSU/RAM/HDD
$99.99