OpenSUSE Network :: Error When Mounting Remote Cifs/samba Compact Flash?

Jan 3, 2010

Am in the process of upgrading from an ancient OpenSuSE release (7.2) to 11.2. One thing I have been unable to do that worked fine under 7.2 is remotely mounting a compact flash drive from an XP machine. Worked fine for many moons on 7.2:

# mount -t cifs -o rw //xpbox/'cf (H)' /cf0
I get:
mount error(12): Cannot allocate memory
Other cifs mounts of hard disks work fine.

I found a posting that says this means the memory allocation error is from the XP side. It says to fiddle with the XP registry, specifically IRPStackSize. I was not confident this fix would work since there should not be anything significantly more consuming with 11.2 compared to 7.2, and indeed, I got the same error after changing the parameter to 18 and rebooting the XP machine. Any ideas? I have some suspicion that the space and parenthesis in the share name might be fouling up someone. XP forces the share name to this for some reason.

View 1 Replies


ADVERTISEMENT

OpenSUSE Network :: Mount Error 12 When Mounting A CIFS Share?

Jan 26, 2010

We recently moved to a new home and I am trying to get my home file/print server set up again. Thanks to swerdna's excellent website, I got my server box (just upgraded from 11.0 to 11.2) running Samba and serving my shares over the network, and my "client" machines can access them without a problem.However, I'm not having much luck setting up CIFS mounts on my Linux desktop. I have my all-purpose user added to the Samba auth list (via smbpasswd), and configured my client as swerdna's howto's specify, and I can access the files just find. However, when I try to mount the shares with this command:

Code:
mount -t cifs -o username=klein,password=klein //192.168.1.70/sharedmedia /home/zak/SharedMedia/
I get the following error:

[code].....

View 2 Replies View Related

OpenSUSE Network :: Mounting A Cifs Share As Normal User In OpenSuse 11.4?

Apr 2, 2011

Q: How can I allow my users to mount a cifs share without an entry in fstab in OpenSuse 11.4?

I have an answer myself. Until OpenSuse 11.2 I could mount my samba shares by making mount.cifs and umount.cifs setuid root. Today I installed OpenSuse 11.4. Unfortunately mount.cifs isn't anymore allowed to be setuid due to security concerns. Security is not an issue in my case, so I copied the mount.cifs and umount.cifs from 11.2 to make it work again:

1. Download cifs-mount-3.4.2-1.1.3.1.x86_64.rpm from this repository (I use 64 bit):
"http://download.opensuse.org/distribution/11.2/repo/oss/suse/x86_64/"
2. Extract the files mount.cifs and umount.cifs from the rpm and copy them to /sbin
3. Make them setuid root:

Code:
linux-y5qw:~ # chmod u+s /sbin/mount.cifs
linux-y5qw:~ # chmod u+s /sbin/umount.cifs
4. Mount your cifs shares as a normal user:

Code:
martin@linux-y5qw:~> /sbin/mount.cifs //192.168.2.2/data /home/martin/data/ -ousername=martin
Password:

View 1 Replies View Related

OpenSUSE Network :: User Parameters Don't Work Mounting CIFS Share?

Nov 18, 2010

I need to mount a windows share on my OpenSUSE 11.3. I get it using the mount.cifs command (by itself or using cifstab), but only root can rw file. I try the uid/gid parameters (also using forceuid) and the file_mode/dir_mode parameters, but I get the same behavior: all files and directory with rwxr-xr-x permissions and root/root (user/group). I read the whole section FILE AND DIRECTORY OWNERSHIP AND PERMISSIONS in man mount.cifs but nothing works.

View 9 Replies View Related

CentOS 5 :: Samba CIFS - Mounting Directory On Share

Jul 22, 2009

I've to make a Windows 2000 share on my Server Linux CentOS 5.1 with all the updates installed with yum. I've a directory on a Windows 2000 that contains some images for a catalogue. I have my internet site on CentOS 5.1 with a Apache - Mysql - PHP web server. I have to mount my directory on a share in /mnt/catalogueimages and made a symbolic link from my /var/www/html/mysite/catimages to this samba share.

This is what I do following your guide a this link: [URL]
I have placed in my /etc/fstab this line:
//SERVER/C/Catalogue /mnt/catalogueimages cifs user,username=Administrator,password=,uid=apache,gid=apache 0 0
My Windows 2000 server have no password.

After that I made the symbolic link:
ln -s /mnt/catalogueimages /var/www/html/mysite/catimages
All it's OK.

The problem is that I can't see the images via browser. I have tried also to put some images in the directory /mnt/catalogueimages, deleting the mount point, in order to see if the problem was in apache: the images are visible via browser. Why I don't reach to see the images mounted with samba?

View 9 Replies View Related

OpenSUSE Network :: CIFS Writing Error In 11.4?

Aug 23, 2011

I mount the share on my Windows server with following command:

Code:
mount -t cifs -o username=Administrator,password='mypassword',rw,dir_mode=0777,file_mode=0777,nobrl,uid=1000,gid=100 //10.8.0.1/users /mnt/

In my 11.3 computer it works well. I opening, copying files like I do in local filesystem. At the same time it's not working well on my 11.4 computer: the share mounts without errors, I see all files, can copy them from server to local computer. But when I'm trying to make copies to server, sometimes I receive messages like "Error writing file ...". Not always, but in the most part of my attempts. find the part of my /var/log/messages file:

Code:
Aug 23 17:35:55 linux-393i kernel: [ 3522.419904] CIFS VFS: Unexpected SMB signature

I use following kernel: 2.6.37.6-0.7-desktop

View 9 Replies View Related

Ubuntu Installation :: Toshiba Portege 3480ct Compact Flash Install Error

Apr 5, 2011

I'm trying to install hardy on a portege 3480. I have connected via USB caddy and run it via a lynx build desktop and installed hardy via unetbootin onto the 8gb CF. the machine then boots to the menu where you chan choose live, memtest etc. on choosing the live option to boot the machine up it then bombs out with a error. " menu.c32: not a com32R image Boot:"

it gets this far, so its not far off, but i'm stumped as where to go next

i have read that tftpd is a possibility to get this running but have run into issues setting it up hence looking at removing the CF out for a unetbootin style install.

View 9 Replies View Related

OpenSUSE Network :: Error Mounting NFS Shares Ato Boot Time?

May 20, 2011

I'm using Opensuse 11.4 updated from 11.3, update from 11.2 updated from. I'm mounting at boot time (in fstab) some shares from an opensuse 11.2 server. Mounting worked fine in 11.2, 11.3 and also in 11.4 but suddenly (maybe an automatic update?) It stopped working.... sometimes.

Sometimes they are mounted properly but sometimes they aren't. When mount fails I get a log error: "rpc.statd is not runninf but is required for remote locking. Either use '-o nolock' to keep locks local or start statd"

If I run manually (as root) mount -a the shares mount properly always, so I thought it was a problem of timing (the service starting late) so I tried to get a script to run after the network initialitation, the script does: "mount -a". But it doesn't work either.

View 3 Replies View Related

Ubuntu :: Use Compact Flash As A Drive ?

May 29, 2010

I have a project were I have been trying to use Compact Flash (CF Card) was a Ubuntu system drive, but can't seem to successful partition it. I can partition without error, but I go back into the partition tool it gives usually a cryptic error about the partitions. They won't format either. For example Gparted puts orange triangles next to each partition. cfdisk says partition exceeds cylinder boundary. I've tried three different computer, two different CF to IDE adapters (a laptop and desktop type) and four different models/brands of CF cards all are supposed to fixed disk IDE compatible. My theory is the drive geometry is not being detected correctly, or maybe a sector alignment issue. I've tried GUID partitions too and it doesn't help. How do I correctly partition a CF card?

View 2 Replies View Related

OpenSUSE Network :: Getting Error Message - Pc Refuses To Allow Remote Connection

Sep 5, 2011

I have local and remote networks that have various printers. I can add any printer (local or remote) to any PC, except for one PC that's refusing to allow remote connection (it used to, but doesn't now!). The problem PC has two printers connected and work OK as a local printer, but both display same problem when attempting to connect from any remote PC via YaST. Using 'Connection Wizard> CUPS Server' connection method requires IP address of remote PC and printer name. But if I correctly select either of the two printers I get an error message:

"PING 192.168.1.149 (192.168.1.149) 56(84) bytes of data.
64 bytes from 192.168.1.149: icmp_seq=1 ttl=64 time=1.12 ms

Both printers are set to 'Accept Print Jobs' and 'Share Printers> Allow remote access' permits all networks to connect. why this PC is requiring the root password?

View 6 Replies View Related

Debian :: Format The Target Device ( A 4G Compact Flash )?

Oct 8, 2010

I need to install an aplication to several machines. The aplication runs on a Debian and the installation process is done with a usb. I'm using a plop live usb to perform the installation. I've seen that with plop , once the live system is on, i can run some scripts.

What I'm trying to do is:

->format the target device (a 4G compact flash).
->mount the formatted device.
->untar my debian.tar.gz in that device.
After rebooting, the system never boots.
Using a live CD and invoking "fdisk -lu" :

[Code]...

View 8 Replies View Related

General :: Making A Live CD Bootable From Compact Flash (CF)?

Jun 16, 2011

Making a live CD using tools such as livecd-creator seems like a good solution to create a bootable read-only image to install on Compact Flash. My goal is to prevent failure due to write cycle limits of Compact Flash memory. A secondary goal is to have the live CD available for troubleshooting. However, Usenet postings indicate challenges in making the live CD image on CF bootable. Has anyone succeeded in doing this?

View 3 Replies View Related

Ubuntu Installation :: Trying To Install To Compact Flash Card?

Feb 8, 2010

I'm trying to install Ubuntu 9.10 to a Compact Flash card. It's not going very well. I have a 4GB USB drive that I want to install from. I can boot from this USB drive and get into either Ubuntu itself or the installation program only. Either way, I've tried to install it.

My Sandisk Extreme IV 4GB 45MB/s compact flash card is detected in my BIOS and shows up during the installation as well. Whenever I try to finalize and start the installation it gets to 15% and then gives an error on how it can't mount the file system.

I've tried every file system available. Funny thing is, I can use gparted to format the card to ext2. It then shows up on the desktop as a drive. If I go into that drive, there's a folder called lost+found. If I try to enter that folder it complains about permissions.

Is there any special trick to installing onto a compact flash card? I've tried with every file system available, with and without a swap file partition as well. I have quite scarce experience with Ubuntu and Linux in general so this is incredibly hard. But I wont give up that easily!

Second thought: If I can't get this working, would it be just as OK to run it as a "live" distro on the CF card? The motherboard is an Intel D945GSEJT. Using 1 gig ram.

View 4 Replies View Related

General :: Making A Bootable Partition On A Compact Flash?

May 4, 2011

I have never worked with Linux before but as part of my new job I need to format and install a program on a compact flash card. I have followed our procedure to the T but when i install the card I get a No bootable partition error. Here is what I'm doing. I go into Gnome terminal and change to my directory to "cd dcmsetupdir" (this may not be important but I want to give as much info as I can. Then I type "sudo ./format_cf". once this is complete (no errors detected), I type in "sudo ./install_cf" this seems to install correctly but when I boot up the unit with the card in I get the no bootable partition error.

View 7 Replies View Related

Ubuntu Networking :: Samba Network Share Mounting ?

Oct 8, 2010

I have 2 Ubuntu machines: a desktop in my bedroom, and a laptop.

I have my music shared on my desktop machine, and can access it through the network menu item in the nautilus manager, but I want the files from the share to be mounted on the disk so I can access it through the commandline.

If I right-click the shared folder in Nautilus, it says its location is smb://rob/music

If I do:

mount -t smbfs //rob/music /mnt/music, it tells me that it cant locate rob.

So I try "ping rob" and that doesn't work.

I can't make a hosts entry for rob which happens at this moment to be 192.168.0.8, because my router assigns different IP addresses to various machines at different times, and I cant seem to find a way to make static maps from MAC address to ip address.

So, how come nautilus can see my samba share on the machine "rob", but the mount commands cannot?

View 7 Replies View Related

General :: Copy Bootable System Compact Flash To SD Card?

Aug 24, 2011

I have a bootable Linux compact flash card and want to copy it to an SD card. What would be the easiest way to do this?

View 2 Replies View Related

Ubuntu :: Compact Flash Limited To 1024 Files In Nautilus?

Sep 26, 2010

I just got an 8 gig compact flash card for my SLR camera. When I open the card (using a card reader) in Nautilus (Ubuntu 10.04) it will only list about 1024 files and not the rest. It does not provide any warnings so one could easily think all files have been copied when in fact they haven't. This could be a real issue if the user does not notice. Using another app called rapid photo downloader in Ubuntu does not seem to list/preview all the files either. I dual boot to win xp 32 bit and I can see all the photos and can copy them to the harddrive without any issues so I don't think it is hardware related. How to get Nautilus to allow the copy of all files?

View 4 Replies View Related

Debian :: OS Running On Compact Flash Card - Files Appear To Be Corrupt?

Sep 30, 2009

I have a system with Voyage-Linux (Debian based) as my OS running on a compact flash card. Some files appear to be corrupt on it. Whenever I do a ls,cp,mv,rm command on these files I get the message Stale NFS file handle. I actually had the problem on 2 identical systems. I fixed the first one by attaching the CF card to another linux system and then running e2fsck -f -v /dev/sdb1. It got rid of the bad file.

My problem is I won't be able to do that all the time. I'm gonna have several of these systems in different places and won't have direct access to them, therefore I'm looking for a solution that would work on the system itself. Now running e2fsck on a mounted filesystem seems to be a bad idea from what I read, but I tried anyway and it did not get rid of the file. I tried running tune2fs -c 1 /dev/hda1 and rebooting, which is supposed to run e2fsck after the next boot (not 100% sure here) but that didn't seem to work.

View 2 Replies View Related

OpenSUSE Network :: Automount CIFS Shares?

Jan 30, 2010

Question 1.I have strange problem in OpenSUSE 11.2I have /etc/fstab entry:

//server/projects /server/projects cifscredentials=/root/.credentials,dir_mode=0777,file_mode=0777,_netdev 0 0
service network running

[code]....

View 1 Replies View Related

OpenSUSE Network :: 11.4 Slow CIFS Reading

Jun 6, 2011

1. 11.4 x64.
2. Solaris SMB server.
3. Gigabit LAN
4. mounted shares from that server (fstab entries)

write speed: 80-90-100 MB/s read speed extremely slow: 3-4-5 MB/s (really funny - our administrator shoked, but i'm not fun, i need fast lan for work)But when i reboot to windows 7 - i have 60-70-80 MB/s in both directions. Read and Write - nice.What happened? kernel updated and all last updates is applied (exclude kopete-because i use old kopete with animated tray icon).I have to tried many tunes like: "noatime" "directio" and also in /etc/modprobe.d - put conf file with: options cifs CIFSMaxBufSize=130048

View 9 Replies View Related

OpenSUSE Network :: SAMBA As PDC On SLES 10.2 - Error When Users On Windows Client Try To Change Password

Oct 11, 2010

I installed SLES 10.2 with SAMBA 3.5.5.43 to retire our old Microsoft Windows 2000 Server and save some money. All was fine until last week when our chief asked to me to set password expiration for all clients. This morning, all users cannot logon because, when they logon, windows asks to change password and then it gives error error "Access Denied".

[code]...

View 1 Replies View Related

Hardware :: Using A Compact Flash Card As A Hard Drive Improve Battery Life?

Aug 30, 2010

I am wanting to replace the hard drive on my laptop with a Compact Flash Card. I bought a card and a adapter, but I am seeing that there are a lot of downsides to this (e.g. the card is slower, writes should be conserved because of limited write cycles, etc..) plus, in order to change the hard drive in my laptop (ibook g3 clamshell) you literally have to disassemble the entire thing! I mainly wanted to do this project to increase my battery life. However, some people say that it doesn't make much of a difference, while others say it is wonderful. So, to those that have done this mod, how much of a difference did it make for you?

View 1 Replies View Related

OpenSUSE Network :: 11.2M5 Mount T Cifs Terribly Slow

Aug 20, 2009

I used command as followings. nothing special. mount -t cifs //192.168.55.53/windows$/Home /mnt/ -o user=username%password It works well after mounted. But mounting itself takes 1-2 minutes terribly. After mounted successfully, file transfer speed looks to be normal.

View 9 Replies View Related

OpenSUSE Network :: FSTab, Cifs And 'guest' Login?

Jul 15, 2010

i'm trying to setup a permanent CIFS share from my nas, but it keeps prompting for a password dispite GUEST access set on the share.FStab is as follows:

Code:
//192.168.0.253/media/ /mnt/nas1_media/ cifs guest,_netdev 0 0
if i do

[code]....

View 5 Replies View Related

General :: Embedded Webserver (mysql) On A Compact Flash: Reduce Read / Write Operations?

Jul 7, 2011

I've developed a tiny webserver for home automation out of an ALIX 1D, and based on a debian lenny. It runs very smoothly and is now able to operate quite a lot of different equipment from a webapp. But i'm not sure how I should handle the compact flash, regarding read/write limitations. From what I've read the partitioning should be ext2, which would disallow the journalisation of the system. A utility to 'flatten' the repartition of write cycles exists, would it be relevant to use if the partition is ext2 ?

I will also disable all logging in execution mode (a debug mode will provide the logs). Is there any other parameters I have to take into account for maximum reliability (i.e. does the system randomly write in some files for various and potentially turned off purposes)? As for the mysql database, it's not important data, and it's actually reconstructed every time the server boots. Given this, is there a way to store the db in RAM rather than in a file? I'm not sure it's the right place to ask, but I sometimes see redirection to here from stack overflow.

View 2 Replies View Related

OpenSUSE Install :: Can't Automount Cifs Network Drives In Fstab?

May 24, 2011

I just made a fresh install of OpenSUSE 11.4-Tumbleweed and have the latest updates. However fstab lines I've used in the past are not working.

Here's an example of two:
//IPADDRESS/share /home/user/mount cifs credentials=/home/user/.scripts/.creds,_netdev,uid=client_user,gid=users 0 0
//IPADDRESS/share /home/user/mount cifs guest,_netdev,uid=client_user,gid=users

I can execute a command

Code:
sudo mount /home/user/mount and it works, but I'm wanting all my fstab lines to automount at boot as on other machines.

View 5 Replies View Related

OpenSUSE Network :: Unmount Of CIFS Hangs Or Restart Or Shutdown

Dec 30, 2009

I have a SMB share being mounted during boot using a /etc/fstab entry.All that seems to work fine, but on shutdown or reboot I found that the system hangs for a variable period trying to unmount the share. It appears from the log that the unmount is happening after the network connections are closed.Is there someway around this, or is there some other way I should be mounting the share so that it is closes successfully at restart or shutdown?

View 1 Replies View Related

Server :: Joining A Samba Domain/Workgroup From A Remote Network?

Oct 29, 2010

I have an OpenSuSe Server configured with DNS, Samba (PDC + WINS), LDAP, Squid All this is in a hybrid scenario with other OpenSuse acting as clients and some Windows 7 also as clients. Everything works perfect. Both systems are able to join and authenticate in the Samba server very smoothly.

My problem is that in my workspace I have several different subnets/VLANS. So I have another OpenSuSe client here that needs to join the domain and authenticate with the samba server, but he just cant find it via the Windows Domain Membership setup screen (where I usually configure the others).

The server can pe pinged, and it does resolv local domain names. It seems the problem is that I have no place to configure a PDC/WINS server in Linux Client. It only asks me for the domain to join, and then it doesnt find it (Im guessing this happens because it cant receive the broadcasts from the server network).

Is there any way to declare the Samba/PDC/WINS server on the client side?

View 10 Replies View Related

OpenSUSE Network :: Mount A CIFS Share So That User Stevej Has All Rights To It

Mar 21, 2011

Q: How do I mount a CIFS share so that my user stevej has all rights to it?

Summary: I can mount the share as root.

mount.cifs //10.x.x.x/Data /home/stevej/Synology/Data/ --verbose -o user=stevej

Using Dolphin in Super-User mode, I can copy files and directories from the share to itself with no errors. Using Dolphin in Normal-user mode. I get the failure "Could not change permissions for...". The file is copied, but its owner,timestamp and permissions are wrong. If a subdirectory is involved, the copy aborts.

Using Windows XP I can copy files and directories from the share to itself with no errors.

Testing: If I mount with uid and gid, then my normal user can not access the share.
mount.cifs //10.x.x.x/Data /home/stevej/Synology/Data/ --verbose -o user=stevej uid=stevej gid=users

[code]...

Synology DS211 - There are 2 users on it. One of which is stevej and the other is julie. Rights RWX are applied to the users and the group called users. All files have stevej as the owner and users as the group with RWX Opensuse 11.4 - There are 2 pc's. One is run as stevej. The other pc runs as julie Windows 2000 - Runs as stevej and maps to the share as stevej.

Works as expected Windows XP - Runs as julie and maps the the share as julie. Works as expected Ultimately, I want the shares to automount at boot, or login and give the user full access. I have been to Swerdna's page and done as much as I can, but still no luck.

View 4 Replies View Related

OpenSUSE Network :: Mount CIFS Drive With Multiple Credentials Files?

Jul 26, 2011

I'd like to have a CIFS drive mountable for various users. Each user uses different credentials and I want the drives to be automounted without using sudo-rights. I imagine the best thing to do would be to have the fstab entry point to multiple credentials files. Is there a way of doing that?

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved