Jump to content

Help! Hak5 USB Hub/Alfa Woes


Go to solution Solved by slynx,

Recommended Posts

So I just received my new Mark IV last week and finally got a little time to play. Setup was smooth and no problems adding USB storage but I wanted additional ports to use the Alfa and storage at once (and maybe some addtional goodies later on...)

So I bought the Hak5 powered USB hub and got it in the mail today. First I checked if the hub was going to backfeed to the Pineapple and after confirming it was I opened the case and snipped the red + wire. Now the hub works great and no backfeeding but there's a new problem. Now I can't get the Alfa to initialize (although USB storage still works fine through the hub). It works fine when plugged directly into the Pineapple's USB and when plugged into my laptop through the USB hub. Has anyone had this problem before? Any ideas of how to get it working?

Here's the relevant log output (firmware version 3.0):

DMESG

======

  139.920000] usb 1-1: new full-speed USB device number 4 using ehci-platform[  140.080000] hub 1-1:1.0: USB hub found[  140.080000] hub 1-1:1.0: 4 ports detected[  140.280000] usbcore: deregistering interface driver usbserial_generic[  140.290000] USB Serial deregistering driver generic[  140.290000] usbcore: deregistering interface driver usbserial[  140.320000] usbcore: registered new interface driver usbserial[  140.330000] USB Serial support registered for generic[  140.400000] usb 1-1.1: new full-speed USB device number 5 using ehci-platform[  140.530000] usb 1-1.1: not running at top speed; connect to a high speed hub[  140.540000] usb 1-1.1: ath9k_htc: Firmware htc_9271.fw requested[  140.550000] usbcore: registered new interface driver usbserial_generic[  140.550000] usbserial: USB Serial Driver core[  141.090000] usbcore: deregistering interface driver usbserial_generic[  141.090000] USB Serial deregistering driver generic[  141.100000] usbcore: deregistering interface driver usbserial[  141.130000] usbcore: registered new interface driver usbserial[  141.130000] USB Serial support registered for generic[  141.140000] usbcore: registered new interface driver usbserial_generic[  141.150000] usbserial: USB Serial Driver core[  141.190000] usb 1-1.1: ath9k_htc: Transferred FW: htc_9271.fw, size: 51272[  142.200000] ath9k_htc 1-1.1:1.0: ath9k_htc: Target is unresponsive[  142.200000] ath9k_htc: Failed to initialize the device[  142.920000] usb 1-1.1: ath9k_htc: USB layer deinitialized

I was able to get the device to show up correctly in lsusb right after boot but iwconfig never shows the Alfa. Interestingly wlan1 shows up in the Network Manager on the web interface but trying to enable it causes the Pineapple to freeze up and then reboot (ifconfig after seeing it on the web interface causes the same freezup). For this testing I have the wall adapter powering the Pineapple and the Juice pack powering the hub (the Juice isn't the problem since this works find when plugged into my laptop and is recognized correctly).

Here's complete logs right after startup:

DMESG

[ 0.000000] Linux version 3.3.8 (pineapple@nimbus) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #31 Tue Jul 30 04:26:43 BST 2013
[ 0.000000] MyLoader: sysp=4000c000, boardp=00020b60, parts=80104000
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU revision is: 00019374 (MIPS 24Kc)
[ 0.000000] SoC: Atheros AR9330 rev 1
[ 0.000000] Clocks: CPU:400.000MHz, DDR:400.000MHz, AHB:200.000MHz, Ref:25.000MHz
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 02000000 @ 00000000 (usable)
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] Zone PFN ranges:
[ 0.000000] Normal 0x00000000 -> 0x00002000
[ 0.000000] Movable zone start PFN for each node
[ 0.000000] Early memory PFN ranges
[ 0.000000] 0: 0x00000000 -> 0x00002000
[ 0.000000] On node 0 totalpages: 8192
[ 0.000000] free_area_init_node: node 0, pgdat 802d2410, node_mem_map 81000000
[ 0.000000] Normal zone: 64 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 8128 pages, LIFO batch:0
[ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[ 0.000000] pcpu-alloc: [0] 0
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 8128
[ 0.000000] Kernel command line: board=HORNET-UB console=ttyATH0,115200 mtdparts=spi0.0:256k(u-boot)ro,64k(u-boot-env)ro,6144k(rootfs),1600k(kernel),64k(nvram),64k(art)ro,7744k@0x50000(firmware) rootfstype=squashfs,jffs2 noinitrd
[ 0.000000] PID hash table entries: 128 (order: -3, 512 bytes)
[ 0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[ 0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[ 0.000000] Writing ErrCtl register=00000000
[ 0.000000] Readback ErrCtl register=00000000
[ 0.000000] Memory: 29132k/32768k available (2102k kernel code, 3636k reserved, 404k data, 208k init, 0k highmem)
[ 0.000000] SLUB: Genslabs=9, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS:51
[ 0.000000] Calibrating delay loop... 265.42 BogoMIPS (lpj=1327104)
[ 0.080000] pid_max: default: 32768 minimum: 301
[ 0.080000] Mount-cache hash table entries: 512
[ 0.090000] NET: Registered protocol family 16
[ 0.090000] gpiochip_add: registered GPIOs 0 to 29 on device: ath79
[ 0.100000] MIPS: machine is ALFA NETWORKS Hornet-UB
[ 0.550000] bio: create slab at 0
[ 0.560000] Switching to clocksource MIPS
[ 0.560000] NET: Registered protocol family 2
[ 0.570000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.570000] TCP established hash table entries: 1024 (order: 1, 8192 bytes)
[ 0.570000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.580000] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.590000] TCP reno registered
[ 0.590000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.600000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.600000] NET: Registered protocol family 1
[ 0.610000] PCI: CLS 0 bytes, default 32
[ 0.630000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.630000] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.640000] msgmni has been set to 56
[ 0.640000] io scheduler noop registered
[ 0.650000] io scheduler deadline registered (default)
[ 0.650000] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[ 0.660000] ar933x-uart: ttyATH0 at MMIO 0x18020000 (irq = 11) is a AR933X UART
[ 0.660000] console [ttyATH0] enabled, bootconsole disabled
[ 0.680000] m25p80 spi0.0: found mx25l6405d, expected m25p80
[ 0.680000] m25p80 spi0.0: mx25l6405d (8192 Kbytes)
[ 0.690000] 7 cmdlinepart partitions found on MTD device spi0.0
[ 0.690000] Creating 7 MTD partitions on "spi0.0":
[ 0.700000] 0x000000000000-0x000000040000 : "u-boot"
[ 0.710000] 0x000000040000-0x000000050000 : "u-boot-env"
[ 0.710000] 0x000000050000-0x000000650000 : "rootfs"
[ 0.720000] mtd: partition "rootfs" set to be root filesystem
[ 0.720000] mtd: partition "rootfs_data" created automatically, ofs=590000, len=C0000
[ 0.730000] 0x000000590000-0x000000650000 : "rootfs_data"
[ 0.740000] 0x000000650000-0x0000007e0000 : "kernel"
[ 0.740000] 0x0000007e0000-0x0000007f0000 : "nvram"
[ 0.750000] 0x0000007f0000-0x000000800000 : "art"
[ 0.750000] 0x000000050000-0x0000007e0000 : "firmware"
[ 0.780000] ag71xx_mdio: probed
[ 0.780000] eth0: Atheros AG71xx at 0xba000000, irq 5
[ 1.330000] eth0: Found an AR7240/AR9330 built-in switch
[ 2.370000] eth1: Atheros AG71xx at 0xb9000000, irq 4
[ 2.920000] ag71xx ag71xx.0: eth1: connected to PHY at ag71xx-mdio.1:04 [uid=004dd041, driver=Generic PHY]
[ 2.930000] TCP cubic registered
[ 2.930000] NET: Registered protocol family 17
[ 2.940000] Bridge firewalling registered
[ 2.940000] 8021q: 802.1Q VLAN Support v1.8
[ 2.950000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[ 2.960000] Freeing unused kernel memory: 208k freed
[ 6.530000] Registered led device: alfa:blue:lan
[ 6.530000] Registered led device: alfa:blue:usb
[ 6.530000] Registered led device: alfa:blue:wan
[ 6.530000] Registered led device: alfa:blue:wlan
[ 6.530000] Registered led device: alfa:blue:wps
[ 7.100000] eth0: link up (1000Mbps/Full duplex)
[ 9.860000] JFFS2 notice: (452) jffs2_build_xattr_subsystem: complete building xattr subsystem, 2 of xdatum (2 unchecked, 0 orphan) and 16 of xref (0 dead, 1 orphan) found.
[ 10.900000] SCSI subsystem initialized
[ 11.220000] usbcore: registered new interface driver usbfs
[ 11.220000] usbcore: registered new interface driver hub
[ 11.230000] usbcore: registered new device driver usb
[ 11.820000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 11.820000] ehci-platform ehci-platform: Generic Platform EHCI Controller
[ 11.830000] ehci-platform ehci-platform: new USB bus registered, assigned bus number 1
[ 11.870000] ehci-platform ehci-platform: irq 3, io mem 0x1b000000
[ 11.890000] ehci-platform ehci-platform: USB 2.0 started, EHCI 1.00
[ 11.890000] hub 1-0:1.0: USB hub found
[ 11.890000] hub 1-0:1.0: 1 port detected
[ 12.020000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 12.140000] uhci_hcd: USB Universal Host Controller Interface driver
[ 12.260000] Initializing USB Mass Storage driver...
[ 12.260000] usbcore: registered new interface driver usb-storage
[ 12.270000] USB Mass Storage support registered.
[ 12.420000] usb 1-1: new full-speed USB device number 2 using ehci-platform
[ 12.580000] hub 1-1:1.0: USB hub found
[ 12.580000] hub 1-1:1.0: 4 ports detected
[ 12.870000] usb 1-1.4: new full-speed USB device number 3 using ehci-platform
[ 13.000000] usb 1-1.4: not running at top speed; connect to a high speed hub
[ 32.670000] eth0: link down
[ 33.640000] Compat-drivers backport release: compat-drivers-2013-01-21-1
[ 33.640000] Backport based on wireless-testing.git master-2013-02-22
[ 33.650000] compat.git: wireless-testing.git
[ 33.780000] cfg80211: Calling CRDA to update world regulatory domain
[ 33.780000] cfg80211: World regulatory domain updated:
[ 33.790000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[ 33.790000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 33.800000] cfg80211: (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[ 33.810000] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[ 33.820000] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 33.820000] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 35.270000] usbcore: registered new interface driver rt73usb
[ 35.420000] usbcore: registered new interface driver rtl8187
[ 35.450000] ath: EEPROM regdomain: 0x833a
[ 35.450000] ath: EEPROM indicates we should expect a country code
[ 35.450000] ath: doing EEPROM country->regdmn map search
[ 35.450000] ath: country maps to regdmn code: 0x37
[ 35.450000] ath: Country alpha2 being used: GB
[ 35.450000] ath: Regpair used: 0x37
[ 35.460000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[ 35.470000] Registered led device: ath9k-phy0
[ 35.470000] ieee80211 phy0: Atheros AR9330 Rev:1 mem=0xb8100000, irq=2
[ 35.490000] usbcore: registered new interface driver rt2800usb
[ 35.550000] cfg80211: Calling CRDA for country: GB
[ 35.550000] cfg80211: Regulatory domain changed to country: GB
[ 35.560000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[ 35.570000] cfg80211: (2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm)
[ 35.570000] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (N/A, 2000 mBm)
[ 35.580000] cfg80211: (5250000 KHz - 5330000 KHz @ 40000 KHz), (N/A, 2000 mBm)
[ 35.590000] cfg80211: (5490000 KHz - 5710000 KHz @ 40000 KHz), (N/A, 2700 mBm)
[ 35.620000] Button Hotplug driver version 0.4.1
[ 35.880000] RPC: Registered named UNIX socket transport module.
[ 35.880000] RPC: Registered udp transport module.
[ 35.890000] RPC: Registered tcp transport module.
[ 35.890000] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 36.250000] PPP generic driver version 2.4.2
[ 36.390000] tun: Universal TUN/TAP device driver, 1.6
[ 36.390000] tun: (C) 1999-2004 Max Krasnyansky
[ 36.650000] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 36.880000] NET: Registered protocol family 24
[ 37.020000] nf_conntrack version 0.5.0 (458 buckets, 1832 max)
[ 37.720000] xt_time: kernel timezone is -0000
[ 38.210000] usb 1-1.4: ath9k_htc: Firmware htc_9271.fw requested
[ 38.220000] usbcore: registered new interface driver ath9k_htc
[ 38.560000] usbcore: registered new interface driver usbserial
[ 38.570000] USB Serial support registered for generic
[ 38.570000] usbcore: registered new interface driver usbserial_generic
[ 38.580000] usbserial: USB Serial Driver core
[ 38.670000] usbcore: registered new interface driver cdc_ether
[ 38.790000] Error: Driver 'gpio-keys-polled' is already registered, aborting...
[ 38.900000] usbcore: registered new interface driver rndis_host
[ 39.280000] usb 1-1.4: ath9k_htc: Transferred FW: htc_9271.fw, size: 51272
[ 39.520000] ath9k_htc 1-1.4:1.0: ath9k_htc: HTC initialized with 33 credits
[ 39.960000] ath9k_htc 1-1.4:1.0: ath9k_htc: FW Version: 1.3
[ 39.960000] ath: EEPROM regdomain: 0x833a
[ 39.960000] ath: EEPROM indicates we should expect a country code
[ 39.960000] ath: doing EEPROM country->regdmn map search
[ 39.960000] ath: country maps to regdmn code: 0x37
[ 39.960000] ath: Country alpha2 being used: GB
[ 39.960000] ath: Regpair used: 0x37
[ 39.960000] ieee80211 phy1: Atheros AR9271 Rev:1
[ 39.970000] Registered led device: ath9k_htc-phy1
[ 43.500000] usbcore: deregistering interface driver usbserial_generic
[ 43.510000] USB Serial deregistering driver generic
[ 43.510000] usbcore: deregistering interface driver usbserial
[ 43.550000] usbcore: registered new interface driver usbserial
[ 43.560000] USB Serial support registered for generic
[ 43.560000] usbcore: registered new interface driver usbserial_generic
[ 43.570000] usbserial: USB Serial Driver core
[ 44.300000] usbcore: deregistering interface driver usbserial_generic
[ 44.310000] USB Serial deregistering driver generic
[ 44.310000] usbcore: deregistering interface driver usbserial
[ 44.480000] usbcore: registered new interface driver usbserial
[ 44.490000] USB Serial support registered for generic
[ 44.490000] usbcore: registered new interface driver usbserial_generic
[ 44.500000] usbserial: USB Serial Driver core
[ 44.750000] eth0: link up (1000Mbps/Full duplex)
[ 45.440000] eth0: link down
[ 45.510000] usbcore: deregistering interface driver usbserial_generic
[ 45.510000] USB Serial deregistering driver generic
[ 45.520000] usbcore: deregistering interface driver usbserial
[ 45.560000] usbcore: registered new interface driver usbserial
[ 45.570000] USB Serial support registered for generic
[ 45.570000] usbcore: registered new interface driver usbserial_generic
[ 45.580000] usbserial: USB Serial Driver core
[ 46.470000] device eth0 entered promiscuous mode
[ 47.570000] eth0: link up (1000Mbps/Full duplex)
[ 47.570000] br-lan: port 1(eth0) entered forwarding state
[ 47.570000] br-lan: port 1(eth0) entered forwarding state
[ 49.570000] br-lan: port 1(eth0) entered forwarding state
[ 53.570000] device wlan0 entered promiscuous mode
[ 53.610000] br-lan: port 2(wlan0) entered forwarding state
[ 53.620000] br-lan: port 2(wlan0) entered forwarding state
[ 55.620000] br-lan: port 2(wlan0) entered forwarding state
[ 267.680000] usb 1-1: USB disconnect, device number 2
[ 267.690000] usb 1-1.4: USB disconnect, device number 3
[ 268.710000] usb 1-1.4: ath9k_htc: USB layer deinitialized
[ 293.860000] usb 1-1: new full-speed USB device number 4 using ehci-platform
[ 294.020000] hub 1-1:1.0: USB hub found
[ 294.020000] hub 1-1:1.0: 4 ports detected
[ 294.220000] usbcore: deregistering interface driver usbserial_generic
[ 294.220000] USB Serial deregistering driver generic
[ 294.230000] usbcore: deregistering interface driver usbserial
[ 294.260000] usbcore: registered new interface driver usbserial
[ 294.270000] USB Serial support registered for generic
[ 294.330000] usb 1-1.4: new full-speed USB device number 5 using ehci-platform
[ 294.460000] usb 1-1.4: not running at top speed; connect to a high speed hub
[ 294.470000] usb 1-1.4: ath9k_htc: Firmware htc_9271.fw requested
[ 294.480000] usbcore: registered new interface driver usbserial_generic
[ 294.480000] usbserial: USB Serial Driver core
[ 294.870000] usbcore: deregistering interface driver usbserial_generic
[ 294.870000] USB Serial deregistering driver generic
[ 294.880000] usbcore: deregistering interface driver usbserial
[ 294.910000] usbcore: registered new interface driver usbserial
[ 294.920000] USB Serial support registered for generic
[ 294.920000] usbcore: registered new interface driver usbserial_generic
[ 294.930000] usbserial: USB Serial Driver core
[ 294.980000] usb 1-1.4: ath9k_htc: Transferred FW: htc_9271.fw, size: 51272
[ 295.220000] ath9k_htc 1-1.4:1.0: ath9k_htc: HTC initialized with 33 credits
[ 295.660000] ath9k_htc 1-1.4:1.0: ath9k_htc: FW Version: 1.3
[ 295.660000] ath: EEPROM regdomain: 0x833a
[ 295.660000] ath: EEPROM indicates we should expect a country code
[ 295.660000] ath: doing EEPROM country->regdmn map search
[ 295.660000] ath: country maps to regdmn code: 0x37
[ 295.660000] ath: Country alpha2 being used: GB
[ 295.660000] ath: Regpair used: 0x37
[ 295.670000] ieee80211 phy2: Atheros AR9271 Rev:1
[ 295.680000] Registered led device: ath9k_htc-phy2

SYSLOG

00:04:55 Pineapple user.notice root: Mobile.Keepalive: Preventing Duplicate Self.
00:04:55 Pineapple kern.info kernel: [ 295.670000] ieee80211 phy2: Atheros AR9271 Rev:1
00:04:55 Pineapple kern.info kernel: [ 295.660000] ath9k_htc 1-1.4:1.0: ath9k_htc: FW Version: 1.3
00:04:55 Pineapple kern.info kernel: [ 295.220000] ath9k_htc 1-1.4:1.0: ath9k_htc: HTC initialized with 33 credits
00:04:55 Pineapple kern.debug kernel: [ 295.680000] Registered led device: ath9k_htc-phy2
00:04:55 Pineapple kern.debug kernel: [ 295.660000] ath: doing EEPROM country->regdmn map search
00:04:55 Pineapple kern.debug kernel: [ 295.660000] ath: country maps to regdmn code: 0x37
00:04:55 Pineapple kern.debug kernel: [ 295.660000] ath: Regpair used: 0x37
00:04:55 Pineapple kern.debug kernel: [ 295.660000] ath: EEPROM regdomain: 0x833a
00:04:55 Pineapple kern.debug kernel: [ 295.660000] ath: EEPROM indicates we should expect a country code
00:04:55 Pineapple kern.debug kernel: [ 295.660000] ath: Country alpha2 being used: GB
00:04:54 Pineapple user.notice usb-modeswitch: 1-1:1.0: Manufacturer=ALCOR Product=USB_Hub_2.0 Serial=?
00:04:54 Pineapple user.notice usb-modeswitch: 1-1.4:1.0: Manufacturer=ATHEROS Product=UB91C Serial=12345
00:04:54 Pineapple user.notice root: Mobile.Keepalive: Preventing Duplicate Self.
00:04:54 Pineapple kern.info kernel: [ 294.980000] usb 1-1.4: ath9k_htc: Transferred FW: htc_9271.fw, size: 51272
00:04:54 Pineapple kern.info kernel: [ 294.930000] usbserial: USB Serial Driver core
00:04:54 Pineapple kern.info kernel: [ 294.920000] usbcore: registered new interface driver usbserial_generic
00:04:54 Pineapple kern.info kernel: [ 294.920000] USB Serial support registered for generic
00:04:54 Pineapple kern.info kernel: [ 294.910000] usbcore: registered new interface driver usbserial
00:04:54 Pineapple kern.info kernel: [ 294.880000] usbcore: deregistering interface driver usbserial
00:04:54 Pineapple kern.info kernel: [ 294.870000] usbcore: deregistering interface driver usbserial_generic
00:04:54 Pineapple kern.info kernel: [ 294.870000] USB Serial deregistering driver generic
00:04:54 Pineapple kern.info kernel: [ 294.480000] usbserial: USB Serial Driver core
00:04:54 Pineapple kern.info kernel: [ 294.480000] usbcore: registered new interface driver usbserial_generic
00:04:54 Pineapple kern.info kernel: [ 294.470000] usb 1-1.4: ath9k_htc: Firmware htc_9271.fw requested
00:04:54 Pineapple kern.info kernel: [ 294.460000] usb 1-1.4: not running at top speed; connect to a high speed hub
00:04:54 Pineapple kern.info kernel: [ 294.330000] usb 1-1.4: new full-speed USB device number 5 using ehci-platform
00:04:54 Pineapple kern.info kernel: [ 294.270000] USB Serial support registered for generic
00:04:54 Pineapple kern.info kernel: [ 294.260000] usbcore: registered new interface driver usbserial
00:04:54 Pineapple kern.info kernel: [ 294.230000] usbcore: deregistering interface driver usbserial
00:04:54 Pineapple kern.info kernel: [ 294.220000] usbcore: deregistering interface driver usbserial_generic
00:04:54 Pineapple kern.info kernel: [ 294.220000] USB Serial deregistering driver generic
00:04:54 Pineapple kern.info kernel: [ 294.020000] hub 1-1:1.0: USB hub found
00:04:54 Pineapple kern.info kernel: [ 294.020000] hub 1-1:1.0: 4 ports detected
00:04:53 Pineapple kern.info kernel: [ 293.860000] usb 1-1: new full-speed USB device number 4 using ehci-platform
00:04:51 Pineapple user.notice root: Mobile.Keepalive: Still Redialing...
00:04:51 Pineapple user.notice root: Mobile.Keepalive: Still Redialing...
00:04:41 Pineapple user.notice root: Mobile.Keepalive: Still Redialing...
00:04:41 Pineapple user.notice root: Mobile.Keepalive: Still Redialing...
00:04:37 Pineapple user.info sysinit: setting up led WLAN
00:04:37 Pineapple user.info sysinit: setting up led WAN
00:04:37 Pineapple user.info sysinit: setting up led USB
00:04:37 Pineapple user.info sysinit: setting up led LAN
00:04:37 Pineapple daemon.info dnsmasq[1789]: using nameserver 8.8.8.8#53
00:04:37 Pineapple daemon.info dnsmasq[1789]: using local addresses only for domain lan
00:04:37 Pineapple daemon.info dnsmasq[1789]: using local addresses only for domain lan
00:04:37 Pineapple daemon.info dnsmasq[1789]: started, version 2.62 cachesize 150
00:04:37 Pineapple daemon.info dnsmasq[1789]: reading /tmp/resolv.conf.auto
00:04:37 Pineapple daemon.info dnsmasq[1789]: read /etc/hosts - 1 addresses
00:04:37 Pineapple daemon.info dnsmasq[1789]: compile time options: IPv6 GNU-getopt no-DBus no-i18n no-IDN DHCP no-DHCPv6 no-Lua TFTP no-conntrack
00:04:37 Pineapple daemon.info dnsmasq-dhcp[1789]: read /etc/ethers - 0 addresses
00:04:37 Pineapple daemon.info dnsmasq-dhcp[1789]: DHCP, IP range 172.16.42.100 -- 172.16.42.249, lease time 12h
00:04:34 Pineapple user.notice dnsmasq: DNS rebinding protection is active, will discard upstream RFC1918 responses!
00:04:34 Pineapple user.notice dnsmasq: Allowing 127.0.0.0/8 responses
00:04:31 Pineapple user.notice root: Mobile.Keepalive: Still Redialing...
00:04:31 Pineapple user.notice root: Mobile.Keepalive: Still Redialing...
00:04:31 Pineapple authpriv.info dropbear[1725]: Running in background
00:04:30 Pineapple cron.info crond[1705]: crond: crond (busybox 1.19.4) started, log level 5
00:04:29 Pineapple user.info sysinit: wpa_supplicant_setup_vif(wlan1): Refusing to bridge sta mode interface
00:04:29 Pineapple user.info sysinit: ifconfig: SIOCGIFFLAGS: No such device
00:04:29 Pineapple user.info sysinit: enable_mac80211(radio1): Failed to set up wpa_supplicant for interface wlan1
00:04:28 Pineapple kern.info kernel: [ 268.710000] usb 1-1.4: ath9k_htc: USB layer deinitialized
00:04:27 Pineapple kern.info kernel: [ 267.690000] usb 1-1.4: USB disconnect, device number 3
00:04:27 Pineapple kern.info kernel: [ 267.680000] usb 1-1: USB disconnect, device number 2
00:04:06 Pineapple user.notice root: Mobile.Keepalive: Still Redialing...

SSH Session

root@Pineapple:~# iwconfig
lo        no wireless extensions.

wlan1     IEEE 802.11bgn  ESSID:off/any  
          Mode:Managed  Access Point: Not-Associated   Tx-Power=0 dBm   
          RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          
eth1      no wireless extensions.

wlan0     IEEE 802.11bgn  Mode:Master  Tx-Power=18 dBm   
          RTS thr:off   Fragment thr:off
          Power Management:on
          
eth0      no wireless extensions.

br-lan    no wireless extensions.

root@Pineapple:~# lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 004: ID 05e3:0606 Genesys Logic, Inc. USB 2.0 Hub / D-Link DUB-H4 USB 2.0 Hub
Bus 001 Device 005: ID 0cf3:9271 Atheros Communications, Inc. AR9271 802.11n
root@Pineapple:~# ifconfig
br-lan    Link encap:Ethernet  HWaddr 00:C0:CA:68:5D:BD  
          inet addr:172.16.42.1  Bcast:172.16.42.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:585 errors:0 dropped:0 overruns:0 frame:0
          TX packets:658 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:66428 (64.8 KiB)  TX bytes:136387 (133.1 KiB)

eth0      Link encap:Ethernet  HWaddr 00:C0:CA:68:5D:BD  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:585 errors:0 dropped:0 overruns:0 frame:0
          TX packets:658 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:74618 (72.8 KiB)  TX bytes:136387 (133.1 KiB)
          Interrupt:5 

eth1      Link encap:Ethernet  HWaddr 00:C0:CA:68:5D:BC  
          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:4 

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:75 errors:0 dropped:0 overruns:0 frame:0
          TX packets:75 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:5400 (5.2 KiB)  TX bytes:5400 (5.2 KiB)

wlan0     Link encap:Ethernet  HWaddr 00:C0:CA:68:5D:BE  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:480 (480.0 B)

root@Pineapple:~# ifconfig wlan1 up


It just hangs after ifconfig wlan1 up and the blue light never comes on. If I have the Alfa/USB hub plugged in at boot the Pineapple never finishes initialization (I have to unplug the hub to let it boot up.)

Thanks in advance for your help.

Edited by slynx
Link to post
Share on other sites

I'm using the black Alfa that came with the Elite bundle. Also I don't think it's a power issue since the hub/Alfa works fine when powered only by the Juice pack plugged into my laptop.

I'll have an Anker Astro3 to test with later today just make sure its not power related though.

Edited by slynx
Link to post
Share on other sites

Well I just tried using the Anker Astro3 and still no luck. The Pineapple just isn't working with well with the Hak5 hub, even though the hub works great on battery power when hooked into my laptop. Does anyone have any ideas other than "not enough power"? I would really like to get this working.

Link to post
Share on other sites

Did you have success just using a different port on the Hak5 hub?

I had the same thought so I tried using a different port on the hub. Maybe all my cables are bad since I have issues on all ports, and not just with the Alfa. USB storage is at least recognized but there's all sorts of errors. All the pads look ok and no visible defects on the board so I'm not sure where the issue would be though.

I'm going to try with another powered USB hub in a few minutes so I'll report back (with either success or more logs...)

Link to post
Share on other sites

RIght now, no.... not a hub cable anyway. I have a powered 7-port Moxa hub I'm about to try but there's no way that's fitting in the Pelican case....

What cable are you using now? I like the Alfa port on the Hak5 cable but it seems rather cheap and well, you get what you pay for. If I buy another one I would need some kind of guarentee it will work. I would return the cable I already bought but well, you know, I snipped the red wire so....

Link to post
Share on other sites

Well, I have 3 alfas (nh, nhr and nha). The original usb cable that came with the "nha" didnĀ“t work with it so I tried with another one. In my case and due to my location it was easier to try another one rather to return it. What seems weird is that it works in your laptop (assuming you are using the same usb cable). Did you try plugging the alfa directly to the usb port of the Mark IV?

Link to post
Share on other sites

I've tested the same cable on two different systems, one Windows and one Linux as well as under VMware, and the cable seems to work just fine (although the case keeps falling apart so I may need to glue it back together the PCB looks good too).

I just tested with my Moxa industrial grade 7 port isolated hub and (after setting the Alfa's txpower low to prevent the hub's protection from locking it up) managed to get everything working! So now I'm very confused as to what could possibly be happening. Perhaps a difference between my other machine's USB ports and the Pineapple's? My last thought is to try cutting the GND wire as well on the Hak5's Data port. At first I didn't want to lost the ground but I can't think of much else to try at this point. Failing that I'm burning the hub and posting a video.

So I think I'll start looking for a new powered hub that will fit in the Pelican case and provide 4-5 ports and not backfeed into the Pineapple. If anyone has a suggestion I'm open to it.

Link to post
Share on other sites

Well it looks like I spoke too soon. I'm having issues with my Moxa hub too (I have a feeling it's mostly due to hard reset caused by a power surge when the Pineapple first loads the Alfa). Storage by itself works fine on both hubs. I still have a couple more things to try, including cutting the black wire on the Hak5 hub. I may edit the WiFi script on the Pineapple to set low power immediatley on the Alfa when its plugged in to see if I can get my Moxa to work for more than 5 minutes.

I've been reading the forums and am now looking at one of these hubs:

Anker Uspeed USB 3.0 4 Port Compact Hub

IOGear 4 Port USB 2.0 MicroHub

Does anyone have any experience with either of these hubs?

Link to post
Share on other sites

Most people use the D link powered hub. The 4 one..

http://www.amazon.com/s/ref=nb_sb_ss_i_0_11?url=search-alias%3Daps&field-keywords=d%20link%20usb%20hub&sprefix=d+link+usb+%2Caps%2C266&rh=i%3Aaps%2Ck%3Ad%20link%20usb%20hub

Hakshop also sells a powered hub which I also like (due to micro usb plug for phone) and is even cheaper.

http://hakshop.myshopify.com/collections/accessory/products/usb-powered-hub

hope that helps.

Link to post
Share on other sites

The HakShop one is the one I'm having lots of problems with. It was backfeeding power and just isn't working. Read the rest of this thread for a full explanation.

I've read the D-Link hub works and doesn't backfeed so I'm going to go ahead and order it. I might order the Anker as well just for good measure.

If anyone has the HakShop hub working (with power on red and no backfeeding to the Pineapple) how did you get yours to work?

Thanks to everyone who has taken the time to reply to this thread so far. I hope to have this sorted out soon so my shiny new toy doesn't become an expensive paper weight!

Link to post
Share on other sites

Yes. I also tested the hub on mutiple machines to ensure it was working. Powered by the same Anker Astro3 I power the Pineapple with and it worked fine in everything but the Mark IV. On the Pineapple the Alfa would cause the Pineapple to malfunction.

I tried stress-testing the hub with two Alfas hooked up, battery powered to my laptop. The hub worked for a few seconds and then locked up. I was not able to get it working afterwards. It seems the board is fried or maybe it was defective from the beginning? I examined the PCB of the hub and everything looks fine.

If anyone has the HakShop hub working can you share your setup?

Anyway I'm buying the D-Link hub which should work fine out of the box.

Edited by slynx
Link to post
Share on other sites

I'm getting essentially the same issue in firmware 2.8 on the Mark IV. Pineapple won't finish booting with the hub plugged in, and doesn't really seem to operate correctly with it plugged in after booting. It's not mounting my USB drive (even though it does when plugged in normally) and when I issue iwconfig it shows my wlan1 as having a txpower of 0 dBm. Very weird stuff.

lsusb shows that both the devices are plugged in, but I think this has something to do with the hub not regulating input power. I had the same back feed issue over USB, but instead of cutting the red wire (not very reversible) I unsoldered it. I taped the red lead that was going to the Pineapple and was plugging into a Samsung wall charger (I don't have a battery pack yet) which is 5v 1A. When I did this, the Pineapple didn't detect my Alfa, so I tried plugging the hub (still plugged into the wall adapter) into my Windows box and it blue screened almost instantly. When I plugged both cables from the hub into USB 2.0 ports on my Windows box, the hub worked as expected, I could use the Alfa and see the USB disk. Same thing for my USB 3.0 ports.

I now have it powered via my Windows box (red cable) on a USB 2.0 port and plugged into my Pineapple. As I said before, USB isn't mounting, Alfa shows up but with 0 txpower. I'm starting to wish I would have read up on this thing before buying it. Does anyone have this thing working?

Link to post
Share on other sites

So, I tried unsoldering the black wire that goes back to the Pineapple with some weird results. lsusb shows the hub is there, but none of the devices show up. The other weird thing is that I could now boot the Pineapple while the hub was attached. This leads me to believe that I am working backwards instead of forwards. Maybe we just need to regulate the power somehow to make sure the feed isn't going back to the Pineapple, but the Pineapple can still send power back to the hub. Does that make any sense? I'm new to electronics in general as far as wiring goes.

Short of some kind of solution, I'm going to try soldering the wires back on and checking to see if everything actually works (I just realized that I never did this when I first got the hub). I know its back feeding power, which could harm the device, so I guess I'll just have to watch my amperage. Maybe I'll have to get a low amperage battery pack (bummer, I was looking at a beefy one). If my research is correct, the one the HakShop was bundling with the Pro pack was 0.6 amps.

Edited by overcoded
Link to post
Share on other sites

Last update:

I tried soldering the unit back to the original state, it now works exactly as it did with the red lead disconnected, lsusb output the devices I had connected, but I was unable to use them. I guess I'll just have to look around for a different kind of hub. What a waste of $6.

Link to post
Share on other sites

I went for the dlink hub, after having the same issues with the hak5 powered hub, it arrived today and works a treat, with both the usb storage and the alfa plugged into the hub.

Will now grab a 2nd usb power cable for the pineapple as this will power the hub from my usb port on my newtrent battery, to have both the pineapple and the dlink hub powered from the newtrent batt.

Link to post
Share on other sites

I went for the dlink hub, after having the same issues with the hak5 powered hub, it arrived today and works a treat, with both the usb storage and the alfa plugged into the hub.

Will now grab a 2nd usb power cable for the pineapple as this will power the hub from my usb port on my newtrent battery, to have both the pineapple and the dlink hub powered from the newtrent batt.

Can you link the D-Link hub that you're using? I've also been looking at that Newtrent battery pack, haven't picked anything yet though.

Link to post
Share on other sites

I decided on Belikin F4U040v 4 port hub after reading up a bit. Tried it today and everything works great. Now to root the mess of cables (starting to think I may need a bigger case...)

It would be nice to have a sticky thread with a list of known good hubs that don't backfeed power. Probably a note on the HakShop that clearly states the hub they sell does not work with the Pineapple (at least not when it's powered).

Link to post
Share on other sites
  • Solution

Another warning for anyone else having issues with the Elite bundle I just found out the angle adapter included in the kit is junk. If you're having any issues with USB while using it try removing the adapter to see if the problem goes away.

I can't remember if I tried the HakShop hub (with red wire cut) without the swivel adapter (yeah, I know) but it's too late now as I've cut the black wire and it's not worth the effort to solder it back on now that I have a much better hub.

Either way the Belkin hub worked perfectly from try one. Then I had some issues and when moving the adapter noticed the USB light go back on. Tried moving it some more, then without it and so far haven't had any more issues.

So moral of the story: save your money and only buy the Pineapple by itself. The bundle isn't much of a deal, although I hope for that to change in the future.

Link to post
Share on other sites

I was at the mall and just decided that I would try another adapter from Best Buy, lo and behold, the Dynex 4Port USB Hub they sold actually worked! No backfeed, boots with it connected, and all the devices work happily with the Pineapple! Now I just have to get around to finding a power pack and making sure it has a barrel adapter that works with this.

Here's the link if anyone is interested, it was $16 for a generic Best Buy hub:

http://www.bestbuy.com/site/4-Port+USB+2.0+Hub/2120061.p?id=1218314968492&skuId=2120061&st=usb%20hub&cp=1&lp=3

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...