Skip to content

Networking for the PlayStation 2

Fredrik Noring edited this page Jun 27, 2026 · 20 revisions

Although drivers for PlayStation 2 Ethernet hardware have not been implemented yet (see issue #19), it’s easy to use a corresponding Ethernet USB adapter, for example a D-Link DUB-1312, having USB id 0b95:1790, based on Asix Electronics AX88179 gigabit Ethernet hardware. It’s preconfigured as a loadable module with CONFIG_USB_NET_AX88179_178A=m in arch/mips/configs/ps2_defconfig, installed as initramfs/lib/modules/5.4.221+/kernel/drivers/net/usb/ax88179_178a.ko in the INITRAMFS.

Configure IP address

The PlayStation 2 can obtain an IP address in several ways, including DHCP. One of the simplest is to configure a fixed IP address, by editing initramfs/etc/init.d/rcS, adding at the end, assuming your network prefix is 10.0.1.0, for example:

modprobe cdc_mbim
modprobe ax88179_178a

ip addr add 10.0.1.101/24 dev eth0
ip link set eth0 up
ip route add default via 10.0.1.1
ip route add 10.0.1.0/24 via 10.0.1.1 dev eth0

On your workstation, you should now be able to ping the PlayStation 2 with

$ ping 10.0.1.101
PING 10.0.1.101 (10.0.1.101) 56(84) bytes of data.
64 bytes from 10.0.1.101: icmp_seq=1 ttl=64 time=0.567 ms
64 bytes from 10.0.1.101: icmp_seq=2 ttl=64 time=0.576 ms
64 bytes from 10.0.1.101: icmp_seq=3 ttl=64 time=0.569 ms
...

Adding a line 10.0.1.101 ps2.local to your workstation’s /etc/hosts file allows host names, as in

$ ping ps2.local
PING ps2.local (10.0.1.101) 56(84) bytes of data.
64 bytes from ps2.local (10.0.1.101): icmp_seq=1 ttl=64 time=0.531 ms
64 bytes from ps2.local (10.0.1.101): icmp_seq=2 ttl=64 time=0.561 ms
64 bytes from ps2.local (10.0.1.101): icmp_seq=3 ttl=64 time=0.538 ms
...

Configure secure shell (SSH)

The INITRAMFS is preinstalled with Dropbear, for secure shell (SSH) services, with /etc/inetd.conf and programs compiled and installed in /usr/bin:

dropbear -> dropbearmulti
dropbearmulti
scp -> dropbearmulti
ssh -> dropbearmulti

Note

You will need to install SSH keys yourself to make use of Dropbear.

Tip

Installing your own certificates, in particular, makes it possible to login without password prompts, and automate scripted commands on PlayStation 2 hardware.

Clone this wiki locally