Wiki source for net-setup.sh


Show raw source

net-setup.sh is the script to launch [[http://puppylinux.org/wikka/network_wizard|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.

== related threads ==

[[http://murga-linux.com/puppy/viewtopic.php?t=108463|Turn net-setup.sh into a function library by s243a (2 Sept 2016)]]

== source ==

[[https://github.com/s243a/test/blob/17cb303aa846ffd0e983d108d3c2bdca6872eb6e/root/Subjects/sci/phy/tech/tech/comp/soft/op/POSIX/dist/light/medium/puppy/file/root/usr/sbin/net-setup.sh|via s243a's github]]

== External Links ==

[[http://www.pearltrees.com/s243a/net-setup-usr-sbin-puppylinux/id16402846|net-setup.sh at s243a's pearltrees]]

== Categories ==

CategoryNetworkWizard
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki