Strona 3 z 7

: 04 maja 2009, 23:58
autor: wojtasskorcz
Po zmianach w:

Kod: Zaznacz cały

/etc/ppp/options
czyli włączeniu:

Kod: Zaznacz cały

+chap 
Dostaję takie logi w tcpdumpie:

Kod: Zaznacz cały

192:/home/wojtas# tcpdump -X -vv pppoed
tcpdump: WARNING: wmaster0: no IPv4 address assigned
tcpdump: listening on wmaster0, link-type IEEE802_11 (802.11), capture size 96 bytes
23:26:55.879593 0us PPPoE PADI [Service-Name] [Host-Uniq 0x280B0000]
	0x0000:  aaaa 0300 0000 8863 1109 0000 000c 0101  .......c........
	0x0010:  0000 0103 0004 280b 0000                 ......(...
23:26:55.885336 0us PPPoE PADR [Service-Name] [Host-Uniq 0x280B0000]
	0x0000:  aaaa 0300 0000 8863 1119 0000 000c 0101  .......c........
	0x0010:  0000 0103 0004 280b 0000                 ......(...
23:27:07.027611 0us PPPoE PADI [Service-Name] [Host-Uniq 0x330C0000]
	0x0000:  aaaa 0300 0000 8863 1109 0000 000c 0101  .......c........
	0x0010:  0000 0103 0004 330c 0000                 ......3...
23:27:07.030004 0us PPPoE PADR [Service-Name] [Host-Uniq 0x330C0000]
	0x0000:  aaaa 0300 0000 8863 1119 0000 000c 0101  .......c........
	0x0010:  0000 0103 0004 330c 0000                 ......3...
23:27:25.931626 0us PPPoE PADI [Service-Name] [Host-Uniq 0x280B0000]
	0x0000:  aaaa 0300 0000 8863 1109 0000 000c 0101  .......c........
	0x0010:  0000 0103 0004 280b 0000                 ......(...
23:27:25.950937 0us PPPoE PADR [Service-Name] [Host-Uniq 0x280B0000]
	0x0000:  aaaa 0300 0000 8863 1119 0000 000c 0101  .......c........
	0x0010:  0000 0103 0004 280b 0000                 ......(...
23:27:37.075584 0us PPPoE PADI [Service-Name] [Host-Uniq 0x330C0000]
	0x0000:  aaaa 0300 0000 8863 1109 0000 000c 0101  .......c........
	0x0010:  0000 0103 0004 330c 0000                 ......3...
23:27:37.082995 0us PPPoE PADR [Service-Name] [Host-Uniq 0x330C0000]
	0x0000:  aaaa 0300 0000 8863 1119 0000 000c 0101  .......c........
	0x0010:  0000 0103 0004 330c 0000                 ......3...
23:28:02.035714 0us PPPoE PADI [Service-Name] [Host-Uniq 0x280B0000]
	0x0000:  aaaa 0300 0000 8863 1109 0000 000c 0101  .......c........
	0x0010:  0000 0103 0004 280b 0000                 ......(...
23:28:02.046519 0us PPPoE PADR [Service-Name] [Host-Uniq 0x280B0000]
	0x0000:  aaaa 0300 0000 8863 1119 0000 000c 0101  .......c........
	0x0010:  0000 0103 0004 280b 0000                 ......(...
23:28:07.123668 0us PPPoE PADI [Service-Name] [Host-Uniq 0x330C0000]
	0x0000:  aaaa 0300 0000 8863 1109 0000 000c 0101  .......c........
	0x0010:  0000 0103 0004 330c 0000                 ......3...
23:28:07.164174 0us PPPoE PADR [Service-Name] [Host-Uniq 0x330C0000]
	0x0000:  aaaa 0300 0000 8863 1119 0000 000c 0101  .......c........
	0x0010:  0000 0103 0004 330c 0000                 ......3...
23:28:32.091930 0us PPPoE PADI [Service-Name] [Host-Uniq 0x280B0000]
	0x0000:  aaaa 0300 0000 8863 1109 0000 000c 0101  .......c........
	0x0010:  0000 0103 0004 280b 0000                 ......(...
23:28:32.094668 0us PPPoE PADR [Service-Name] [Host-Uniq 0x280B0000]
	0x0000:  aaaa 0300 0000 8863 1119 0000 000c 0101  .......c........
	0x0010:  0000 0103 0004 280b 0000                 ......(...
23:28:37.231698 0us PPPoE PADI [Service-Name] [Host-Uniq 0x330C0000]
	0x0000:  aaaa 0300 0000 8863 1109 0000 000c 0101  .......c........
	0x0010:  0000 0103 0004 330c 0000                 ......3...
23:28:37.529064 0us PPPoE PADR [Service-Name] [Host-Uniq 0x330C0000]
	0x0000:  aaaa 0300 0000 8863 1119 0000 000c 0101  .......c........
	0x0010:  0000 0103 0004 330c 0000                 ......3...
23:29:07.603589 0us PPPoE PADI [Service-Name] [Host-Uniq 0x330C0000]
	0x0000:  aaaa 0300 0000 8863 1109 0000 000c 0101  .......c........
	0x0010:  0000 0103 0004 330c 0000                 ......3...
23:29:07.606694 0us PPPoE PADR [Service-Name] [Host-Uniq 0x330C0000]
	0x0000:  aaaa 0300 0000 8863 1119 0000 000c 0101  .......c........
	0x0010:  0000 0103 0004 330c 0000                 ......3...
23:29:37.659616 0us PPPoE PADI [Service-Name] [Host-Uniq 0x330C0000]
	0x0000:  aaaa 0300 0000 8863 1109 0000 000c 0101  .......c........
	0x0010:  0000 0103 0004 330c 0000                 ......3...
23:29:37.668108 0us PPPoE PADR [Service-Name] [Host-Uniq 0x330C0000]
	0x0000:  aaaa 0300 0000 8863 1119 0000 000c 0101  .......c........
	0x0010:  0000 0103 0004 330c 0000                 ......3...
23:30:07.723587 0us PPPoE PADI [Service-Name] [Host-Uniq 0x330C0000]
	0x0000:  aaaa 0300 0000 8863 1109 0000 000c 0101  .......c........
	0x0010:  0000 0103 0004 330c 0000                 ......3...
23:30:07.727305 0us PPPoE PADR [Service-Name] [Host-Uniq 0x330C0000]
	0x0000:  aaaa 0300 0000 8863 1119 0000 000c 0101  .......c........
	0x0010:  0000 0103 0004 330c 0000                 ......3...
23:30:37.783731 0us PPPoE PADI [Service-Name] [Host-Uniq 0x330C0000]
	0x0000:  aaaa 0300 0000 8863 1109 0000 000c 0101  .......c........
	0x0010:  0000 0103 0004 330c 0000                 ......3...
23:30:37.786082 0us PPPoE PADR [Service-Name] [Host-Uniq 0x330C0000]
	0x0000:  aaaa 0300 0000 8863 1119 0000 000c 0101  .......c........
	0x0010:  0000 0103 0004 330c 0000                 ......3...
^C
24 packets captured
24 packets received by filter
0 packets dropped by kernel
I od 23:30:37 do ok. 23:35 nie miałem ani jednego więcej pakietu. No to znalazłem taką linię w pliku:

Kod: Zaznacz cały

/etc/ppp/pppoe.conf

Kod: Zaznacz cały

CONNECT_TIMEOUT=30

i zamieniłem ją na:

Kod: Zaznacz cały

CONNECT_TIMEOUT=0
No i teraz logi były o wiele bardziej rozległe i cały czas przychodziły nowe pakiety. Wydawało mi się też, że przychodzą o wiele szybciej. Kolejny log z tcpdumpa.

Kod: Zaznacz cały

192:/home/wojtas# tcpdump -X -vv pppoed
tcpdump: WARNING: wmaster0: no IPv4 address assigned
tcpdump: listening on wmaster0, link-type IEEE802_11 (802.11), capture size 96 bytes
23:42:26.614279 0us PPPoE PADI [Service-Name] [Host-Uniq 0x170D0000]
	0x0000:  aaaa 0300 0000 8863 1109 0000 000c 0101  .......c........
	0x0010:  0000 0103 0004 170d 0000                 ..........
23:42:26.616490 0us PPPoE PADR [Service-Name] [Host-Uniq 0x170D0000]
	0x0000:  aaaa 0300 0000 8863 1119 0000 000c 0101  .......c........
	0x0010:  0000 0103 0004 170d 0000                 ..........
23:42:27.628511 0us PPPoE PADT [ses 0x715] [Host-Uniq 0x170D0000] [Generic-Error "Received PADT from peer"]
	0x0000:  aaaa 0300 0000 8863 11a7 0715 0023 0103  .......c.....#..
	0x0010:  0004 170d 0000 0203 0017 5265 6365 6976  ..........Receiv
	0x0020:  6564 2050 4144 5420 6672 6f6d 2070 6565  ed.PADT.from.pee
	0x0030:  72                                       r
23:42:32.650347 0us PPPoE PADI [Service-Name] [Host-Uniq 0x210D0000]
	0x0000:  aaaa 0300 0000 8863 1109 0000 000c 0101  .......c........
	0x0010:  0000 0103 0004 210d 0000                 ......!...
23:42:32.652481 0us PPPoE PADR [Service-Name] [Host-Uniq 0x210D0000]
	0x0000:  aaaa 0300 0000 8863 1119 0000 000c 0101  .......c........
	0x0010:  0000 0103 0004 210d 0000                 ......!...
23:42:33.570684 0us PPPoE PADT [ses 0x716] [Host-Uniq 0x210D0000] [Generic-Error "Received PADT from peer"]
	0x0000:  aaaa 0300 0000 8863 11a7 0716 0023 0103  .......c.....#..
	0x0010:  0004 210d 0000 0203 0017 5265 6365 6976  ..!.......Receiv
	0x0020:  6564 2050 4144 5420 6672 6f6d 2070 6565  ed.PADT.from.pee
	0x0030:  72                                       r
23:42:38.593499 0us PPPoE PADI [Service-Name] [Host-Uniq 0x2B0D0000]
	0x0000:  aaaa 0300 0000 8863 1109 0000 000c 0101  .......c........
	0x0010:  0000 0103 0004 2b0d 0000                 ......+...
23:42:38.595527 0us PPPoE PADR [Service-Name] [Host-Uniq 0x2B0D0000]
	0x0000:  aaaa 0300 0000 8863 1119 0000 000c 0101  .......c........
	0x0010:  0000 0103 0004 2b0d 0000                 ......+...
23:42:39.562988 0us PPPoE PADT [ses 0x717] [Host-Uniq 0x2B0D0000] [Generic-Error "Received PADT from peer"]
	0x0000:  aaaa 0300 0000 8863 11a7 0717 0023 0103  .......c.....#..
	0x0010:  0004 2b0d 0000 0203 0017 5265 6365 6976  ..+.......Receiv
	0x0020:  6564 2050 4144 5420 6672 6f6d 2070 6565  ed.PADT.from.pee
	0x0030:  72                                       r
23:42:44.585333 0us PPPoE PADI [Service-Name] [Host-Uniq 0x350D0000]
	0x0000:  aaaa 0300 0000 8863 1109 0000 000c 0101  .......c........
	0x0010:  0000 0103 0004 350d 0000                 ......5...
23:42:44.587893 0us PPPoE PADR [Service-Name] [Host-Uniq 0x350D0000]
	0x0000:  aaaa 0300 0000 8863 1119 0000 000c 0101  .......c........
	0x0010:  0000 0103 0004 350d 0000                 ......5...
23:42:45.604146 0us PPPoE PADT [ses 0x718] [Host-Uniq 0x350D0000] [Generic-Error "Received PADT from peer"]
	0x0000:  aaaa 0300 0000 8863 11a7 0718 0023 0103  .......c.....#..
	0x0010:  0004 350d 0000 0203 0017 5265 6365 6976  ..5.......Receiv
	0x0020:  6564 2050 4144 5420 6672 6f6d 2070 6565  ed.PADT.from.pee
	0x0030:  72                                       r
23:42:50.627770 0us PPPoE PADI [Service-Name] [Host-Uniq 0x3F0D0000]
	0x0000:  aaaa 0300 0000 8863 1109 0000 000c 0101  .......c........
	0x0010:  0000 0103 0004 3f0d 0000                 ......?...
23:42:50.635132 0us PPPoE PADR [Service-Name] [Host-Uniq 0x3F0D0000]
	0x0000:  aaaa 0300 0000 8863 1119 0000 000c 0101  .......c........
	0x0010:  0000 0103 0004 3f0d 0000                 ......?...
23:42:51.634166 0us PPPoE PADT [ses 0x719] [Host-Uniq 0x3F0D0000] [Generic-Error "Received PADT from peer"]
	0x0000:  aaaa 0300 0000 8863 11a7 0719 0023 0103  .......c.....#..
	0x0010:  0004 3f0d 0000 0203 0017 5265 6365 6976  ..?.......Receiv
	0x0020:  6564 2050 4144 5420 6672 6f6d 2070 6565  ed.PADT.from.pee
	0x0030:  72                                       r
23:42:56.653792 0us PPPoE PADI [Service-Name] [Host-Uniq 0x490D0000]
	0x0000:  aaaa 0300 0000 8863 1109 0000 000c 0101  .......c........
	0x0010:  0000 0103 0004 490d 0000                 ......I...
23:42:56.657052 0us PPPoE PADR [Service-Name] [Host-Uniq 0x490D0000]
	0x0000:  aaaa 0300 0000 8863 1119 0000 000c 0101  .......c........
	0x0010:  0000 0103 0004 490d 0000                 ......I...
23:42:57.690007 0us PPPoE PADT [ses 0x71a] [Host-Uniq 0x490D0000] [Generic-Error "Received PADT from peer"]
	0x0000:  aaaa 0300 0000 8863 11a7 071a 0023 0103  .......c.....#..
	0x0010:  0004 490d 0000 0203 0017 5265 6365 6976  ..I.......Receiv
	0x0020:  6564 2050 4144 5420 6672 6f6d 2070 6565  ed.PADT.from.pee
	0x0030:  72                                       r
23:43:02.708467 0us PPPoE PADI [Service-Name] [Host-Uniq 0x530D0000]
	0x0000:  aaaa 0300 0000 8863 1109 0000 000c 0101  .......c........
	0x0010:  0000 0103 0004 530d 0000                 ......S...
23:43:02.713294 0us PPPoE PADR [Service-Name] [Host-Uniq 0x530D0000]
	0x0000:  aaaa 0300 0000 8863 1119 0000 000c 0101  .......c........
	0x0010:  0000 0103 0004 530d 0000                 ......S...
23:43:03.647817 0us PPPoE PADT [ses 0x71b] [Host-Uniq 0x530D0000] [Generic-Error "Received PADT from peer"]
	0x0000:  aaaa 0300 0000 8863 11a7 071b 0023 0103  .......c.....#..
	0x0010:  0004 530d 0000 0203 0017 5265 6365 6976  ..S.......Receiv
	0x0020:  6564 2050 4144 5420 6672 6f6d 2070 6565  ed.PADT.from.pee
	0x0030:  72                                       r
23:43:08.667660 0us PPPoE PADI [Service-Name] [Host-Uniq 0x600D0000]
	0x0000:  aaaa 0300 0000 8863 1109 0000 000c 0101  .......c........
	0x0010:  0000 0103 0004 600d 0000                 ......`...
23:43:08.670988 0us PPPoE PADR [Service-Name] [Host-Uniq 0x600D0000]
	0x0000:  aaaa 0300 0000 8863 1119 0000 000c 0101  .......c........
	0x0010:  0000 0103 0004 600d 0000                 ......`...
23:43:09.743085 0us PPPoE PADT [ses 0x71c] [Host-Uniq 0x600D0000] [Generic-Error "Received PADT from peer"]
	0x0000:  aaaa 0300 0000 8863 11a7 071c 0023 0103  .......c.....#..
	0x0010:  0004 600d 0000 0203 0017 5265 6365 6976  ..`.......Receiv
	0x0020:  6564 2050 4144 5420 6672 6f6d 2070 6565  ed.PADT.from.pee
	0x0030:  72                                       r
23:43:14.767632 0us PPPoE PADI [Service-Name] [Host-Uniq 0x6A0D0000]
	0x0000:  aaaa 0300 0000 8863 1109 0000 000c 0101  .......c........
	0x0010:  0000 0103 0004 6a0d 0000                 ......j...
23:43:14.770071 0us PPPoE PADR [Service-Name] [Host-Uniq 0x6A0D0000]
	0x0000:  aaaa 0300 0000 8863 1119 0000 000c 0101  .......c........
	0x0010:  0000 0103 0004 6a0d 0000                 ......j...
23:43:15.765722 0us PPPoE PADT [ses 0x71d] [Host-Uniq 0x6A0D0000] [Generic-Error "Received PADT from peer"]
	0x0000:  aaaa 0300 0000 8863 11a7 071d 0023 0103  .......c.....#..
	0x0010:  0004 6a0d 0000 0203 0017 5265 6365 6976  ..j.......Receiv
	0x0020:  6564 2050 4144 5420 6672 6f6d 2070 6565  ed.PADT.from.pee
	0x0030:  72                                       r
23:43:20.784081 0us PPPoE PADI [Service-Name] [Host-Uniq 0x740D0000]
	0x0000:  aaaa 0300 0000 8863 1109 0000 000c 0101  .......c........
	0x0010:  0000 0103 0004 740d 0000                 ......t...
23:43:20.787254 0us PPPoE PADR [Service-Name] [Host-Uniq 0x740D0000]
	0x0000:  aaaa 0300 0000 8863 1119 0000 000c 0101  .......c........
	0x0010:  0000 0103 0004 740d 0000                 ......t...
23:43:21.784035 0us PPPoE PADT [ses 0x71e] [Host-Uniq 0x740D0000] [Generic-Error "RP-PPPoE: System call error: Input/output error"]
	0x0000:  aaaa 0300 0000 8863 11a7 071e 003b 0103  .......c.....;..
	0x0010:  0004 740d 0000 0203 002f 5250 2d50 5050  ..t....../RP-PPP
	0x0020:  6f45 3a20 5379 7374 656d 2063 616c 6c20  oE:.System.call.
	0x0030:  6572 726f 723a 2049 6e70 7574 2f6f 7574  error:.Input/out
	0x0040:  7075 7420 6572 726f 72                   put.error
23:43:26.806769 0us PPPoE PADI [Service-Name] [Host-Uniq 0x7E0D0000]
	0x0000:  aaaa 0300 0000 8863 1109 0000 000c 0101  .......c........
	0x0010:  0000 0103 0004 7e0d 0000                 ......~...
23:43:26.809260 0us PPPoE PADR [Service-Name] [Host-Uniq 0x7E0D0000]
	0x0000:  aaaa 0300 0000 8863 1119 0000 000c 0101  .......c........
	0x0010:  0000 0103 0004 7e0d 0000                 ......~...
23:43:27.824844 0us PPPoE PADT [ses 0x71f] [Host-Uniq 0x7E0D0000] [Generic-Error "Received PADT from peer"]
	0x0000:  aaaa 0300 0000 8863 11a7 071f 0023 0103  .......c.....#..
	0x0010:  0004 7e0d 0000 0203 0017 5265 6365 6976  ..~.......Receiv
	0x0020:  6564 2050 4144 5420 6672 6f6d 2070 6565  ed.PADT.from.pee
	0x0030:  72                                       r
23:43:32.847838 0us PPPoE PADI [Service-Name] [Host-Uniq 0x880D0000]
	0x0000:  aaaa 0300 0000 8863 1109 0000 000c 0101  .......c........
	0x0010:  0000 0103 0004 880d 0000                 ..........
23:43:32.850657 0us PPPoE PADR [Service-Name] [Host-Uniq 0x880D0000]
	0x0000:  aaaa 0300 0000 8863 1119 0000 000c 0101  .......c........
	0x0010:  0000 0103 0004 880d 0000                 ..........
23:43:33.865893 0us PPPoE PADT [ses 0x720] [Host-Uniq 0x880D0000] [Generic-Error "Received PADT from peer"]
	0x0000:  aaaa 0300 0000 8863 11a7 0720 0023 0103  .......c.....#..
	0x0010:  0004 880d 0000 0203 0017 5265 6365 6976  ..........Receiv
	0x0020:  6564 2050 4144 5420 6672 6f6d 2070 6565  ed.PADT.from.pee
	0x0030:  72                                       r
23:43:38.891530 0us PPPoE PADI [Service-Name] [Host-Uniq 0x920D0000]
	0x0000:  aaaa 0300 0000 8863 1109 0000 000c 0101  .......c........
	0x0010:  0000 0103 0004 920d 0000                 ..........
23:43:38.893689 0us PPPoE PADR [Service-Name] [Host-Uniq 0x920D0000]
	0x0000:  aaaa 0300 0000 8863 1119 0000 000c 0101  .......c........
	0x0010:  0000 0103 0004 920d 0000                 ..........
23:43:39.876640 0us PPPoE PADT [ses 0x721] [Host-Uniq 0x920D0000] [Generic-Error "Received PADT from peer"]
	0x0000:  aaaa 0300 0000 8863 11a7 0721 0023 0103  .......c...!.#..
	0x0010:  0004 920d 0000 0203 0017 5265 6365 6976  ..........Receiv
	0x0020:  6564 2050 4144 5420 6672 6f6d 2070 6565  ed.PADT.from.pee
	0x0030:  72                                       r
23:43:44.896320 0us PPPoE PADI [Service-Name] [Host-Uniq 0x9C0D0000]
	0x0000:  aaaa 0300 0000 8863 1109 0000 000c 0101  .......c........
	0x0010:  0000 0103 0004 9c0d 0000                 ..........
23:43:44.899437 0us PPPoE PADR [Service-Name] [Host-Uniq 0x9C0D0000]
	0x0000:  aaaa 0300 0000 8863 1119 0000 000c 0101  .......c........
	0x0010:  0000 0103 0004 9c0d 0000                 ..........
23:43:45.816048 0us PPPoE PADT [ses 0x722] [Host-Uniq 0x9C0D0000] [Generic-Error "Received PADT from peer"]
	0x0000:  aaaa 0300 0000 8863 11a7 0722 0023 0103  .......c...".#..
	0x0010:  0004 9c0d 0000 0203 0017 5265 6365 6976  ..........Receiv
	0x0020:  6564 2050 4144 5420 6672 6f6d 2070 6565  ed.PADT.from.pee
	0x0030:  72                                       r
23:43:51.055417 0us PPPoE PADI [Service-Name] [Host-Uniq 0xA60D0000]
	0x0000:  aaaa 0300 0000 8863 1109 0000 000c 0101  .......c........
	0x0010:  0000 0103 0004 a60d 0000                 ..........
23:43:51.057558 0us PPPoE PADR [Service-Name] [Host-Uniq 0xA60D0000]
	0x0000:  aaaa 0300 0000 8863 1119 0000 000c 0101  .......c........
	0x0010:  0000 0103 0004 a60d 0000                 ..........
23:43:52.080081 0us PPPoE PADT [ses 0x723] [Host-Uniq 0xA60D0000] [Generic-Error "Received PADT from peer"]
	0x0000:  aaaa 0300 0000 8863 11a7 0723 0023 0103  .......c...#.#..
	0x0010:  0004 a60d 0000 0203 0017 5265 6365 6976  ..........Receiv
	0x0020:  6564 2050 4144 5420 6672 6f6d 2070 6565  ed.PADT.from.pee
	0x0030:  72                                       r
23:43:57.094042 0us PPPoE PADI [Service-Name] [Host-Uniq 0xB00D0000]
	0x0000:  aaaa 0300 0000 8863 1109 0000 000c 0101  .......c........
	0x0010:  0000 0103 0004 b00d 0000                 ..........
23:43:57.096303 0us PPPoE PADR [Service-Name] [Host-Uniq 0xB00D0000]
	0x0000:  aaaa 0300 0000 8863 1119 0000 000c 0101  .......c........
	0x0010:  0000 0103 0004 b00d 0000                 ..........
23:43:58.109248 0us PPPoE PADT [ses 0x724] [Host-Uniq 0xB00D0000] [Generic-Error "Received PADT from peer"]
	0x0000:  aaaa 0300 0000 8863 11a7 0724 0023 0103  .......c...$.#..
	0x0010:  0004 b00d 0000 0203 0017 5265 6365 6976  ..........Receiv
	0x0020:  6564 2050 4144 5420 6672 6f6d 2070 6565  ed.PADT.from.pee
	0x0030:  72                                       r
23:44:03.133553 0us PPPoE PADI [Service-Name] [Host-Uniq 0xBD0D0000]
	0x0000:  aaaa 0300 0000 8863 1109 0000 000c 0101  .......c........
	0x0010:  0000 0103 0004 bd0d 0000                 ..........
23:44:03.135900 0us PPPoE PADR [Service-Name] [Host-Uniq 0xBD0D0000]
	0x0000:  aaaa 0300 0000 8863 1119 0000 000c 0101  .......c........
	0x0010:  0000 0103 0004 bd0d 0000                 ..........
23:44:04.164443 0us PPPoE PADT [ses 0x725] [Host-Uniq 0xBD0D0000] [Generic-Error "Received PADT from peer"]
	0x0000:  aaaa 0300 0000 8863 11a7 0725 0023 0103  .......c...%.#..
	0x0010:  0004 bd0d 0000 0203 0017 5265 6365 6976  ..........Receiv
	0x0020:  6564 2050 4144 5420 6672 6f6d 2070 6565  ed.PADT.from.pee
	0x0030:  72                                       r
23:44:09.185803 0us PPPoE PADI [Service-Name] [Host-Uniq 0xC70D0000]
	0x0000:  aaaa 0300 0000 8863 1109 0000 000c 0101  .......c........
	0x0010:  0000 0103 0004 c70d 0000                 ..........
23:44:09.194851 0us PPPoE PADR [Service-Name] [Host-Uniq 0xC70D0000]
	0x0000:  aaaa 0300 0000 8863 1119 0000 000c 0101  .......c........
	0x0010:  0000 0103 0004 c70d 0000                 ..........
23:44:10.217738 0us PPPoE PADT [ses 0x726] [Host-Uniq 0xC70D0000] [Generic-Error "Received PADT from peer"]
	0x0000:  aaaa 0300 0000 8863 11a7 0726 0023 0103  .......c...&.#..
	0x0010:  0004 c70d 0000 0203 0017 5265 6365 6976  ..........Receiv
	0x0020:  6564 2050 4144 5420 6672 6f6d 2070 6565  ed.PADT.from.pee
	0x0030:  72                                       r
23:44:15.235916 0us PPPoE PADI [Service-Name] [Host-Uniq 0xD10D0000]
	0x0000:  aaaa 0300 0000 8863 1109 0000 000c 0101  .......c........
	0x0010:  0000 0103 0004 d10d 0000                 ..........
23:44:15.243647 0us PPPoE PADR [Service-Name] [Host-Uniq 0xD10D0000]
	0x0000:  aaaa 0300 0000 8863 1119 0000 000c 0101  .......c........
	0x0010:  0000 0103 0004 d10d 0000                 ..........
23:44:16.275736 0us PPPoE PADT [ses 0x727] [Host-Uniq 0xD10D0000] [Generic-Error "RP-PPPoE: System call error: Input/output error"]
	0x0000:  aaaa 0300 0000 8863 11a7 0727 003b 0103  .......c...'.;..
	0x0010:  0004 d10d 0000 0203 002f 5250 2d50 5050  ........./RP-PPP
	0x0020:  6f45 3a20 5379 7374 656d 2063 616c 6c20  oE:.System.call.
	0x0030:  6572 726f 723a 2049 6e70 7574 2f6f 7574  error:.Input/out
	0x0040:  7075 7420 6572 726f 72                   put.error
23:44:21.320428 0us PPPoE PADI [Service-Name] [Host-Uniq 0xDB0D0000]
	0x0000:  aaaa 0300 0000 8863 1109 0000 000c 0101  .......c........
	0x0010:  0000 0103 0004 db0d 0000                 ..........
23:44:21.328028 0us PPPoE PADR [Service-Name] [Host-Uniq 0xDB0D0000]
	0x0000:  aaaa 0300 0000 8863 1119 0000 000c 0101  .......c........
	0x0010:  0000 0103 0004 db0d 0000                 ..........
23:44:22.327138 0us PPPoE PADT [ses 0x728] [Host-Uniq 0xDB0D0000] [Generic-Error "Received PADT from peer"]
	0x0000:  aaaa 0300 0000 8863 11a7 0728 0023 0103  .......c...(.#..
	0x0010:  0004 db0d 0000 0203 0017 5265 6365 6976  ..........Receiv
	0x0020:  6564 2050 4144 5420 6672 6f6d 2070 6565  ed.PADT.from.pee
	0x0030:  72                                       r
23:44:27.350699 0us PPPoE PADI [Service-Name] [Host-Uniq 0xE50D0000]
	0x0000:  aaaa 0300 0000 8863 1109 0000 000c 0101  .......c........
	0x0010:  0000 0103 0004 e50d 0000                 ..........
23:44:27.355408 0us PPPoE PADR [Service-Name] [Host-Uniq 0xE50D0000]
	0x0000:  aaaa 0300 0000 8863 1119 0000 000c 0101  .......c........
	0x0010:  0000 0103 0004 e50d 0000                 ..........
23:44:28.379467 0us PPPoE PADT [ses 0xf] [Host-Uniq 0xE50D0000] [Generic-Error "Received PADT from peer"]
	0x0000:  aaaa 0300 0000 8863 11a7 000f 0023 0103  .......c.....#..
	0x0010:  0004 e50d 0000 0203 0017 5265 6365 6976  ..........Receiv
	0x0020:  6564 2050 4144 5420 6672 6f6d 2070 6565  ed.PADT.from.pee
	0x0030:  72                                       r
23:44:33.400615 0us PPPoE PADI [Service-Name] [Host-Uniq 0xEF0D0000]
	0x0000:  aaaa 0300 0000 8863 1109 0000 000c 0101  .......c........
	0x0010:  0000 0103 0004 ef0d 0000                 ..........
23:44:33.403101 0us PPPoE PADR [Service-Name] [Host-Uniq 0xEF0D0000]
	0x0000:  aaaa 0300 0000 8863 1119 0000 000c 0101  .......c........
	0x0010:  0000 0103 0004 ef0d 0000                 ..........
23:44:34.433840 0us PPPoE PADT [ses 0x729] [Host-Uniq 0xEF0D0000] [Generic-Error "Received PADT from peer"]
	0x0000:  aaaa 0300 0000 8863 11a7 0729 0023 0103  .......c...).#..
	0x0010:  0004 ef0d 0000 0203 0017 5265 6365 6976  ..........Receiv
	0x0020:  6564 2050 4144 5420 6672 6f6d 2070 6565  ed.PADT.from.pee
	0x0030:  72                                       r
23:44:39.453980 0us PPPoE PADI [Service-Name] [Host-Uniq 0xF90D0000]
	0x0000:  aaaa 0300 0000 8863 1109 0000 000c 0101  .......c........
	0x0010:  0000 0103 0004 f90d 0000                 ..........
23:44:39.456539 0us PPPoE PADR [Service-Name] [Host-Uniq 0xF90D0000]
	0x0000:  aaaa 0300 0000 8863 1119 0000 000c 0101  .......c........
	0x0010:  0000 0103 0004 f90d 0000                 ..........
23:44:40.426426 0us PPPoE PADT [ses 0x72a] [Host-Uniq 0xF90D0000] [Generic-Error "Received PADT from peer"]
	0x0000:  aaaa 0300 0000 8863 11a7 072a 0023 0103  .......c...*.#..
	0x0010:  0004 f90d 0000 0203 0017 5265 6365 6976  ..........Receiv
	0x0020:  6564 2050 4144 5420 6672 6f6d 2070 6565  ed.PADT.from.pee
	0x0030:  72                                       r
23:44:45.449654 0us PPPoE PADI [Service-Name] [Host-Uniq 0x030E0000]
	0x0000:  aaaa 0300 0000 8863 1109 0000 000c 0101  .......c........
	0x0010:  0000 0103 0004 030e 0000                 ..........
23:44:45.452041 0us PPPoE PADR [Service-Name] [Host-Uniq 0x030E0000]
	0x0000:  aaaa 0300 0000 8863 1119 0000 000c 0101  .......c........
	0x0010:  0000 0103 0004 030e 0000                 ..........
23:44:46.472082 0us PPPoE PADT [ses 0x72b] [Host-Uniq 0x030E0000] [Generic-Error "Received PADT from peer"]
	0x0000:  aaaa 0300 0000 8863 11a7 072b 0023 0103  .......c...+.#..
	0x0010:  0004 030e 0000 0203 0017 5265 6365 6976  ..........Receiv
	0x0020:  6564 2050 4144 5420 6672 6f6d 2070 6565  ed.PADT.from.pee
	0x0030:  72                                       r
23:44:51.498940 0us PPPoE PADI [Service-Name] [Host-Uniq 0x0D0E0000]
	0x0000:  aaaa 0300 0000 8863 1109 0000 000c 0101  .......c........
	0x0010:  0000 0103 0004 0d0e 0000                 ..........
23:44:51.502880 0us PPPoE PADR [Service-Name] [Host-Uniq 0x0D0E0000]
	0x0000:  aaaa 0300 0000 8863 1119 0000 000c 0101  .......c........
	0x0010:  0000 0103 0004 0d0e 0000                 ..........
23:44:52.583483 0us PPPoE PADT [ses 0x72c] [Host-Uniq 0x0D0E0000] [Generic-Error "Received PADT from peer"]
	0x0000:  aaaa 0300 0000 8863 11a7 072c 0023 0103  .......c...,.#..
	0x0010:  0004 0d0e 0000 0203 0017 5265 6365 6976  ..........Receiv
	0x0020:  6564 2050 4144 5420 6672 6f6d 2070 6565  ed.PADT.from.pee
	0x0030:  72                                       r
23:44:57.602105 0us PPPoE PADI [Service-Name] [Host-Uniq 0x170E0000]
	0x0000:  aaaa 0300 0000 8863 1109 0000 000c 0101  .......c........
	0x0010:  0000 0103 0004 170e 0000                 ..........
23:44:57.608493 0us PPPoE PADR [Service-Name] [Host-Uniq 0x170E0000]
	0x0000:  aaaa 0300 0000 8863 1119 0000 000c 0101  .......c........
	0x0010:  0000 0103 0004 170e 0000                 ..........
23:44:58.625292 0us PPPoE PADT [ses 0x72d] [Host-Uniq 0x170E0000] [Generic-Error "Received PADT from peer"]
	0x0000:  aaaa 0300 0000 8863 11a7 072d 0023 0103  .......c...-.#..
	0x0010:  0004 170e 0000 0203 0017 5265 6365 6976  ..........Receiv
	0x0020:  6564 2050 4144 5420 6672 6f6d 2070 6565  ed.PADT.from.pee
	0x0030:  72                                       r
23:45:03.643411 0us PPPoE PADI [Service-Name] [Host-Uniq 0x210E0000]
	0x0000:  aaaa 0300 0000 8863 1109 0000 000c 0101  .......c........
	0x0010:  0000 0103 0004 210e 0000                 ......!...
23:45:03.645984 0us PPPoE PADR [Service-Name] [Host-Uniq 0x210E0000]
	0x0000:  aaaa 0300 0000 8863 1119 0000 000c 0101  .......c........
	0x0010:  0000 0103 0004 210e 0000                 ......!...
23:45:04.558045 0us PPPoE PADT [ses 0x72e] [Host-Uniq 0x210E0000] [Generic-Error "Received PADT from peer"]
	0x0000:  aaaa 0300 0000 8863 11a7 072e 0023 0103  .......c.....#..
	0x0010:  0004 210e 0000 0203 0017 5265 6365 6976  ..!.......Receiv
	0x0020:  6564 2050 4144 5420 6672 6f6d 2070 6565  ed.PADT.from.pee
	0x0030:  72                                       r
23:45:09.581223 0us PPPoE PADI [Service-Name] [Host-Uniq 0x2B0E0000]
	0x0000:  aaaa 0300 0000 8863 1109 0000 000c 0101  .......c........
	0x0010:  0000 0103 0004 2b0e 0000                 ......+...
23:45:09.587412 0us PPPoE PADR [Service-Name] [Host-Uniq 0x2B0E0000]
	0x0000:  aaaa 0300 0000 8863 1119 0000 000c 0101  .......c........
	0x0010:  0000 0103 0004 2b0e 0000                 ......+...
23:45:10.599959 0us PPPoE PADT [ses 0x72f] [Host-Uniq 0x2B0E0000] [Generic-Error "Received PADT from peer"]
	0x0000:  aaaa 0300 0000 8863 11a7 072f 0023 0103  .......c.../.#..
	0x0010:  0004 2b0e 0000 0203 0017 5265 6365 6976  ..+.......Receiv
	0x0020:  6564 2050 4144 5420 6672 6f6d 2070 6565  ed.PADT.from.pee
	0x0030:  72                                       r
23:45:15.624969 0us PPPoE PADI [Service-Name] [Host-Uniq 0x360E0000]
	0x0000:  aaaa 0300 0000 8863 1109 0000 000c 0101  .......c........
	0x0010:  0000 0103 0004 360e 0000                 ......6...
23:45:15.627310 0us PPPoE PADR [Service-Name] [Host-Uniq 0x360E0000]
	0x0000:  aaaa 0300 0000 8863 1119 0000 000c 0101  .......c........
	0x0010:  0000 0103 0004 360e 0000                 ......6...
23:45:16.537869 0us PPPoE PADT [ses 0x730] [Host-Uniq 0x360E0000] [Generic-Error "Received PADT from peer"]
	0x0000:  aaaa 0300 0000 8863 11a7 0730 0023 0103  .......c...0.#..
	0x0010:  0004 360e 0000 0203 0017 5265 6365 6976  ..6.......Receiv
	0x0020:  6564 2050 4144 5420 6672 6f6d 2070 6565  ed.PADT.from.pee
	0x0030:  72                                       r
23:45:21.557757 0us PPPoE PADI [Service-Name] [Host-Uniq 0x400E0000]
	0x0000:  aaaa 0300 0000 8863 1109 0000 000c 0101  .......c........
	0x0010:  0000 0103 0004 400e 0000                 ......@...
23:45:21.559973 0us PPPoE PADR [Service-Name] [Host-Uniq 0x400E0000]
	0x0000:  aaaa 0300 0000 8863 1119 0000 000c 0101  .......c........
	0x0010:  0000 0103 0004 400e 0000                 ......@...
23:45:22.532960 0us PPPoE PADT [ses 0x731] [Host-Uniq 0x400E0000] [Generic-Error "Received PADT from peer"]
	0x0000:  aaaa 0300 0000 8863 11a7 0731 0023 0103  .......c...1.#..
	0x0010:  0004 400e 0000 0203 0017 5265 6365 6976  ..@.......Receiv
	0x0020:  6564 2050 4144 5420 6672 6f6d 2070 6565  ed.PADT.from.pee
	0x0030:  72                                       r
23:45:27.563481 0us PPPoE PADI [Service-Name] [Host-Uniq 0x4A0E0000]
	0x0000:  aaaa 0300 0000 8863 1109 0000 000c 0101  .......c........
	0x0010:  0000 0103 0004 4a0e 0000                 ......J...
23:45:27.567197 0us PPPoE PADR [Service-Name] [Host-Uniq 0x4A0E0000]
	0x0000:  aaaa 0300 0000 8863 1119 0000 000c 0101  .......c........
	0x0010:  0000 0103 0004 4a0e 0000                 ......J...
23:45:28.577204 0us PPPoE PADT [ses 0x732] [Host-Uniq 0x4A0E0000] [Generic-Error "Received PADT from peer"]
	0x0000:  aaaa 0300 0000 8863 11a7 0732 0023 0103  .......c...2.#..
	0x0010:  0004 4a0e 0000 0203 0017 5265 6365 6976  ..J.......Receiv
	0x0020:  6564 2050 4144 5420 6672 6f6d 2070 6565  ed.PADT.from.pee
	0x0030:  72                                       r
23:45:33.600708 0us PPPoE PADI [Service-Name] [Host-Uniq 0x540E0000]
	0x0000:  aaaa 0300 0000 8863 1109 0000 000c 0101  .......c........
	0x0010:  0000 0103 0004 540e 0000                 ......T...
23:45:33.610386 0us PPPoE PADR [Service-Name] [Host-Uniq 0x540E0000]
	0x0000:  aaaa 0300 0000 8863 1119 0000 000c 0101  .......c........
	0x0010:  0000 0103 0004 540e 0000                 ......T...
23:45:34.621388 0us PPPoE PADT [ses 0x733] [Host-Uniq 0x540E0000] [Generic-Error "Received PADT from peer"]
	0x0000:  aaaa 0300 0000 8863 11a7 0733 0023 0103  .......c...3.#..
	0x0010:  0004 540e 0000 0203 0017 5265 6365 6976  ..T.......Receiv
	0x0020:  6564 2050 4144 5420 6672 6f6d 2070 6565  ed.PADT.from.pee
	0x0030:  72                                       r
23:45:39.639846 0us PPPoE PADI [Service-Name] [Host-Uniq 0x5E0E0000]
	0x0000:  aaaa 0300 0000 8863 1109 0000 000c 0101  .......c........
	0x0010:  0000 0103 0004 5e0e 0000                 ......^...
23:45:39.641989 0us PPPoE PADR [Service-Name] [Host-Uniq 0x5E0E0000]
	0x0000:  aaaa 0300 0000 8863 1119 0000 000c 0101  .......c........
	0x0010:  0000 0103 0004 5e0e 0000                 ......^...
23:45:40.659365 0us PPPoE PADT [ses 0x734] [Host-Uniq 0x5E0E0000] [Generic-Error "Received PADT from peer"]
	0x0000:  aaaa 0300 0000 8863 11a7 0734 0023 0103  .......c...4.#..
	0x0010:  0004 5e0e 0000 0203 0017 5265 6365 6976  ..^.......Receiv
	0x0020:  6564 2050 4144 5420 6672 6f6d 2070 6565  ed.PADT.from.pee
	0x0030:  72                                       r
23:45:45.677759 0us PPPoE PADI [Service-Name] [Host-Uniq 0x680E0000]
	0x0000:  aaaa 0300 0000 8863 1109 0000 000c 0101  .......c........
	0x0010:  0000 0103 0004 680e 0000                 ......h...
23:45:45.680592 0us PPPoE PADR [Service-Name] [Host-Uniq 0x680E0000]
	0x0000:  aaaa 0300 0000 8863 1119 0000 000c 0101  .......c........
	0x0010:  0000 0103 0004 680e 0000                 ......h...
23:45:46.701844 0us PPPoE PADT [ses 0x735] [Host-Uniq 0x680E0000] [Generic-Error "Received PADT from peer"]
	0x0000:  aaaa 0300 0000 8863 11a7 0735 0023 0103  .......c...5.#..
	0x0010:  0004 680e 0000 0203 0017 5265 6365 6976  ..h.......Receiv
	0x0020:  6564 2050 4144 5420 6672 6f6d 2070 6565  ed.PADT.from.pee
	0x0030:  72                                       r
^C
102 packets captured
102 packets received by filter
0 packets dropped by kernel
Zastanawia mnie też linijka

Kod: Zaznacz cały

"Received PADT from peer"
Przedtem nie pojawiał się ten "rodzaj" pakietów. Może to jakieś właśnie konfiguracyjne. Jakieś pomysły? Zobaczcie jeszcze raz to moje badanie sieci.

Obrazek

No to jeszcze jeden pomysł "dlaczego jest źle". Czy w Debianie jest gdzieś zapisana nazwa providera? Jakiś plik, gdzie może być wpisany? Bo znalazłem, że jeżeli jest wprowadzona nazwa użytkownika i jeszcze gdzieś provider to może wystąpić "nadinterpretacja" tego co rozumiemy przez nazwę użytkownika. Konkretnie MS-CHAP może odczytać ją jako

Kod: Zaznacz cały

nazwa_uzytkownika@nazwa.providera.pl
i dlatego powstają błędy w czasie autoryzacji. Czy jest to możliwe?

PS. Dziękuję Olgierd za zainteresowanie :)

: 05 maja 2009, 01:16
autor: xenix_org
A zobaczmy co się dzieje (oczywiscie w momencie łączenia i jako root) jak zrobisz:

Kod: Zaznacz cały

tcpdump -i wlan0 -vv pppoed
a jednoczesnie na drugiej konsoli:

Kod: Zaznacz cały

tcpdump -i wlan0 -vv pppoes
i na końcu wybieramy połączenie.

Nie mam jeszcze pewnosci ale trzeba jeszcze zmienic maximum transfer unit tzw. MTU podaj wyniki tych polecen, które podałem. Ciekawe jak admin skonfigurował pppoe i na jakim windowsie. Ja testowałem na win2000 bo taki tylko posiadałem w pracy. W zasadzie to tak jak mówiłem zainstaluj pod windows wireshark-a i sprawdź co się dzieje podczas połączenia to powiem Ci dokładnie jak trzeba zmienić pliki konfiguracyjne ppp.

Kod: Zaznacz cały

Received PADT from peer
Oznacza to, że serwer odpowiada ale nie może autoryzować połączenia z kilku względów.
MAC adres nie jest na liście akceptowanych, złe hasło lub login itp. Więcej pewnie google powie.

[ Dodano: 2009-05-05, 01:33 ]
lis6502 pisze:Jak to jest z tym całym wlanem? Bo mnie się wydaje że najpierw trzebaby się podłączyć pod jeden z accespointów (ten sam co spod windowsa: SAT_ileśtam), pobrać z niego DHCP, a dopiero później próbować zestawić nieszczęsne PPPoE.
A tak się składa, że kolega jest połączony tylko serwer stoi na windowsie i tu mały problem. Z dhcp nie musisz niczego pobierać ze względu na fakt schematu zestawienia samego protokołu pppoe. Serwer co chwile (dokładnie co 1s ale to kwestia ustawienia) wysyłą pakiet tzw PADI z zaproszeniem. Karty identyfikują się po adresach MAC.
Takie sieci są otwart i bez zabezpieczeń ze względu na fakt mechanizmu "szyfrowania" protokołu i możliwość bezproblemowej identyfikacji klienta po MAC i określonym ID. A jak kolega sobie przypisze IP z dhcp co oczywiście jest możliwe to jest widziany w sieci lokalnej. Dlatego w polecanych ustawieniach do pppoe jest wlączone TYLKO QoS!

: 05 maja 2009, 13:16
autor: wojtasskorcz
Wyniki pppoes i pppoed uruchomionych jednocześnie:

Kod: Zaznacz cały

192:/home/wojtas# tcpdump -i wlan0 -vv pppoed
tcpdump: listening on wlan0, link-type EN10MB (Ethernet), capture size 96 bytes
12:27:43.526540 PPPoE PADI [Service-Name] [Host-Uniq 0x480B0000]
12:27:43.528919 PPPoE PADO [Host-Uniq 0x480B0000] [Service-Name] [AC-Name "BLOKI 15"] [Service-Name "10"] [Service-Name "11"]
12:27:43.528991 PPPoE PADR [Service-Name] [Host-Uniq 0x480B0000]
12:27:43.539761 PPPoE PADO [Host-Uniq 0x480B0000] [Service-Name] [AC-Name "JANIA SERWER"] [Service-Name "service1"]
12:27:43.543296 PPPoE PADS [ses 0x7b7] [Host-Uniq 0x480B0000] [Service-Name]
12:27:43.586585 PPPoE PADT [ses 0x7b7] [Relay-Session-ID]
12:28:13.594522 PPPoE PADI [Service-Name] [Host-Uniq 0x480B0000]
12:28:13.598307 PPPoE PADO [Host-Uniq 0x480B0000] [Service-Name] [AC-Name "BLOKI 15"] [Service-Name "10"] [Service-Name "11"]
12:28:13.598378 PPPoE PADR [Service-Name] [Host-Uniq 0x480B0000]
12:28:13.601866 PPPoE PADO [Host-Uniq 0x480B0000] [Service-Name] [AC-Name "JANIA SERWER"] [Service-Name "service1"]
12:28:13.610249 PPPoE PADS [ses 0x7b8] [Host-Uniq 0x480B0000] [Service-Name]
12:28:13.643940 PPPoE PADT [ses 0x7b8] [Relay-Session-ID]
12:28:43.654642 PPPoE PADI [Service-Name] [Host-Uniq 0x480B0000]
12:28:43.659220 PPPoE PADO [Host-Uniq 0x480B0000] [Service-Name] [AC-Name "BLOKI 15"] [Service-Name "10"] [Service-Name "11"]
12:28:43.659293 PPPoE PADR [Service-Name] [Host-Uniq 0x480B0000]
12:28:43.660893 PPPoE PADO [Host-Uniq 0x480B0000] [Service-Name] [AC-Name "JANIA SERWER"] [Service-Name "service1"]
12:28:43.666822 PPPoE PADS [ses 0x7b9] [Host-Uniq 0x480B0000] [Service-Name]
12:28:43.702921 PPPoE PADT [ses 0x7b9] [Relay-Session-ID]
12:29:13.706513 PPPoE PADI [Service-Name] [Host-Uniq 0x480B0000]
12:29:13.708698 PPPoE PADO [Host-Uniq 0x480B0000] [Service-Name] [AC-Name "BLOKI 15"] [Service-Name "10"] [Service-Name "11"]
12:29:13.708769 PPPoE PADR [Service-Name] [Host-Uniq 0x480B0000]
12:29:13.710492 PPPoE PADO [Host-Uniq 0x480B0000] [Service-Name] [AC-Name "JANIA SERWER"] [Service-Name "service1"]
12:29:13.712735 PPPoE PADS [ses 0x7ba] [Host-Uniq 0x480B0000] [Service-Name]
12:29:13.774956 PPPoE PADT [ses 0x7ba] [Relay-Session-ID]
12:29:43.770538 PPPoE PADI [Service-Name] [Host-Uniq 0x480B0000]
12:29:43.779313 PPPoE PADO [Host-Uniq 0x480B0000] [Service-Name] [AC-Name "BLOKI 15"] [Service-Name "10"] [Service-Name "11"]
12:29:43.779384 PPPoE PADR [Service-Name] [Host-Uniq 0x480B0000]
12:29:43.782196 PPPoE PADO [Host-Uniq 0x480B0000] [Service-Name] [AC-Name "JANIA SERWER"] [Service-Name "service1"]
12:29:43.783202 PPPoE PADS [ses 0x7bb] [Host-Uniq 0x480B0000] [Service-Name]
12:29:43.860468 PPPoE PADT [ses 0x7bb] [Relay-Session-ID]
^C
30 packets captured
30 packets received by filter
0 packets dropped by kernel

Kod: Zaznacz cały

192:/home/wojtas# tcpdump -i wlan0 -vv pppoes
tcpdump: listening on wlan0, link-type EN10MB (Ethernet), capture size 96 bytes
12:27:43.550916 PPPoE  [ses 0x7b7] LCP, Conf-Request (0x01), id 11, length 16
	encoded length 14 (=Option(s) length 10)
	0x0000:  c021 010b 000e
	  MRU Option (0x01), length 4: 1492
	    0x0000:  05d4
	  Magic-Num Option (0x05), length 6: 0xba7b3dab
	    0x0000:  ba7b 3dab
12:27:43.562067 PPPoE  [ses 0x7b7] LCP, Conf-Request (0x01), id 1, length 21
	encoded length 19 (=Option(s) length 15)
	0x0000:  c021 0101 0013
	  Auth-Prot Option (0x03), length 5: CHAP, MS-CHAPv2
	    0x0000:  c223 81
	  MRU Option (0x01), length 4: 1488
	    0x0000:  05d0
	  Magic-Num Option (0x05), length 6: 0x7ad94113
	    0x0000:  7ad9 4113
12:27:43.563223 PPPoE  [ses 0x7b7] LCP, Conf-Ack (0x02), id 11, length 16
	encoded length 14 (=Option(s) length 10)
	0x0000:  c021 020b 000e
	  MRU Option (0x01), length 4: 1492
	    0x0000:  05d4
	  Magic-Num Option (0x05), length 6: 0xba7b3dab
	    0x0000:  ba7b 3dab
12:27:43.568459 PPPoE  [ses 0x7b7] LCP, Conf-Ack (0x02), id 1, length 21
	encoded length 19 (=Option(s) length 15)
	0x0000:  c021 0201 0013
	  Auth-Prot Option (0x03), length 5: CHAP, MS-CHAPv2
	    0x0000:  c223 81
	  MRU Option (0x01), length 4: 1488
	    0x0000:  05d0
	  Magic-Num Option (0x05), length 6: 0x7ad94113
	    0x0000:  7ad9 4113
12:27:43.568505 PPPoE  [ses 0x7b7] LCP, Echo-Request (0x09), id 0, length 10
	encoded length 8 (=Option(s) length 4)
	0x0000:  c021 0900 0008
	  Magic-Num 0xba7b3dab
12:27:43.570516 PPPoE  [ses 0x7b7] CHAP, Challenge (0x01), id 1, Value 8268c07b0864066c5382489a071ec0c1, Name BLOKI 15
12:27:43.571456 PPPoE  [ses 0x7b7] LCP, Echo-Reply (0x0a), id 0, length 10
	encoded length 8 (=Option(s) length 4)
	0x0000:  c021 0a00 0008
	  Magic-Num 0x7ad94113
12:27:43.575668 PPPoE  [ses 0x7b7] CHAP, Response (0x02), id 1, Value e0af50c0bd56d63ce683b38ee6a762bb00000000000000004a1dabd15f3ae553cd86eef6c0d3bca4dd9c976507db7c9300, Name Grajewska_iwona
12:27:43.577765 PPPoE  [ses 0x7b7] CHAP, Fail (0x04), id 1, Msg E=691 R=0 C=8268C07B0864066C5382489A071EC0C1 V=3 M=bad username or p[|chap]
12:27:43.578103 PPPoE  [ses 0x7b7] LCP, Term-Request (0x05), id 12, length 46
	encoded length 44 (=Option(s) length 40)
	0x0000:  c021 050c 002c
12:27:43.579499 PPPoE  [ses 0x7b7] LCP, Term-Request (0x05), id 2, length 48
	encoded length 46 (=Option(s) length 42)
	0x0000:  c021 0502 002e
12:27:43.579523 PPPoE  [ses 0x7b7] LCP, Term-Ack (0x06), id 2, length 6
12:27:43.584105 PPPoE  [ses 0x7b7] LCP, Term-Ack (0x06), id 12, length 6
12:28:13.617654 PPPoE  [ses 0x7b8] LCP, Conf-Request (0x01), id 13, length 16
	encoded length 14 (=Option(s) length 10)
	0x0000:  c021 010d 000e
	  MRU Option (0x01), length 4: 1492
	    0x0000:  05d4
	  Magic-Num Option (0x05), length 6: 0xc32b09c1
	    0x0000:  c32b 09c1
12:28:13.620482 PPPoE  [ses 0x7b8] LCP, Conf-Request (0x01), id 1, length 21
	encoded length 19 (=Option(s) length 15)
	0x0000:  c021 0101 0013
	  Auth-Prot Option (0x03), length 5: CHAP, MS-CHAPv2
	    0x0000:  c223 81
	  MRU Option (0x01), length 4: 1488
	    0x0000:  05d0
	  Magic-Num Option (0x05), length 6: 0x5c080f0c
	    0x0000:  5c08 0f0c
12:28:13.622954 PPPoE  [ses 0x7b8] LCP, Conf-Ack (0x02), id 13, length 16
	encoded length 14 (=Option(s) length 10)
	0x0000:  c021 020d 000e
	  MRU Option (0x01), length 4: 1492
	    0x0000:  05d4
	  Magic-Num Option (0x05), length 6: 0xc32b09c1
	    0x0000:  c32b 09c1
12:28:13.628704 PPPoE  [ses 0x7b8] LCP, Conf-Ack (0x02), id 1, length 21
	encoded length 19 (=Option(s) length 15)
	0x0000:  c021 0201 0013
	  Auth-Prot Option (0x03), length 5: CHAP, MS-CHAPv2
	    0x0000:  c223 81
	  MRU Option (0x01), length 4: 1488
	    0x0000:  05d0
	  Magic-Num Option (0x05), length 6: 0x5c080f0c
	    0x0000:  5c08 0f0c
12:28:13.628750 PPPoE  [ses 0x7b8] LCP, Echo-Request (0x09), id 0, length 10
	encoded length 8 (=Option(s) length 4)
	0x0000:  c021 0900 0008
	  Magic-Num 0xc32b09c1
12:28:13.633709 PPPoE  [ses 0x7b8] CHAP, Challenge (0x01), id 1, Value 2ae9a375bf11e2348c39b6f4f932fd5d, Name BLOKI 15
12:28:13.633893 PPPoE  [ses 0x7b8] CHAP, Response (0x02), id 1, Value 34baa2ba55f4b690958e4b244af07e9a0000000000000000b3f24374db8cdc328a159284a17c2ecc1a408e58d33b89f700, Name Grajewska_iwona
12:28:13.635674 PPPoE  [ses 0x7b8] LCP, Echo-Reply (0x0a), id 0, length 10
	encoded length 8 (=Option(s) length 4)
	0x0000:  c021 0a00 0008
	  Magic-Num 0x5c080f0c
12:28:13.636666 PPPoE  [ses 0x7b8] CHAP, Fail (0x04), id 1, Msg E=691 R=0 C=2AE9A375BF11E2348C39B6F4F932FD5D V=3 M=bad username or p[|chap]
12:28:13.636754 PPPoE  [ses 0x7b8] LCP, Term-Request (0x05), id 14, length 46
	encoded length 44 (=Option(s) length 40)
	0x0000:  c021 050e 002c
12:28:13.638507 PPPoE  [ses 0x7b8] LCP, Term-Request (0x05), id 2, length 48
	encoded length 46 (=Option(s) length 42)
	0x0000:  c021 0502 002e
12:28:13.638533 PPPoE  [ses 0x7b8] LCP, Term-Ack (0x06), id 2, length 6
12:28:13.640223 PPPoE  [ses 0x7b8] LCP, Term-Ack (0x06), id 14, length 6
12:28:43.676254 PPPoE  [ses 0x7b9] LCP, Conf-Request (0x01), id 15, length 16
	encoded length 14 (=Option(s) length 10)
	0x0000:  c021 010f 000e
	  MRU Option (0x01), length 4: 1492
	    0x0000:  05d4
	  Magic-Num Option (0x05), length 6: 0x8034f5c1
	    0x0000:  8034 f5c1
12:28:43.677998 PPPoE  [ses 0x7b9] LCP, Conf-Request (0x01), id 1, length 21
	encoded length 19 (=Option(s) length 15)
	0x0000:  c021 0101 0013
	  Auth-Prot Option (0x03), length 5: CHAP, MS-CHAPv2
	    0x0000:  c223 81
	  MRU Option (0x01), length 4: 1488
	    0x0000:  05d0
	  Magic-Num Option (0x05), length 6: 0xba7a1338
	    0x0000:  ba7a 1338
12:28:43.678166 PPPoE  [ses 0x7b9] LCP, Conf-Ack (0x02), id 1, length 21
	encoded length 19 (=Option(s) length 15)
	0x0000:  c021 0201 0013
	  Auth-Prot Option (0x03), length 5: CHAP, MS-CHAPv2
	    0x0000:  c223 81
	  MRU Option (0x01), length 4: 1488
	    0x0000:  05d0
	  Magic-Num Option (0x05), length 6: 0xba7a1338
	    0x0000:  ba7a 1338
12:28:43.679596 PPPoE  [ses 0x7b9] LCP, Conf-Ack (0x02), id 15, length 16
	encoded length 14 (=Option(s) length 10)
	0x0000:  c021 020f 000e
	  MRU Option (0x01), length 4: 1492
	    0x0000:  05d4
	  Magic-Num Option (0x05), length 6: 0x8034f5c1
	    0x0000:  8034 f5c1
12:28:43.679693 PPPoE  [ses 0x7b9] LCP, Echo-Request (0x09), id 0, length 10
	encoded length 8 (=Option(s) length 4)
	0x0000:  c021 0900 0008
	  Magic-Num 0x8034f5c1
12:28:43.683335 PPPoE  [ses 0x7b9] CHAP, Challenge (0x01), id 1, Value 4bc2cf0b834a88a2a610cc8fb3424ec5, Name BLOKI 15
12:28:43.686802 PPPoE  [ses 0x7b9] LCP, Echo-Reply (0x0a), id 0, length 10
	encoded length 8 (=Option(s) length 4)
	0x0000:  c021 0a00 0008
	  Magic-Num 0xba7a1338
12:28:43.688288 PPPoE  [ses 0x7b9] CHAP, Response (0x02), id 1, Value 1b257e3b11d2af645d7fdcaa8cba115700000000000000000383aff758216c579c37404fcb3ce623a900a5ac7f5d5ba400, Name Grajewska_iwona
12:28:43.693653 PPPoE  [ses 0x7b9] CHAP, Fail (0x04), id 1, Msg E=691 R=0 C=4BC2CF0B834A88A2A610CC8FB3424EC5 V=3 M=bad username or p[|chap]
12:28:43.693778 PPPoE  [ses 0x7b9] LCP, Term-Request (0x05), id 16, length 46
	encoded length 44 (=Option(s) length 40)
	0x0000:  c021 0510 002c
12:28:43.695268 PPPoE  [ses 0x7b9] LCP, Term-Request (0x05), id 2, length 48
	encoded length 46 (=Option(s) length 42)
	0x0000:  c021 0502 002e
12:28:43.695345 PPPoE  [ses 0x7b9] LCP, Term-Ack (0x06), id 2, length 6
12:28:43.696677 PPPoE  [ses 0x7b9] LCP, Term-Ack (0x06), id 16, length 6
12:29:13.720043 PPPoE  [ses 0x7ba] LCP, Conf-Request (0x01), id 17, length 16
	encoded length 14 (=Option(s) length 10)
	0x0000:  c021 0111 000e
	  MRU Option (0x01), length 4: 1492
	    0x0000:  05d4
	  Magic-Num Option (0x05), length 6: 0x95415a9d
	    0x0000:  9541 5a9d
12:29:13.722333 PPPoE  [ses 0x7ba] LCP, Conf-Request (0x01), id 1, length 21
	encoded length 19 (=Option(s) length 15)
	0x0000:  c021 0101 0013
	  Auth-Prot Option (0x03), length 5: CHAP, MS-CHAPv2
	    0x0000:  c223 81
	  MRU Option (0x01), length 4: 1488
	    0x0000:  05d0
	  Magic-Num Option (0x05), length 6: 0x5d668453
	    0x0000:  5d66 8453
12:29:13.723124 PPPoE  [ses 0x7ba] LCP, Conf-Ack (0x02), id 1, length 21
	encoded length 19 (=Option(s) length 15)
	0x0000:  c021 0201 0013
	  Auth-Prot Option (0x03), length 5: CHAP, MS-CHAPv2
	    0x0000:  c223 81
	  MRU Option (0x01), length 4: 1488
	    0x0000:  05d0
	  Magic-Num Option (0x05), length 6: 0x5d668453
	    0x0000:  5d66 8453
12:29:13.724201 PPPoE  [ses 0x7ba] LCP, Conf-Ack (0x02), id 17, length 16
	encoded length 14 (=Option(s) length 10)
	0x0000:  c021 0211 000e
	  MRU Option (0x01), length 4: 1492
	    0x0000:  05d4
	  Magic-Num Option (0x05), length 6: 0x95415a9d
	    0x0000:  9541 5a9d
12:29:13.724360 PPPoE  [ses 0x7ba] LCP, Echo-Request (0x09), id 0, length 10
	encoded length 8 (=Option(s) length 4)
	0x0000:  c021 0900 0008
	  Magic-Num 0x95415a9d
12:29:13.725738 PPPoE  [ses 0x7ba] CHAP, Challenge (0x01), id 1, Value 45576b42b4a4ac655e5db0202dbba377, Name BLOKI 15
12:29:13.725933 PPPoE  [ses 0x7ba] CHAP, Response (0x02), id 1, Value 8dfadf08bbe935c863c8eaded1700b0a00000000000000001a890fa77b209c35548c70e784c3e0486c9fbcab073873ff00, Name Grajewska_iwona
12:29:13.727810 PPPoE  [ses 0x7ba] LCP, Echo-Reply (0x0a), id 0, length 10
	encoded length 8 (=Option(s) length 4)
	0x0000:  c021 0a00 0008
	  Magic-Num 0x5d668453
12:29:13.734106 PPPoE  [ses 0x7ba] CHAP, Fail (0x04), id 1, Msg E=691 R=0 C=45576B42B4A4AC655E5DB0202DBBA377 V=3 M=bad username or p[|chap]
12:29:13.734228 PPPoE  [ses 0x7ba] LCP, Term-Request (0x05), id 18, length 46
	encoded length 44 (=Option(s) length 40)
	0x0000:  c021 0512 002c
12:29:13.737964 PPPoE  [ses 0x7ba] LCP, Term-Request (0x05), id 2, length 48
	encoded length 46 (=Option(s) length 42)
	0x0000:  c021 0502 002e
12:29:13.751076 PPPoE  [ses 0x7ba] LCP, Term-Ack (0x06), id 2, length 6
12:29:13.759654 PPPoE  [ses 0x7ba] LCP, Term-Ack (0x06), id 18, length 6
12:29:43.790521 PPPoE  [ses 0x7bb] LCP, Conf-Request (0x01), id 19, length 16
	encoded length 14 (=Option(s) length 10)
	0x0000:  c021 0113 000e
	  MRU Option (0x01), length 4: 1492
	    0x0000:  05d4
	  Magic-Num Option (0x05), length 6: 0xa8e66b26
	    0x0000:  a8e6 6b26
12:29:43.793360 PPPoE  [ses 0x7bb] LCP, Conf-Request (0x01), id 1, length 21
	encoded length 19 (=Option(s) length 15)
	0x0000:  c021 0101 0013
	  Auth-Prot Option (0x03), length 5: CHAP, MS-CHAPv2
	    0x0000:  c223 81
	  MRU Option (0x01), length 4: 1488
	    0x0000:  05d0
	  Magic-Num Option (0x05), length 6: 0x5307d442
	    0x0000:  5307 d442
12:29:43.793496 PPPoE  [ses 0x7bb] LCP, Conf-Ack (0x02), id 1, length 21
	encoded length 19 (=Option(s) length 15)
	0x0000:  c021 0201 0013
	  Auth-Prot Option (0x03), length 5: CHAP, MS-CHAPv2
	    0x0000:  c223 81
	  MRU Option (0x01), length 4: 1488
	    0x0000:  05d0
	  Magic-Num Option (0x05), length 6: 0x5307d442
	    0x0000:  5307 d442
12:29:43.798070 PPPoE  [ses 0x7bb] LCP, Conf-Ack (0x02), id 19, length 16
	encoded length 14 (=Option(s) length 10)
	0x0000:  c021 0213 000e
	  MRU Option (0x01), length 4: 1492
	    0x0000:  05d4
	  Magic-Num Option (0x05), length 6: 0xa8e66b26
	    0x0000:  a8e6 6b26
12:29:43.798128 PPPoE  [ses 0x7bb] LCP, Echo-Request (0x09), id 0, length 10
	encoded length 8 (=Option(s) length 4)
	0x0000:  c021 0900 0008
	  Magic-Num 0xa8e66b26
12:29:43.799892 PPPoE  [ses 0x7bb] CHAP, Challenge (0x01), id 1, Value ac0754facc787d1dd6b7622d22a5e1c6, Name BLOKI 15
12:29:43.800066 PPPoE  [ses 0x7bb] CHAP, Response (0x02), id 1, Value 1b04134e0fcce2892b69be5026a6cf7900000000000000007f59ef38c1d52d5a5b85428a729c1d4f02c3dee2060ad64c00, Name Grajewska_iwona
12:29:43.809470 PPPoE  [ses 0x7bb] LCP, Echo-Reply (0x0a), id 0, length 10
	encoded length 8 (=Option(s) length 4)
	0x0000:  c021 0a00 0008
	  Magic-Num 0x5307d442
12:29:43.842833 PPPoE  [ses 0x7bb] CHAP, Fail (0x04), id 1, Msg E=691 R=0 C=AC0754FACC787D1DD6B7622D22A5E1C6 V=3 M=bad username or p[|chap]
12:29:43.842938 PPPoE  [ses 0x7bb] LCP, Term-Request (0x05), id 20, length 46
	encoded length 44 (=Option(s) length 40)
	0x0000:  c021 0514 002c
12:29:43.846845 PPPoE  [ses 0x7bb] LCP, Term-Request (0x05), id 2, length 48
	encoded length 46 (=Option(s) length 42)
	0x0000:  c021 0502 002e
12:29:43.846863 PPPoE  [ses 0x7bb] LCP, Term-Ack (0x06), id 2, length 6
12:29:43.856991 PPPoE  [ses 0x7bb] LCP, Term-Ack (0x06), id 20, length 6
^C
65 packets captured
65 packets received by filter
0 packets dropped by kernel
I jeszcze wynik "plog" po tych operacjach:

Kod: Zaznacz cały

192:/home/wojtas# plog
May  5 12:29:13 192 pppd[2888]: CHAP authentication failed
May  5 12:29:13 192 pppd[2888]: Connection terminated.
May  5 12:29:43 192 pppd[2888]: PPP session is 1979
May  5 12:29:43 192 pppd[2888]: Using interface ppp0
May  5 12:29:43 192 pppd[2888]: Connect: ppp0 <--> wlan0
May  5 12:29:43 192 pppd[2888]: MS-CHAP authentication failed: bad username or password
May  5 12:29:43 192 pppd[2888]: CHAP authentication failed
May  5 12:29:43 192 pppd[2888]: Connection terminated.
May  5 12:29:43 192 pppd[2888]: Exit.
Dodatkowo wpisy z niektórych plików z katalogu ppp.

Kod: Zaznacz cały

# /etc/ppp/peers/provider
user "myuser@realm"
connect "/usr/sbin/chat -v -f /etc/chatscripts/pap -T ********"
/dev/modem
115200
noipdefault
usepeerdns
defaultroute
persist
noauth
To jest chyba typowo do modemów, więc tutaj nie zmieniałem nic z tym userem.

Kod: Zaznacz cały

# /etc/ppp/peers/ppp0
noipdefault
replacedefaultroute
hide-password
persist
usepeerdns

Kod: Zaznacz cały

# /etc/ppp/peers/dsl-provider
# MUST CHANGE: Uncomment the following line, replacing the [email]user@provider.net[/email]
# by the DSL user name given to your by your DSL provider.
# (There should be a matching entry in /etc/ppp/pap-secrets with the password.)
#user [email]myusername@myprovider.net[/email]
noipdefault
usepeerdns
defaultroute
hide-password
lcp-echo-interval 20
lcp-echo-failure 3
connect /bin/true
noauth
persist
mtu 1492
noaccomp
default-asyncmap
plugin rp-pppoe.so wlan0
nic-wlan0
user "Tu_moja_nazwa" 

Kod: Zaznacz cały

# /etc/ppp/pap-secrets
"Tu_moja_nazwa" * "moje_haslo"
Wszędzie gdzie jest "Tu_moja_nazwa" lub "moje_haslo" tam dane są poprawne (takie jakie mam od providera).

Zastanawia mnie kilka linijek z tego:

Kod: Zaznacz cały

# /etc/ppp/peers/provider
user "myuser@realm"
Ale jak mówiłem, to chyba do modemów.

Kod: Zaznacz cały

# /etc/ppp/peers/dsl-provider
# MUST CHANGE: Uncomment the following line, replacing the [email]user@provider.net[/email]
# by the DSL user name given to your by your DSL provider.
# (There should be a matching entry in /etc/ppp/pap-secrets with the password.)
#user [email]myusername@myprovider.net[/email]
nic-wlan0
Tutaj za to nie wiem czy usuwać te # i wpisywać swoją nazwę czy zostawić to tak? No i co oznacza "nic-wlan0"?

Już ściągam wireshark'a.

: 05 maja 2009, 14:22
autor: xenix_org

Kod: Zaznacz cały

#user [email]myusername@myprovider.net[/email]
nic-wlan0
Na razie zostaw bez zmian. Czekam na pakiety z wiresharka.

Coś mi się wydaje że zaraz zrobimy to po ppptp bo w PPPoE sesje się nie widzą ale to będzie pewne po pakietach z wiresharka pod Windows. No chyba że admin sieci udzieli informacji jakie połączenie udostępnia i jakiego rodzaju szyfrowania wymaga serwer (dla MS-CHAPv2 to chyba 128bit było...).

: 05 maja 2009, 14:39
autor: wojtasskorcz
Dobra, to zapiszę tracing z Debiana i z Windowsa i albo tutaj dam w załączniku albo wrzucę na jakiś hosting jak będzie duży plik. Już się zabieram za diagnozę (wiresharka na Debiana też pobrałem).

: 05 maja 2009, 14:42
autor: xenix_org
wojtasskorcz pisze:Dobra, to zapiszę tracing z Debiana i z Windowsa i albo tutaj dam w załączniku albo wrzucę na jakiś hosting jak będzie duży plik. Już się zabieram za diagnozę (wiresharka na Debiana też pobrałem).
Debian mnie nie interesuje. Odpal wiresharka na windowsie i poczekaj 10s nastepnie połącz się z siecią i internetem. Zawartość wklej albo podaj link do pliku *.cap. OCZYWISCIE INTERFEJS any. ;)

: 05 maja 2009, 14:50
autor: wojtasskorcz
Czy to nie dziwne, że na Windowsie nie mam interfejsu ANY? Na Debianie jest, ale tutaj go nie widzę. Zresztą spójrz na obrazek:

Obrazek

Zaraz wrzucę plik z mierzenia

Kod: Zaznacz cały

D-Link Air Wireless LAN Adapter
Mam trochę wolny upload (25% wysyłanie na razie).

: 05 maja 2009, 14:54
autor: xenix_org
tylko mi rozłącz ten WAN przed lapaniem pakietów i po 5s podłącz. Wybieramy Dlink Wierles Adap....

: 05 maja 2009, 14:56
autor: wojtasskorcz
Miałem chwilę rozłączony. £ączenie pierwsze zaczyna się w linii 503, potem chwilę go potrzymałem włączonego, znowu rozłączyłem i podłączyłem w linii 3570. Na tych białych obszarach w liniach ok. 503-550 i 3570-3600 odbywa się całe łączenie. Zaraz będzie pliczek.

EDIT: 50%, chwilę trzeba będzie poczekać.

EDIT2: No... Co się walnęło przy 70% i weszło na główną stronę sendspace. Sprawdź proszę tak za godzinę ten temat, powinno już być wszystko dobrze. Wiesz jak to jest z radiówkami, przerwie na moment i jest po wysyłaniu pakietów.

EDIT3: Chyba będę musiał podzielić ten plik na małe części, bo to wysyłanie pakietów jest żałosne u mnie i się czasami zatrzymuje. Cierpliwości (sam ją tracę).

Dobrze, kumpel przez neostradę mi to wrzucił.
Link:
http://www.sendspace.pl/file/8ZHl4IOK/

: 05 maja 2009, 20:35
autor: xenix_org
Ehhh co to za sieć! bałagan :evil:

Tak na przyszłość to masz połączenie PPPoE z szyfrowaniem MS-CHAPv2 (możliwe że to hasa na zasadzie pptp)! £ączysz się do MikroTica, który filtruje Cię po MACu i robi za router. Adres IP i DNSy dostajesz AUTOMATEM. Sprawdź czy pod Linuksem jesteś połączony z tym samym AP co pod Windowsem.

Zainstaluj pakiet:

Kod: Zaznacz cały

apt-get install pptp-linux
Jako root:

Kod: Zaznacz cały

touch /etc/ppp/peers/internet

Kod: Zaznacz cały

mcedit /etc/ppp/peers/internet

Kod: Zaznacz cały

##  PPPoE dla wlan0 MS-CHAPv2
##
#pty "/usr/sbin/pppoe -I wlan0 -T 80 -m 1452"
# IP automatycznie pobierane
noipdefault
# DNS automatycznie pobierane
usepeerdns
defaultroute
hide-password
lcp-echo-interval 20
lcp-echo-failure 3
connect /bin/true
auth
persist
mtu 1492
noaccomp
default-asyncmap
# MSCHAPv2
require-mschap-v2
nomppe-stateful
# dla szyfrowania 128bit
require-mppe-128
plugin rp-pppoe.so wlan0
# plugin radius jest chyba do ms-chap ale nie testowalem z braku czasu ... sprawdz to.
#plugin radius.so
user "LOGIN"
Upewnij się że plik

Kod: Zaznacz cały

/etc/ppp/chap-secrets
masz poprawne hasło...

Jak pppd nie ogarnie to musisz zestawić połączenie przez pptp. Konfiguracja jest banalna.
A pakiet już masz ;) Liczą się teraz tylko chęci i odrobina pracy z Twojej strony. Materiały podałem w którymś z wcześniejszych postów. Myślę że masz już jasny tor do pokonania problemu. A masz już tylko dwie możliwości konfiguracji. Jak to nie zadziała to daj halo opisze przykład jeszcze dla pptp.

Polecam jeszcze to:

Kod: Zaznacz cały

man pptpsetup

Kod: Zaznacz cały

man pppd
Pozdrawiam