Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
no network after install (in the hyperv virtual env)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
jentuu
n00b
n00b


Joined: 26 Jan 2006
Posts: 41
Location: Georgia, Tbilisi

PostPosted: Fri Sep 25, 2020 1:35 pm    Post subject: no network after install (in the hyperv virtual env) Reply with quote

Hello all
Gentoo was my favorite Linux years ago and I decided return to it and play with it when I have free time, so I installed Gentoo in the hyper-v virtual environment and now I have some difficulties after install I have no network interfaces, ifconfig -a shows nothing except lo
I searched issues like this on the internet but couldn't resolve the problem
P.S. for install process I used ubutnu live cd not gentoo native live cd I suggest that it caused the problem but not sure, what do you think is it worth to reinstall the system with gentoo livecd?

Thank you :oops:
_________________
just emerge
Back to top
View user's profile Send private message
alamahant
Guru
Guru


Joined: 23 Mar 2019
Posts: 555

PostPosted: Fri Sep 25, 2020 2:57 pm    Post subject: Reply with quote

Hi
In the Ubuntu live cd do you have connectivity?
If not then it is the Hyperv that is not creating ifaces for the guest.
If you do then Gentoo is probably misconfigured.
This has nothing to do with using ubuntu live cd to install Gentoo.
You can use any livecd you like.
In fact using ubuntu or some other gui livecd is much preferable....
:D
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 46700
Location: 56N 3W

PostPosted: Fri Sep 25, 2020 4:35 pm    Post subject: Reply with quote

jentuu,

The boot media is just a toolkit to accomplish the install.
As you don't have any interfaces listed in
Code:
ifconfig -a
The driver for the interface provided by hyper-v is not loaded.

Boot your install toolkit then run
Code:
lspci -nnk

Find your ethernet interface in the list and make a note of the kernel driver in use.

Go into your Gentoo and make sure that the driver you need is available.

Hypervisors often emulate obsolete hardware that nobody under the age of 50 has heard of.
Some hypervisors also support virtio interfaces, which do not use any hardware emulation.

If you need help finding the driver in your kernel, copy/paste the lspci output that relates to your network interface.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
jentuu
n00b
n00b


Joined: 26 Jan 2006
Posts: 41
Location: Georgia, Tbilisi

PostPosted: Fri Oct 30, 2020 5:37 pm    Post subject: Reply with quote

problem solved: I decided to install Distribution kernel "sys-kernel/gentoo-kernel-bin" also emerged dhcp client and network is up and running now

thank you very much for reply <3
_________________
just emerge
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum