how to access sata drive after installing archlinux

This forum is for Marvell Kirkwood devices such as the GoFlex Home/Net, PogoPlug v1/v2, SheevaPlug, and ZyXEL devices.

Re: how to access sata drive after installing archlinux

Postby Philoo » Mon Oct 15, 2012 9:07 pm

I've not been using samba fro quite a while, but last time I did I needed to create samba users on the host machine in order to have actually working access control.

what makes thing confusing is that most often you map user names and passwords to be identical to the linux ones

anyway the command is:
$this->bbcode_second_pass_quote('', '
')smbpasswd
Philoo
 
Posts: 102
Joined: Wed Aug 10, 2011 9:20 pm

Re: how to access sata drive after installing archlinux

Postby moonman » Mon Oct 15, 2012 9:45 pm

Maybe this will help. Here's my configuration:

$this->bbcode_second_pass_quote('', '[')global]
workgroup = WORKGROUP
server string = Arch Linux ARM install
netbios name = Arch Linux ARM install
security = share
load printers = yes
printing = bsd
printcap name = /dev/null
disable spools = yes
log file = /var/log/samba/%m.log
max log size = 50
dns proxy = no
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_KEEPALIVE SO_RCVBUF=131072 SO_SNDBUF=131072 SO_KEEPALIVE

[Storage]
path = /media/Storage/
read only = no
public = yes
writable = yes
force user = root

[2TBDrive]
path = /media/2TBDrive/
read only = no
public = yes
writable = yes
force user = root

[media]
path = /media/
read only = no
public = yes
writable = yes
force user = root

[root]
path = /
read only = no
public = yes
writable = yes
force user = root
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am

Re: how to access sata drive after installing archlinux

Postby iBabu » Tue Oct 16, 2012 3:55 pm

worked perfectly!!!! must be my .conf file, i copied your setup and worked. another question is can you help me out setup cherokee right way. i wanna host index.html i created on /media/Part2/site, and i put that path as root for .html file in cherokee but no luck. or do u guys suggest something else other than cherokee?
iBabu
 
Posts: 32
Joined: Thu Oct 11, 2012 2:43 am

Re: how to access sata drive after installing archlinux

Postby iBabu » Tue Oct 16, 2012 5:25 pm

also how can i access it from outside? when i try it from outside using my public ip it doens't connect, what port im suppose to be using? cause on my router i have put ip for that device in dmz, so all port should be open for it, also another problem im having is for ftp access it only lets me transfer from home, when i ftp from outside it connects but doesn't let me transfer file it says 550 permission denied.
iBabu
 
Posts: 32
Joined: Thu Oct 11, 2012 2:43 am

Re: how to access sata drive after installing archlinux

Postby moonman » Wed Oct 17, 2012 2:40 am

make sure the permissions on the cheeroke root are correct. Maybe for testing issue "chmod 777 /path/to/root", also make usre that index.html is readable by cheeroke as well chmod 666 /path/to/root/index.html". The reason why it isn't accessible is probably because your router doesn't have loopback. IF you try to access it from a machine with a different internet connection, it shouuld work. You don't need to have DMZ setup, just open port 80 and redirect it to this plug's IP address.
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am

Re: how to access sata drive after installing archlinux

Postby iBabu » Wed Oct 17, 2012 4:55 pm

well this is the layout of my harddrive. root -->media--> Part2 (Part2 has three folders , one of them is called "site"). i have index.html in there that says "hello world". what do i need to do in cherokee admin page? cause i added that path in vservers but it would not display that index.html
iBabu
 
Posts: 32
Joined: Thu Oct 11, 2012 2:43 am

Re: how to access sata drive after installing archlinux

Postby moonman » Fri Oct 19, 2012 11:21 am

I am not that familiar with cherokee. I've tried it once. It worked. And that's it. :) Try lighttpd. It's lighter and scales better. There's also a nice guide for it https://wiki.archlinux.org/index.php/Lighttpd
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am

Re: how to access sata drive after installing archlinux

Postby iBabu » Sat Oct 20, 2012 12:02 am

i get this trying to install lighttpd

[root@localhost ~]# pacman -S lighttpd
resolving dependencies...
looking for inter-conflicts...

Targets (1): lighttpd-1.4.31-1

Total Download Size: 0.19 MiB
Total Installed Size: 0.89 MiB

Proceed with installation? [Y/n] y
:: Retrieving packages from extra...
error: failed retrieving file 'lighttpd-1.4.31-1-arm.pkg.tar.xz' from mirror.archlinuxarm.org : Could not resolve host: mirror.archlinuxarm.org; Unknown error
warning: failed to retrieve some files from extra
error: failed to commit transaction (download library error)
Errors occurred, no packages were upgraded.
iBabu
 
Posts: 32
Joined: Thu Oct 11, 2012 2:43 am

Re: how to access sata drive after installing archlinux

Postby moonman » Sat Oct 20, 2012 12:09 am

$this->bbcode_second_pass_code('', 'pacman -Scc') and answer Y to both questions
then install with pacman -Sy lighttpd
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am

Re: how to access sata drive after installing archlinux

Postby iBabu » Sat Oct 20, 2012 3:37 pm

that didn't work either
iBabu
 
Posts: 32
Joined: Thu Oct 11, 2012 2:43 am

PreviousNext

Return to Marvell Kirkwood

Who is online

Users browsing this forum: No registered users and 33 guests