
Originally Posted by
charonred
I have Lucid 10.04 as my main system, which happily shares files/folders with other Ubuntu & Windows XP PC's around the house; but for the life of me I can't get Windows 7 (new Asus Notebook & older AMD Skt A PC) to share a thing with anything (unless all other PC's are running Win7 as well) - I have Win7 PC set as a workplace PC (not part of 'Home-group').
Also I can't remember how to change the Ubuntu network settings from default 'Workgroup' to my own group name.
What I use is an extra line in /etc/fstab:
Code:
//192.168.0.100/xxx /media/xxx cifs username=guest,password=,uid=1000,iocharset=utf8,codepage=unicode,unicode 0 0
(xxx is the username to be able to get hold of the "home" directory in Windows.)
One thing: the computer needs a fixed address otherwise this doesn't work.
I can read and write on the NTFS partitions in Windows without any problem.
Change fstab like this:
Code:
sudo gedit /etc/fstab
Add the above mentioned line to the end of the file and change the ip-address to the one you give to the Windows PC and xxx to the username (or directory name) you like to see. It has to be shared of course.
Save the file in gedit
then in the terminal type:
Code:
sudo mkdir /media/xxx (change xxx again)
sudo mount -a
The disk will be mounted and you can use it straight away. Whenever you boot the disk will be there automatically.
Bookmarks