403Webshell
Server IP : 185.11.201.71  /  Your IP : 192.168.7.18
Web Server : Apache/2.4.29 (Ubuntu)
System : Linux tech-virtual-machine 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64
User : tech ( 1000)
PHP Version : 7.4.28
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
MySQL : OFF  |  cURL : OFF  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/share/doc/ppp/examples/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/share/doc/ppp/examples/interfaces
# copy one of these examples to /etc/network/interfaces

# The VP, VC and encapsulation must match the ones used by your ISP, these
# examples use 8.35 with LLC encapsulation and assume that ATM interface
# 0 is the DSL modem.
# br2684ctl and atmarp are part of the br2684ctl and atm-tools packages,
# check the atmarp(8) and br2684ctl(8) man pages for details about the
# command line options.


# PPPoE
# You need to create an appropriate /etc/ppp/peers/pppoe file, look at
# /usr/share/doc/ppp/examples/peers-pppoe for an example and configure it
# to use the nas0 interface.
auto pppoe
iface pppoe inet ppp
	provider pppoe
	pre-up br2684ctl -b -c 0 -a 0.8.35
	pre-up ip link set up nas0
	post-down kill $(cat /var/run/nas0.pid)


# RFC 1483 bridged, with dynamically assigned address
auto nas0
iface nas0 inet dhcp
	pre-up br2684ctl -b -c ${IFACE#nas} -a 0.8.35
	post-down kill $(cat /var/run/$IFACE.pid)


# RFC 1483 bridged, with statically assigned address
auto nas0
iface nas0 inet static
        address 192.0.2.1
        netmask 255.255.255.0
	broadcast 192.0.2.255
	gateway 192.0.2.254
	pre-up br2684ctl -b -c ${IFACE#nas} -a 0.8.35
	post-down kill $(cat /var/run/$IFACE.pid)


# Classical IP over ATM (CLIP)
# This assumes that atmarpd is already running.
auto atm0
iface atm0 inet static
        address 192.0.2.1
        netmask 255.255.255.0
	broadcast 192.0.2.255
	gateway 192.0.2.254
	pre-up atmarp -c $IFACE
	post-up atmarp -s 192.0.2.254 0.8.35


Youez - 2016 - github.com/yon3zu
LinuXploit