Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (5) </ 1 [2] 3 4 5 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: intel prowireless 2200bg, How to setup< Next Oldest | Next Newest >
gjhicks Offline





Group: Members
Posts: 108
Joined: April 2004
Posted: April 25 2005,02:55 QUOTE

Hi,

I have been trying both DSl and Feather (another cut-down Knoppix distro) and the following is my almost complete attempt to get the IPW220 working in Feather.  It may help in getting the IPW2200 work in DSL - I would be very pleased if someone can complete the puzzle!

The comments about re-linking files are probably not correct for DSL but the process is (possibly!) correct!

Have had some success in getting the Intel PRO/wireless 2200 centrino wireless device (ipw2200) working in Feather.

In case others want to have a go, below is the story so far:

The sourceforge ipw2200 driver(s) http://ipw2200.sourceforge.net/ are designed for the 2.6 kernel, so a patch for the 2.4 kernel is required.

A link to the patch is on the sourceforge ipw2200 page. The most recent patch is for the ipw2200-1.0.1 2.6 kernel driver and is found at http://dellaric.home.cern.ch/dellaric/ipw2200/.

The firmware is also available from the sourceforge site.

So, download the driver package, patch and firmware. Copy the firmware files to /usr/lib/hotplug/firmware/

If you have not done so, install gcc, g++ (v 3.3) and make.

Also (now am on dangerous, little understood ground!) you need to re-link a couple of files:

In the default HD install - '/lib/modules/2.4.27/build' is a symlink to (I guess) a file on Rob's development PC. Make the link (I think!) to '/usr/src/kernel-source-2.4.27'. Similarly, the 'build' in '/lib/modules/2.4.27-2-386' should be linked to '/usr/src/kernel-source-2.4.27-2-386'.

Lastly, the file '/usr/src/linux' needs to re-linked. Bearing in mind that I am far from expert, I symlinked this file to '/usr/src/kernel-source-2.2.27'

Well, the above bits and pieces allowed the below 'make install' to run without error. Although, given that the end result was not successful, maybe I screwed up these symlinks?

Untar the driver package, read the included INSTALL file carefully. Copy the patch file to the ipw2200-1.0.1 directory and run:

cd ipw2200-1.0.1/
patch < ipw2200-1.0.1-3.patch

make
make install (as root)


So far so good!

After some "googling" and a fair bit of tinkering, I made the following alterations:

-------------------------------------------------------------------------------
file: /etc/modutils/aliases

# put this instruction in the middle of the file
# it probably should go in another file, as this file gets overwritten!
# please feel free to tell me where it should actually be put

alias eth1 ipw2200

-------------------------------------------------------------------------------

On boot, the ipw2200 adapter was found and recognised. Great.


With the following files altered as follows:
-------------------------------------------------------------------------------
file: /etc/network/interfaces

auto eth1
iface eth1 inet dhcp
wireless_mode Managed
wireless_essid *******
wireless_channel <your channel>
wireless_ap any

-------------------------------------------------------------------------------
file: /etc/sysconfig/network-scripts/ifcfg-eth1

DEVICE=eth1
BOOTPROTO=dhcp
ONBOOT=yes
WIRELESS_MODE=Managed
WIRELESS_ESSID=*******
WIRELESS_CHANNEL=<your channel>


A call to iwconfig gave the following result:
-------------------------------------------------------------------------------
iwconfig eth1

eth1 IEEE 802.11g ESSID:"*******"
Mode:Managed Frequency:2.437 GHz Access Point: 00:0F:3D:BA:70:AA
Bit Rate=54 Mb/s Tx-Power=20 dBm
RTS thr:off Fragment thr:off
Encryption key:off
Power Management:on
Link Quality=42/100 Signal level=-75 dBm Noise level=-83 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:60 Missed beacon:31


However, a call to "pump -i eth1" failed.

Any suggestions gratefully received!

I look forward to someone more knowledgable from the DSl community finishing off this setup!

Regards,

Geoff.
Back to top
Profile PM 
jmangan Offline





Group: Members
Posts: 4
Joined: June 2005
Posted: June 29 2005,09:24 QUOTE

I'm new to this problem. Has there been any progress in the last six months?

Oops! I hadn't noticed 'page 2'. Has there been any progress since Aprill then?
Back to top
Profile PM 
gjhicks Offline





Group: Members
Posts: 108
Joined: April 2004
Posted: June 30 2005,05:38 QUOTE

Unfortunately, no.

Am still hoping that someone will be able to solve the last part of the puzzle.
Back to top
Profile PM 
tempestuous Offline





Group: Members
Posts: 259
Joined: Aug. 2004
Posted: June 30 2005,13:16 QUOTE

A few people on the forums are asking about modifying the kernel to accommodate specific hardware.

There's quite a bit of effort to recompile a kernel, and on a practical note, it would generally be easier to find hardware compatible with your preferred Linux distribution.
But I can see that certain laptops have the IPW2200 chipset onboard, and it would be nice to use this wireless adaptor instead of adding a PCMCIA adaptor.
So if you're really serious, here's what's involved.

First, you need DSL installed to hard drive.
Then you need to install the build tools - gcc1.dsl and gnu-utils.dsl packages.
Then you need the full kernel source (the kernel source from the mydsl download section only has the kernel headers).  The Knoppix/DSL kernel has already been customised, so your new configuration must be based on the the existing kernel configuration ... otherwise you will end up with a system that won't boot.
You can either get the "standard" kernel source from www.kernel.org and apply the Knoppix patches, or get the Knoppix kernel source which is ready-to-go - http://developer.linuxtag.net/knoppix....all.deb  (30MB)
Then apply the 2.4 kernel patch for IPW2200, from http://dellaric.home.cern.ch/dellaric/ipw2200/
Then configure your kernel (based on the old configuration) with IPW2200-specific options.
It's over a year since I recompiled a kernel myself (in Fedora) but the important command is "make xconfig" > "LOAD CONFIGURATION FILE ..." which allows you to load the ".config" file which is hopefully present in the source ... or /boot directory.
Then recompile the kernel.
Here's a good reference for this process - http://www.digitalhermit.com/linux/Kernel-Build-HOWTO.html

If your freshly-made kernel image has the same name as the old one - "linux24" you can just replace the old one and it will be unnecessary to change LILO boot configuration.
And if DSL will successfully boot with the new kernel, you're now ready to compile the IPW2200 driver ... and related utilities.

If this all works OK, and you want to incorporate the new kernel and drivers in a liveCD, you will need to remaster DSL.  Search the forums for instructions.

I hope this helps.
Back to top
Profile PM 
spring Offline





Group: Members
Posts: 15
Joined: Dec. 2004
Posted: July 15 2005,03:49 QUOTE

to tempestuous:
  could i compile the ipw2200bg in liveCD or frugral install, i dont have a hdistall, the ipw2200bg drivers' INSTALL guide:
Quote
KERNEL REQUIREMENTS - Crypto Library
---------- --------  ---------    -----     -----      ---      --        -
IPW2200 uses the WEP encryption and decryption algorimths provided
by the Linux kernel.  As such, in order to use WEP you must enable the
Crypto library support (CONFIG_CRYPTO) and the following algorithms:

       ARC4 cipher algorithm (CONFIG_CRYPTO_ARC4)

You also need to enable the following from Library routines:

       CRC32 (CONFIG_CRC32)


Quote
CONFIGURING THE KERNEL
------------ -----   -----       ----       ---       --         -    
You need to enable firmware loading

The kernel must be configured to enable wireless capabilities
(CONFIG_NET_RADIO=y).

Failure to do this will result in the Wireless Tools (iwconfig, iwlist,
etc.) not functioning.

You can check if your kernel is configured with CONFIG_NET_RADIO by
running:

% grep CONFIG_NET_RADIO \
       /lib/modules/`uname -r`/build/include/linux/autoconf.h

You should see the line:

#define CONFIG_NET_RADIO 1

If you have to turn on CONFIG_NET_RADIO in your kernel configuration, make
sure you also rebuild, install, and reboot to the new kernel image.  For help
or instructions on configuring and building the kernel please consult the
documentation contained in your distribution.

if dsl kernel supported above, then it's none need to recompile kernel, and just need kernel-souce to compile ipw2200bg drivers if it' possible do it in liveCD,so i wonder if it's possible to compile in dsl-liveCD.


i make the ipw2200 driver in liveCD:
Quote
make
make -C /lib/modules/2.4.26/build SUBDIRS=/ramdisk/home/dsl/ipw2200-1.0.1 BUILD_DIR=/ramdisk/home/dsl/ipw2200-1.0.1 modules
make[1]: Entering directory `/ramdisk/usr/src/kernel-source-2.4.26'

The present kernel configuration has modules disabled.
Type 'make config' and enable loadable module support.
Then build a kernel with module support enabled.

make[1]: *** [modules] Error 1
make[1]: Leaving directory `/ramdisk/usr/src/kernel-source-2.4.26'
make: *** [modules] Error 2

i cannot recompile the kernel,yet.
the process of mine:
1.boot from dsl cd
2.apps--tools--enable apt
3.mydsl-browser d/l
kernelsource
gcc1
gnu

4.d/l ipw2200-1.0.1.tgz
d/l fireware
d/l ipw2200-1.0.1-3.patch
d/l the Knoppix kernel source which is ready-to-go -
http://developer.linuxtag.net/knoppix....all.deb
5.apt-get install patch and patch the ipw2200-1.0.1 driver
6.relink /lib/modules/2.4.26/build to /usr/src/kernel-source-2.4.26, and relink /usr/src/linux to /usr/src/kernel-source-2.4.26 too,
7.the above is output,
i failed to compile the driver, i'll try to recompile kernel next, or somebody could help me ,point or provide one kernel support the modules,i'll do the rest.

thank you,gjhicks!
i followed you to made my ipw2200bg work good in slax pro 4.2.0.
Back to top
Profile PM 
23 replies since Dec. 23 2004,22:53 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (5) </ 1 [2] 3 4 5 >/
reply to topic new topic new poll
Quick Reply: intel prowireless 2200bg

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code