Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Mon 26 Jun 2017, 03:18
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Network
network_connect_update-20170612
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [6 Posts]  
Author Message
rerwin


Joined: 24 Aug 2005
Posts: 1796
Location: Maine, USA

PostPosted: Wed 26 Apr 2017, 17:33    Post subject:  network_connect_update-20170612
Subject description: Replaces net_setup packages, requires frisbee-1.4.5+ & pgprs-2.0.2+
 

Package network_connect_update-20170418 is an update of shinobar's net-setup-20140422 and my net_setup-20170325 to make them compatible with woofCE, plus fixes to Simple Network Setup and refinements to the network aspect of the reboot process.

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 unreliabilty. 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).

Because I plan to submit this solution to woofCE, 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.5 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. The new version of frisbee (1.4.5) is here:
http://www.murga-linux.com/puppy/viewtopic.php?p=898555#898555
The new version of pgprs (2.0.2) is here:
http://www.murga-linux.com/puppy/viewtopic.php?p=883858#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/viewtopic.php?p=954984#954984

To install the complete upgrade, these packages are required:
    network_connect_update-20170616
    simple_network_setup-20170612
    network_wizard-20170613
    frisbee-1.4.5 - from above link
    pgprs-2.0.2 (unless omitted entirely) - from above link
As before, the appropriate "patch" package is needed for tahr-6.0.5 and xenialpup64-7.0.7.

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).
Richard
network_sysinit_patch-tahrpups_6.0.5-20170625.pet
Description  Tahrpup[64] 6.0.5 system initialization adapted for network_connect_update --
Includes woofCE report-video for new quicksetup.
pet

 Download 
Filename  network_sysinit_patch-tahrpups_6.0.5-20170625.pet 
Filesize  13.79 KB 
Downloaded  1 Time(s) 
simple_network_setup-20170620.pet
Description  Barry's Simple Network Setup extracted from Puppy for modularization,
with conditional interface to network_connect_update, now with a sorted
network list
pet

 Download 
Filename  simple_network_setup-20170620.pet 
Filesize  17.47 KB 
Downloaded  8 Time(s) 
network_wizard-20170623.pet
Description  Dougal's Network Wizard extracted from Puppy for modularization,
with conditional interface to network_connect_update, now with a sorted
network list
pet

 Download 
Filename  network_wizard-20170623.pet 
Filesize  54.84 KB 
Downloaded  9 Time(s) 
network_connect_update-20170616.pet
Description  ConnectWizard upgrade for tahrpups, xenialpups & slacko pups
(or any pup already using script network_default_connect in rc.sysinit)
Requires frisbee upgrade to version 1.4.5, to use CRD function.
pet

 Download 
Filename  network_connect_update-20170616.pet 
Filesize  26.73 KB 
Downloaded  20 Time(s) 
quicksetup-20170612.pet
Description  Options at first startup. Now sets ID of country where WiFi being used.
Option appears only if package 'crda' is installed (from PPM or repo).
Needs network_connect_update-20170612, frisbee-1.4.5+, NetWiz
20170613+ & SNS 20170612+, to use the feature
pet

 Download 
Filename  quicksetup-20170612.pet 
Filesize  27.19 KB 
Downloaded  18 Time(s) 
network_sysinit_patch-xenialpup64_7.0.7-20170328.pet
Description  Xenialpup64 7.0.7 system initialization adapted for network_connect_update
pet

 Download 
Filename  network_sysinit_patch-xenialpup64_7.0.7-20170328.pet 
Filesize  11.87 KB 
Downloaded  30 Time(s) 

Last edited by rerwin on Yesterday, at 17:17; edited 15 times in total
Back to top
View user's profile Send private message 
april


Joined: 14 Sep 2013
Posts: 931
Location: Burning up on the Great Barrier Reef (Mostly Dead or Dying(me too))

PostPosted: Sat 06 May 2017, 03:20    Post subject:  

Anything for precise 5.7.1?
Back to top
View user's profile Send private message Yahoo Messenger 
rerwin


Joined: 24 Aug 2005
Posts: 1796
Location: Maine, USA

PostPosted: Wed 17 May 2017, 19:36    Post subject: network_connect_update for Lucid and Precise pups  

april wrote:
Anything for precise 5.7.1?
Now, there is! Thanks for telling me of your interest in a version for Precise.

A new version of network_connect_update for woofCE puppies, 20170515, is in the first message of this thread.

Attached here are standalone network_connect_update packages for lucid 5.2.8.7 and Precise 5.7.1. Unlike the woofCE-pup network_connect_update package, these include the content of the simple_network_setup and network_wizard packages.

Since I did not test extensively with Precise (5.7.1 retro), please consider the precise package as beta level. The only difference between these packages is the version of the rc.sysinit initialization script.

UPDATE 6/24/17:
The Lucid network_wizard package is upgraded with support for WiFi country regulation (CRD) -- allowing use of channels 12-14 where legal and blocking them where illegal -- and 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. To activate the CRD option, install the 'crda' and 'iw' packages from ubuntu-main, with PPM. But they are not required otherwise. Frisbee-1.4.6 also supports these new features.

UPDATE 6/25/17:
The Precise network wizard package is now also upgraded with the same improvements as in the Lucid package.
Richard
network_connect_update-20170625-precise.pet
Description  ConnectWizard upgrade for Precise 5.7.1 installations
Requires frisbee 1.4.6 and pgprs 2.0.2 packages.
pet

 Download 
Filename  network_connect_update-20170625-precise.pet 
Filesize  180.11 KB 
Downloaded  0 Time(s) 
network_connect_update-20170624-lucid.pet
Description  ConnectWizard upgrade for Lucid 5.2.8.7 installations
Requires frisbee 1.4.6 and pgprs 2.0.2 packages.
For WiFi "CRD", also requires 'crda' and 'iw' from ubuntu_main repo (PPM).
pet

 Download 
Filename  network_connect_update-20170624-lucid.pet 
Filesize  161.34 KB 
Downloaded  4 Time(s) 

Last edited by rerwin on Yesterday, at 22:34; edited 2 times in total
Back to top
View user's profile Send private message 
rerwin


Joined: 24 Aug 2005
Posts: 1796
Location: Maine, USA

PostPosted: Thu 15 Jun 2017, 15:34    Post subject: Support for WiFi channels 12-14 where appropriate  

I have updated the network_connect_update, SNS, NetWiz and Frisbee packages and added a package for quicksetup, to allow use of WiFi channels 12-14 in countries where that is legal and a wifi device supports it. See the "UPDATE 6/15/2017" addition to the first message of this thread for details.
Back to top
View user's profile Send private message 
rerwin


Joined: 24 Aug 2005
Posts: 1796
Location: Maine, USA

PostPosted: Sat 24 Jun 2017, 18:06    Post subject: Sorted WiFi network listings  

I have updated the SNS, NetWiz and Frisbee (in its own forum thread) packages to present their WiFi network listings sorted by signal strength, with the strongest listed first. This was done in response to a request for it. If anyone objects to that decision, please tell me, here.

EDIT: The Lucid and Precise network_connect_update packages (above) now support this as well as the WiFi country upgrade.
Richard

Last edited by rerwin on Yesterday, at 22:36; edited 1 time in total
Back to top
View user's profile Send private message 
rerwin


Joined: 24 Aug 2005
Posts: 1796
Location: Maine, USA

PostPosted: Yesterday, at 17:22    Post subject:  

To support the new version of quicksetup, with the CRD country WiFi regulation option, I have added the report-video script to the tahrpups network_connect patch package. Tahrpup 6.0.5 users, please install the new version of the patch to avoid the distorted quicksetup window.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [6 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Network
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0987s ][ Queries: 15 (0.0052s) ][ GZIP on ]