[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

ndiswrapper ifup wlan problem



I installed ndiswrapper on a 2.6.11.12 kernel following the intruction on sourceforge Installing Ndiswrapper in Debian. Everything went OK. This is the result on dmesg:

ndiswrapper version 1.1 loaded (preempt=yes,smp=no)
ndiswrapper: driver wg311v2 (NETGEAR, Inc.,06/17/2004,6.0.5.30) loaded
ACPI: PCI interrupt 0000:00:0b.0[A] -> GSI 19 (level, low) -> IRQ 19
ndiswrapper: using irq 19
wlan0: ndiswrapper ethernet device 00:09:5b:bf:c4:a5 using driver wg311v2, configuration file 104C:9066:1385:4C00.5.conf
wlan0: encryption modes supported: WEP, WPA with TKIP

Now on the command "ifup wlan0" I get the following error:

/bin/sh: -c: line 1: syntax error: unexpected end of file
Failed to bring up wlan0.


And this is what I have in my interfaces:

auto wlan0
iface wlan0 inet dhcp
pre-up if grep -q ndiswrapper /proc/modules then : else modprobe ndiswrapper fi
wireless_keymode restricted
wireless_key [my key]
wireless_essid [my essid]

Can someone help me?
Thank you
Thierry





Reply to: