|
prism54.org The Prism54
Project Forums
|
View
previous topic :: View
next topic |
Author |
Message |
asinkecualo
Joined: 12 Nov 2003 Posts:
7
|
Posted: Sat Nov
22, 2003 9:54 pm Post
subject: HOW-TO: Mandrake 9.2, kernel 2.4.22-10mdk,
SMC2802W/2834W |
|
|
Hi every MDK 9.2 users.
I've made a little How-I-Did-It to get working an SMC2802W
(PCI) in Mandrake 9.2 with Mandrake default kernel
(2.4.22-10mdk). To do this you have not to patch the kernel,
nor change the kernel anyway.
It should also work with
the PCMCIA (SMC2834W), but i cannot try it. If i think a step
should be replaced in PCMCIA config I'll say it. If I think a
step should be added in PCMCIA I'll mark it as 'X b -'
Go on:
Code: |
---- ..::HOW-TO: Mandrake 9.2, with
kernel 2.4.22 ::.. ----
1 - Download and install
kernel-source-2.4.22-10mdk.i586.rpm. I'ts not in CDs
but you can find it in the mirrors:
http://fr2.rpmfind.net/linux/RPM/mandrake/9.2/i586/Mandrake/RPMS/kernel-source-2.4.22-10mdk.i586.html.
Download and install wireless-tools (with urpmi
wireless-tools should work)
2 - Download the
latest CVS tarball of prism54:
http://prism54.org/pub/linux/snapshot/tars/
3 - Download the firmware:
http://prism54.org/firmware/isl3890 and put it
on /usr/lib/hotplug/firmware (should be root to do this)
4 - Download firmware.agent:
http://prism54.org/~hvr/firmware.agent and put
it on /etc/hotplug (should be done as root). Then
make it executable (should be done as root): chmod
+x /etc/hotplug/firmware.agent
5 - Untar
driver tarball prism54
6 - Go to
prims54-cvs2003xxxx. Change the file ksrc/islpci_dev.h
to add this two lines in line 45. Just below
#include "bloboid.h" insert this two new lines:
#define free_netdev(x) kfree(x) #define
pci_name(x) x->slot_name
6 b - Maybe for
PCMCIA this step could be not needed
7 - Go to
prism54-cvs2003xxxx and compile with: make modules
8 - Su as root and write: make install
9 - As root do: gzip
lib/modules/2.4.22-10mdk/kernel/drivers/net/wireless/prism54/prism54.o
10 - As root do: depmod -a; modprobe
firmware_class prism54
Now you should have
loaded the module (check it with /sbin/lsmod | grep
prism54) without any error message. If not, remove
prism54-cvs2003xxxx dir and go to step 5 again.
10 b - If you are using PCMCIA card and you get
error messages, before going to step 5, and ignore
step 6, try with: modprobe firmware_class
pcmcia_core ds yenta_socket prism54
If you get
any error remove prism54-cvs2003xxxx dir and go to step
5 again, but this time ignore step 6.
11
-Configure the card with wireless-tools. As an example,
this line should put the card (being in eth1) in
Managed mode, using channel X and with essid
"my-essid": iwconfig eth1 essid "my-essid" channel X
mode Managed
If you have WEP activated in AP you
should put the card in WEP mode. Add to iwconfig the
option key XXXX-XXXX-XXXX-XXXX with hexadecimal
key, or key XXXXXX or if you have set the key in
ASCII mode: key s:xxxxxxxxxxx
Now you should
have working the card in MDK 9.2. You can configure
now the card as any other network card using
drakconnect or the usual linux commands and file
configuration.
If the card isn't recognised when
you reboot the machine (and you have specified
"activate on boot" in drakconnect), try adding a
line like this to /etc/modules: alias eth1 prism54
------------------------------------------------- |
Now the card should work as any
wireless card. If you try this and have any problem please
tell us here, to complete the information. | |
Back to
top |
|
|
ttynjala
Joined: 15 Nov 2003 Posts:
1 Location: Espoo in Finland
|
Posted: Sun Nov
23, 2003 9:52 am Post
subject: |
|
|
Thank you for a very
helpful HOWTO!
I've got MDK 9.2 & SMC2802W and
tried to set up with the guide (and almost succeeded)
While doing this I noticed I following typo (?) (dummy
warning, this has been is my 1st adventure with WLAN &
kernel compilation [tried first with 2.6 kernel with simiilar
results] so I did not expect much success)
--
>9 - As root do: >gzip
lib/modules/2.4.22-10mdk..
I suppose this should be
'gzip /lib/modules/2.4.22 ..' , ie. not in
prism54-cvs2003xxx dir as the previous steps 6,7,8 but in
/lib/modules from directory tree root.
------
Having sorted that I got the /sbin/lsmod to list
prism54 and managed to to get iwconfig eth1 essid .. run ok,
also I managed to get 'iwconfig eth1 scanning' to give me some
info about the access point.
..but then there are (of
course) the problems:
a) drakconnect does not seem to
know anything about prism54 or eth1 (it only offers me
via-rhine-II which is the eth0, if I list the hardware info
the prism54 is not there) so I could not define eth1 as
'activate on boot'
b) Adding "aliaseth1 prism" to
/etc/modules caused kernel boot to _crash_, luckily I had 2.6
also so removing the entry was quite easy..
c) the
eth1 worked for eth1 just for a short time. Now I keep getting
'Connection timed out' errors for about any iwXXX command.
This problem I had with attemps using kernel 2.6-test9 too so
it could be stupid-user-error too or a bug in the driver.
Difficult to say since I have no reference point to
compare to what _should_ happen when driver is installed ok...
The connection timed out messages look like this:
-->clip
[root@localhost root]# /sbin/lsmod
| grep prism prism54 43472 0 firmware_class 5452 0
[prism54] [root@localhost root]# iwconfig eth1 essid
"my-essid" channel 1 mode Managed Error for wireless
request "Set ESSID" (8B1A) : SET failed on device eth1 ;
Connection timed out. [root@localhost root]# iwlist eth1
scanning eth1 Failed to read scan data : Connection timed
out
[root@localhost root]# iwconfig eth1 eth1
PRISM Duette/GT Link Quality:53 Signal level:169 Noise
level:253 Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid
frag:0 Tx excessive retries:0 Invalid misc:0 Missed
beacon:0
[root@localhost root]#
->end of
clip
Anynone knows what these timeout there are
about? _________________ -- tuomas | |
Back to
top |
|
|
asinkecualo
Joined: 12 Nov 2003 Posts:
7
|
Posted: Sun Nov
23, 2003 11:31 am
Post subject: Corrections |
|
|
ttynjala
wrote: |
While doing this I noticed I
following typo (?)
-- >9 - As root do:
>gzip lib/modules/2.4.22-10mdk..
I
suppose this should be 'gzip /lib/modules/2.4.22 ..' ,
ie. not in prism54-cvs2003xxx dir as the previous
steps 6,7,8 but in /lib/modules from directory tree
root. |
Yes is a typo. The correct step 9
should be:
Code: |
9 - As root do: gzip
/lib/modules/2.4.22-10mdk/kernel/drivers/net/wireless/prism54/prism54.o
|
ttynjala
wrote: |
Having sorted that I got the
/sbin/lsmod to list prism54 and managed to to get
iwconfig eth1 essid .. run ok, also I managed to get
'iwconfig eth1 scanning' to give me some info about the
access point.
..but then there are (of course)
the problems:
a) drakconnect does not seem to
know anything about prism54 or eth1 (it only offers me
via-rhine-II which is the eth0, if I list the hardware
info the prism54 is not there) so I could not define
eth1 as 'activate on boot'
| Well not call drakconnect directly, though
call drakconf and get into "Drakconf -> Networks and
Internet -> Drakconnect". There it should be shown eth1 as
prism54.
ttynjala
wrote: |
b) Adding "aliaseth1 prism" to
/etc/modules caused kernel boot to _crash_, luckily I
had 2.6 also so removing the entry was quite easy..
| OK.
That was a little trick to make "modprobe eth1" to work...
Please ignore that...
ttynjala
wrote: |
c) the eth1 worked for eth1 just for
a short time. Now I keep getting 'Connection timed out'
errors for about any iwXXX command. This problem I had
with attemps using kernel 2.6-test9 too so it could be
stupid-user-error too or a bug in the driver. Difficult
to say since I have no reference point to compare to
what _should_ happen when driver is installed ok...
The connection timed out messages look like
this:
-->clip
[root@localhost root]#
/sbin/lsmod | grep prism prism54 43472 0
firmware_class 5452 0 [prism54] [root@localhost
root]# iwconfig eth1 essid "my-essid" channel 1 mode
Managed Error for wireless request "Set ESSID"
(8B1A) : SET failed on device eth1 ; Connection
timed out. [root@localhost root]# iwlist eth1
scanning eth1 Failed to read scan data : Connection
timed out
[root@localhost root]# iwconfig eth1
eth1 PRISM Duette/GT Link Quality:53 Signal
level:169 Noise level:253 Rx invalid nwid:0 Rx
invalid crypt:0 Rx invalid frag:0 Tx excessive
retries:0 Invalid misc:0 Missed beacon:0
[root@localhost root]#
->end of clip
Anynone knows what these timeout there are
about? | Don't
know about this | |
Back to
top |
|
|
Guest Guest
|
Posted: Wed Dec
03, 2003 9:59 am Post
subject: Mandrake 9.2 Howto addon |
|
|
First of all: I am using a
Netgear WG511 which is PCMCIA and is capable of 802.11b/g. I
bought the european version.
1. Mandrake default
kernel comes as 2.4.22-10mdk but if you install sources you
get 2.4.22-22mdk which is different. You CAN NOT compile the
driver sources against the not compiled kernel sources. The
depmod -a fails. You MUST compile the whole kernel sources of
2.4.22mdk, install and boot from it.
2. Step 6b is not
optional for PCMCIA. You MUST do the steps in 6a for PCMCIA as
well.
After I've installed the module prism54 my
Netgear Card began to blink i.e. it was searching for an
access point. | |
Back to
top |
|
|
Guest
|
Posted: Tue Dec
30, 2003 1:05 pm Post
subject: |
|
|
thanks a lot to asinkecualo
for this nice how to.
works fine with MDK 9.2 and
Netgear 511.
1 comment: Step 6: line"#include
"bloboid.h" or something doesnt exist in cvs with date from
30.12.03, but I add the 2 lines and anything okay.
Its
okay to translate and copy your text at http://www.mandrakeuser.de/?
Michael | |
Back to
top |
|
|
asinkecualo
Joined: 12 Nov 2003 Posts:
7
|
Posted: Tue Jan
06, 2004 10:52 pm
Post subject: Thanks |
|
|
Anonymous
wrote: |
thanks a lot to asinkecualo for this
nice how to.
works fine with MDK 9.2 and Netgear
511.
| Nice to hear this
Anonymous
wrote: |
1 comment: Step 6: line"#include
"bloboid.h" or something doesnt exist in cvs with date
from 30.12.03, but I add the 2 lines and anything
okay. | OK,
I'll write down this
No problem at all.... When I have some
spare time I'll put this in Spanish too. | |
Back to
top |
|
|
Imp
Joined: 13 Jan 2004 Posts:
2
|
Posted: Tue Jan
13, 2004 8:57 pm Post
subject: |
|
|
How cool is this. My SMC
2835W card actually works on my laptop now. I had problems not
getting it to work on WinXP .. only worked on 2000 before.
Also on Linux it hung my laptop with the old drivers.
These new binaries however and this excellent walkthrough made
it work flawlessly.
My laptop is a Compaq Evo N610c/P4
Mobile 2Ghz if anyone has had a problem with one of these.
# uname -a Linux localhost 2.4.22-10mdkenterprise
#1 SMP Thu Sep 18 11:46:49 CEST 2003 i686 unknown unknown
GNU/Linux | |
Back to
top |
|
|
zsozso Guest
|
Posted: Sun Jan
18, 2004 7:13 pm Post
subject: can't associate with AP router |
|
|
I got a Sitecom wl-100i
card that is recognised OK by the prism54 driver. I have
installed kernel 2.4.24-0.pre2.1mdk from cooker for it to get
compiled. The driver seems to load OK, firmware is loaded too,
iwconfig setup is accepted and reports back the mode and
channel fine. The LED on the back of the card is flashing.
However, there is no connection with the AP router, iwconfig
reports:
Access Point: 00:00:00:00:00:00
The
AP is configured with WEP turnedd off, essid and channel set
to the same value. The AP router does not report any activity
either...
I have no idea what else to check, I am
newbie to the wireless world, this is the first time I am
trying to setup something like this.
Please, give me
some ideas what to try!
Thanks! | |
Back to
top |
|
|
Guest
|
Posted: Tue Jan
20, 2004 2:55 am Post
subject: |
|
|
Quote: |
I got a Sitecom wl-100i card that is
recognised OK by the prism54 driver. I have installed
kernel 2.4.24-0.pre2.1mdk from cooker for it to get
compiled. The driver seems to load OK, firmware is
loaded too, iwconfig setup is accepted and reports back
the mode and channel fine. The LED on the back of the
card is flashing. However, there is no connection with
the AP router, iwconfig reports:
Access Point:
00:00:00:00:00:00
|
I don't know if it's the same problem,
but I had a similar issue with a Netgear WG511 card (PCMCIA).
It turns out that shapshots after 20031127 don't work with
that card, it may be the same with yours. Try the 20031127
build. You might find more info in the CVS Snapshot support
forum.
Hope that helps. | |
Back to
top |
|
|
jjj
Joined: 31 Jan 2004 Posts:
1
|
Posted: Sat Jan
31, 2004 7:21 pm Post
subject: Everything seems OK... but I can't connect to the
network |
|
|
Hi,
I followed the
Howto. Everything seemed to go smooth. I can even scan the
wireless packets and see the various access points out there
with the wireless tools.
BUT, my SMC card won't obtain
its IP address via dhcp with the exact same configuration I
use under Windows. If I set the IP address manually, it won't
work either, i.e. my interface is up and running with the IP
address I set, but I can't ping anyone on the network.
JJJ | |
Back to
top |
|
|
falcaraz Guest
|
Posted: Sun Feb
01, 2004 9:20 am Post
subject: Compilation fail for 2.4.22-26 kernel |
|
|
Hello friends, .I have
a SMC2802W card and a Mandrake 9.2 with the kernel updated to
2.4.22.26.
Followed the steps for Mandrake (with
original kernel) in http://prism54.org/forums/viewtopic.php?t=78,
but when I type "make module" from the tarball directory,
I get some errors as: make[2] Entering directory
`/lib/module/2.4.22-26mdk' make[2]: *** No hay ninguna
regal para construir el objetivo 'modules Stop. make[2]:
Leaving directory `/lib/modules/2.4.22.-26mdk' make[1]:
***[modules] Error 2
What I am doing bad?
The
tarball directory is in my home one, don't know if I need to
put it in a specific site. The kernel-source is installed.
Any help will be welcome, ˇI need this computer using
my wireless net!.
Thanks so much in advance, yours
sincerely
Francisco Alcaraz Murcia (Spain) | |
Back to
top |
|
|
Guest
|
Posted: Sun Feb
01, 2004 9:53 am Post
subject: Re: HOW-TO: Mandrake 9.2, kernel 2.4.22-10mdk,
SMC2802W/2834 |
|
|
asinkecualo
wrote: |
Hi every MDK 9.2 users. I've made a
little How-I-Did-It to get working an SMC2802W (PCI) in
Mandrake 9.2 with Mandrake default kernel
(2.4.22-10mdk). To do this you have not to patch the
kernel, nor change the kernel anyway.
It should
also work with the PCMCIA (SMC2834W), but i cannot try
it. If i think a step should be replaced in PCMCIA
config I'll say it. If I think a step should be added in
PCMCIA I'll mark it as 'X b -'
|
Asinkecualo,
I am trying to
compile the prism54 module in a system runing Mandrake 9.2
with the updated kernel 2.4.22-26, but the step 3 is not
runing for me:
make[2] Entering directory
`/lib/module/2.4.22-26mdk' make[2]: *** No hay ninguna
regal para construir el objetivo 'modules Stop. make[2]:
Leaving directory `/lib/modules/2.4.22.-26mdk' make[1]:
***[modules] Error 2
Do I ned any additional
library or put the tarbal directory in an specific site?;
Nota: estoy tratando de darme de alta en la página de
asinkecualo, pero sólo tengo acceso a un login de usuario ya
registrado o a la opción de recuperar password.
Thanks
so much in advance. Gracias por adelantado.
Francisco Alcaraz Murcia (Spain) | |
Back to
top |
|
|
Guest
|
Posted: Thu Feb
05, 2004 11:25 am
Post subject: Re: Everything seems OK... but I can't
connect to the networ |
|
|
First; Thanks a lot for
this Howto, and ofcourse the drivers.
jjj wrote: |
Hi,
I followed the Howto.
Everything seemed to go smooth. I can even scan the
wireless packets and see the various access points out
there with the wireless tools.
BUT, my SMC card
won't obtain its IP address via dhcp with the exact same
configuration I use under Windows. If I set the IP
address manually, it won't work either, i.e. my
interface is up and running with the IP address I set,
but I can't ping anyone on the network.
|
I'm
having (seemingly) the excact same problem; I can't get an
IP-address via DHCP. Yesterday I tried to connect to a 3com
AP, but everytime I tried to do 'dhclient' or 'dhcpcd' the AP
died! (Rather anoying for the rest of the wireless users...)
My SMC-card found the AP and all it's credentials, but still I
couldn't connect thruogh it. I've tried varius kernels (2.4.22, 2.4.23, 2.6.1,
2.6.2rc1 and 2.6.2rc3 - all delivered by Mandrake) but none of
them wants to give my card an IP-address. I even installed
vindovs on the machine to see if it was my card that was
ruined. But; the card works under XP.
Anyone found a
solution to this problem?
-mortenjohs | |
Back to
top |
|
|
Guest
|
Posted: Wed Feb
11, 2004 1:43 am Post
subject: Re: Compilation fail for 2.4.22-26 kernel |
|
|
falcaraz
wrote: |
Hello friends, .I have a SMC2802W
card and a Mandrake 9.2 with the kernel updated to
2.4.22.26.
Followed the steps for Mandrake
(with original kernel) in http://prism54.org/forums/viewtopic.php?t=78,
but when I type "make module" from the tarball
directory, I get some errors as: make[2] Entering
directory `/lib/module/2.4.22-26mdk' make[2]: *** No
hay ninguna regal para construir el objetivo 'modules
Stop. make[2]: Leaving directory
`/lib/modules/2.4.22.-26mdk' make[1]: ***[modules]
Error 2 ......
Francisco Alcaraz Murcia
(Spain) |
I got the exact problem as yours, when
trying to make clean modules it returns: ......
make[2]: Entering directory `/lib/modules/2.4.22-10mdk`
make[2]: *** No rule to make target `modules`. Stop.
make[2]: Leaving directory `/lib/modules/2.4.22-10mdk'
make[1]: *** [modules] Error 2 .........
can
anyone please tell me what does cause this error msg?
Thanks a ton!!
eRic | |
Back to
top |
|
|
maishomo Guest
|
Posted: Wed Mar
31, 2004 4:52 am Post
subject: a HOWTO for RedHAT 9 // kernel 2.4.20-8 |
|
|
Great work. I haave read
these clear instructions have helped a lot of people with
madrake to install their wi-fi.
DO you ahave a HowTO
for Redhat ? I have tried several options for 3 days but with
little sucess
you can mail me at maishomo@yahoo.com | |
Back to
top |
|
|
|
|
You can post new topics in this forum You
can reply to topics in this forum You cannot edit
your posts in this forum You cannot delete your posts in
this forum You cannot vote in polls in this
forum
|
Powered
by phpBB
2.0.6 © 2001, 2002 phpBB Group subRed style by ktauber
|