LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-28-2009, 02:09 PM   #1
linux hates me
Member
 
Registered: May 2009
Distribution: fedora 14 and CentOS 5.5
Posts: 71

Rep: Reputation: 15
I want to save on my windows network but I cant


ok so we have a linux server with fedora 10 installed. it is the base computer with all the company data on it. the rest of the machines are windows. they all have their own network with a workgroup "NUS" the IT who set this all up made all the files on the linux computer visible on the NUS windows network. in fedora I can go to places->Network and see all the windows machines however I want to backup all the company data to one of the computers using "flyback." and cant seem to save to any one of the windows computers. I can use the gui on linux but I have yet to really learn how to use terminal. "I know basic commands but nothing fancy in the least" does someone know how to "Map a network drive" maybe or something else to make the files accessible. oh and I did find the comand

"mount -t cifs //192.168.xxx.xxx/[computer share name] /mnt/[file]"

and that came up with a mesage telling me it dint know what cifs is. I belive samba is installed because we can see the computers through places->Network but I need a file to save to.

Thanks
 
Old 05-28-2009, 02:17 PM   #2
rweaver
Senior Member
 
Registered: Dec 2008
Location: Louisville, OH
Distribution: Debian, CentOS, Slackware, RHEL, Gentoo
Posts: 1,833

Rep: Reputation: 167Reputation: 167
Try smbfs instead of cifs.

Also keep in mind [file] isn't the file you want to copy over. That's the mount point you want the share attached at.

mount -t smbfs //ipaddress/windows-share-name /mnt

You might need something more like this also:

mount -t smbfs -o username=user,password=pass //ipaddress/windows-share-name /mnt

Last edited by rweaver; 05-28-2009 at 02:22 PM.
 
Old 05-28-2009, 02:29 PM   #3
linux hates me
Member
 
Registered: May 2009
Distribution: fedora 14 and CentOS 5.5
Posts: 71

Original Poster
Rep: Reputation: 15
what exactly is the mount point file? isnt it just a file where you want the drive to appear once mounted? If I go into cmd in my windows computer and type "hostname" is this the windows share name? is the username and password the username and password for a user on the windows computer or for a windows server type of thing?

thanks for the imput

oh and smbfs is not really supported in fedora 10 i think. I have read that with fedora you are supposed to use the cifs but I will try


ok for an update I tried smbfs and it told me that smbfs doesnt work either


another update, the -o pops up a help screen if I just type in "mount -t cifs -o" a help screen pops up. or if i type the whole mount cod and anywhere use the -o the help screen pops up. what is wrong?

Last edited by linux hates me; 05-28-2009 at 03:24 PM. Reason: new info
 
Old 05-28-2009, 03:37 PM   #4
verdeboy2k
Member
 
Registered: Jan 2004
Location: /dev/random
Distribution: Gentoo amd64, CrunchBang amd64
Posts: 350

Rep: Reputation: 32
Lightbulb

what is the exact error message when you try this:

Code:
mount.smbfs -o username=<user>,password=<pass> //<hostname>/<sharename> /mnt/
If that says something like "command not found" or similar, change the command from "mount.smbfs" to "mount.cifs" and post the results.
 
Old 05-28-2009, 03:41 PM   #5
linux hates me
Member
 
Registered: May 2009
Distribution: fedora 14 and CentOS 5.5
Posts: 71

Original Poster
Rep: Reputation: 15
Cifs no longer a problem

So cifs is no longer the problem I finally realized I was just capitalizing Cifs. (Noob)

so here is what I put in.
"mount -t cifs //192.168.1.194/Anita-comp /mnt/Anita"

it then asks for a password. we have no password on the drive or the drive in the network. so I leave it blank and it says

"Retrying with uppercase share name
mount error (6):no such device or address
refer to the manual...."

this is farther than where I was before but still another error message

I almost forgot, how do I know what to put after the Ip adress? where do I find the name to put in there?


THANKS

Last edited by linux hates me; 05-28-2009 at 03:50 PM.
 
Old 05-28-2009, 03:58 PM   #6
linux hates me
Member
 
Registered: May 2009
Distribution: fedora 14 and CentOS 5.5
Posts: 71

Original Poster
Rep: Reputation: 15
also what is the password for. I tried accessing one of the other computers and it decided that the only error was that I didnt have permission. (i am in root so it is not linux permissions)the xp machines seem to act diffrently than the vista ones when trying to access them with the mount command.
 
Old 05-28-2009, 04:19 PM   #7
linux hates me
Member
 
Registered: May 2009
Distribution: fedora 14 and CentOS 5.5
Posts: 71

Original Poster
Rep: Reputation: 15
ok this has morphed into an entirely new problem so I am going to make a new thread
 
Old 05-28-2009, 04:26 PM   #8
verdeboy2k
Member
 
Registered: Jan 2004
Location: /dev/random
Distribution: Gentoo amd64, CrunchBang amd64
Posts: 350

Rep: Reputation: 32
Quote:
Originally Posted by linux hates me View Post
"Retrying with uppercase share name
mount error (6):no such device or address
refer to the manual...."

I almost forgot, how do I know what to put after the Ip adress? where do I find the name to put in there?
These two things are related.

For mounting SMB/CIFS shares you need two things, the hostname or IP address (which you have) and the name of the fileshare. When you set-up windows to share a folder and don't explicitly give it a name, it is the name of the folder.

Let's say I have a WinXP computer named 'BOB' and I share the folder 'C:\storage' and make the share public (no password protection) I would mount it in linux as:
Code:
mount -t cifs //BOB/storage /mnt/storage
Quote:
Originally Posted by linux hates me View Post
also what is the password for.
If you have a password protected Windows share, we would change the above example to:
Code:
mount -t cifs //BOB/storage /mnt/storage -o username=<username on BOB>,password=<password on BOB>
Microsft KB Article on Windows File Sharing
 
Old 05-28-2009, 05:32 PM   #9
linux hates me
Member
 
Registered: May 2009
Distribution: fedora 14 and CentOS 5.5
Posts: 71

Original Poster
Rep: Reputation: 15
after a while of post searching I figured that out before you posted however the mounted drive wont show up on the filesystem. after I enter everything (with no error messages) I go into the folder where I told it to put the shared folder and it is not there.

any ideas?

if you do I started a new thread after I figured a lot out ://mod edit //:
Stay with one thread pls... Keeps it all in one place for others to follow in the future.

Last edited by peter_robb; 06-01-2009 at 05:44 AM. Reason: Trying to jump to a new thread
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: How Windows Can Save Itself: Three Things We Want to See in Windows 7 LXer Syndicated Linux News 0 09-29-2008 07:30 PM
Cannot save network settings in Fedora Strangers5 Linux - Newbie 1 04-03-2008 06:26 AM
samba print server for windows network, cannot save printer setting lnthai2002 Linux - Networking 0 07-25-2006 10:38 AM
save the network settings doris Linux - Networking 2 03-04-2003 11:12 AM
Is there an Office Suite for Linux that has a Network Button in the Open/Save Windows michaelh Linux - Software 1 10-29-2002 12:22 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:03 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration