Learning

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

Learning

Postby hauser » Mon May 28, 2012 5:57 pm

Hi all, im a complete noob, really eager to learn but im a bit lost, im trying to get the samba server running on the pink pogoplug, i though i should be able to see the hard drive plug to the pogo once i pointed the computer to the ip address, but i get no connection, is there anyone with that can point me in the right direction as what guide should i read? i was looking at a samba how to, but i cannot seem to be able to save the configuration file...any help appreciatted

thanks
hauser
 
Posts: 6
Joined: Mon May 28, 2012 5:31 pm

Re: Learning

Postby hauser » Mon May 28, 2012 6:58 pm

i think the problem is that im confused as to what the path should be, im using this file:

[global]
workgroup = WORKGROUP
server string = ALARM
netbios name = ALARM
security = share
load printers = no
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
[ArchLinuxARM]
path = /media/mnt_sdx1/
read only = no
public = yes
writable = yes
force user = root



which is a general, im changing the path to /media/mnt_sdb1/ but i think the problem is there....my hard drive is in /dev/sdb1 and the folders are movies, music, series....please some help, thanks
hauser
 
Posts: 6
Joined: Mon May 28, 2012 5:31 pm

Re: Learning

Postby moonman » Mon May 28, 2012 7:40 pm

ssh into pogo and see what folders you have in /media
$this->bbcode_second_pass_code('', 'ls /media')
Then edit the path according to that.

Make sure you have automounting enabled viewtopic.php?f=3&t=1484
Make sure your samba daemon is running and starts at bootup. Also if you change the configuration file you need to restart samba daemon as it will reload the config file.

$this->bbcode_second_pass_code('', '/etc/rc.d/samba restart')
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: Learning

Postby hauser » Mon May 28, 2012 8:22 pm

moonman thanks for the response, i can connect via samba now but not yet to the sdb1. im using a sata hard drive on a enternal enclosure, conected via usb to the pogoplug.....it was full of my media from before, do i need to format it to EXT2 to get it to work?? or any other format?? i would assume it should work as is..
thanks again for your response
hauser
 
Posts: 6
Joined: Mon May 28, 2012 5:31 pm

Re: Learning

Postby hauser » Mon May 28, 2012 9:40 pm

i think the problem is here:

[root@alarm ~]# /dev/sdb1
-bash: /dev/sdb1: Permission denied

it wont let me access the usb drive with my media conected to the pogoplug
hauser
 
Posts: 6
Joined: Mon May 28, 2012 5:31 pm

Re: Learning

Postby WarheadsSE » Mon May 28, 2012 10:48 pm

You have to mount the partitions on the drive, not directly access the device like that.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Learning

Postby moonman » Mon May 28, 2012 11:57 pm

$this->bbcode_second_pass_quote('hauser', 'i') think the problem is here:

[root@alarm ~]# /dev/sdb1
-bash: /dev/sdb1: Permission denied

it wont let me access the usb drive with my media conected to the pogoplug


$this->bbcode_second_pass_quote('WarheadsSE', 'Y')ou have to mount the partitions on the drive, not directly access the device like that.


Your drive should mounted in /media automatically if you install the automount package and reboot your plug. Don't directly access it like you did.

What filesystem is on the drive? maybe you need to "pacman -Sy ntfs-3g". I don't know if it is included in the default installation. If you want to reformat I would suggest ext4 for the storage partition.
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: Learning

Postby hauser » Mon May 28, 2012 11:59 pm

hey WarheadsSE yeah thanks, i figured it out.... first time messing around with linux

one question if you can help me

if i have this:

[global]
workgroup = WORKGROUP
server string = ALARM
netbios name = ALARM
security = share
load printers = no
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
[PogoPlug]
path = /media
read only = no
public = yes
writable = yes
force user = root
[Movies]
path = /media/Movies
read only = no
public = yes
writable = yes
force user = root
[Series]
path = /media/Series
read only = no
public = yes
writable = yes
force user = root


how do i make the access for [PogoPlug] which is the /media , "NOT with PUBLIC access" but leave the [Movies] --> /media/Movies and [Series] --> /media/Series "WITH Public Access" any ideas?? or how do i point it to certain users?? thanks
hauser
 
Posts: 6
Joined: Mon May 28, 2012 5:31 pm

Re: Learning

Postby WarheadsSE » Tue May 29, 2012 12:12 am

Check the manual for Samba, and the guide at wiki.archlinux.org
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Learning

Postby hauser » Tue May 29, 2012 12:32 am

thanks, will do
hauser
 
Posts: 6
Joined: Mon May 28, 2012 5:31 pm


Return to Marvell Kirkwood

Who is online

Users browsing this forum: No registered users and 18 guests