LinHES Forums
http://forums.linhes.org/

Samba @ startup [Solved]
http://forums.linhes.org/viewtopic.php?f=25&t=20908
Page 1 of 1

Author:  fishbulb15 [ Tue Mar 09, 2010 9:15 pm ]
Post subject:  Samba @ startup [Solved]

I am having trouble getting samba to load at startup. I have been looking into this and I have put in my /etc/rc.conf:

Code:
...
#
#DAEMONS=(syslog-ng network netfs crond)
DAEMONS=(fbsplash fam samba !syslog-ng !hotplug !pcmcia network !mysqld !dbus !avahi-daemon)
# End of file


If I type in:
Code:
sudo /etc/rc.d/samba start

Samba starts and works fine.
What am I doing wrong??

Author:  Girkers [ Wed Mar 10, 2010 5:41 am ]
Post subject: 

Have you put a tick in the box in the Myth setup (part of LinHES) to tell it to turn on?

Just a thought.

Author:  Too Many Secrets [ Wed Mar 10, 2010 11:26 am ]
Post subject: 

fishbulb15, what version KM/LinHES you running?

Author:  jams [ Wed Mar 10, 2010 12:38 pm ]
Post subject: 

rc.conf is not used with linhes.
The suggested method is as girkers said.
Or add_service.sh smbd and add_service.sh nmbd

Author:  fishbulb15 [ Wed Mar 10, 2010 3:50 pm ]
Post subject: 

I am running R6.02
Quote:
Or add_service.sh smbd and add_service.sh nmbd

worked like a charm!

Thank you

Author:  gatorback [ Sat Oct 08, 2011 2:30 pm ]
Post subject: 

Girkers wrote:
Have you put a tick in the box in the Myth setup (part of LinHES) to tell it to turn on?


@girkers: do you mean:

Service Menu => LinHES Configuration => Advance Settings => Windows Sharing, Checkbox

If someone could explain what /sbin/add_service.sh does, I would appreciate it. I looked at the file and did not understand what it does.

I added a samba user:

Code:
smbpasswd -a mythtv


Copied my smb.conf and other related files to: /etc/samba

Restarted samba:

Code:
sudo sv restart smbd nmbd


Added the share drive from a DOS prompt:

Code:
C:\ net use o: \\dotmyth\myth

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/