LINUX LITE 7.2 FINAL RELEASED - SEE RELEASE ANNOUNCEMENTS SECTION FOR DETAILS


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
networking question
#1
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
Reply
#2
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.
Upgrades WIP 2.6 to 2.8 - (6 X 2.6 to 2.8 completed on: 20/02/16 All O.K )
Linux Lite 3.0 Humming on a ASRock N3070 Mobo ~ btrfs RAID 10 Install on 4 Disks Smile

Computers Early days:
ZX Spectrum(1982) , HP-150 MS-DOS(1983) , Amstrad CPC464(1984) ,  BBC Micro B+64(1985) , My First PC HP-Vectra(1987)
Reply
#3
Yes - same username and password on both - - doesn't work - but thanks anyway .
Reply
#4
with both your pc's booted in Linux.
open a terminal ctrl-alt-t, and enter:
Code:
smbtree
It will ask you for password.
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
Enter dave's password:
HOMENET
   \\SM-XH97              Linux Lite Shares
      \\SM-XH97\Public            LL2 Share - sm-xh97
      \\SM-XH97\IPC$              IPC Service (Linux Lite Shares)
   \\SM-DS87              LL Shares
      \\SM-DS87\Public            LL2 Share
      \\SM-DS87\IPC$              IPC Service (LL Shares)
   \\NAS1-SYN             
      \\NAS1-SYN\IPC$              IPC Service ()
      \\NAS1-SYN\XTemp           Temporary File Share
      \\NAS1-SYN\XShare           Common Files
      \\NAS1-SYN\Media             Media Files
      \\NAS1-SYN\Linux              Linux File Share
   \\JETWAY1              Linux Lite Shares
      \\JETWAY1\Public            LL2 Share
      \\JETWAY1\IPC$              IPC Service (Linux Lite Shares)
   \\HP-LAPPY1            Linux-Lite-Shares
      \\HP-LAPPY1\Share-Documents   Document Share
      \\HP-LAPPY1\Share-Public      Public Share
      \\HP-LAPPY1\Share-VBox       VBox Share
      \\HP-LAPPY1\IPC$                 IPC Service (Linux-Lite-Shares)
   \\ASUS-MINI-1          Linux Lite Shares
      \\ASUS-MINI-1\Share-Docs        Documents Share
      \\ASUS-MINI-1\Share-Public      Public Share
      \\ASUS-MINI-1\Share-VBox       VBox Share
      \\ASUS-MINI-1\IPC$                 IPC Service (Linux Lite Shares)
Upgrades WIP 2.6 to 2.8 - (6 X 2.6 to 2.8 completed on: 20/02/16 All O.K )
Linux Lite 3.0 Humming on a ASRock N3070 Mobo ~ btrfs RAID 10 Install on 4 Disks Smile

Computers Early days:
ZX Spectrum(1982) , HP-150 MS-DOS(1983) , Amstrad CPC464(1984) ,  BBC Micro B+64(1985) , My First PC HP-Vectra(1987)
Reply
#5
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 .
Reply
#6
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%20...rief%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 ) 
Reply
#7
[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
[size=1em]So did you already follow the "Sharing" tutorial section from the help manual..??[/size]

If you open SAMBA from the Menu > System
What is it showing for Shares.??
[Image: rPNZYsi.png]

[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
Upgrades WIP 2.6 to 2.8 - (6 X 2.6 to 2.8 completed on: 20/02/16 All O.K )
Linux Lite 3.0 Humming on a ASRock N3070 Mobo ~ btrfs RAID 10 Install on 4 Disks Smile

Computers Early days:
ZX Spectrum(1982) , HP-150 MS-DOS(1983) , Amstrad CPC464(1984) ,  BBC Micro B+64(1985) , My First PC HP-Vectra(1987)
Reply
#8
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
Reply
#9
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.freecinema2022.gq/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.
Reply
#10
(04-21-2015, 02:19 PM)rbagwell link Wrote: Thanks Dave,

I think I'll give up on trying to see drives on my LAN between 2 Linux Lite machines.
Ralph

Hi Ralph,

I agree with Jerry,
Do not add anything, try again and follow the Share Help Guide from the beginning.

Dave
Upgrades WIP 2.6 to 2.8 - (6 X 2.6 to 2.8 completed on: 20/02/16 All O.K )
Linux Lite 3.0 Humming on a ASRock N3070 Mobo ~ btrfs RAID 10 Install on 4 Disks Smile

Computers Early days:
ZX Spectrum(1982) , HP-150 MS-DOS(1983) , Amstrad CPC464(1984) ,  BBC Micro B+64(1985) , My First PC HP-Vectra(1987)
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)