Opened 12 years ago

Closed 12 years ago

#48 closed defect (fixed)

iw in debwrt, why

Reported by: Geert Stappers <stappers@…> Owned by: amain
Priority: major Milestone: milestone:
Component: debian/packages Version: 2.0
Severity: Keywords:


iw seems to be the succesor of iwconfig

DebWrt has it's own iw package and Debian has an iw package.
and )

But why?, I can't see why DebWrt build this package.
What makes this package special?

asking because he gets an build error on the iw package

Attachments (0)

Change History (8)

comment:1 Changed 12 years ago by Geert Stappers <stappers@…>

The build error

make[1]: Entering directory `/usr/src/iw/iw-0.9.19'
Makefile:38: *** Cannot find development files for any supported version of libnl.  Stop.
make[1]: Leaving directory `/usr/src/iw/iw-0.9.19'

comment:2 Changed 12 years ago by Geert Stappers <stappers@…>

Unified patch that avoids build iw

--- debian/package/    (revision 136)
+++ debian/package/    (working copy)
@@ -16,7 +16,6 @@
 # along with this program.  If not, see <>.
 include $(TOPDIR)/debian/package/libnl/
-include $(TOPDIR)/debian/package/iw/
 include $(TOPDIR)/debian/package/debwrt-kernel-headers/
 include $(TOPDIR)/debian/package/robocfg/
 include $(TOPDIR)/debian/package/nvram/
@@ -27,7 +26,7 @@
 include $(TOPDIR)/debian/package/libnl-tiny/
 include $(TOPDIR)/debian/package/swconfig/
-debian/package/rootfs: debian/package/iw          \
+debian/package/rootfs: \
                        debian/package/libnl       \
                        debian/package/robocfg     \
                        debian/package/nvram       \

comment:3 Changed 12 years ago by amain

  • Status changed from new to accepted

iw package is not in Lenny, therefore this packages was added, and to make sure we had the latest version / same version as OpenWrt is using. See

Please install the Debian version of the iw package and confirm that the Debian package is working correctly. If so, I will apply this patch.

comment:4 Changed 12 years ago by amain

Related to bug #46

comment:5 Changed 12 years ago by Geert Stappers <stappers@…>

Currently I'm build for a "OpenWrt device" that has no WIFI.

Here the build depends that are in the Debian version of iw

--- debian/package/iw/debian/control    (revision 140)
+++ debian/package/iw/debian/control    (working copy)
@@ -2,7 +2,9 @@
 Section: net
 Priority: extra
 Maintainer: Amain ( <>
-Build-Depends: debhelper (>= 7)
+Build-Depends: debhelper (>= 7),
+ libnl-dev (>= 1.1),
+ pkg-config (>= 0.22)
 Standards-Version: 3.7.3

( not tested by me, because I have "iw build disabled" )

comment:6 Changed 12 years ago by sniperpr@…

hi Geert Stappers

if disable iw. how to use wifi? :)

comment:7 Changed 12 years ago by stappers

Only the build is disabled in my local build environment.

I have installed iw, but still no wifi hardware on my machine.

root@debwrt:~# aptitude install iw
The following NEW packages will be installed:
  iw libnl1{a} 
0 packages upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 158 kB of archives. After unpacking 578 kB will be used.
Do you want to continue? [Y/n/?] 
Get:1 squeeze/main libnl1 mipsel 1.1-6 [121 kB]
Get:2 squeeze/main iw mipsel 0.9.19-1 [36.9 kB]
Fetched 158 kB in 0s (257 kB/s)
Selecting previously deselected package libnl1.
(Reading database ... 10656 files and directories currently installed.)
Unpacking libnl1 (from .../libnl1_1.1-6_mipsel.deb) ...
Selecting previously deselected package iw.
Unpacking iw (from .../iw_0.9.19-1_mipsel.deb) ...
Processing triggers for man-db ...
Setting up libnl1 (1.1-6) ...
Setting up iw (0.9.19-1) ...
root@debwrt:~# which iw
root@debwrt:~# iw list
nl80211 not found.

comment:8 Changed 12 years ago by amain

  • Resolution set to fixed
  • Status changed from accepted to closed

Compile error fixed on iw package in r 150. I advice using the cross-compiled debwrt version. Though the debian original version should work as well.

Add Comment

Modify Ticket

as closed The owner will remain amain.
The resolution will be deleted. Next status will be 'reopened'.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.