Internet Connection Wizard

This is what runs when you click the 'connect' icon on the desktop.

I am trying to add more useful functionality to it, without cluttering it up too much. Here is the latest:

(note, if you read this blog sometime in the future, this image may have got updated).

I still don't know if the new Pppoeconf package works. I uploaded a tarball, announced here:
http://puppylinux.com/blog/?viewDetailed=00238
...but nobody has.
Never mind, it will be in 4.1alpha5.
The thing is, even if it works, I don't know how it saves its settings and gets re-connected at future boots. Will have to sort that out. Perhaps in the above picture, there will need to be a radiobutton for PPPOE-Connect.

For the GPRS entries in the picture, they only appear if Puppy has found suitable hardware.

One thing that may need more work. I kept the wording minimal, but "Connect to Internet by network or wireless LAN" may not be adequate. Someone who just plugs their Ethernet cable into a ADSL modem or a modem/router, or has a wireless modem/router, may not realise that they should click that particular button.

Posted on 26 Jul 2008, 18:54


Comments:

Posted on 26 Jul 2008, 20:01 by ANOSage
Internet Connection
The whole of the UK uses PPPoA (asynchronous transfer mode). The appearance of PPPoE certainly creates a lot of confusion over here. Certainly, I am no network expert, but there are folks on the Forum who are such. If it's completeness and tidiness you're after, then some text and additions may be in order, not that PPPoA causes any problems, locally, provided modem/routers are compliant and not smuggled in from foreign parts!


Posted on 26 Jul 2008, 22:46 by linuxcbon
Simplify the Internet GUI
Please simplify, you could write like this :

Connect to internet by :
- Wired or WLAN
- PPOE
- Dialup analog modem
- GPRS modem

And you could remove the desktop connect icon choice and make always start the wizard. It's easier for the users.

Thanks in advance.


Posted on 26 Jul 2008, 23:22 by dogone
Internet connection
Perhaps this should open to a "simple" dialog offering just the connection options detected, sans jargon. One of Barry's excellent wizards could take the newbie from there.

An alternative "expert" dialog could take the user to the nastier stuff.



Posted on 27 Jul 2008, 6:20 by SouthPaws
Labels
Hey Barry, I thought of a similar naming/labeling scheme to linuxcbon's...and also you could reduce redundancy...

The Wizard already informs that it's for internet connections by its name...'Internet Connection Wizard', so there's no need to repeat that...

The second label could be...'Connect via:' followed by your list.


Posted on 27 Jul 2008, 7:00 by dogle
GUI terminology
Wonderful stuff but I agree your last paragraph - really no need to dumb things down too much - but many newbies would be somewhat daunted by unexplained acronyms like GPRS with which they are probably unfamiliar.


Posted on 27 Jul 2008, 8:03 by dogone
GUI terminology
dogle,
Hate to admit it, but I actually had to "wikipedia GPRS" 8-}


Posted on 29 Jul 2008, 10:03 by lstandish
re GPRS
Hi Barry,
On the GPRS connection entry, I have a couple of suggestions. (I may not understand what you are doing, and you may be way ahead of me on this - if so please pardon.)

GPRS Internet connection is *usually* going to be done using a GSM cell phone's built-in GPRS modem. Such a connection would of course not use the Multitech driver-firmware package I put together.

GPRS connection via a cell telephone modem to Linux usually, I think, needs to use a bluetooth radio, due to the good Linux support using Bluez with rfcomm. I doubt there are Linux drivers for USB connection of most cell-phone-based GPRS modems, but I may be wrong.

The Multitech GPRS modem I use is one of the very few GPRS modems that is not embedded in a GSM cell phone.

The end result when any of these types of GPRS modems is connected is a serial device at one of these locations:
/dev/ttyUSB0 (USB connected modem)
/dev/ttyUB0 (bluetooth serial port one)
/dev/ttyS0 (serial port connection)

All of these behave exactly like a regular serial connection modem. However, since they are GPRS, they usually require that a cell phone unlocking PIN be sent (once) before connection is allowed. That is the step that makes it difficult to use wvdial-based dialers. I have always had to use special ppp connection scripts.

I suggest you do not make your GPRS entry specific to the Multitech USB connection modem, but rather to ANY GPRS modem. Let it be called "GPRS Connect", then, and let there be a "Setup GPRS..." button in the "Tools" section of the dialog that calls my GPRS gtkdialog'd setup.

That GPRS setup script needs to be altered to let it work with *any* type of GPRS modem. To do that it only needs to accept the name of the device file, and to write that name into /etc/ppp/peers/gprsmm (one of my ppp connection config files). I promise to modify the script and get it to you soon. (Can you increase the word limit on comments here?)


Posted on 29 Jul 2008, 12:33 by BarryK
Re: GPRS
Lloyd,
I get the gist of what you mean. Ok, I'll make sure it is always there in the menu, and the setup script always available.


Posted on 29 Jul 2008, 20:09 by BarryK
Re: GPRS setup
Lloyd,
Your setup script is called 'mt-gprs-setup' and that is what the button in the Internet Connection Wizard is calling.

However, I presume that your more generic script will be something different, like 'gprs-setup'?

Maybe I should change the button to launch /usr/bin/gprs-setup, in anticipation. Maybe I could create a dummy gprs-setup that launches mt-gprs-setup if it exists (if it was installed when suitable hardware detected), otherwise just puts up a message.


Posted on 30 Jul 2008, 3:43 by lstandish
re: GPRS
Hello Barry,
Yes, that's what I meant: have your Internet Connection Wizard button call gprs-setup (instead of MT-GPRS-setup). GPRS-setup will be a generic GPRS setup script. Likewise, 'MT-GPRS-connect' should become 'GPRS-connect'.

If these are in Puppy they would not need to be provided by the Multitech driver firmware tarball, or any other future GPRS driver package. So we could get rid of MT-GPRS-connect entirely.

I'll provide you with the generic versions of these very soon; the changes are trivial.

Puppy will be the only Linux OS with built-in generic support (with GUI wizard and setup) for GPRS Internet connection! One important thing to do will be to put together a pet to make bluetooth connection to the GPRS modem easy. I think Puppy must already have the "bluez" and "rfcomm" drivers, but I'm not sure, and I'm not running Puppy now to check. (I primarily run Debian Etch. That may change when I work out the problems with compiling gnucash for Puppy. It's not due to a Puppy problem, but rather I think to buggy gnucash dependencies.)