Kirjoittaja Aihe: Xubuntu SMB kansiot häipyvät välillä (Connection timed out)  (Luettu 1591 kertaa)

qwertyy

  • Käyttäjä
  • Viestejä: 5661
    • Profiili
Ajattelin testailla vielä Xubuntua ja törmäsin otsikon ongelmaan. Asetukset on tehty seuraavan linkin ensimmäisen viestin mukaan, eli

Since Thunar doesn't have native network Browsing, here is a good way to accomplish it:

1) In XFCE's Applications -> System -> Shared Folders. (This should trigger a Samba install if you don't already have a share, and it should allow you to define the proper workgroup)

2) Install fusesmb in Synaptic (from Universe repository)

3) Edit /etc/modules and add the word 'fuse' to the modules list to be loaded (without quotes), and save the file.

4) Reboot, so the fuse module loads, and the proper workgroup is read for samba.

5) In XFCE Applications -> System -> Users and Groups... Properties of your username... User Priveleges Tab... check "Allow use of fuse file systems..."

6) Create a directory that you are going to mount your network browse to... I used /media/network. Change permissions to read / write for group and others (777).

*** 6.5) In a terminal, type: sudo chown <username>:fuse /media/network
(Where <username> is your user account logon name)

*** 6.6) Double check that the permission to use fuse took. Applications -> System -> Users and Groups... Manage Groups... find fuse and choose properties. Make sure your user name account is in that group and check-marked.

*** 6.7) Reboot the system and triple check with step 6.6

7) In XFCE Applications -> Settings -> Autostarted Applications... Add an application... name and describe as you wish... for command line, put: fusesmb /media/network (Or whatever mountoint you created).

Open Thunar, and navigate to the parent folder of your mountpoint... then drag the 'mounpoint folder' to the places (shortcut) pane of thunar.

9) Logout and log back in (So the user privilege and fusesmb autostart will take affect)

*** Added steps to help prevent some access denied issues some people have been experiencing with fusesmb.

My original thread on this topic is here: http://www.ubuntuforums.org/showthread.php?t=300310

I hope this helps my fellow Xubuntu users... and I also hope that the Xubuntu team somehow enables something similar by default, or at least as an install option.
Toimii aina hetken ihan ok, mutta jos kuuntelen hetken esim. musiikkia smb jaoista, niin yhteys katkeaa ja mennessä kansioon tulee "failed to open directory ... Connection timed out"

Välillä tuntuu, että komento fusesmb.cache saattaa auttaa ja kansioon pääsee uudelleen, mutta erittäin harvoin.

Seuraava pisti silmään. Yleensä kun yhteys toimii ja menen /mnt kansioon ja kirjoitan ls -al tulee ilmeisesti käyttäjä sarakkeeseen fuse, mutta yhteyden katkettua käyttäjäksi ilmestyy koneen käyttäjän nimi. Mielestäni myös aika erikoista, että voin avata /mnt/kotiverkkoni_nimi/kone_missä_tiedostot_on kansion ja esim. ls listaa kaikki jaetut kansiot vieläkin ja voin vielä edetä esim. Digitv kansioon, mutta sitten esim. ls tervehtii
ls: .: Connection timed out

Miten ihmeessä tämä on mahdollista ja fusesmb.cache komento ei siis vaikuta tähän käyttäytymiseen mitenkään. Eikö sen kuitenkin pitäisi jos verkkoasetuksista osa jää koneen muistiin tms?

Niin ja aina rebootin jälkeen nämä kansiot toimivat hetken ihan normaalisti ja nopeasti.