Networking two mint 17.1 computers fail SOLVED
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Networking two mint 17.1 computers fail SOLVED
Hi, tried this - http://forums.linuxmint.com/viewtopic.p ... 7&t=185410 and it doesnt seem to work for me, help!
output of "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]
server string = %h server (Samba, Linux Mint)
server role = standalone server
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
output of "net usershare info --long" nothing, nada, zilch.
output of "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]
server string = %h server (Samba, Linux Mint)
server role = standalone server
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
output of "net usershare info --long" nothing, nada, zilch.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times 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: Networking two mint 17.1 computers fail
*** Which Mint17.1? Cinnamon, MATE, XFCE, or the other one ... um ... KDE?
***
*** You have nothing shared.
Your smb.conf file lists no share definitions and the usershare command showed no share definitions.
Depending on which 17.1 you are using there are different ways to create Samba shares.
***
What didn't work. One machine can't see the other under "Network"? Or the other machine can be found but there is nothing shared?Hi, tried this - http://forums.linuxmint.com/viewtopic.p ... 7&t=185410 and it doesnt seem to work for me, help!
*** You have nothing shared.
Your smb.conf file lists no share definitions and the usershare command showed no share definitions.
Depending on which 17.1 you are using there are different ways to create Samba shares.
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.
Re: Networking two mint 17.1 computers fail
Hi, got Cinnamon running on both machines, pc1 can't see pc2,and vice versa, and the only folder i can see is something named print$. Know nothing of share definitions, just followed instructions from link i mentioned. This is all a bit greek to me, thanks for any assistance.
Re: Networking two mint 17.1 computers fail
An example of how to create a samba share from Nemo - your file manager:
Open Nemo
Right click your Public folder
Select "Sharing Options"
Select all the boxes
Select "Create Share"
You just created a Samba Usershare. Now when you run this command you should get the share definition for that share:
Open Nemo
Right click your Public folder
Select "Sharing Options"
Select all the boxes
Select "Create Share"
You just created a Samba Usershare. Now when you run this command you should get the share definition for that share:
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: Networking two mint 17.1 computers fail
nope, not happening, when i click on the network icon like a plug, it tries to connect and then goes to the off position again. Is there something else i should have done?
Re: Networking two mint 17.1 computers fail
When you do whatever you did to see the print$ share you should now see the Public share.Quirky757 wrote:Hi, got Cinnamon running on both machines, pc1 can't see pc2,and vice versa, and the only folder i can see is something named print$.
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.
Re: Networking two mint 17.1 computers fail
Not even getting the print$ share now, it was in nemo under network, all i can see in there now is windows network.
Re: Networking two mint 17.1 computers fail
Then you never followed the link in the very first line or your original post.
Before abandoning samba altogether try this first.
On the machine you created the Public share:
[1] Find your host name by running this command:
[2] Then run this command to connect to the public share:
Where your-host-name is the name you found in step [1].
[3] If successful connect to this machine from the other machine using the same hostname the same way.
Before abandoning samba altogether try this first.
On the machine you created the Public share:
[1] Find your host name by running this command:
Code: Select all
hostname
Code: Select all
nemo smb://your-host-name.local/public
[3] If successful connect to this machine from the other machine using the same hostname the same way.
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.
Re: Networking two mint 17.1 computers fail
Ok, i get-
Could not display"smb://myusername.local/public/".
Error:Failed to mount Windows share:Invalid argument
Please select another viewer and try again.
Could not display"smb://myusername.local/public/".
Error:Failed to mount Windows share:Invalid argument
Please select another viewer and try again.
Re: Networking two mint 17.1 computers fail
Not sure of the relationship between "your-host-name" and "myusername" is so do it by ip address instead and leave off the public since I don't really know if you created it:
Change that ip address to the ip address of the machine you are trying to connect to.
Code: Select all
nemo smb://192.168.0.100
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.
Re: Networking two mint 17.1 computers fail
probably a stupid question but how do i find the ip address of the machine?
Ok,just found this article - http://www.maketecheasier.com/setting-u ... inux-mint/ and we appear to be connecting, will have a little test and let you know if it works, but looking good. This has all been very confusing for a wood butcher, but thanks for your patience with me.
Ok,just found this article - http://www.maketecheasier.com/setting-u ... inux-mint/ and we appear to be connecting, will have a little test and let you know if it works, but looking good. This has all been very confusing for a wood butcher, but thanks for your patience with me.
Last edited by Quirky757 on Thu Jun 18, 2015 3:51 am, edited 1 time in total.
Re: Networking two mint 17.1 computers fail
Cheers altair4 seems to work fine now, would i be right in thinking i needed to set up static ip addresses first?
Re: Networking two mint 17.1 computers fail SOLVED
It all depends.
If you can ever find out what's wrong with avahi on all your systems then static ip addresses aren't necessary in an all Linux network.
This is how you would connect: And this would be the result: If you can't fix avahi then static ip addresses are required unless you connect to each other infrequently.
If you can ever find out what's wrong with avahi on all your systems then static ip addresses aren't necessary in an all Linux network.
This is how you would connect: And this would be the result: If you can't fix avahi then static ip addresses are required unless you connect to each other infrequently.
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.
Re: Networking two mint 17.1 computers fail SOLVED
Will have a look over weekend to see if i can figure out what went wrong.
Re: Networking two mint 17.1 computers fail SOLVED
Take baby steps:
Let's say you have two machines and their host names are hostx and hosty:
From hostx ping hosty:
Don't forget the ".local" part of this since that's the magic that makes this whole thing work.
If you get no response:
** Disable the firewall - on both machines:
*** And make sure avahi is running - on both machines:
Then try to ping it again.
Then from hosty ping hostx.
Let's say you have two machines and their host names are hostx and hosty:
From hostx ping hosty:
Code: Select all
ping hosty.local -c4
If you get no response:
** Disable the firewall - on both machines:
Code: Select all
sudo ufw disable
Code: Select all
sudo service avahi-daemon restart
Then from hosty ping hostx.
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.