Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[HOWTO] ipw2200 and udev 104 and kernel 2.6.19
View unanswered posts
View posts from last 24 hours

Goto page 1, 2, 3  Next  
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
queen
Veteran
Veteran


Joined: 19 Jul 2005
Posts: 1642

PostPosted: Wed Mar 07, 2007 11:11 pm    Post subject: [HOWTO] ipw2200 and udev 104 and kernel 2.6.19 Reply with quote

This is my first howto. I would like to share my successful configuration of ipw2200 and udev 104 and the newest kernel.

Baisicly I followed the link http://gentoo-wiki.com/HARDWARE_ipw2200 with few changes. I followed the instructions of kernel 2.6.17.

Here are my steps:
1. select the 802.11 stack (under 'networking') as a built in (select everything) (In my case it was already selected)
Networking-->
--- Generic IEEE 802.11 Networking Stack
[*] Enable full debugging output
--- IEEE 802.11 WEP encryption (802.1x)
<*> IEEE 802.11i CCMP support
<*> IEEE 802.11i TKIP encryption

2. under the wireless lan category select 'Intel PRO/Wireless...' as a module
Device Drivers --->
Generic Driver Options --->
[ ] Select only drivers that don't need compile-time external firmware
[ ] Prevent firmware from being built
--- Userspace firmware loading support
[ ] Driver Core verbose debug messages
Network Device support --->
[*] Network device support
Wireless LAN (non-hamradio) --->
[*] Wireless LAN drivers (non-hamradio) & Wireless Extensions
<M> Intel PRO/Wireless 2200BG and 2915ABG Network Connection
[*] Enable promiscuous mode
[ ] Enable radiotap format 802.11 raw packet support
[ ] Enable creation of a RF radiotap promiscuous interface
[ ] Enable QoS support
[*] Enable full debugging output in IPW2200 module.

Cryptographic options --->
[*] Cryptographic API
<*> AES cipher algorithms (i586)
<*> ARC4 cipher algorithm
<*> Michael MIC keyed digest algorithm
<*> CRC32c CRC algorithm (this wasn't prompted in the emerge of ipw2200)

3. compile the kernel
4.
Code:
emerge ipw2200-firmware
version 3
After the firmware is installed make sure you add "ipw2200" to the autoload modules (this you can do even after reboot too)
5. emerge -av wireless-tools (if you still don't have it).
6. You don't need to emerge ieee80211 (because it already selected in the kernel).
7. don't forget to update your bootloader.
8. Restart your computer.
9. Run
Code:
ifconfig -a
and see the wireless card name or
Code:
iwconfig


Now you should have the wifi card working

If someone has questions, just ask. ;-)
Back to top
View user's profile Send private message
darkelphos
Apprentice
Apprentice


Joined: 09 Sep 2005
Posts: 175

PostPosted: Sun Apr 08, 2007 4:14 pm    Post subject: Reply with quote

Thanks! I try install ipw2200 more days. And with your guide at firts ;) Thanks! and congratulations!!!
_________________
[img:b01f68de1b]http://img219.imageshack.us/img219/6815/firmabalzac5hn.jpg[/img:b01f68de1b]
Back to top
View user's profile Send private message
queen
Veteran
Veteran


Joined: 19 Jul 2005
Posts: 1642

PostPosted: Mon Apr 09, 2007 3:46 pm    Post subject: Reply with quote

darkelphos wrote:
Thanks! I try install ipw2200 more days. And with your guide at firts ;) Thanks! and congratulations!!!


you are welcome and good luck. ;-)
I know it's a pain to configure it. that's why i published it. If you have any problems, let me know.
Back to top
View user's profile Send private message
darkelphos
Apprentice
Apprentice


Joined: 09 Sep 2005
Posts: 175

PostPosted: Mon Apr 09, 2007 6:59 pm    Post subject: Reply with quote

Hi again! I want tell you that I traslate your guide in Spanish for the people that can't read in english. The guide is in mi Gentoo Blog. You can see here: http://www.gentoo-es.org/node/881

Thanks! And I hope that it does not matter to you.

Bye!
_________________
[img:b01f68de1b]http://img219.imageshack.us/img219/6815/firmabalzac5hn.jpg[/img:b01f68de1b]
Back to top
View user's profile Send private message
queen
Veteran
Veteran


Joined: 19 Jul 2005
Posts: 1642

PostPosted: Mon Apr 09, 2007 8:00 pm    Post subject: Reply with quote

darkelphos wrote:
Hi again! I want tell you that I traslate your guide in Spanish for the people that can't read in english. The guide is in mi Gentoo Blog. You can see here: http://www.gentoo-es.org/node/881

Thanks! And I hope that it does not matter to you.

Bye!


No problem at all. ;-)
Back to top
View user's profile Send private message
codergeek42
Bodhisattva
Bodhisattva


Joined: 05 Apr 2004
Posts: 5142
Location: Anaheim, CA (USA)

PostPosted: Tue Apr 10, 2007 3:41 am    Post subject: Reply with quote

Moved from Networking & Security to Documentation, Tips & Tricks.
_________________
~~ Peter: Programmer, Mathematician, STEM & Free Software Advocate, Enlightened Agent, Transhumanist, Fedora contributor
Who am I? :: EFF & FSF
Back to top
View user's profile Send private message
zoe
Guru
Guru


Joined: 10 Jun 2007
Posts: 324
Location: Greece

PostPosted: Tue Sep 18, 2007 11:10 pm    Post subject: Reply with quote

hi,i don't understand the line
" After the firmware is installed make sure you add "ipw2200" to the autoload modules (this you can do even after reboot too) "
you mean to add ipw2200 at the /etc/modules.autoload.d/kernel-2.x(i have 2.4 and 2.6,where to add it?)
and also when you say
"don't forget to update your bootloader. " what exactly you mean?
thanks in advance and sorry about all these questions,your guide is very helpfull
Back to top
View user's profile Send private message
LocustPlague
n00b
n00b


Joined: 14 Sep 2007
Posts: 18

PostPosted: Wed Sep 19, 2007 2:48 pm    Post subject: Reply with quote

zoe wrote:
hi,i don't understand the line
" After the firmware is installed make sure you add "ipw2200" to the autoload modules (this you can do even after reboot too) "
you mean to add ipw2200 at the /etc/modules.autoload.d/kernel-2.x(i have 2.4 and 2.6,where to add it?)

This should be added to the kernel-2.6 file (assuming you're using a kernel version 2.6.xx)

Quote:
and also when you say
"don't forget to update your bootloader. " what exactly you mean?
thanks in advance and sorry about all these questions,your guide is very helpfull

This means that you should add the kernel that you compiled into the bootloader. If you simply recompiled the kernel you are already using, you don't need to take any action.
Back to top
View user's profile Send private message
zoe
Guru
Guru


Joined: 10 Jun 2007
Posts: 324
Location: Greece

PostPosted: Wed Sep 19, 2007 10:56 pm    Post subject: Reply with quote

thanks for the reply
when i tried to add those settings in my kernel and tried to make && make modules_install i get a lot of errors and stops saying something that
make[3]: *** [drivers/net/wireless/ipw2200.o] Error 1
make[2]: *** [drivers/net/wireless] Error 2
make[1]: *** [drivers/net] Error 2
make: *** [drivers] Error 2
do you have any idea why this is happening?
thanks again
Back to top
View user's profile Send private message
_nightw0lf
Tux's lil' helper
Tux's lil' helper


Joined: 27 Aug 2004
Posts: 98
Location: /Israel/home

PostPosted: Wed Sep 19, 2007 11:05 pm    Post subject: Reply with quote

Dude Thanks alot! I've tried so many things to make it work, and nothing actually helped me till I've found your post!
Now everything is working and after the reboot the system found my wireless adapter without any problems with first shot!

So keep up the good work and thanks alot for sharing your success.

P.S - It was a little hard for me to understand what to make and what to unmark in the kernel configuration because I didn't knew where those settings located in. I've found it ofcource, but it would be nicer if you guide trough the people who ain't so good with kernel compilation and guide them to get to the right menus and submenus.

Thanks again!
Back to top
View user's profile Send private message
_nightw0lf
Tux's lil' helper
Tux's lil' helper


Joined: 27 Aug 2004
Posts: 98
Location: /Israel/home

PostPosted: Wed Sep 19, 2007 11:13 pm    Post subject: Reply with quote

zoe wrote:
thanks for the reply
when i tried to add those settings in my kernel and tried to make && make modules_install i get a lot of errors and stops saying something that
make[3]: *** [drivers/net/wireless/ipw2200.o] Error 1
make[2]: *** [drivers/net/wireless] Error 2
make[1]: *** [drivers/net] Error 2
make: *** [drivers] Error 2
do you have any idea why this is happening?
thanks again


I'm not really sure how to solve your problem I just know that I've used this following command and it worked well for me:
Code:

# mount /boot/
# make && make modules modules_install install

hope it will help you, good luck.
Back to top
View user's profile Send private message
LocustPlague
n00b
n00b


Joined: 14 Sep 2007
Posts: 18

PostPosted: Thu Sep 20, 2007 2:48 am    Post subject: Reply with quote

zoe wrote:
thanks for the reply
when i tried to add those settings in my kernel and tried to make && make modules_install i get a lot of errors and stops saying something that
make[3]: *** [drivers/net/wireless/ipw2200.o] Error 1
make[2]: *** [drivers/net/wireless] Error 2
make[1]: *** [drivers/net] Error 2
make: *** [drivers] Error 2
do you have any idea why this is happening?
thanks again


None of those are the actual error. You will need to post the actual error in order for us to know anything...a few lines above:
make[3]: *** [drivers/net/wireless/ipw2200.o] Error 1
should be some more error lines...also, how are you compiling the kernel? I used genkernel and had no problems...
Back to top
View user's profile Send private message
zoe
Guru
Guru


Joined: 10 Jun 2007
Posts: 324
Location: Greece

PostPosted: Thu Sep 20, 2007 11:56 am    Post subject: Reply with quote

ok,you are right.i will try to compile again my kernel and post the error
Back to top
View user's profile Send private message
zoe
Guru
Guru


Joined: 10 Jun 2007
Posts: 324
Location: Greece

PostPosted: Thu Sep 20, 2007 12:11 pm    Post subject: Reply with quote

there are a lot of messages but i will try to give you an idea

make && make modules_install

drivers/net/wireless/ipw2200.c:5857: error: dereferencing pointer to incomplete type
drivers/net/wireless/ipw2200.c:5858: error: dereferencing pointer to incomplete type
drivers/net/wireless/ipw2200.c:5859: error: dereferencing pointer to incomplete type
drivers/net/wireless/ipw2200.c:5860: error: dereferencing pointer to incomplete type
drivers/net/wireless/ipw2200.c:5861: error: dereferencing pointer to incomplete type
drivers/net/wireless/ipw2200.c:5862: error: dereferencing pointer to incomplete type
drivers/net/wireless/ipw2200.c:5863: error: dereferencing pointer to incomplete type
drivers/net/wireless/ipw2200.c:5864: error: dereferencing pointer to incomplete type
drivers/net/wireless/ipw2200.c: In function 'ipw_send_tgi_tx_key':
drivers/net/wireless/ipw2200.c:5916: error: 'SEC_LEVEL_3' undeclared (first use in this function)
drivers/net/wireless/ipw2200.c:5918: error: dereferencing pointer to incomplete type
drivers/net/wireless/ipw2200.c:5920: error: 'SEC_LEVEL_2' undeclared (first use in this function)
drivers/net/wireless/ipw2200.c:5922: error: dereferencing pointer to incomplete type
drivers/net/wireless/ipw2200.c:5924: error: 'SEC_LEVEL_1' undeclared (first use in this function)
drivers/net/wireless/ipw2200.c:5926: error: dereferencing pointer to incomplete type
drivers/net/wireless/ipw2200.c:5928: error: 'SEC_LEVEL_0' undeclared (first use in this function)
drivers/net/wireless/ipw2200.c: In function 'ipw_set_hw_decrypt_multicast':
drivers/net/wireless/ipw2200.c:6054: error: 'IEEE80211_52GHZ_BAND' undeclared (first use in this function)
drivers/net/wireless/ipw2200.c:6056: error: 'IEEE80211_OFDM_RATES_MASK' undeclared (first use in this function)
drivers/net/wireless/ipw2200.c:6064: error: 'IEEE80211_OFDM_SHIFT_MASK_A' undeclared (first use in this function)
drivers/net/wireless/ipw2200.c:6069: error: 'IEEE_B' undeclared (first use in this function)
drivers/net/wireless/ipw2200.c:6070: error: 'IEEE80211_CCK_RATES_MASK' undeclared (first use in this function)
drivers/net/wireless/ipw2200.c:6089: error: 'IEEE80211_OFDM_RATE_6MB_MASK' undeclared (first use in this function)
drivers/net/wireless/ipw2200.c:6094: error: 'IEEE80211_OFDM_RATE_9MB_MASK' undeclared (first use in this function)
drivers/net/wireless/ipw2200.c:6099: error: 'IEEE80211_OFDM_RATE_12MB_MASK' undeclared (first use in this function)
drivers/net/wireless/ipw2200.c: In function 'ipw_add_scan_channels':
drivers/net/wireless/ipw2200.c:6405: error: 'WLAN_AUTH_LEAP' undeclared (first use in this function)
drivers/net/wireless/ipw2200.c:6406: error: dereferencing pointer to incomplete type
drivers/net/wireless/ipw2200.c:6410: error: dereferencing pointer to incomplete type
drivers/net/wireless/ipw2200.c:6411: error: dereferencing pointer to incomplete type
drivers/net/wireless/ipw2200.c:6411: error: dereferencing pointer to incomplete type
drivers/net/wireless/ipw2200.c:6393: warning: unused variable 'sec'
drivers/net/wireless/ipw2200.c: At top level:
drivers/net/wireless/ipw2200.c:6504: error: 'SEC_LEVEL_0' undeclared (first use in this function)
drivers/net/wireless/ipw2200.c:6507: error: 'SEC_LEVEL_1' undeclared (first use in this function)
drivers/net/wireless/ipw2200.c:6509: error: 'SEC_LEVEL_2' undeclared (first use in this function)
drivers/net/wireless/ipw2200.c:6511: error: 'SEC_LEVEL_3' undeclared (first use in this function)
drivers/net/wireless/ipw2200.c: At top level:
drivers/net/wireless/ipw2200.c:10948: error: array type has incomplete element type
drivers/net/wireless/ipw2200.c:10951: error: field name not in record or union initializer
drivers/net/wireless/ipw2200.c:10951: error: (near initialization for 'ipw_geos')
drivers/net/wireless/ipw2200.c:10952: error: field name not in record or union initializer
drivers/net/wireless/ipw2200.c:10952: error: (near initialization for 'ipw_geos')
drivers/net/wireless/ipw2200.c:10960: error: field name not in record or union initializer
drivers/net/wireless/ipw2200.c:10960: error: (near initialization for 'ipw_geos')
drivers/net/wireless/ipw2200.c:10961: error: field name not in record or union initializer
drivers/net/wireless/ipw2200.c:10961: error: (near initialization for 'ipw_geos')
drivers/net/wireless/ipw2200.c:10965: error: field name not in record or union initializer
drivers/net/wireless/ipw2200.c:10965: error: (near initialization for 'ipw_geos')
drivers/net/wireless/ipw2200.c:10966: error: field name not in record or union initializer
drivers/net/wireless/ipw2200.c:10966: error: (near initialization for 'ipw_geos')
drivers/net/wireless/ipw2200.c:10970: error: 'IEEE80211_CH_PASSIVE_ONLY' undeclared here (not in a function)
drivers/net/wireless/ipw2200.c: In function 'ipw_get_max_rate':
drivers/net/wireless/ipw2200.c:4082: warning: control reaches end of non-void function
drivers/net/wireless/ipw2200.c: In function 'ipw_sw_reset':
drivers/net/wireless/ipw2200.c:8521: warning: control reaches end of non-void function
drivers/net/wireless/ipw2200.c: In function 'ipw_net_get_stats':
drivers/net/wireless/ipw2200.c:10453: warning: control reaches end of non-void function

any ideas ?this is just some part of the error messages,there a lot more
Back to top
View user's profile Send private message
LocustPlague
n00b
n00b


Joined: 14 Sep 2007
Posts: 18

PostPosted: Thu Sep 20, 2007 1:32 pm    Post subject: Reply with quote

Honestly, the very first error message is usually the only one we need...
Back to top
View user's profile Send private message
zoe
Guru
Guru


Joined: 10 Jun 2007
Posts: 324
Location: Greece

PostPosted: Thu Sep 20, 2007 1:58 pm    Post subject: Reply with quote

i thought i should give a circular impression!i can't see the first error message
Back to top
View user's profile Send private message
LocustPlague
n00b
n00b


Joined: 14 Sep 2007
Posts: 18

PostPosted: Thu Sep 20, 2007 3:31 pm    Post subject: Reply with quote

(make && make modules_install) > some_file_name

This will take the output of these commands and shove them into a file called "some_file_name". If you do this, you can view the entire message. Without the first error, I'm afraid we can't really help you.
Back to top
View user's profile Send private message
zoe
Guru
Guru


Joined: 10 Jun 2007
Posts: 324
Location: Greece

PostPosted: Thu Sep 20, 2007 4:16 pm    Post subject: Reply with quote

i made a file nohoup.out in my root dir and the only things saved in there are the following

CHK include/linux/version.h
CHK include/linux/utsrelease.h
CALL scripts/checksyscalls.sh
CHK include/linux/compile.h
CC [M] drivers/net/wireless/ipw2200.o

after that starts printing in the console all the previous error and more
Back to top
View user's profile Send private message
G2k
l33t
l33t


Joined: 06 Mar 2004
Posts: 672
Location: Rome, Italy

PostPosted: Thu Sep 20, 2007 5:58 pm    Post subject: Reply with quote

When I type iwconfig I get the following
Code:
eth1      unassociated  ESSID:off/any 
          Mode:Managed  Channel=0  Access Point: Not-Associated   
          Bit Rate:0 kb/s   Tx-Power=20 dBm   Sensitivity=8/0 
          Retry limit:7   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality:0  Signal level:0  Noise level:0
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0
So I think my wireless card is working. What now? Will NetworkManager pretty much take care of things from here or is that not suggested since it replaces net-misc/dhcpcd?
_________________
Animula vagula blandula,
Hospes comesque corporis,
Quae nunc abibis in loca
Pallidula rigida nudula,
Nec ut soles dabis iocos...
- Imp. Caesar Hadrianus
Back to top
View user's profile Send private message
LocustPlague
n00b
n00b


Joined: 14 Sep 2007
Posts: 18

PostPosted: Thu Sep 20, 2007 7:45 pm    Post subject: Reply with quote

zoe wrote:
i made a file nohoup.out in my root dir and the only things saved in there are the following

CHK include/linux/version.h
CHK include/linux/utsrelease.h
CALL scripts/checksyscalls.sh
CHK include/linux/compile.h
CC [M] drivers/net/wireless/ipw2200.o

after that starts printing in the console all the previous error and more


Hrrmmm...I'm not sure why all of the information wasn't put out into the file...I tested it and it worked. You're sure you did the parentheses and everything?
Back to top
View user's profile Send private message
LocustPlague
n00b
n00b


Joined: 14 Sep 2007
Posts: 18

PostPosted: Thu Sep 20, 2007 7:47 pm    Post subject: Reply with quote

G2k wrote:
When I type iwconfig I get the following
Code:
eth1      unassociated  ESSID:off/any 
          Mode:Managed  Channel=0  Access Point: Not-Associated   
          Bit Rate:0 kb/s   Tx-Power=20 dBm   Sensitivity=8/0 
          Retry limit:7   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality:0  Signal level:0  Noise level:0
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0
So I think my wireless card is working. What now? Will NetworkManager pretty much take care of things from here or is that not suggested since it replaces net-misc/dhcpcd?


I was able to get NetworkManager to work by
Code:
dhcdbd -s
nm-applet
NetworkManager
Back to top
View user's profile Send private message
zoe
Guru
Guru


Joined: 10 Jun 2007
Posts: 324
Location: Greece

PostPosted: Thu Sep 20, 2007 8:14 pm    Post subject: Reply with quote

yep,i'm quiet sure

(make && make modules_install) > /home/zoe/nohoup.out

and i got all the messages in my console
Back to top
View user's profile Send private message
LocustPlague
n00b
n00b


Joined: 14 Sep 2007
Posts: 18

PostPosted: Fri Sep 21, 2007 1:37 am    Post subject: Reply with quote

I guess a quick fix would be to set your terminal's scrollback to an obscene number of lines....Open your terminal then Edit -> Profiles. Select your profile and hit Edit. On the scrolling tab, set Scrollback: to something ridiculous...that should allow more lines to remain on the terminal.
Back to top
View user's profile Send private message
queen
Veteran
Veteran


Joined: 19 Jul 2005
Posts: 1642

PostPosted: Fri Sep 21, 2007 2:17 pm    Post subject: Reply with quote

Sorry for the late delay. I saw only today the messages.

I used
Code:
genkernel --menuconfig all
and I didn't have any errors.

But as I see your card is working, LocustPlague, G2k.

Yet the error you posted, zoe, seems serious, because it complains about .c file (dereferencing pointer). All I know is that I had once something similar with other file and it turned out that my Xorg was totally messed up. In that case I emerged from scratch xorg. All these files are already tested and compiled on other architectures.


Last edited by queen on Fri Sep 21, 2007 2:28 pm; edited 2 times in total
Back to top
View user's profile Send private message
queen
Veteran
Veteran


Joined: 19 Jul 2005
Posts: 1642

PostPosted: Fri Sep 21, 2007 2:25 pm    Post subject: Reply with quote

zoe, you have 2 options to compile your kernel. either with genkernel which is my preferred option or if you want with make then do make clean before everything. I believe it will solve your problem.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Goto page 1, 2, 3  Next
Page 1 of 3

 
Jump to:  
You cannot post new topics in this forum
You cannot 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