Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
network_issues [2022/07/15 04:16] – created atarinetwork_issues [2023/08/19 00:44] (current) – formatting + spelling, rename header to something informative, WIP notes atari
Line 18: Line 18:
 </WRAP> </WRAP>
  
-==== I can't access the Batocera network share to add my ROMs! ====+===== I can't access the Batocera network share to add my ROMs! =====
  
 **If it's just not appearing**, first of all ensure that your computer and the Batocera machine are connected to the same network (sometimes routers will separate the Wi-Fi and Ethernet networks, but most will combine them internally). Then, you can type ''\\BATOCERA'' (under Windows or MacOS) or ''smb:%%//%%BATOCERA.local'' (under Linux) to directly navigate to the Batocera network share. If your router doesn't support hostnames properly (many old routers do not), type in the IP address of the Batocera machine instead of its hostname (for example, ''\\192.168.1.2''). You can find the IP address under **MAIN MENU** -> **NETWORK SETTINGS** -> **IP ADDRESS**. **If it's just not appearing**, first of all ensure that your computer and the Batocera machine are connected to the same network (sometimes routers will separate the Wi-Fi and Ethernet networks, but most will combine them internally). Then, you can type ''\\BATOCERA'' (under Windows or MacOS) or ''smb:%%//%%BATOCERA.local'' (under Linux) to directly navigate to the Batocera network share. If your router doesn't support hostnames properly (many old routers do not), type in the IP address of the Batocera machine instead of its hostname (for example, ''\\192.168.1.2''). You can find the IP address under **MAIN MENU** -> **NETWORK SETTINGS** -> **IP ADDRESS**.
Line 48: Line 48:
   - Repeat steps 6 and 7 one more time. This will set the configuration for both the user and the default user. Repeat again if there are more users. If you only want to set it to the current user, set it only once.   - Repeat steps 6 and 7 one more time. This will set the configuration for both the user and the default user. Repeat again if there are more users. If you only want to set it to the current user, set it only once.
  
-==== Ethernet connected but no data ====+===== Ethernet connected but no data =====
  
 This is for if you having trouble connecting to the network via an ethernet cable, which otherwise works fine with Windows. Note if the link LED (the orange one that stays steadily lit, not the yellow one which flashes) turns on when your computer shows you the POST screen (where you press a button to enter BIOS settings) or if until Windows has started booting. If it doesn't turn on until Windows is booting, you may need to disable the 'Shutdown Wake-On-LAN' feature of your Realtek ethernet adapter. This is for if you having trouble connecting to the network via an ethernet cable, which otherwise works fine with Windows. Note if the link LED (the orange one that stays steadily lit, not the yellow one which flashes) turns on when your computer shows you the POST screen (where you press a button to enter BIOS settings) or if until Windows has started booting. If it doesn't turn on until Windows is booting, you may need to disable the 'Shutdown Wake-On-LAN' feature of your Realtek ethernet adapter.
Line 59: Line 59:
 If that did not do anything, you may need to also activate such a feature within your BIOS settings. This may be referred to as "Onboard LAN Boot ROM", "Allow waking via LAN ROM" or something similar. If that did not do anything, you may need to also activate such a feature within your BIOS settings. This may be referred to as "Onboard LAN Boot ROM", "Allow waking via LAN ROM" or something similar.
  
 +===== Manually set up a network connection =====
 +
 +This is how to manually configure and initiate a network connection if the auto-configuration has failed. Note that the Ethernet cable must be connected and the status lights on the connector must be lighting up, otherwise it is simply a hardware issue (try a different cable, port, etc.).
 +
 +  - [[:access_the_batocera_via_ssh|Open up an xterm window]] (press ''[F1]'' on the system list -> **Appplications** -> **xterm**)
 +  - Run <code bash>
 +connmanctl services
 +</code> (FIXME what does this return?)
 +  - Then using the information from that, run the following command replacing the parts in ''<>'' symbols: <code bash>
 +connmanctl config ethernet_<MAC_address>_cable --ipv4 manual <IP_address> <netmask> <gateway> --nameservers <DNS_1> <DNS_2>
 +</code> (FIXME provide real-world example)
 +
 +Changes will take effect immediately.
 +
 +===== Ethernet adapter not functioning at all =====
 +
 +In certain cases it may be required to disable the Linux kernel driver in favor of the vendor driver if provided (FIXME where from?).
 +
 +(FIXME how can Ethernet adapters be identified?)
 +
 +(FIXME if we know which models specifically don't work can't we fix this at the source?)
 +
 +==== Realtek 8111 Ethernet adapter ====
 +
 +<WRAP center round todo>
 +Actual instructions.
 +</WRAP>
 +
 +  - Edit the file at ''/etc/init.d/816x.conf'' blacklisting ''r8169'' instead of ''r8168''.
 +  - Run ''batocera-save-overlay''.
 +
 +==== RealTek 8169 Ethernet Ethernet controller ====
 +
 +  - Open the file at ''/etc/init.d/blacklist-r8169.conf'' and remove the comment from the line ''blacklist r8169''.
 +  - Run ''batocera-save-overlay''.
 +
 +===== Known issues =====
 +
 +RealTek 8169 Ethernet Ethernet controller does not run at 2.5GHz on a supported LAN. (FIXME this should link to the Github report for updates)
  • network_issues.1657858568.txt.gz
  • Last modified: 4 years ago
  • by atari