Homenetwork problem
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Homenetwork problem
Hi everybody!
This is the situation:
1 desktop system running Mint 13 + MATE
1 desktop system running Mint 14 + Cinnamon 1.6
The desktop running Mint 13+MATE has been called A as network-groupname. How can i set this name A for Mint 14 as well???
The desktop running Mint 13+MATE has some folders shared. How do i do this on Mint 14??
Basically, how can i access the Mint13 system from Mint 14 and counterwise??
This is the situation:
1 desktop system running Mint 13 + MATE
1 desktop system running Mint 14 + Cinnamon 1.6
The desktop running Mint 13+MATE has been called A as network-groupname. How can i set this name A for Mint 14 as well???
The desktop running Mint 13+MATE has some folders shared. How do i do this on Mint 14??
Basically, how can i access the Mint13 system from Mint 14 and counterwise??
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: Homenetwork problem
Do you mean Workgroup? It really doesn't matter if they are in different workgroups as long as you are in the same subnet but if you want to change it:The desktop running Mint 13+MATE has been called A as network-groupname. How can i set this name A for Mint 14 as well???
Code: Select all
gksu gedit /etc/samba/smb.conf
Then restart samba:#======================= Global Settings =======================
[global]
## Browsing/Identification ###
# Change this to the workgroup/NT-domain name your Samba server will part of
workgroup = WORKGROUP
Code: Select all
sudo service smbd restart
Depends on how complicated you want to make your shares. The easy way:The desktop running Mint 13+MATE has some folders shared. How do i do this on Mint 14??
Open Nemo
Right Click a folder you own.
Select Sharing Options
Check on some boxes.
Select Create Share
If it asks you if you want to modify permissions - say yes.
You have just created a Samba Usershare.
Run the following command from either or both machines and see if it lists all your shares or gives you an error:
Code: Select all
smbtree
Code: Select all
testparm -s
Code: Select all
net usershare info --long
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.
Re: Homenetwork problem
Okay altair4, i'll try this!
Problem is that neither system can't see eachother and i think it has to do with the WORKGROUP naming.
Problem is that neither system can't see eachother and i think it has to do with the WORKGROUP naming.
Re: Homenetwork problem
If they can't see each other go through the checklist:
Samba Browsing Problems Checklist: http://forums.linuxmint.com/viewtopic.p ... 46&start=0
Samba Browsing Problems Checklist: http://forums.linuxmint.com/viewtopic.p ... 46&start=0
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.
Re: Homenetwork problem
Outputaltair4 wrote:Run the following command from either or both machines and see if it lists all your shares or gives you an error:Code: Select all
smbtree
The other system is not visible...nomko@nomko-mint14 ~ $ smbtree
Enter nomko's password:
WORKGROUP
\\NOMKO-MINT14 nomko-mint14 server (Samba, LinuxMint)
\\NOMKO-MINT14\Openbaar
\\NOMKO-MINT14\Downloads
\\NOMKO-MINT14\IPC$ IPC Service (nomko-mint14 server (Samba, LinuxMint))
\\NOMKO-MINT14\print$ Printer Drivers
nomko@nomko-mint14 ~ $ testparm -sIf you run into any problems the output of the following commands will help those trying to help you:Code: Select all
testparm -s
Load smb config files from /etc/samba/smb.conf
rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
Processing section "[printers]"
Processing section "[print$]"
Loaded services file OK.
Server role: ROLE_STANDALONE
[global]
workgroup = NOMDEN-THUIS-NETWERK
server string = %h server (Samba, LinuxMint)
map to guest = Bad User
obey pam restrictions = Yes
pam password change = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
unix password sync = Yes
syslog = 0
log file = /var/log/samba/log.%m
max log size = 1000
dns proxy = No
usershare allow guests = Yes
panic action = /usr/share/samba/panic-action %d
idmap config * : backend = tdb
[printers]
comment = All Printers
path = /var/spool/samba
create mask = 0700
printable = Yes
print ok = Yes
browseable = No
[print$]
comment = Printer Drivers
path = /var/lib/samba/printers
nomko@nomko-mint14 ~ $ net usershare info --longCode: Select all
net usershare info --long
[Openbaar]
path=/home/nomko/Openbaar
comment=
usershare_acl=Everyone:F,
guest_ok=n
[Downloads]
path=/home/nomko/Downloads
comment=
usershare_acl=Everyone:F,
guest_ok=n
Re: Homenetwork problem
There's nothing wrong on the Mint14 end of this except maybe the workgroup name. I'm trying to remember if there is a length limit on the workgroup name. There is one on the netbios name ( 15 characters ) but for the life of me I don't remember if that extends to the workgroup name. Leave it alone for now but we may want to come back to it.
Your shares require authentication to gain access so you will have to set up users and then add them to the samba password database.
What about the other machine? Can you post the output of all three of those commands from that machine?
Your shares require authentication to gain access so you will have to set up users and then add them to the samba password database.
What about the other machine? Can you post the output of all three of those commands from that machine?
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.
Re: Homenetwork problem
I personally would use NFS for linux to linux.
Would you ever uses two Spanish interpreters to speak to another English speaking person?
Would you ever uses two Spanish interpreters to speak to another English speaking person?
Re: Homenetwork problem
I have to leave for a bit but I would like to offer the following until we can resolve this.
It's somewhat ironic but Linux has a built in advantage with Samba that Windows does not and it comes from Apple.
** Make sure your firewall is disabled at least temporary so it doesn't interfere with what we are about to do.
** Make sure both machines have avahi running:
If it's not running start it:
** On the Mint13 machine:
That will bypass this netbios name / workgroup issue and connect to the samba server directly.
** On the Mint14 machine do the same with min13's host name:
Don't forget the ".local" it's what makes this work.
You can bookmark these in your respective file managers if it works so you don't have to keep running commands. We can even have these show up when you click on "Network" without too much more work.
It's somewhat ironic but Linux has a built in advantage with Samba that Windows does not and it comes from Apple.
** Make sure your firewall is disabled at least temporary so it doesn't interfere with what we are about to do.
** Make sure both machines have avahi running:
Code: Select all
sudo service avahi-daemon status
Code: Select all
sudo service avahi-daemon start
Code: Select all
caja smb://nomko-mint14.local
** On the Mint14 machine do the same with min13's host name:
Code: Select all
nemo smb://some-hostname.local
You can bookmark these in your respective file managers if it works so you don't have to keep running commands. We can even have these show up when you click on "Network" without too much more work.
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.