Architecture – Design / Architect of a double Navbar interface with Native JS

One design sample I admired is a double navigation bar on the left side. If you click on a button on the left, it has two functions. The first is that it controls the second navigation pane, which, when clicked, alternates new content that may serve as more navigation for displaying some content. The second function of the first navigation bar is to load a complete new route that loads only in a section such as an iframe area.

How would you design the best solution when you click on a navigation bar button that loads a new route? The second navigation bar remains on the loaded object and is not loaded into the status of a standard navigation bar, as is the case with every new route.

So if I click on an option that changes the second navigation bar and then click on a new route, only the new route will be displayed and the second navigation bar will not be affected.

Double navbar

iptables – cloud-netconfig: Adding many addresses to the eth0 interface

We have IPTABLE (Natting) servers with SLES 12 on Azure. We have assigned multiple IPs on the network interface to a VM but not configured in the guest operating system.
This command creates NAT rules to forward traffic to servers that are inaccessible in a local environment. Now the communication is good and also the access to the remote server is done according to NAT rules.

https://github.com/SUSE-Enceladus/cloud-netconfig

But in / var / log / message we often see news like the following

2019-05-15T12: 05: 09.516913-05: 00 mznaplapipt002 bash[63729]: Error: Inet prefix is ​​expected as "requests / to".
2019-05-15T12: 05: 09.516979-05: 00 mznaplapipt002 bash[63729]: <13>May 15 12:05:08 cloud-netconfig: Adding many addresses to the eth0 interface
2019-05-15T12: 05: 09.517042-05: 00 mznaplapipt002 bash[63729]: Error: Inet prefix is ​​expected rather than "many".
2019-05-15T12: 05: 09.517106-05: 00 mznaplapipt002 bash[63729]: <13>May 15 12:05:08 cloud-netconfig: Add address requests to eth0 interface
2019-05-15T12: 05: 09.517216-05: 00 mznaplapipt002 bash[63729]: Error: Inet Prefix is ​​Expected as "Requirements".
2019-05-15T12: 05: 09.517332-05: 00 mznaplapipt002 bash[63729]: Error: Inet prefix is ​​expected rather than "many".
2019-05-15T12: 05: 09.517395-05: 00 mznaplapipt002 bash[63729]: Error: Inet Prefix is ​​Expected as "Requirements".
2019-05-15T12: 05: 09.517444-05: 00 mznaplapipt002 bash[63729]: Error: Inet prefix is ​​expected rather than "Too".
2019-05-15T12: 05: 09.517506-05: 00 mznaplapipt002 bash[63729]: Error: Inet prefix is ​​expected rather than "many".
2019-05-15T12: 05: 09.517569-05: 00 mznaplapipt002 bash[63729]: Error: Inet Prefix is ​​Expected as "Requirements".
2019-05-15T12: 05: 09.517631-05: 00 mznaplapipt002 bash[63729]: Error: Inet prefix is ​​expected rather than "many".
2019-05-15T12: 05: 09.517709-05: 00 mznaplapipt002 systemd[1]: Update from cloud-netconfig setup started.
2019-05-15T12: 05: 09.517936-05: 00 mznaplapipt002 bash[63729]: Error: Inet Prefix is ​​Expected as "Requirements".
2019-05-15T12: 05: 09.518003-05: 00 mznaplapipt002 bash[63729]: Error: Inet prefix is ​​expected rather than "Too".
2019-05-15T12: 05: 09.518055-05: 00 mznaplapipt002 bash[63729]: Error: Inet prefix is ​​expected rather than "many".
2019-05-15T12: 05: 09.518146-05: 00 mznaplapipt002 bash[63729]: Error: Inet Prefix is ​​Expected as "Requirements".
2019-05-15T12: 05: 09.518232-05: 00 mznaplapipt002 bash[63729]: Error: Inet prefix is ​​expected rather than "many".
2019-05-15T12: 05: 09.518295-05: 00 mznaplapipt002 bash[63729]: Error: Inet Prefix is ​​Expected as "Requirements".

networking – How to set a DNS hostname on an interface in Linux VM

I need to run Apache Cassandra on an interface so that changing the IP address does not affect my Cassandra server. I intend to set my seed node as the DNS hostname on the interface, so Cassandra should always run on the IP address of the interface. If this is possible, someone can guide me by configuring a DNS hostname on an interface in an Ubuntu VM.

Network – How do I use pfctl to route traffic through a non-standard interface?

I have a VPN that has set up a default route that (of course) is different from my gateway. All traffic is therefore routed through the tunnel.

However, I want to exempt certain apps from going through the tunnel.

With pfctl I could do the following:

Distribute fast route-to (en0 192.168.0.1) group specialgrp flags

To send all traffic from apps that belong to the specialgrp (gid) through the default gateway, not the tunnel.

This works as long as the traffic is displayed on the default gateway when I use tcpdump. The source IP address is not correct. It is set to the address specified by the VPN (a 10.0.0.0/8 (IP address) and not my local IP address. The app can not run because the source IP is incorrect.

How do I set the source IP of the outgoing packets correctly so that they are set to the IP address of my computer and not to the VPN?

Many Thanks

ubuntu – network interface status can not be retrieved, $ 1 is empty

2 days ago I installed Ubuntu 19.04

After attempting to run the script for the check state

#! / bin / bash
Logger "Running $ 0"
Case "$ 1" in
eth *) # or also enx *), .. please with  determine
if [ "$2" == up ]; then
Logger "$ 1 $ 2 wifi off"
nmcli radio wifi off
elif [ "$2" == down ]; then
Logger "$ 1 $ 2 Wifi on"
nmcli radio wifi on
fi
;;
esac

As a result, no separate process is possible because $ 1 is empty.

How do you solve this problem?

Router – Same interface routing with disabled ICMP redirection?

I do not want to talk about the bush for long. I disagree with a friend about how a router would behave in a special configuration. Unfortunately I can not test it here to check my point of view. In particular, the router should Not Perform ICMP redirects.

I believe the router would still route on the same interface if its routing table requires it, even if ICMP redirects are disabled.
My friend thinks the router would not route on the same interface with disabled ICMP forwarders.

Does anyone know how the router would behave? Is there an RFC? Is this different from router to router? I am thankful for every help.

7 – Make custom interface strings configurable for each language by machine name

We create a complex page layout, where some labels should not only be translatable, but also configurable per language, including English. The display logic already consists of user-defined code, so that we are completely free to store these labels.

So far we have considered these options:

  • Harcode the English version, then call t (),
  • Create variables for the English version and call them t (), (*)
  • Create variables for the labels and mark them as translatable. (*) This requires a dedicated administration form in which the labels can be configured in any language.

(*) Both these options require a dedicated management form, in which the labels can be configured either in English or in all languages. It may be useful to register the variables with the variable module.
Of course, when I say "variable," I mean those that you manage with variable_set () / variable_get ().

The Question: Is there an alternative to the variable system in which such configurable strings can be stored? Ideally, something that already gives us an edit user interface without having to create custom forms.

boot – Ubuntu 19.04 – The graphical user interface does not load automatically

I recently upgraded my computer from a fully functional 18.10 system to 19.04.

Plymouthd does not seem to load the boot splash anymore
The graphical user interface no longer loads automatically, after it stays black, it seems to go to a verbose text console, and stops there
When I press "ctrl-alt-f2", I get the tty2 login screen.
Then go back to the main screen with ctrl-alt-f1. The Gnome UI will now load.

Question, what do I have to do to have Gnome automatically switch to the graphical login screen after a reboot?

GUI design – What is the recommended distance between the controls for an interface that can be operated with your finger?

I've been trying to find everything related to the greasy finger-friendly controls and the distance between them. All I could say was that it's common practice to make controls at least 44 pixels tall (which I understood would be both in height and in width).

I could not find anything about the distance between these controls. Would anyone have any further information about what recommended amount of pixels between controls (such as buttons) would be for a greasy finger-friendly interface?

Forms – Data Entry Interface?

I'm trying to create a simple web app. In a new approach, I will first create my database schema. From what I understand, the equivalent of db TABLE in Drupal is the content type.

So I created one and added the fields I need. Now is the time to create the data entry interface. I can see that I can add "data" via add content. However, this is cumbersome and not suitable for end users.

How can I create a forms-based interface for users of the app to add data (rows)?