The FreeBSD Diary

The FreeBSD Diary (TM)

Providing practical examples since 1998

If you buy from Amazon USA, please support us by using this link.
[ HOME | TOPICS | INDEX | WEB RESOURCES | BOOKS | CONTRIBUTE | SEARCH | FEEDBACK | FAQ | FORUMS ]
FreeBSD Support
 New Topic  |  Go to Top  |  Go to Topic  |  Search  |  Log In   Newer Topic  |  Older Topic 
 PPPoE
Author: daydrim 
Date:   19-07-06 06:13

Hi, need some advice :)
I've set up PPP over Ethernet to my ISP.

/etc/ppp/ppp.conf:

default:
set device PPPoE:rl0:gw_b\wtn
set speed sync
set mru 1492
set mtu 1492
set ctsrts off
enable lqr
add default HISADDR
set timeout 0
set redial 0 0
nat enable yes
nat log yes
nat same_ports yes
nat unregistered_only yes
enable dns

gw_b\wtn:
set authname username
set authkey password

in rc.conf I've addes string:

ifconfig_rl0="inet 0.0.0.0 mtu 1492"

But when I'm trying to connect

#ppp -ddial gw_b\wtn
Working in ddial mode
Using interface : tun0

There is no ip adress on tun0

and when i examine ppp.log:

tun0: Phase: deflink: Connected!
tun0: Phase: deflink: opening -> dial
tun0: Phase: deflink: dial -> carrier
tun0: Phase: deflink: Disconnected!
tun0: Phase: deflink: carrier -> hangup
tun0: Debug: deflink: Close
tun0: Phase: deflink: Connect time: 5 secs: 0 octets in, 0 octets out
tun0: Phase: deflink: 0 packets in, 0 packets out
tun0: Phase: total 0 bytes/sec, peak 0 bytes/sec

Any ideas? Seems like there is no ethernet connection to ISP but Ethernet interface is up and work :(



Reply To This Message
 Forum List  |  Threaded View   Newer Topic  |  Older Topic 


 Forum List  |  Need a Login? Register Here 
 User Login
 User Name:
 Password:
 Remember my login:
   
 Forgot Your Password?
Enter your email address or user name below and a new password will be sent to the email address associated with your profile.
How to get the most out of the forum

phorum.org