PDA

View Full Version : Lan connections



CrashedAgain
10-07-2003, 09:52 PM
I'm having problems connecting to my Knoppix machine from my other computer. Both machine are dual boot, Win ME & Knoppix (now 3.3). I can connect from Knoppix to access Win on the other computer using 'LinNeighborhood' but I can't access Knoppix from Win. I start samba using the 'Start Samba server ' menu item (KNOPPIX-services-start Samba server), then go to the Win machine. 'My Network Places' finds the Samba server but when I try to access it it prompts for a password which I haven't got & can't find how to set. I'm assuming it's looking for a Samba password but maybe it's a Unix password or something else. There are only three passwords on the entire system....eg'cat' for user Knoppix logon, 'dog' for root logon , & 'cow' for Windows share level acces to windows shares & I've tried them all.
Also tried setting the samba password with smbpasswd to be the same as the logon password.
What am I not doing right?

hw-tph
10-08-2003, 12:38 AM
If you want to access the SMB shares on the computer running Linux from a Windows computer over the network you will need to connect to the share as a valid user on the Linux box.

To add a Samba password (to enable a user account on the Linux box to login to the Samba share), open a terminal and run "smbpasswd username" as root (you can use the command "su" to become root, then use "exit" to exit root mode). Then you should be able to log in to the Linux box as "username" with the password you specified (smbpasswd prompts for a new password for the given username).

It's often smart to have matching accounts on the Linux and Windows boxes. If you have a Windows user with the login/password elvis/wasfat you should create a similar account on the Linux box and then run "smbpasswd elvis" to enable elvis to view his Linux files from Windows.


hw

CrashedAgain
10-08-2003, 11:02 PM
Tried that...I think. I added the Windows ID name using smbpasswd & also added it as a Linux account using the same password. Mybe I didn't do it right but it didn't work. I did finally manage to connect after editing smb.conf to security=share & setting [homes] path = / . There are no 'share' passwords set, so I think this means ANYBODY can now access my system which probably isn't very secure.....Opps, it's just CrashedAgain and is being reloaded so I guess it's secure for the moment!