LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices

Reply
 
LinkBack Search this Thread
Old 07-03-2009, 08:44 PM   #1
picardone
LQ Newbie
 
Registered: Jun 2009
Posts: 12

Rep: Reputation: Disabled
file sharing from windows vista to ubuntu 9.4


Hi,
I recently installed Ubuntu 9.4 install was easy. The only problems I have had is networking. From the Linux machine I can see windows files. I can rename, open and change them.
But from the windows vista computer when I try to open files on the Linux machine it asks for a user name and password. I have not figured it out why yet. When I shared the files on the Linux machine I did not set a password. What am I missing?
Can anyone help?
Thanks
Mike

Last edited by picardone; 07-03-2009 at 09:29 PM.
 
Old 07-03-2009, 10:55 PM   #2
jdkaye
Senior Member
 
Registered: Dec 2008
Location: Gorizia, Italy
Distribution: Debian Testing Amd64
Posts: 2,776

Rep: Reputation: Disabled
Quote:
Originally Posted by picardone View Post
Hi,
I recently installed Ubuntu 9.4 install was easy. The only problems I have had is networking. From the Linux machine I can see windows files. I can rename, open and change them.
But from the windows vista computer when I try to open files on the Linux machine it asks for a user name and password. I have not figured it out why yet. When I shared the files on the Linux machine I did not set a password. What am I missing?
Can anyone help?
Thanks
Mike
1. Google is your friend.
2. Have a look here: http://www.pcmech.com/article/file-s...904-and-samba/
3. It's a permissions issue. You don't want any Tom, Dick or Harry being able to read/copy/delete your files, do you? If your machine is not visible outside of your local network and you are happy to let everyone on your local network have access to your files, then you can set up a samba account that doesn't require passwords.
cheers,
jdk
 
Old 07-04-2009, 05:47 AM   #3
picardone
LQ Newbie
 
Registered: Jun 2009
Posts: 12

Original Poster
Rep: Reputation: Disabled
Hi jdkaye
Thanks for the link, but why would Linux be asking for a password when I didn't set one. I guess I don't really mind the password thing. Were do you find the option to change it.
Thanks
Mike
 
Old 07-04-2009, 09:31 AM   #4
jdkaye
Senior Member
 
Registered: Dec 2008
Location: Gorizia, Italy
Distribution: Debian Testing Amd64
Posts: 2,776

Rep: Reputation: Disabled
There is a very nice web-based samba configuration tool called swat. You can see if it's installed on your linux box by typing
Code:
http://localhost:901/
in your browser's navigation bar. Theer's loads of documentation about how to install swat and configure samba using swat. Just google for it.
cheers,
jdk
 
Old 07-05-2009, 08:02 AM   #5
picardone
LQ Newbie
 
Registered: Jun 2009
Posts: 12

Original Poster
Rep: Reputation: Disabled
Hi JDk,
I type the code in my browser and got nothing. I take it that I will need to down load the app.
Thanks
Mike
 
Old 07-05-2009, 08:20 AM   #6
jdkaye
Senior Member
 
Registered: Dec 2008
Location: Gorizia, Italy
Distribution: Debian Testing Amd64
Posts: 2,776

Rep: Reputation: Disabled
swat normally comes with samba and I assume you're using samba to view files on the windows box. If you're using something else, you need to tell us what it is.

If you are using samba then you need to make sure that the swat package is installed.
cheers,
jdk
 
Old 07-05-2009, 01:46 PM   #7
picardone
LQ Newbie
 
Registered: Jun 2009
Posts: 12

Original Poster
Rep: Reputation: Disabled
Hi jdk,
As far as I can tell I am using samba. Two files downloaded when I started setting up the network.
I watched the video you gave me the link to, I followed the steps and I still can not access a linux file from a windows computer.
Also I typed http://localhost:901/ into my browser(firefox) and i get "firefox can't establish a connection to server at localhost:901"
i can access a windows file from linux. i,m missing something really simple .
From within linux when I try to access the folder that I have shared i get the following "unable to mount location"
Hope that helps
Thanks
Mike
 
Old 07-05-2009, 01:51 PM   #8
jdkaye
Senior Member
 
Registered: Dec 2008
Location: Gorizia, Italy
Distribution: Debian Testing Amd64
Posts: 2,776

Rep: Reputation: Disabled
Yes, you have to do some configuring with swat and you have to do a little reading to find out how to configure swat to work. I believe it involves uncommenting some line in a samba.conf file. Google swat howto and that should sort you out. Your up to a bit of work, yes? Never forget that LQ and google are your friends
cheers,
jdk
 
Old 07-05-2009, 05:24 PM   #9
picardone
LQ Newbie
 
Registered: Jun 2009
Posts: 12

Original Poster
Rep: Reputation: Disabled
Just downloaded an updated copy of samba. Having trouble getting it installed. I'm going to google "how to install a tar file in linux" I'll let you know how it comes out.
Thanks
 
Old 07-06-2009, 12:11 AM   #10
jdkaye
Senior Member
 
Registered: Dec 2008
Location: Gorizia, Italy
Distribution: Debian Testing Amd64
Posts: 2,776

Rep: Reputation: Disabled
Quote:
Originally Posted by picardone View Post
Just downloaded an updated copy of samba. Having trouble getting it installed. I'm going to google "how to install a tar file in linux" I'll let you know how it comes out.
Thanks
That depends on whether it is source code or a tarball containing a binary. Do you know which case it is?
In any event, you unpack it by running this command from a terminal
Code:
tar zxvf {name of tarball}
That's for files ending in tar.gz If the file ends in tar.bz2 then replace the z by a j in the above command.
cheers,
jdk

Last edited by jdkaye; 07-06-2009 at 12:13 AM.
 
Old 07-06-2009, 09:40 AM   #11
picardone
LQ Newbie
 
Registered: Jun 2009
Posts: 12

Original Poster
Rep: Reputation: Disabled
Talking Sharing issue

Hi jdk,
Just to give you an update on the sharing issue, I came to work this morning and booted one of my computers with the unbunto disk. (At this point I have not installed it.) I ran though the set up for samba.
The only problem that I had was I needed to add the following line to the smb.conf "usershare owner = false"
After doing that every thing works perfect.
Many many thanks for your help
Mike
 
Old 07-06-2009, 12:14 PM   #12
jdkaye
Senior Member
 
Registered: Dec 2008
Location: Gorizia, Italy
Distribution: Debian Testing Amd64
Posts: 2,776

Rep: Reputation: Disabled
Yes, that sounds about right. Now, honestly, doesn't it feel good that you were able to fix it. A bit of work but well worth it in the end.
cheers,
jdk
 
Old 07-06-2009, 02:20 PM   #13
picardone
LQ Newbie
 
Registered: Jun 2009
Posts: 12

Original Poster
Rep: Reputation: Disabled
Hi jdk,
Yes I must say it does, but it seems the configuation should be a little more straight forward.
But I,m liking ubuntu so far.
Once I figure out how to install programs I'll have it made.
Thanks
Mike
 
Old 07-06-2009, 11:16 PM   #14
jdkaye
Senior Member
 
Registered: Dec 2008
Location: Gorizia, Italy
Distribution: Debian Testing Amd64
Posts: 2,776

Rep: Reputation: Disabled
1. Make sure your /etc/apt/sources.list file is the way you like it.
2. From the command line:
Code:
sudo aptitude update
then
Code:
sudo aptitdude install {name of package you want to install}
Now how hard is that?
About once a week
Code:
sudo aptitude safe-upgrade
Then you can slowly learn how to install using other types of installation procedures.
Cheers,
jdk
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
setup home network and file sharing : ubuntu 8.10 , windows xp and wireless router andrekiri Linux - Wireless Networking 2 02-24-2009 07:15 AM
Sharing between Ubuntu and Vista x64 not working gamelord12 Linux - Networking 3 09-16-2008 06:00 PM
file sharing from centos 5.2 with windows xp and vista zeus-dice Red Hat 6 08-21-2008 03:11 AM
XP password problem (file sharing with samba on Ubuntu Feisty and Windows XP) AhrenBa Linux - General 5 07-09-2007 08:26 AM
Sharing with windows Vista nardz Linux - Newbie 4 04-23-2007 09:06 AM


All times are GMT -5. The time now is 01:33 PM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration