Discussion:
linux-wlan won't work on kernel 2.6.22
John
2007-09-08 17:37:22 UTC
Permalink
I'm using linux-wlan on kernel 2.6.20 without any
issues. I'm trying to install the latest kernel 2.6.22
but I need linux-wlan for my USB wifi card (Netgear
MA111) on my x86_64 computer. I downloaded the trunk
version of linux-wlan since the 0.2.28 wouldn't
compile against the kernel. The trunk version compiles
but when I try to start the wifi I get a nasty freeze
that requires me to hit the power button. In my
rc.local, I have the following commands

/sbin/modprobe prism2_usb prism2_doreset=1
/etc/init.d/wlan stop
/etc/init.d/wlan start
/sbin/ifup wlan0

I commented these lines out and did it manually to see
where the issue is and all commands worked until

/sbin/ifup wlan0

This is when the computer freezes. Since the comp
freezes, it doesn't give me any warnings so I'm not
sure what's causing the issue.

Anyone know how to fix this?



____________________________________________________________________________________
Luggage? GPS? Comic books?
Check out fitting gifts for grads at Yahoo! Search
http://search.yahoo.com/search?fr=oni_on_mail&p=graduation+gifts&cs=bz
Tormod Volden
2007-09-10 18:44:55 UTC
Permalink
Post by John
Anyone know how to fix this?
The obvious workaround is to use hostap driver included with the kernel.
AFAIK, hostap does not support USB cards, so linux-wlan-ng/prism2_usb
is your only hope.

ifup wlan0 might call some scripts to prepare the card, at least on
Debian it runs if-pre-up.d scripts. You can step through these to find
exactly the command that freezes the machine. In the end ifup just
calls ifconfig and route to configure the network parameters.

HTH,
Tormod
John
2007-09-11 16:44:28 UTC
Permalink
Thanks for the help. I saw on the Gentoo Wiki (I'm
using Fedora Core 6) that the hostapd won't work so
I'll have to use linux-wlan in order for my MA111 card
to work.

I looked at the ifup script and I noticed it has a
call to ifup-pre-local with the statement.

if [-x /sbin/ifup-pre-local ]; then
/sbin/ifup-pre-local ${CONFIG} $2
fi

I looked in my sbin and I didn't see a ifup-pre-local
bin file.

I also noticed in my ifcfg-wlan0 file I have type as
ethernet. I wonder if this should be wireless.

John
Post by John
Anyone know how to fix this?
The obvious workaround is to use hostap driver
included with the kernel.
AFAIK, hostap does not support USB cards, so
linux-wlan-ng/prism2_usb
is your only hope.
ifup wlan0 might call some scripts to prepare the
card, at least on
Debian it runs if-pre-up.d scripts. You can step
through these to find
exactly the command that freezes the machine. In the
end ifup just
calls ifconfig and route to configure the network
parameters.
HTH,
Tormod
------------------------------
_______________________________________________
Linux-wlan-devel mailing list
http://lists.linux-wlan.com/mailman/listinfo/linux-wlan-devel
End of Linux-wlan-devel Digest, Vol 49, Issue 3
***********************************************
____________________________________________________________________________________
Yahoo! oneSearch: Finally, mobile search
that gives answers, not web links.
http://mobile.yahoo.com/mobileweb/onesearch?refer=1ONXIC

Loading...