Ursula Salgado | 6 Dec 09:54
Picon

Buny cials-tabs at Unbelievable Prices


Be ERECT in less than 15 mins

PRlCE: $ 2 / use

visit our website --> goldslive.net

-
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to majordomo <at> vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Cleiton Reis | 6 Dec 21:13
Picon

Basic Question.

Hello !

 A basic question :

 There's a way to start a PPP connection like an ADSL connection
always in the same
 interface (eg. ppp0 ) ?

 I have two adsl Links and I would like to start adsl1 always in ppp0 
and the adsl2 always in the ppp1, otherwise  when I reboot and the
adsl1 fail to connect,  the adsl2 start in ppp0 and my
firewall rules screw up !

 Regards.
-
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to majordomo <at> vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Clifford Kite | 6 Dec 22:11
Favicon

Re: Basic Question.

On Tue, 6 Dec 2005, Cleiton Reis wrote:

|Hello !
|
| A basic question :
|
| There's a way to start a PPP connection like an ADSL connection
|always in the same
| interface (eg. ppp0 ) ?
|
| I have two adsl Links and I would like to start adsl1 always in ppp0 
|and the adsl2 always in the ppp1, otherwise  when I reboot and the
|adsl1 fail to connect,  the adsl2 start in ppp0 and my
|firewall rules screw up !

Man pppd, see whether the option "unit <num>" is what you want.

---
Clifford Kite

-
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to majordomo <at> vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

James Carlson | 6 Dec 22:23

Re: Basic Question.

Clifford Kite writes:
> | I have two adsl Links and I would like to start adsl1 always in ppp0 
> |and the adsl2 always in the ppp1, otherwise  when I reboot and the
> |adsl1 fail to connect,  the adsl2 start in ppp0 and my
> |firewall rules screw up !
> 
> Man pppd, see whether the option "unit <num>" is what you want.

... or use the /etc/ppp/ip-up script interface to rewrite the firewall
rules on the fly.

(Agreed; there needs to be a better way to deal with this issue.)

--

-- 
James Carlson         42.703N 71.076W         <carlsonj <at> workingcode.com>
-
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to majordomo <at> vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Bill Unruh | 6 Dec 22:59
Picon
Picon
Favicon

Re: Basic Question.

On Tue, 6 Dec 2005, James Carlson wrote:

> Clifford Kite writes:
>> | I have two adsl Links and I would like to start adsl1 always in ppp0
>> |and the adsl2 always in the ppp1, otherwise  when I reboot and the
>> |adsl1 fail to connect,  the adsl2 start in ppp0 and my
>> |firewall rules screw up !
>>
>> Man pppd, see whether the option "unit <num>" is what you want.
>
> ... or use the /etc/ppp/ip-up script interface to rewrite the firewall
> rules on the fly.
>
> (Agreed; there needs to be a better way to deal with this issue.)
>

One of the real problems with linux appears to be the difficulty of
associating a unit with a physical device. Thus with ethernet, it depends
on which hardware device the system just happens to look at first which
gets called eth0. The aliases established in /etc/modprobe.conf seem to be
just ignored.  Similarly with ppp, and everything else. This really
needs a unified way of dealing with it. the unit option in pppd helps, but
if for some reason that unit is unavailable, ppp simply grabs whatever
anyway.

To have to set up a script which determines which units are which and
rewrites all references to the unit number is not only a kludge but is also
extremely prone to bugs. That is not the way to go.

-
(Continue reading)

James Carlson | 7 Dec 14:10

Re: Basic Question.

Bill Unruh writes:
> One of the real problems with linux appears to be the difficulty of
> associating a unit with a physical device. Thus with ethernet, it depends
> on which hardware device the system just happens to look at first which
> gets called eth0.

OK, but it's also the case that pppd is *more* than just Linux.  In
fact, it predates Linux by quite a bit.  So, I'd argue that the
solution needs to work for other systems (BSD, Solaris) as well as
Linux.

> The aliases established in /etc/modprobe.conf seem to be
> just ignored.  Similarly with ppp, and everything else. This really
> needs a unified way of dealing with it. the unit option in pppd helps, but
> if for some reason that unit is unavailable, ppp simply grabs whatever
> anyway.
> 
> To have to set up a script which determines which units are which and
> rewrites all references to the unit number is not only a kludge but is also
> extremely prone to bugs. That is not the way to go.

I agree that's kludgy.  One of the bad parts of it is that the
interface is established and enabled *before* the filters get applied,
and that's almost certainly not what anyone concerned with security
wants.

But even if we could somehow nail down the meaning of "ppp0" and
"ppp1" and so on, I think we'd be no better off than we are today for
pppd.  The problem I see is that a system with a number of links and a
large number of peers (not just this simple configuration with two
(Continue reading)

Michael Tokarev | 8 Dec 15:52
Picon

'devfd' fd leak in pppd

All recent versions of pppd have a filedescriptor leak -
pppd leaks a filedescriptor to the (serial/pty/whatever)
underlying device on each "redial".

The global `devfd' variable that holds this filedescriptor
is initialized to -1 at the start of the main loop, before
each redial.

The filedescriptor is opened in auth.c:link_required(),
calling the_channel->connect() routine.

Later, again in auth.c, in link_terminated() routine,
there's the following code:

    /*
     * Run disconnector script, if requested.
     * XXX we may not be able to do this if the line has hung up!
     */
    if (devfd >= 0 && the_channel->disconnect) {
        the_channel->disconnect();
        devfd = -1;
    }

For a tty device, there's a tty.c:disconnect_tty() used as
the_channel->disconnect; but it does not *close* any files.
For that, there's the_channel->close field.  Which is only
used in safe_fork() routine when running a child process...

Again, connect_tty() is used (from the_channel->connect())
to start new connection cycle, and that routine starts with
(Continue reading)

Emanuel Wade | 10 Dec 06:26
Picon

find out about cials-tabs


Be ERECT in less than 15 mins

PRlCE: $ 2 / use

visit our website --> juicesign.net

-
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to majordomo <at> vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Elbert L. Sellers | 12 Dec 12:25
Picon

Get cials-tabs - no prior pr.escription needed


Be ERECT in less than 15 mins

PRlCE: $ 2 / use

visit our website --> worldamoure.com

-
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to majordomo <at> vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Steven Geerts | 13 Dec 14:30

pppoe server

All

can anybody telll me where to find some more information on how to setup
a pppoe-server?

Currently I'm using suse linux 9.3 as my server to dial in via a windows
xp client (yeah I know).  It hasn't been successfull for almost 2 weeks
now.

When I check with ethereal is see that the session gets confirmed, but
it hangs at "PPP LC Configuration request", it seems that the server is
not responding to this request.  How can I solve this.

My server has 2 networks cards:
	- eth0: 10.0.0.1
	- eth1: 50.0.0.1

I start the pppoe-server with following command:
	$pppoe -C myacname -S myservice -I eth1 -L 50.0.0.1 -R 50.0.0.100

pppoe-server-options are set to:
debug
dump
require-pap
login
lcp-echo-interval 10
lcp-echo-failure 2

I can not figure it out what could be wrong. :-(

(Continue reading)


Gmane