From owner-freebsd-questions@FreeBSD.ORG Sat Apr 5 23:00:21 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 7621837B401 for ; Sat, 5 Apr 2003 23:00:21 -0800 (PST) Received: from out003.verizon.net (out003pub.verizon.net [206.46.170.103]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6E6FD43FD7 for ; Sat, 5 Apr 2003 23:00:20 -0800 (PST) (envelope-from ej.cerejo@laposte.net) Received: from laposte.net ([68.160.106.19]) by out003.verizon.net (InterMail vM.5.01.05.27 201-253-122-126-127-20021220) with ESMTP id <20030406070019.IWCS28543.out003.verizon.net@laposte.net>; Sun, 6 Apr 2003 01:00:19 -0600 Message-ID: <3E8FD07B.2020901@laposte.net> Date: Sun, 06 Apr 2003 03:00:11 -0400 From: "E. J. Cerejo" User-Agent: Mozilla/5.0 (X11; U; Linux i386; en-US; rv:1.0.2) Gecko/20030208 Netscape/7.02 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Matthew Emmerton References: <20030405153843.10d7c6d7.erythro73@SexMagnet.com> <3E8F9689.302@laposte.net> <001401c2fbe9$a4557190$1200a8c0@gsicomp.on.ca> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Authentication-Info: Submitted using SMTP AUTH at out003.verizon.net from [68.160.106.19] at Sun, 6 Apr 2003 01:00:18 -0600 cc: Benedict Plante cc: freebsd-questions@freebsd.org 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: Sun, 06 Apr 2003 07:00:21 -0000 I've got this on mine: ifconfig_fxp0="inet 192.168.2.72 netmask 255.255.255.0" defaultrouter="192.168.2.1" hostname="ecerejo.Belkin" but then again I behind a dsl/router if you're not behind a router then you shouldn't put anything in it I think unless your isp assigns you a static IP or something. Matthew Emmerton wrote: > The error message in the ppp.log file indicates that ppp is attempting to > negotiate an IPv6 address with Sympatico, which it refuses. > > How do you configure your vr0 interface in /etc/rc.conf? > -- > Matt Emmerton > > ----- Original Message ----- > From: "E. J. Cerejo" > To: "Benedict Plante" > Cc: > Sent: Saturday, April 05, 2003 9:52 PM > Subject: Re: PPPoE : User can't access while root can! > > > >>You need to edit /etc/group file and make every user member of the >>network group I believe. >>The line that you looking for on this file should look like this: >> >>network:*:69:root,webdude,webdude2,webdude3 >> >>separate user by commons and no spaces. >> >> >>Benedict Plante wrote: >> >>>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="FreeBSD" >>>kern_securelevel_enable="NO" >>>linux_enable="YES" >>>moused_enable="YES" >>>moused_port="/dev/psm0" >>>moused_type="auto" >>>nfs_reserved_port_only="YES" >>>sendmail_enable="YES" >>>sshd_enable="YES" >>>usbd_enable="YES" >>>ppp_enable="YES" >>>ppp_mode="ddial" >>>ppp_profile="sympatico.ca" >>>ppp_nat="YES" #I tried with it turned to "NO" also >>>inetd_enable="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_SESSIONID > >>>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 = PAP, mine = >> > 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=8843 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=8810 mtu 1500 >>>sl0: flags=c010 mtu 552 >>>faith0: flags=8002 mtu 1500 >>>lo0: flags=8049 mtu 16384 >>> inet6 ::1 prefixlen 128 >>> inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5 >>> inet 127.0.0.1 netmask 0xff000000 >>>ppp0: flags=8010 mtu 1500 >>>tun0: flags=8051 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=8843 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=8810 mtu 1500 >>>sl0: flags=c010 mtu 552 >>>faith0: flags=8002 mtu 1500 >>>lo0: flags=8049 mtu 16384 >>> inet6 ::1 prefixlen 128 >>> inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5 >>> inet 127.0.0.1 netmask 0xff000000 >>>ppp0: flags=8010 mtu 1500 >>>tun0: flags=8051 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" > >> >>_______________________________________________ >>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" > > >