Giter Club home page Giter Club logo

Comments (8)

petronazeh avatar petronazeh commented on September 12, 2024 2

guys i have note 3 n9005 htle i installed nethunter on aryamod rom modified stock touch wiz and i have mt7601 wifi adapter it shows lsusb that the adapter connected but when i set it up shows nothing so i must install drivers and compile my 3.4.111 nethuner kerenal so how i can run that adapter on my note

from amzn-drivers.

cristiansavaro avatar cristiansavaro commented on September 12, 2024 1

After discussing offline with @akiyano i was able to put together a script that handles the patching, the build process and auto-loading of the module at boot time, using the above mentioned patch :

yum -y install gcc make rpm-build git
yum -y install kernel-devel-$(uname -r)
cd /root
git clone https://github.com/amzn/amzn-drivers
curl -s https://path_to_patch/RHEL7.5-compilation.patch > /root/RHEL7.5-compilation.patch
cd /root/amzn-drivers
patch -p1 < ../RHEL7.5-compilation.patch
git tag -d ena_linux_1.5.2
git config --global user.email "your@email"
git config --global user.name "Your Name"
git add kernel/linux/ena/ena_netdev.c kernel/linux/ena/kcompat.h
git commit -m "added RHEL7.5-compilation.patch"
git tag ena_linux_1.5.2
cd /root/amzn-drivers/kernel/linux/rpm
make rpm
rpm -Uvh /root/amzn-drivers/kernel/linux/rpm/x86_64/kmod-ena*.rpm --force --nodeps
echo "ena" > /etc/modules-load.d/ena.conf

from amzn-drivers.

akiyano avatar akiyano commented on September 12, 2024

Hi @cristiansavaro,

This is the same as #64
Please use the same patch I provided there:
0001-Compilation-temporary-fix-for-RHEL7.5-compilation-er.patch.txt
A fix will be included in the next release.

Regards,
Arthur

from amzn-drivers.

cristiansavaro avatar cristiansavaro commented on September 12, 2024

@akiyano thanks. i will try this patch today.

from amzn-drivers.

cristiansavaro avatar cristiansavaro commented on September 12, 2024

the patch is successful but the error persists.

from amzn-drivers.

akiyano avatar akiyano commented on September 12, 2024

Hi @cristiansavaro ,

I've tested this patch on the kernel version you have.
I suggest we continue this discussion offline.
Please contact me via email - [email protected]

Best regards,
Arthur

from amzn-drivers.

akiyano avatar akiyano commented on September 12, 2024

Patching is no longer necessary, the fix is included in version 1.5.3.

from amzn-drivers.

akiyano avatar akiyano commented on September 12, 2024

Hi @petronazeh,

Here we deal with issues with the ENA driver.
You are asking a question that is unrelated to us.
We can't help you with that.

Arthur

from amzn-drivers.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.