[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.

Welcome to the Slackware Documentation Project

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
howtos:hardware:arm:qemu_support_in_slackware_arm [2018/11/30 22:30 (UTC)] – [QEMU NAT Mode Networking] mralk3howtos:hardware:arm:qemu_support_in_slackware_arm [2018/11/30 22:53 (UTC)] – [QEMU Bridged Mode Networking] mralk3
Line 159: Line 159:
 ===== QEMU Network Settings ===== ===== QEMU Network Settings =====
  
-This section covers the process of setting up QEMU guest networking.  Two different processes will be described.  //Network Address Translation mode (NAT)// is the first and recommended way to get a functional network in QEMU guests.  The second is //bridged mode// NAT mode does not allow direct access to the Slackware x86 host's physical network and bridged mode does.  It is best to use bridged mode if you plan on doing any more advanced network operations that require full access to the host and the host's physical network.  Most users will want to use NAT mode.+This section covers the process of setting up QEMU guest networking.  Two different processes will be described.  //Network Address Translation mode (NAT)// is the first and recommended way to get a functional network in QEMU guests.  The second is //bridged mode// NAT mode does not allow direct access to the Slackware x86 host's physical network and bridged mode does.  It is best to use bridged mode if you plan on doing any more advanced network operations that require full access to the host and the host's physical network.  **Most users will want to use NAT mode.**
  
 There are many different ways to configure QEMU guest networking.  This document will only cover the QEMU functionality required to boot Slackware ARM.  Refer to the QEMU man pages or the [[https://www.qemu.org/documentation/ | QEMU documentation]] if you need further explanation. There are many different ways to configure QEMU guest networking.  This document will only cover the QEMU functionality required to boot Slackware ARM.  Refer to the QEMU man pages or the [[https://www.qemu.org/documentation/ | QEMU documentation]] if you need further explanation.
Line 201: Line 201:
 The following network settings are assumed for the **Slackware x86 host machine**.  Adjust these values throughout the remainder of this guide if you use different network settings. The following network settings are assumed for the **Slackware x86 host machine**.  Adjust these values throughout the remainder of this guide if you use different network settings.
 <code> <code>
-Static IP address: 192.168.1.1+Default Gateway: 192.168.1.1 
 +Static IP address: 192.168.1.2
 Network Mask: 255.255.255.0 / 192.168.1.0/24 Network Mask: 255.255.255.0 / 192.168.1.0/24
 +Name server: 192.168.1.1
 </code> </code>
  
Line 251: Line 253:
 At this point it is recommended reboot your Slackware x86 host to assure the settings in rc.local are in use and that NetworkManager is completely disabled. At this point it is recommended reboot your Slackware x86 host to assure the settings in rc.local are in use and that NetworkManager is completely disabled.
  
-<note important>You may need to edit the /etc/resolv.conf file on the host.  Add in the IP addresses of your preferred primary and secondary nameserver(s) since you are not receiving these IP addresses by other means.</note>+<note important>You may need to edit the /etc/resolv.conf file on the host.  Add in the IP addresses of your preferred primary and secondary name server(s) since you are not receiving these IP addresses by other means.  The name server is 192.168.1.1 (or the default gateway) in this tutorial</note>
  
-Modify the launcher helper scripts once you are certain your host has the appropriate network settings.  Pay close attention to the **$NETTYPE** variable.  Details about how to use this variable are documented in both the **installer_launch** and **disk_launch** helper scripts.  Edit the **$MACADDR** variable if you are running more than one Slackware ARM guest in QEMU at once.+Modify the launcher helper scripts once you are certain your host has the appropriate network settings.  Pay close attention to the **$NETTYPE** variable.  Details about how to use this variable are documented in both the **installer_launch** and **disk_launch** helper scripts.  Edit the **$MACADDR** variable for each QEMU instance if you are running more than one Slackware ARM guest at once.
 ===== Install Slackware ARM ===== ===== Install Slackware ARM =====
  
Line 289: Line 291:
 The full path of the NFS share is required: The full path of the NFS share is required:
 <code> <code>
-Enter the IP address: 192.168.1.br0 or eth0 IP address+Enter the IP address: 192.168.1.Host machine IP address
 Enter the directory: /export/slackwarearm/$SLACKREL/slackware Enter the directory: /export/slackwarearm/$SLACKREL/slackware
 </code> </code>
 howtos:hardware:arm:qemu_support_in_slackware_arm ()