On Sun, May 09, 2010 at 05:06:48PM +0200, Werner Koch wrote:
> On Sun, 9 May 2010 00:27, anarcat@koumbit.org said:
>
> > That I just don't understand at all... Are you using userland PPP? From
> > what I can tell here, there's no ppp binary bundled with any kFreeBSD
> > package I know of, I don't see how creating the lock directory changes
>
> I am using this:
>
> freebsd-hackedutils 6.1-3
Aaaaah! I didn't see those packages, they're not part of the official
archive!
So much for duplicated work here.. :/ Is there a way this rejoins the
main archive?
I still can't make PPPoE work however, even with that package. ppp says:
Warning: Cannot create netgraph socket node: No such file or directory
Here is the trace... It seems I get *just* beyond the problem I had with
my own version...
4208 ppp CALL socket(PF_NETGRAPH,SOCK_DGRAM,0x2)
4208 ppp RET socket 2
4208 ppp CALL sendto(0x2,0x80b7540,0x38,0,0xbfbfcfd0,0x4)
4208 ppp GIO fd 2 wrote 56 bytes
0x0000 0800 0000 0000 0000 0600 0010 0000 0000 0100 0000 a820 463a 636d 6432 3638 3433 3534 3632 0000 0000 0000 |..................... F:cmd268435462......|
0x002a 0000 0000 0000 0000 0000 0000 0000 |..............|
4208 ppp RET sendto 56/0x38
4208 ppp CALL recvfrom(0x2,0xbfbfd2e0,0x80,0,0xbfbfd050,0xbfbfd04c)
4208 ppp GIO fd 2 read 56 bytes
0x0000 0800 0000 0000 0000 0600 0010 0000 0000 0100 0000 a820 463a 636d 6432 3638 3433 3534 3632 0000 0000 0000 |..................... F:cmd268435462......|
0x002a 0000 0000 0000 0000 0000 0000 0000 |..............|
4208 ppp STRU struct sockaddr { AF_NETGRAPH, unknown address family }
4208 ppp RET recvfrom 56/0x38
4208 ppp CALL socket(PF_NETGRAPH,SOCK_DGRAM,0x1)
4208 ppp RET socket 3
4208 ppp CALL connect(0x3,0xbfbfd2b0,0xe)
4208 ppp STRU invalid record
4208 ppp RET connect -1 errno 2 No such file or directory
4208 ppp CALL close(0x2)
4208 ppp RET close 0
4208 ppp CALL close(0x3)
4208 ppp RET close 0
4208 ppp CALL seteuid(0)
4208 ppp RET seteuid 0
4208 ppp CALL write(0x1,0x80b6000,0x47)
4208 ppp GIO fd 1 wrote 71 bytes
"Warning: Cannot create netgraph socket node: No such file or directory
"
A.
PS: it seems you were able to compile PPP with a lot more features than
I did. Did you patch the source or did it magically work?
--
To be naive and easily deceived is impermissible, today more than
ever, when the prevailing untruths may lead to a catastrophe because
they blind people to real dangers and real possibilities.
- Erich Fromm
Attachment:
signature.asc
Description: Digital signature