Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Build / Install xtables-addons-dkms problem

Featured Replies

Basically, I'm trying to get iptables to block per country: 

https://daenney.github.io/2017/01/07/geoip-filtering-iptables.html

 

I got most of things work until getting problem on installing xtables-addons-dmks

 

# apt-get install --reinstall xtables-addons-dkms

------------------------------

Deleting module version: 2.12

completely from the DKMS tree.

------------------------------

Done.

Unpacking xtables-addons-dkms (2.12-0.1) over (2.12-0.1) ...

Setting up xtables-addons-dkms (2.12-0.1) ...

Loading new xtables-addons-2.12 DKMS files...

Building for 4.4.174-rk3399

Building initial module for 4.4.174-rk3399

Error! Build of xt_ACCOUNT.ko failed for: 4.4.174-rk3399 (aarch64)

Consult the make.log in the build directory

/var/lib/dkms/xtables-addons/2.12/build/ for more information.

 

# cat /var/lib/dkms/xtables-addons/2.12/build/make.log

DKMS make.log for xtables-addons-2.12 for kernel 4.4.174-rk3399 (aarch64)

Mon Mar 25 18:58:27 PDT 2019

make: Entering directory '/usr/src/linux-headers-4.4.174-rk3399'

Makefile:667: arch//Makefile: No such file or directory

make: *** No rule to make target 'arch//Makefile'. Stop.

make: Leaving directory '/usr/src/linux-headers-4.4.174-rk3399'


I have both kernel headers and source installed from armbian-config.

 

Any pointer to get correct commands to solve this problem would be appreciated. 

 

Thanks,

 

From the logs it looks like that architecture definition is missing. Why and where this is pulled out ... no idea is this a problem of DKMS, kernel sources or elsewhere. Very unlikely that has anything to do with our work but there is another solution to this problem. Use build tools and recompile kernel with options you need and send changes upstream, to our kernel config, that you will not lost changes and next upgrade.

  • Author

Thanks Igor.  Got a workaround solution with fail2ban with geoiplookup for what I need. Another day to do as what you suggested. ;-)

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.