Jump to content

Android tethering


Neworld

Recommended Posts

Looking to internet connection share from my android strait to the pineapple... Looked at the Pineapple manual, but had no clear answers. :(

Anyone have experience with this and can confirm working strait from android to Pineapple in regards to sharing internet?

Thanks in advance :D

Link to comment
Share on other sites

Yup, I can confirm this. You will need to enable USB tethering on your android phone.

It is possible that you need to execute these three commands on the pineapple for ICS to work:


iptables -t nat -A POSTROUTING -s 172.16.42.0/24 -o usb0 -j MASQUERADE
iptables -A FORWARD -s 172.16.42.0/24 -o usb0 -j ACCEPT
iptables -A FORWARD -d 172.16.42.0/24 -m state --state ESTABLISHED,RELATED -i usb0 -j ACCEPT
[/CODE]

Link to comment
Share on other sites

I'm assuming I need to root first correct?

No app?

Also, can you connect to wireless internet on your phone and ics that strait to the Pineapple?

No, no root is required as long as your phone supports wired tethering. All mine did and I have used my fair share of android devices.

As long as you do wired tethering you can tether your WiFi or 3g (it chooses WiFi over 3g). If you do WiFi tethering (again, not all phones have this) then obviously only 3g will be able to be shared.

If your phone doesn't support any tethering by default (just google your device and how to USB tether), you can always root and download "an app for that".

The fact that you do not need root on most devices makes this such a great option!

Link to comment
Share on other sites

You can enable tethering via USB from Settings, Wireless and network, Connection and wireless zone, USB connection. (not sure if this is correctly written since I'm translating from Norwegian, but you get the point)(at least this is the case in Android 2.3.7(too bad I'm poor))

Anyways I'm using an app called Auto Tethering Premium, which as the name implies automagically enables USB tethering when USB cable is plugged in(not charger of course). Thing is, I can't remember if I needed root privileges to install this app.

Again, this method is sadly not working as I would wish when the Pineapple reboots. When the Pineapple is up and running after a reboot, the android device is connected in charging mode, and not modem mode. Unplug/plug "fixes" this.

Edited by loozr
Link to comment
Share on other sites

  • 1 month later...

Hey guys,

I'm trying to get my CM9 Thunderbolt to tether over USB with my MKiv with firmware 2.7.0 and having no luck. I have done tons of searching and tried different things I've found on the forums, still with no luck.

I have tethering enabled on my phone, the mkiv is plugged into the included AC power (just to be safe), but the USB interface is not coming up at all. Here is the dmesg:


root@Pineapple:~# dmesg
[ 0.000000] Linux version 3.3.8 (www-data@buildbot) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #96 Sun Oct 14 10:17:26 EDT 2012
[ 0.000000] MyLoader: sysp=00402014, boardp=11800000, parts=00000000
[ 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 802cb680, 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: 29276k/32768k available (2082k kernel code, 3492k reserved, 396k data, 204k 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.540000] bio: create slab <bio-0> at 0
[ 0.550000] Switching to clocksource MIPS
[ 0.550000] NET: Registered protocol family 2
[ 0.560000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.560000] TCP established hash table entries: 1024 (order: 1, 8192 bytes)
[ 0.560000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.570000] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.580000] TCP reno registered
[ 0.580000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.590000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.590000] NET: Registered protocol family 1
[ 0.600000] PCI: CLS 0 bytes, default 32
[ 0.620000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.620000] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.630000] msgmni has been set to 57
[ 0.630000] io scheduler noop registered
[ 0.640000] io scheduler deadline registered (default)
[ 0.640000] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[ 0.650000] ar933x-uart: ttyATH0 at MMIO 0x18020000 (irq = 11) is a AR933X UART
[ 0.650000] console [ttyATH0] enabled, bootconsole disabled
[ 0.670000] m25p80 spi0.0: found mx25l6405d, expected m25p80
[ 0.670000] m25p80 spi0.0: mx25l6405d (8192 Kbytes)
[ 0.680000] 7 cmdlinepart partitions found on MTD device spi0.0
[ 0.680000] Creating 7 MTD partitions on "spi0.0":
[ 0.690000] 0x000000000000-0x000000040000 : "u-boot"
[ 0.690000] 0x000000040000-0x000000050000 : "u-boot-env"
[ 0.700000] 0x000000050000-0x000000650000 : "rootfs"
[ 0.710000] mtd: partition "rootfs" set to be root filesystem
[ 0.710000] mtd: partition "rootfs_data" created automatically, ofs=560000, len=F0000
[ 0.720000] 0x000000560000-0x000000650000 : "rootfs_data"
[ 0.720000] 0x000000650000-0x0000007e0000 : "kernel"
[ 0.730000] 0x0000007e0000-0x0000007f0000 : "nvram"
[ 0.730000] 0x0000007f0000-0x000000800000 : "art"
[ 0.740000] 0x000000050000-0x0000007e0000 : "firmware"
[ 0.760000] ag71xx_mdio: probed
[ 0.770000] eth0: Atheros AG71xx at 0xba000000, irq 5
[ 1.320000] eth0: Found an AR7240/AR9330 built-in switch
[ 2.350000] eth1: Atheros AG71xx at 0xb9000000, irq 4
[ 2.900000] ag71xx ag71xx.0: eth1: connected to PHY at ag71xx-mdio.1:04 [uid=004dd041, driver=Generic PHY]
[ 2.910000] TCP cubic registered
[ 2.910000] NET: Registered protocol family 17
[ 2.920000] 8021q: 802.1Q VLAN Support v1.8
[ 2.930000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[ 2.930000] Freeing unused kernel memory: 204k freed
[ 6.240000] Registered led device: alfa:blue:lan
[ 6.240000] Registered led device: alfa:blue:usb
[ 6.240000] Registered led device: alfa:blue:wan
[ 6.240000] Registered led device: alfa:blue:wlan
[ 6.240000] Registered led device: alfa:blue:wps
[ 9.580000] JFFS2 notice: (451) jffs2_build_xattr_subsystem: complete building xattr subsystem, 1 of xdatum (1 unchecked, 0 orphan) and 8 of xref (0 dead, 0 orphan) found.
[ 10.300000] SCSI subsystem initialized
[ 10.610000] usbcore: registered new interface driver usbfs
[ 10.610000] usbcore: registered new interface driver hub
[ 10.620000] usbcore: registered new device driver usb
[ 11.190000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 11.200000] ehci-platform ehci-platform: Generic Platform EHCI Controller
[ 11.200000] ehci-platform ehci-platform: new USB bus registered, assigned bus number 1
[ 11.240000] ehci-platform ehci-platform: irq 3, io mem 0x1b000000
[ 11.260000] ehci-platform ehci-platform: USB 2.0 started, EHCI 1.00
[ 11.260000] hub 1-0:1.0: USB hub found
[ 11.260000] hub 1-0:1.0: 1 port detected
[ 11.390000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 11.510000] uhci_hcd: USB Universal Host Controller Interface driver
[ 11.630000] Initializing USB Mass Storage driver...
[ 11.630000] usbcore: registered new interface driver usb-storage
[ 11.640000] USB Mass Storage support registered.
[ 32.970000] Compat-wireless backport release: compat-wireless-2012-07-13
[ 32.980000] Backport based on wireless-testing.git master-2012-07-16
[ 32.980000] compat.git: wireless-testing.git
[ 33.020000] cfg80211: Calling CRDA to update world regulatory domain
[ 33.020000] cfg80211: World regulatory domain updated:
[ 33.020000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[ 33.030000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 33.040000] cfg80211: (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[ 33.050000] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[ 33.050000] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 33.060000] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 33.600000] cfg80211: World regulatory domain updated:
[ 33.600000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[ 33.610000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 33.610000] cfg80211: (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[ 33.620000] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[ 33.630000] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 33.640000] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 34.450000] usbcore: registered new interface driver rt73usb
[ 34.600000] usbcore: registered new interface driver rtl8187
[ 34.630000] ath: EEPROM regdomain: 0x833a
[ 34.630000] ath: EEPROM indicates we should expect a country code
[ 34.630000] ath: doing EEPROM country->regdmn map search
[ 34.630000] ath: country maps to regdmn code: 0x37
[ 34.630000] ath: Country alpha2 being used: GB
[ 34.630000] ath: Regpair used: 0x37
[ 34.640000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[ 34.640000] Registered led device: ath9k-phy0
[ 34.640000] ieee80211 phy0: Atheros AR9330 Rev:1 mem=0xb8100000, irq=2
[ 34.660000] usbcore: registered new interface driver rt2800usb
[ 34.740000] cfg80211: Calling CRDA for country: GB
[ 34.740000] cfg80211: Regulatory domain changed to country: GB
[ 34.750000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[ 34.750000] cfg80211: (2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm)
[ 34.760000] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (N/A, 2000 mBm)
[ 34.770000] cfg80211: (5250000 KHz - 5330000 KHz @ 40000 KHz), (N/A, 2000 mBm)
[ 34.770000] cfg80211: (5490000 KHz - 5710000 KHz @ 40000 KHz), (N/A, 2700 mBm)
[ 34.790000] Button Hotplug driver version 0.4.1
[ 35.030000] RPC: Registered named UNIX socket transport module.
[ 35.030000] RPC: Registered udp transport module.
[ 35.040000] RPC: Registered tcp transport module.
[ 35.040000] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 35.390000] PPP generic driver version 2.4.2
[ 35.530000] tun: Universal TUN/TAP device driver, 1.6
[ 35.540000] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[ 35.800000] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 36.020000] NET: Registered protocol family 24
[ 36.160000] nf_conntrack version 0.5.0 (460 buckets, 1840 max)
[ 36.970000] usbcore: registered new interface driver ath9k_htc
[ 37.220000] usbcore: registered new interface driver usbserial
[ 37.230000] USB Serial support registered for generic
[ 37.230000] usbcore: registered new interface driver usbserial_generic
[ 37.240000] usbserial: USB Serial Driver core
[ 37.280000] usbcore: registered new interface driver cdc_ether
[ 37.380000] Error: Driver 'gpio-keys-polled' is already registered, aborting...
[ 37.490000] usbcore: registered new interface driver rndis_host
[ 57.210000] device eth0 entered promiscuous mode
[ 60.590000] device wlan0 entered promiscuous mode
[ 60.690000] br-lan: port 2(wlan0) entered forwarding state
[ 60.690000] br-lan: port 2(wlan0) entered forwarding state
[ 62.690000] br-lan: port 2(wlan0) entered forwarding state
[ 70.060000] device wlan0 left promiscuous mode
[ 70.060000] br-lan: port 2(wlan0) entered disabled state
[ 70.820000] device wlan0 entered promiscuous mode
[ 70.900000] br-lan: port 2(wlan0) entered forwarding state
[ 70.900000] br-lan: port 2(wlan0) entered forwarding state
[ 72.900000] br-lan: port 2(wlan0) entered forwarding state
[ 89.810000] usb 1-1: new high-speed USB device number 2 using ehci-platform
[ 89.960000] hub 1-1:1.0: USB hub found
[ 89.960000] hub 1-1:1.0: 1 port detected
[ 90.240000] usb 1-1.1: new high-speed USB device number 3 using ehci-platform
[ 90.390000] scsi0 : usb-storage 1-1.1:1.0
[ 91.390000] scsi 0:0:0:0: Direct-Access HTC Android Phone 0100 PQ: 0 ANSI: 2
[ 91.400000] sd 0:0:0:0: Attached scsi generic sg0 type 0
[ 91.410000] scsi 0:0:0:1: CD-ROM HTC Android Phone 0100 PQ: 0 ANSI: 2
[ 91.410000] scsi 0:0:0:1: Attached scsi generic sg1 type 5
[ 91.430000] sd 0:0:0:0: [sda] Attached SCSI removable disk
[ 91.880000] usb 1-1.1: USB disconnect, device number 3
[ 92.380000] usb 1-1.1: new high-speed USB device number 4 using ehci-platform
[ 92.510000] usb 1-1.1: config 1 has no interfaces?
[ 184.040000] usb 1-1.1: USB disconnect, device number 4
[ 184.790000] usb 1-1.1: new high-speed USB device number 5 using ehci-platform
[ 184.930000] scsi1 : usb-storage 1-1.1:1.0
[ 185.220000] usb 1-1: USB disconnect, device number 2
[ 185.230000] usb 1-1.1: USB disconnect, device number 5
[ 209.870000] usb 1-1: new high-speed USB device number 6 using ehci-platform
[ 210.020000] hub 1-1:1.0: USB hub found
[ 210.020000] hub 1-1:1.0: 1 port detected
[ 210.300000] usb 1-1.1: new high-speed USB device number 7 using ehci-platform
[ 210.450000] scsi2 : usb-storage 1-1.1:1.0
[ 211.450000] scsi 2:0:0:0: Direct-Access HTC Android Phone 0100 PQ: 0 ANSI: 2
[ 211.460000] sd 2:0:0:0: Attached scsi generic sg0 type 0
[ 211.470000] scsi 2:0:0:1: CD-ROM HTC Android Phone 0100 PQ: 0 ANSI: 2
[ 211.470000] scsi 2:0:0:1: Attached scsi generic sg1 type 5
[ 211.490000] sd 2:0:0:0: [sda] Attached SCSI removable disk
[ 398.440000] usb 1-1: USB disconnect, device number 6
[ 398.440000] usb 1-1.1: USB disconnect, device number 7
[ 410.750000] usb 1-1: new high-speed USB device number 8 using ehci-platform
[ 410.900000] hub 1-1:1.0: USB hub found
[ 410.900000] hub 1-1:1.0: 1 port detected
[ 411.180000] usb 1-1.1: new high-speed USB device number 9 using ehci-platform
[ 411.330000] scsi3 : usb-storage 1-1.1:1.0
[ 412.330000] scsi 3:0:0:0: Direct-Access HTC Android Phone 0100 PQ: 0 ANSI: 2
[ 412.340000] sd 3:0:0:0: Attached scsi generic sg0 type 0
[ 412.350000] scsi 3:0:0:1: CD-ROM HTC Android Phone 0100 PQ: 0 ANSI: 2
[ 412.350000] scsi 3:0:0:1: Attached scsi generic sg1 type 5
[ 412.370000] sd 3:0:0:0: [sda] Attached SCSI removable disk
[/CODE]

Don't know what I am doing wrong here. Any ideas?

Also tried this with no luck - http://forums.hak5.o...android +tether

Edited by airman_dopey
Link to comment
Share on other sites

  • 2 weeks later...

There appear to be a couple of threads about this now - i'm not sure which is most up to date.

Has there been any development in getting android SD card access from the pineapple? So you can use your phone for internet access and storage, without the need for a hub?

Are people just rocking phones, hubs and USB sticks at the moment?

Thanks!

Link to comment
Share on other sites

  • 3 weeks later...

Hi guys,

I'm not too sure how to word this but I am going to make this as clear as possible.

I have mark IV pineapple with up to date firmware. I have had trouble with my Alfa adapter being a reliable relay and have had the idea to use an old Android phone instead. My question is can connect the android phone to a wireless router and then share that connection with the pineapple via USB tethering?

I have two reasons for this. To have a GUI for wifi connection and to reduce battery drain on the pineapple juice, due to the internal battery in the phone.

What do you guys think?

Link to comment
Share on other sites

  • 2 months later...

Not to sure on that but i will try tomorrow when my Samsung galaxy s3 mini turns up :D and then i will let you know ;)

BUT...

I think if your using a pineapple juice to power the pineapple AP and your Alfa card then that may be your main problem.

There has been many people saying the pineapple juice cannot power both at a fully functionally level.

i suggest you invest in a externally powered USB HUB and a dual USB external battery.

There is plenty of posts on what ones are the best, i have done this and its not the results are better but not perfect.

Link to comment
Share on other sites

  • 3 weeks later...

EDIT: It seems like it is a problem with USB hubs.

Hi guys,

long time lurker here, creating my first post.

So, I can't get the usb tethering of my android phone to work with the pineapple. I tried the forum search but none of the posted solutions could resolve my issue.

Here's my setup:

Wifi pineapple mark IV with 2.8.1 firmware

HTC One X with cyanogenmod 10.1.0-RC2

Computer with wifi adapter (awus036nh) connected to the pineapple AP to use the webinterface

1. power up the pineapple, wait until it's up

2. connect my phone to the pineapple

3. enabling USB tethering on the phone

4. connecting my pc to the pineapple AP

5. accessing the webinterface (172.16.42.1:1471)

bZ65JM5.png

OCAl1nE.png

KNR3aWJ.png

6. going to advanced and execute the following commands

iptables -t nat -A POSTROUTING -s 172.16.42.0/24 -o usb0 -j MASQUERADE
iptables -A FORWARD -s 172.16.42.0/24 -o usb0 -j ACCEPT
iptables -A FORWARD -d 172.16.42.0/24 -m state --state ESTABLISHED,RELATED -i usb0 -j ACCEPT

but still no connection (can't reveal the IP address at the status tab, can't get the modules list, clients don't have internet access, ...)

system log, just in case

00:20:01 Pineapple user.notice root: CLEANUP: memory looking good
00:20:01 Pineapple user.notice root: CLEANUP: Karma log looking good
00:20:01 Pineapple user.notice root: CLEANUP: Clean-up Script Executed
00:20:01 Pineapple cron.info crond[1415]: crond: USER root pid 2215 cmd /pineapple/scripts/cleanup.sh
00:15:01 Pineapple user.notice root: CLEANUP: memory below threshold, dropping pagecache, dentries and inodes
00:15:01 Pineapple user.notice root: CLEANUP: Karma log looking good
00:15:01 Pineapple user.notice root: CLEANUP: Clean-up Script Executed
00:15:01 Pineapple cron.info crond[1415]: crond: USER root pid 2041 cmd /pineapple/scripts/cleanup.sh
00:13:03 Pineapple daemon.info dnsmasq-dhcp[1491]: DHCPINFORM(br-lan) 172.16.42.186 MAC:OF:MY:WIFI:ADAPTER
00:13:03 Pineapple daemon.info dnsmasq-dhcp[1491]: DHCPACK(br-lan) 172.16.42.186 MAC:OF:MY:WIFI:ADAPTER STM-PC
00:10:53 Pineapple daemon.info dnsmasq-dhcp[1491]: DHCPINFORM(br-lan) 172.16.42.186 MAC:OF:MY:WIFI:ADAPTER
00:10:53 Pineapple daemon.info dnsmasq-dhcp[1491]: DHCPACK(br-lan) 172.16.42.186 MAC:OF:MY:WIFI:ADAPTER STM-PC
00:10:49 Pineapple daemon.info dnsmasq-dhcp[1491]: DHCPREQUEST(br-lan) 172.16.42.186 MAC:OF:MY:WIFI:ADAPTER
00:10:49 Pineapple daemon.info dnsmasq-dhcp[1491]: DHCPOFFER(br-lan) 172.16.42.186 MAC:OF:MY:WIFI:ADAPTER
00:10:49 Pineapple daemon.info dnsmasq-dhcp[1491]: DHCPDISCOVER(br-lan) MAC:OF:MY:WIFI:ADAPTER
00:10:49 Pineapple daemon.info dnsmasq-dhcp[1491]: DHCPACK(br-lan) 172.16.42.186 MAC:OF:MY:WIFI:ADAPTER STM-PC
00:10:46 Pineapple daemon.info hostapd: wlan0: STA MAC:OF:MY:WIFI:ADAPTER IEEE 802.11: authenticated
00:10:46 Pineapple daemon.info hostapd: wlan0: STA MAC:OF:MY:WIFI:ADAPTER IEEE 802.11: associated (aid 1)
00:10:17 Pineapple user.notice ifup: Allowing Router Advertisements on usb (usb0)
00:10:16 Pineapple daemon.notice netifd: Interface 'usb' is now up
00:10:16 Pineapple daemon.info dnsmasq[1491]: using nameserver 8.8.8.8#53
00:10:16 Pineapple daemon.info dnsmasq[1491]: using local addresses only for domain lan
00:10:16 Pineapple daemon.info dnsmasq[1491]: reading /tmp/resolv.conf.auto
00:10:15 Pineapple daemon.notice netifd: usb (1841): Sending select for 192.168.42.39...
00:10:15 Pineapple daemon.notice netifd: usb (1841): Lease of 192.168.42.39 obtained, lease time 3600
00:10:13 Pineapple user.notice usb-modeswitch: 1-1:1.1: Manufacturer=HTC Product=HTC Serial=SH27BW101335
00:10:13 Pineapple user.notice usb-modeswitch: 1-1:1.0: Manufacturer=HTC Product=HTC Serial=SH27BW101335
00:10:13 Pineapple kern.info kernel: [ 613.290000] rndis_host 1-1:1.0: usb0: register 'rndis_host' at usb-ehci-platform-1, RNDIS device, MAC:OF:MY:PHONE
00:10:13 Pineapple kern.info kernel: [ 613.110000] usb 1-1: new high-speed USB device number 4 using ehci-platform
00:10:13 Pineapple daemon.notice netifd: usb (1841): udhcpc (v1.19.4) started
00:10:13 Pineapple daemon.notice netifd: usb (1841): Sending discover...
00:10:12 Pineapple kern.info kernel: [ 612.600000] usb 1-1: USB disconnect, device number 3
00:10:01 Pineapple user.notice root: CLEANUP: memory looking good
00:10:01 Pineapple user.notice root: CLEANUP: Karma log looking good
00:10:01 Pineapple user.notice root: CLEANUP: Clean-up Script Executed
00:10:01 Pineapple cron.info crond[1415]: crond: USER root pid 1786 cmd /pineapple/scripts/cleanup.sh
00:09:12 Pineapple kern.notice kernel: [ 552.340000] sd 1:0:0:0: [sda] Attached SCSI removable disk
00:09:12 Pineapple kern.notice kernel: [ 552.330000] sd 1:0:0:0: Attached scsi generic sg0 type 0
00:09:12 Pineapple kern.notice kernel: [ 552.320000] scsi 1:0:0:0: Direct-Access HTC Android Phone 0000 PQ: 0 ANSI: 2
00:09:11 Pineapple user.notice usb-modeswitch: 1-1:1.0: Manufacturer=HTC Product=HTC Serial=SH27BW101335
00:09:11 Pineapple kern.info kernel: [ 551.320000] scsi1 : usb-storage 1-1:1.0
00:09:11 Pineapple kern.info kernel: [ 551.150000] usb 1-1: new high-speed USB device number 3 using ehci-platform
00:09:10 Pineapple user.notice usb-modeswitch: 1-1:1.0: Manufacturer=? Product=? Serial=?
00:09:10 Pineapple kern.info kernel: [ 550.370000] usb 1-1: USB disconnect, device number 2
00:09:10 Pineapple kern.info kernel: [ 550.280000] scsi0 : usb-storage 1-1:1.0
00:09:10 Pineapple kern.info kernel: [ 550.120000] usb 1-1: new high-speed USB device number 2 using ehci-platform
00:05:01 Pineapple user.notice root: CLEANUP: memory looking good
00:05:01 Pineapple user.notice root: CLEANUP: Karma log looking good
00:05:01 Pineapple user.notice root: CLEANUP: Clean-up Script Executed
00:05:01 Pineapple cron.info crond[1415]: crond: USER root pid 1702 cmd /pineapple/scripts/cleanup.sh
00:01:06 Pineapple user.info sysinit: setting up led WLAN
00:01:06 Pineapple user.info sysinit: setting up led WAN
00:01:06 Pineapple user.info sysinit: setting up led USB
00:01:06 Pineapple user.info sysinit: setting up led LAN
00:01:06 Pineapple user.info sysinit: Selected interface 'wlan0'
00:01:06 Pineapple user.info sysinit: PHY for wifi device radio1 not found
00:01:06 Pineapple user.info sysinit: OK
00:01:05 Pineapple kern.info kernel: [ 65.830000] br-lan: port 2(wlan0) entered forwarding state
00:01:03 Pineapple kern.info kernel: [ 63.830000] br-lan: port 2(wlan0) entered forwarding state
00:01:03 Pineapple kern.info kernel: [ 63.820000] br-lan: port 2(wlan0) entered forwarding state
00:01:03 Pineapple kern.info kernel: [ 63.690000] device wlan0 entered promiscuous mode
00:01:02 Pineapple user.info sysinit: PHY for wifi device radio1 not found
00:01:02 Pineapple kern.info kernel: [ 62.410000] device wlan0 left promiscuous mode
00:01:02 Pineapple kern.info kernel: [ 62.410000] br-lan: port 2(wlan0) entered disabled state
00:01:02 Pineapple daemon.info dnsmasq[1491]: using nameserver 8.8.8.8#53
00:01:02 Pineapple daemon.info dnsmasq[1491]: using local addresses only for domain lan
00:01:02 Pineapple daemon.info dnsmasq[1491]: using local addresses only for domain lan
00:01:02 Pineapple daemon.info dnsmasq[1491]: started, version 2.62 cachesize 150
00:01:02 Pineapple daemon.info dnsmasq[1491]: reading /tmp/resolv.conf.auto
00:01:02 Pineapple daemon.info dnsmasq[1491]: read /etc/hosts - 1 addresses
00:01:02 Pineapple daemon.info dnsmasq[1491]: compile time options: IPv6 GNU-getopt no-DBus no-i18n no-IDN DHCP no-DHCPv6 no-Lua TFTP no-conntrack
00:01:02 Pineapple daemon.info dnsmasq-dhcp[1491]: read /etc/ethers - 0 addresses
00:01:02 Pineapple daemon.info dnsmasq-dhcp[1491]: DHCP, IP range 172.16.42.100 -- 172.16.42.249, lease time 12h
00:00:58 Pineapple user.notice dnsmasq: DNS rebinding protection is active, will discard upstream RFC1918 responses!
00:00:58 Pineapple user.notice dnsmasq: Allowing 127.0.0.0/8 responses
00:00:55 Pineapple authpriv.info dropbear[1432]: Running in background
00:00:54 Pineapple user.info sysinit: PHY for wifi device radio1 not found
00:00:54 Pineapple cron.info crond[1415]: crond: crond (busybox 1.19.4) started, log level 5
00:00:53 Pineapple kern.info kernel: [ 53.700000] br-lan: port 2(wlan0) entered forwarding state
00:00:51 Pineapple kern.info kernel: [ 51.700000] br-lan: port 2(wlan0) entered forwarding state
00:00:51 Pineapple kern.info kernel: [ 51.690000] br-lan: port 2(wlan0) entered forwarding state
00:00:51 Pineapple kern.info kernel: [ 51.640000] device wlan0 entered promiscuous mode
00:00:51 Pineapple daemon.notice netifd: wan (874): Sending discover...
00:00:49 Pineapple user.info sysinit: PHY for wifi device radio1 not found
00:00:49 Pineapple user.info sysinit: PHY for wifi device radio1 not found
00:00:48 Pineapple user.notice ifup: Enabling Router Solicitations on loopback (lo)
00:00:48 Pineapple daemon.notice netifd: wan (874): Sending discover...
00:00:46 Pineapple user.notice ifup: Enabling Router Solicitations on lan (br-lan)
00:00:45 Pineapple daemon.notice netifd: wan (874): udhcpc (v1.19.4) started
00:00:45 Pineapple daemon.notice netifd: wan (874): Sending discover...
00:00:44 Pineapple kern.info kernel: [ 44.530000] device eth0 entered promiscuous mode
00:00:44 Pineapple daemon.notice netifd: Interface 'loopback' is now up
00:00:44 Pineapple daemon.notice netifd: Interface 'lan' is now up
00:00:42 Pineapple user.notice usb-modeswitch: 1-0:1.0: Manufacturer=Linux_3.3.8_ehci_hcd Product=Generic_Platform_EHCI_Controller Serial=ehci-platform
00:00:40 Pineapple kern.warn kernel: [ 0.680000] m25p80 spi0.0: found mx25l6405d, expected m25p80
00:00:40 Pineapple kern.notice kernel: [ 0.750000] 0x0000007f0000-0x000000800000 : "art"
00:00:40 Pineapple kern.notice kernel: [ 0.750000] 0x000000050000-0x0000007e0000 : "firmware"
00:00:40 Pineapple kern.notice kernel: [ 0.740000] 0x0000007e0000-0x0000007f0000 : "nvram"
00:00:40 Pineapple kern.notice kernel: [ 0.740000] 0x000000650000-0x0000007e0000 : "kernel"
00:00:40 Pineapple kern.notice kernel: [ 0.730000] 0x000000550000-0x000000650000 : "rootfs_data"
00:00:40 Pineapple kern.notice kernel: [ 0.720000] mtd: partition "rootfs" set to be root filesystem
00:00:40 Pineapple kern.notice kernel: [ 0.710000] 0x000000050000-0x000000650000 : "rootfs"
00:00:40 Pineapple kern.notice kernel: [ 0.710000] 0x000000040000-0x000000050000 : "u-boot-env"
00:00:40 Pineapple kern.notice kernel: [ 0.700000] 0x000000000000-0x000000040000 : "u-boot"
00:00:40 Pineapple kern.notice kernel: [ 0.690000] Creating 7 MTD partitions on "spi0.0":
00:00:40 Pineapple kern.notice kernel: [ 0.690000] 7 cmdlinepart partitions found on MTD device spi0.0
00:00:40 Pineapple kern.info kernel: [ 38.460000] usbcore: registered new interface driver rndis_host
00:00:40 Pineapple kern.info kernel: [ 38.230000] usbcore: registered new interface driver cdc_ether
00:00:40 Pineapple kern.info kernel: [ 38.180000] usbserial: USB Serial Driver core
00:00:40 Pineapple kern.info kernel: [ 38.180000] usbcore: registered new interface driver usbserial_generic
00:00:40 Pineapple kern.info kernel: [ 38.170000] usbcore: registered new interface driver usbserial
00:00:40 Pineapple kern.info kernel: [ 38.170000] USB Serial support registered for generic
00:00:40 Pineapple kern.info kernel: [ 37.940000] usbcore: registered new interface driver ath9k_htc
00:00:40 Pineapple kern.info kernel: [ 37.450000] xt_time: kernel timezone is -0000
00:00:40 Pineapple kern.info kernel: [ 36.770000] nf_conntrack version 0.5.0 (458 buckets, 1832 max)
00:00:40 Pineapple kern.info kernel: [ 36.630000] NET: Registered protocol family 24
00:00:40 Pineapple kern.info kernel: [ 36.400000] ip_tables: © 2000-2006 Netfilter Core Team
00:00:40 Pineapple kern.info kernel: [ 36.150000] tun: Universal TUN/TAP device driver, 1.6
00:00:40 Pineapple kern.info kernel: [ 36.150000] tun: © 1999-2004 Max Krasnyansky
00:00:40 Pineapple kern.info kernel: [ 36.010000] PPP generic driver version 2.4.2
00:00:40 Pineapple kern.info kernel: [ 35.650000] RPC: Registered tcp transport module.
00:00:40 Pineapple kern.info kernel: [ 35.650000] RPC: Registered tcp NFSv4.1 backchannel transport module.
00:00:40 Pineapple kern.info kernel: [ 2.930000] TCP cubic registered
00:00:40 Pineapple kern.info kernel: [ 2.930000] NET: Registered protocol family 17
00:00:40 Pineapple kern.info kernel: [ 2.920000] ag71xx ag71xx.0: eth1: connected to PHY at ag71xx-mdio.1:04 [uid=004dd041, driver=Generic PHY]
00:00:40 Pineapple kern.info kernel: [ 2.370000] eth1: Atheros AG71xx at 0xb9000000, irq 4
00:00:40 Pineapple kern.info kernel: [ 1.330000] eth0: Found an AR7240/AR9330 built-in switch
00:00:40 Pineapple kern.info kernel: [ 0.780000] eth0: Atheros AG71xx at 0xba000000, irq 5
00:00:40 Pineapple kern.info kernel: [ 0.780000] ag71xx_mdio: probed
00:00:40 Pineapple kern.info kernel: [ 0.720000] mtd: partition "rootfs_data" created automatically, ofs=550000, len=100000
00:00:40 Pineapple kern.info kernel: [ 0.680000] m25p80 spi0.0: mx25l6405d (8192 Kbytes)
00:00:40 Pineapple kern.info kernel: [ 0.660000] console [ttyATH0] enabled, bootconsole disabled
00:00:40 Pineapple kern.info kernel: [ 0.660000] ar933x-uart: ttyATH0 at MMIO 0x18020000 (irq = 11) is a AR933X UART
00:00:40 Pineapple kern.info kernel: [ 0.650000] io scheduler deadline registered (default)
00:00:40 Pineapple kern.info kernel: [ 0.650000] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
00:00:40 Pineapple kern.info kernel: [ 0.640000] msgmni has been set to 56
00:00:40 Pineapple kern.info kernel: [ 0.640000] io scheduler noop registered
00:00:40 Pineapple kern.info kernel: [ 0.630000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
00:00:40 Pineapple kern.info kernel: [ 0.630000] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) © 2001-2006 Red Hat, Inc.
00:00:40 Pineapple kern.info kernel: [ 0.600000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
00:00:40 Pineapple kern.info kernel: [ 0.600000] NET: Registered protocol family 1
00:00:40 Pineapple kern.info kernel: [ 0.590000] UDP hash table entries: 256 (order: 0, 4096 bytes)
00:00:40 Pineapple kern.info kernel: [ 0.590000] TCP reno registered
00:00:40 Pineapple kern.info kernel: [ 0.580000] TCP: Hash tables configured (established 1024 bind 1024)
00:00:40 Pineapple kern.info kernel: [ 0.570000] TCP established hash table entries: 1024 (order: 1, 8192 bytes)
00:00:40 Pineapple kern.info kernel: [ 0.570000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
00:00:40 Pineapple kern.info kernel: [ 0.570000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
00:00:40 Pineapple kern.info kernel: [ 0.560000] Switching to clocksource MIPS
00:00:40 Pineapple kern.info kernel: [ 0.560000] NET: Registered protocol family 2
00:00:40 Pineapple kern.info kernel: [ 0.550000] bio: create slab at 0
00:00:40 Pineapple kern.info kernel: [ 0.100000] MIPS: machine is ALFA NETWORKS Hornet-UB
00:00:40 Pineapple kern.info kernel: [ 0.090000] gpiochip_add: registered GPIOs 0 to 29 on device: ath79
00:00:40 Pineapple kern.info kernel: [ 0.090000] NET: Registered protocol family 16
00:00:40 Pineapple kern.info kernel: [ 0.080000] pid_max: default: 32768 minimum: 301
00:00:40 Pineapple kern.info kernel: [ 0.080000] Mount-cache hash table entries: 512
00:00:40 Pineapple kern.info kernel: [ 0.000000] SLUB: Genslabs=9, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
00:00:40 Pineapple kern.info kernel: [ 0.000000] Readback ErrCtl register=00000000
00:00:40 Pineapple kern.info kernel: [ 0.000000] NR_IRQS:51
00:00:40 Pineapple kern.info kernel: [ 0.000000] Memory: 29132k/32768k available (2102k kernel code, 3636k reserved, 404k data, 208k init, 0k highmem)
00:00:40 Pineapple kern.info kernel: [ 0.000000] Calibrating delay loop... 265.42 BogoMIPS (lpj=1327104)
00:00:40 Pineapple kern.err kernel: [ 38.350000] Error: Driver 'gpio-keys-polled' is already registered, aborting...
00:00:40 Pineapple kern.debug kernel: [ 0.610000] PCI: CLS 0 bytes, default 32

also dmesg


[ 0.000000] Linux version 3.3.8 (pineapple@nimbus) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #10 Mon May 13 00:01:44 BST 2013
[ 0.000000] MyLoader: sysp=00050082, boardp=03406001, parts=00020140
[ 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 <bio-0> 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) © 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=550000, len=100000
[ 0.730000] 0x000000550000-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.360000] Registered led device: alfa:blue:lan
[ 6.360000] Registered led device: alfa:blue:usb
[ 6.360000] Registered led device: alfa:blue:wan
[ 6.360000] Registered led device: alfa:blue:wlan
[ 6.360000] Registered led device: alfa:blue:wps
[ 9.690000] JFFS2 notice: (451) jffs2_build_xattr_subsystem: complete building xattr subsystem, 1 of xdatum (1 unchecked, 0 orphan) and 14 of xref (0 dead, 5 orphan) found.
[ 10.630000] SCSI subsystem initialized
[ 10.940000] usbcore: registered new interface driver usbfs
[ 10.950000] usbcore: registered new interface driver hub
[ 10.950000] usbcore: registered new device driver usb
[ 11.550000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 11.550000] ehci-platform ehci-platform: Generic Platform EHCI Controller
[ 11.560000] ehci-platform ehci-platform: new USB bus registered, assigned bus number 1
[ 11.600000] ehci-platform ehci-platform: irq 3, io mem 0x1b000000
[ 11.620000] ehci-platform ehci-platform: USB 2.0 started, EHCI 1.00
[ 11.620000] hub 1-0:1.0: USB hub found
[ 11.620000] hub 1-0:1.0: 1 port detected
[ 11.750000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 11.870000] uhci_hcd: USB Universal Host Controller Interface driver
[ 11.990000] Initializing USB Mass Storage driver...
[ 11.990000] usbcore: registered new interface driver usb-storage
[ 12.000000] USB Mass Storage support registered.
[ 33.360000] Compat-drivers backport release: compat-drivers-2013-01-21-1
[ 33.360000] Backport based on wireless-testing.git master-2013-02-22
[ 33.370000] compat.git: wireless-testing.git
[ 33.480000] cfg80211: Calling CRDA to update world regulatory domain
[ 33.480000] cfg80211: World regulatory domain updated:
[ 33.490000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[ 33.500000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 33.500000] cfg80211: (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[ 33.510000] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[ 33.520000] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 33.530000] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 34.960000] usbcore: registered new interface driver rt73usb
[ 35.100000] usbcore: registered new interface driver rtl8187
[ 35.220000] ath: EEPROM regdomain: 0x833a
[ 35.220000] ath: EEPROM indicates we should expect a country code
[ 35.220000] ath: doing EEPROM country->regdmn map search
[ 35.220000] ath: country maps to regdmn code: 0x37
[ 35.220000] ath: Country alpha2 being used: GB
[ 35.220000] ath: Regpair used: 0x37
[ 35.220000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[ 35.230000] Registered led device: ath9k-phy0
[ 35.230000] ieee80211 phy0: Atheros AR9330 Rev:1 mem=0xb8100000, irq=2
[ 35.240000] cfg80211: Calling CRDA for country: GB
[ 35.240000] cfg80211: Regulatory domain changed to country: GB
[ 35.250000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[ 35.260000] cfg80211: (2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm)
[ 35.260000] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (N/A, 2000 mBm)
[ 35.270000] cfg80211: (5250000 KHz - 5330000 KHz @ 40000 KHz), (N/A, 2000 mBm)
[ 35.280000] cfg80211: (5490000 KHz - 5710000 KHz @ 40000 KHz), (N/A, 2700 mBm)
[ 35.300000] usbcore: registered new interface driver rt2800usb
[ 35.420000] Button Hotplug driver version 0.4.1
[ 35.640000] RPC: Registered named UNIX socket transport module.
[ 35.640000] RPC: Registered udp transport module.
[ 35.650000] RPC: Registered tcp transport module.
[ 35.650000] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 36.010000] PPP generic driver version 2.4.2
[ 36.150000] tun: Universal TUN/TAP device driver, 1.6
[ 36.150000] tun: © 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[ 36.400000] ip_tables: © 2000-2006 Netfilter Core Team
[ 36.630000] NET: Registered protocol family 24
[ 36.770000] nf_conntrack version 0.5.0 (458 buckets, 1832 max)
[ 37.450000] xt_time: kernel timezone is -0000
[ 37.940000] usbcore: registered new interface driver ath9k_htc
[ 38.170000] usbcore: registered new interface driver usbserial
[ 38.170000] USB Serial support registered for generic
[ 38.180000] usbcore: registered new interface driver usbserial_generic
[ 38.180000] usbserial: USB Serial Driver core
[ 38.230000] usbcore: registered new interface driver cdc_ether
[ 38.350000] Error: Driver 'gpio-keys-polled' is already registered, aborting...
[ 38.460000] usbcore: registered new interface driver rndis_host
[ 44.530000] device eth0 entered promiscuous mode
[ 51.640000] device wlan0 entered promiscuous mode
[ 51.690000] br-lan: port 2(wlan0) entered forwarding state
[ 51.700000] br-lan: port 2(wlan0) entered forwarding state
[ 53.700000] br-lan: port 2(wlan0) entered forwarding state
[ 62.410000] device wlan0 left promiscuous mode
[ 62.410000] br-lan: port 2(wlan0) entered disabled state
[ 63.690000] device wlan0 entered promiscuous mode
[ 63.820000] br-lan: port 2(wlan0) entered forwarding state
[ 63.830000] br-lan: port 2(wlan0) entered forwarding state
[ 65.830000] br-lan: port 2(wlan0) entered forwarding state
[ 550.120000] usb 1-1: new high-speed USB device number 2 using ehci-platform
[ 550.280000] scsi0 : usb-storage 1-1:1.0
[ 550.370000] usb 1-1: USB disconnect, device number 2
[ 551.150000] usb 1-1: new high-speed USB device number 3 using ehci-platform
[ 551.320000] scsi1 : usb-storage 1-1:1.0
[ 552.320000] scsi 1:0:0:0: Direct-Access HTC Android Phone 0000 PQ: 0 ANSI: 2
[ 552.330000] sd 1:0:0:0: Attached scsi generic sg0 type 0
[ 552.340000] sd 1:0:0:0: [sda] Attached SCSI removable disk
[ 612.600000] usb 1-1: USB disconnect, device number 3
[ 613.110000] usb 1-1: new high-speed USB device number 4 using ehci-platform
[ 613.290000] rndis_host 1-1:1.0: usb0: register 'rndis_host' at usb-ehci-platform-1, RNDIS device, MAC:OF:MY:PHONE

ifconfig on pineapple

br-lan Link encap:Ethernet HWaddr MAC:OF:BR:LAN
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:2684 errors:0 dropped:1417 overruns:0 frame:0
TX packets:1189 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:387689 (378.6 KiB) TX bytes:252983 (247.0 KiB)

eth0 Link encap:Ethernet HWaddr MAC:OF:ETH0
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

eth1 Link encap:Ethernet HWaddr MAC:OF:ETH1
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:553 errors:0 dropped:0 overruns:0 frame:0
TX packets:553 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:40659 (39.7 KiB) TX bytes:40659 (39.7 KiB)

usb0 Link encap:Ethernet HWaddr MAC:OF:USB0
inet addr:192.168.42.39 Bcast:192.168.42.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:59 errors:0 dropped:6 overruns:0 frame:0
TX packets:426 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2506 (2.4 KiB) TX bytes:52668 (51.4 KiB)

wlan0 Link encap:Ethernet HWaddr MAC:OF:WLAN0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2683 errors:0 dropped:0 overruns:0 frame:0
TX packets:3017 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:425245 (415.2 KiB) TX bytes:630852 (616.0 KiB)

any ideas ??

EDIT: oh and btw, when I tether my phone to the PC it works fine, so it's not an issue with the phone

Edited by SmokeTooMuch
Link to comment
Share on other sites

Well here's my working setup:

Wifi pineapple mark IV with 2.8.1 firmware

HTC One X+ with AOKP

Laptop connected via wifi to the Pineapple

The Android usb tethering works without any problems. Just connected the android directly with the usb cable to the pineapple.

After some seconds the usb0 is up and i am online. Of course, to get the clients online you need to fire up the iptables.

Looks like it is no 2.8.1 firmware issue.

Greez

BeNe

Link to comment
Share on other sites

Well here's my working setup:

Wifi pineapple mark IV with 2.8.1 firmware

HTC One X+ with AOKP

Laptop connected via wifi to the Pineapple

The Android usb tethering works without any problems. Just connected the android directly with the usb cable to the pineapple.

After some seconds the usb0 is up and i am online. Of course, to get the clients online you need to fire up the iptables.

Looks like it is no 2.8.1 firmware issue.

Greez

BeNe

please share on the iptables part...

Link to comment
Share on other sites

SmokeTooMuch did already post the iptables in part 6 in his post.

Here again (only copied)

iptables -t nat -A POSTROUTING -s 172.16.42.0/24 -o usb0 -j MASQUERADE
iptables -A FORWARD -s 172.16.42.0/24 -o usb0 -j ACCEPT
iptables -A FORWARD -d 172.16.42.0/24 -m state --state ESTABLISHED,RELATED -i usb0 -j ACCEPT
Link to comment
Share on other sites

Well here's my working setup:

Wifi pineapple mark IV with 2.8.1 firmware

HTC One X+ with AOKP

Laptop connected via wifi to the Pineapple

The Android usb tethering works without any problems. Just connected the android directly with the usb cable to the pineapple.

After some seconds the usb0 is up and i am online. Of course, to get the clients online you need to fire up the iptables.

Looks like it is no 2.8.1 firmware issue.

Greez

BeNe

that's exactly my setup (except for the X+) but it doesn't work for me.

could you please post the results of the "route" command?

EDIT: I'm going to reflash / factory reset and try that again.

EDIT2: Now it's working. I have no idea what caused this issue, but making a factory reset and reflashing the firmware solved it.

EDIT3: Hm, it seems like it doesn't work when I'm using a hub to connect my phone (even if no other USB devices are connected). However it works if I connect my phone directly. I'm going to investigate this issue and post again.

EDIT4: I tried several different USB hubs (powered and unpowered) but none of them allowed me to get my internet connection to work. It seems like USB hubs do not support USB tethering, can anybody confirm that?

EDIT5: So, i did some testing and it seems that OpenWRT is very selective when it comes to USB tethering through an USB hub.

I tried four different hubs, when possible I checked powered (active) and unpowered (passive) mode of the hubs, and the only one that worked is this:

https://www.amazon.de/gp/product/B007P1FOJY/

the others, which didn't work with USB tethering:

https://hakshop.myshopify.com/collections/accessory/products/usb-powered-hub (which was really disappointing, because I bought it specifically for that use case)

https://www.amazon.de/gp/product/B000225COU/

https://www.amazon.de/gp/product/B000698BQ0/

Edited by SmokeTooMuch
Link to comment
Share on other sites

  • 2 months later...
  • 2 weeks later...

this varries widely depending on the device, the type of connection, (usb, bluetooth, wifi) the rom, the service provider, etc etc. its not the same on all device.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...