PDA

View Full Version : Unable to get wireless to function :(



harryhood
05-15-2005, 06:13 PM
PC is a Thinkpad R31 with wireless Network controller: Intersil Corporation Prism 2.5 Wavelan chipset (rev 01)

I've tried wlcardconfig and netcardconfig and I get this:
Sending DHCP broadcast from device eth1 SIOCSIFFLAGS: Device or resource busy

I got the winblow$ drivers from ibm and ran ndiswrapper:

knoppix@0[knoppix]$ ndiswrapper -l
Installed ndis drivers:
2802w driver present
aeiwlnic driver present, hardware present

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

eth0 no wireless extensions. (eth0 is a onboard nic)

eth1 IEEE 802.11-DS ESSID:"" Nickname:"Prism I"
Mode:Managed Bit Rate:11 Mb/s
RTS thr:off

knoppix@0[knoppix]$ netcardconfig
Sending DHCP broadcast from device eth1SIOCSIFFLAGS: Device or resource busy
Operation failed.
Failed.
Hit return to exit.

What am I missing here :?: Thanks for any help!!

mikekgr
05-16-2005, 06:57 AM
Dear harryhood,
regarding knoppix 3.8.2 (you did not mentioned your version of knoppix)
I also tried to set up my wireless network card (linksys WPC54GS) using the same way as I did with knoppix 3.8.1 (here it is working perfectly) but I have not success at all. The possible problem seems the absent of ndiswrapper.ko kernel module.
I suppese that your problem is the same...

If anybody can suggest/help up please ...

Best Regards,
Mike Kranidis

martinppy
05-19-2005, 10:22 PM
dear harryhood, dear mikekgr,

I think you found the solution by yourself, it is very easy. In Knoppix v 3.8.2 the file ndiswrapper.ko in the /lib/linux/modules/misc directory is missing. Just run Knoppix 3.8.1 (if you have it still) and copy the ndilwrapper.ko file to your harddisk. Then run Knoppix 3.8.2 and put the file into the modules/misc directory. Then everything is like in v3.8.1. I added a line to a script. (cp /hdxx/ndiswrapper.ko ...moduledir/misc/)
Here as an example is my script for a longshine 8031g pci-card in a network with acces-point. (copy and modify for your own settings)

#!/bin/bash
# Setup longshine 8031g wlan-pci-card with ndiswrapper for Knoppix
# Version für3.8.2

PATH="/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin:/usr/local/bin"
export PATH

# Get root
[ "`id -u`" != "0" ] && exec sudo "$0" "$@"
unset SUDO_COMMAND
# The lines above are from the original ndiswrapper perl-script


# remove acx_pci-mdule
# not necessary in Knoppix 3.8.2 (but in Kanotix)
# rmmod acx_pci
#

# mount hd
mount /mnt/hd_where_you_have_the_script_and_the_driver

# The module from Version 3.8.1 is simply inserted
cp /where_it_is/ndiswrapper.ko /UNIONFS/lib/modules/2.6.11/misc

# now everything works like with version 3.8.1

# launch ndiswrapper

ndiswrapper -i /where_the_drivers_are/TNET1130.inf

# originally the name of the file was TNET1130.INF (upper-case) extension
# insert module

ndiswrapper -m

# now configure with iwconfig
# depending on your configuration
iwconfig wlan0 essid xxx channel x key restricted (key)


# if all went right the next line initializes network

pump -i wlan0


# at last a message to user

Xdialog --title "Mein Wlan" --backtitle "Ergebnis" --msgbox "Das Script ist beendet." 12 75

# control by going into internet or running kwifimanger

mikekgr
05-19-2005, 11:33 PM
Dear martinppy,
many many thanks for your fine howto regarding the ndiswrapper.ko and the rest info.

Best Regards,
Mike Kranidis

harryhood
05-20-2005, 02:20 AM
I probably should have mentioned that I'm running from the CD, not a HDD install. But your message gives
me insight into the problem. Thanks!

martinppy
05-20-2005, 04:16 PM
Dear Harryhood,

because of the UNIONFS feature (since v 3.8.1) you have a R/w environment even if you run Knoppix from CD. For som directorys You have to be root.
best regards martinppy

Opium
05-20-2005, 07:11 PM
I've encountered the same problem. I'm running from CD and I'm copying from USB key the missing modules to /lib/modules/2.6.11/misc/
Yet modprobe does not locate it afterwards. Any idea how to help it locate it?

Thanks,
Tal Rotbart