Pogo E02 Mount Cifs Problem

This forum is for Marvell Kirkwood devices such as the GoFlex Home/Net, PogoPlug v1/v2, SheevaPlug, and ZyXEL devices.

Pogo E02 Mount Cifs Problem

Postby erkerb » Fri Sep 14, 2012 8:23 pm

Hello,

It took me couple of tries to get the registration part complete. I had no idea i could have so much trouble identifying letters in a box.. Anyway..

I have been lurking around for a little while, and i have recently got myself a Pogoplug E02. I followed the greatly written instructions (Thanks for that!) and got ArchLinux loaded on my 4GB thumbdrive. Found couple of guides online, and also installed crashplan. But my problem is, I am having hard time mounting a windows share on this drive. I installed cifs-utils packages and their dependencies, loaded cifs manually (modprobe cifs-utils AND modprobe cifs) and no dice .. The command lines i've tried :

mount.cifs //192.168.1.6/FOLDERNAME /mnt/FOLDER/ -o user=myusername,dom=llano
mount -t //192.168.1.6/FOLDERNAME /mnt/FOLDER -o user=myusername

I even added the line in /etc/fstab

//192.168.1.6/FOLDERNAME /mnt/FOLDER cifs credentials=/home/file,ro,domain=llano,ip=192.168.1.6,noatime, 0 0


The error i get is this :

mount error: cifs filesystem not supported by the system
mount error(19): No such device

IS it possible to mount a windows share on archlinux with pogoplug e02?

# uname -a
Linux Kirkwood 3.1.10-13-ARCH #1 PREEMPT Mon Aug 20 15:46:18 UTC 2012 armv5tel GNU/Linux

Let me know if i left any information out.

Thank you..
erkerb
 
Posts: 32
Joined: Fri Sep 14, 2012 8:12 pm

Re: Pogo E02 Mount Cifs Problem

Postby WarheadsSE » Fri Sep 14, 2012 9:12 pm

For giggles: modprobe cifs
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Pogo E02 Mount Cifs Problem

Postby erkerb » Fri Sep 14, 2012 10:58 pm

[root@Kirkwood ~]# modprobe cifs
[root@Kirkwood ~]# mount -t cifs //192.168.1.6/folder /mnt/folder/ -o user=username
Password for username@//192.168.1.6/folder:
mount error: cifs filesystem not supported by the system
mount error(19): No such device
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)

This is what i get :\

I have samba, smbclient [and all their dependencies] installed.
erkerb
 
Posts: 32
Joined: Fri Sep 14, 2012 8:12 pm

Re: Pogo E02 Mount Cifs Problem

Postby sambul13 » Sat Sep 15, 2012 3:30 pm

Try this command:

$this->bbcode_second_pass_code('', 'mount -t cifs //SERVER/SHARENAME MOUNTPOINT -o user=USERNAME,password=PASSWORD,workgroup=WORKGROUP,ip=SERVERIP')
Are you able to mount Samba shares in Win Explorer? Can you copy files in both directions? Any specific need to mount Win shares in Pogo?
sambul13
 
Posts: 258
Joined: Sat Aug 18, 2012 10:32 pm

Re: Pogo E02 Mount Cifs Problem

Postby moonman » Sat Sep 15, 2012 7:19 pm

Ok, this is what I use and I know that it works. I believe you have to provide a password even if there is no password:
$this->bbcode_second_pass_code('', '/bin/mount -t cifs -o username=nobody,password="" //192.168.1.6/Files/Storage /media/Storage/Torrents2')

or you can put this in fstab so it gets mounted on boot:
$this->bbcode_second_pass_code('', '//192.168.1.5/Storage /media/samba/Storage cifs uid=root,user=root,password="" 0 0')
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am

Re: Pogo E02 Mount Cifs Problem

Postby erkerb » Sat Sep 15, 2012 7:37 pm

Okay this is driving me insane..

[root@Kirkwood ~]# /bin/mount -t cifs -o username=username,password="mypassword" //192.168.1.6/folder /mnt/folder/
mount error: cifs filesystem not supported by the system
mount error(19): No such device
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)

What packages do you have installed.. Maybe i am missing something here..

I have cifs-utils 5.6-2, libwbclient 3.6.7-2, samba 3.6.7-2, smbclient 3.6.7-2 installed. + all their dependencies..

So i took another USB drive, and installed Debian [i am very familiar with debian], and everything is working well there. I was able to mount cifs, and access the shares.. I thought it might be a bad install, and i re-installed ArchLinux on the same USB.. still facing similar issues. I wonder if i am missing a package, or missing a configuration?
erkerb
 
Posts: 32
Joined: Fri Sep 14, 2012 8:12 pm

Re: Pogo E02 Mount Cifs Problem

Postby sambul13 » Sat Sep 15, 2012 10:09 pm

I just used the above command, and it mounted without a glitch. Post your Samba config file. Don't forget, Windows shares folders within a workgroup, and they must be set as "shared" in Windows first.
sambul13
 
Posts: 258
Joined: Sat Aug 18, 2012 10:32 pm

Re: Pogo E02 Mount Cifs Problem

Postby erkerb » Sat Sep 15, 2012 11:38 pm

I haven't made any changes to the samba config file, which sits under /etc/samba/smb.conf. The only addition i made was to enter workgroup name for my network and save..

The same exact command works on my Ubuntu Server [seperate box], and with PogoPlug running Debian. And i have not made any changes to any config on these two different setups. What changes should i make to smb.conf file?

However i try to mount the share, i always get the same error :

mount error: cifs filesystem not supported by the system
mount error(19): No such device
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)

Even for trying the following :

mount -t cifs //SERVER/SHARENAME MOUNTPOINT -o user=USERNAME,password=PASSWORD,workgroup=WORKGROUP,ip=SERVERIP

So i did hard code user, password, worgroup and IP..

I don't know if it helps but, the share is from a Windows Home Server 2011. I can access the shares from my Ubuntu Server box, Windows 7 clients with this user and password..
erkerb
 
Posts: 32
Joined: Fri Sep 14, 2012 8:12 pm

Re: Pogo E02 Mount Cifs Problem

Postby moonman » Sun Sep 16, 2012 12:10 am

What is your kernel version?

$this->bbcode_second_pass_code('', 'uname -a')
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am

Re: Pogo E02 Mount Cifs Problem

Postby erkerb » Sun Sep 16, 2012 12:14 am

Linux Kirkwood 3.1.10-13-ARCH #1 PREEMPT Mon Aug 20 15:46:18 UTC 2012 armv5tel GNU/Linux
erkerb
 
Posts: 32
Joined: Fri Sep 14, 2012 8:12 pm

Next

Return to Marvell Kirkwood

Who is online

Users browsing this forum: No registered users and 4 guests