Can't see anything in Network.

Connection sharing, Firewall, Samba..etc
Forum rules
Before you post please read how to get help
nuovo
Level 1
Level 1
Posts: 19
Joined: Sun Dec 30, 2012 1:40 pm

Can't see anything in Network.

Post by nuovo » Sat Jan 12, 2013 2:01 pm

Situation here: Internet via router, Mint14 Nadia desktop connected via cable, Win 7 laptop connected via wireless adapter.
Both on laptop and desktop i can't approach Network. Desktop gives: failed to retrieve share list from server.
I want to be able to print via my laptop on the printer which is connected to my desktop(and works ok).
Help is needed.

altair4
Level 19
Level 19
Posts: 9715
Joined: Tue Feb 03, 2009 10:27 am

Re: Can't see anything in Network.

Post by altair4 » Sat Jan 12, 2013 2:44 pm

For the "failed to retrieve share list" issue go through the checklist and see if it clears up anything:

Samba Browsing Problems Checklist:
http://forums.linuxmint.com/viewtopic.p ... 46&start=0

For the printer see if this helps:

Network Printer Sharing
: http://forums.linuxmint.com/viewtopic.php?f=42&t=28397
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.

nuovo
Level 1
Level 1
Posts: 19
Joined: Sun Dec 30, 2012 1:40 pm

Re: Can't see anything in Network.

Post by nuovo » Sat Jan 12, 2013 4:17 pm

Yes now i can see my Win7 laptop on my Linux desktop can open it but on the map users i get: failed to mount Windows share.
On my Win7 laptop i now can see my Linux desktop but can"t access it. Windows says the problems is filesharingon the Linux comp.
Could this have something to do with the Firewall?
Anyway sofar so good!

altair4
Level 19
Level 19
Posts: 9715
Joined: Tue Feb 03, 2009 10:27 am

Re: Can't see anything in Network.

Post by altair4 » Sat Jan 12, 2013 4:23 pm

Yes now i can see my Win7 laptop on my Linux desktop can open it but on the map users i get: failed to mount Windows share.
That's a Windows question. Did you create any shares on the WIn7 box? I don't know what "map users" means. You are doing this from the Mint box?
On my Win7 laptop i now can see my Linux desktop but can"t access it. Windows says the problems is filesharingon the Linux comp.
Please post the output of the following commands from the Linux box:

Code: Select all

testparm -s

Code: Select all

net usershare info --long
Could this have something to do with the Firewall?
Yes. Like the HowTo explained turn it off long enough to see if that is the issue.
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.

nuovo
Level 1
Level 1
Posts: 19
Joined: Sun Dec 30, 2012 1:40 pm

Re: Can't see anything in Network.

Post by nuovo » Sat Jan 12, 2013 4:38 pm

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

net usershare info --long
net usershare: cannot open usershare directory /var/lib/samba/usershares. Error Permission denied
You do not have permission to create a usershare. Ask your administrator to grant you permissions to create a share.

igor83

Re: Can't see anything in Network.

Post by igor83 » Sat Jan 12, 2013 5:22 pm

nuovo wrote:Yes now i can see my Win7 laptop on my Linux desktop can open it but on the map users i get: failed to mount Windows share.
On my Win7 laptop i now can see my Linux desktop but can"t access it. Windows says the problems is filesharingon the Linux comp.
Could this have something to do with the Firewall?
Anyway sofar so good!
I'm following this thread with interest as I encountered the same problem adding a Windows 7 Home Premium computer to my network, which was running perfectly fine with Windows XP and Linux Mint computers. Always I got the error message "Failed to mount Windows share," even if I disable firewall and antivirus on Windows and open up the paths to everyone and the security as well. In the end I got tired of hitting the same roadblock, and solved the problem by a single command. Here is the command: format c: . Not recommended unless you want to get rid of Windows 7. I had a Windows XP drive ready and waiting in the wings to replace it so the only thing lost was the time messing around with Windows 7. If you get Windows 7 working on your network then bravo. Now there are a lot of "helpful suggestions" on the Internet that recommend running programs and services that are not available on Windows 7 Home Premium, so beware.

altair4
Level 19
Level 19
Posts: 9715
Joined: Tue Feb 03, 2009 10:27 am

Re: Can't see anything in Network.

Post by altair4 » Sat Jan 12, 2013 6:19 pm

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
There is far more output from that command than just that. Try it again please and post the entire output.
net usershare info --long
net usershare: cannot open usershare directory /var/lib/samba/usershares. Error Permission denied
You do not have permission to create a usershare. Ask your administrator to grant you permissions to create a share.
Make sure you are a member of the correct group:

Code: Select all

sudo gpasswd -a your-user-name sambashare
Replace your-user-name with your Mint login user name.

Then logout and login again. Then run the following command again and post it's output:

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.

nuovo
Level 1
Level 1
Posts: 19
Joined: Sun Dec 30, 2012 1:40 pm

Re: Can't see anything in Network.

Post by nuovo » Sun Jan 13, 2013 7:48 am

Sorry for this late reaction but have been busy restoring my Win7 installation, since it froze yesterday. Had to run restore! Don't know what caused it. Now i can see my win7 laptop on my Mint comp and have acces to a lot of maps, although i can't open them. On my Win laptop i see my Mint comp but don't have access at all.

altair4
Level 19
Level 19
Posts: 9715
Joined: Tue Feb 03, 2009 10:27 am

Re: Can't see anything in Network.

Post by altair4 » Sun Jan 13, 2013 8:35 am

On my Win laptop i see my Mint comp but don't have access at all.
Still need the same information. The output of the following commands:

Code: Select all

testparm -s
net usershare info --long
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.

nuovo
Level 1
Level 1
Posts: 19
Joined: Sun Dec 30, 2012 1:40 pm

Re: Can't see anything in Network.

Post by nuovo » Sun Jan 13, 2013 9:04 am

cornelis@lintje ~ $ 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

cornelis@lintje ~ $ net usershare info --long
cornelis@lintje ~ $

The last command doesnot give an output.

altair4
Level 19
Level 19
Posts: 9715
Joined: Tue Feb 03, 2009 10:27 am

Re: Can't see anything in Network.

Post by altair4 » Sun Jan 13, 2013 9:09 am

nuovo wrote:cornelis@lintje ~ $ 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

cornelis@lintje ~ $ net usershare info --long
cornelis@lintje ~ $

The last command doesnot give an output.
The output of testparm -s is simply not correct. You are not copying and pasting the entire output to the forum.

Try posting the entire contents of /etc/samba/smb.conf to the forum:

Code: Select all

cat /etc/samba/smb.conf
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.

nuovo
Level 1
Level 1
Posts: 19
Joined: Sun Dec 30, 2012 1:40 pm

Re: Can't see anything in Network.

Post by nuovo » Sun Jan 13, 2013 9:30 am

Here you are:
cornelis@lintje ~ $ cat /etc/samba/smb.conf
#
# Sample configuration file for the Samba suite for Debian GNU/Linux.
#
#
# This is the main Samba configuration file. You should read the
# smb.conf(5) manual page in order to understand the options listed
# here. Samba has a huge number of configurable options most of which
# are not shown in this example
#
# Some options that are often worth tuning have been included as
# commented-out examples in this file.
# - When such options are commented with ";", the proposed setting
# differs from the default Samba behaviour
# - When commented with "#", the proposed setting is the default
# behaviour of Samba but the option is considered important
# enough to be mentioned here
#
# NOTE: Whenever you modify this file you should run the command
# "testparm" to check that you have not made any basic syntactic
# errors.
# A well-established practice is to name the original file
# "smb.conf.master" and create the "real" config file with
#