A good day to everybody.
I am running 11.1
My laptop died, I switched to a Lenovo X201 by simply transplanting the HDD.
The system runs well but obviously does see neither the wireless nor the ethernet.
I am using 99% the wireless and 3G so I can live comfortably without ethernet.
The aim of this thread is to help me when problems arise with the installation process.
I will have to install:
wpa supplicant (last version)
iw
compat-wireless latest version and a few others.
My first question does arise here:
Where can I find the directory for the reg.bin file?
It should be REG-BIN I guess, i tried with locate and whereis but no success.
So first question is: in which directory OpenSUSE stores REG BIN?
Thank you
Do you mean /usr/lib/crda/regulatory.bin? It is in the crda package.
You may have to download the source and build it yourself. See
http://wireless.kernel.org/en/developers/Regulatory.
Hi and thank you very much for the reply. Since I have already to build the compat-wireless, this will be no worry. Actually they distribute the file and say to just copy it into the directory (that I did not find) that you listed. Thank you for that. I will also try to compile all recent packages requested. The rest is in the repository, little things are missing. One doubt i have: I have the rpm compat-wireless installed. Do I have to uninstall before I build?
Thank you.
On 01/12/2011 02:36 PM, stakanov wrote:
>
> Hi and thank you very much for the reply. Since I have already to build
> the compat-wireless, this will be no worry. Actually they distribute the
> file and say to just copy it into the directory (that I did not find)
> that you listed. Thank you for that. I will also try to compile all
> recent packages requested. The rest is in the repository, little things
> are missing. One doubt i have: I have the rpm compat-wireless installed.
> Do I have to uninstall before I build?
> Thank you.
No. If you build any driver or program and install it, it generally just
overwrites the installed version. In this case, only the crda database would be
written.
Getting following error trying to run make
linux-2c5j:/home/user/Software/LinuxCompatWireless/compat-wireless-2.6.36-5-spn # make
./scripts/gen-compat-autoconf.sh config.mk > include/linux/compat_autoconf.h
make -C /lib/modules/2.6.27.56-0.1-pae/build M=/home/user/Software/LinuxCompatWireless/compat-wireless-2.6.36-5-spn modules
make[1]: Entering directory `/usr/src/linux-2.6.27.56-0.1-obj/i386/pae'
make[1]: *** No rule to make target `modules'. Stop.
make[1]: Leaving directory `/usr/src/linux-2.6.27.56-0.1-obj/i386/pae'
make: *** [modules] Error 2
Kernel Headers are installed. Where does it go wrong?
Sorry that was actually my fault. The wrong headers where installed.
Nevertheless the make command ends now with an error message. Any hint on what the machine is complaining now?
from /home/user/Software/LinuxCompatWireless/compat-wireless-2.6.36-5-spn/include/linux/compat-2.6.h:23,
from <command-line>:0:
/usr/src/linux-2.6.27.56-0.1/include/linux/module.h:463: warning: ‘struct tracepoint_iter’ declared inside parameter list
/usr/src/linux-2.6.27.56-0.1/include/linux/module.h:463: warning: its scope is only this definition or declaration, which is probably not what you want
CC [M] /home/user/Software/LinuxCompatWireless/compat-wireless-2.6.36-5-spn/net/bluetooth/sco.o
In file included from /usr/src/linux-2.6.27.56-0.1/include/linux/textsearch.h:7,
from /usr/src/linux-2.6.27.56-0.1/include/linux/skbuff.h:26,
from /home/user/Software/LinuxCompatWireless/compat-wireless-2.6.36-5-spn/include/linux/compat-2.6.28.h:8,
from /home/user/Software/LinuxCompatWireless/compat-wireless-2.6.36-5-spn/include/linux/compat-2.6.h:23,
from <command-line>:0:
/usr/src/linux-2.6.27.56-0.1/include/linux/module.h:463: warning: ‘struct tracepoint_iter’ declared inside parameter list
/usr/src/linux-2.6.27.56-0.1/include/linux/module.h:463: warning: its scope is only this definition or declaration, which is probably not what you want
LD /home/user/Software/LinuxCompatWireless/compat-wireless-2.6.36-5-spn/net/bluetooth/bnep/built-in.o
CC [M] /home/user/Software/LinuxCompatWireless/compat-wireless-2.6.36-5-spn/net/bluetooth/bnep/core.o
In file included from /usr/src/linux-2.6.27.56-0.1/include/linux/textsearch.h:7,
from /usr/src/linux-2.6.27.56-0.1/include/linux/skbuff.h:26,
from /home/user/Software/LinuxCompatWireless/compat-wireless-2.6.36-5-spn/include/linux/compat-2.6.28.h:8,
from /home/user/Software/LinuxCompatWireless/compat-wireless-2.6.36-5-spn/include/linux/compat-2.6.h:23,
from <command-line>:0:
/usr/src/linux-2.6.27.56-0.1/include/linux/module.h:463: warning: ‘struct tracepoint_iter’ declared inside parameter list
/usr/src/linux-2.6.27.56-0.1/include/linux/module.h:463: warning: its scope is only this definition or declaration, which is probably not what you want
CC [M] /home/user/Software/LinuxCompatWireless/compat-wireless-2.6.36-5-spn/net/bluetooth/bnep/sock.o
In file included from /usr/src/linux-2.6.27.56-0.1/include/linux/textsearch.h:7,
from /usr/src/linux-2.6.27.56-0.1/include/linux/skbuff.h:26,
from /home/user/Software/LinuxCompatWireless/compat-wireless-2.6.36-5-spn/include/linux/compat-2.6.28.h:8,
from /home/user/Software/LinuxCompatWireless/compat-wireless-2.6.36-5-spn/include/linux/compat-2.6.h:23,
from <command-line>:0:
/usr/src/linux-2.6.27.56-0.1/include/linux/module.h:463: warning: ‘struct tracepoint_iter’ declared inside parameter list
/usr/src/linux-2.6.27.56-0.1/include/linux/module.h:463: warning: its scope is only this definition or declaration, which is probably not what you want
CC [M] /home/user/Software/LinuxCompatWireless/compat-wireless-2.6.36-5-spn/net/bluetooth/bnep/netdev.o
SNIP - cut to comply with site limitations
5-spn/net/wireless/wext-compat.c:985: error: ‘struct wireless_dev’ has no member named ‘wext’
/home/user/Software/LinuxCompatWireless/compat-wireless-2.6.36-5-spn/net/wireless/wext-compat.c:988: error: ‘struct wireless_dev’ has no member named ‘wext’
/home/user/Software/LinuxCompatWireless/compat-wireless-2.6.36-5-spn/net/wireless/wext-compat.c: In function ‘cfg80211_set_cipher_pairwise’:
/home/user/Software/LinuxCompatWireless/compat-wireless-2.6.36-5-spn/net/wireless/wext-compat.c:998: error: ‘struct wireless_dev’ has no member named ‘wext’
/home/user/Software/LinuxCompatWireless/compat-wireless-2.6.36-5-spn/net/wireless/wext-compat.c:1027: error: ‘struct wireless_dev’ has no member named ‘wext’
/home/user/Software/LinuxCompatWireless/compat-wireless-2.6.36-5-spn/net/wireless/wext-compat.c: In function ‘cfg80211_set_key_mgt’:
/home/user/Software/LinuxCompatWireless/compat-wireless-2.6.36-5-spn/net/wireless/wext-compat.c:1042: error: ‘struct wireless_dev’ has no member named ‘wext’
/home/user/Software/LinuxCompatWireless/compat-wireless-2.6.36-5-spn/net/wireless/wext-compat.c:1048: error: ‘struct wireless_dev’ has no member named ‘wext’
/home/user/Software/LinuxCompatWireless/compat-wireless-2.6.36-5-spn/net/wireless/wext-compat.c:1053: error: ‘struct wireless_dev’ has no member named ‘wext’
/home/user/Software/LinuxCompatWireless/compat-wireless-2.6.36-5-spn/net/wireless/wext-compat.c: In function ‘cfg80211_wext_siwauth’:
/home/user/Software/LinuxCompatWireless/compat-wireless-2.6.36-5-spn/net/wireless/wext-compat.c:1069: error: ‘struct wireless_dev’ has no member named ‘wext’
/home/user/Software/LinuxCompatWireless/compat-wireless-2.6.36-5-spn/net/wireless/wext-compat.c: In function ‘cfg80211_wds_wext_siwap’:
/home/user/Software/LinuxCompatWireless/compat-wireless-2.6.36-5-spn/net/wireless/wext-compat.c:1186: error: ‘struct wireless_dev’ has no member named ‘wext’
/home/user/Software/LinuxCompatWireless/compat-wireless-2.6.36-5-spn/net/wireless/wext-compat.c:1186: error: ‘struct wireless_dev’ has no member named ‘wext’
/home/user/Software/LinuxCompatWireless/compat-wireless-2.6.36-5-spn/net/wireless/wext-compat.c: In function ‘cfg80211_wds_wext_giwap’:
/home/user/Software/LinuxCompatWireless/compat-wireless-2.6.36-5-spn/net/wireless/wext-compat.c:1201: error: ‘struct wireless_dev’ has no member named ‘wext’
/home/user/Software/LinuxCompatWireless/compat-wireless-2.6.36-5-spn/net/wireless/wext-compat.c:1201: **error: ‘struct wireless_dev’ has no member named ‘wext’**
make[5]: *** [/home/user/Software/LinuxCompatWireless/compat-wireless-2.6.36-5-spn/net/wireless/wext-compat.o] **Error 1**
make[4]: *** [/home/user/Software/LinuxCompatWireless/compat-wireless-2.6.36-5-spn/net/wireless] Error 2
make[3]: *** [_module_/home/user/Software/LinuxCompatWireless/compat-wireless-2.6.36-5-spn] Error 2
make[2]: *** [sub-make] **Error 2**
make[1]: *** [all] **Error 2**
make[1]: Leaving directory `/usr/src/linux-2.6.27.56-0.1-obj/i386/pae'
make: *** [modules] **Error 2**
Emphasis added.
Compat-wireless is generated from the wireless components in the latest kernel,
which is now 2.6.37. As the kernel evolves, features get added and subtracted.
When you try to build it on an earlier version, ALL those changes must be
implemented by patches. Obviously, the process is not complete and accurate for
the kernel you are using. You need to post your error messages to the mailing
list at linux-wireless@vger.kernel.org and tell them what kernel you are using.
Actually, while googling for the error I did find it as a known bug (since 2009). Now…maybe I have simply to wait for having more time versus the end of this month and to update the whole kernel right away and then patch it, probably less problems then.
No, it is not easy to get away from the standard distribution. But I will try anyway. Thank you for your replies. I appreciated.
Update:
I have now updated the kernel with the HEAD repository and it worked flawlessly. The ethernet and wlan are now recognized without problem.
On the Lenovo X201 there is also one of these pitiful GOBI2000 devices (for WAN - 3g). Why in the world the do not put Huawei I do not know but the known restrictions apply (you have to install the GOBI-loader with make and you have to extract the proprietary Qualcomm firmware. So I have to have the kernel sources (and I hope the ones given in HEAD as debug sources or vanilla sources are going to do the trick - as the “desktop kernel” does not have sources in the repository). And you need the kernel sources to build the package in order to load the firmware for the GOBI2000 device.
If I manage to do this too I will update here on this. If somebody knows the name of the correct header package please let me know:
# uname -a
Linux linux-2c5j 2.6.37-39-desktop #1 SMP PREEMPT 2011-01-14 16:30:38 +0100 i686 i686 i386 GNU/Linux
Cheers and thanks to who made himself the work and packaged the newest kernel for 11.1. I really appreciate.