<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Samba on Jose Castrillo</title>
    <link>https://jose.castrillo.eu/tags/samba/</link>
    <description>Recent content in Samba on Jose Castrillo</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en</language>
    <lastBuildDate>Fri, 27 May 2022 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://jose.castrillo.eu/tags/samba/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>setup auto mount smb v1.0</title>
      <link>https://jose.castrillo.eu/post/smb-fedora-v1/</link>
      <pubDate>Fri, 27 May 2022 00:00:00 +0000</pubDate>
      <guid>https://jose.castrillo.eu/post/smb-fedora-v1/</guid>
      <description>&lt;p&gt;In any case you still having a device that works with smb v1.0 you can use the following way in order to mount it on your Fedora host:&lt;/p&gt;
&lt;p&gt;Path: /etc/NetworkManager/dispatcher.d/smb-setup.sh&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;#!/bin/sh -e
# Script to dispatch NetworkManager events
# more over: https://stackoverflow.com/questions/16848021/linux-networkmanagers-etc-networkmanager-dispatcher-d-test-script-does-not
# Runs ifupdown scripts when NetworkManager fiddles with interfaces.
# See NetworkManager(8) for further documentation of the dispatcher events.

INF=&amp;#34;$1&amp;#34; # your current interface name such as eth0, wlp4s0 and so on
STA=&amp;#34;$2&amp;#34; # status such as UP or DOWN

# Send message to /var/log/messages
logger -s &amp;#34;$0 called for interface named $INF with $STA ...&amp;#34;

if [ &amp;#34;$INF&amp;#34; == &amp;#34;eno1&amp;#34; ]
then
mount -t cifs -o vers=1.0,username=admin,password=Tr3x_1986,uid=1000,gid=1000,forceuid,forcegid //10.34.1.1/1fea-6abb /home/jose/homedisk
fi
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;more info:&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
