Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Raspberry Pi #10

Closed
capturepi opened this issue Feb 12, 2017 · 6 comments
Closed

Raspberry Pi #10

capturepi opened this issue Feb 12, 2017 · 6 comments

Comments

@capturepi
Copy link

Is there a walk through for installing on PwnPi 4.1.19-v7+ or the latest Raspbian 4.4.38.
I've installed the kernel headers.
Compiling appears to work however 8812au.ko states that it is in the wrong format when I run insmod.
The driver doesn't appear to load.

My Alfa adapters works on the latest Kali VM so it's not that.

@astsam
Copy link
Owner

astsam commented Feb 12, 2017

Run file 8812au.ko and attach output.

@gymnae
Copy link

gymnae commented Mar 4, 2017

What would be the make command or makefile adjustment to compile for arm v7? I can't find the architecture toggle for building on an arm system

@astsam
Copy link
Owner

astsam commented Mar 6, 2017

$ make KSRC=<path to kernel sources> CROSS_COMPILE=<appropriate cross compilation prefix> ARCH=arm

@ledjohnny
Copy link

ledjohnny commented Mar 6, 2017

Here's what I did to get it to compile on my Pi (some steps taken from here):

  1. Download rpi-source [1]
    sudo wget https://raw.githubusercontent.com/notro/rpi-source/master/rpi-source -O /usr/bin/rpi-source && sudo chmod +x /usr/bin/rpi-source && /usr/bin/rpi-source -q --tag-update

  2. Install bc (required by rpi-source)
    sudo apt-get install bc

  3. Run rpi-source to get the required kernel headers
    rpi-source

  4. Download the driver
    git clone https://github.com/astsam/rtl8812au.git

  5. Make the driver
    make CROSS_COMPILE=arm-linux-gnueabihf- ARCH=arm

  6. Install the driver

    sudo make install
    sudo modprobe 8812au
    

@astsam
Copy link
Owner

astsam commented Mar 8, 2017

  1. Download the driver

Better use the branch v4.3.21
git clone -b v4.3.21 https://github.com/astsam/rtl8812au

@tangibilizing
Copy link

I am on a raspberry pi zero w ,

Make the driver
make CROSS_COMPILE=arm-linux-gnueabihf- ARCH=arm

should I change the "arm-linux-gnueabihf- ARCH=arm" to "arm-linux-gnueabiel- ARCH=arm"

cause I am using armel not the armhf

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants