Results 1 to 3 of 3
I've tried following a few of the general guides I've seen online with absolutely no luck.
I'm running a Toshiba M100 laptop with a built-in Intel 3945ABG WLAN card. I've ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 03-27-2009 #1Just Joined!
- Join Date
- Mar 2009
- Posts
- 1
New Ubuntu User, Wireless Troubles
I've tried following a few of the general guides I've seen online with absolutely no luck.
I'm running a Toshiba M100 laptop with a built-in Intel 3945ABG WLAN card. I've downloaded the Linux driver from the Intel website in the form of a .tgz file. Here are the instructions I've been following from the included README file:
First, we build and install the ieee80211 subsystem. You can obtain
the latest ieee80211 subsystem from ieee80211 subsystem for Linux. We
recommend version 1.1.12 or newer:
% tar xzvf ieee80211-1.2.16.tgz
% cd ieee80211-1.2.16
% make
# make install <--- You may need to be root
% cd ..
If you encounter problems with the above, you may need to install the
ieee80211 sources into your kernel and then build it as part of your
kernel image. See the INSTALL and README.ieee80211 files provided in
the ieee80211 subsystem package for more information.
Once the ieee80211 subsystem is installed, we build the ipw3945.ko module:
% tar xzvf ipw3945-1.2.2.tgz
% cd ipw3945-1.2.2
% make
When I input the first 'make' command, I get the following output:
Makefile:17:
Makefile:18: WARNING: $SHELL not set to bash.
Makefile:19: If you experience build errors, try
Makefile:20: 'make SHELL=/bin/bash'.
Makefile:21:
Checking in /lib/modules/2.6.27-7-generic for ieee80211 components...
make -C /lib/modules/2.6.27-7-generic/build M=/home/mitchell/Desktop/ieee80211-1.2.18 modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.27-7-generic'
/home/mitchell/Desktop/ieee80211-1.2.18/Makefile:17:
/home/mitchell/Desktop/ieee80211-1.2.18/Makefile:18: WARNING: $SHELL not set to bash.
/home/mitchell/Desktop/ieee80211-1.2.18/Makefile:19: If you experience build errors, try
/home/mitchell/Desktop/ieee80211-1.2.18/Makefile:20: 'make SHELL=/bin/bash'.
/home/mitchell/Desktop/ieee80211-1.2.18/Makefile:21:
CC [M] /home/mitchell/Desktop/ieee80211-1.2.18/ieee80211_module.o
/home/mitchell/Desktop/ieee80211-1.2.18/ieee80211_module.c: In function :
/home/mitchell/Desktop/ieee80211-1.2.18/ieee80211_module.c:268: error: undeclared (first use in this function)
/home/mitchell/Desktop/ieee80211-1.2.18/ieee80211_module.c:268: error: (Each undeclared identifier is reported only once
/home/mitchell/Desktop/ieee80211-1.2.18/ieee80211_module.c:268: error: for each function it appears in.)
/home/mitchell/Desktop/ieee80211-1.2.18/ieee80211_module.c: In function :
/home/mitchell/Desktop/ieee80211-1.2.18/ieee80211_module.c:297: error: undeclared (first use in this function)
{standard input}: Assembler messages:
{standard input}:9: Warning: can't open .lst: Permission denied
GAS LISTING page 1
1 .file "ieee80211_module.c"
9 .Ltext0:
GAS LISTING page 2
DEFINED SYMBOLS
*ABS*:0000000000000000 ieee80211_module.c
NO UNDEFINED SYMBOLS
make[2]: *** [/home/mitchell/Desktop/ieee80211-1.2.18/ieee80211_module.o] Error 1
make[1]: *** [_module_/home/mitchell/Desktop/ieee80211-1.2.18] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.27-7-generic'
make: *** [modules] Error 2
I see some error messages in there, not exactly sure if that means the installation was unsuccessful. Nevertheless, I forge along, hoping for the best.
This is what I get after inputting 'make install'
make install
Makefile:17:
Makefile:18: WARNING: $SHELL not set to bash.
Makefile:19: If you experience build errors, try
Makefile:20: 'make SHELL=/bin/bash'.
Makefile:21:
make -C /lib/modules/2.6.27-7-generic/build M=/home/mitchell/Desktop/ieee80211-1.2.18 modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.27-7-generic'
/home/mitchell/Desktop/ieee80211-1.2.18/Makefile:17:
/home/mitchell/Desktop/ieee80211-1.2.18/Makefile:18: WARNING: $SHELL not set to bash.
/home/mitchell/Desktop/ieee80211-1.2.18/Makefile:19: If you experience build errors, try
/home/mitchell/Desktop/ieee80211-1.2.18/Makefile:20: 'make SHELL=/bin/bash'.
/home/mitchell/Desktop/ieee80211-1.2.18/Makefile:21:
CC [M] /home/mitchell/Desktop/ieee80211-1.2.18/ieee80211_module.o
/home/mitchell/Desktop/ieee80211-1.2.18/ieee80211_module.c: In function :
/home/mitchell/Desktop/ieee80211-1.2.18/ieee80211_module.c:268: error: undeclared (first use in this function)
/home/mitchell/Desktop/ieee80211-1.2.18/ieee80211_module.c:268: error: (Each undeclared identifier is reported only once
/home/mitchell/Desktop/ieee80211-1.2.18/ieee80211_module.c:268: error: for each function it appears in.)
/home/mitchell/Desktop/ieee80211-1.2.18/ieee80211_module.c: In function :
/home/mitchell/Desktop/ieee80211-1.2.18/ieee80211_module.c:297: error: undeclared (first use in this function)
{standard input}: Assembler messages:
{standard input}:9: Warning: can't open .lst: Permission denied
GAS LISTING page 1
1 .file "ieee80211_module.c"
9 .Ltext0:
GAS LISTING page 2
DEFINED SYMBOLS
*ABS*:0000000000000000 ieee80211_module.c
NO UNDEFINED SYMBOLS
make[2]: *** [/home/mitchell/Desktop/ieee80211-1.2.18/ieee80211_module.o] Error 1
make[1]: *** [_module_/home/mitchell/Desktop/ieee80211-1.2.18] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.27-7-generic'
make: *** [modules] Error 2
mitchell@mitchell-laptop:~/Desktop/ieee80211-1.2.18$
And after the second 'make install'
Makefile:53:
Makefile:54: WARNING: $SHELL not set to bash.
Makefile:55: If you experience build errors, try
Makefile:56: 'make SHELL=/bin/bash'.
Makefile:57:
/bin/sh: Syntax error: "(" unexpected
/bin/sh: Syntax error: "(" unexpected
-e
WARNING: Your kernel contains ieee80211 symbol definitions and you
are not using the kernel's default ieee80211 subsystem. (Perhaps you
used the out-of-tree ieee80211 subsystem's 'make install' or have
provided a path to the ieee80211 subsystem via IEEE80211_INC.)
If you wish to use the out-of-tree ieee80211 subsystem then it is
recommended to use that projects' "make patch_kernel" facility
and rebuild your kernel to update the Module symbol version information.
Failure to do this may result in build warnings and unexpected
behavior when running modules which rely on the ieee80211 subsystem.
-e Aborting the build. You can force the build to continue by adding:
IEEE80211_IGNORE_DUPLICATE=y
to your make command line.
make: *** [check_inc] Error 1
So yeah, I have no idea what any of this means, I just want my wifi to work =/
- 03-28-2009 #2Just Joined!
- Join Date
- Mar 2009
- Location
- Melbourne
- Posts
- 17
I am not really skilled at debugging errors, but I see a few easy things that u shud be able to fix.
1) try running the script as superuser. or use sudo
2) "Makefile:54: WARNING: $SHELL not set to bash." - set the shell to bash by typing in -
make shell =/bin/bash.
See how things go after this. But I think there might some problems later too, which I am sorry, I cant figure out yet. Ill keep looking for that. Cheers!!
- 03-28-2009 #3
You shouldn't need to compile this driver from source. It is already included in the kernel. In fact, it is most likely already loading, if it detects your card.
To toubleshoot the driver (not the installation problems), read this sticky, and post the info that it describes how to find.
Wireless Setup - Start HerePaul
Please do not send Private Messages to me with requests for help. I will not reply.


Reply With Quote
