Skip to content

Instantly share code, notes, and snippets.

@ambud
Last active January 4, 2023 07:15
Show Gist options
  • Save ambud/f64e85a6cd8399d89d7039e7ecff8c78 to your computer and use it in GitHub Desktop.
Save ambud/f64e85a6cd8399d89d7039e7ecff8c78 to your computer and use it in GitHub Desktop.
AWS ENA Driver Installation
#!/bin/bash
#
# Author: Ambud Sharma
# Purpose: Install AWS ENA driver for Enhanced Networking
#
sudo yum -y install kernel-devel-$(uname -r)
sudo yum -y install gcc git
git clone https://github.com/amzn/amzn-drivers.git
cd amzn-drivers/kernel/linux/ena
make
sudo insmod ena.ko
lsmod | grep ena
sudo cp ena.ko /lib/modules/$(uname -r)/
sudo depmod
echo "modprobe ena" | sudo tee --append /etc/rc.d/rc.local
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment