This is a static archive of our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

How to list all pppoe concentrators with tshark ?

0

How to list all pppoe concentrators with tshark ?

asked 30 Mar '15, 19:01

coopermine's gravatar image

coopermine
6224
accept rate: 0%

1

can you please add more details what you are looking for?

(31 Mar '15, 03:31) Kurt Knochner ♦

I need to find out the name of concetradores pppoe that are active my network. like - > http://pppoem.com/

(31 Mar '15, 09:48) coopermine

One Answer:

1

I need to find out the name of concetradores pppoe that are active my network. like -

O.K. then please try this:

tshark -ni eth0 -Y "pppoe.code == 0x07" -T fields -e pppoed.tags.ac_name

If you are on Windows, please replace eth0 with the interface index of your LAN interface.

Hint: This will only print the AC names. If you need any other field, please add them with additional -e options.

https://www.wireshark.org/docs/dfref/p/pppoed.html

Regards
Kurt

answered 31 Mar '15, 10:48

Kurt%20Knochner's gravatar image

Kurt Knochner ♦
24.8k1039237
accept rate: 15%

Great answer !!! Thank U.

Well now listen to all PADO packets coming in my interface.

I have two more questions.

1 - I get a PADO when my interface sends a PADI . How can I send PADI for the broadcast?

2 - How can I receive all PADO network packets without filter only my interface? ( packets sent to other interfaces on the same network ?

Excuse my English. I appreciate your help.

(31 Mar '15, 11:31) coopermine

1: --> scapy: http://www.secdev.org/projects/scapy/ Tutorial: http://www.secdev.org/projects/scapy/doc/usage.html#interactive-tutorial
2: --> as the PADO is unicast, the only option I see is: switch mirror port or hub (see: https://wiki.wireshark.org/CaptureSetup/Ethernet )

(31 Mar '15, 13:43) Kurt Knochner ♦