Mekabe Ramein
2009-Apr-04 20:53 UTC
how to see pppoe connection speed and how to start second pppoe
Hi, I know that this is not directly related to Shorewall or its components. However, I know that there are many people using pppoe in this list and I trust their knowledge. My Linux box which is configured with Shorewall is using pppoe connection over an adsl modem in bridge mode. adsl-setup is used for configuration of this connection and the produced interface is ppp0 I have 2 questions: 1- is there a way to see the established ppp rx/tx speed on the bridge modem from Linux ? (I can see this on the modem but is it possible to see it on Linux) 2- I want to connect another ethernet interface to another adsl bridge modem. how can I start another pppoe connection on this ethernet ? (if I re-run the adsl-start script again, it configures the first connection again - overwritng the previous conf) Thanks. ------------------------------------------------------------------------------
Mekabe Ramein
2009-Apr-05 20:55 UTC
Re: how to see pppoe connection speed and how to start second pppoe
Hi, I am really sorry to ask this question here, but I''ve no other place to ask it. Can anyone kindly answer ? Thanks, On Sat, Apr 4, 2009 at 11:53 PM, Mekabe Ramein <mrmrmrmr@gmail.com> wrote:> Hi, > I know that this is not directly related to Shorewall or its components. > However, I know that there are many people using pppoe in this list and I > trust their knowledge. > My Linux box which is configured with Shorewall is using pppoe connection > over an adsl modem in bridge mode. > adsl-setup is used for configuration of this connection and the produced > interface is ppp0 > > I have 2 questions: > 1- is there a way to see the established ppp rx/tx speed on the bridge > modem from Linux ? (I can see this on the modem but is it possible to see it > on Linux) > 2- I want to connect another ethernet interface to another adsl bridge > modem. how can I start another pppoe connection on this ethernet ? (if I > re-run the adsl-start script again, it configures the first connection again > - overwritng the previous conf) > > > Thanks. > >------------------------------------------------------------------------------
Andras Sarkozy
2009-Apr-08 13:23 UTC
[SPAM] Re: how to see pppoe connection speed and how to start second pppoe
Hi, I assume you use rp-pppoe for the connection. Create another config file in the ppp folder which contains your other identity and invoke root# pppoe-start yournewconfig If you want to play/hardcode the ppp0 to the first and the ppp1 to the second pppoe connection, then you should append "unit 0" or Unit 1" to the options file before starting the connection. I''m currently reconfiguring my router which has 2 pppoe and one dhcp internet connection, so I had those from experience and a lot of google-ing :) Good luck. Andras You can email straight to me if the list doesn''t want to hear the other details. Mekabe Ramein wrote:> Hi, > > I am really sorry to ask this question here, but I''ve no other place to > ask it. > Can anyone kindly answer ? > > Thanks, > > > On Sat, Apr 4, 2009 at 11:53 PM, Mekabe Ramein <mrmrmrmr@gmail.com > <mailto:mrmrmrmr@gmail.com>> wrote: > > Hi, > > I know that this is not directly related to Shorewall or its components. > However, I know that there are many people using pppoe in this list > and I trust their knowledge. > My Linux box which is configured with Shorewall is using pppoe > connection over an adsl modem in bridge mode. > adsl-setup is used for configuration of this connection and the > produced interface is ppp0 > > I have 2 questions: > 1- is there a way to see the established ppp rx/tx speed on the > bridge modem from Linux ? (I can see this on the modem but is it > possible to see it on Linux) > 2- I want to connect another ethernet interface to another adsl > bridge modem. how can I start another pppoe connection on this > ethernet ? (if I re-run the adsl-start script again, it configures > the first connection again - overwritng the previous conf) > > > Thanks. > > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > > > ------------------------------------------------------------------------ > > _______________________________________________ > Shorewall-users mailing list > Shorewall-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/shorewall-users------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com
Mekabe Ramein
2009-Apr-08 20:26 UTC
Re: [SPAM] Re: how to see pppoe connection speed and how to start second pppoe
Hi, Thanks for this information. Actually I was using adsl-start script for the connection but I can check the pppoe-start if that''s what you suggest. Can you tell me which file(s) I should copy and change ? Also, I''d be glad if you can share information on how to load balance per session on ppp0 and ppp1 using Shorewall. thanks. On Wed, Apr 8, 2009 at 4:23 PM, Andras Sarkozy <andras@andras.net> wrote:> Hi, > > I assume you use rp-pppoe for the connection. > Create another config file in the ppp folder which contains your other > identity and invoke > root# pppoe-start yournewconfig > > If you want to play/hardcode the ppp0 to the first and the ppp1 to the > second pppoe connection, then you should append "unit 0" or Unit 1" to the > options file before starting the connection. > > I''m currently reconfiguring my router which has 2 pppoe and one dhcp > internet connection, so I had those from experience and a lot of google-ing > :) > > Good luck. > Andras > > > You can email straight to me if the list doesn''t want to hear the other > details. > >------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com
Vlado Peshov
2009-Apr-08 20:40 UTC
Re: [SPAM] Re: how to see pppoe connection speed and how to start second pppoe
On Wed, Apr 8, 2009 at 10:26 PM, Mekabe Ramein <mrmrmrmr@gmail.com> wrote:> Hi, > Thanks for this information. Actually I was using adsl-start script for the > connection but I can check the pppoe-start if that''s what you suggest. Can > you tell me which file(s) I should copy and change ?On Debian: /etc/ppp/pppoe.conf /etc/ppp/chap-secrets /etc/ppp/pap-secrets ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com
Vlado Peshov
2009-Apr-08 20:45 UTC
Re: [SPAM] Re: how to see pppoe connection speed and how to start second pppoe
On Wed, Apr 8, 2009 at 10:26 PM, Mekabe Ramein <mrmrmrmr@gmail.com> wrote:> Hi, > Thanks for this information. Actually I was using adsl-start script for the > connection but I can check the pppoe-start if that''s what you suggest. Can > you tell me which file(s) I should copy and change ?Paste us adsl-start script, and I also want to see the full information of the process that is starting... So give us also: ps aux | grep adsl-script or similar. Regards, Vlado ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com
Mekabe Ramein
2009-Apr-08 21:09 UTC
Re: [SPAM] Re: how to see pppoe connection speed and how to start second pppoe
[trixbox1.localdomain ppp]# ps -ef | grep adsl root 1403 1 0 Apr06 ? 00:00:00 /bin/bash /sbin/adsl-connect /etc/sysconfig/network-scripts/ifcfg-ppp0 root 1532 1403 0 Apr06 ? 00:00:00 /usr/sbin/pppd pty /usr/sbin/pppoe -p /var/run/pppoe-adsl.pid.pppoe -I eth1 -T 80 -U -m 1412 ipparam ppp0 linkname ppp0 noipdefault noauth default-asyncmap defaultroute hide-password nodetach usepeerdns mtu 1492 mru 1492 noaccomp noccp nobsdcomp nodeflate nopcomp novj novjccomp user filizaktuna@biri.com.trlcp-echo-interval 20 lcp-echo-failure 3 root 1533 1532 2 Apr06 ? 01:38:09 /usr/sbin/pppoe -p /var/run/pppoe-adsl.pid.pppoe -I eth1 -T 80 -U -m 1412 [trixbox1.localdomain ppp]# ps -ef | grep ppp root 1403 1 0 Apr06 ? 00:00:00 /bin/bash /sbin/adsl-connect /etc/sysconfig/network-scripts/ifcfg-ppp0 root 1532 1403 0 Apr06 ? 00:00:00 /usr/sbin/pppd pty /usr/sbin/pppoe -p /var/run/pppoe-adsl.pid.pppoe -I eth1 -T 80 -U -m 1412 ipparam ppp0 linkname ppp0 noipdefault noauth default-asyncmap defaultroute hide-password nodetach usepeerdns mtu 1492 mru 1492 noaccomp noccp nobsdcomp nodeflate nopcomp novj novjccomp user filizaktuna@biri.com.trlcp-echo-interval 20 lcp-echo-failure 3 root 1533 1532 2 Apr06 ? 01:38:09 /usr/sbin/pppoe -p /var/run/pppoe-adsl.pid.pppoe -I eth1 -T 80 -U -m 1412 There are many scripts for the adsl. (adsl-setup, adsl-connect, adsl-start, adsl-stop etc.) And they are really long scripts. Would you like me to attach them ? On Wed, Apr 8, 2009 at 11:45 PM, Vlado Peshov <vlatkop@gmail.com> wrote:> On Wed, Apr 8, 2009 at 10:26 PM, Mekabe Ramein <mrmrmrmr@gmail.com> wrote: > > Hi, > > Thanks for this information. Actually I was using adsl-start script for > the > > connection but I can check the pppoe-start if that''s what you suggest. > Can > > you tell me which file(s) I should copy and change ? > > Paste us adsl-start script, and I also want to see the full > information of the process that is starting... So give us also: > > ps aux | grep adsl-script > > or similar. > > Regards, Vlado > >------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com
Tom Eastep
2009-Apr-08 21:32 UTC
Re: [SPAM] Re: how to see pppoe connection speed and how to start second pppoe
Mekabe Ramein wrote:> > There are many scripts for the adsl. (adsl-setup, adsl-connect, adsl-start, > adsl-stop etc.) > And they are really long scripts. Would you like me to attach them ?Please send them privately and don''t spam the list. Thanks, -Tom -- Tom Eastep \ When I die, I want to go like my Grandfather who Shoreline, \ died peacefully in his sleep. Not screaming like Washington, USA \ all of the passengers in his car http://shorewall.net \________________________________________________ ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com