Join us on Discord!
You can help CodeWalrus stay online by donating here.

Help for setting up a local DHCP/SMB server on a raspberry pi

Started by gameblabla, December 25, 2019, 10:00:33 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.


Hello guys,
i would like to play PS2 games via a SMB share with my Raspberry Pi directly connected to my PS2's ethernet port.
For this purpose, a tool called pi-smbshare was released :

However, it is ultra slow when it comes to booting up and eats a lot of energy.
Void linux musl ARMv7 boots up much faster and has samba/dnsmasq available.
psx-pi-smbshare uses also samba and dnsmasq.

However, i can't get dnsmasq to work or set up the DHCP server.
It is configured as such in psx-pi-smbshare :


When i do so however, dnsmasq does not attribute ip addresses to my PS2.
They also set eth0 like so :
sudo iptables -F
sudo iptables -t nat -F
sudo sh -c "echo 1 > /proc/sys/net/ipv4/ip_forward"
sudo ifconfig eth0 netmask

# Remove default route created by dhcpcd
sudo ip route del 0/0 dev eth0 &> /dev/null

On the other side, the PS2 is configured like that :

The SMB share is configured like so in smb.conf
workgroup = WORKGROUP
usershare allow guests = yes
map to guest = bad user
allow insecure wide links = yes
Comment = Pi shared folder
Path = /share
Browseable = yes
Writeable = Yes
only guest = no
create mask = 0777
directory mask = 0777
Public = yes
Guest ok = yes
force user = pi
follow symlinks = yes
wide links = yes

Then i connect the PS2 and raspberry pi together. However, it complains that it can't find the SMB share.
(The SMB share works when the raspberry pi is connected to my router but the latency is so high that it's not worth using over USB when doing it like so)

What am i doing wrong ?
  • Calculators owned: None (used to own an Nspire and TI-89)


Well i also tried to do my own distro with buildroot from scratch but this time it won't detect my SMB share...

I'll pay 10€ whoever can help set this up on Void linux musl for the raspberry pi 2/3 and share me the image file.
Because i'm tired of figuring out and i can't get this to work. (i must mention that pi share psx does work but boots up way slower)
  • Calculators owned: None (used to own an Nspire and TI-89)

Powered by EzPortal