[Guide] Raspberry Pi: Wi-Fi to Ethernet Repeater

Online games, how to get online, and anything involving Dreamcast online can be discussed here.

Moderator: pcwzrd13

User avatar
Scrivani
Vagabond
Posts: 724
Contact:

[Guide] Raspberry Pi: Wi-Fi to Ethernet Repeater

Post#1 » Sat Aug 06, 2022 5:15 pm

Share Wi-Fi connection through network port ( ethernet / cable )

For BBA porpuses, if you're "far" from cables source and your Raspberry has Wi-Fi.

I researched about it and there is an easy way to do it.
One more utility for the RaspberryPi used in the DreamPi.

Share the internet that is connected via WiFi with a device connected to the raspberry LAN port. Like your Dreamcast + BBA or any other network equipment you want.
Same way a normal Wi-Fi repeater with ethernet port does.

To not reinvent the wheel, there's a good job already done on this, with automatic script.
Source/Credits:
https://github.com/arpitjindal97/raspbi ... h-route.sh

Installation Guide:
1. Access your Raspberry Pi command line
2. Download the script. Run:

Code: Select all

wget https://raw.githubusercontent.com/arpitjindal97/raspbian-recipes/master/wifi-to-eth-route.sh

3. Give execution permission. Run:

Code: Select all

sudo chmod +x wifi-to-eth-route.sh

4. Important Clean Configuration to not impact normal DreamPi (modem) behavior. Run:

Code: Select all

sudo nano /etc/rc.local

Inside Nano text editor, navigate and add fallowing line in the final of rc.local file, before exit 0

Code: Select all

rm /etc/dnsmasq.d/*.*

rc.local.png


Regular Use Guide:
1. Access your Raspberry Pi line command
2. Starting the Repeater Routing Service. Run:

Code: Select all

sudo ./wifi-to-eth-route.sh

3. Plug the network cable into the device you want to share the internet. You should use a CAT5 cable.
4. Enjoy. When you're done, rebooting or powering off your Raspberry backs everything to normal as before and for dreampi modem normal use.





I have verified that this does not impact the normal usage of DreamPi(modem) unless you don't miss the fourth step of the installation step.
Why this? Because the script creates a customized dnsmasq file and this need to be removed every reboot, to not interfere with the original dreampi dnsmasq file.

:)

This script uses the fallowing IP Addressing pattern:
ip_address="192.168.2.1"
netmask="255.255.255.0"
dhcp_range_start="192.168.2.2"
dhcp_range_end="192.168.2.100"
dhcp_time="12h"

If your Dreamcast is set to DHCP, no action need, if is set to static IP, should look like this

ip_address="192.168.2.10"
netmask="255.255.255.0"
gateway="192.168.2.2"
dns_server 1="46.101.91.123"
dns_server 2="192.168.2.1"
Attachments
POD_BBA_CONFIG.png
Last edited by Scrivani on Sun Dec 11, 2022 10:17 pm, edited 5 times in total.
Happy if may help:
- BBA Mode for DreamPi: https://bit.ly/3JEIuhs
- VPN Port Fowarding: https://bit.ly/3Bgw4bu
- DC Now Data Analysis: https://bit.ly/42coxXw
- DC KARA NOT DEAD AT ALL- VCD Method: https://bit.ly/3P6VePw
- Know part of BR Community: https://bit.ly/3iLXS12

User avatar
deluxux
1300
Posts: 1395

Re: [Guide] Raspberry Pi: Wi-Fi to Ethernet Repeater

Post#2 » Sat Aug 06, 2022 6:30 pm

Now this is cool 8-)

User avatar
Scrivani
Vagabond
Posts: 724
Contact:

Re: [Guide] Raspberry Pi: Wi-Fi to Ethernet Repeater

Post#3 » Sat Aug 06, 2022 7:06 pm

You know what? Still able to web browsing with WRP resource (guide by deluxux).

WRP_BBA_ETH_SHARING.png



How-To Install WRP on DreamPi - Dreamcast web browsers on the modern web.
https://dreamcast-talk.com/forum/viewto ... =3&t=13503
Happy if may help:
- BBA Mode for DreamPi: https://bit.ly/3JEIuhs
- VPN Port Fowarding: https://bit.ly/3Bgw4bu
- DC Now Data Analysis: https://bit.ly/42coxXw
- DC KARA NOT DEAD AT ALL- VCD Method: https://bit.ly/3P6VePw
- Know part of BR Community: https://bit.ly/3iLXS12

User avatar
Scrivani
Vagabond
Posts: 724
Contact:

Re: [Guide] Raspberry Pi: Wi-Fi to Ethernet Repeater

Post#4 » Sat Aug 06, 2022 8:27 pm

I've made an update on Installation Guide, If you have already installed, just redo step 4, editing rc.local file.
Happy if may help:
- BBA Mode for DreamPi: https://bit.ly/3JEIuhs
- VPN Port Fowarding: https://bit.ly/3Bgw4bu
- DC Now Data Analysis: https://bit.ly/42coxXw
- DC KARA NOT DEAD AT ALL- VCD Method: https://bit.ly/3P6VePw
- Know part of BR Community: https://bit.ly/3iLXS12

  • Similar Topics
    Replies
    Views
    Last post

Return to “Online”

Who is online

Users browsing this forum: No registered users