Aici veti gasi detalii tehnice despre cum se pot realiza configurari software+ hardware.
Here you can find tehnical details about software/hardware configuration.

duminică, 11 noiembrie 2012

FreeBSD as PPPoE client

To make a PPPoe connection on FreeBSD box put these lines in your /etc/ppp/ppp.conf

===================================================================
default:
# PPP over Ethernet
  set device PPPoE:xl0 #replace with your interface (in my case is xl0)
  set speed sync
  set mru 1492
  set mtu 1492
  set ctsrts off

# Monitor line quality
  enable lqr

# Log just a bit
  set log phase tun

# Insert default route upon connection
  add default HISADDR

# Download /etc/resolv.conf
#  enable dns

papchap:
 set authname User (replace with your username)
 set authkey Pass (Replace with your password)
=================================================================
In /etc/rc.local put these lines:



#ppp
ppp_enable="YES"
ppp_mode="ddial"
ppp_nat="NO"   # if you want to enable nat for your local network, otherwise NO

If you wish to start connection manualy simply type as root the next command
#ppp -ddial papchap

In ifconfig will appear the tun0 interface

tun0: flags=8051 mtu 1492
        inet x.x.x.x --> x.x.x.y netmask 0xffffffff
        Opened by PID 445


For more information you can check log file:
#tail -f /var/log/ppp.log

Map


Visitor Map