The original PlayStation 2 does not have built-in internet connectivity—there is no Ethernet port and no Wi-Fi capability. Sony released a network adapter for the PS2, but it was discontinued long ago, is extremely rare, and was never officially supported for online gaming in the way modern consoles are.
For native online gaming, the PlayStation 3 and later consoles include full internet connectivity out of the box.