|
|||||||
|
|
|
| 01-24-2013, 06:41 PM | |
|
|
|
thanks sooo soo much i feel like i should donaye to you or something nobody should get so much free advice! going to follow these steps tonight but ive gone through them and seems very straightforward.
SO i've just got some final recap questions....only the first one is critical...the rest i can figure out over time. 1-it seems unless my external 4 port usb enclosure is attached, as well as my 1gb system drive, the pogoplug doesnt want to boot. If i only leave the 1gb archlinux drive in, but remove the enclosure and startup, and try ssh'ing into the system it just keeps saying system is down. or i will just keep waiting for the system prompt and then it says operation timed out. I'm thinking maybe because the pogoplug keeps waiting for the drives mentioned in fstab? I will mess around with the file see what i get. 2- you mentioned in the instructions to cloning drive that the target should be larger than the original. Doesnt that mean i will have to use a 2 gb as target...and if i get an issue ,i will have to clone that 2 gb onto a 4gb to restore my system, and the 4gb onto the 8gb...and so on? 3-i set up user pcguest as part of the samba procedure. I am now going to set up a second user, say pcguest2...how do i control which user has what level access? say pcguest shold have rw access, while pcguest2 should only have r access. Again, thanks so much ... i'm making a little cheat sheet/cliff notes for myself right now to make sure I can replicate the procedure, as well as help others if necessary. thanks again.
|
|
|
There is no restore process. When one fails, you simply power it down, swap the drive, and power it back on. http://oreilly.com/openbook/samba...06_02.h http://www.samba.org/samba/docs/u.../ch09.html Just don't use guest access since the security is set to user in smb.conf. Any authentication is better than no authentication. Last edited by teetee1; 01-24-2013 at 07:57 PM.. |
||||
|
First the great news. couldnt wait to try nfs. SUCCESS!
heres showmount -e output: /mnt/Disk4 192.168.0.0/8 /mnt/Disk3 192.168.0.0/8 /mnt/Disk2 192.168.0.0/8 /mnt/Disk1 192.168.0.0/8 /mnt 192.168.0.0/8 (My pogoplug IP is 192.168.0.8. i'm assuming 192.168.0.0/8 is correct?) Two littles notes for others following along (And maybe you could add it to your original post to me: I had to do pacman -Sy nfs-utils instead of pacman -sy nfs-utils Also along with "systemctl start rpc-idmapd rpc-mountd" i also did "systemctl enable rpc-idmapd rpc-mountd" to ensure it starts on boot (See i'm learning!) Also, does NFS use the same username/passwords i set up initially when doing samba ("adduser pcguest"), or there a different combination i use? --- As per your post heres my fstab: # # /etc/fstab: static file system information # # <file system> <dir> <type> <options> <dump> <pass> UUID="D60071C60071ADDD" /mnt/Disk1 ntfs defaults 0 0 UUID="24D89226D891F670" /mnt/Disk2 ntfs defaults 0 0 UUID="F8E841F4E841B224" /mnt/Disk3 ntfs defaults 0 0 UUID="101CE00C1CDFEAAC" /mnt/Disk4 ntfs defaults 0 0 (Just incase you're wondering i've consistently used Disk1,2,3,4 everywhere rather than DISK1,2,3,4 since i know with linux caps makes a difference)
Last edited by Zank; 01-24-2013 at 08:11 PM.. |
|
|
If you are looking for access control list it's in /etc/exports [die.net].
|
|||
|
Just looking at the wiki link, wouldnt 192.168.0.0 be 16 bit mask since we're in the 192.168.0.0 range? 24 bit mask would be 10.0.0.0? Or maybe im not loki at it the right way.
Im using a ubiquiti power ap n atheros based router set up with dd wrt. My router address is 192.168.0.1. I havent changed anything in regards to " bit mask". (Admittedly i have no ideA to even do that change). In regards to the fstab change, would default, noauto mean my disks wont mount automatically? Or does that men something else? (Iremember a post a few pages back arguing with the defaukt vs auto option in regards to auto mount so im guessing this is related.
|
|
|
From the page: Code:
External devices External devices that are to be mounted when present but ignored if absent may require the nofail option. This prevents errors being reported at boot. /etc/fstab /dev/sdg1 /media/backup jfs defaults,nofail 0 2 |
|||
|
So far I've been doing everything as root, using SSH(Putty). I'm not sure at what point I should stop logging in as root and create a less privileged user. Do I need to be root in order to install packages (sorry, I'm a linux noob)? It certainly seems like I should not be root when I'm cruising around my file system in Samba. And then Samba users/passwords ... whenever I create a new smbpasswd, does the user have to be a valid linux user? Should I just create one standard linux user & add a Samba password? Or do I need to do more than that? |
|
|
1. add a normal user account (for ssh into pogo): # useradd -h I would recommend "-d /home/<your user name>" switch to create the user's home directory with all the /etc/skel/* stuff (files for default user environment) and then give user the password # passwd <username> Test and see if you can ssh log in as the newly created user. Then edit /etc/ssh/sshd_config to change "PermitRootLogin" from yes to no. Then restart sshd service to make the new settings active: # systemctl restart sshd and from this point on you can no longer log into pogo with root account. It's one of the system security measurement to prevent any script kiddie using scripts and a dictionary file to brute force their way into the system as root. it's also safer for the system administrator to use normal user account and sudo stuff that requires root privileges (yes, like installing software packages). The extremely short version of linux software installation is simple(from user point of view) and contains three major stages: 1. configure the environment for the source; 2. build and link (make and ld - or compile) to create binaries; 3. the real installation (copy binary, library, and misc files into the usual locations where all other binaries go ex. /usr or /usr/local, etc) and post processing (run one-time-only script or clean-up, etc). And you only need the root privilege at stage. 3. Configuration (step.1) and compilation (step.2) can be done as a normal user account. The default Arch package repositories(core, alarm, etc) store all pre-compiled binaries so there are no stage 1 and 2 involved. When you install the binary package with "pacman -Sy <package name>" or "pacman -U <local package file ending with .xz>, you basically tell the pacman to do stage. 3 installation that's why you need root privilege to do it. You can always install software from the source in any linux system including Arch and go through all three stages mentioned above (fun read: gentoo and arch [ycombinator.com]) and take total control of the software you use but it's not going to be pleasant for people just want to get things working (like me most of the time). Last edited by teetee1; 01-25-2013 at 05:54 PM.. |
||
|
Does anyone have a safe way to shutdown the pogoplug? I have unexpected power outages a lot so as much as id love to have this on all the time i know sometimyes ill get a power outsge to shut down the device. Cant help that situation. But sometimes i know it will happen so would be nice to just shutdown muself. Or is it basically turn off the power socket kind of situation?
|
|
or # shutdown -h now or get a UPS and not have to worry about data corruption due to power outage. |
|
|
hi all
I ended up picking up a buffalo drivestatin axis from frys on the deal the other day. My pogo seems to not want to detect this drive. I will figure that detail out. <---- edit: solved My biggest question is: I am mostly looking to use my pogo for file access in the home. I was going to install the arm etc on the device but got a little lost (I am pretty tech savvy but not enough I guess. My biggest question is this: what typical uses do you now have after hacking the device and installing your software of choice on it? Now to figure out why it is not detecting my drivestation... thanks |
| Thread Tools | Search this Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Keri Lotion: 15-oz Original $4, 15-oz Advanced Lotion or Continuous Moisturization Shea Butter Conditioning Therapy $4.17 + Free Shipping | calistyle | Hot Deals | 0 | 12-03-2012 12:49 AM |
| EMPORIO ARMANI UNISEX AVIATOR SUNGLASSES (BLACK SMOKE OR BROWN) $29.99 + Free Shipping | deals4mykids | Hot Deals | 0 | 11-26-2012 06:06 PM |
| Harmon B Model Aluminum Trumpet Wow-Wow Mute $25.99 + Free Shipping @ wwbw | tedhawkins | Hot Deals | 0 | 11-01-2012 04:18 AM |
| Pink Bead Chandelier Earrings $5 + Free Shipping @ superjeweler | tedhawkins | Hot Deals | 0 | 10-15-2012 05:15 AM |
| Pogoplug Multimedia Sharing Device $25 + Free Shipping | SoupMonster | Hot Deals | 3 | 01-16-2012 06:05 AM |