Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 02 Dec 2009 10:05:14 -0800
From:      Julian Elischer <julian@elischer.org>
To:        Justin Wong <jmnwong@gmail.com>
Cc:        freebsd-virtualization@freebsd.org
Subject:   Re: ppp in vimages?
Message-ID:  <4B16AC5A.9030009@elischer.org>
In-Reply-To: <66313f8d0912020817x5839715ake916804d61dea730@mail.gmail.com>
References:  <66313f8d0912020817x5839715ake916804d61dea730@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Justin Wong wrote:
> I am having trouble getting ppp to work within vimages.  Without vimages, my
> box is able to connect (via vr0 interface) and assign it to tun0.  With
> vimages, I assign vr0 to it (continuing with the name vr0 instead of eth0)
> and ppp cannot detect it therefore I am unable to request for an IP.  I am
> wondering whether this is a limitation on vimages/jails running ppp.
> 
> Here is the error I am receiving:
> 
> Dec  1 09:24:53 n2 ppp[1481]: tun0: Warning: deflink: PPPoE: unknown host
> Dec  1 09:24:53 n2 ppp[1481]: tun0: Warning: deflink: PPPoE: unknown host
> Dec  1 09:24:53 n2 ppp[1481]: tun0: Warning: deflink: Device (PPPoE:vr0)
> must bee
> gin with a '/', a '!' or contain at least one ':'
> Dec  1 09:24:53 n2 ppp[1481]: tun0: Phase: deflink: Enter pause (0) for
> redialinn
> g.
> 
> 
> Here is my ppp.conf:
> 
> default:
>  set log phase lcp ipcp ccp tun command
>  set speed sync
>  set mru 1492
>  set mtu 1492
>  set ctsrts off
>  enable lqr
>  set timeout 0
>  set redial 0 0
>  set device PPPoE:vr0
>  set authname username
>  set authkey password
>  set dial
>  set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
>  add default HISADDR
> 
> 
> I also attempted to assign tun0 to a vimage, but it seems to lose its IP.

It may be that there is an interaction between netgraph and vimage 
that is not yet worked out..

by chance I have a vimage kernel on my soekris 5501 with a pppoe link 
using ppp.
I may try switching it over to another vimage and see what it does.
(tonight after work)

it's possible that the negraph pppoe node is only looking in the base 
vimage for the interface.


> 
> 
> -J
> _______________________________________________
> freebsd-virtualization@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
> To unsubscribe, send any mail to "freebsd-virtualization-unsubscribe@freebsd.org"




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4B16AC5A.9030009>