<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.alpinelinux.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Walderich</id>
	<title>Alpine Linux - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.alpinelinux.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Walderich"/>
	<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/wiki/Special:Contributions/Walderich"/>
	<updated>2026-05-02T00:05:11Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.40.0</generator>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Classic_install_or_sys_mode_on_Raspberry_Pi&amp;diff=14157</id>
		<title>Classic install or sys mode on Raspberry Pi</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Classic_install_or_sys_mode_on_Raspberry_Pi&amp;diff=14157"/>
		<updated>2017-12-01T11:59:41Z</updated>

		<summary type="html">&lt;p&gt;Walderich: Corrected link to mount-point of first partition&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Howto for classic installation or &amp;quot;sys mode&amp;quot;&lt;br /&gt;
&lt;br /&gt;
This method works with a desktop PC under Ubuntu and other linuxes&lt;br /&gt;
&lt;br /&gt;
== PREPARATION ==&lt;br /&gt;
&lt;br /&gt;
Download archive of Alpinelinux for Rasperry Pi :&lt;br /&gt;
&lt;br /&gt;
http://dl-cdn.alpinelinux.org/alpine/v3.6/releases/armhf/alpine-rpi-3.6.2-armhf.tar.gz&lt;br /&gt;
&lt;br /&gt;
On a class 10 sd-card with size of 8Go or more, create 2 partitions :&lt;br /&gt;
* First in fat16 with size of 128Mo. Check boot and lba flags&lt;br /&gt;
* Second in ext4 with the remaining place&lt;br /&gt;
&lt;br /&gt;
Eject and insert your SD-card to recognize all the partitions&lt;br /&gt;
&lt;br /&gt;
Now go inside the first partition (fat16).&lt;br /&gt;
&lt;br /&gt;
Untar the archive with tar:&lt;br /&gt;
tar zxvf ~/Download/alpine-rpi-3.6.2-armhf.tar.gz&lt;br /&gt;
&lt;br /&gt;
Because a bug, it&#039;s recommended to add in the partition  a file named &#039;&#039;&#039;usercfg.txt&#039;&#039;&#039; with the unique line :&lt;br /&gt;
&lt;br /&gt;
enable_uart=1&lt;br /&gt;
&lt;br /&gt;
Eject properly the sd card, insert it in the Raspberry Pi, plug a usb keyboard, an HDMI and a network cables, and power on.&lt;br /&gt;
As a prompt is displaying, connect as root without password.&lt;br /&gt;
&lt;br /&gt;
== INSTALLATION ==&lt;br /&gt;
&lt;br /&gt;
So, execute the following commands :&lt;br /&gt;
* setup-alpine (&#039;&#039;set the mapping keyboard, the timezone, how to connect to the network (dhcp is the best method), say &amp;quot;no&amp;quot; at &amp;quot;save config&amp;quot; and cache&#039;&#039;)&lt;br /&gt;
* apk update&lt;br /&gt;
* apk add chrony (&#039;&#039;Raspberry Pi has no battery for his hardware clock. So, synchronize with a ntp server&#039;&#039;)&lt;br /&gt;
* service chronyd restart&lt;br /&gt;
* apk add e2fsprogs&lt;br /&gt;
* mount /dev/mmcblk0p2 /mnt (&#039;&#039;The second partition in ext4 format where Alpinuxlinux is installing in sys mode&#039;&#039;)&lt;br /&gt;
* setup-disk -m sys /mnt&lt;br /&gt;
* mount -o remount,rw /dev/mmcblk0p1 (&#039;&#039;An update in the first partition is required for the next reboot&#039;&#039;)&lt;br /&gt;
* rm -f /media/mmcblk0p1/boot/* (&#039;&#039;clean up the boot folder in the first partition to drop unused files&#039;&#039;)&lt;br /&gt;
* cd /mnt (&#039;&#039;We are in the second partition&#039;&#039;)&lt;br /&gt;
* rm boot/boot (&#039;&#039;Drop the unused symbolink link&#039;&#039;)&lt;br /&gt;
* mv boot/* /media/mmcblk0p1/boot/ (&#039;&#039;Move the image and init ram for AlpineLinux at the right place&#039;&#039;)&lt;br /&gt;
* rm -Rf boot&lt;br /&gt;
* mkdir media/mmcblk0p1 (&#039;&#039;It&#039;s the mount point for the first partition on the next reboot&#039;&#039;)&lt;br /&gt;
* ln -s media/mmcblk0p1/boot boot (&#039;&#039;Don&#039;t worry about the error&#039;&#039;)&lt;br /&gt;
* echo &amp;quot;/dev/mmcblk0p1 /media/mmcblk0p1 vfat defaults 0 0&amp;quot; &amp;gt;&amp;gt; etc/fstab (&#039;&#039;Update /etc/fstab&#039;&#039;)&lt;br /&gt;
* sed -i &#039;/cdrom/d&#039; etc/fstab (&#039;&#039;Of course, you don&#039;t have any cdrom or floppy on the Raspberry Pi&#039;&#039;)&lt;br /&gt;
* sed -i &#039;/floppy/d&#039; etc/fstab&lt;br /&gt;
* sed -i &#039;/edge/s/^#//&#039; etc/apk/repositories (&#039;&#039;Enable the repository for the community if you want vim, mc, php, apache, nginx, ...&#039;&#039;)&lt;br /&gt;
* cd /media/mmcblk0p1&lt;br /&gt;
* sed -i &#039;s/^/root=\/dev\/mmcblk0p2 /&#039; cmdline.txt (&#039;&#039;Tell for the next boot that the root filesystem is on the second partition&#039;&#039;)&lt;br /&gt;
* reboot &lt;br /&gt;
&lt;br /&gt;
That works on Raspberry Pi 3B and 1B. But if you have the 1B version, let&#039;s be very, very patient (several tens of minutes)&lt;br /&gt;
&lt;br /&gt;
If a hard disk is connected via usb, you can replace above /dev/mmcblk0p2 by /dev/sda1, for example.&lt;br /&gt;
&lt;br /&gt;
If you don&#039;t like sed and regular expressions, you can use nano editor after executing the following command :&lt;br /&gt;
&lt;br /&gt;
apk add nano&lt;br /&gt;
&lt;br /&gt;
== POST-INSTALLATION ==&lt;br /&gt;
&lt;br /&gt;
The Raspberry Pi (RPI) has no battery to keep the time updated. So, we need to enable the right service to  synchronize with a ntp server:&lt;br /&gt;
&lt;br /&gt;
* rc-update del hwclock boot&lt;br /&gt;
* rc-update add swclock boot&lt;br /&gt;
* service hwclock stop&lt;br /&gt;
* service swclock start&lt;br /&gt;
&lt;br /&gt;
Update and upgrade the system :&lt;br /&gt;
&lt;br /&gt;
* apk update&lt;br /&gt;
* apk upgrade&lt;br /&gt;
&lt;br /&gt;
If you want a cool editor (&#039;&#039;vim&#039;&#039;), a files manager (&#039;&#039;mc&#039;&#039;), which tasks are running (&#039;&#039;htop&#039;&#039;), which services are starting on  the boot process, add the right packages :&lt;br /&gt;
&lt;br /&gt;
* apk add vim mc htop&lt;br /&gt;
* htop&lt;br /&gt;
* rc-update&lt;br /&gt;
&lt;br /&gt;
The RPI 3B has wifi on board for networking. So, start service for the encrypted key on wpa2 protocol :&lt;br /&gt;
&lt;br /&gt;
* apk add wpa_supplicant&lt;br /&gt;
* rc-update add wpa_supplicant boot&lt;br /&gt;
* service wpa_supplicant start&lt;br /&gt;
* setup-interface (&#039;&#039;replace IP address by dhcp for all the interfaces if necessary, select the SSID network for wifi and add password&#039;&#039;)&lt;br /&gt;
* ip addr (&#039;&#039;to know the IP address for all interfaces&#039;&#039;)&lt;br /&gt;
&lt;br /&gt;
If you want to connect on your remote RPI via ssh, an additional user (&#039;&#039;foo&#039;&#039;) and sudo package are required because it&#039;s forbidden to conect as root :&lt;br /&gt;
&lt;br /&gt;
* apk add sudo&lt;br /&gt;
* adduser foo&lt;br /&gt;
* adduser foo wheel&lt;br /&gt;
* visudo (&#039;&#039;uncomment line #82 with &amp;quot;wheel ALL=(ALL) ALL&amp;quot;. If vim is installed, save the changes by typing &amp;quot;Esc :x&amp;quot;&#039;&#039;)&lt;/div&gt;</summary>
		<author><name>Walderich</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Classic_install_or_sys_mode_on_Raspberry_Pi&amp;diff=14156</id>
		<title>Classic install or sys mode on Raspberry Pi</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Classic_install_or_sys_mode_on_Raspberry_Pi&amp;diff=14156"/>
		<updated>2017-11-30T23:01:58Z</updated>

		<summary type="html">&lt;p&gt;Walderich: Corrected path to partition when creating symbolic link to boot&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Howto for classic installation or &amp;quot;sys mode&amp;quot;&lt;br /&gt;
&lt;br /&gt;
This method works with a desktop PC under Ubuntu and other linuxes&lt;br /&gt;
&lt;br /&gt;
== PREPARATION ==&lt;br /&gt;
&lt;br /&gt;
Download archive of Alpinelinux for Rasperry Pi :&lt;br /&gt;
&lt;br /&gt;
http://dl-cdn.alpinelinux.org/alpine/v3.6/releases/armhf/alpine-rpi-3.6.2-armhf.tar.gz&lt;br /&gt;
&lt;br /&gt;
On a class 10 sd-card with size of 8Go or more, create 2 partitions :&lt;br /&gt;
* First in fat16 with size of 128Mo. Check boot and lba flags&lt;br /&gt;
* Second in ext4 with the remaining place&lt;br /&gt;
&lt;br /&gt;
Eject and insert your SD-card to recognize all the partitions&lt;br /&gt;
&lt;br /&gt;
Now go inside the first partition (fat16).&lt;br /&gt;
&lt;br /&gt;
Untar the archive with tar:&lt;br /&gt;
tar zxvf ~/Download/alpine-rpi-3.6.2-armhf.tar.gz&lt;br /&gt;
&lt;br /&gt;
Because a bug, it&#039;s recommended to add in the partition  a file named &#039;&#039;&#039;usercfg.txt&#039;&#039;&#039; with the unique line :&lt;br /&gt;
&lt;br /&gt;
enable_uart=1&lt;br /&gt;
&lt;br /&gt;
Eject properly the sd card, insert it in the Raspberry Pi, plug a usb keyboard, an HDMI and a network cables, and power on.&lt;br /&gt;
As a prompt is displaying, connect as root without password.&lt;br /&gt;
&lt;br /&gt;
== INSTALLATION ==&lt;br /&gt;
&lt;br /&gt;
So, execute the following commands :&lt;br /&gt;
* setup-alpine (&#039;&#039;set the mapping keyboard, the timezone, how to connect to the network (dhcp is the best method), say &amp;quot;no&amp;quot; at &amp;quot;save config&amp;quot; and cache&#039;&#039;)&lt;br /&gt;
* apk update&lt;br /&gt;
* apk add chrony (&#039;&#039;Raspberry Pi has no battery for his hardware clock. So, synchronize with a ntp server&#039;&#039;)&lt;br /&gt;
* service chronyd restart&lt;br /&gt;
* apk add e2fsprogs&lt;br /&gt;
* mount /dev/mmcblk0p2 /mnt (&#039;&#039;The second partition in ext4 format where Alpinuxlinux is installing in sys mode&#039;&#039;)&lt;br /&gt;
* setup-disk -m sys /mnt&lt;br /&gt;
* mount -o remount,rw /dev/mmcblk0p1 (&#039;&#039;An update in the first partition is required for the next reboot&#039;&#039;)&lt;br /&gt;
* rm -f /media/mmcblk0p1/boot/* (&#039;&#039;clean up the boot folder in the first partition to drop unused files&#039;&#039;)&lt;br /&gt;
* cd /mnt (&#039;&#039;We are in the second partition&#039;&#039;)&lt;br /&gt;
* rm boot/boot (&#039;&#039;Drop the unused symbolink link&#039;&#039;)&lt;br /&gt;
* mv boot/* /media/mmcblk0p1/boot/ (&#039;&#039;Move the image and init ram for AlpineLinux at the right place&#039;&#039;)&lt;br /&gt;
* rm -Rf boot&lt;br /&gt;
* mkdir media/mmcblk1p1 (&#039;&#039;It&#039;s the mount point for the first partition on the next reboot&#039;&#039;)&lt;br /&gt;
* ln -s media/mmcblk1p1/boot boot (&#039;&#039;Don&#039;t worry about the error&#039;&#039;)&lt;br /&gt;
* echo &amp;quot;/dev/mmcblk0p1 /media/mmcblk0p1 vfat defaults 0 0&amp;quot; &amp;gt;&amp;gt; etc/fstab (&#039;&#039;Update /etc/fstab&#039;&#039;)&lt;br /&gt;
* sed -i &#039;/cdrom/d&#039; etc/fstab (&#039;&#039;Of course, you don&#039;t have any cdrom or floppy on the Raspberry Pi&#039;&#039;)&lt;br /&gt;
* sed -i &#039;/floppy/d&#039; etc/fstab&lt;br /&gt;
* sed -i &#039;/edge/s/^#//&#039; etc/apk/repositories (&#039;&#039;Enable the repository for the community if you want vim, mc, php, apache, nginx, ...&#039;&#039;)&lt;br /&gt;
* cd /media/mmcblk0p1&lt;br /&gt;
* sed -i &#039;s/^/root=\/dev\/mmcblk0p2 /&#039; cmdline.txt (&#039;&#039;Tell for the next boot that the root filesystem is on the second partition&#039;&#039;)&lt;br /&gt;
* reboot &lt;br /&gt;
&lt;br /&gt;
That works on Raspberry Pi 3B and 1B. But if you have the 1B version, let&#039;s be very, very patient (several tens of minutes)&lt;br /&gt;
&lt;br /&gt;
If a hard disk is connected via usb, you can replace above /dev/mmcblk0p2 by /dev/sda1, for example.&lt;br /&gt;
&lt;br /&gt;
If you don&#039;t like sed and regular expressions, you can use nano editor after executing the following command :&lt;br /&gt;
&lt;br /&gt;
apk add nano&lt;br /&gt;
&lt;br /&gt;
== POST-INSTALLATION ==&lt;br /&gt;
&lt;br /&gt;
The Raspberry Pi (RPI) has no battery to keep the time updated. So, we need to enable the right service to  synchronize with a ntp server:&lt;br /&gt;
&lt;br /&gt;
* rc-update del hwclock boot&lt;br /&gt;
* rc-update add swclock boot&lt;br /&gt;
* service hwclock stop&lt;br /&gt;
* service swclock start&lt;br /&gt;
&lt;br /&gt;
Update and upgrade the system :&lt;br /&gt;
&lt;br /&gt;
* apk update&lt;br /&gt;
* apk upgrade&lt;br /&gt;
&lt;br /&gt;
If you want a cool editor (&#039;&#039;vim&#039;&#039;), a files manager (&#039;&#039;mc&#039;&#039;), which tasks are running (&#039;&#039;htop&#039;&#039;), which services are starting on  the boot process, add the right packages :&lt;br /&gt;
&lt;br /&gt;
* apk add vim mc htop&lt;br /&gt;
* htop&lt;br /&gt;
* rc-update&lt;br /&gt;
&lt;br /&gt;
The RPI 3B has wifi on board for networking. So, start service for the encrypted key on wpa2 protocol :&lt;br /&gt;
&lt;br /&gt;
* apk add wpa_supplicant&lt;br /&gt;
* rc-update add wpa_supplicant boot&lt;br /&gt;
* service wpa_supplicant start&lt;br /&gt;
* setup-interface (&#039;&#039;replace IP address by dhcp for all the interfaces if necessary, select the SSID network for wifi and add password&#039;&#039;)&lt;br /&gt;
* ip addr (&#039;&#039;to know the IP address for all interfaces&#039;&#039;)&lt;br /&gt;
&lt;br /&gt;
If you want to connect on your remote RPI via ssh, an additional user (&#039;&#039;foo&#039;&#039;) and sudo package are required because it&#039;s forbidden to conect as root :&lt;br /&gt;
&lt;br /&gt;
* apk add sudo&lt;br /&gt;
* adduser foo&lt;br /&gt;
* adduser foo wheel&lt;br /&gt;
* visudo (&#039;&#039;uncomment line #82 with &amp;quot;wheel ALL=(ALL) ALL&amp;quot;. If vim is installed, save the changes by typing &amp;quot;Esc :x&amp;quot;&#039;&#039;)&lt;/div&gt;</summary>
		<author><name>Walderich</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Setting_up_a_samba-ad-dc&amp;diff=12904</id>
		<title>Setting up a samba-ad-dc</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Setting_up_a_samba-ad-dc&amp;diff=12904"/>
		<updated>2016-08-12T17:53:49Z</updated>

		<summary type="html">&lt;p&gt;Walderich: Spelling correction&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;NOTES: &lt;br /&gt;
In all examples below, replace EXAMPLE with your NetBIOS domain name in caps, example.com with your DNS domain name, HOSTNAME with your system&#039;s host name in caps, and hostname with your system&#039;s host name.&lt;br /&gt;
&lt;br /&gt;
Refer to the [https://wiki.samba.org/index.php/Active_Directory_Naming_FAQ Active Directory naming FAQ] before choosing your domain name. &lt;br /&gt;
&lt;br /&gt;
= Installation =&lt;br /&gt;
Install packages:&lt;br /&gt;
{{Cmd|apk add samba-dc krb5 }}&lt;br /&gt;
&lt;br /&gt;
= Edit hosts file =&lt;br /&gt;
You need to modify your {{Path|/etc/hosts}} file to look similar to this.&lt;br /&gt;
&lt;br /&gt;
 127.0.0.1       localhost.localdomain localhost&lt;br /&gt;
 10.1.1.10       hostname.example.com hostname&lt;br /&gt;
&lt;br /&gt;
= Create smb.conf =&lt;br /&gt;
Alpine doesn&#039;t provide an example configuration file in the package so you&#039;ll need to create one at {{Path|/etc/samba/smb.conf}}. &lt;br /&gt;
&lt;br /&gt;
 [global]&lt;br /&gt;
         server role = domain controller&lt;br /&gt;
         workgroup = EXAMPLE&lt;br /&gt;
         realm = example.com&lt;br /&gt;
         netbios name = HOSTNAME&lt;br /&gt;
         passdb backend = samba4&lt;br /&gt;
         idmap_ldb:use rfc2307 = yes&lt;br /&gt;
 &lt;br /&gt;
 [netlogon]&lt;br /&gt;
         path = /var/lib/samba/sysvol/example.com/scripts&lt;br /&gt;
         read only = No&lt;br /&gt;
 &lt;br /&gt;
 [sysvol]&lt;br /&gt;
         path = /var/lib/samba/sysvol&lt;br /&gt;
         read only = No&lt;br /&gt;
&lt;br /&gt;
= Provision your Samba domain =&lt;br /&gt;
Answer the questions with your domain information:&lt;br /&gt;
{{Cmd|samba-tool domain provision --use-rfc2307 --interactive}}&lt;br /&gt;
Use the SAMBA_INTERNAL DNS option.&lt;br /&gt;
When asked for a forwarder IP, choose your internet DNS server. You can use your ISP or other public services (like Google) here.&lt;br /&gt;
&lt;br /&gt;
= Configure resolv.conf =&lt;br /&gt;
Modify your {{Path|/etc/resolv.conf}} to include your new domain as a search domain and point to itself as the first nameserver.&lt;br /&gt;
&lt;br /&gt;
 search example.com&lt;br /&gt;
 nameserver 10.1.1.10&lt;br /&gt;
&lt;br /&gt;
= Configure Kerberos =&lt;br /&gt;
You need to replace krb5.conf with a link to the one generated by samba.&lt;br /&gt;
{{Cmd|ln -sf /var/lib/samba/private/krb5.conf /etc/krb5.conf}}&lt;br /&gt;
&lt;br /&gt;
= Install new init script =&lt;br /&gt;
As of 3/31/2016 and Alpine 3.3.3, the included samba init script doesn&#039;t support starting it as a domain controller. Modify your {{Path|/etc/init.d/samba}} script like the one below.&lt;br /&gt;
&lt;br /&gt;
 #!/sbin/openrc-run&lt;br /&gt;
 &lt;br /&gt;
 extra_started_commands=&amp;quot;reload&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 DAEMON=${SVCNAME#samba.}&lt;br /&gt;
 SERVER_ROLE=`samba-tool testparm --parameter-name=&amp;quot;server role&amp;quot;  2&amp;gt;/dev/null | tail -1`&lt;br /&gt;
 if [ &amp;quot;$SERVER_ROLE&amp;quot; = &amp;quot;active directory domain controller&amp;quot; ]; then&lt;br /&gt;
         daemon_list=&amp;quot;samba&amp;quot;&lt;br /&gt;
 elif [ &amp;quot;$DAEMON&amp;quot; != &amp;quot;samba&amp;quot; ]; then&lt;br /&gt;
         daemon_list=$DAEMON&lt;br /&gt;
 fi&lt;br /&gt;
 &lt;br /&gt;
 depend() {&lt;br /&gt;
         need net&lt;br /&gt;
         after firewall&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 start_samba() {&lt;br /&gt;
         mkdir -p /var/run/samba&lt;br /&gt;
         start-stop-daemon --start --quiet --exec /usr/sbin/samba --&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 stop_samba() {&lt;br /&gt;
         start-stop-daemon --stop --quiet --pidfile /var/run/samba/samba.pid&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 start_smbd() {&lt;br /&gt;
         start-stop-daemon --start --quiet --exec /usr/sbin/smbd -- \&lt;br /&gt;
                 ${smbd_options:-&amp;quot;-D&amp;quot;}&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 stop_smbd() {&lt;br /&gt;
         start-stop-daemon --stop --quiet --pidfile /var/run/samba/smbd.pid&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 start_nmbd() {&lt;br /&gt;
         start-stop-daemon --start --quiet --exec /usr/sbin/nmbd -- \&lt;br /&gt;
                 ${nmbd_options:-&amp;quot;-D&amp;quot;}&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 stop_nmbd() {&lt;br /&gt;
         start-stop-daemon --stop --quiet --pidfile /var/run/samba/nmbd.pid&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 start_winbindd() {&lt;br /&gt;
         start-stop-daemon --start --quiet --exec /usr/sbin/winbindd -- \&lt;br /&gt;
                 $winbindd_options&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 stop_winbindd() {&lt;br /&gt;
         start-stop-daemon --stop --quiet --pidfile /var/run/samba/winbindd.pid&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 start() {&lt;br /&gt;
         for i in $daemon_list; do&lt;br /&gt;
                 ebegin &amp;quot;Starting $i&amp;quot;&lt;br /&gt;
                 start_$i&lt;br /&gt;
                 eend $?&lt;br /&gt;
         done&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 stop() {&lt;br /&gt;
         for i in $daemon_list; do&lt;br /&gt;
                 ebegin &amp;quot;Stopping $i&amp;quot;&lt;br /&gt;
                 stop_$i&lt;br /&gt;
                 eend $?&lt;br /&gt;
         done&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 reload() {&lt;br /&gt;
         for i in $daemon_list; do&lt;br /&gt;
                 ebegin &amp;quot;Reloading $i&amp;quot;&lt;br /&gt;
                 killall -HUP $i&lt;br /&gt;
                 eend $?&lt;br /&gt;
         done&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
= Configure the Samba service =&lt;br /&gt;
Run these two commands to start the service on boot and to start the service right now.&lt;br /&gt;
{{Cmd|rc-update add samba}}&lt;br /&gt;
{{Cmd|rc-service samba start}}&lt;/div&gt;</summary>
		<author><name>Walderich</name></author>
	</entry>
</feed>