Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
New genkernel broked networking and ssh in initramfs
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
UralZima
n00b
n00b


Joined: 04 Mar 2017
Posts: 9

PostPosted: Sat Sep 16, 2017 1:09 pm    Post subject: New genkernel broked networking and ssh in initramfs Reply with quote

Hi folks! I use LUKS + ZFS on rootfs and unlocking it via dropbear in initramfs.
I made a script, that patch initramfs (init script, adds dropbear, etc) and packs it back, when you need to update a kernel. I spent much time for it, to make it working with my broadcom network card, which requires also a firmware in initramfs.

I was forced to upgrade genkernel from 3.4 versions to latest 3.5.2.1, because new ZFS-0.7.1 requires it. Now it is not working. Seems network module fails to load, and udhcpd is also added for unknown reason.

the networking part of my script was (net.ifnames=0 in kernel):
ifconfig -a -s #list available interfaces
ifconfig eth0 ip.ip.ip.ip netmask 255.255.255.0
ifconfig eth0 up
route add default gw gw.gw.gw.gw

it worked on old version. Now it says:
ifconfig: -s: no such device

bnx2 is compiled into kernel (=y). Firmware is included in initramfs.

I found a new option in genkernel SSH="yes/no", but no any documentation on it, and don't know how to enable static ip networking, instead of patching init file.

Please help
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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