-
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

IBM System X3850-X5 Server w/4x Intel Xeon E7-4870 CPU , 512 GB DDR3 RAM,NO HDD
$1599.99

IBM 9307-RC4 42U 19in Freestanding Server Rack Cabinet 1000 lb Capacity
$100.00

IBM QRadar xx29 2x Xeon E5-2650v4 2x 900W PSU M5120 12x 3.5" Bay Server No RAM
$179.99

IBM 7915 AC1 M4 E27R704 Server Intel 2650V2 32GB RAM NO HDD w/ 2x 750w PSU
$225.00

IBM SYSTEM X3500 M3 SERVER 7380AC1 TOWER Server XEON E5620 8GB RAID SEE NOTES
$111.70

IBM X3650 M5 5462-AC1,2 X E5-2640V3 2.6GHZ 8C, 16 GB, DUAL 750W, 2 X 1TB SERVER
$349.99

IBM Power 720 8202-E4B Server - POWER7 4-Core 3GHz, 8GB, 2x 146GB HDD, 1725W PSU
$450.00

IBM x3550 M4 1x 3.50GHz Quad Core Xeon E5-2637v2 32GB RAM 8-Bay No HDDs - READ
$20.00

IBM X3650 M4 Server System Board 00MX553 00AM209 00Y8499 00Y8457 00D2888 00W2671
$230.00

IBM System x3850 X5 (7145AC1) Server w/ 2x Xeon X760, 32GB +Storage, 2x PSU
$299.99