Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
network_issues [2022/07/15 04:23] – add manual connection (thanks alixnah), need to rewrite for later atarinetwork_issues [2023/08/19 00:44] (current) – formatting + spelling, rename header to something informative, WIP notes atari
Line 60: Line 60:
  
 ===== Manually set up a network connection ===== ===== 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> <WRAP center round todo>
-Needs a rewrite.+Actual instructions.
 </WRAP> </WRAP>
  
-This is the format of the commands to be used in the Batocera machine in the terminal (even if said machine is offline the network cable must be connected and the connection lights working) +  - Edit the file at ''/etc/init.d/816x.conf'' blacklisting ''r8169'' instead of ''r8168''
- +  Run ''batocera-save-overlay''.
-1st) ''connmanctl services'' -> to find out the name of the network cardIt should give a result like this: ethernet_[macAddress]_cable+
  
-2nd) Use that info with the following command like this:+==== RealTek 8169 Ethernet Ethernet controller ====
  
-''%%connmanctl config ethernet_[macAddress]_cable --ipv4 manual [ipAddress] [netMask] [gateway] --nameservers [dns1] [dns2]%%''+  - Open the file at ''/etc/init.d/blacklist-r8169.conf'' and remove the comment from the line ''blacklist r8169''
 +  Run ''batocera-save-overlay''.
  
-No need to do anything else, the change takes on immediately.+===== 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.1657859001.txt.gz
  • Last modified: 4 years ago
  • by atari