Difference between revisions of "Guides:MAME - Networking"

From Wah!ki
Jump to navigation Jump to search
Line 2: Line 2:
  
  
compile with USE_NETWORK=1
+
compile with USE_NETWORK=1  
  
 +
OSD_NET_USE_TAPTUN=1 might be required as well to pull in the drive
 +
 +
<nowiki>
 +
#if defined(OSD_NET_USE_TAPTUN)
 +
</nowiki>
  
 
mame -listnetworks (should show the available devices, not just TAP/TUN ?)
 
mame -listnetworks (should show the available devices, not just TAP/TUN ?)
Line 31: Line 36:
  
 
sudo ip link delete mametap0
 
sudo ip link delete mametap0
 +
 +
 +
 +
References
 +
* https://forums.bannister.org/ubbthreads.php?ubb=showflat&Number=115314
 +
* https://www.naturalborncoder.com/virtualization/2014/10/17/understanding-tun-tap-interfaces/
 +
* https://virt.kernelnewbies.org/MacVTap
 +
* https://github.com/mamedev/mame/tree/2ca5f3a386a1ca63433d6d13bb66f5e46fb2a854/src/osd/modules/netdev

Revision as of 05:35, 20 March 2021

just notes here


compile with USE_NETWORK=1

OSD_NET_USE_TAPTUN=1 might be required as well to pull in the drive

#if defined(OSD_NET_USE_TAPTUN)

mame -listnetworks (should show the available devices, not just TAP/TUN ?)


tap/tun device


dos ne2000

  • ne2000.com 0x60


Drivers/Software


sudo ip link add link enp4s0 name mametap0 type macvtap
sudo ip link set mametap0 address 00:00:1B:4A:3A:F2 up
ip link show mametap0


sudo ip link delete mametap0


References