LINUX LITE 7.2 FINAL RELEASED - SEE RELEASE ANNOUNCEMENTS SECTION FOR DETAILS


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
network share drives me mad
#4
Hi,

I can feel your pain, a couple of months ago I was facing various Networking/NAS challenges.
After a lot of help on the LL Forum, and Googling I did various things to make it work for me.
YMMV, but for me it's working. I will try to list what I checked and did.

1. I used a fixed IP address on my NAS in it's Network settings, I used the next address up from my Router, e.g Router 192.168.10.10 and NAS = 192.168.10.11
2. I made sure all PC's, NAS and Router are in the same Workgroup, normally the default is "Workgroup", unless you have changed anything.?
3. I ensured the Shares and Users on the NAS had the right Users with Read/Write access to the Shares.
4. I wanted the the "Shares" to be always be connected at Bootup, so I did the following:

> In my /home directory I created a folder called Zshare so it looked like /home/dave/Zshare
  Inside Zshare I created 3 folders to correspond to my NAS Shares: /Archive  /Backup  /Files

> I Then I edited my /etc/rc.local file
Code:
gksu leafpad /etc/rc.local
and then added mount points from my NAS to the the corresponding Zshare folders at the end of the rc.local file.
Note, username & password are your normal login username/password, there are ways to to hide this, but it requires more steps.
Code:
#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.
# Network Mount Point mapping, sleep 5 is 5 secs, allow Network to establish
sleep 5
mount -t cifs -o username=username,password=yourpassword,uid=username,gid=users //192.168.10.11/Archive /home/dave/ZShares/Archive
mount -t cifs -o username=username,password=yourpassword,uid=username,gid=users //192.168.10.11/Backup /home/dave/ZShares/Backup
mount -t cifs -o username=username,password=yourpassword,uid=username,gid=users //192.168.10.11/Files /home/dave/ZShares/Files
exit 0

I now have it where a 100% of the time my NAS is always there at boot up, assuming its switched on.!,
It shows the 3 devices/shares in File manager on boot up with full Read/Write access.
Hope this is of some use.

Dave
 
 
Upgrades WIP 2.6 to 2.8 - (6 X 2.6 to 2.8 completed on: 20/02/16 All O.K )
Linux Lite 3.0 Humming on a ASRock N3070 Mobo ~ btrfs RAID 10 Install on 4 Disks Smile

Computers Early days:
ZX Spectrum(1982) , HP-150 MS-DOS(1983) , Amstrad CPC464(1984) ,  BBC Micro B+64(1985) , My First PC HP-Vectra(1987)
Reply


Messages In This Thread
network share drives me mad - by mybook - 09-08-2014, 08:35 PM
Re: network share drives me mad - by N4RPS - 09-09-2014, 07:22 AM
Re: network share drives me mad - by Valtam - 09-09-2014, 06:19 PM
Re: network share drives me mad - by Wirezfree - 09-11-2014, 10:11 AM
Re: network share drives me mad - by greenisland - 01-07-2015, 03:24 AM
Re: network share drives me mad - by Scott(0) - 01-07-2015, 06:04 AM
Re: network share drives me mad - by greenisland - 01-07-2015, 06:51 AM
Re: network share drives me mad - by Wirezfree - 01-07-2015, 10:24 AM
Re: network share drives me mad - by greenisland - 01-07-2015, 01:14 PM
Re: network share drives me mad - by greenisland - 01-07-2015, 01:19 PM
Re: network share drives me mad - by Wirezfree - 01-07-2015, 06:23 PM
Re: network share drives me mad - by greenisland - 01-07-2015, 07:38 PM
Re: network share drives me mad - by Wirezfree - 01-07-2015, 09:10 PM
Re: network share drives me mad - by greenisland - 01-07-2015, 10:52 PM
Re: network share drives me mad - by greenisland - 01-07-2015, 11:41 PM
Re: network share drives me mad - by Wirezfree - 01-08-2015, 02:24 AM
Re: network share drives me mad - by N4RPS - 01-08-2015, 02:29 AM
Re: network share drives me mad - by greenisland - 01-08-2015, 01:13 PM
Re: network share drives me mad - by Wirezfree - 01-08-2015, 02:46 PM
Re: network share drives me mad - by greenisland - 01-09-2015, 12:10 AM
Re: network share drives me mad - by Wirezfree - 01-14-2015, 11:44 AM
Re: network share drives me mad - by greenisland - 01-17-2015, 02:27 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)