Skip to content

Setup TP link 722n v2 on Odroid XU4

Giovanni Bruno edited this page Jan 30, 2018 · 2 revisions

based on this odroid forum topic
NOTE: do everything as superuser (sudo su)


1. kernel updates

wget http://builder.mdrjr.net/tools/kernel-update.sh
chmod +x kernel-update.sh
sudo ./kernel-update.sh

2. kernel sources in /usr/src/linux

NOTE: check version on github:
wget https://github.com/hardkernel/linux/archive/odroidxu4-4.14.y.zip
mv odroidxu4-4.14.y.zip /usr/src/linux.zip
cd /usr/src
7z x -y linux.zip
ln -s linux-odroidxu4-4.14.y linux

3. check kernel version

NOTE: extraversion should be with minus e.g. 4.14.5-92 -> extraversion is -92
cd /usr/src/linux
uname -a
now check and edit Makefile using nano
head Makefile

4. copy required configuration

ll arch/arm/configs
cp arch/arm/configs/odroidxu4_defconfig ./.config

5. install ncurses library

apt-get install libncurses5-dev

6. run kernel source configuration

NOTE: just exit
make menuconfig
make prepare
make modules_prepare

7. download driver

git clone https://github.com/lwfinger/rtl8188eu

8. build it

cd rtl8188eu
make clean
CONFIG_RTL8188EU=m make -C /usr/src/linux M=`pwd`

9. copy it

cp 8188eu.ko /lib/modules/uname -r/kernel/drivers/net/wireless/
depmod -a
modprobe 8188eu
NOTE: if errors appear use dmesg

10. test wifi

lsmod
iwlist wlan0 scan

11. configure

nmtui
check using
nmcli c
ifconfig -a