Re: [Vyatta-users] Problems with Glendale Alpha 2

2008-03-05 Thread Bob Gilligan

- Paco Alcantara [EMAIL PROTECTED] wrote:
 .- I am looking for PPPoE commands are I cannot find them. Any help??
 Well I have seen the commands in the documentation but when I try to 
 configure the interface
 
 set interfaces ethernet eth0  the next item that could be pppoe is not 
 available. Where is my error??

Hi Paco -- Here's an example of configuring PPPOE on Glendale Alpha 2:

vyatta:~# show version
Version :vc4.0.0
Built by:[EMAIL PROTECTED]
Built on:Tue Feb 26 02:48:23 UTC 2008
Build ID:0802260248e2da7ea
Boot via:disk
Uptime  :11:21:58 up 6 min,  1 user,  load average: 0.04, 0.31, 0.20

vyatta:~# configure
[edit]
[EMAIL PROTECTED] set interfaces ethernet eth3 pppoe 7
[edit]
[EMAIL PROTECTED] set interfaces ethernet eth3 pppoe 7 user-id [EMAIL PROTECTED]
[edit]
[EMAIL PROTECTED] set interfaces ethernet eth3 pppoe 7 password 
[edit]
[EMAIL PROTECTED] commit
[edit]
[EMAIL PROTECTED] save
Saving configuration to '/opt/vyatta/etc/config/config.boot'...
Done
[edit]
[EMAIL PROTECTED] exit
exit
vyatta:~# show interfaces pppoe
pppoe7: POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP mtu 1500 qdisc pfifo_fast 
qlen 100
link/ppp
inet 76.200.163.135 peer 151.164.184.125/32 scope global pppoe7

RX:  bytespackets errorsdroppedoverrun  mcast
64  4  0  0  0  0
TX:  bytespackets errorsdroppedcarrier collisions
   241  8  0  0  0  0

vyatta:~#

Note that there is a bug in Glendale Alpha 2 that will prevent the PPPOE link 
from coming up once configured.  Fortunately, the fix is a one-line change to 
the PPPOE configuration template.  You can make the fix by editing the file:

/opt/vyatta/share/vyatta-cfg/templates/interfaces/ethernet/node.tag/pppoe/node.def

Change the line that reads:

sudo sh -c echo pty \/usr/sbin/pppoe -m 1412 -I $VAR(../@)\  \

to instead read:

sudo sh -c echo pty \\\/usr/sbin/pppoe -m 1412 -I $VAR(../@)\\\  \

I.e. there need to be three backslash characters before the second and third 
quote character.

After you have made that change, reboot your system, and PPPOE should work as 
expected.  This fix has been checked into the source tree and will be in our 
next Glendale release, BTW.

If the link doesn't come up, you can use tcpdump on the ethernet interface to 
troubleshoot, e.g.:

vyatta:~# tcpdump -n -e -i eth3

Note also that we have a command to force the link down,e,g:

vyatta:~# set interface pppoe pppoe7 down
Bringing PPPOE interface pppoe7 down
vyatta:~#

and a command to bring the link back up:

vyatta:~# set interface pppoe pppoe7 up
Bringing PPPOE interface pppoe7 up.
vyatta:~#

Bringing the link down and back up re-starts the PPPOE protocol exchange from 
scratch, so my usual troubleshooting technique is to run tcpdump on the 
ethernet interface, then bring the PPPOE link down and back up, then watch the 
protocol exchanges.

I hope that helps!

Bob.






___
Vyatta-users mailing list
Vyatta-users@mailman.vyatta.com
http://mailman.vyatta.com/mailman/listinfo/vyatta-users


[Vyatta-users] Problems with Glendale Alpha 2

2008-02-28 Thread Paco Alcantara
Some problems when trying Alpha 2

1.- Error when trying install-system to install Alpha2 in a hard disk (I
am using VMWare environment).

Basically, the equipment ask me to perform a mount. When I say no the
process finishes; when I say yes it tells me something like Mounting
error and the process finishes.

2.- I am looking for PPPoE commands are I cannot find them. Any help??

Well I have seen the commands in the documentation but when I try to
configure the interface

set interfaces ethernet eth0  the next item that could be pppoe is not
available. Where is my error??

Regards.
Paco.
___
Vyatta-users mailing list
Vyatta-users@mailman.vyatta.com
http://mailman.vyatta.com/mailman/listinfo/vyatta-users


[Vyatta-users] Problems with Glendale Alpha 2

2008-02-27 Thread Paco Alcantara
Some problems when trying Alpha 2

1.- Error when trying install-system to install Alpha2 in a hard disk (I
am using VMWare environment).

2.- I am looking for PPPoE commands are I cannot find them. Any help??

Regards.
Paco.
___
Vyatta-users mailing list
Vyatta-users@mailman.vyatta.com
http://mailman.vyatta.com/mailman/listinfo/vyatta-users


Re: [Vyatta-users] Problems with Glendale Alpha 2

2008-02-27 Thread Dave Roberts
1. What error are you seeing?
 
2. Have you looked at the PPPoE documentation on Vyatta.org?
http://www.vyatta.org/documentation/glendale-alpha2
 
-- Dave


  _  

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Paco
Alcantara
Sent: Wednesday, February 27, 2008 4:15 PM
To: [EMAIL PROTECTED]
Subject: [Vyatta-users] Problems with Glendale Alpha 2


Some problems when trying Alpha 2
 
1.- Error when trying install-system to install Alpha2 in a hard disk (I
am using VMWare environment).
 
2.- I am looking for PPPoE commands are I cannot find them. Any help??
 
Regards.
Paco.

___
Vyatta-users mailing list
Vyatta-users@mailman.vyatta.com
http://mailman.vyatta.com/mailman/listinfo/vyatta-users


Re: [Vyatta-users] Problems with Glendale Alpha 2

2008-02-27 Thread Stig Thormodsrud
What error did you get with install-system?  We have seen some issues with
vmware's scsi hard drive not being recognized, so if that's the issue then
you might try editing the virtual machine to use an IDE hard drive
instead.

 

stig

 

  _  

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Paco
Alcantara
Sent: Wednesday, February 27, 2008 4:15 PM
To: [EMAIL PROTECTED]
Subject: [Vyatta-users] Problems with Glendale Alpha 2

 

Some problems when trying Alpha 2

 

1.- Error when trying install-system to install Alpha2 in a hard disk (I
am using VMWare environment).

 

2.- I am looking for PPPoE commands are I cannot find them. Any help??

 

Regards.
Paco.

___
Vyatta-users mailing list
Vyatta-users@mailman.vyatta.com
http://mailman.vyatta.com/mailman/listinfo/vyatta-users