Re: [9fans] pppoe on Plan 9

2010-02-23 Thread Russ Cox
>> it looks like in pppoe.c the block >> >>       if((s = findtag(pkt, TagSrvName, &len, 0)) == nil) >>               return bad("no matching service name"); >>       if(len != strlen(srvname) || memcmp(s, srvname, len) != 0) >>               return bad("no matching service name"); >> >> should be

Re: [9fans] pppoe on Plan 9

2010-02-23 Thread Bela Valek
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

Re: [9fans] pppoe on Plan 9

2010-02-23 Thread Artem Pylypchuk
> Date: Mon, 22 Feb 2010 16:13:59 -0800 > From: Russ Cox > Subject: Re: [9fans] pppoe on Plan 9 > To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> > Message-ID: > > Content-Type: text/plain; charset=UTF-8 > > > 00304894958d -> 00508d68c9

Re: [9fans] pppoe on Plan 9

2010-02-22 Thread Russ Cox
> 00304894958d -> 00508d68c9c0 type 0x8863 >        vers 1 type 1 code 0x7 sessid 0x0 length 63 >        0x102 22: ac 'pecs-nas1.tvnetwork.hu' >        0x101 9: service 'TvNetWork' >        0x104 20: ac cookie 31e0aff8b09a633faae5b9685fdfbd0dad00 > dropping unwanted pkt: no matching service nam

Re: [9fans] pppoe on Plan 9

2010-02-22 Thread Bela Valek
2010/2/22 Russ Cox : >> I got a username, a password, and an IP address from the Internet >> provider. How do I give this information to ip/pppoe? > > It should just prompt you (via factotum) for the username/password. > The IP address should be irrelevant - the ppp server > will tell you the IP ad

Re: [9fans] pppoe on Plan 9

2010-02-22 Thread Eris Discordia
The IP address is probably that of the service provider's DNS server, for use on machines other than the one that establishes the PPPoE connection. --On Monday, February 22, 2010 10:02 -0800 Russ Cox wrote: I got a username, a password, and an IP address from the Internet provider. How do I g

Re: [9fans] pppoe on Plan 9

2010-02-22 Thread Russ Cox
> I got a username, a password, and an IP address from the Internet > provider. How do I give this information to ip/pppoe? It should just prompt you (via factotum) for the username/password. The IP address should be irrelevant - the ppp server will tell you the IP address anyway. Russ

Re: [9fans] pppoe on Plan 9

2010-02-22 Thread Bela Valek
Thanks. I got a username, a password, and an IP address from the Internet provider. How do I give this information to ip/pppoe? If I have to use Factotum, my question is: how do I give the username and password to Factotum, so PPPoE can use it? Thanks: Bela 2010/2/20 Russ Cox : >> How do we use

Re: [9fans] pppoe on Plan 9

2010-02-20 Thread Russ Cox
> How do we use pppoe on Plan 9? Its listening on stdin and answering on > stdout. How do I have to start it, so its listening to the network > interface? It sounds like you are running ip/ppp not ip/pppoe. See ppp(8). Russ