modify this def send_padi(smac="00:2B:67:F8:1F:78", vlan=0) right?
modify it how? like for vlan in range (0, 4096)?
cause we want it to check all available vlan tags from 0 to 4096
could you create a small script to get the vlan id only? no gui or anything. your script seems to work but vlan id is not working. if you only give a script to get vlan id.
I've recently completed a significant refinement of the script often circulated as the "Simple PPPoE scanner Python Script" (originally by JB701—thanks for the foundation!). I've named this improved version VLAN Hunter. The goal was to create a robust, accurate tool for a common issue: finding the specific VLAN ID required for PPPoE connections when setting up a custom router.
A major benefit of this script is that it removes the need for specialized external hardware. You no longer need devices like the XZ000 G3 just for VLAN scanning—your Linux PC can handle it.
Technical Summary & Features:
Core Function: Scans all possible VLAN IDs (1-4094, plus untagged) to capture the correct PPPoE Active Discovery Offer (PADO) from your ISP's network.
Automated Setup: The script is self-contained. It handles dependency checks and automatic installation of necessary packages (like scapy and pip).
User Interface: Requires minimal interaction. When run, it provides an interactive menu to select the appropriate network interface.
System Integrity: Guarantees a clean exit. The script automatically restores system configurations and removes any temporary files or packages it installed.
Platform: Linux only (sudo required).
Prerequisites Checklist (Read First):
Before execution, ensure these conditions are met for successful scanning:
ONT/Router Configuration: Must be in bridge or transparent mode.
Physical Connection: Connect a LAN port from your ISP device/ONT directly to the machine running the script.
Internet Access: The host PC must have temporary internet connectivity for the initial package installation phase.
Security: Using a bootable Linux USB OS is advised if you prefer to isolate the process from your main operating system.
@x86_64 yes. They are both made with the help of AI (and several hours of trial & error and testing from my end). This is the final script and should work on all Linux machines without any issues.
This website uses affiliate links. This means that if you click on a link and make a purchase, we may receive a commission. This does not affect the price you pay for the product.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.