Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Nov 2001 22:09:25 -0500
From:      "Yuichiro Abe" <y_abe@sprynet.com>
To:        "FreeBSD" <freebsd-questions@FreeBSD.ORG>
Subject:   About PPPoE
Message-ID:  <000901c16a5e$55722aa0$689efea9@oemcomputer>
References:  <20011109225941.P867-100000@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help

To FreeBSD.org

Thank you for your reply. Let me put my files. My BSD version is 4.3
Release.

Here is my previous question.

> > I put the command "ppp -ddial provider". and then, I excuted netscape.
But I
> > got the error message which was below:
>
> it would help immensely if you could post the contents of ppp.conf, and
> some output from the logs.
>
> > So I got the long message.
> > Now, the question is that how or where can I change the $SOCKS_NS
> > environment variable?
>
> before going in this direction, are you sure your network connection is
> up? can you ping hosts through the link?
>
> > I really shame on myself asking you about a kind of stupid thing. But I
must
> > need your help. Thank you.
>
> no shame needed. this is what this mailing list is for.
>
----

Here is my /etc/ppp/ppp.conf file.

default:
 ident user-ppp VERSION (built COMPILATIONDATE)
 set log Phase Chat LCP IPCP CCP tun command
 set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0

name_of_service_provider:
 set device PPPoE:xl0
 set MRU 1454
 set MTU 1454
 set authname login_name@domainname
 set authkey my password
 set dial
 set login
 add default HISADDR
 accept CHAP
 enable dns
----

Here is my /etc/hosts file.

127.0.0.1  y-abe.jpn.ph  y-abe        // I got y-abe.jpn.ph from another
site for Dynamic DNS
127.0.0.1  y-abe.jpn.ph.
216.175.70.95 y-abe.jpn.ph  y-abe    // IP address is from that site.
216.175.70.95 y-abe.jpn.ph.

Q: domain name must be from my ISP?

Here is my /etc/ppp/ppp.linkup file.

provider:
    delete ALL
    add 0 0 HISADDR
----

Here is my /etc/resolv.conf file.

domain y-abe.jpn.ph
    nameserver 216.175.70.95
    nameserver 216.175.70.95
----

Here is my /etc/rc.conf file.

gateway_enable="YES"
network_interfaces="lo0 tun0" ifconfig_tun0=
router_enable="NO"
....
ppp_enable="NO"            // I put NO because when I boot BSD, I always get
the error message.
ppp_mode="ddial"
ppp_nat="YES"
ppp_profile="default" # or your provider

My kernel file is below:
options  NETGRAPH
options  NETGRAPH_ETHER
options  NETGRAPH_PPPOE
options  NETGRAPH_SOCKET


Is there something wrong in my files? Please help me. Thank you.


Sincerely,
Yuichiro Abe



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000901c16a5e$55722aa0$689efea9>