Accessing HDA shares on SuSE 114

User avatar
t800
Posts: 25
Joined: Wed Dec 01, 2010 6:40 am
Location: UK
Contact:

Accessing HDA shares on SuSE 114

Postby t800 » Mon Jun 06, 2011 3:10 pm

Never could get Suse to NFS share with Fedora. But here is a quick hack to you can put in the /etc/fstab to allow you access your HDA shared folders with out all the mucking out with mount commands every time you reboot. This method is insecure but a script could be used to hash the password.

Create a folder were you want the share to live, here I'm using /home/tunes to map my hda music share. Using root or sudo and edit /etc/fstab and add this line for each share you want to map into your filing system.

Code: Select all

//hda/Music /home/Tunes cifs auto,username=YOUR_NAME, password=YOUR_PASSWD, uid=1001, gid=users,file_mode=0660,dir_mode=0770 0 0
Save and close

Now start Yast and click Run Levels and enable CIFS as a service and save. May people have fallen down the hole of trying to enable the samba client. This is a simple method which appears to work straight out of the box. You can reboot to see if it works or use "rcnetwork restart" or just "rccifs restart" to start it. It should auto mount the shares each time boot up. Add the line for as many shares as you want to add. And it works for wireless connections too.

Have fun, hope this helps
"All answers have been checked and rechecked to be highly questionable" :)
ZX81, wobbly 16mb RAM, 4mhz CPU, Bluetac and a dead skin keyboard

Who is online

Users browsing this forum: No registered users and 18 guests