failed to mount

Asked by badstuff9

In a terminal, this works: sudo mount -t cifs //hostname/sharename /home/user/directory -o username=USERNAME,password=PASSWORD

When I try to mount the same share using pyneighborhood, I keep getting the error message "failed to mount". Here are the options I have selected:

mount folder = /home/user/directory

nothing else is checked on the general tab.

Always use msbrowse is checked.

client command is smbclient

lookup command is nmblookup

enable smd is checked, the two commands are smbmount and smbumount

enable cifs is checked, the two commands are mount.cifs and umount.cifs

the file manager is xterm -e mc (mc is installed)

Can you tell me why I'm having this problem? Thanks.

Question information

Language:
English Edit question
Status:
Expired
For:
pyneighborhood Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Betz Stefan (encbladexp) said :
#1

Which Version of pyNeighborhood do you use?

Revision history for this message
badstuff9 (badstuff9) said :
#2

version 0.4 - it is what comes with Linux Mint 9 LXDE.

Revision history for this message
Betz Stefan (encbladexp) said :
#3

Version 0.4.* is now longer Supported. You should use at least pyNeighborhood 0.5.2!

You can use https://launchpad.net/~pyneighborhood/+archive/stable this PPA to upgrade your pyNeighborhood to this Version.

Revision history for this message
badstuff9 (badstuff9) said :
#4

Thanks, your answer worked.

Why would Linux Mint 9, which is quite recent, have an old, unsupported version of pyNeighborhood in its repositories? I don't understand. Will there be some kind of incompatibility between Linux Mint 9 and pyNeighborhood 0.5.2?

Revision history for this message
Betz Stefan (encbladexp) said :
#5

Linux Mint builds up on Ubuntu, which itself builds on Debian. Debian has a recent Version of pyNeighborhood since 2 month.

But either Ubuntu or Mint have updated his repositories :-(

Revision history for this message
badstuff9 (badstuff9) said :
#6

Thank you again for your help. I have run into another problem (with the new version installed).

I am at home, I am trying to connect to a server at my place of employment. If I do this in the terminal, it mounts just fine:

sudo mount -t cifs //servername/sharename /home/user/mountfolder -o domain=DOMAIN,username=USERNAME

In pyNeighborhood, I click on the plus sign (append a host or share to the browsing list). In the URL I enter //servername/sharename , and then click on the OK button. The progress bar goes about halfway, and then it just gets stuck, nothing ever happens, nothing gets mounted, no messages appear. I have also tried this when I had this in the CIFS mount options field: domain=DOMAIN,username=USERNAME, and entering my local machine's username and password in the fileds on the network tab, but that had no impact.

Can you help?

Revision history for this message
Betz Stefan (encbladexp) said :
#7

Is there an DNS entry for "servername"?

Revision history for this message
badstuff9 (badstuff9) said :
#8

I'm sorry - I don't know what that quesion means. Where would I look to see if such an entry exists?

Revision history for this message
Betz Stefan (encbladexp) said :
#9

http://en.wikipedia.org/wiki/Domain_Name_System is what i mean.

Each host in your network have a so called "hostname". There a different ways to resolve Names in a network:
 * /etc/hosts
 * dns
 * netbios

If pyNeighborhood is unable to detect a share automatically via netbios (the samba browsing known from windows), you should have an dns oder hosts entry for this samba or windows server. In most small networks (soho - small office, home office) nobody has a complete dns infrastructure :-(

You can try //serverip/sharename instead of //servername/sharename, which skips the dns resolution of your server. If this didn't work too, a screenshot of you pyNeighborhood window maybe nice.

From where have you "servername"? Is this simply the hostname from windows?

Revision history for this message
badstuff9 (badstuff9) said :
#10

I found out the IP address and tried that, but still the same problem.

(I would include an image, but I can't figure out how to make that work. I can copy the image to the clipboard, but pasting it into this message composition area simply does not work.)

Revision history for this message
Betz Stefan (encbladexp) said :
#11

You can use one of these image upload services all over the internet.

Another way is to start pyNeighborhood with trace / debug enabled on a Terminal and copy the output:
pyNeighborhood --trace
pyNeighborhood --debug

Revision history for this message
Launchpad Janitor (janitor) said :
#12

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Revision history for this message
Linus Hoppe (linus-hoppe-deactivatedaccount) said :
#13

We need to have a screenshot and debug-/trace-output to help.

Revision history for this message
Launchpad Janitor (janitor) said :
#14

This question was expired because it remained in the 'Needs information' state without activity for the last 15 days.