Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Intel PRO/Wireless 2100 (IPW2100) mini DRIVER!!!
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3, 4, 5  Next  
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
LosD
n00b
n00b


Joined: 12 Jun 2002
Posts: 61
Location: Taastrup, Denmark

PostPosted: Thu Apr 22, 2004 11:44 am    Post subject: Reply with quote

Hmmm... Try making a file called ipw2100 in /etc/modules.d/ containing this:

Code:

alias eth1 ipw2100
 
options ipw2100 if_name=eth1


And restart the computer...

Hope that helps!

Dennis
Back to top
View user's profile Send private message
deadaim
Guru
Guru


Joined: 27 Oct 2003
Posts: 467
Location: Florida

PostPosted: Fri Apr 23, 2004 7:47 pm    Post subject: Reply with quote

Nope. That didn't do it. :(

Could it be the kernel I'm using? Right now, I have gentoo-dev-sources 2.6.5. Is there anything that needs to be specified in the kernel?

Should I try another? What kernel do you recommend?
Back to top
View user's profile Send private message
jarealist
Apprentice
Apprentice


Joined: 07 Oct 2002
Posts: 224

PostPosted: Sat Apr 24, 2004 10:50 am    Post subject: Reply with quote

LosD Wrote:

Quote:
For me 0.41 either gives a kernel panic, or an oops that kills my keyboard, except ctrl-alt-delete..
.

It even killed my control-alt-delete; plus corrupted my modprobe.conf, modprobe.devfs, modules.conf and modules.devfs files. I'm using gentoo-dev-sources 2.6.5-r1 and have support for firmware loading built into the kernel. Sony Vaio PCG-V505DX. Guess I'll wait till the next driver release.
Back to top
View user's profile Send private message
marinheiro
Tux's lil' helper
Tux's lil' helper


Joined: 16 Jan 2004
Posts: 91

PostPosted: Sat Apr 24, 2004 10:04 pm    Post subject: modules fail to load Reply with quote

I just emerged ipw2100 (0.41) for the first time. Everthing seemed fine,
but
Code:
modprobe ipw2100

gives
Code:
WARNING: Error inserting hostap (/lib/modules/2.6.1-gentoo/net/hostap.ko): Invalid module format
FATAL:  Error inserting ipw2100 (/lib/modules/2.6.1-gentoo/net/ipw2100.ko): Invalid module format


Any ideas? (warning, newbie - my level of understanding of all this is pretty low, and this is as likely to be me messing something up as it is to be something wrong with the driver. I have seen that if I try to emerge hostap on its own it fails totally with a mass of undeclared values in mpspec.h, but since I have no idea what hostap is, I'm guessing maybe I shouldn't even try to do that. Basically I'm just lost... :-(

Graham
Back to top
View user's profile Send private message
jewps
n00b
n00b


Joined: 29 Mar 2004
Posts: 74

PostPosted: Mon Apr 26, 2004 5:05 am    Post subject: Reply with quote

When you emerge ipw2100, does it automagically generate the net.eth1 file for you? I can get it to assosiate to a AP with WEP and all working quite well but i don't know how i should assign an IP to it cause net.eth1 is not there! What should I do?

firmware loads, it even recongnises the wifi on off button which is quite neat..

any suggestions? thanks :)
Back to top
View user's profile Send private message
dvc5
Guru
Guru


Joined: 06 Dec 2003
Posts: 433
Location: Sunnyvale, California

PostPosted: Mon Apr 26, 2004 5:09 am    Post subject: Reply with quote

jewps wrote:
I can get it to assosiate to a AP with WEP and all working quite well but i don't know how i should assign an IP to it cause net.eth1 is not there! What should I do?

Code:
ifconfig eth1 up
dhcpcd eth1

Assuming you've set the essid. "iwconfig eth1 essid "nameofessid"" Once you've confirmed that the device can get an IP, you can copy your net.eth0 script to net.eth1 and you're set.
Code:
rc-update add net.eth1 default
if you want.
_________________
#define NULL rand() /*heh heh heh */

Green Is Good
Back to top
View user's profile Send private message
deadaim
Guru
Guru


Joined: 27 Oct 2003
Posts: 467
Location: Florida

PostPosted: Mon Apr 26, 2004 5:36 am    Post subject: Reply with quote

jewps wrote:
When you emerge ipw2100, does it automagically generate the net.eth1 file for you? I can get it to assosiate to a AP with WEP and all working quite well but i don't know how i should assign an IP to it cause net.eth1 is not there! What should I do?

firmware loads, it even recongnises the wifi on off button which is quite neat..

any suggestions? thanks :)


Code:
cp /etc/init.d/net.eth0 /etc/init.d/net.eth1

Have fun! :wink:
Back to top
View user's profile Send private message
jewps
n00b
n00b


Joined: 29 Mar 2004
Posts: 74

PostPosted: Mon Apr 26, 2004 6:43 am    Post subject: Reply with quote

Ah that was easy! I thought emerging ipw2100 copies the rc-scripts by itself.. doh :)

After fooling around with iwconfig, i'm starting to wonder if i have to do a iwconfig eesid "blah" every time? cause i noticed once in a while, eth1 looses it's settings so i have to re-enter the wep keys, essid, etc.. again.

Can we use the conf.d/net drivers to specify essid's, perhaps maybe even with profile support? ie: ssid: home and ssid: work

I'm surprised WEP works pretty well even though it's listed as unstable.

Thank you :)
Back to top
View user's profile Send private message
dvc5
Guru
Guru


Joined: 06 Dec 2003
Posts: 433
Location: Sunnyvale, California

PostPosted: Mon Apr 26, 2004 6:52 am    Post subject: Reply with quote

If you emerge wireless-tools, there's settings in /etc/conf.d/wlan.conf and wlancfg-nameofessid where you can set the essid, keys, etc. You'll need to copy the "wlancfg-default" to "wlancfg-nameofessid" for each essid you want to have custom settings for (wep key, etc.).
_________________
#define NULL rand() /*heh heh heh */

Green Is Good
Back to top
View user's profile Send private message
jewps
n00b
n00b


Joined: 29 Mar 2004
Posts: 74

PostPosted: Tue Apr 27, 2004 7:53 am    Post subject: Reply with quote

Wireless-tools is part of the ipw2100 package, however i can't seem to find the config files. Re-emerging wireless-tools didn't help.

hmmm
Back to top
View user's profile Send private message
dvc5
Guru
Guru


Joined: 06 Dec 2003
Posts: 433
Location: Sunnyvale, California

PostPosted: Tue Apr 27, 2004 8:07 am    Post subject: Reply with quote

jewps wrote:
Wireless-tools is part of the ipw2100 package, however i can't seem to find the config files. Re-emerging wireless-tools didn't help.

hmmm

My bad, those config files actually come with linux-wlan-ng package I think. Therefore, since you don't use those drivers, you'll have to either make a short bash script or find another package if you want to automate activating the wireless card with a WEP.

All of the access points I use don't have WEP enabled so it just joins automatically when the machine detects a connection at boot time. I accomplished this by just copying net.eth0 to net.eth1 in /etc/init.d/.
_________________
#define NULL rand() /*heh heh heh */

Green Is Good
Back to top
View user's profile Send private message
nadin
Tux's lil' helper
Tux's lil' helper


Joined: 05 Aug 2003
Posts: 103

PostPosted: Tue Apr 27, 2004 9:51 pm    Post subject: Reply with quote

you can do a number of different things,

The way I do it is the following

I replace the net.eth1 code in/etc/init.d with

Quote:
#!/sbin/runscript

depend() {
use hotplug pcmcia
}

start() {
ebegin "Starting wireless-lan"
/usr/bin/switchto -s
eend $? "Failed to start wireless-lan"
}

stop() {
ebegin "Stopping wireless-lan"
kill $(cat /var/run/dhcpcd-eth1.pid)
eend $? "Failed to stop wireless-lan"
}


Then I emerged a program called quickswitch that allows you to switch between networks (wireless or wired)


Now my grub config has several entries so I just select the entry with respect to the network I want to join

Code:

kernel (hd0,0)/vmlinuz root=/dev/hda3 vga=792 hdc=ide-cd SWITCHTO=Home

kernel (hd0,0)/vmlinuz root=/dev/hda3 vga=792 hdc=ide-cd SWITCHTO=School

kernel (hd0,0)/vmlinuz root=/dev/hda3 vga=792 hdc=ide-cd SWITCHTO=Wired


for my home and school wireless network, and for any Wired network. Basically the SWITCHTO parameter tells quickswitch program switchto -s what network setting to use. It works prefectly for me. Then later on running switchto manually, it allows me to switch easily. It also says the wep keys if required

Nadin[/b]
Back to top
View user's profile Send private message
svieira
n00b
n00b


Joined: 27 Apr 2004
Posts: 3

PostPosted: Tue Apr 27, 2004 10:01 pm    Post subject: Reply with quote

There is a workaround if when loaded at boot time ipw2100 crashes with "ooops?" hanging the computer...

First you have to move the firmware somewhere else and reboot. The system then will startup fine...

After that do the following:

rmmod ipw2100
copy the firmware back
modprobe ipw2100

Unfortunatelly you will have to do this every time the machine boots. However writing a simple scripts that performs this workaround on boot time is easy to write...
Back to top
View user's profile Send private message
jewps
n00b
n00b


Joined: 29 Mar 2004
Posts: 74

PostPosted: Wed Apr 28, 2004 9:03 am    Post subject: Reply with quote

dvc5 wrote:
jewps wrote:
Wireless-tools is part of the ipw2100 package, however i can't seem to find the config files. Re-emerging wireless-tools didn't help.

hmmm

My bad, those config files actually come with linux-wlan-ng package I think. Therefore, since you don't use those drivers, you'll have to either make a short bash script or find another package if you want to automate activating the wireless card with a WEP.

All of the access points I use don't have WEP enabled so it just joins automatically when the machine detects a connection at boot time. I accomplished this by just copying net.eth0 to net.eth1 in /etc/init.d/.


No worries! Thanks for the help tho. I figured if I really need multiple WEP profiles, I could use hprofile and have ifplugd execute different parts of the net.eth1 scripts according to what hprofile senses. But right now all i did was put IWCONFIG eth1 key {$key} essid {$essid}.... since I use wireless mainly at home.

By the way, ifplugd works great with wireless, so it's a nice option if you don't always need ipw2100, hostap modules loaded.

Thansk for help everyone, really apperciate it :)
Back to top
View user's profile Send private message
tobimat80
Apprentice
Apprentice


Joined: 27 May 2003
Posts: 272
Location: Trier - Germany

PostPosted: Wed Apr 28, 2004 1:35 pm    Post subject: Reply with quote

Hi!

Im using version 0.41. Everything works fine - except that I'm not able to start the device at boot time:
Quote:
ipw2100: Intel(R) PRO/Wireless 2100 Network Driver, 0.41
ipw2100: Copyright(c) 2003-2004 Intel Corporation
Detected ipw2100 PCI device at 0000:02:02.0, dev: eth1, mem: 0x90000000-0x90000FFF -> e08c1000, irq: 5
eth1: Using hotplug firmware load.
eth1: Firmware not available or load failed
eth1: ipw2100_get_firmware failed: -2
eth1: Failed to power on the adapter.
eth1: Failed to start the firmware.
ipw2100: probe of 0000:02:02.0 failed with error -5


"Hotplug firmware loading support" is build in the kernel (gentoo-dev-sources). When I load ipw2100 manually it works.

?? :(

Any ideas?
THX!
_________________
Wer Rechtschreibfehler findet, darf sie behalten und auf DVD brennen!
Back to top
View user's profile Send private message
Lupin III
n00b
n00b


Joined: 04 May 2004
Posts: 8
Location: Italy

PostPosted: Tue May 04, 2004 10:38 pm    Post subject: Reply with quote

I have installed the ipw2100 ebuild, version 0.41.
If I use
Quote:
modprobe ipw2100
everything goes good and the wireless goes well.

The problem starts when I restar the system; first it can't load the ipw2100 module, and then, when hotplug starts, I get a Kernel Panic.

Obviously I have created a file, net.eth1, and added it to default with rc-update, and then added the module to modules.autoload.d/kernel-2.4.

PS: the same problem with the other ebuilds!

Can someone help me?
Thanks
Back to top
View user's profile Send private message
jewps
n00b
n00b


Joined: 29 Mar 2004
Posts: 74

PostPosted: Wed May 05, 2004 10:17 am    Post subject: Reply with quote

I think the problem is, you're trying to load the modules instead of using hotplug to load.. Hotplug should automatically load the modules when it senses the device, afterwards net.eth1 will start after hotplugd.

Anyone try 0.42?

it's been out for a few days
Back to top
View user's profile Send private message
LostControl
l33t
l33t


Joined: 02 Mar 2004
Posts: 885
Location: La Glane, Suisse

PostPosted: Wed May 05, 2004 10:30 am    Post subject: Reply with quote

jewps wrote:
Anyone try 0.42?


Yes ! It is the version I use ! No problem ! But I do not need WEP so I don't know if there is improvements in this version !?
Back to top
View user's profile Send private message
Lupin III
n00b
n00b


Joined: 04 May 2004
Posts: 8
Location: Italy

PostPosted: Wed May 05, 2004 12:41 pm    Post subject: Reply with quote

I've tried to remove ipw2100 from modules.autoload.d/kernel-2.4 but it's the same....: I get a Kernel Panic!!!
Back to top
View user's profile Send private message
lplatypus
n00b
n00b


Joined: 26 Mar 2004
Posts: 16

PostPosted: Wed May 05, 2004 10:45 pm    Post subject: Reply with quote

jewps wrote:
Anyone try 0.42?


LostControl wrote:

Yes ! It is the version I use ! No problem ! But I do not need WEP so I don't know if there is improvements in this version !?


I've been using 0.42 for a day with WEP and it works fine.
Back to top
View user's profile Send private message
jewps
n00b
n00b


Joined: 29 Mar 2004
Posts: 74

PostPosted: Thu May 06, 2004 8:48 am    Post subject: Reply with quote

Lupin III wrote:
I've tried to remove ipw2100 from modules.autoload.d/kernel-2.4 but it's the same....: I get a Kernel Panic!!!


I really don't know what to suggest except re-emerging 0.41 and starting from scratch.. sorry


Too bad 0.42 isn't in portage yet, otherwise i'd upgrade. WEP works fine in .41 tho it is a bit buggy
Back to top
View user's profile Send private message
jarealist
Apprentice
Apprentice


Joined: 07 Oct 2002
Posts: 224

PostPosted: Fri May 07, 2004 7:09 pm    Post subject: Reply with quote

Version 0.43 is available for download at:

http://ipw2100.sourceforge.net/

Changes:

* HOSTAP issue in Makefile for 2.4 fix (thanks to Andreas Piesk)
* Typeo in Makefile (thanks to Eric C. Cooper)
* Improved signal quality metric (thanks to Mikolaj Kolakowski)
* Part 1 (of 2) for Monitor mode support added (thanks to Maciej Urbaniak)
* Changed aging of scan results such that if a beacon or response isn't received within 3 scan's, it is not listed in scan results.
* Added support for 802.1x EAP authentication (thanks to Pedro Ramalhais)
* Fixed 'badness in local_bh_enable' (thanks to trash on IRC for testing)
* Increased timeout for detecting the hardware coming to life; this should help those that frequently see the 'No response from Symbol - hw not alive' message (I can't find who found this fix... let me know if it was you.)
* Fixed boot time initialization failure (thanks to Benjamin Osheroff)
* Added CONFIG_IPW2100_RX_DEBUG for dumping packet contents in the event that a WEP packet's ICV fails.

Going to try it later today.
Back to top
View user's profile Send private message
dyqik
Tux's lil' helper
Tux's lil' helper


Joined: 08 May 2003
Posts: 120
Location: Oxford, UK

PostPosted: Sat May 08, 2004 2:31 pm    Post subject: Reply with quote

Slightly off topic, but intel have started an equivalent project for the 2200BG card in the last few days. No files yet, but worth keeping an eye on.
Back to top
View user's profile Send private message
stieve
n00b
n00b


Joined: 08 Aug 2003
Posts: 46

PostPosted: Fri May 14, 2004 11:09 pm    Post subject: Reply with quote

I have problem during the emerge of the ipw2100 package. The problem is that hostap-0.0.4 can't compile.
It always give met the error:
"Function src_compile, Line 79, Exitcode 2"
The last time I could install the ipw2100 package without a problem and now after a format I can't get it to work.
Hope somebody can help me.
Back to top
View user's profile Send private message
LosD
n00b
n00b


Joined: 12 Jun 2002
Posts: 61
Location: Taastrup, Denmark

PostPosted: Sun May 16, 2004 12:45 am    Post subject: Reply with quote

stieve wrote:
I have problem during the emerge of the ipw2100 package. The problem is that hostap-0.0.4 can't compile.
It always give met the error:
"Function src_compile, Line 79, Exitcode 2"
The last time I could install the ipw2100 package without a problem and now after a format I can't get it to work.
Hope somebody can help me.


Hmmm, I don't really know about the hostap problem, but if you don't need WEP, you should be able to modify the ipw2100-0.41.ebuild:

Change the RDEPEND to:
Code:

RDEPEND=">=sys-apps/hotplug-20030805-r2"


and the src_compile() function to:
Code:

src_compile() {
        unset ARCH
        emake KSRC=${ROOT}/usr/src/linux all || die
}


And then reemerge ipw2100, it should just skip the hostap thingy and go straight to ipw2100.

I can't guarantee that it will work, or even compile, but try and see if it will... I think it'll come with an error saying "Modules for hostap-driver not found!" and some more after installation, but that can be ignored...

Oh well... Hope it works!

Dennis

Hope
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Goto page Previous  1, 2, 3, 4, 5  Next
Page 4 of 5

 
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