look for the comments between the lines below...

On 7/13/09, LEVAI Daniel <l...@ecentrum.hu> wrote:
> Hi!
>
>  I'm trying to setup a mobile internet connection. On a -current machine I've
>  made this peer file:
>
>  /etc/ppp/peers/vodafone1:
>  ### --- ###
>  /dev/cuaU0
>  460800
>  connect "/usr/sbin/chat -v -f /etc/ppp/peers/vodafone.chat2"
>  debug
>  holdoff 5

add here a line that looks like:

:10.255.255.254

with this line you set the remote address to be 10.255.255.254 (you
can choose any other by your taste).

>  ipcp-accept-local
>  ipcp-accept-remote
>  lock
>  noaccomp
>  noauth
>  nobsdcomp
>  noccp
>  nodefaultroute
>  novj
>  user ""
>  ### --- ###
>

...

>
>  Now when I try to connect with `pppd call vodafone1`, I get this error
>  message:
>  # tail -f /var/log/daemon
>  pppd[24712]: pppd 2.3.5 started by daniell, uid 0
>  pppd[24712]: Serial connection established.
>  pppd[24712]: Using interface ppp0
>  pppd[24712]: Connect: ppp0 <--> /dev/cuaU0
>  pppd[24712]: Could not determine remote IP address

yeah, those damned modems these days, they just send IPCP Conf-Ack
messges with no IP address in them. pppd seems to be a little strict
on it (personally i think it would be more relaxed, as for P2P link
the peer address is not that important)

>  pppd[24712]: Connection terminated.
>
>
>  Right now I'm stuck :\
>  Any advice would be appreciated.
>
>  Thanks!
>
>
>  Daniel

Reply via email to