Problem with ndis on ext2 boot


Forum: Networking
Topic: Problem with ndis on ext2 boot
started by: Juanito

Posted by Juanito on June 22 2007,11:12
I've come across a strange problem with a USB stick boot where the stick is formatted ext2 - this repeats with both DSL 3.3 and 3.4rc1 - but does not appear with two other sticks formatted FAT16/FAT32.

If I try to connect to a wireless network, I get this:
Code Sample
# /opt/myndis.sh
couldn't copy /mnt/sda1/drivers/ndiswrapper/bcmwl5a.inf at /usr/sbin/ndiswrapper line 139.
Error for wireless request "Set ESSID" (8B1A) :
   SET failed on device wlan0; No such device.
Error for wireless request "Set Encode" (8B2A) :
   SET failed on device wlan0; No such device.
Operation failed.
# cat /opt/myndis.sh
#!/bin/bash
#
/usr/local/bin/ndiswrapper.sh /mnt/sda1/drivers/ndiswrapper/bcmwl5a.inf wlan0 ESSID WE:PC:OD:E 2>&1 >/dev/null
#EOF

The same script and the same .inf/.sys files work fine on the other USB sticks and I have copied them onto the ext2 stick just in case the files were corrupted.

I'm guessing this has something to do with file permissions since ext2 pays attention to these and FAT doesn't - what should be the permissions on the .inf/.sys files and the directories they are in?

Posted by ^thehatsrule^ on June 22 2007,15:15
Quote
couldn't copy /mnt/sda1/drivers/ndiswrapper/bcmwl5a.inf at /usr/sbin/ndiswrapper line 139.
I'm guessing it's a case sensitive problem here?

On your ext2 usb stick, maybe check with a `ls /mnt/sda1/drivers/ndiswrapper/`

Posted by Juanito on June 23 2007,08:34
Code Sample
# ls /mnt/sda1/drivers/ndiswrapper/
ls: /mnt/sda1/drivers/ndiswrapper/: No such file or directory

but

# ls /mnt/sda1/ndiswrapper/
bcmwl5.sys   bcmwl5a.inf

Aaaargh

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.