PDA

View Full Version : Wireless with Intel Centrino (2100) & Knoppix 3.4



headshot_001
05-05-2004, 10:45 AM
I have just DL'd the 3.4 version. It mentions that the Centrino chip is supported. I have tried getting it to work but to know avail.

The main reason I have loaded Knoppix is to use Airsnort and test the security of the wireless network here.

Can anyone offer any 123 steps to getting this to work?

Thank you in advance.

aay
05-05-2004, 07:43 PM
Hmm. I'd be interested in hearing about this as well. Right now I don't have anything that's using Centrino, but I have thought about getting a new notebook. I've discovered a few wireless issues that I need to email klaus about, but nothing Centrino related as of yet.

r00t 4orce
05-05-2004, 08:16 PM
I've discovered a few wireless issues that I need to email klaus about
Any chance you can shre the issue you have already found?

--r00t

level
05-05-2004, 09:36 PM
Can you give the results from iwpriv. I'm not sure if the Centrino drivers support monitor mode - which you will need for airsnort.

headshot_001
05-06-2004, 03:06 AM
Can you give the results from iwpriv. I'm not sure if the Centrino drivers support monitor mode - which you will need for airsnort.

I did get a message saying something about monitor mode but I am unsure what supporting monitoring mode means. I will have a trawl around to see if I can dig up some info. Any pointers from yourself is appreciated too :)

level
05-06-2004, 03:28 AM
If you ran airsnort you probably got a message " cannot set monitor mode " or something to that effect. If you type the command "iwpriv" (without quotes) and if you don't see monitor listed, then I don't think you can use airsnort with that driver. At least not at the present state of development.

You may want to check their website:

http://ipw2100.sourceforge.net/

headshot_001
05-06-2004, 04:41 AM
If you ran airsnort you probably got a message " cannot set monitor mode " or something to that effect. If you type the command "iwpriv" (without quotes) and if you don't see monitor listed, then I don't think you can use airsnort with that driver. At least not at the present state of development.

You may want to check their website:

http://ipw2100.sourceforge.net/

Where would one type iwpriv? As you can gather I am quite new to Knoppix. I will look at the link you provided meantime. Thanks for the heads up :)

aay
05-06-2004, 05:24 AM
I've discovered a few wireless issues that I need to email klaus about
Any chance you can shre the issue you have already found?

--r00t

Sure, basically it has to do with wireless usb devices. With the release of 3.4 I tired to get my Linksys wusb12 device working. 3.4 detected it and loaded the prism2_usb driver which is great. The device was designated as wlan0. Unfortunately I don't think it's possible to designate the essid or to use a wep key with usb wlan devices when using Knoppix from the cd. The reason is as follows: the configs for wireless pcmcia cards are stored in /etc/pcmcia/wireless.opts. This is the file that is written to when users plug in their essid and wep keys using wlcardconfig. The problem is that the config file for wlan devices is /etc/wlan/wlan.conf, but on Knoppix this is just a symlink to /KNOPPIX/etc/wlan/wlan.conf which is of course is read only. The real wlan.conf needs to be placed in /etc/wlan/wlan.conf and made writeable just like /etc/pcmcia/wireless.opts is. After that, Klaus could hopefully update wlcardconfig so that it could plug in the right values to wlan.conf. BTW, if i'm mistaken about any of this, please someone let me know. I haven't fooled around much with these wireless usb devices, but from what I understand this info is correct and these setting will need to be adjusted if people are to get their usb wireless devices working.

barl0w
05-06-2004, 06:53 AM
headshot,

What have you tried to get the chipset working? I booted first into 'knoppix26', and I didn't get it to work in there (I didn't try very hard), but when I just booted from plain 'knoppix', my card was recognized, and I ran the iwconfig in the Knoppix menu under Networking. Worked like a charm.

Please post your reply & problems.

Scott

aay
05-06-2004, 12:57 PM
headshot,

What have you tried to get the chipset working? I booted first into 'knoppix26', and I didn't get it to work in there (I didn't try very hard), but when I just booted from plain 'knoppix', my card was recognized, and I ran the iwconfig in the Knoppix menu under Networking. Worked like a charm.

Please post your reply & problems.

Scott

You're talking about a usb device? You were able to configure essid and wep with iwconfig?

level
05-06-2004, 01:32 PM
headshot_001 wrote:


Where would one type iwpriv? As you can gather I am quite new to Knoppix. I will look at the link you provided meantime. Thanks for the heads up

You would type it at the terminal. There's an icon in the lower left corner that looks like a chalk board.

I'm thinking of buying a Centrino notebook and would be interested in seeing the results you get.

barl0w
05-06-2004, 04:25 PM
You're talking about a usb device? You were able to configure essid and wep with iwconfig?

I'm talking about a built-in pci card, a non-usb device.

My laptop is:
Dell Latitude D600
1.6 GHz Centrino CPU
1 GB RAM
Intel Pro 2100 Wireless card
40 GB HDD
ATI Radeon 9000 graphics (32 mb)
DVD/CDRW

I'll try Knoppix26 today and let you know if it works.

barl0w
05-06-2004, 05:12 PM
Hey there guys -

OK, I tried out 2.6 kernel again, and my only my built in gigabit ethernet device was recognized. That means the ipw2100 was not recognized and didn't work under 2.6. Is it that ipw2100 is only configured to work under 2.4?

Also, in 2.4, I'm having trouble getting the device to come up. here are some results. Please help (eth0 is my wireless card):



root@ttyp0[knoppix]# ifconfig eth0
eth0 Link encap:Ethernet HWaddr 00:04:23:4C:AC:E3
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:1
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:11 Base address:0x1000 Memory:fafef000-fafeffff


root@ttyp0[knoppix]# ifup eth0
Ignoring unknown interface eth0=eth0.


root@ttyp0[knoppix]# iwpriv
lo no private ioctls.

eth0 no private ioctls.

eth1 no private ioctls.

Does that help anything?

hugodan3
05-06-2004, 05:56 PM
Hi,
I've gotten my Dell 600m laptop ( Centrino based ) to work with Knoppix 3.4 . One first thing to mention is that kernel 2.6 will not work. The module for Intel 2100 pro wireless isn't working and returns a funky error message when I tried to load it with 'modprobe'. So, use the default 2.4.26 kernel . The steps I am posting are from what I remember from yesterday night.

1. open a terminal and keep it open for step 2 and 5. ( optional ) and step 6. ( needed )

2. optionally, type 'iwconfig'. You now should see a eth0 device which points to the wlan card.( you may also do a 'lsmod' to see whether a module ipw2100 has been loaded )

3. now run the wlan configuration tool. You will start it from the desktop and not from the terminal. It comes with a GUI so it makes it a little less cryptic. You will find it under start - knoppix - internet ( not 100% sure about that order but you'll find it by clicking around )

4. You now got to know your WLAN setup parameters like ssid / channel and encryption key. That's because you got to enter them when prompted. Forget about entering extra info you don't know, you won't need it ( like module parameter ). When you are somewhat sure that everything is fine and the wlan config tool exit without any error, you most likely are ready to go except that you now need to start DHCP on eth0.

5. Optionally type again 'iwconfig'. Now, you should see an updated table for 'eth0' which should show you the correct SSID which you assigned when setting up the wireless router. BTW, I have not setup a SSID requirement for my wlan network but I have a encryption key. I can still see the SSID correctly retrieved.

6. As a final step, type 'netcardconfig'. Pick 'eth0' and if asked to start dhcp say yes. Exit the tool. To verify that you got finally a network running, type 'ifconfig' . You now hopefully see a device 'eth0' added ...

7.DONE.

Hope that helped. Forgive me if I missed or misspelled a configuration step. As I said I am typing this from my memory.

Dan.

barl0w
05-06-2004, 06:29 PM
Thanks for the help. What might I be doing wrong?


knoppix@ttyp0[knoppix]$ iwconfig
lo no wireless extensions.

eth0 IEEE 802.11b ESSID:"homelandsecuritya32" Nickname:"ipw2100"
Mode:Managed Frequency:2.462GHz Access Point: 00:09:5B:53:26:AE
Bit Rate=1Mb/s Tx-Power=0 dBm
Retry:on RTS thr=2304 B Fragment thr:off
Power Management:off
Link Quality:0/100 Signal level:-88 dBm Noise level:-98 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:83

eth1 no wireless extensions.



lsmod
Module Size Used by Not tainted
radeon 108484 13
autofs4 8756 1 (autoclean)
af_packet 13544 0 (autoclean)
nls_iso8859-1 2844 0 (autoclean)
nls_cp437 4348 0 (autoclean)
agpgart 42660 3
i810_audio 25208 1
ac97_codec 11916 0 [i810_audio]
soundcore 3428 2 [i810_audio]
tg3 45832 1
ipw2100 111568 0
firmware_class 3388 0 [ipw2100]
hostap_crypt 1424 0 [ipw2100]
serial 52100 0 (autoclean)
mousedev 3832 1
hid 22372 0 (unused)
input 3168 0 [mousedev hid]
ds 6536 2
yenta_socket 9504 2
pcmcia_core 39840 0 [ds yenta_socket]
thermal 6564 0 (unused)
processor 8976 0 [thermal]
fan 1568 0 (unused)
button 2508 0 (unused)
battery 5888 0 (unused)
ac 1824 0 (unused)
rtc 7036 0 (autoclean)
cloop 8740 2
ieee1394 183076 0
usb-storage 61696 0 (unused)
usb-uhci 21644 0 (unused)
usbcore 57600 1 [hid usb-storage usb-uhci]
ataraid 6180 0
ide-cd 28512 0


knoppix@ttyp0[knoppix]$ iwconfig
lo no wireless extensions.

eth0 IEEE 802.11b ESSID:"homelandsecuritya32" Nickname:"ipw2100"
Mode:Managed Frequency:2.462GHz Access Point: 00:09:5B:53:26:AE
Bit Rate=1Mb/s Tx-Power=0 dBm
Retry:on RTS thr=2304 B Fragment thr:off
Power Management:off
Link Quality:0/100 Signal level:-88 dBm Noise level:-98 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:83

eth1 no wireless extensions.



knoppix@ttyp0[knoppix]$ netcardconfig
Sending DHCP broadcast from device eth0Operation failed.
Failed.
Hit return to exit.


knoppix@ttyp0[knoppix]$ ifconfig
eth1 Link encap:Ethernet HWaddr 00:0B:DB:05:11:8D
inet addr:192.168.1.102 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:258 errors:0 dropped:0 overruns:0 frame:0
TX packets:290 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:233903 (228.4 KiB) TX bytes:45383 (44.3 KiB)
Interrupt:11

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:7 errors:0 dropped:0 overruns:0 frame:0
TX packets:7 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:389 (389.0 b) TX bytes:389 (389.0 b)


TIA,

scott

hugodan3
05-06-2004, 06:40 PM
eth0 IEEE 802.11b ESSID:"homelandsecuritya32" Nickname:"ipw2100"
Mode:Managed Frequency:2.462GHz Access Point: 00:09:5B:53:26:AE
Bit Rate=1Mb/s Tx-Power=0 dBm
Retry:on RTS thr=2304 B Fragment thr:off
Power Management:off
Link Quality:0/100 Signal level:-88 dBm Noise level:-98 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:83

With a link quality of 0 out of 100 I wouldn't wonder why you are not connected ? Maybe get a little closer to the router ? :P ( I am not sure whether this is applicable in your case )
Also try to first shutdown your eth1 connection - ifconfig eth1 down.

Dan.

torbu
05-06-2004, 07:10 PM
I would love to have to deal with the problems you're dealing with already, but unfortunately I'm still struggling at a step at the very beginning. I actually created a seperate topic, but maybe somebody here knows how to also fix this: Error when running makefile for hostap-driver-0.1.3 (http://www.knoppix.net/forum/viewtopic.php?t=10240).

Your help is greatly appreciated!

barl0w
05-06-2004, 07:36 PM
Ahhh!

The feeling of surfing the net wirlessly and in Knoppix. Isn't life bliss!?

I went to another access point that doesn't have WEP or MAC filtering enabled like my home wlan does. All I did was boot up, config the wlan with wavelan configuration in the menu, and then run Network Card Configuration from the menu. DHCP enabled.....OK!

Here I am typing the results!

---> Torbu

Are you using a different version of Knoppix (older), or a different distro that you need to install the ipw2100 files from Intel? I went through that with Knoppix 3.3 and Fedora Core test 1 & 2, and still couldn't get it to work. Fedora is a very nice distro, but I took it off because I just couldn't figure out how to config my ipw2100 on it. The only thing that DID work was to use the Linuxant driver, but I didn't really want to pay $20.00 so quickly, and thus waited to see if ipw2100 was included with 3.4. Lucky for me it is, and it now works!

Scott

level
05-06-2004, 07:38 PM
torbu writes:
I would love to have to deal with the problems you're dealing with already, but unfortunately I'm still struggling at a step at the very beginning. I actually created a seperate topic, but maybe somebody here knows how to also fix this: Error when running makefile for hostap-driver-0.1.3.

I can't help you with your makefile problem and from the post you link to, it appears you already installed Knoppix 3.3. But I wanted to mention that Knoppix 3.4 has hostap already installed. It may be easier to just install Knoppix 3.4 in place of 3.3. Just a thought.

barl0w
05-06-2004, 07:43 PM
With a link quality of 0 out of 100 I wouldn't wonder why you are not connected ? Maybe get a little closer to the router ? ( I am not sure whether this is applicable in your case )
Also try to first shutdown your eth1 connection - ifconfig eth1 down.

Thanks for the tip Dan! I'll try the second one though, as I was sitting 3 feet away from my wrouter :wink:

I'll have to check to make sure the ESSID and the WEP password was correct, but like I mentioned above, I did get it working on a wrouter that has no protection on it at all. good thing, it's not my router!

Scott

headshot_001
05-07-2004, 05:09 AM
headshot,

What have you tried to get the chipset working? I booted first into 'knoppix26', and I didn't get it to work in there (I didn't try very hard), but when I just booted from plain 'knoppix', my card was recognized, and I ran the iwconfig in the Knoppix menu under Networking. Worked like a charm.

Please post your reply & problems.

Scott

Hi Barlow.

Knoppix wouldnt boot. I had to use a cheat code to get it to work properly. I will try the iwconfig and post my findings then.

headshot_001
05-07-2004, 05:41 AM
If you ran airsnort you probably got a message " cannot set monitor mode " or something to that effect. If you type the command "iwpriv" (without quotes) and if you don't see monitor listed, then I don't think you can use airsnort with that driver. At least not at the present state of development.

You may want to check their website:

http://ipw2100.sourceforge.net/

Level - I tried what you suggested and I get


lo - no private ioctls
eth0 - no private ioctls
eth1 - no private ioctls


... so I presume you are correct. When I load up Airsnort, it simply quits when I select eth0 and other (for the type of card) seeing as wlan-ng and host ap / orinoco and the only other ones listed (which give me the monitopr mode error msg).

headshot_001
05-07-2004, 05:42 AM
headshot,

What have you tried to get the chipset working? I booted first into 'knoppix26', and I didn't get it to work in there (I didn't try very hard), but when I just booted from plain 'knoppix', my card was recognized, and I ran the iwconfig in the Knoppix menu under Networking. Worked like a charm.

Please post your reply & problems.

Scott

Barlow - to get it working on my machine I typed
knoppix acpi=off

torbu
05-07-2004, 08:29 PM
I might be off-topic with the recent replies, but just in case somebody can't get the Centrino Pro2100 wireless network card to work under Knoppix / Linux with Intel's official Linux driver, you might wanna try the Ndiswrapper (http://ndiswrapper.sourceforge.net).

It's been working out quite well for me (http://www.knoppix.net/forum/viewtopic.php?p=46665#46665) so far and this way it's even supporting the Ad-hoc network feature yet. Don't know what the side effects are though for using a windows DLL on a Linux system...

headshot_001
05-08-2004, 06:49 AM
I might be off-topic with the recent replies, but just in case somebody can't get the Centrino Pro2100 wireless network card to work under Knoppix / Linux with Intel's official Linux driver, you might wanna try the Ndiswrapper (http://ndiswrapper.sourceforge.net).

It's been working out quite well for me (http://www.knoppix.net/forum/viewtopic.php?p=46665#46665) so far and this way it's even supporting the Ad-hoc network feature yet. Don't know what the side effects are though for using a windows DLL on a Linux system...

Knoppix seems to be able to use mine fine however I am still scratching my head over the *monitor mode* whilst trying to use Airsnort. I looked at the Centrino 2100 driver support pages on Sourceforge but I could not see anything about this.

If anyone at all has had success with getting Airsnort to work with the Centrino 2100, it'd be great to hear from you.

BobHodgen
05-08-2004, 02:17 PM
Hi:

Following Dan's advice from this thread I finally got my wireless to work!

I have a Sony VAIO Z1 laptop with the intelo pro 2100 wireless card. This is the first Linux Distro (knoppix 3.4) that has worked with my wireless.

The only issue is that I have to run the wavenan configuration utility and netcardconfig each time I boot. Once I've run those I'm up and running.

I'm a Lunux noob and this has me very excited!

Thanks to all

Bob

Gerome
06-08-2004, 05:46 PM
Hmmmmm...
is there some kind of problem with WEP keyed networks? I had only the opportunity to connect to such a network because I do not own an Access Point.

I own a BENQ Joybook 5000.G02 that has exactly the same Centrino WLAN card.

with the 2.4 Kernal it is recognized and I can set it up. I did exactly as described in this and some other threads but the signal was still 0.
The signal quality with Windows was very high!

There has to be some kind of tool with which I can scan for APs but I didnt find one. (that doesnt mean much cause I am sometimes not able to find my wallet while it rests in my own hand ;-))
That way I could find out if the card works or not...

Anyone has any tips to check that this way or another?

Thanks in advance!