4,461
edits
add traceroute example |
add making a samba share |
||
Line 1: | Line 1: | ||
== Making a samba share == | |||
* ''Last tested on Ubuntu 16.04 LTS (xenial) & Windows 10.0.10586'' | |||
at the end of <span class="shell">/etc/samba/smb.conf</span> add a share config. | |||
<source lang="properties"> | |||
[ea] | |||
comment = pistis - echo admin | |||
path = /var/www/ea | |||
admin users = mhan | |||
read only = No | |||
create mask = 0755 | |||
</source> | |||
then add the Samba account. | |||
<source lang="bash"> | |||
$ sudo smbpasswd -a mhan | |||
</source> | |||
then restart samba | |||
<source lang="bash"> | |||
$ sudo systemctl restart smbd.service nmbd.service | |||
</source> | |||
then on Windows execute the following. For the username, you may have to enter it in the form <span class="package">mhan@pistis</span> or <span class="package">pistis\mhan</span>. Enter the password you used when you added the Samba account for the user. | |||
<source lang="doscon"> | |||
C:\>net use Z: \\pistis\ea /savecred /persistent:yes | |||
</source> | |||
== Checking the accessibility of a port through the network == | == Checking the accessibility of a port through the network == | ||
Line 6: | Line 40: | ||
$ sudo hping3 -T -t 1 -p 8080 pisteo.example.com | $ sudo hping3 -T -t 1 -p 8080 pisteo.example.com | ||
</source> | </source> | ||
== Tracing a route == | == Tracing a route == |