How to Access Batocera from PC: Network Guide
In this article
Yes, you can access your Batocera Linux system from a Windows PC. This is primarily achieved by enabling the SMB (Server Message Block) file sharing service within Batocera’s settings, which allows your PC to browse and transfer ROMs, saves, and configuration files over your local network. You will need both devices connected to the same router or Wi-Fi network.
What You'll Need
- A PC running Windows 10 or 11
- A device running Batocera Linux (Raspberry Pi, x86 PC, or similar)
- Both devices connected to the same local network
- The IP address of your Batocera system
Step-by-Step
- Find the Batocera IP Address: On your Batocera device, press the Start button (usually the Xbox button on a controller or F4 on a keyboard). Navigate to System Settings > Network. Look for the IPv4 Address field. Write this number down; it typically looks like 192.168.1.x.
- Enable File Sharing in Batocera: While still in the System Settings menu, scroll down to find File Sharing. Toggle this option to Enabled. By default, Batocera uses the username "batocera" with no password. If you have changed these credentials previously, use those instead.
- Configure Windows Firewall (If Needed): On rare occasions, Windows Defender may block incoming connection requests. If you cannot connect later, ensure that "File and Printer Sharing" is allowed through your Windows Firewall for Private networks. Usually, this is not required if both devices are on the same home network.
- Access via File Explorer: On your PC, open File Explorer. In the address bar at the top, type
\\batoceraand press Enter. Alternatively, you can type\\[Batocera_IP_Address](e.g.,\\192.168.1.50). Pressing Enter should prompt you for login credentials. - Enter Credentials: When prompted, enter the username
batocera. Leave the password field blank unless you set a custom password earlier. Click Next or OK. - Navigate Your Shares: Once connected, you will see folders such as saves, roms, system, and userdata. You can now drag and drop ROM files into the respective folders or copy save states from the saves folder to your PC for backup.
Common Mistakes
One frequent error is attempting to access the system using an incorrect protocol. Ensure you are using the SMB protocol (Windows networking) and not trying to use FTP or SSH unless you have explicitly enabled those services in Batocera. Another common mistake is forgetting that the default password is empty. Users often try to guess a password or use their Windows login details, which will fail. Always remember the default user is "batocera" with no password.
Additionally, users sometimes forget that the IP address might change if their router assigns addresses dynamically via DHCP. If your connection fails after a reboot, check the Batocera network settings again to confirm the IP hasn't shifted.
Tips
To make future access easier, consider assigning a static IP address to your Batocera device in your router's settings. This ensures the IP address remains constant, allowing you to always use the same shortcut in your Windows address bar. You can also create a mapped network drive in Windows. Right-click "This PC," select "Map network drive," and assign a drive letter (like Z:) to \\batocera. This makes accessing your console feel like accessing a local hard drive.
If you plan to transfer large amounts of data frequently, ensure your router supports Gigabit Ethernet. Wireless transfers can be significantly slower, especially when moving high-resolution game ISOs. For the best performance, connect both the Batocera device and the PC via Ethernet cables if possible.
Troubleshooting
If you receive a "Network path not found" error, verify that the Batocera device is powered on and connected to the network. Check if the IP address has changed by re-checking the System Settings menu on the console. Ensure you are typing the backslashes correctly (\\) in the Windows address bar, not forward slashes.
If you get an "Access Denied" or authentication error, double-check the username. It must be lowercase "batocera." If you previously changed the password, ensure you are entering the new one. If you cannot remember the password, you may need to reset the system settings or edit the configuration files directly on the SD card/USB drive from another computer.
If the connection times out, check your router's firewall settings. Some routers isolate devices on the same Wi-Fi network (AP Isolation), preventing them from communicating. Disable AP Isolation in your router settings if it is enabled. Finally, ensure that the SMB protocol version is compatible; modern Batocera versions support SMBv2 and SMBv3, which are required for Windows 10 and 11.
Frequently Asked Questions
Can I access Batocera from a Mac?
Yes. Open Finder, press Command+K, and enter smb://batocera or smb://[IP_ADDRESS]. Use the username "batocera" and leave the password blank.
Is it safe to share my Batocera system?
It is safe for local network access. However, do not expose the SMB port to the public internet without strong security measures, as the default installation has weak authentication.
Why can't I write to the roms folder?
Batocera mounts the ROMs partition as read-only by default to protect system integrity. To add games, you must enable the writable flag in the Batocera UI or mount the partition as read-write temporarily.
Does Batocera support Samba 4?
Modern versions of Batocera run a recent version of Samba, ensuring compatibility with Windows 10 and 11. Older legacy versions may have had issues with newer Windows clients.
Can I stream games from PC to Batocera?
No, Batocera is designed to play locally stored ROMs. It does not support streaming games from a PC over the network natively. You would need third-party tools or emulators that support remote loading, which is not standard.
What if I changed the username?
If you changed the username in the System Settings, you must use that new username when logging in from your PC. The password field behavior depends on whether you set a custom password during that change.