LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation
User Name
Password
Slackware - Installation This forum is for the discussion of installation issues with Slackware.

Notices


Reply
  Search this Thread
Old 04-02-2022, 09:55 AM   #1
phanthaihuan
LQ Newbie
 
Registered: Jan 2010
Location: Vietnam
Distribution: RHEL, CentOS, Debian, Ubuntu
Posts: 8

Rep: Reputation: 0
Question eth0 is not avilable after installing slackware14.2 or slackware15 as KVM guest


Hi folks,

I was trying to install Slackware14.2/Slackware15 64bit as KVM guest but I got the same problem was that I could not see eth0 to be available after installation.

KVM host: CentOS 7

Slackware as KVM guest:
- Network source: Virtual network 'default': NAT
- Device model: rtl8139

I only see "lo" in the folder /sys/class/net

Could you please recommend some hints?

Thank you in advance,
Huan Phan
 
Old 04-02-2022, 10:12 AM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,309

Rep: Reputation: 2326Reputation: 2326Reputation: 2326Reputation: 2326Reputation: 2326Reputation: 2326Reputation: 2326Reputation: 2326Reputation: 2326Reputation: 2326Reputation: 2326
OK.

My understanding is that the host grabs all peripherals unless told explicitly not to do so. You have to ensure the driver/firmware for your nic are not loaded by the host. Then when the guest boots up, it sees an unitialised nic, and initialises it in the guest, not the host. I'm not hot on VMs, so good luck with that.
 
Old 04-03-2022, 02:43 PM   #3
phanthaihuan
LQ Newbie
 
Registered: Jan 2010
Location: Vietnam
Distribution: RHEL, CentOS, Debian, Ubuntu
Posts: 8

Original Poster
Rep: Reputation: 0
Thumbs up

Quote:
Originally Posted by business_kid View Post
OK.

My understanding is that the host grabs all peripherals unless told explicitly not to do so. You have to ensure the driver/firmware for your nic are not loaded by the host. Then when the guest boots up, it sees an unitialised nic, and initialises it in the guest, not the host. I'm not hot on VMs, so good luck with that.
Hi business_kid,

Thank you for your help.

Here is what I have done to make it worked:

In "Virtual Network Interface", I set as below:

Network Source: Virtual network 'default': NAT
Device model: virtio

Best regards,
Huan Phan
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Kernel-based Virtual Machine (KVM): Switching from KVM guest to host (e.g. Linux Mint) & maximize guest screen fanoflq Linux - Newbie 2 07-13-2016 06:10 PM
suggest me an applet in kde to control the volume avilable in FC2 amolgupta Linux - Software 2 07-25-2005 05:28 AM
Whether something is avilable in kernel prabhatsoni Linux - Software 3 11-29-2004 05:46 AM
is there any tool avilable to convert java/sql code into asp.net/sql2000 rddreamz Programming 1 11-08-2004 02:16 PM
how to make my computer avilable on internet as webserver peevee Linux - Networking 2 10-24-2004 12:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation

All times are GMT -5. The time now is 02:30 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration