Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Write an article for LinuxForums Today! Win Great Prizes!
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > GNU Linux Zone > Wireless Internet > New Ubuntu User, Wireless Troubles

Forgot Password?
 Wireless Internet   Anything related to getting wireless set up in Linux. WLAN, WiFi, etc.

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds
Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 03-27-2009   #1 (permalink)
Just 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 =/
UngalaMitchell is offline  



Reply With Quote
Old 03-28-2009   #2 (permalink)
Just Joined!
 
Join Date: Mar 2009
Location: Melbourne
Posts: 15
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!!
kewlharsh is offline   Reply With Quote
Old 03-28-2009   #3 (permalink)
Trusted Penguin
 
waterhead's Avatar
 
Join Date: Jul 2004
Location: Franklin, Wisconsin
Posts: 4,342
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 Here
__________________
Paul

Please do not PM me with requests for help. I will not reply.
waterhead is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
A Newbie's Getting Started Guide to Linux
Learn the basics of the Linux operating systems. Get to know what it is all about, and familiarize yourself with the practical side. Basically, if you're a complete Linux newbie and looking for a quick and easy guide to get you started this is it.
subscribe
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 12:49 PM.






© 2000 - - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.1