<feed xmlns='http://www.w3.org/2005/Atom'>
<title>slacknetsetup, branch current-20180531</title>
<subtitle>Migration to iproute2-based network setup</subtitle>
<link rel='alternate' type='text/html' href='https://git.rlworkman.net/slacknetsetup/'/>
<entry>
<title>Fix up setting of IPALIASES and update docs</title>
<updated>2018-05-24T06:23:40+00:00</updated>
<author>
<name>Darren Austin</name>
<email>darren@slackware.uk</email>
</author>
<published>2018-05-24T06:16:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rlworkman.net/slacknetsetup/commit/?id=05ad72a6c81027e977bc8566abf770cf0388899f'/>
<id>05ad72a6c81027e977bc8566abf770cf0388899f</id>
<content type='text'>
Signed-off-by: Robby Workman &lt;rworkman@slackware.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Robby Workman &lt;rworkman@slackware.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>rc.inet1*: Allow setting an interface in promiscuous mode</title>
<updated>2018-05-24T06:23:40+00:00</updated>
<author>
<name>Darren Austin</name>
<email>darren@slackware.uk</email>
</author>
<published>2018-03-18T08:57:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rlworkman.net/slacknetsetup/commit/?id=38edd98bc9701f317c43fddafcbf2e808c969293'/>
<id>38edd98bc9701f317c43fddafcbf2e808c969293</id>
<content type='text'>
This is needed for container networking - the bridge for it
must be in promiscuous mode.

Signed-off-by: Robby Workman &lt;rworkman@slackware.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is needed for container networking - the bridge for it
must be in promiscuous mode.

Signed-off-by: Robby Workman &lt;rworkman@slackware.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>More consistent logging</title>
<updated>2018-05-24T06:23:40+00:00</updated>
<author>
<name>Jakub Jankowski</name>
<email>shasta@toxcorp.com</email>
</author>
<published>2018-01-08T03:17:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rlworkman.net/slacknetsetup/commit/?id=d97ffe48193b1dfa704caf1896075702686e66c4'/>
<id>d97ffe48193b1dfa704caf1896075702686e66c4</id>
<content type='text'>
Signed-off-by: Jakub Jankowski &lt;shasta@toxcorp.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Jakub Jankowski &lt;shasta@toxcorp.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Quote variables in tests</title>
<updated>2018-05-24T06:23:40+00:00</updated>
<author>
<name>Jakub Jankowski</name>
<email>shasta@toxcorp.com</email>
</author>
<published>2018-01-08T03:13:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rlworkman.net/slacknetsetup/commit/?id=85adf99d2f9319415d9684be75a4d7793864d2c2'/>
<id>85adf99d2f9319415d9684be75a4d7793864d2c2</id>
<content type='text'>
Signed-off-by: Jakub Jankowski &lt;shasta@toxcorp.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Jakub Jankowski &lt;shasta@toxcorp.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Use pkill/pgrep</title>
<updated>2018-05-24T06:23:40+00:00</updated>
<author>
<name>Jakub Jankowski</name>
<email>shasta@toxcorp.com</email>
</author>
<published>2018-01-08T02:49:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rlworkman.net/slacknetsetup/commit/?id=59e0a7610c708c0799b141715863167ed87babd8'/>
<id>59e0a7610c708c0799b141715863167ed87babd8</id>
<content type='text'>
Instead of heavy subshelling, use pkill/pgrep. Also, be a bit more
specific on what we're killing.

Signed-off-by: Jakub Jankowski &lt;shasta@toxcorp.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Instead of heavy subshelling, use pkill/pgrep. Also, be a bit more
specific on what we're killing.

Signed-off-by: Jakub Jankowski &lt;shasta@toxcorp.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Replace -a / -o in conditionals with &amp;&amp; / ||</title>
<updated>2018-05-24T06:23:40+00:00</updated>
<author>
<name>Jakub Jankowski</name>
<email>shasta@toxcorp.com</email>
</author>
<published>2018-01-08T02:41:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rlworkman.net/slacknetsetup/commit/?id=cda761f22b855806f338ece31734df1ce4824ad6'/>
<id>cda761f22b855806f338ece31734df1ce4824ad6</id>
<content type='text'>
Conditional expression like  [ test1 -a test2 ] should be avoided as it
is not well defined.
See http://pubs.opengroup.org/onlinepubs/9699919799/utilities/test.html#tag_20_128_16
and https://github.com/koalaman/shellcheck/wiki/SC2166

Signed-off-by: Jakub Jankowski &lt;shasta@toxcorp.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Conditional expression like  [ test1 -a test2 ] should be avoided as it
is not well defined.
See http://pubs.opengroup.org/onlinepubs/9699919799/utilities/test.html#tag_20_128_16
and https://github.com/koalaman/shellcheck/wiki/SC2166

Signed-off-by: Jakub Jankowski &lt;shasta@toxcorp.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Take HWADDR from sysfs</title>
<updated>2018-05-24T06:23:40+00:00</updated>
<author>
<name>Jakub Jankowski</name>
<email>shasta@toxcorp.com</email>
</author>
<published>2018-01-08T02:37:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rlworkman.net/slacknetsetup/commit/?id=2e90f05b5634c51776bb7014aeef1f903d9a4122'/>
<id>2e90f05b5634c51776bb7014aeef1f903d9a4122</id>
<content type='text'>
Instead of "ip | sed", just read the sysfs file in which hardware
address is readily presented for us.

Signed-off-by: Jakub Jankowski &lt;shasta@toxcorp.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Instead of "ip | sed", just read the sysfs file in which hardware
address is readily presented for us.

Signed-off-by: Jakub Jankowski &lt;shasta@toxcorp.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>is_wireless_device: fix UUoC and reorder</title>
<updated>2018-05-24T06:23:40+00:00</updated>
<author>
<name>Jakub Jankowski</name>
<email>shasta@toxcorp.com</email>
</author>
<published>2018-01-08T02:30:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rlworkman.net/slacknetsetup/commit/?id=63fcb919b0cdefae3ae7cd7f933c70169c454710'/>
<id>63fcb919b0cdefae3ae7cd7f933c70169c454710</id>
<content type='text'>
There's no need to $(cat .../uevent | grep DEVTYPE) and then compare it
to what we're looking for. grep can do all of it for us ("Useless Use of
Cat").
While at it, if we have three ways of checking whether a device is
wireless, let's order them from least expensive (checking dir is only
one stat()) to most expensive (iwconfig | grep). Proof of correctness:
if "iwconfig | grep" is returning true and the other two methods are
not, we will still reach "iwconfig | grep" in the series of if/elif.

Signed-off-by: Jakub Jankowski &lt;shasta@toxcorp.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
There's no need to $(cat .../uevent | grep DEVTYPE) and then compare it
to what we're looking for. grep can do all of it for us ("Useless Use of
Cat").
While at it, if we have three ways of checking whether a device is
wireless, let's order them from least expensive (checking dir is only
one stat()) to most expensive (iwconfig | grep). Proof of correctness:
if "iwconfig | grep" is returning true and the other two methods are
not, we will still reach "iwconfig | grep" in the series of if/elif.

Signed-off-by: Jakub Jankowski &lt;shasta@toxcorp.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>netconfig: formatting tweaks plus fixup NM default usage</title>
<updated>2018-05-24T06:23:31+00:00</updated>
<author>
<name>Patrick J. Volkerding</name>
<email>volkerdi@slackware.com</email>
</author>
<published>2018-05-24T06:22:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rlworkman.net/slacknetsetup/commit/?id=8e3bacf5fe7afc125d57807858d562e05927a714'/>
<id>8e3bacf5fe7afc125d57807858d562e05927a714</id>
<content type='text'>
Signed-off-by: Robby Workman &lt;rworkman@slackware.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Robby Workman &lt;rworkman@slackware.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>rc.inet1: set the bcast addr and flush ip addr on shutdown</title>
<updated>2018-03-18T08:51:23+00:00</updated>
<author>
<name>Robby Workman</name>
<email>rworkman@slackware.com</email>
</author>
<published>2018-03-18T08:51:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rlworkman.net/slacknetsetup/commit/?id=1aeadff67ff0df3efb8d49cf8c2a29b46bf12ce5'/>
<id>1aeadff67ff0df3efb8d49cf8c2a29b46bf12ce5</id>
<content type='text'>
Thanks to Markus Wiesner.

Signed-off-by: Robby Workman &lt;rworkman@slackware.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Thanks to Markus Wiesner.

Signed-off-by: Robby Workman &lt;rworkman@slackware.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
