![]() |
networking question - Printable Version +- Linux Lite Forums (https://www.linuxliteos.com/forums) +-- Forum: Hardware - Support (https://www.linuxliteos.com/forums/forumdisplay.php?fid=6) +--- Forum: Network (https://www.linuxliteos.com/forums/forumdisplay.php?fid=24) +--- Thread: networking question (/showthread.php?tid=1757) Pages:
1
2
|
networking question - rbagwell - 04-19-2015 I have two dual boot ( win 8.1 /Linux Lite ) machines side by side - I can access shares on either with Windows or the Linux machines with the Windows BUT I can't figure out how to share between the two Linux boxes - Dolphin or Konqueror ask for passwords which I don't know. How can I set up the two Linux boxes to share drives with each other ? Thanks Ralph Re: networking question - Wirezfree - 04-19-2015 Hi, I'm not a 100% sure on this, You have 2 PC's Do you have the same username and and password for Linux on both PC's? If they are different..?? PC1 = username1/password1 and PC2 = username2/password2 Try to enter the username/password for the PC you are trying to connect "TO" So if you are at PC1 and trying to access PC2, enter username2/password2 If they are the same.? Then you should just enter your username/password when prompted. Re: networking question - rbagwell - 04-19-2015 Yes - same username and password on both - - doesn't work - but thanks anyway . Re: networking question - Wirezfree - 04-20-2015 with both your pc's booted in Linux. open a terminal ctrl-alt-t, and enter: Code: smbtree It should list your all shares available on each pc, if they are set-up.? Does it look similar to this.? Code: dave@asus-mini-1:~$ smbtree Re: networking question - rbagwell - 04-20-2015 This is what I get on "ralph-ASUS" Same on ralph-ASRock ( with name changed ) ralph@ralph-ASUS:~$ smbtree Enter ralph's password: WORKGROUP \\RALPH-ASROCK \\LAPPY Linux Lite Shares \\LAPPY\linuxliteshare \\LAPPY\IPC$ IPC Service (Linux Lite Shares) ralph@ralph-ASUS:~$ Perhaps I need to "set them up". How do I do that ? I would like share all the disks - with no password required if possible ( There are four on one and three on the other - each with partitions . I don't see the passwords on what "smbtree yields. Should it show them ? . The password is "alison12" on both machines - established on setup. Thanks a lot . Re: networking question - rbagwell - 04-20-2015 I found this : All commands must be done as root (precede each command with 'sudo' or use 'sudo su'). Install Samba sudo apt-get update sudo apt-get install samba Set a password for your user in Samba sudo smbpasswd -a <user_name> Note: Samba uses a separate set of passwords than the standard Linux system accounts (stored in /etc/samba/smbpasswd), so you'll need to create a Samba password for yourself. This tutorial implies that you will use your own user and it does not cover situations involving other users passwords, groups, etc... And did as suggested - then tried to access using Dolphin - didn't work BUT I doubt that I finished the job . https://help.ubuntu.com/community/How%20to%20Create%20a%20Network%20Share%20Via%20Samba%20Via%20CLI%20%28Command-line%20interface/Linux%20Terminal%29%20-%20Uncomplicated,%20Simple%20and%20Brief%20Way! mkdir seems to be the "directory to share" but I want to share drives if possible. I am not command line trained . Is that right ? Is there no other disk shareing procedure ? ( sorry for the total Linux novice ignorance ) Re: networking question - Wirezfree - 04-20-2015 [size=1em]Hi, Sorry, this is now getting off track... So You have: 2 PC's: ralph-ASUS and ralph-ASRock Both Dual Boot, Windows & LL From your first message you indicate that you can already: Share Linux to Windows & Windows to Linux But "NOT" Linux to Linux... Correct..??[/size] [size=1em]From your SMBTREE output you appear to already have a Share set-up on each called[/size] Code: \\lappy\linuxliteshare If you open SAMBA from the Menu > System What is it showing for Shares.?? ![]() [size=1em]When you connect from Windows to Linux,[/size] [size=1em]Is it showing the Shares in the Network section in My Computer,[/size] [size=1em]and you double click to open/connect..??[/size] [size=1em]Also to avoid any added complications,[/size] [size=1em]I think you need to reset your smb password to your normal password, redo the command[/size] [size=1em]and enter your normal user password[/size] Code: sudo smbpasswd -a <username> Dave Re: networking question - rbagwell - 04-21-2015 Thanks Dave, I think I'll give up on trying to see drives on my LAN between 2 Linux Lite machines. I can simply boot up with Win 8.1 or live run another Linux distro to handle whatever I want to do. Maybe someday the creator of this great version will add this feature - fairly common and all windows versions since Windows For Workgroups included this capability . Funny though, during my efforts using File managers , several times I could "see" the other computer but on opening was asked for a password - which I never found - so near. ( I now have Linux Lite booting through an ssd on one machine - never had a better system ) Thanks again, Ralph Re: networking question - Valtam - 04-21-2015 I can share between 2 LL machines without any complication. By following the Help Manual instructions on both machines, you will achieve sharing https://www.linuxliteos.com/manual/network.html#shares By now I'm assuming your samba setup is fairly messy. I would start again fresh, take your time, follow each step and it will work, I guarantee it. If you want, paste the contents of /etc/samba/smb.conf and /etc/samba/smbusers from both LL machines and we'll take a look. We've spent a great deal of time documenting and making this process usable for all people. There is no need to install extra software or use any method other than which we have provided. Re: networking question - Wirezfree - 04-21-2015 (04-21-2015, 02:19 PM)rbagwell link Wrote: Thanks Dave, Hi Ralph, I agree with Jerry, Do not add anything, try again and follow the Share Help Guide from the beginning. Dave |