LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 04-10-2005, 10:37 AM   #1
Peckdaddy
LQ Newbie
 
Registered: Apr 2005
Posts: 2

Rep: Reputation: 0
Newbie Networking Question - Can't connect to windows machines


I am brand new to linux. I installed FC3 on one of my home computers and would like to get networking enabled. Samba is installed and running on the machine and I can see the windows workgroup called "Peck Home" when I click computer>network>Windows Network, I can see the computers that are part of the workgroup, "Mary" and "Orpheus". However when I click on the computer to see the windows share directories I get the following error message.

Quote:
Cannot open MARY

The filename "MARY" indicates that this file is of type "desktop configuration file". The contents of the file indicate that the file is of type "x-directory/smb-share". If you open this file, the file might present a security risk to your system.

Do not open the file unless you created the file yourself, or received the file from a trusted source. To open the file, rename the file to the correct extension for "x-directory/smb-share", then open the file normally. Alternatively, use the Open With menu to choose a specific application for the file.
Is there something I need to do to make these computers accessible?

I have also tried hitting the computer from firefox by entering
Code:
smb://mary
and nothing happens

Any help would be appreciated.
Thanks

Last edited by Peckdaddy; 04-10-2005 at 10:38 AM.
 
Old 04-10-2005, 11:31 AM   #2
winsnomore
Member
 
Registered: May 2004
Location: USA
Distribution: #1 PCLinuxOS -- for laughs -> Ubuntu, Suse, Mepis
Posts: 315

Rep: Reputation: 31
To access a file (ona system is part of file-system.) it needs to be mounted (only root can do that unless specific File-systems are marked mountable byusers )
you need to check out the following.
do man mount
it will show you what's mounted and of course you can read the man page on it and fing out the options.
mount is runnable by root .. it reads the /etc/fstab file to find out what you are asking (if you give partial arguments) or you can give it
all the arguments and it will mount a file system.
You will mount a fs under a mount-point ..which is any directory in your system
so you can have a folder /mnt .. and under /mnt you can have /mnt/cd-rom /mnt/floppy /mnt/disk_part_x /mnt/windows_pc etc.
now as root type
mount //windows-pc/share-name /mnt/my_new_directory
it will ask you passwd (windows) and will mount the fs/
Most pacakges I have seen don't provide the "automount" of windows and you can't browse the fs with the web browsers.
hope it helps
 
Old 04-10-2005, 02:58 PM   #3
Peckdaddy
LQ Newbie
 
Registered: Apr 2005
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks

I was able to mount the share directory by using the command
Code:
mount -t smbfs //mary/backup /home/bryan/marypc -o username=bryan
The problem I had was that my share name had a space in it and that was causing me problems. Once I changed it I was all set.
 
  


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
Newbie Networking Question jeffChuck Linux - Networking 2 03-04-2005 02:33 AM
Networking with windows domain machines problem pcdude Linux - Networking 1 11-04-2004 06:24 AM
Another newbie with a networking question DeadlyMuffin Linux - Networking 4 07-09-2003 01:35 PM
Newbie networking question. mavenali Linux - Networking 5 08-05-2001 09:05 PM
newbie networking question dblack777 Linux - Networking 5 08-02-2001 08:11 PM

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

All times are GMT -5. The time now is 07:11 AM.

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