site  contact  subhomenews

Integrated network setup

February 28, 2010 — BarryK
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/archive/blog2/201002/pwireless2-now-in-quirky.html

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/archive/blog2/201002/improved-modem-scripts.html

Comments

waiting


plinej wrote pwireless
Username: hairywill
"[i]Awhile back there was HairyWill's Pwireless[/i] Not me, I think it was plinej

Pwireless
Username: BarryK
"hairywill, Thanks for the correction. I must have been thinking of Pnethood.

More authors
Username: BarryK
"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.

Setting mobile phones to usbserial
Username: GreatnessguruInMI
"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/archive/blog2/201002/improved-modem-scripts.html Some Googling suggests a lot of mobile phones can be made to work in modem mode with usbserial. Thank you, Eddie Maddox

Mobile phones
Username: BarryK
"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.


Tags: woof