[SOLVED] Troubles with SAMBA on alARM

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

[SOLVED] Troubles with SAMBA on alARM

Postby UberSlackr » Wed Dec 26, 2012 7:12 pm

Okay, so I'm no expert is SAMBA (Although its pretty basic) but I'm no newbie either..
I have a full NAS box running SAMBA just fine, but can not get SAMBA to run on alARM (PP)

I've followed the instructions outlined here: http://archlinuxarm.org/support/guides/ ... ions/samba
Thought maybe there might be a different setup required under alARM, but it seems pretty much the same.

Yet I'm unable to connect to the Samba Shares via Windows 7
When entering \\ALARM\ in Explorer I get Network Error: Windows cannot access \\ALARM\

$this->bbcode_second_pass_code('', 'rc.d [start|stop|restart] samba')
Does not seem to function, as the only output I get from the terminal is
$this->bbcode_second_pass_code('', '-bash: rc.d: command not found')

I normally would start/stop/restart samba simply by using
$this->bbcode_second_pass_code('', 'smbd [start|stop|restart] ') but fails to work also.
when running ps -A to check for samba, its still being listed as a running process even though smbd stop was issued. smbd restart also fails to work. Which its becoming difficult to edit the smb.conf file, and restart samba to allow for changes in the config to take effect.


Could really use some help here. Many thanks.

smb.conf output:
$this->bbcode_second_pass_code('', '[global]
server string = ALARM
security = SHARE
guest account = pcguest
log file = /var/log/samba/%m.log
max log size = 50
disable netbios = Yes
socket options = TCO_NODELAY IPTOS_LOWDELAY SO_KEEPALIVE SO_RCVBUF=131072 SO_SNDBUF=131072 SO_KEEPALIVE
load printers = No
dns proxy = No
wins support = Yes
idmap config * : backend = tdb

[Local_Disk]
path = /media/Local_Disk/
force user = root
read only = No
guest ok = Yes
')
Last edited by UberSlackr on Thu Jan 03, 2013 5:21 pm, edited 1 time in total.
UberSlackr
 
Posts: 39
Joined: Mon Dec 24, 2012 6:29 am

Re: Troubles with SAMBA on alARM

Postby winestock » Wed Dec 26, 2012 10:23 pm

Try sudo rc.d start samba
Pogoplug Series 4 / Linux-Kirkwood 3.10.10-2
winestock
 
Posts: 134
Joined: Mon Nov 05, 2012 12:03 am

Re: Troubles with SAMBA on alARM

Postby UberSlackr » Wed Dec 26, 2012 10:42 pm

$this->bbcode_second_pass_quote('winestock', 'T')ry sudo rc.d start samba


$this->bbcode_second_pass_code('', '[root@alarm ~]# sudo rc.d restart samba
-bash: sudo: command not found
[root@alarm ~]#
')
UberSlackr
 
Posts: 39
Joined: Mon Dec 24, 2012 6:29 am

Re: Troubles with SAMBA on alARM

Postby winestock » Wed Dec 26, 2012 11:00 pm

$this->bbcode_second_pass_quote('UberSlackr', '')$this->bbcode_second_pass_quote('winestock', 'T')ry sudo rc.d start samba


$this->bbcode_second_pass_code('', '[root@alarm ~]# sudo rc.d restart samba
-bash: sudo: command not found
[root@alarm ~]#
')


You should install sudo using these instructions: https://wiki.archlinux.org/index.php/Sudo. In the meantime, try the following:
$this->bbcode_second_pass_code('', '
su -
rc.d start samba
exit
')
Pogoplug Series 4 / Linux-Kirkwood 3.10.10-2
winestock
 
Posts: 134
Joined: Mon Nov 05, 2012 12:03 am
Top

Re: Troubles with SAMBA on alARM

Postby WarheadsSE » Wed Dec 26, 2012 11:26 pm

If this is a kirkwood, it is likely on systemd
$this->bbcode_second_pass_code('', 'systemctl start smbd nmbd')
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Troubles with SAMBA on alARM

Postby UberSlackr » Thu Dec 27, 2012 3:14 am

$this->bbcode_second_pass_quote('WarheadsSE', 'I')f this is a kirkwood, it is likely on systemd
$this->bbcode_second_pass_code('', 'systemctl start smbd nmbd')


Its a PP Series 4, not sure if its running kirkwood or not.

I used the command you suggested, but get nothing.
can not stop or restart the smbd process.
and per the Samba instructions (linked in first post) it suggested disabling nmbd to reduce memory usage.
UberSlackr
 
Posts: 39
Joined: Mon Dec 24, 2012 6:29 am
Top

Re: Troubles with SAMBA on alARM

Postby winestock » Thu Dec 27, 2012 5:29 am

$this->bbcode_second_pass_quote('UberSlackr', '')$this->bbcode_second_pass_quote('WarheadsSE', 'I')f this is a kirkwood, it is likely on systemd
$this->bbcode_second_pass_code('', 'systemctl start smbd nmbd')


Its a PP Series 4, not sure if its running kirkwood or not.

I used the command you suggested, but get nothing.
can not stop or restart the smbd process.
and per the Samba instructions (linked in first post) it suggested disabling nmbd to reduce memory usage.


One way that you can tell if you are running Linux-Kirkwood is to run the following command:
$this->bbcode_second_pass_code('', '
uname -a
')
Pogoplug Series 4 / Linux-Kirkwood 3.10.10-2
winestock
 
Posts: 134
Joined: Mon Nov 05, 2012 12:03 am
Top

Re: Troubles with SAMBA on alARM

Postby UberSlackr » Thu Dec 27, 2012 12:56 pm

$this->bbcode_second_pass_quote('winestock', '
')One way that you can tell if you are running Linux-Kirkwood is to run the following command:
$this->bbcode_second_pass_code('', '
uname -a
')


$this->bbcode_second_pass_code('', '[root@alarm ~]# uname -a
Linux alarm 3.1.10-15-ARCH #1 PREEMPT Wed Dec 12 15:25:18 UTC 2012 armv5tel GNU/Linux')
UberSlackr
 
Posts: 39
Joined: Mon Dec 24, 2012 6:29 am
Top

Re: Troubles with SAMBA on alARM

Postby WarheadsSE » Thu Dec 27, 2012 3:41 pm

It's a kirkwood SoC. It is probably on systemd if it was installed recently.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Troubles with SAMBA on alARM

Postby UberSlackr » Thu Dec 27, 2012 4:46 pm

$this->bbcode_second_pass_quote('WarheadsSE', ' ')

Re: Troubles with SAMBA on alARM

Post by WarheadsSE » Thu Dec 27, 2012 9:41 am


Yes, installed about 3 days ago.

Still can not get Win7 to connect to the samba shares...
I've reinstalled samba twice nice, trying to start with fresh installs.. but nothing is working.
UberSlackr
 
Posts: 39
Joined: Mon Dec 24, 2012 6:29 am
Top

Next

Return to Marvell Kirkwood

Who is online

Users browsing this forum: No registered users and 298 guests