On 5/27/2015 8:54 AM, PGNd wrote:
Is that ^^ sufficient?
Should work.
Thanks. Will give that a try, then.
Incidentally, the findgw file that I release is empty
(except for comments). So if you have one that is non-empty, it must
have been supplied by the SuSE Shorewall maintainer.
What
Is that ^^ sufficient?
Should work.
Thanks. Will give that a try, then.
Incidentally, the findgw file that I release is empty
(except for comments). So if you have one that is non-empty, it must
have been supplied by the SuSE Shorewall maintainer.
What I've got from the pkg-installed
Need to get rid of that 1st 'echo'
SHOREWALL/findgw
svc_status=$( systemctl is-active wickedd-dhcp4.service )
- echo $svc_status
if [ $svc_status == 'active' ]; then
data=/var/lib/wicked/lease-${1}-dhcp-ipv4.xml
This appears to get the gateway cleanly from the active/current lease
svc_status=$( systemctl is-active wickedd-dhcp4.service )
echo $svc_status
if [ $svc_status == 'active' ]; then
data=/var/lib/wicked/lease-eth0-dhcp-ipv4.xml
if [ -f $data ]; then
On 5/27/2015 8:37 AM, PGNd wrote:
This appears to get the gateway cleanly from the active/current lease
svc_status=$( systemctl is-active wickedd-dhcp4.service )
echo $svc_status
if [ $svc_status == 'active' ]; then
data=/var/lib/wicked/lease-eth0-dhcp-ipv4.xml
What is commented out isn't in my version either. But
/var/lib/dhcp/dhclient... is 'wired-in'.
Thanks.
In any case, this needs to be straightened out for the opensuse+wicked case.
DIY is good enough for me.
In my findgw scriptlet `xml_grep` is a convenient parser.
Here, it's provided by
On 5/27/2015 9:30 AM, PGNd wrote:
What is commented out isn't in my version either. But
/var/lib/dhcp/dhclient... is 'wired-in'.
Thanks.
In any case, this needs to be straightened out for the opensuse+wicked case.
DIY is good enough for me.
In my findgw scriptlet `xml_grep` is a
On Wed, May 27, 2015, at 11:35 AM, Tom Eastep wrote:
What's the right place/method to do that prereq check, and safely,
immediately exit the compile step?
Aren't you using Shorewall-lite? If so, the compiler normally runs on a
system different from the firewall.
Yes, I am. And, yes,
On 5/27/2015 11:40 AM, PGNd wrote:
On Wed, May 27, 2015, at 11:35 AM, Tom Eastep wrote:
What's the right place/method to do that prereq check, and safely,
immediately exit the compile step?
Aren't you using Shorewall-lite? If so, the compiler normally runs on a
system different from the
On 5/27/2015 12:43 PM, Tom Eastep wrote:
On 5/27/2015 11:40 AM, PGNd wrote:
On Wed, May 27, 2015, at 11:35 AM, Tom Eastep wrote:
What's the right place/method to do that prereq check, and safely,
immediately exit the compile step?
Aren't you using Shorewall-lite? If so, the compiler
I'm switching my current linux box from staticIP - dynamicIP via dhcp.
On net start of my linux box, connecting via native wicked dhcp on Opensuse
13.2,
wicked ifdown eth0 wicked ifup eth0
I have connectivity
ip -4 addr show dev eth0
4: eth0:
11 matches
Mail list logo