toolboc / psx-pi-smbshare

A swiss army knife for enhancing classic game consoles with Raspberry Pi
387 stars 34 forks source link

Disabling DHCP server #19

Closed lostless closed 3 years ago

lostless commented 3 years ago

Is there instructions on how to disable the DHCP server and have the pi get an address from my router? I would be nice to access the pi from my local network and not have it dedicated to just my PS2. Or perhaps have an 2nd image with the DHCP server disabled for local network use as well without causing issues making a random second subnet that just knocks out many devices on a LAN.

toolboc commented 3 years ago

The pi can get an ip address from a router by configuring WiFi, either by using the onboard WiFi present on some models of Pi 2/3 or a compatible USB WiFi adapter. There is no need to disable the DHCP server, the WiFi will register as separate interface on wlan0/1 in addition to eth0, and be accessible on the WiFi router’s network. The DCHP server will not interfere as it exists on its own subnet.

The reason the Ethernet port is used is because a variety of game consoles have this port present and this project uses that mechanism to provide a direct connection from the console to the services on the pi (WiFi, XlinkKai, SMB, ps3netsrv etc), a DHCP server is required to facilitate this.

https://github.com/toolboc/psx-pi-smbshare#configuring-wireless-network

If you wish to serve to your consoles completely wirelessly, that is also possible to by adding a second WiFi dongle.

https://github.com/toolboc/psx-pi-smbshare#using-a-second-wifi-interface-as-an-access-point-to-xlink-kai