Posts: 16
Digital_Resistance
Joined: 19 Apr 2010
#1
Hi,

I had no problems with the included Gnome PPP in the previous release of antiX, 8.2*; I made countless viable, stable connections to several different ISPs, on two different computers with two different modems (PCMCIA as well as external USB).

But with the current 8.5 release, GPPP disconnects immediatedly after connecting, with the message:
Gnome PPP wrote:The PPP daemon has died: pppd Options Error (exit code=2)
Yet, GPPP works fine for me in a different distro (PCLinuxOS 2010.1 Gnome) and still works fine in antiX 8.2.

What could be going-on here?

Note that in all of the above cases, the computer, ISP, modem, telephone line and even telephone cord (RJ-11) that I was using were the same.

*In fact, antiX 8.2 was one of the very first GNU/Linux distros I tried. It was one of very few that I was able to use at all on my ten-year-old Dell Latitude, and of those, the only one that came with a dial-up GUI.
Posts: 1,062
Dave
Joined: 20 Jan 2010
#2
had the same problem when using it myself, I do not use it anymore as I was able to get a service upgrade. Fix this problem you must run gnome-ppp as root. To do this you can use the run option, typing gnome-ppp and then checking off run as root. then press ok it will prompt you for your root password, enter it and press ok. add all your information and it should stay connected.

to make this permanent in the menu / toolbar, open the control center and click edit icewm settings, under the tab that reads menu find the part that says gnome-ppp and add gksu in front of that, copy that line to the toolbar tab, placing it were you wish and it will always ask for the root password and therefor stay connected
Posts: 1,228
secipolla
Joined: 15 Jun 2008
#3
Or edit the Control center for it to launch GNOME-PPP as root:

Code: Select all

gksu geany /usr/local/bin/antixcc.sh
Then edit line 192 and leave it like

Code: Select all

          <action>gksu gnome-ppp &</action>
Posts: 16
Digital_Resistance
Joined: 19 Apr 2010
#4
Dave wrote:Fix this problem you must run gnome-ppp as root. To do this you can use the run option, typing gnome-ppp and then checking off run as root. then press ok it will prompt you for your root password, enter it and press ok. add all your information and it should stay connected.
That did it!

Thank you so much.
to make this permanent in the menu / toolbar, open the control center and click edit icewm settings, under the tab that reads menu
Thus far I was okay but at
find the part that says gnome-ppp and add gksu in front of that,


I got lost.

I do appreciate you (as well as secipolla) providing the instructions and will come back should I decide to pursue this further.

For now, however, I haven't been using antiX regularly and manually using the run option as you instructed each time I connect is an adequate solution for me when I do.

I hope that both posts will prove to be helpful to others.
.......

I must ask: Is this a bug of some sort?

I mean, why should any of this be necessary in 8.5 when it wasn't in 8.2?
Posts: 1,062
Dave
Joined: 20 Jan 2010
#5
Under the menu tab there should be a line that would say gnome-ppp if it is not there for you I would suggest placing it in there under the network section

Code: Select all

menu"Network" /usr/share/icons/gTangish-2.0a1/32x32/categories/applications-internet.png {
        prog"Web Browser" /usr/share/pixmaps/iceape.xpm /usr/bin/iceape
        prog"Irssi Chat" /usr/share/icons/gTangish-2.0a1/32x32/apps/xchat.png rxvt-unicode -tr -sh 65 -fg white -T"irssi" -e irssi
        prog"rTorrent" /usr/share/icons/gTangish-2.0a1/32x32/apps/deluge.png rxvt-unicode -tr -sh 65 -fg white -T"rtorrent" -e rtorrent
        prog"Alpine Mail" /usr/share/icons/gTangish-2.0a1/32x32/apps/internet-mail.png roxterm -e alpine
        prog"RSS/Atom Reader" /usr/share/icons/gTangish-2.0a1/32x32/apps/internet-news-reader.png rxvt-unicode -tr -sh 65 -fg white -T"newsbeuter" -e newsbeuter -r
        prog"Browser links2" - rxvt-unicode -tr -sh 65 -fg LightGoldenrod1 -T"links2" -e links2 http://antiX.mepis.com
        prog"Gnome PPP" /usr/share/pixmaps/gnome-ppp.xmp gksu gnome-ppp
    }
Another Spot that i like to have this in for quick access is on the toolbar to so this copy and paste the line

Code: Select all

prog"Gnome PPP" /usr/share/pixmaps/gnome-ppp.xmp gnome-ppp
to the toolbar file and place it were you wish

Code: Select all

### System/settings applications
prog"Gnome PPP" /usr/share/pixmaps/gnome-ppp.xmp gksu gnome-ppp
prog"Volume" /usr/share/icons/gTangish-2.0a1/32x32/apps/multimedia-volume-control.png absvolume
prog"Control Center" /usr/share/icons/gTangish-2.0a1/32x32/categories/preferences-desktop.png antixcc.sh
prog"Quit" /usr/share/icons/gTangish-2.0a1/32x32/actions/system-log-out.png exitantix.sh
Once this is done it is a good idea to change it in the control center I just never bothered because it is on my toolbar. To do so open geany as root, and open the file ( /usr/local/bin/antixcc.sh ) then in this file there is a line that reads

Code: Select all

 <action>gnome-ppp &</action> 
add the gksu in front of gnome-ppp just as secipolla had said above. Log out and log back in to ensure that the changes are made.
Posts: 16
Digital_Resistance
Joined: 19 Apr 2010
#6
Has this bug been officially noted?
anticapitalista
Posts: 5,956
Site Admin
Joined: 11 Sep 2007
#7
Er, yes, but forgotten __{{emoticon}}__

Thanks for reminding me. In antiX-M11 gppp is set to run without root permission. Hopefully it will work as it should.
Posts: 16
Digital_Resistance
Joined: 19 Apr 2010
#8
Thanks for taking note. Looking forward to the next release.