net-setup.sh is the script to launch Network Wizard, written by BarryK, but greatly enhanced by Dougal, Rarsa, Shinobar and others. From 2010 TO 2016 there was little to no change in the code. The exact path is:

/usr/sbin/net-setup.sh


The primary GUI windows defined in this script are:
1. Main Window (Let's you pick an interface to configure or load a Kernel Module).
2. Configure Network Interface Window
3. Load Module Window
4. Static IP Configuration (Launched from the Configure Network Interface Window)

There is also a GUI window to configure and select wirless profiles. However, this functionality is defined in a separate file located at:
/usr/sbin/wag-profiles.sh


and can be launched independently of net-setup.sh. Hence the wireless profile functionality could be viewed as a separate wizard. When wag-profiles.sh is called from the command line the first function called is showProfileWindw(), which will build and open the profile window. However, when wag-profiles.sh is sourced, as it is in net-setup.sh no GUI windows are opened automaticly. This allows wag-profiles.sh to also be used as a function library as it is in net-setup.sh.

net-set.sh instead directly calls showProfileWindw() when the user clicks on the wireless buton from within the "Configure Network Interface" window.


Turn net-setup.sh into a function library by s243a (2 Sept 2016)

source

via s243a's github


net-setup.sh at s243a's pearltrees

Categories

CategoryNetworkWizard
There are no comments on this page.
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki