Integrated network setup

Puppy has a lot of network setup tools. Each has a specialization or was developed by a certain person or group. We have tools for PPPOE and GPRS modems. Pupdial for analog and 3G modem dialup. A "classic" Network Wizard originally developed by me (used up to Puppy 403, but I have kept it as a backup in recent puppies). Dougal's enhanced Network Wizard, which has been the main guy in recent puppies. Awhile back there was HairyWill's Pwireless replaced in recent Puppy builds with Jemimah's Pwireless2.

I recently posted that I have integrated Pwireless2 into Puppy:
http://bkhome.org/blog/?viewDetailed=01403

For the last couple of days, back home after my holiday in Melbourne, I have been working on integration of all the tools. It was confusing -- some of the tools had entries in the Network menu, some didn't -- some had entries in the Setup menu, some no direct menu entry point.

I have set it up so there is only one entry point for all the tools, the 'Internet Connection Wizard', that is run either by clicking the 'connect' icon or via the 'setup' icon on the desktop. There is only one menu entry, in the 'Setup' menu, that runs the 'Internet Connection Wizard'.

In the Wizard, there is a button labeled 'Internet by wired or wireless LAN' and this now brings up a sub-window that offers a choice of Jemimah's Pwireless2, my classic Network Wizard, or Dougal's Network Wizard.

Note that the Internet Connection Wizard is script /usr/sbin/connectwizard, and the sub-window introduced above is script /usr/sbin/connectwizard_2nd.

Whichever network tool is used to successfully connect is then able to be set as the default tool, in /usr/local/bin/defaultconnect.
The 'connect' icon on the desktop is a chameleon that reads that file and behaves accordingly.

The boot script /etc/rc.d/rc.sysinit also reads /usr/local/bin/defaultconnect and makes sure that the correct network connection method is used.

Next thing I am going to do, this afternoon, is look at what rerwin has done to improve analog and 3G modems. I posted about this recently:
http://bkhome.org/blog/?viewDetailed=01390


Posted on 28 Feb 2010, 8:49


Comments:

Posted on 28 Feb 2010, 23:59 by adi
waiting
I bought two 3g modems, one works with ubuntu and another with windows but I didn't discover how they work with puppy. I hope to buy a rooter for 3g modem in order to connect puppy by lan but still hope to connect directly!


Posted on 29 Feb 2010, 7:57 by f00-
bd @work
Thank you, Barry - menus, categorization and such needs a firm hand on the tiller (been struggling with another wm on q006 and it's been 'educational'). "one entry point" sounds almost like the verse about the Ring in Tolkein's book to me at this point in time.


Posted on 1 Mar 2010, 12:35 by hairywill
plinej wrote pwireless
Awhile back there was HairyWill's Pwireless
Not me, I think it was plinej


Posted on 1 Mar 2010, 14:30 by BarryK
Pwireless
hairywill,
Thanks for the correction. I must have been thinking of Pnethood.



Posted on 1 Mar 2010, 14:35 by BarryK
More authors
A bit more acknowledgement:

I made the very rough GUI for PPPOE,
Lloyd Standish created the GPRS modem tool,
I created the original Pupdial, now vastly enhanced by rerwin (Richard) -- rerwin also expanded it to handle 3G modems.



Posted on 2 Mar 2010, 15:24 by GreatnessguruInMI
Setting mobile phones to usbserial
Could there be a desktop icon or other
convenient means to have mobile phones in
modem mode, connected with USB cable, and
for which "D: ... Cls=ff(vend.) ...",
use kernel module "usbserial"?

Please see:
Mot VE465: connected using usbserial
http://bkhome.org/blog/?viewDetailed=01390

Some Googling suggests a lot of mobile phones can be made to work in modem mode with usbserial.

Thank you,
Eddie Maddox



Posted on 2 Mar 2010, 18:25 by BarryK
Mobile phones
rerwin has done a lot of work on using mobile phones as 3G modems, with testing and feedback from others.

This works via Pupdial.

When Pupdial is set as the default connection method, the 'connect' icon on the desktop will launch it -- this behaviour is improved in the upcoming Quirky 007.

See the forum for a very long thread where this development is going on.