Currently, when a default manager is in effect, all network operations use that manager regardless of whether another manager is used to start a connection, giving the appearance of unreliability. Without a default, when both Simple Network Setup (SNS) and Network Wizard (net-setup.sh) have been used, rebooting always starts SNS even if NetWiz was last used to start a connection. This generally goes unnoticed because they are both configured for the same connection. But SNS appears to sometimes fail to keep its connection active. If NetWiz is used to get around that problem, it sometimes fails to do so because SNS is used at boot-up time.
Another problem is that when switching between connection managers, the previously used manager's connection may not be disconnected, leaving the user wondering what's in charge.
To resolve these, the ConnectWizard now retains the name of the last connection manager used (in /root/.connectwizardrc), and uses that to identify the current connection manager, instead of the default connect value (in /usr/local/bin/defaultconnect). Whenever a connection manager is changed, the active manager is disconnected when the new one starts.
This clarification of ConnectWizard operation means that a user can specify a default manager but run other managers from the ConnectWizard, then click the Connect button to return to the default manager.
Although the package is based on the old "net-setup" package, the major changes are to the included supporting puppy architecture components. The package name is changed because it includes a fix to SNS to address intermittant failures to start.
This package is appropriate for 32-bit tahrpup, slacko, xenialpup and pups generated by woofCE. The package should also work with tahrpup64 6.0.6, xenialpup64 7.0.7 and slacko64. Separate packages are provided for lucid 5.2.8.7 and Precise 5.7.1 (not tested in older Lucids, Wary or older Precises).
Please report any unexpected behavior by ConnectWizard and and boot-up starting of a network.
Note that an additional "network_sysinit_patch" package is required for tahrpup 6.0.5 and xenialpup64 7.0.7, but not later tahr/xenial releases. (The "patches" use the 'network_default_connect' script instead of internal network startup code.)
Note: This package depends upon having the current versions of frisbee and pgprs if they are included in a pup. Those versions are frisbee-1.4.9 [EDIT] and pgprs-2.0.2.
The frisbee and pgprs versions in older pups are incompatible. But either can be absent, just not an old version. (EDIT) The newest version of frisbee is here:
http://www.murga-linux.com/puppy/viewto ... 555#898555
The newest version of pgprs is here:
http://www.murga-linux.com/puppy/viewto ... 858#883858
ConnectWizard can be used immediately after installation of the appropriate upgrade packages, without rebooting.
Because I am unable to test this with tahrpup64 6.0.6 and xenialpup64 7.0.8.x, please consider this as beta-level for those releases. The 32-bit versions of those pups tested successfully.
UPDATE 5/17/17:
I have updated the above introduction to reflect my upgrade of the network_connect_update package from 20170418 to 20170515. The upgrade improves the switching between network managers (SNS, frisbee, network wizard), to display only one manager if other dialogs are displaying. I have also broken out simple_network_setup and network_wizard into their own packages, to allow developers to leave out any of the three network managers from a distro.
To reduce confusion as to which packages are needed for a particular case, I have limited the attachments in this message to those needed for woofCE-based distros and post versions of network_connect_update for lucid and precise pups in a separate message, here:
http://www.murga-linux.com/puppy/viewto ... 984#954984
To install the complete upgrade, these packages are required:
[EDIT (11/15/18): List removed, see list in UPDATE 11/15/18.]
UPDATE 5/20/17:
I re-uploaded network_connect_update, after download #2, with a minor change to the pinstall script, to correct the "current executable' so that an ethernet connection is detected and used without the need to use the connectwizard, in case an old, invalid setting is left over from the previous version of the network_connect_update package.
UPDATE 6/15/17:
Uploaded new versions of network_connect_update, network_wizard and simple_network_setup (and frisbee, separately), to add the capability to use WiFi channels 12-14 with devices and countries that allow use of those channels. This is an adaptation of Barry's implementation in the quirky/easy distros. To benefit from the new option, the deb package, crda, must also be installed (usually with PPM). The option to set the country of operation will appear in the quicksetup dialog only if the crda package is installed.
Although you may get channels 12-14 to work by installing only quicksetup and crda, the changes to network_connect_update, SNS, NetWiz & Frisbee handle a possible delay in those channels being enabled at boot-up time.
UPDATE 6/16/17:
Re-uploaded the network_connect_update package after download #3 to remove an old copy of /etc/rc.d/rc.network. The correct version is in the network_wizard package. If you installed network_connect_update-20170612 AFTER installing network_wizard, you are using the wrong version of rc.network -- simply re-install network_wizard to correct the problem. Otherwise, there is no problem because the correct version overwrote the old one when network_wizard was installed.
UPDATE 6/24/17:
The network_wizard and simple_network_setup packages are upgraded to show the available wireless networks listed by signal strength, strongest first. Also, network_wizard no longer shows the irrelevant "cell" number for each network.
UPDATE 6/25/17:
Updated the tahrpups network_connect patch package to include the woofCE version of report-video, to avoid an excessively tall quicksetup window (4 copies of the full report).
UPDATE 7/27/17:
Uploaded a new version of network_connect_update to use quirky's logic related to starting a default ethernet connection without using part of network_wizard (rc.network). Disconnecting with the tray icon also avoids using rc.network. This allows developers to omit the new network_wizard package from a distro without impacting the default ethernet connection (one not initiated by a network manager).
Also uploaded a new network_icon_patch-quirky package to supply 8 required icons already in tahrpup and xenialpup, but not in quirky 8.2. Installation of the upgrade packages (network_connect_update, simple_network_setup, network_wizard, and frisbee) plus network_icon_patch-quirky seems to work in quirky 8.2. Pgprs-2.0.2 and the quicksetup update are already in 8.2.
UPDATE 7/28/17:
Re-uploaded network_connect_update after download #3, to add partial support for PeasyWiFi. This should avoid breaking version 4.3.
UPDATE 7/29/17:
Re-uploaded network_connect_update after download #4 to add the capability to reconnect with PeasyWiFi from the networking tray icon.
UPDATE 12/29/17:
Uploaded new version of simple_network_setup package that reverts the method of checking for connection success to match that of the quirkys but improves detection of some slower wifi devices (assisted by foxpup).
UPDATE 2/26/18:
Uploaded new versions of network_connect_update and simple_network_setup package to simplify the method of checking for connection success to match recent quirky updates. Extended peasywifi support to PWF 4.5 and added externally accessible disconnect function.
UPDATE 3/22/18:
Uploaded new version of simple_network_setup package to handle module names containing hyphens, so that they are detected with lsmod.
UPDATE 9/30/18:
Uploaded new versions of network_connect_update, simple_network_setup and network wizard. They move the network wizard components to their own /usr/local/... directory, like SNS and frisbee. Support for peasywifi is extended so that it is available in the Connect Wizard and shuts down correctly, making it possible to switch among network managers including peasywifi. SNS should now handle large numbers of wireless networks, in response to a reported problem. These versions will match those in woofCE. All 3 should be installed together.
UPDATE 11/12/18:
Uploaded simple_network_setup-2.1, which has new boot-up logic in rc.network that dramatically speeds up the initial connection of a wireless network in an environment containing many networks. If multiple "hits" are found, the network with the strongest signal is selected for connection. Thanks to Terry H for calling attention to the slowness problem and assistance with diagnosing and testing of the fix.
UPDATE 11/15/18:
Uploaded the final version of SNS 2.1, functionally identical to the beta but with minor code cleanup. The set of current packages that are part of the upgrade:
- network_connect_update-20180930
simple_network_setup-2.1 [replaced by 2.2.1]
network_wizard-2.0 [replaced by 2.1.1]
frisbee-1.4.9 (unless omitted entirely) - from above link
pgprs-2.0.2 (unless omitted entirely) - from above link
quicksetup-20170612 (optional, to use the CRD option - not needed for xenialpup 7.5)
UPDATE 2/21/19:
Uploaded SNS version 2.2 and network wizard version 2.1, bug fixes and refinements.
UPDATE 2/25/19:
Uploaded SNS version 2.2.1 and network wizard version 2.1.1, bug fixes and refinements.
UPDATE 6/10/19:
Uploaded SNS version 2.3. Corrects waiting for module loading (b43); restores waiting for connections to complete.
UPDATE 4/9/20:
Uploaded network_connect_update-20190309 with updates to most of its components.
UPDATE 4/10/20:
Replaced 20190309 with network_connect_update-20200410, which contains only changes subsequent to 20190930 package, 5 scripts copied from woofCE. The new package is a beta because tracing is activated for initialization scripts that reconnect automatically.
UPDATE 4/11/20:
Replaced network_wizard with version 2.1.2, which is the same as 2.1.1 except that /etc/network-wizard/network/interfaces/EMPTYMARKER has been removed. It prevented a default of eth0 being detected when no network manager has been set up.
UPDATE 4/13/20:
Uploaded network_connect_update-20200412 and SNS 2.3.1 and replaced NetWiz 2.1.2 (after download #1), all with the wait maximum of 15 seconds for wired ethernet connections. For "future proofing", the components of network_connect_update have the deprecated 'ifconfig' and 'iwconfig' commands replaced by their 'ip' and 'iw' equivalents.
UPDATE 4/19/20:
Uploaded network_connect_update-20200416, to match the version submitted to woofCE. There are no functional differences from 20200412 version, only a minor coding refinement.
UPDATE 4/28/20:
Uploaded network_connect_update-20200427, to correct networkdisconnect's handling of SNS so that dhcpcd gets terminated. Previously, after an SNS connection was disconnected it could not be reconnected. This did not appear with my multicore processor due to a timing issue, but would when a delay was inserted.
UPDATE 5/22/20:
Uploaded SNS version 2.3.2 to correct damage to the Error window that causes it to not display. Corrected problem of version not showing in main window.
UPDATE 7/6/20:
Replaced network_wizard with version 2.1.3, which is the same as 2.1.2 except that /etc/network-wizard/network/wireless/interfaces/EMPTYMARKER has been removed. It did not cause any problems but should be removed. This was uploaded after download #75 and need not be installed. The file can simply be removed manually from an installation, for neatness.
Richard