Ubuntu File Sharing
Updated: February 2008
This article is relevant to Ubuntu Feisty (7.04), Gutsy (7.10) and
perhaps others.
It seems that Ubuntu now almost has very simple file sharing
for Windows machines. I could not find a way to do everything from the
Desktop GUI, which was sad, because command line prompts don't cut it for
the command-line fearing masses.
Still, it was pretty easy.
On Ubuntu
- Browse to the folder you want to share, right click and select
"Share Folder".
- If Samba is not installed, you'll get a box that asks if you'd like
to install file sharing. Select "Windows networks support" and click
"Install services"
- After the service is installed, give the share a name and a comment
if you like. Select whether to make it read-only or not.
- Now you need to drop to the command line and give your user a Samba
password. Open a terminal and type sudo smbpasswd -a
[username] - where [username] is your normal Ubuntu username
- Follow the prompts to enter a password to be used from Windows
On Windows
Now, on the Windows machine, browse to your Ubuntu machine by going to
Start->Run and entering \10.0.0.1, where the 10.0.0.1 is the IP
address of the Ubuntu machine. You should be able to access the share
using the username and password you entered.
Possible problems
- If you toggle read only for a folder, you need to restart
SAMBA for the changes to take effect. In a terminal type
/etc/init.d/samba restart
- You need basic IP networking up before this will work. That is
you'll need to know the IP address of your Ubuntu machine and be able
to ping it from the Windows machine. Your Ubuntu machine's IP address
can be found under System->Administration->Networking. Your
Windows machine will need an IP address in the same range. To ping, go
to the Windows command line (Start->Run->cmd), and enter "ping
10.0.0.1", where 10.0.0.1 is the IP address of the Ubuntu machine.
Metadata
Home
This is the website of Leslie Viljoen. I am a Disciple, Husband, Dad,
Programmer, Gamer, Geek, Writer, Biker, Gardner. Perhaps even in that
order. I currently live in Auckland, New Zealand.

In 2011 I moved to Auckland and began working for
TrifectaGIS, writing mostly Ruby and Rails code. I love my work!
Comments are welcome! Contact me AT gmail, using the
address "leslieviljoen".
2011
May
April
2008
May
February
2007
May
March
Darwin
Diabetes
Interactive Fiction
Meta
Ruby
Ubuntu
Relatives and Friends
My
LiveJournal
Village Montessori
School
Loading.Ready.Run