From owner-freebsd-questions@FreeBSD.ORG Sat Apr 5 12:56:57 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 64BC437B401 for ; Sat, 5 Apr 2003 12:56:57 -0800 (PST) Received: from simmts3-srv.bellnexxia.net (simmts3-srv.bellnexxia.net [206.47.199.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8663343F3F for ; Sat, 5 Apr 2003 12:56:56 -0800 (PST) (envelope-from erythro73@SexMagnet.com) Received: from FreeBSD ([64.228.205.31]) by simmts3-srv.bellnexxia.net (InterMail vM.5.01.04.19 201-253-122-122-119-20020516) with SMTP id <20030405205651.ONZS5597.simmts3-srv.bellnexxia.net@FreeBSD> for ; Sat, 5 Apr 2003 15:56:51 -0500 Date: Sat, 5 Apr 2003 15:57:59 -0500 From: Benedict Plante To: freebsd-questions@freebsd.org Message-Id: <20030405155759.3f326208.erythro73@SexMagnet.com> In-Reply-To: <017801c2fbb4$23a07ac0$0100a8c0@ibac> References: <20030405153843.10d7c6d7.erythro73@SexMagnet.com> <017801c2fbb4$23a07ac0$0100a8c0@ibac> Organization: Hackside X-Mailer: Sylpheed version 0.8.10 (GTK+ 1.2.10; i386-portbld-freebsd4.8) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: PPPoE : User can't access while root can! X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Apr 2003 20:56:57 -0000 My /etc/resolv.conf:=20 # MADE-BY-RP-PPPOE nameserver 198.235.216.135 nameserver 209.226.175.224 I didn't put these because when we run rp-pppoe it is make automaticaly ;).= =20 ppp is run at startup by the rc.conf I put before.=20 On Sat, 05 Apr 2003 14:44:22 -0600 Alfonso Romero wrote: > I=B4m no expert, but here=B4s my opinion: Don=B4t you need to use a resol= v.conf > file? >=20 > Alfonso Romero >=20 > ----- Original Message ----- > From: "Benedict Plante" > To: > Sent: Saturday, April 05, 2003 2:38 PM > Subject: PPPoE : User can't access while root can! >=20 >=20 > > Hello all! > > Well, let get straight to the point. I use Bell Canada > Sympatico Internet Service Provider, with a DSL connection, and I'm using > FreeBSD-4.8-release. > > > > I've used FreeBSD-4.7 for a while, and sometime, when I installed, ppp > wasn't working for user... unless one time, when I completely wipe my > FreeBSD-4.7 partition and reinstalling it, it worked. Later, I deinstalled > it and reinstalled it completely and it wasn't working. > > > > Now, I've move to FreeBSD-4.8-release and its still not working! I mean= ... > it does work as root but not as a user. > > > > If I use internet with a user from the wheel group, it gives me that > message: > > > > $ ping www.google.ca > > ping: cannot resolve www.google.ca: Host name lookup failure > > > > In order to make my connection work, I need to configure my > /etc/ppp/ppp.conf along with rp-pppoe-3.5. > > > > -----Here is my /etc/ppp/ppp.conf: > > > > default: > > set log Phase tun command > > set ifaddr 10.0.0.1/0 10.0.0.2/0 > > > > sympatico.ca: > > set device PPPoE:vr0 > > set authname * > > set authkey * > > set dial > > set login > > add default HISADDR > > > > > > > > -----Here is my /etc/rc.conf: > > > > hostname=3D"FreeBSD" > > kern_securelevel_enable=3D"NO" > > linux_enable=3D"YES" > > moused_enable=3D"YES" > > moused_port=3D"/dev/psm0" > > moused_type=3D"auto" > > nfs_reserved_port_only=3D"YES" > > sendmail_enable=3D"YES" > > sshd_enable=3D"YES" > > usbd_enable=3D"YES" > > ppp_enable=3D"YES" > > ppp_mode=3D"ddial" > > ppp_profile=3D"sympatico.ca" > > ppp_nat=3D"YES" #I tried with it turned to "NO" also > > inetd_enable=3D"YES" > > > > > > -----Here is my /var/log/ppp.log: > > > > 15:24:53 FreeBSD ppp[53]: tun0: Phase: Received NGM_PPPOE_ACNAME (hook > "62031100098933-") > > Apr 5 15:24:53 FreeBSD ppp[53]: tun0: Phase: Received NGM_PPPOE_SESSIO= NID > > Apr 5 15:24:53 FreeBSD ppp[53]: tun0: Phase: Received NGM_PPPOE_SUCCESS > > Apr 5 15:24:53 FreeBSD ppp[53]: tun0: Phase: deflink: carrier -> login > > Apr 5 15:24:53 FreeBSD ppp[53]: tun0: Phase: deflink: login -> lcp > > Apr 5 15:24:53 FreeBSD ppp[53]: tun0: Warning: deflink: Reducing > configured MRU from 1500 to 1492 > > Apr 5 15:24:53 FreeBSD ppp[53]: tun0: Phase: bundle: Authenticate > > Apr 5 15:24:53 FreeBSD ppp[53]: tun0: Phase: deflink: his =3D PAP, min= e =3D > none > > Apr 5 15:24:53 FreeBSD ppp[53]: tun0: Phase: Pap Output: *** ******** > > Apr 5 15:24:54 FreeBSD ppp[53]: tun0: Phase: Pap Input: SUCCESS () > > Apr 5 15:24:54 FreeBSD ppp[53]: tun0: Phase: deflink: lcp -> open > > Apr 5 15:24:54 FreeBSD ppp[53]: tun0: Phase: bundle: Network > > Apr 5 15:24:54 FreeBSD ppp[53]: tun0: Phase: deflink: IPV6CP protocol > reject closes IPV6CP ! > > Apr 5 15:25:06 FreeBSD last message repeated 5 times > > > > > > > > > > > > -----My ifconfig as root (working) > > FreeBSD# ifconfig > > vr0: flags=3D8843 mtu 1500 > > inet6 fe80::250:baff:fee5:bdb0%vr0 prefixlen 64 scopeid 0x1 > > ether 00:50:ba:e5:bd:b0 > > media: Ethernet autoselect (10baseT/UTP) > > status: active > > lp0: flags=3D8810 mtu 1500 > > sl0: flags=3Dc010 mtu 552 > > faith0: flags=3D8002 mtu 1500 > > lo0: flags=3D8049 mtu 16384 > > inet6 ::1 prefixlen 128 > > inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5 > > inet 127.0.0.1 netmask 0xff000000 > > ppp0: flags=3D8010 mtu 1500 > > tun0: flags=3D8051 mtu 1492 > > inet 64.228.205.31 --> 64.228.205.1 netmask 0xffffffff > > Opened by PID 53 > > > > > > > > -----My ifconfig as user (wheel): > > > > $ ifconfig > > vr0: flags=3D8843 mtu 1500 > > inet6 fe80::250:baff:fee5:bdb0%vr0 prefixlen 64 scopeid 0x1 > > ether 00:50:ba:e5:bd:b0 > > media: Ethernet autoselect (10baseT/UTP) > > status: active > > lp0: flags=3D8810 mtu 1500 > > sl0: flags=3Dc010 mtu 552 > > faith0: flags=3D8002 mtu 1500 > > lo0: flags=3D8049 mtu 16384 > > inet6 ::1 prefixlen 128 > > inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5 > > inet 127.0.0.1 netmask 0xff000000 > > ppp0: flags=3D8010 mtu 1500 > > tun0: flags=3D8051 mtu 1492 > > inet 64.228.205.31 --> 64.228.205.1 netmask 0xffffffff > > Opened by PID 53 > > > > > > > > > > ----- Do you need some more info??? Thank you to all the people who will > help me :). > > > > Erythro73 > > > > > > > > > > _______________________________________________ > > freebsd-questions@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > > >=20 >=20 > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o= rg"