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 Wed 18 Oct 2017, 03:33
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Network
network_connect_update-20170729
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [10 Posts]  
Author Message
rerwin


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

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

Package network_connect_update-20170416 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).

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.6 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 new version of frisbee (1.4.6) 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-20170729 (EDIT)
    simple_network_setup-20170620 (EDIT)
    network_wizard-20170623 (EDIT)
    frisbee-1.4.6 - from above link (EDIT)
    pgprs-2.0.2 (unless omitted entirely) - from above link
    quicksetup-20170612 (ADDED: optional, to use the CRD option)
As before, the appropriate "patch" package is needed for tahr-6.0.5, and xenialpup64-7.0.7 (EDIT) -- and now quirky-8.2+.

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.
Richard
network_connect_update-20170729.pet
Description  Connect Wizard upgrade of network manager controls and interactions.
Requires frisbee-1.4.5+, pgprs-2.0.2+, simple_network_setup, network_wizard &
quicksetup (except for quirky) packages. Supports PeasyWiFi.
pet

 Download 
Filename  network_connect_update-20170729.pet 
Filesize  27.07 KB 
Downloaded  33 Time(s) 
network_icon_patch-quirky_8.2-20170724.pet
Description  Icons for connectwizard and simple_network_setup, for quirky-8.2+
pet

 Download 
Filename  network_icon_patch-quirky_8.2-20170724.pet 
Filesize  1.59 KB 
Downloaded  29 Time(s) 
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  39 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  47 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  44 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  49 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  62 Time(s) 

Last edited by rerwin on Sat 29 Jul 2017, 12:39; edited 27 times in total
Back to top
View user's profile Send private message 
april


Joined: 14 Sep 2013
Posts: 986
Location: Off Lizard Island for a bit

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: 1837
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  31 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' (ubuntu_main) and 'iw' (ubuntu-universe).
pet

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

Last edited by rerwin on Thu 27 Jul 2017, 18:34; edited 3 times in total
Back to top
View user's profile Send private message 
rerwin


Joined: 24 Aug 2005
Posts: 1837
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: 1837
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 Sun 25 Jun 2017, 22:36; edited 1 time in total
Back to top
View user's profile Send private message 
rerwin


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

PostPosted: Sun 25 Jun 2017, 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 
BarryK
Puppy Master


Joined: 09 May 2005
Posts: 8280
Location: Perth, Western Australia

PostPosted: Sat 08 Jul 2017, 19:51    Post subject:  

rerwin,
Hi, I have started to look at your latest work. Have posted progress reports to my blog:

http://barryk.org/news/?viewDetailed=00581

http://barryk.org/news/?viewDetailed=00582

_________________
http://barryk.org/news/
Back to top
View user's profile Send private message Visit poster's website 
tallboy


Joined: 21 Sep 2010
Posts: 800
Location: Oslo, Norway

PostPosted: Wed 19 Jul 2017, 21:45    Post subject:  

network_connect_update-20170624-lucid.pet Description wrote:
For WiFi "CRD", also requires 'crda' and 'iw' from ubuntu_main repo (PPM).

I found wireless-crda_1.12_i386.deb in the updated PPM, but is 'iw' the same as libiw30_30?

tallboy

_________________
True freedom is a live Puppy on a multisession CD/DVD.
Back to top
View user's profile Send private message 
rerwin


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

PostPosted: Thu 27 Jul 2017, 18:29    Post subject:  

Tallboy,
I just now noticed your above message. No, the correct package is iw-0.9.19. But it is in repo ubuntu-lucid-universe. I have changed the instruction.

Thanks for bringing the error to my attention.

Last edited by rerwin on Thu 27 Jul 2017, 20:02; edited 1 time in total
Back to top
View user's profile Send private message 
rerwin


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

PostPosted: Thu 27 Jul 2017, 20:00    Post subject:  

I have uploaded network_connect_update-20170727, containing internal changes that complete the separation of the Network Wizard from the puppy architecture and allow developers to omit the network_wizard package from a distro without impact. It utilizes the rc.network_eth script from quirky 8.x. There is no noticeable functional change.

I also uploaded a "patch" package for quirky 8.2 and later, that provides 8 icons needed but not in quirky. The set of packages seems to work in quirky 8.2.

EDIT: I re-uploaded network_connect_update as version 20170728, to make it compatible with PeasyWiFi 4.3, so that rcrsn51 does not have to change his workarounds that keep up with my recent networking changes.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [10 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.0589s ][ Queries: 12 (0.0052s) ][ GZIP on ]