Wireless driver packages for Puppy2

What works, and doesn't, for you. Be specific, and please include Puppy version.
Message
Author
tempestuous
Posts: 5464
Joined: Fri 10 Jun 2005, 05:12
Location: Australia

#21 Post by tempestuous »

BlackAdder wrote:copied the firmware to /lib/firmware and renamed the .bin files as recommended.
modprobe acx
this loaded without errors and the card light flashed - presumably as the result of the firmware being downloaded.
Sounds about right. Let's check the exact details - according to http://acx100.erley.org/acx_fw/acx1xx.htm -
RADIO11.BIN renamed to tiacx100r11 and
WLANGEN.BIN renamed to tiacx100

... but there's a report here http://sourceforge.net/forum/forum.php? ... _id=257272
that there's a different DWL-650+ (with Maxim radio) which needs different firmware.
dmesg will show "requesting firmware image 'tiacx100c0D'" The critical part is "0d" If so, you need -

ACX100.bin renamed tiacx100 and
RADIO0d.BIN renamed tiacx100r0d

tempestuous
Posts: 5464
Joined: Fri 10 Jun 2005, 05:12
Location: Australia

#22 Post by tempestuous »

smog,
I need more information, like the output of dmesg after each step ...
but are you sure that eth0 is your wifi interface? It might be your LAN interface.
eth1 might be what you need.

smog
Posts: 134
Joined: Tue 13 Jun 2006, 12:52

IPW3945

#23 Post by smog »

tempestuous

Thanks for responding so fast.

I have tried to bring up both eth0 and eth1 but neither works.

I have copied a bit of the dmesg output which seems to refer to the IPW3945.

If you could try to point me in the right direction I would really appreciate it because I love Puppy but I need to use wireless.

Thanks again.

dmesg output is:

ieee80211_crypt: registered algorithm 'NULL'
ieee80211: 802.11 data/management/control stack, 1.1.13
ieee80211: Copyright (C) 2004-2005 Intel Corproation <jketreno@linux.intel.com>
ipw3945: Intel(R) PRO/Wireless 3945 Network Connection driver for Linux, 1.0.0
ipw3945: Copyright(c) 2003-2006 Intel Corporation
PCI: Found IRQ 11 for device 0000:02:00.0
PCI: Sharing IRQ 11 with 0000:00:02.0
PCI: Sharing IRQ 11 with 0000:00:1c.1
PCI: Sharing IRQ 11 with 0000:00:1d.3
PCI: Setting latency timer of device 0000:02:00.0 to 64
ipw3945: Detected Intel PRO/Wireless 3945ABG Network Connection

When I try to set the essid I get:
# Error for wireless request "set ESSID" (8B1A) :
SET failed on device eth0 ; Operation not supported.

eth1 gives the same result except the final comment is "No such device"

tempestuous
Posts: 5464
Joined: Fri 10 Jun 2005, 05:12
Location: Australia

#24 Post by tempestuous »

First give us details of your hardware - laptop brand and model, and internal wifi adaptor model, if known.
Boot up, but don't modprobe the driver yet.

1. Run "ifconfig". Report.
2. Run "iwconfig". Report.
3. Load the driver - "modprobe ipw3945" and run "dmesg". Report.
4. Run "ifconfig". Report.
5. Run "iwconfig". Report.

User avatar
BlackAdder
Posts: 385
Joined: Sun 22 May 2005, 23:29

acx100

#25 Post by BlackAdder »

Success! :D
The DWL-650+ adapter has the original acx100 hardware. It is now working. My problem was that there were two versions of WLANGEN.BIN sculling around, and I was using the wrong one.
Thanks, tempestuous for your patience. :)
For others who have the DWL 650+ adapter:
  • After you have installed acx100-20060215.pup
    download the two files ....RADIO11.BIN and .....WLANGEN.BIN_1.9.8.b (the full names are much longer) from the section labelled dlink_dwl650+ at http://acx100.erley.org/acx_fw/acx1xx.htm
    Move or copy the files to /lib/firmware
    rename WLANGEN.BIN to tiacx100
    rename RADIO11.BIN to tiacx100r11
    now you can use modprobe acx; iwconfig... and either dhcpcd or ifconfig etc. as outlined in the dot pup readme.
This driver supports a wide range of TI-based adapters, but each needs its own firmware, making the install process a bit trickier than for some others. I should know, having fallen into at least one trap.

smog
Posts: 134
Joined: Tue 13 Jun 2006, 12:52

IPW3945

#26 Post by smog »

Tempestuous

My laptop is a Samsung Q35 Centrino Duo. As far as I can tell, I assume the wireless card is an Intel PRO 3945ABG, is there any other card on Centrino?

The outputs from the commands you want are included below.

I have got my Q35 working using the IPW3945 linux driver in Ubuntu, which I am using now, so I hope I can get it working in Puppy too.

Thanks for your input.

Hope this is enough info.:

ifconfig
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:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

iwconfig
lo no wireless extensions

eth0 no wireless extensions

dmesg
024 blocksize
loop: loaded (max 8 devices)
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
ICH7: IDE controller at PCI slot 0000:00:1f.1
PCI: Found IRQ 5 for device 0000:00:1f.1
PCI: Sharing IRQ 5 with 0000:00:1d.2
ICH7: chipset revision 2
ICH7: not 100% native mode: will probe irqs later
ide0: BM-DMA at 0x1810-0x1817, BIOS settings: hda:DMA, hdb:DMA
Probing IDE interface ide0...
hda: FUJITSU MHV2080AH PL, ATA DISK drive
hdb: DV-W28EA, ATAPI CD/DVD-ROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Probing IDE interface ide1...
hda: max request size: 512KiB
hda: Host Protected Area detected.
current capacity is 141398112 sectors (72395 MB)
native capacity is 156301488 sectors (80026 MB)
hda: task_no_data_intr: status=0x51 { DriveReady SeekComplete Error }
hda: task_no_data_intr: error=0x04 { DriveStatusError }
ide: failed opcode was: 0x37
hda: 141398112 sectors (72395 MB) w/8192KiB Cache, CHS=16383/255/63, UDMA(100)
hda: cache flushes supported
hda: hda1 hda2 hda3 < hda5 hda6 hda7 hda8 hda9 hda10 hda11 >
libata version 1.20 loaded.
mice: PS/2 mouse device common for all mice
md: md driver 0.90.3 MAX_MD_DEVS=256, MD_SB_DISKS=27
md: bitmap version 4.39
NET: Registered protocol family 2
IP route cache hash table entries: 32768 (order: 5, 131072 bytes)
TCP established hash table entries: 131072 (order: 7, 524288 bytes)
TCP bind hash table entries: 65536 (order: 6, 262144 bytes)
TCP: Hash tables configured (established 131072 bind 65536)
TCP reno registered
TCP bic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
Using IPI Shortcut mode
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
RAMDISK: Compressed image found at block 0
VFS: Mounted root (ext2 filesystem) readonly.
Freeing unused kernel memory: 168k freed
usbcore: registered new driver usbfs
usbcore: registered new driver hub
input: AT Translated Set 2 keyboard as /class/input/input0
Synaptics Touchpad, model: 1, fw: 6.2, id: 0x25a0b1, caps: 0xa04713/0x200000
input: SynPS/2 Synaptics TouchPad as /class/input/input1
USB Universal Host Controller Interface driver v2.3
PCI: Found IRQ 5 for device 0000:00:1d.0
PCI: Sharing IRQ 5 with 0000:00:1d.7
PCI: Setting latency timer of device 0000:00:1d.0 to 64
uhci_hcd 0000:00:1d.0: UHCI Host Controller
uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 1
uhci_hcd 0000:00:1d.0: irq 5, io base 0x00001820
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
PCI: Found IRQ 5 for device 0000:00:1d.1
PCI: Sharing IRQ 5 with 0000:00:1f.3
PCI: Setting latency timer of device 0000:00:1d.1 to 64
uhci_hcd 0000:00:1d.1: UHCI Host Controller
uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 2
uhci_hcd 0000:00:1d.1: irq 5, io base 0x00001840
usb usb2: configuration #1 chosen from 1 choice
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
PCI: Found IRQ 5 for device 0000:00:1d.2
PCI: Sharing IRQ 5 with 0000:00:1f.1
PCI: Setting latency timer of device 0000:00:1d.2 to 64
uhci_hcd 0000:00:1d.2: UHCI Host Controller
uhci_hcd 0000:00:1d.2: new USB bus registered, assigned bus number 3
uhci_hcd 0000:00:1d.2: irq 5, io base 0x00001860
usb usb3: configuration #1 chosen from 1 choice
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 2 ports detected
PCI: Found IRQ 11 for device 0000:00:1d.3
PCI: Sharing IRQ 11 with 0000:00:02.0
PCI: Sharing IRQ 11 with 0000:00:1c.1
PCI: Sharing IRQ 11 with 0000:02:00.0
PCI: Setting latency timer of device 0000:00:1d.3 to 64
uhci_hcd 0000:00:1d.3: UHCI Host Controller
uhci_hcd 0000:00:1d.3: new USB bus registered, assigned bus number 4
uhci_hcd 0000:00:1d.3: irq 11, io base 0x00001880
usb usb4: configuration #1 chosen from 1 choice
hub 4-0:1.0: USB hub found
hub 4-0:1.0: 2 ports detected
PCI: Found IRQ 5 for device 0000:00:1d.7
PCI: Sharing IRQ 5 with 0000:00:1d.0
PCI: Setting latency timer of device 0000:00:1d.7 to 64
ehci_hcd 0000:00:1d.7: EHCI Host Controller
ehci_hcd 0000:00:1d.7: debug port 1
PCI: cache line size of 32 is not supported by device 0000:00:1d.7
ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 5
ehci_hcd 0000:00:1d.7: irq 5, io mem 0xd8444000
ehci_hcd 0000:00:1d.7: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
usb usb5: configuration #1 chosen from 1 choice
hub 5-0:1.0: USB hub found
hub 5-0:1.0: 8 ports detected
hdb: ATAPI 63X DVD-ROM DVD-R-RAM CD-R/RW drive, 1419kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.20
Registering unionfs 20060417-0541
ISO 9660 Extensions: RRIP_1991A
Adding 1228916k swap on /dev/hda6. Priority:-1 extents:1 across:1228916k
ISO 9660 Extensions: RRIP_1991A
usb 3-1: new full speed USB device using uhci_hcd and address 2
usb 3-1: configuration #1 chosen from 1 choice
Linux agpgart interface v0.101 (c) Dave Jones
agpgart: Detected an Intel 945GM Chipset.
agpgart: Detected 7932K stolen memory.
agpgart: AGP aperture is 256M @ 0xc0000000
PCI: Found IRQ 5 for device 0000:00:1b.0
PCI: Sharing IRQ 5 with 0000:05:05.0
PCI: Sharing IRQ 5 with 0000:05:09.2
PCI: Sharing IRQ 5 with 0000:05:09.3
PCI: Sharing IRQ 5 with 0000:05:09.4
PCI: Sharing IRQ 5 with 0000:05:09.5
PCI: Setting latency timer of device 0000:00:1b.0 to 64
b44.c:v0.97 (Nov 30, 2005)
PCI: Enabling device 0000:05:05.0 (0000 -> 0002)
PCI: Found IRQ 5 for device 0000:05:05.0
PCI: Sharing IRQ 5 with 0000:00:1b.0
PCI: Sharing IRQ 5 with 0000:05:09.2
PCI: Sharing IRQ 5 with 0000:05:09.3
PCI: Sharing IRQ 5 with 0000:05:09.4
PCI: Sharing IRQ 5 with 0000:05:09.5
eth0: Broadcom 4400 10/100BaseT Ethernet 00:00:f0:7f:0f:0e
PCI: Found IRQ 11 for device 0000:05:09.0
Yenta: CardBus bridge found at 0000:05:09.0 [144d:c504]
Yenta: ISA IRQ mask 0x0298, PCI irq 11
Socket status: 30000006
pcmcia: parent PCI bridge I/O window: 0x3000 - 0x3fff
cs: IO port probe 0x3000-0x3fff: clean.
pcmcia: parent PCI bridge Memory window: 0xd8000000 - 0xd80fffff
pcmcia: parent PCI bridge Memory window: 0x60000000 - 0x61ffffff
pcmcia: Detected deprecated PCMCIA ioctl usage.
pcmcia: This interface will soon be removed from the kernel; please expect breakage unless you upgrade to new tools.
pcmcia: see http://www.kernel.org/pub/linux/utils/k ... cmcia.html for details.
cs: IO port probe 0xc00-0xcff: clean.
cs: IO port probe 0x800-0x8ff: clean.
cs: IO port probe 0x100-0x4ff: clean.
cs: IO port probe 0xa00-0xaff: clean.
lp: driver loaded but no devices found
Initializing USB Mass Storage driver...
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
hdb: packet command error: status=0x51 { DriveReady SeekComplete Error }
hdb: packet command error: error=0x54 { AbortedCommand LastFailedSense=0x05 }
ide: failed opcode was: unknown
hdb: packet command error: status=0x51 { DriveReady SeekComplete Error }
hdb: packet command error: error=0x54 { AbortedCommand LastFailedSense=0x05 }
ide: failed opcode was: unknown
hdb: packet command error: status=0x51 { DriveReady SeekComplete Error }
hdb: packet command error: error=0x54 { AbortedCommand LastFailedSense=0x05 }
ide: failed opcode was: unknown
hdb: packet command error: status=0x51 { DriveReady SeekComplete Error }
hdb: packet command error: error=0x54 { AbortedCommand LastFailedSense=0x05 }
ide: failed opcode was: unknown
hdb: packet command error: status=0x51 { DriveReady SeekComplete Error }
hdb: packet command error: error=0x54 { AbortedCommand LastFailedSense=0x05 }
ide: failed opcode was: unknown
hdb: packet command error: status=0x51 { DriveReady SeekComplete Error }
hdb: packet command error: error=0x54 { AbortedCommand LastFailedSense=0x05 }
ide: failed opcode was: unknown

ran dotpup and modprobed ipw3945, then did ifconfig eth0 up

iwconfig gave no change from above
ifconfig
eth0 Link encap:Ethernet HWaddr 00:00:F0:7F:0F:0E
UP 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:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:5

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:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

dmesg
irq 14
Probing IDE interface ide1...
hda: max request size: 512KiB
hda: Host Protected Area detected.
current capacity is 141398112 sectors (72395 MB)
native capacity is 156301488 sectors (80026 MB)
hda: task_no_data_intr: status=0x51 { DriveReady SeekComplete Error }
hda: task_no_data_intr: error=0x04 { DriveStatusError }
ide: failed opcode was: 0x37
hda: 141398112 sectors (72395 MB) w/8192KiB Cache, CHS=16383/255/63, UDMA(100)
hda: cache flushes supported
hda: hda1 hda2 hda3 < hda5 hda6 hda7 hda8 hda9 hda10 hda11 >
libata version 1.20 loaded.
mice: PS/2 mouse device common for all mice
md: md driver 0.90.3 MAX_MD_DEVS=256, MD_SB_DISKS=27
md: bitmap version 4.39
NET: Registered protocol family 2
IP route cache hash table entries: 32768 (order: 5, 131072 bytes)
TCP established hash table entries: 131072 (order: 7, 524288 bytes)
TCP bind hash table entries: 65536 (order: 6, 262144 bytes)
TCP: Hash tables configured (established 131072 bind 65536)
TCP reno registered
TCP bic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
Using IPI Shortcut mode
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
RAMDISK: Compressed image found at block 0
VFS: Mounted root (ext2 filesystem) readonly.
Freeing unused kernel memory: 168k freed
usbcore: registered new driver usbfs
usbcore: registered new driver hub
input: AT Translated Set 2 keyboard as /class/input/input0
Synaptics Touchpad, model: 1, fw: 6.2, id: 0x25a0b1, caps: 0xa04713/0x200000
input: SynPS/2 Synaptics TouchPad as /class/input/input1
USB Universal Host Controller Interface driver v2.3
PCI: Found IRQ 5 for device 0000:00:1d.0
PCI: Sharing IRQ 5 with 0000:00:1d.7
PCI: Setting latency timer of device 0000:00:1d.0 to 64
uhci_hcd 0000:00:1d.0: UHCI Host Controller
uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 1
uhci_hcd 0000:00:1d.0: irq 5, io base 0x00001820
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
PCI: Found IRQ 5 for device 0000:00:1d.1
PCI: Sharing IRQ 5 with 0000:00:1f.3
PCI: Setting latency timer of device 0000:00:1d.1 to 64
uhci_hcd 0000:00:1d.1: UHCI Host Controller
uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 2
uhci_hcd 0000:00:1d.1: irq 5, io base 0x00001840
usb usb2: configuration #1 chosen from 1 choice
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
PCI: Found IRQ 5 for device 0000:00:1d.2
PCI: Sharing IRQ 5 with 0000:00:1f.1
PCI: Setting latency timer of device 0000:00:1d.2 to 64
uhci_hcd 0000:00:1d.2: UHCI Host Controller
uhci_hcd 0000:00:1d.2: new USB bus registered, assigned bus number 3
uhci_hcd 0000:00:1d.2: irq 5, io base 0x00001860
usb usb3: configuration #1 chosen from 1 choice
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 2 ports detected
PCI: Found IRQ 11 for device 0000:00:1d.3
PCI: Sharing IRQ 11 with 0000:00:02.0
PCI: Sharing IRQ 11 with 0000:00:1c.1
PCI: Sharing IRQ 11 with 0000:02:00.0
PCI: Setting latency timer of device 0000:00:1d.3 to 64
uhci_hcd 0000:00:1d.3: UHCI Host Controller
uhci_hcd 0000:00:1d.3: new USB bus registered, assigned bus number 4
uhci_hcd 0000:00:1d.3: irq 11, io base 0x00001880
usb usb4: configuration #1 chosen from 1 choice
hub 4-0:1.0: USB hub found
hub 4-0:1.0: 2 ports detected
PCI: Found IRQ 5 for device 0000:00:1d.7
PCI: Sharing IRQ 5 with 0000:00:1d.0
PCI: Setting latency timer of device 0000:00:1d.7 to 64
ehci_hcd 0000:00:1d.7: EHCI Host Controller
ehci_hcd 0000:00:1d.7: debug port 1
PCI: cache line size of 32 is not supported by device 0000:00:1d.7
ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 5
ehci_hcd 0000:00:1d.7: irq 5, io mem 0xd8444000
ehci_hcd 0000:00:1d.7: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
usb usb5: configuration #1 chosen from 1 choice
hub 5-0:1.0: USB hub found
hub 5-0:1.0: 8 ports detected
hdb: ATAPI 63X DVD-ROM DVD-R-RAM CD-R/RW drive, 1419kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.20
Registering unionfs 20060417-0541
ISO 9660 Extensions: RRIP_1991A
Adding 1228916k swap on /dev/hda6. Priority:-1 extents:1 across:1228916k
ISO 9660 Extensions: RRIP_1991A
usb 3-1: new full speed USB device using uhci_hcd and address 2
usb 3-1: configuration #1 chosen from 1 choice
Linux agpgart interface v0.101 (c) Dave Jones
agpgart: Detected an Intel 945GM Chipset.
agpgart: Detected 7932K stolen memory.
agpgart: AGP aperture is 256M @ 0xc0000000
PCI: Found IRQ 5 for device 0000:00:1b.0
PCI: Sharing IRQ 5 with 0000:05:05.0
PCI: Sharing IRQ 5 with 0000:05:09.2
PCI: Sharing IRQ 5 with 0000:05:09.3
PCI: Sharing IRQ 5 with 0000:05:09.4
PCI: Sharing IRQ 5 with 0000:05:09.5
PCI: Setting latency timer of device 0000:00:1b.0 to 64
b44.c:v0.97 (Nov 30, 2005)
PCI: Enabling device 0000:05:05.0 (0000 -> 0002)
PCI: Found IRQ 5 for device 0000:05:05.0
PCI: Sharing IRQ 5 with 0000:00:1b.0
PCI: Sharing IRQ 5 with 0000:05:09.2
PCI: Sharing IRQ 5 with 0000:05:09.3
PCI: Sharing IRQ 5 with 0000:05:09.4
PCI: Sharing IRQ 5 with 0000:05:09.5
eth0: Broadcom 4400 10/100BaseT Ethernet 00:00:f0:7f:0f:0e
PCI: Found IRQ 11 for device 0000:05:09.0
Yenta: CardBus bridge found at 0000:05:09.0 [144d:c504]
Yenta: ISA IRQ mask 0x0298, PCI irq 11
Socket status: 30000006
pcmcia: parent PCI bridge I/O window: 0x3000 - 0x3fff
cs: IO port probe 0x3000-0x3fff: clean.
pcmcia: parent PCI bridge Memory window: 0xd8000000 - 0xd80fffff
pcmcia: parent PCI bridge Memory window: 0x60000000 - 0x61ffffff
pcmcia: Detected deprecated PCMCIA ioctl usage.
pcmcia: This interface will soon be removed from the kernel; please expect breakage unless you upgrade to new tools.
pcmcia: see http://www.kernel.org/pub/linux/utils/k ... cmcia.html for details.
cs: IO port probe 0xc00-0xcff: clean.
cs: IO port probe 0x800-0x8ff: clean.
cs: IO port probe 0x100-0x4ff: clean.
cs: IO port probe 0xa00-0xaff: clean.
lp: driver loaded but no devices found
Initializing USB Mass Storage driver...
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
hdb: packet command error: status=0x51 { DriveReady SeekComplete Error }
hdb: packet command error: error=0x54 { AbortedCommand LastFailedSense=0x05 }
ide: failed opcode was: unknown
hdb: packet command error: status=0x51 { DriveReady SeekComplete Error }
hdb: packet command error: error=0x54 { AbortedCommand LastFailedSense=0x05 }
ide: failed opcode was: unknown
hdb: packet command error: status=0x51 { DriveReady SeekComplete Error }
hdb: packet command error: error=0x54 { AbortedCommand LastFailedSense=0x05 }
ide: failed opcode was: unknown
hdb: packet command error: status=0x51 { DriveReady SeekComplete Error }
hdb: packet command error: error=0x54 { AbortedCommand LastFailedSense=0x05 }
ide: failed opcode was: unknown
hdb: packet command error: status=0x51 { DriveReady SeekComplete Error }
hdb: packet command error: error=0x54 { AbortedCommand LastFailedSense=0x05 }
ide: failed opcode was: unknown
hdb: packet command error: status=0x51 { DriveReady SeekComplete Error }
hdb: packet command error: error=0x54 { AbortedCommand LastFailedSense=0x05 }
ide: failed opcode was: unknown
ieee80211_crypt: registered algorithm 'NULL'
ieee80211: 802.11 data/management/control stack, 1.1.13
ieee80211: Copyright (C) 2004-2005 Intel Corporation <jketreno@linux.intel.com>
ipw3945: Intel(R) PRO/Wireless 3945 Network Connection driver for Linux, 1.0.0
ipw3945: Copyright(c) 2003-2006 Intel Corporation
PCI: Found IRQ 11 for device 0000:02:00.0
PCI: Sharing IRQ 11 with 0000:00:02.0
PCI: Sharing IRQ 11 with 0000:00:1c.1
PCI: Sharing IRQ 11 with 0000:00:1d.3
PCI: Setting latency timer of device 0000:02:00.0 to 64
ipw3945: Detected Intel PRO/Wireless 3945ABG Network Connection

User avatar
BlackAdder
Posts: 385
Joined: Sun 22 May 2005, 23:29

Speed comparison

#27 Post by BlackAdder »

Checked out transfer speeds between machines using an rtl8180-based adapter (802.11b). Each test was run just twice; the file transferred was 4995KB; one machine attached via ethernet to the router, the machine using wireless was 3m from the router. Results:

Code: Select all

r8180 driver     17 secs
ndiswrapper      16 secs
Given that the timing was done by simple observation, there does not seem to be a really significant difference in speed under those conditions. Rate was around 300KB/sec or 2.5Mbps, a long way below the rated speed of the wireless adapter - but not unexpected.

tempestuous
Posts: 5464
Joined: Fri 10 Jun 2005, 05:12
Location: Australia

#28 Post by tempestuous »

dmesg shows these 2 lines -

Code: Select all

b44.c:v0.97 (Nov 30, 2005)
...
eth0: Broadcom 4400 10/100BaseT Ethernet 00:00:f0:7f:0f:0e
As I suspected, eth0 is your ethernet adaptor, a Broadcom BCM4400 series. Puppy has loaded the opensource b44 module for it ... which may not work. You might need the proprietary bcm4400 driver ... but that's another story.

And I just read about an important extra step which is not included in the README. So try this -

modprobe ipw3945
## now we need to start the regulatory daemon
/sbin/ipw3945d
## now bring up the wifi interface - eth1 in your case
ifconfig eth1 up

Now run ifconfig and iwconfig to see if eth1 looks healthy. If so, continue to set up the connection with "iwconfig eth1 ..."

User avatar
fudgy
Posts: 86
Joined: Wed 07 Jun 2006, 09:40
Location: Berlin, Germany

hostap and dhcpcd...

#29 Post by fudgy »

Hi,

My question is how the hostap driver works with prism2/2.5 cards.
~# ifconfig wlan0 up
~# iwconfig wlan0 mode Managed essid test key 1:2:3:4:5:6
ok, then
~# dhcpcd wlan0 hangs,
~# dhcpcd wifi0 works.

I can connect to AP's, but not manually. All i know is, that starting WAG at this point, then push 'Toggle DHCP' works.. I wanted to know how i can get it to work from the console (which commands) yust to learn something about whats happening here.

Do you have any experience ?

fudgy
Last edited by fudgy on Thu 15 Jun 2006, 11:22, edited 1 time in total.

tempestuous
Posts: 5464
Joined: Fri 10 Jun 2005, 05:12
Location: Australia

#30 Post by tempestuous »

There are two amendments I need to make to the hostap_README -
1. after "modprobe hostap_cs" run "ifconfig wlan0 up"
2. before running dhcpcd do this - "rm /etc/dhcpc/*.pid"

Now "dhcpcd wlan0" might work OK (?).
Or, keenerd could jump in and tell us what WAG does differently.

With Linux wifi drivers, "wifi0" is usually a "placeholder" or "virtual interface" for the true interface.

smog
Posts: 134
Joined: Tue 13 Jun 2006, 12:52

ipw3945

#31 Post by smog »

Tempestuous,

You are an absolute genius!!!!!!

I am writing this on my fully working wireless link on PUPPY 2 using the IPW3945 dotpup.

What can I say, this is fantastic. Thanks VERY much

Cheers

(I assume from your location you are an Australian. I now have to say I won't even begrudge you winning the Ashes back this year because of the help you have given me!!!)

User avatar
fudgy
Posts: 86
Joined: Wed 07 Jun 2006, 09:40
Location: Berlin, Germany

#32 Post by fudgy »

[quote="tempestuous"]
[...]
With Linux wifi drivers, "wifi0" is usually a "placeholder" or "virtual interface" for the true interface.[/quote]

thank you, no its only dhcpcd is not backgrounding with wlan0... so it looks like this:

sh-3.00# iwconfig wlan0 mode Managed
-> Interface is down after changeing mode, so followed by
sh-3.00# ifconfig wlan0 up
sh-3.00# iwlist wlan0 scan [you should see scan results... or interface down...]
sh-3.00# iwconfig wlan0 essid test key 1:2:3:4:5:6
sh-3.00# dhcpcd wlan0 &
[1] 24994
sh-3.00# ifconfig wlan0
wlan0 Link encap:Ethernet HWaddr 00:60:B3:2D:41:C8
inet addr:192.168.0.6 (...)

thats all. Great work. Thanks.

fudgy
Last edited by fudgy on Thu 15 Jun 2006, 17:27, edited 1 time in total.

tempestuous
Posts: 5464
Joined: Fri 10 Jun 2005, 05:12
Location: Australia

#33 Post by tempestuous »

Good news smog. I will amend the ipw3945 README shortly.
I don't assume the Ashes will return to Australia next time. It appears the English now have a good cricket team.

fudgy, do you think that the dhcpcd command should always be backgrounded as you did?

smog
Posts: 134
Joined: Tue 13 Jun 2006, 12:52

ipw3945

#34 Post by smog »

tempestuous

To put the finishing touch to this I am trying to automate the process of connecting the wireless access on boot. I have put all the commands (including the /sbin/ipw3945d) into the ipw3945-connect file but this doesn't seem to work, should I be doing something different?

If this is not an easy answer don't worry about spending time on it, it is not essential.

Thanks again

User avatar
fudgy
Posts: 86
Joined: Wed 07 Jun 2006, 09:40
Location: Berlin, Germany

#35 Post by fudgy »

/* fudgy, do you think that the dhcpcd command should always be backgrounded as you did? */

-- no, actually i would recommend it for people with prism-card + Texas Instruments PCMCIA adaptor + Intel Chipset. Not more. It might be difficult to figure out why this happens.

We should wait a few days, maybe there's more feedback. If its really important one may ask the dhcpcd-devels and/or on Netstumbler forum. (Ch.Devine e.g.)

-- By default, the hostap_cs starts in mode Master. Likely this is on all machines. This means, if you type:
~# iwconfig wlan0 mode Managed essid wropen
then the interface will go down. This guy was confused by exactely this one:
http://www.netstumbler.org/showthread.p ... ght=dhcpcd

Greetings,
fudgy

tempestuous
Posts: 5464
Joined: Fri 10 Jun 2005, 05:12
Location: Australia

#36 Post by tempestuous »

smog, a script issues commands in quick succession, so if it's not working the solution is probably to put one or several "sleep" commands in to create pauses. Where, and for how long, will now require trial and error.
I would start by putting "sleep 5" just before /sbin/ip3945d, and another "sleep 5" after.
If successful, you can try removing one of them. Then try reducing the sleep period.
Please report the outcome. I will include it in the README.

fudgy, thanks for the info. I was already aware of the problems associated with changing modes, but the hostap's default master mode is news. I will incorporate this information into the hostap_README, and also the overall _Puppy2_wireless_README in case other drivers have similar issues.
It seems that each of these drivers has its own quirks.

smog
Posts: 134
Joined: Tue 13 Jun 2006, 12:52

ipw3945

#37 Post by smog »

tempestuous

adding sleeps hasn't made any difference but I wonder if I am doing the whole process right. I am using Puppy on a dvd which I save sessions on. Once I have got the dotpup working and the wireless is connected I add the code into the script and save the session. Then when I boot in again I am not running the dotpup again and expecting the script to connect the wireless set up automatically on boot. Is this right or do I need to run either the dotpup or the script or both manually?

If I can get this working I will certainly report back, I would be happy to have helped the development process.

Cheers

tempestuous
Posts: 5464
Joined: Fri 10 Jun 2005, 05:12
Location: Australia

#38 Post by tempestuous »

smog, I was suggesting that you modify your wifi script /root/my-applications/bin/ipw3945-connect so it looks like this -

modprobe ipw3945
sleep 5
/sbin/ipw3945d
sleep 5
ifconfig eth0 up
... etc

smog
Posts: 134
Joined: Tue 13 Jun 2006, 12:52

ipw3945

#39 Post by smog »

tempestuous

Yes I did that but it didn't seem to work.

What I am doing is booting a multi session DVD, running the dotpup, changing the script as you set out in your mesage then saving the session. When I tried this the wireless was not working when I rebooted.

What I am not clear about is; should I be able to simply reboot the saved session on the DVD and expect the wireless to be working without doing anything else, or do I have to do something manually, after booting up the saved session, to make the script work or to make the dotpup run before the script runs?

In simple terms what I have done so far is:
1) Burn multi session dvd
2) Boot Puppy
3) Run dotpup
4) Set up wireless using the commands you provided
5) Alter script to include sleep 5 commands, and save the file
6) Save session
7) Close down
8) Reboot the saved session
9) Open the browser, but it can't connect to the internet

Am I missing any steps or should this work?

Thanks

tempestuous
Posts: 5464
Joined: Fri 10 Jun 2005, 05:12
Location: Australia

#40 Post by tempestuous »

Ahh, you assumed the script would run automatically.
No, I never intended this. I intended the script to be run manually, so you could connect "on-demand" ... however, it can be made automatic if you wish.

So forget about the "sleep" commands. Just modify the script to include your SSID and WEP key.
Now launch the script from an xterminal. Does it run to completion and report an IP address?

If it works OK, you can make the process automatic at each boot by adding the script to the end of /etc/rc.d/rc.local
I personally dislike this idea, since I prefer to be in control of when my wifi connects. The concept is particularly unattractive in situations when your laptop might be at a business colleagues's office. You might not be popular when your laptop attempts to automatically connect to your colleague's wifi network.

My preference is to create a desktop icon for the script, which I just click when needed.

Post Reply