Skip to content

Commit e016baf

Browse files
committed
feat: Support DHCP and DNS
1 parent e3838b6 commit e016baf

File tree

4 files changed

+14
-3
lines changed

4 files changed

+14
-3
lines changed

rootfs/buildroot/etc/dnsmasq.conf

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# DHCP
2+
interface=eth0
3+
bind-interfaces
4+
# start, end, subnet, lease-time
5+
dhcp-range=10.1.1.2,10.1.1.254,255.255.255.0,48h
6+
dhcp-option=3,10.1.1.1
7+
dhcp-option=6,10.1.1.1
8+
9+
# DNS
10+
address=/psfree-luckfox.local/10.1.1.1
11+
address=/playstation.net/10.1.1.1

rootfs/buildroot/etc/init.d/S99-01-psfreeluckfox

Lines changed: 0 additions & 3 deletions
This file was deleted.
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/bin/sh
2+
cd /root/PSFree-Luckfox
3+
python serve.py --port 80 --redirect-playstation-domain "http://psfree-luckfox.local" &

0 commit comments

Comments
 (0)