Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
07-23-2004, 12:30 AM
|
#1
|
Member
Registered: Jul 2004
Location: USA
Distribution: Mint, Scientifc Linux, Ubuntu
Posts: 180
Rep:
|
help on acx111 wireless installation and kernel compiling
to install the driver for a TI acx111 wireless pci card, i have to compile the
kernel. my kernel is 2.6.7-1, fc2. i installed the rpm packages of kernel-source and kernel-headers.
when i "make modules" under /usr/src/linux/, i got this error message:
scripts/Makefile.build:13: usr/Makefile: No such file or directory
make[1]: *** No rule to make target `usr/Makefile'. Stop.
make: *** [usr] Error 2
here is the Makefile.build:
src := $(obj)
.PHONY: __build
__build:
# Read .config if it exist, otherwise ignore
-include .config
include $(obj)/Makefile <-line 13 here
include scripts/Makefile.lib
there is not a directory called usr under /usr/src/linux at all.
do i miss anything? i mean, do i should have more packages installed b4 i can compile the kernel?
i have been trying to make the stupid TI based card to work for several days and now the system can detect it but just cannot get it work. anyone has a clue for that also?
thanks for your advice!
|
|
|
07-23-2004, 01:42 AM
|
#2
|
Member
Registered: Dec 2003
Location: munich
Distribution: Fedora Core 4
Posts: 141
Rep:
|
in FC2 you have a software install program (system-config-«something»)
use this program to install all the packages you need to compile the kernel (kernel hacking section, i think)
i hope this will help you,
leg
|
|
|
07-23-2004, 02:03 AM
|
#3
|
Member
Registered: Jul 2004
Location: Florida
Distribution: Slackware, Debian
Posts: 484
Rep:
|
You sure you need to compile a whole new kernel for that? Most drivers come as a separate package that is installed by itself, then loaded later.
|
|
|
07-23-2004, 02:22 PM
|
#4
|
Member
Registered: Jul 2004
Location: USA
Distribution: Mint, Scientifc Linux, Ubuntu
Posts: 180
Original Poster
Rep:
|
i tried system-config-network but i think this only configures the network, not building the module.
after system-config-network, the network is configured as:
axm 111 54mbps wireless eth0 status ok
acx_pci wlan0 configured
here is what i have in /etc/modprobe.conf
alias eth0 tulip
options acx_pci firmware_dir=/root/acx100-0.2.0pre8_plus_fixes_18/firmware
alias wlan0 acx_pci
when i tried to activate the wireless connection, i got:
Command failed: /sbin/modprobe acx_pci
FATAL: Error inserting acx_pci (/lib/modules/2.6.7-1.478/net/acx_pci.ko): Invalid module format
according to the acx100 howto, this is due to different gcc versions used to compile acx_pci.o and kernel
so i have to compile the kernel first
any idea?
|
|
|
07-23-2004, 09:46 PM
|
#5
|
Member
Registered: Jul 2004
Location: USA
Distribution: Mint, Scientifc Linux, Ubuntu
Posts: 180
Original Poster
Rep:
|
when i try to: insmod firmware_dir="the directory having acx_pci.o", i got:
acx_pci.o invalid module format
according to the acx100 howto, this is due to the different versions of gcc used
to compile the acx driver and the kernel.
so what should i do? isn't it true that i have to compile the kernel as well?
|
|
|
07-23-2004, 10:38 PM
|
#6
|
Member
Registered: Jul 2004
Location: Florida
Distribution: Slackware, Debian
Posts: 484
Rep:
|
Did the download contain file *.o, or did you compile the driver?
If you compiled the driver, you probably have the wrong kernel sources installed.
Delete the current module file, then go back to the source for the module. Run it again, and tell me if it says anything about kernel sources.
|
|
|
07-24-2004, 12:48 AM
|
#7
|
Member
Registered: Jul 2004
Location: USA
Distribution: Mint, Scientifc Linux, Ubuntu
Posts: 180
Original Poster
Rep:
|
I compiled the driver. i just "make" under the source of acx100.
and under /usr/src/linux, "make menuconfig;make dep;make clean;make modules"
i downloaded the source tree and no major errors while "make modules".
now if i type: insmod acx_pci.o firmware_dir="the directory containg acx_pci.o",
still got the invalid module format message.
did i do anything wrong?
another thing is when starting linux, it shows the card is identified as: TI acx111 54M pci
but it is configured as eth0 in /etc/modconfig, why? should not it be configured as
wlan0 since i have "alias wlan0 acx_pci" at /etc/modprobe.
there is only one network card now, i take the ethernet card out.
|
|
|
All times are GMT -5. The time now is 12:14 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|