Aaron <regtothismail@...> writes: > > Hello, > > I have problems with building and installing compat-wireless-3.3-rc1-2 > drivers due to modprobe -l option is obsolete. > Debian wheezy/sid > Linux laptop 3.2.0-2-amd64 #1 SMP Sun Mar 4 22:48:17 UTC 2012 x86_64 > GNU/Linux > > # make install > /sbin/modprobe: invalid option -- 'l' > /sbin/modprobe: invalid option -- 'l' > > Your old wireless subsystem modules were left intact: > > /sbin/modprobe: invalid option -- 'l' > make: *** [uninstall] Error 1 > > Best regards, > Aaron > -- > To unsubscribe from this list: send the line "unsubscribe linux-wireless" in > the body of a message to majordomo@... > More majordomo info at http://vger.kernel.org/majordomo-info.html > > Try run next #################################################### cat > /sbin/modprobe.sh <<EOF #!/bin/bash if [[ \$1 == -l ]] then if [ -z \$2 ] then find /lib/modules/\$(uname -r) -name '*.ko' | sed -e "s#\/lib\/modules\/\$(uname -r)\/##g" else find /lib/modules/\$(uname -r) -name '*.ko' | sed -e "s#\/lib\/modules\/\$(uname -r)\/##g" | grep \$2 fi else /sbin/modprobe \$@ fi EOF chmod +x /sbin/modprobe.sh alias modprobe=/sbin/modprobe.sh echo "alias modprobe=/sbin/modprobe.sh" >> /etc/bash.bashrc cp Makefile Makefile.save sed -i -e 's/^MODPROBE.*/MODPROBE := \/sbin\/modprobe.sh/g' Makefile -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html