Hi, i need to configure PPPoE in FreeBSD 6.2.
I tested but it didn't work out. I'm want to show you the result of the command: web# ppp Working in interactive mode Using interface: tun0 ppp ON web> dial Internet ppp ON web> ping box.az Warning: ping: Invalid command Warning: ping: Failed 1 ppp ON web> ppp ON web> pppd Warning: pppd: Invalid command Warning: pppd: Failed 1 ppp ON web> quit web# pppd Here is rc.conf rc.conf # -- sysinstall generated deltas -- # Fri Oct 19 16:25:38 2007 # Created: Fri Oct 19 16:25:38 2007 # Enable network daemons for user convenience. # Please make all changes to this file, not to /etc/defaults/rc.conf. # This file now contains just the overrides from /etc/defaults/rc.conf. #defaultrouter="172.16.200.1" hostname="web.pronet" ifconfig_rl0="inet 172.16.200.201 netmask 255.255.255.0" inetd_enable="YES" linux_enable="YES" sshd_enable="YES" usbd_enable="YES" ppp_interface="rl1" ppp_enable="YES" ppp_mode="ddial" ppp_nat="NO" ppp_profile="primus" network_interfaces="rl1 lo0" ifconfig_rl1="inet 10.0.0.1 netmask 255.255.255.0" ppp.conf ################################################################# # PPP Sample Configuration File # Originally written by Toshiharu OHNO # Simplified 5/14/1999 by [EMAIL PROTECTED] # # See /usr/share/examples/ppp/ for some examples # # $FreeBSD: src/etc/ppp/ppp.conf,v 1.10 2004/11/19 17:12:56 obrien Exp $ ################################################################# default: set log Phase Chat LCP IPCP CCP tun command ident user-ppp VERSION (built COMPILATIONDATE) # Ensure that "device" references the correct serial port # for your modem. (cuad0 = COM1, cuad1 = COM2) # set device PPPoE:rl1 set speed 115200 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \ \"\" AT OK-AT-OK ATE1Q0 OK \\dATDT\\T TIMEOUT 40 CONNECT" set timeout 180 # 3 minute idle timer (the default) enable dns # request DNS info (for resolv.conf) papchap: # # edit the next three lines and replace the items in caps with # the values which have been assigned by your ISP. # primus: set authname pronet set authkey 3060683 set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0 add default HISADDR # Add a (sticky) default route added there lines to GENERIC: # Enables PPPoE options NETGRAPH options NETGRAPH_SOCKET options NETGRAPH_PPPOE But still didnt work out. Please give some advice. -- Your sincerely, Babek Ismayilov Information Technology Specialist Contacts: Mobile: (+994 55) 7574768 _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"