RE: Finding existing PPP connection?

Well, that is why I thought ppp0 would be something common (or ppp1,
etc.). I use an EVDO Card from Sprint, and have followed the directions
from here: I modified the script
slightly to fit my needs. NM in Ubuntu works fine with the connection to
do the connect and disconnect. I assume it is just running pon and poff
(I linked ppp0 in /etc/ppp/peers/ to the 1xevdo mentioned above).
However, NM never updates the icon to show it actually connected. I then
never have access to stuff like VPN which would make it so I don't have
to reboot into Windows to VPN (I have other solutions for Ubuntu that
require me to run another program however). 

Jason C. Greb
ElectroNerdz, Inc.
jgreb electronerdz com
P.O. Box 6556
Lakeland, FL 33807
Voice: 863-709-0204
Cell: 863-860-0985
Fax: 863-709-0506

-----Original Message-----
From: Dan Williams [mailto:dcbw redhat com] 
Sent: Thursday, December 14, 2006 4:06 PM
To: Jason Greb
Cc: NetworkManager-list gnome org
Subject: Re: Finding existing PPP connection?

On Thu, 2006-12-14 at 11:03 -0500, Jason C. Greb wrote:
> What about looking to see if ppp0 is an active connection? I have a 
> program called conky that I run on the desktop, and it polls ppp0. 
> When it gets an IP address, it displays it along with transfer 
> statistics. I have the same problem as Matej, because I can't make VPN

> connections because NM doesn't know it's connected.

Yeah, I know that's a problem.  But I'd like to do this the "right" way,
even if it takes a few more weeks or such.  Which means doing the hard
integration work and making it "Just Work" rather than trying to
shoehorn in stuff to accommodate the 10 different ways Linux distros
currently do PPP stuff.

Quick question though; for those of you doing PPP over GPRS/EDGE or EVDO
cards, can you use wvdial?  What does your connection process look like
and how did you set up the card/connection?


> Jason
> On Thu, 2006-12-14 at 10:23 -0500, Dan Williams wrote:
> > On Wed, 2006-12-13 at 16:06 +0000, Matej Cepl wrote:
> > > Hi,
> > > 
> > > I know there are some attempts to make PPP working with NM, but I 
> > > have slightly more simple answer. Is it possible to *discover* 
> > > existing PPP connection with NM created by other means (i.e., 
> > > running wvdial in su-ued gnome-terminal)? I have incredibly crappy

> > > connection (or bad support for PCMCIA GPRS card in Linux, I don't 
> > > know), so it takes me three or four or more attempts to get 
> > > connection, but then it would be nice if NM could find out that 
> > > the connection happened and inform other programs (Epiphany, 
> > > Evolution, etc.) about being connected, and if NM would be able to

> > > establish VPN connection over that. Is it possible, or I am just
dreaming RFE?
> > 
> > Probably dreaming for an RFE, sorry :)  There's no really good way I

> > can think of to detect an already running PPP instance since the 
> > pieces just aren't there to do it well.  Hence the work to make PPP 
> > more integrated...
> > 
> > Dan
> > 
> > 
> > _______________________________________________
> > NetworkManager-list mailing list
> > NetworkManager-list gnome org
> >
> > 
> > 


Teach CanIt if this mail (ID 227) is spam:
Not spam:
Forget vote:

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]