From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: References: <4ecada1e1002200230p768972b4k13e83eb7129e1f9@mail.gmail.com> <4ecada1e1002220032i3db7158fvc2fd5c91483043c9@mail.gmail.com> <4ecada1e1002221031v2651e6c0wf56c4514f9fa55b8@mail.gmail.com> Date: Tue, 23 Feb 2010 17:48:29 +0100 Message-ID: <4ecada1e1002230848s25a6236dw77bf5c113561c79f@mail.gmail.com> From: Bela Valek To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: [9fans] pppoe on Plan 9 Topicbox-Message-UUID: d8d71994-ead5-11e9-9d60-3106f5b1d025 Thanks, after I provided the service name, ip/pppoe asked for username and password. However I still didnt have Internet access. I tried ipconf/outside but it times out. Here is the complete output of ip/pppoe: http://pastebin.com/V7ACsh6g Did I forgot something? Thanks: Bela 2010/2/23 Russ Cox : >> 00304894958d -> 00508d68c9c0 type 0x8863 >> =A0 =A0 =A0 =A0vers 1 type 1 code 0x7 sessid 0x0 length 63 >> =A0 =A0 =A0 =A00x102 22: ac 'pecs-nas1.tvnetwork.hu' >> =A0 =A0 =A0 =A00x101 9: service 'TvNetWork' >> =A0 =A0 =A0 =A00x104 20: ac cookie 31e0aff8b09a633faae5b9685fdfbd0dad000= 000 >> dropping unwanted pkt: no matching service name > > try adding > =A0 =A0 -S TvNetWork > to your command line. > > it looks like in pppoe.c the block > > =A0 =A0 =A0 =A0if((s =3D findtag(pkt, TagSrvName, &len, 0)) =3D=3D nil) > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0return bad("no matching service name"); > =A0 =A0 =A0 =A0if(len !=3D strlen(srvname) || memcmp(s, srvname, len) != =3D 0) > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0return bad("no matching service name"); > > should be inside a if(srvname[0] !=3D '\0') { ... }. > >