<pre>sudo apt-get install smbfs<br><br>sudo mkdir /media/mountname<br><br></pre><p>Then edit your /etc/fstab file (you need root privileges) to add this line:
</p>
//servername/sharename /media/mountname cifs guest,uid=1000,iocharset=utf8,codepage=unicode,unicode 0 0
<p>Where </p>
<ul><li><p> <strong>guest</strong> indicates you don't need a password to access the share, </p>
</li><li><p> <strong>uid=1000</strong> makes the Linux-user with specified uid or username owner of the mounted share, thereby allowing that user to rename files, </p>
</li><li><p> the combination <strong>iocharset=utf8,codepage=unicode,unicode</strong>
allows access to files with names in non-English languages. This
doesn't work with shares of devices like the Buffalo Tera Station, or
Windows machines that export their shares using ISO8895-15. With these
the codepage argument has to be <strong>codepage=cp850</strong>, otherwise characters like the German 'Umlaute' are displayed as garbage. </p>
</li></ul>
<br><p>After you added the entry to /etc/fstab type:
</p>
<pre>sudo mount -a<br><br><br>These above steps worked perfectly for me.<br><br>Source is from the Ubuntu wiki Page<br><br><a href="https://wiki.ubuntu.com/MountWindowsSharesPermanently">https://wiki.ubuntu.com/MountWindowsSharesPermanently</a><br>
<br><br></pre><br><pre><br><br><br></pre><br><br><div class="gmail_quote">On Thu, Jul 3, 2008 at 3:33 PM, Brian Pitts <<a href="mailto:brian@polibyte.com">brian@polibyte.com</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d"><a href="mailto:jeramey.beck@atlbecks.com">jeramey.beck@atlbecks.com</a> wrote:<br>
> When I try the following command:<br>
> /mount -t cifs //<a href="http://192.168.1.129/pictures" target="_blank">192.168.1.129/pictures</a> /media/pictures/ -o user='jeramey beck'/<br>
> ubuntu prompts me for my password...I enter the password and everything gets<br>
> mounted and everything SEEMS fine. But when I try to read or write any data<br>
> to/from this mount it is SOOOOOOOO slow that I just give up. The data is a<br>
> collection of pictures...nothing real big...between 2 & 4MB each.<br>
<br>
</div>What network card do you have?<br>
lspci | grep -i network<br>
<br>
What's your link speed (replace eth0 with your NIC)?<br>
sudo ethtool eth0 | grep Speed<br>
<br>
How long does a transfer of one large file take take?<br>
dd if=/dev/urandom of=foo bs=1MB count=100<br>
time cp foo /media/pictures/<br>
<br>
-Brian<br>
_______________________________________________<br>
Ale mailing list<br>
<a href="mailto:Ale@ale.org">Ale@ale.org</a><br>
<a href="http://mail.ale.org/mailman/listinfo/ale" target="_blank">http://mail.ale.org/mailman/listinfo/ale</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Joshua Chase<br>GMT - 5:00<br><a href="http://www.linuxcrypt.net">http://www.linuxcrypt.net</a><br><a href="http://www.cigarbros.net">http://www.cigarbros.net</a><br>gtalk: joshua.d.chase<br>
skype: joshua.chase<br>Grand Central # (404) 461-9919