Jump to content

Questions about USB Tethering


wesleymok9
 Share

Recommended Posts

So I got my nano all set up, then realized I couldn't get ICS to work on my mac...So I bought a android tablet to attempt USB tethering with the wifi pineapple connector app. I reset my pineapple, set my tablet to tether, connected the USB cable and the app hangs on "Waiting for connection". I'm assuming the problem is I already downloaded the latest firmware before I attempted this process, but I'm open to suggestions.

At this point I can reconfigure over wifi but I'm still stuck with the USB tethering. After configuration I check to see if I can connect with eth0 and the option isn't in the dropdown, only wlan1.

I'd like to be able to both use the Android app, and share the wifi connection from the tablet to the pineapple.

Link to comment
Share on other sites

You won't need to flash the device.

Try this:

1. Power on the NANO

2. Connect a USB cable between the host USB port on the NANO to the Android

3. Enable USB Tethering on the Android

4. Connect a computer to the NANO WiFi network

5. From the computer, SSH into the NANO as root@172.16.42.1

6. From the SSH prompt (root@pineapple) issue the ifconfig command

7. Note the IP Address of interface usb0

8. On the Android, open Chrome and browse to http://<IP Address from step above>:1471

Let us know the results. Happy new year!

Link to comment
Share on other sites

No luck on usb0...

root@Pineapple:~# ifconfig

br-lan Link encap:Ethernet HWaddr xxxxxxxxx

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:3336 errors:0 dropped:121 overruns:0 frame:0

TX packets:2975 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:0

RX bytes:639197 (624.2 KiB) TX bytes:1087931 (1.0 MiB)

eth0 Link encap:Ethernet HWaddr xxxxxxxxx

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:65536 Metric:1

RX packets:262 errors:0 dropped:0 overruns:0 frame:0

TX packets:262 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:0

RX bytes:23481 (22.9 KiB) TX bytes:23481 (22.9 KiB)

wlan0 Link encap:Ethernet HWaddr xxxxxxxxxxx

UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

RX packets:0 errors:0 dropped:0 overruns:0 frame:0

TX packets:597 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:1000

RX bytes:0 (0.0 B) TX bytes:97278 (94.9 KiB)

wlan0-1 Link encap:Ethernet HWaddr xxxxxxxxxxx

UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

RX packets:3341 errors:0 dropped:0 overruns:0 frame:0

TX packets:3173 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:1000

RX bytes:686287 (670.2 KiB) TX bytes:1197408 (1.1 MiB)

wlan1 Link encap:Ethernet HWaddr xxxxxxxxxxxxx

inet addr:192.168.211.250 Bcast:192.168.211.255 Mask:255.255.255.0

UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

RX packets:4229 errors:0 dropped:980 overruns:0 frame:0

TX packets:2909 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:1000

RX bytes:1349722 (1.2 MiB) TX bytes:600761 (586.6 KiB)

Link to comment
Share on other sites

wp6.sh doesn't work directly from a Terminal Emulator on my phone (Android 5.0.1/ Sprint) and I couldn't use iptables because ifconfig doesn't show any interfaces.

I did find a solution that can tether Wi-Fi OR Data without any plan, it does require 3rd party software though. I'm working on a tutorial right now that I will release soon for anybody who is interested.

Thanks anyway though Darren!

Link to comment
Share on other sites

BTW: Happy New Year! Thanks again for such quick response during the holiday. You guys are awesome. Here is what is says when I run dmesg with tethering on

root@Pineapple:~# dmesg

[ 0.000000] Linux version 3.18.19 (sebkinne@buildtop) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 r46581) ) #86 Tue Dec 22 01:14:58 CET 2015

[ 0.000000] MyLoader: sysp=8a14b024, boardp=44b65156, parts=b69f8d32

[ 0.000000] bootconsole [early0] enabled

[ 0.000000] CPU0 revision is: 00019374 (MIPS 24Kc)

[ 0.000000] SoC: Atheros AR9330 rev 1

[ 0.000000] Determined physical RAM map:

[ 0.000000] memory: 04000000 @ 00000000 (usable)

[ 0.000000] Initrd not found or empty - disabling initrd

[ 0.000000] Zone ranges:

[ 0.000000] Normal [mem 0x00000000-0x03ffffff]

[ 0.000000] Movable zone start for each node

[ 0.000000] Early memory node ranges

[ 0.000000] node 0: [mem 0x00000000-0x03ffffff]

[ 0.000000] Initmem setup node 0 [mem 0x00000000-0x03ffffff]

[ 0.000000] On node 0 totalpages: 16384

[ 0.000000] free_area_init_node: node 0, pgdat 80353cf0, node_mem_map 81000000

[ 0.000000] Normal zone: 128 pages used for memmap

[ 0.000000] Normal zone: 0 pages reserved

[ 0.000000] Normal zone: 16384 pages, LIFO batch:3

[ 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] 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: 16256

[ 0.000000] Kernel command line: board=PINEAPPLE-NANO console=ttyATH0,115200 rootfstype=squashfs,jffs2 noinitrd

[ 0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)

[ 0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)

[ 0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)

[ 0.000000] Writing ErrCtl register=00000000

[ 0.000000] Readback ErrCtl register=00000000

[ 0.000000] Memory: 60944K/65536K available (2462K kernel code, 123K rwdata, 528K rodata, 268K init, 188K bss, 4592K reserved)

[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1

[ 0.000000] NR_IRQS:51

[ 0.000000] Clocks: CPU:400.000MHz, DDR:400.000MHz, AHB:200.000MHz, Ref:25.000MHz

[ 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: 1024 (order: 0, 4096 bytes)

[ 0.090000] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)

[ 0.100000] NET: Registered protocol family 16

[ 0.100000] MIPS: machine is WiFi Pineapple NANO

[ 0.370000] Switched to clocksource MIPS

[ 0.370000] NET: Registered protocol family 2

[ 0.380000] TCP established hash table entries: 1024 (order: 0, 4096 bytes)

[ 0.380000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)

[ 0.390000] TCP: Hash tables configured (established 1024 bind 1024)

[ 0.390000] TCP: reno registered

[ 0.400000] UDP hash table entries: 256 (order: 0, 4096 bytes)

[ 0.400000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)

[ 0.410000] NET: Registered protocol family 1

[ 0.410000] PCI: CLS 0 bytes, default 32

[ 0.410000] futex hash table entries: 256 (order: -1, 3072 bytes)

[ 0.430000] squashfs: version 4.0 (2009/01/31) Phillip Lougher

[ 0.430000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) © 2001-2006 Red Hat, Inc.

[ 0.440000] msgmni has been set to 119

[ 0.450000] io scheduler noop registered

[ 0.450000] io scheduler deadline registered (default)

[ 0.460000] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled

[ 0.460000] ar933x-uart: ttyATH0 at MMIO 0x18020000 (irq = 11, base_baud = 1562500) is a AR933X UART

[ 0.470000] console [ttyATH0] enabled

[ 0.480000] bootconsole [early0] disabled

[ 0.490000] m25p80 spi0.0: found mx25l12805d, expected m25p80

[ 0.490000] m25p80 spi0.0: mx25l12805d (16384 Kbytes)

[ 0.510000] 5 tp-link partitions found on MTD device spi0.0

[ 0.510000] Creating 5 MTD partitions on "spi0.0":

[ 0.510000] 0x000000000000-0x000000020000 : "u-boot"

[ 0.520000] 0x000000020000-0x000000134358 : "kernel"

[ 0.530000] 0x000000134358-0x000000ff0000 : "rootfs"

[ 0.530000] mtd: device 2 (rootfs) set to be root filesystem

[ 0.540000] 1 squashfs-split partitions found on MTD device rootfs

[ 0.540000] 0x000000d80000-0x000000ff0000 : "rootfs_data"

[ 0.550000] 0x000000ff0000-0x000001000000 : "art"

[ 0.550000] 0x000000020000-0x000000ff0000 : "firmware"

[ 0.580000] libphy: ag71xx_mdio: probed

[ 1.170000] ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.1:04 [uid=004dd041, driver=Generic PHY]

[ 1.180000] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode:MII

[ 1.180000] TCP: cubic registered

[ 1.180000] NET: Registered protocol family 17

[ 1.190000] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.

[ 1.200000] 8021q: 802.1Q VLAN Support v1.8

[ 1.210000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.

[ 1.220000] Freeing unused kernel memory: 268K (8036d000 - 803b0000)

[ 2.530000] init: Console is alive

[ 2.530000] init: - watchdog -

[ 5.030000] usbcore: registered new interface driver usbfs

[ 5.030000] usbcore: registered new interface driver hub

[ 5.040000] usbcore: registered new device driver usb

[ 5.100000] SCSI subsystem initialized

[ 5.110000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver

[ 5.110000] ehci-platform: EHCI generic platform driver

[ 5.120000] ehci-platform ehci-platform: EHCI Host Controller

[ 5.120000] ehci-platform ehci-platform: new USB bus registered, assigned bus number 1

[ 5.130000] ehci-platform ehci-platform: irq 3, io mem 0x1b000000

[ 5.160000] ehci-platform ehci-platform: USB 2.0 started, EHCI 1.00

[ 5.160000] hub 1-0:1.0: USB hub found

[ 5.160000] hub 1-0:1.0: 1 port detected

[ 5.170000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver

[ 5.180000] ohci-platform: OHCI generic platform driver

[ 5.180000] uhci_hcd: USB Universal Host Controller Interface driver

[ 5.200000] usbcore: registered new interface driver usb-storage

[ 5.490000] usb 1-1: new high-speed USB device number 2 using ehci-platform

[ 5.630000] init: - preinit -

[ 5.640000] hub 1-1:1.0: USB hub found

[ 5.640000] hub 1-1:1.0: 4 ports detected

[ 6.300000] usb 1-1.1: new high-speed USB device number 3 using ehci-platform

[ 6.450000] random: procd urandom read with 11 bits of entropy available

[ 6.670000] usb 1-1.2: new high-speed USB device number 4 using ehci-platform

[ 6.690000] mount_root: loading kmods from internal overlay

[ 6.890000] usb-storage 1-1.2:1.0: USB Mass Storage device detected

[ 6.910000] scsi host0: usb-storage 1-1.2:1.0

[ 7.010000] jffs2: notice: (328) jffs2_build_xattr_subsystem: complete building xattr subsystem, 6 of xdatum (0 unchecked, 6 orphan) and 6 of xref (0 dead, 6 orphan) found.

[ 7.030000] block: attempting to load /tmp/jffs_cfg/upper/etc/config/fstab

[ 7.040000] block: extroot: not configured

[ 7.100000] jffs2: notice: (325) jffs2_build_xattr_subsystem: complete building xattr subsystem, 6 of xdatum (0 unchecked, 6 orphan) and 6 of xref (0 dead, 6 orphan) found.

[ 7.230000] block: attempting to load /tmp/jffs_cfg/upper/etc/config/fstab

[ 7.240000] block: extroot: not configured

[ 7.250000] mount_root: switching to jffs2 overlay

[ 7.330000] procd: - early -

[ 7.330000] procd: - watchdog -

[ 7.990000] scsi 0:0:0:0: Direct-Access Generic STORAGE DEVICE 0933 PQ: 0 ANSI: 6

[ 8.010000] sd 0:0:0:0: [sda] Attached SCSI removable disk

[ 8.520000] procd: - ubus -

[ 9.540000] procd: - init -

[ 11.460000] RPC: Registered named UNIX socket transport module.

[ 11.470000] RPC: Registered udp transport module.

[ 11.470000] RPC: Registered tcp transport module.

[ 11.480000] RPC: Registered tcp NFSv4.1 backchannel transport module.

[ 11.500000] tun: Universal TUN/TAP device driver, 1.6

[ 11.510000] tun: © 1999-2004 Max Krasnyansky <maxk@qualcomm.com>

[ 11.540000] sd 0:0:0:0: Attached scsi generic sg0 type 0

[ 11.550000] usbcore: registered new interface driver cdc_acm

[ 11.560000] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters

[ 11.570000] usbcore: registered new interface driver cdc_wdm

[ 11.570000] Loading modules backported from Linux version master-2015-03-09-0-g141f155

[ 11.580000] Backport generated by backports.git backports-20150129-0-gdd4a670

[ 11.600000] nf_conntrack version 0.5.0 (956 buckets, 3824 max)

[ 11.630000] usbcore: registered new interface driver ums-alauda

[ 11.640000] usbcore: registered new interface driver ums-cypress

[ 11.650000] usbcore: registered new interface driver ums-datafab

[ 11.660000] usbcore: registered new interface driver ums-freecom

[ 11.660000] usbcore: registered new interface driver ums-isd200

[ 11.670000] usbcore: registered new interface driver ums-jumpshot

[ 11.680000] usbcore: registered new interface driver ums-karma

[ 11.690000] usbcore: registered new interface driver ums-sddr09

[ 11.690000] usbcore: registered new interface driver ums-sddr55

[ 11.700000] usbcore: registered new interface driver ums-usbat

[ 11.720000] usbcore: registered new interface driver usbserial

[ 11.720000] usbcore: registered new interface driver usbserial_generic

[ 11.730000] usbserial: USB Serial support registered for generic

[ 11.780000] xt_time: kernel timezone is -0000

[ 11.790000] usbcore: registered new interface driver asix

[ 11.800000] usbcore: registered new interface driver cdc_ether

[ 11.840000] cfg80211: Calling CRDA to update world regulatory domain

[ 11.840000] cfg80211: World regulatory domain updated:

[ 11.850000] cfg80211: DFS Master region: unset

[ 11.850000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)

[ 11.860000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)

[ 11.870000] cfg80211: (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)

[ 11.880000] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)

[ 11.890000] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)

[ 11.900000] cfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)

[ 11.900000] cfg80211: (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)

[ 11.910000] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)

[ 11.920000] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)

[ 11.940000] ip_tables: © 2000-2006 Netfilter Core Team

[ 12.040000] usbcore: registered new interface driver pl2303

[ 12.050000] usbserial: USB Serial support registered for pl2303

[ 12.060000] PPP generic driver version 2.4.2

[ 12.060000] NET: Registered protocol family 24

[ 12.070000] usbcore: registered new interface driver qmi_wwan

[ 12.090000] usbcore: registered new interface driver rndis_host

[ 12.110000] usbcore: registered new interface driver sierra_net

[ 12.160000] usbcore: registered new interface driver option

[ 12.170000] usbserial: USB Serial support registered for GSM modem (1-port)

[ 12.200000] usbcore: registered new interface driver rt2800usb

[ 12.220000] usb 1-1.1: ath9k_htc: Firmware htc_9271.fw requested

[ 12.230000] usbcore: registered new interface driver ath9k_htc

[ 12.330000] ath: EEPROM regdomain: 0x0

[ 12.330000] ath: EEPROM indicates default country code should be used

[ 12.330000] ath: doing EEPROM country->regdmn map search

[ 12.330000] ath: country maps to regdmn code: 0x3a

[ 12.330000] ath: Country alpha2 being used: US

[ 12.330000] ath: Regpair used: 0x3a

[ 12.350000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'

[ 12.350000] ieee80211 phy0: Atheros AR9330 Rev:1 mem=0xb8100000, irq=2

[ 12.510000] cfg80211: Calling CRDA for country: US

[ 12.510000] cfg80211: Regulatory domain changed to country: US

[ 12.520000] cfg80211: DFS Master region: FCC

[ 12.520000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)

[ 12.530000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 3000 mBm), (N/A)

[ 12.540000] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 1700 mBm), (N/A)

[ 12.550000] cfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2300 mBm), (0 s)

[ 12.560000] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 3000 mBm), (N/A)

[ 12.570000] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 4000 mBm), (N/A)

[ 12.840000] usb 1-1.1: ath9k_htc: Transferred FW: htc_9271.fw, size: 50980

[ 13.080000] ath9k_htc 1-1.1:1.0: ath9k_htc: HTC initialized with 33 credits

[ 15.850000] ath9k_htc 1-1.1:1.0: ath9k_htc: FW Version: 1.3

[ 15.860000] ath9k_htc 1-1.1:1.0: FW RMW support: Off

[ 15.860000] ath: EEPROM regdomain: 0x0

[ 15.860000] ath: EEPROM indicates default country code should be used

[ 15.860000] ath: doing EEPROM country->regdmn map search

[ 15.860000] ath: country maps to regdmn code: 0x3a

[ 15.860000] ath: Country alpha2 being used: US

[ 15.860000] ath: Regpair used: 0x3a

[ 15.870000] ieee80211 phy1: Atheros AR9271 Rev:1

[ 17.780000] usb 1-1.3: new high-speed USB device number 5 using ehci-platform

[ 22.860000] device eth0 entered promiscuous mode

[ 28.870000] device wlan0 entered promiscuous mode

[ 28.880000] br-lan: port 2(wlan0) entered forwarding state

[ 28.880000] br-lan: port 2(wlan0) entered forwarding state

[ 29.060000] device wlan0-1 entered promiscuous mode

[ 29.090000] br-lan: port 3(wlan0-1) entered forwarding state

[ 29.090000] br-lan: port 3(wlan0-1) entered forwarding state

[ 30.090000] br-lan: port 3(wlan0-1) entered disabled state

[ 30.880000] br-lan: port 2(wlan0) entered forwarding state

[ 31.880000] br-lan: port 3(wlan0-1) entered forwarding state

[ 31.880000] br-lan: port 3(wlan0-1) entered forwarding state

[ 33.880000] br-lan: port 3(wlan0-1) entered forwarding state

[ 34.050000] wlan1: authenticate with 00:1c:b3:ae:dd:49

[ 34.240000] random: nonblocking pool is initialized

[ 34.900000] wlan1: send auth to 00:1c:b3:ae:dd:49 (try 1/3)

[ 34.910000] wlan1: authenticated

[ 34.920000] wlan1: associate with 00:1c:b3:ae:dd:49 (try 1/3)

[ 34.930000] wlan1: RX AssocResp from 00:1c:b3:ae:dd:49 (capab=0x1431 status=0 aid=5)

[ 34.940000] wlan1: associated

[ 34.960000] wlan1: Limiting TX power to 30 (30 - 0) dBm as advertised by 00:1c:b3:ae:dd:49

[ 38.160000] usb 1-1.3: USB disconnect, device number 5

[ 38.920000] usb 1-1.3: new high-speed USB device number 6 using ehci-platform

[ 39.050000] rndis_host 1-1.3:1.0: RNDIS init failed, -32

[ 39.060000] rndis_host: probe of 1-1.3:1.0 failed with error -32

[ 543.900000] wlan1: Limiting TX power to 30 (30 - 0) dBm as advertised by 00:1c:b3:ae:dd:49

[ 604.420000] wlan1: Limiting TX power to 30 (30 - 0) dBm as advertised by 00:1c:b3:ae:dd:49

[ 1087.250000] usb 1-1.3: USB disconnect, device number 6

[ 1144.330000] usb 1-1.3: new high-speed USB device number 7 using ehci-platform

[ 1159.450000] usb 1-1.3: USB disconnect, device number 7

[ 1159.690000] usb 1-1.3: new high-speed USB device number 8 using ehci-platform

[ 1159.820000] rndis_host 1-1.3:1.0: RNDIS init failed, -32

[ 1159.820000] rndis_host: probe of 1-1.3:1.0 failed with error -32

[ 1713.420000] wlan1: Limiting TX power to 30 (30 - 0) dBm as advertised by 00:1c:b3:ae:dd:49

[ 1774.450000] wlan1: Limiting TX power to 30 (30 - 0) dBm as advertised by 00:1c:b3:ae:dd:49

[ 2060.460000] wlan1: Limiting TX power to 30 (30 - 0) dBm as advertised by 00:1c:b3:ae:dd:49

[ 2121.490000] wlan1: Limiting TX power to 30 (30 - 0) dBm as advertised by 00:1c:b3:ae:dd:49

[ 2196.960000] wlan1: Limiting TX power to 30 (30 - 0) dBm as advertised by 00:1c:b3:ae:dd:49

[ 2257.480000] wlan1: Limiting TX power to 30 (30 - 0) dBm as advertised by 00:1c:b3:ae:dd:49

[ 3965.120000] wlan1: Limiting TX power to 30 (30 - 0) dBm as advertised by 00:1c:b3:ae:dd:49

[ 4025.540000] wlan1: Limiting TX power to 30 (30 - 0) dBm as advertised by 00:1c:b3:ae:dd:49

[ 5182.360000] wlan1: Limiting TX power to 30 (30 - 0) dBm as advertised by 00:1c:b3:ae:dd:49

[ 5244.520000] wlan1: Limiting TX power to 30 (30 - 0) dBm as advertised by 00:1c:b3:ae:dd:49

[ 5584.180000] wlan1: Limiting TX power to 30 (30 - 0) dBm as advertised by 00:1c:b3:ae:dd:49

[ 5644.500000] wlan1: Limiting TX power to 30 (30 - 0) dBm as advertised by 00:1c:b3:ae:dd:49

[ 5856.360000] wlan1: Limiting TX power to 30 (30 - 0) dBm as advertised by 00:1c:b3:ae:dd:49

[ 5916.570000] wlan1: Limiting TX power to 30 (30 - 0) dBm as advertised by 00:1c:b3:ae:dd:49

[ 5993.580000] wlan1: Limiting TX power to 30 (30 - 0) dBm as advertised by 00:1c:b3:ae:dd:49

[ 6003.610000] wlan1: Limiting TX power to 30 (30 - 0) dBm as advertised by 00:1c:b3:ae:dd:49

[ 6053.590000] wlan1: Limiting TX power to 30 (30 - 0) dBm as advertised by 00:1c:b3:ae:dd:49

[ 6084.000000] wlan1: Limiting TX power to 30 (30 - 0) dBm as advertised by 00:1c:b3:ae:dd:49

[ 6144.520000] wlan1: Limiting TX power to 30 (30 - 0) dBm as advertised by 00:1c:b3:ae:dd:49

[ 6175.440000] wlan1: Limiting TX power to 30 (30 - 0) dBm as advertised by 00:1c:b3:ae:dd:49

[ 6235.550000] wlan1: Limiting TX power to 30 (30 - 0) dBm as advertised by 00:1c:b3:ae:dd:49

[ 6584.630000] wlan1: Limiting TX power to 30 (30 - 0) dBm as advertised by 00:1c:b3:ae:dd:49

[ 6645.560000] wlan1: Limiting TX power to 30 (30 - 0) dBm as advertised by 00:1c:b3:ae:dd:49

[ 6814.210000] wlan1: Limiting TX power to 30 (30 - 0) dBm as advertised by 00:1c:b3:ae:dd:49

[ 6843.600000] wlan1: Limiting TX power to 30 (30 - 0) dBm as advertised by 00:1c:b3:ae:dd:49

[ 6889.580000] wlan1: Limiting TX power to 30 (30 - 0) dBm as advertised by 00:1c:b3:ae:dd:49

[ 7114.850000] wlan1: Limiting TX power to 30 (30 - 0) dBm as advertised by 00:1c:b3:ae:dd:49

[ 7175.580000] wlan1: Limiting TX power to 30 (30 - 0) dBm as advertised by 00:1c:b3:ae:dd:49

[ 7377.810000] wlan1: Limiting TX power to 30 (30 - 0) dBm as advertised by 00:1c:b3:ae:dd:49

[ 7440.580000] wlan1: Limiting TX power to 30 (30 - 0) dBm as advertised by 00:1c:b3:ae:dd:49

[ 8176.400000] wlan1: Limiting TX power to 30 (30 - 0) dBm as advertised by 00:1c:b3:ae:dd:49

[ 8236.510000] wlan1: Limiting TX power to 30 (30 - 0) dBm as advertised by 00:1c:b3:ae:dd:49

[ 8325.700000] wlan1: Limiting TX power to 30 (30 - 0) dBm as advertised by 00:1c:b3:ae:dd:49

[ 8386.520000] wlan1: Limiting TX power to 30 (30 - 0) dBm as advertised by 00:1c:b3:ae:dd:49

[ 8500.490000] wlan1: Limiting TX power to 30 (30 - 0) dBm as advertised by 00:1c:b3:ae:dd:49

[ 8561.520000] wlan1: Limiting TX power to 30 (30 - 0) dBm as advertised by 00:1c:b3:ae:dd:49

[ 8722.600000] wlan1: Limiting TX power to 30 (30 - 0) dBm as advertised by 00:1c:b3:ae:dd:49

[ 8783.530000] wlan1: Limiting TX power to 30 (30 - 0) dBm as advertised by 00:1c:b3:ae:dd:49

[ 9807.150000] wlan1: Limiting TX power to 30 (30 - 0) dBm as advertised by 00:1c:b3:ae:dd:49

[ 9867.570000] wlan1: Limiting TX power to 30 (30 - 0) dBm as advertised by 00:1c:b3:ae:dd:49

[ 9886.310000] wlan1: Limiting TX power to 30 (30 - 0) dBm as advertised by 00:1c:b3:ae:dd:49

[ 9946.630000] wlan1: Limiting TX power to 30 (30 - 0) dBm as advertised by 00:1c:b3:ae:dd:49

[10807.130000] wlan1: Limiting TX power to 30 (30 - 0) dBm as advertised by 00:1c:b3:ae:dd:49

[10867.640000] wlan1: Limiting TX power to 30 (30 - 0) dBm as advertised by 00:1c:b3:ae:dd:49

[11800.820000] wlan1: Limiting TX power to 30 (30 - 0) dBm as advertised by 00:1c:b3:ae:dd:49

[11861.650000] wlan1: Limiting TX power to 30 (30 - 0) dBm as advertised by 00:1c:b3:ae:dd:49

root@Pineapple:~#

Link to comment
Share on other sites

I couldn't use iptables because ifconfig doesn't show any interfaces.

Yes I thought that was weird too and not sure what's up with that, but if you know the interface name it'll show:

ifconfig wlan0

Or adding busybox before it (if you have busybox):

busybox ifconfig
or
busybox ifconfig -a
for all interfaces

also: netcfg

and: ip addr list

So the interfaces are there, just the non busybox: ifconfig is a little funky for some reason on android.

This is what I get from it and without the -a while ssh'd into my android and wifi enabled and connected (it's how I ssh'd in):

root@hltetmo:/ # busybox ifconfig

lo Link encap:Local Loopback

inet addr:127.0.0.1 Mask:255.0.0.0

inet6 addr: ::1/128 Scope:Host

UP LOOPBACK RUNNING MTU:16436 Metric:1

RX packets:4 errors:0 dropped:0 overruns:0 frame:0

TX packets:4 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:0

RX bytes:200 (200.0 B) TX bytes:200 (200.0 B)

p2p0 Link encap:Ethernet HWaddr XX:XX:XX:XX:XX:XX

inet6 addr: fe80::f027:65ff:feef:489a/64 Scope:Link

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)

wlan0 Link encap:Ethernet HWaddr XX:XX:XX:XX:XX:XX

inet addr:10.0.0.3 Bcast:10.0.0.255 Mask:255.255.255.0

inet6 addr: fe80::f227:65ff:feef:489a/64 Scope:Link

UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

RX packets:8034182 errors:0 dropped:1042 overruns:0 frame:0

TX packets:363063 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:1000

RX bytes:765775177 (730.2 MiB) TX bytes:29734535 (28.3 MiB)

Link to comment
Share on other sites

Introduction:

This process requires an Android phone capable of running the EasyTether app which can be downloaded here: http://www.mobile-stream.com/a/easytether-device.apk and also possibly an SD card. The Lite version of the app prevents https & udp connection, so to use those you have to pay mobile stream $10 once, which I still think is better than paying your carrier that every month.

I do not endorse tethering data without your carrier's permission, proceed at your own risk.

I am currently working on a module that will automate this process, if you can't figure out this tutorial you can wait for that or contact me.

Setup on Android:

Download and install the EasyTether app and follow the in-app instructions for setting up USB Tethering.

Setup on the Pineapple:

You will need to install EasyTether for Openwrt located here: http://www.mobile-stream.com/easytether/drivers.html

I used the OpenWrt 15.05 --openssl which I show being downloaded below. NOTE: You may need an SD card for this as it is a larger file. The below commands assume you have an SD card set up correctly. If you do not with to install to your SD card ignore the --dest sd options below and know that it may not work.

root@Pineapple:/sd# wget http://www.mobile-stream.com/beta/openwrt/easytether-usb-openssl_0.8.5-1_openwrt-15.05-rc3.zip

Once you downloaded the package, install unzip so you can open the previously downloaded compressed package. (BTW if anybody knows the the two errors at the bottom are let me know, to my knowledge they do not effect the packages being installed. My assumption is that opkg is searching in /usr when it should be looking in /sd/usr).

root@Pineapple:/sd# opkg install unzip --dest sd
Installing unzip (6.0-3) to sd...
Downloading https://downloads.openwrt.org/chaos_calmer/15.05/ar71xx/generic/packages/packages/unzip_6.0-3_ar71xx.ipk.
Configuring unzip.
grep: /usr/lib/opkg/info/unzip.control: No such file or directory
cat: can't open '/usr/lib/opkg/info/unzip.list': No such file or directory

Then unzip the EasyTether application.

root@Pineapple:/sd# unzip easytether-usb-openssl_0.8.5-1_openwrt-15.05-rc3.zip

Then cd to the correct application distribution.

root@Pineapple:/sd# cd 15.05-rc3/ar71xx/generic/

Then install the application!

root@Pineapple:/sd/15.05-rc3/ar71xx/generic# opkg install easytether-usb-openssl_0.8.5-1_ar71xx.ipk --dest sd

After that you can run the application (you do not need to be in any specific directory anymore)

root@Pineapple:/sd/15.05-rc3/ar71xx/generic# easytether-usb

Now control-C because the Pineapple doesn't have Internet just yet, you need to configure it to allow Internet sharing from Android by running the below command (all the lines at once).

cat << EOF >> /etc/config/network

config interface 'wan'
option ifname 'tap-easytether'
option proto 'dhcp'
EOF

You should be all set and see "Connection Established" if you followed the Android instructions correctly and have Internet on your Pineapple!

If you need more help ask me or read MobileStream's tutorial.

Good luck guys!

Edited by IMcPwn
  • Like 1
  • Upvote 2
Link to comment
Share on other sites

Great stuff IMcPwn! I too was unable to tether, due to not having service (voice, data, nothing) on my android phone. Do you suspect this will allow tether from wifi via the android phone? I will give it a try next week when I'm back home, and report back if you're unsure. Thanks for the great tutorial!

telot

Link to comment
Share on other sites

I figured out ifconfig wlan0 which worked, I just couldn't figure out the name of the cellular interface which turns out was rmnet0.

Executing below

 ifconfig -a

returned

-a: No such device

The two below worked great!

busybox ifconfig 
busybox ifconfig -a

Thanks!

Edited by IMcPwn
Link to comment
Share on other sites

Just a question about how you are trying to hook up. Reading your first post word for word you are not following the order Darren has listed as the first 3 steps. All of my Android devices will not allow usb tethering to be turned on until a device is connected. Also if the device you are using is Marshmallow the new version of Chrome doesn't seem to play nice, I use Firefox.

Hope that helps.

Link to comment
Share on other sites

Sounds like your AT&T phone is doing something "special" with tethering. We're using the standard API AFAIK. Surely it's a matter of debugging.

Here's a workaround until we can diagnose the idiosyncrasies of these carrier specific tethering functions:

1. Connect the NANO to your Android device and enable USB Tethering as usual

2. From another device/computer, connect to the NANO via the WiFi Management interface.

3. SSH into the NANO and issue ifconfig

4. You should have a usb0 interface with an IP address in a 192.168.x.x range. That's your NANOs IP on your Android devices network.

5. On the Android device, open Chrome and browse to 192.168.x.x:1471 (as derived from step 4)

From my experience the DHCP leases on Android USB tethering is pretty long so it'll likely always be at that address.

This worked for me, too. However, even though I am tethered, and I am able to load the bulletin on the dashboard, connected clients do not have internet access.

I suspect part of the problem is that I am using mobile hotspot to get internet to my tablet possibly. Out in the wild, my nexus 7 is only wifi, so I use hotspot from my iphone to get internet to it. Then get access to the UI via your method, but clients have no internet access.

My tablet is running nethunter, I tried to do a configure via wp6.sh, but being tethering is enabled, I have no idea how I'd configure it Putting pineapple on wlan0 setting in wp6.sh hangs every time.. I don't even know if that will work. I assume if I can load the bulletin, clients should have internet. apparently not the case in this situation.

Link to comment
Share on other sites

This worked for me, too. However, even though I am tethered, and I am able to load the bulletin on the dashboard, connected clients do not have internet access.

I suspect part of the problem is that I am using mobile hotspot to get internet to my tablet possibly. Out in the wild, my nexus 7 is only wifi, so I use hotspot from my iphone to get internet to it. Then get access to the UI via your method, but clients have no internet access.

My tablet is running nethunter, I tried to do a configure via wp6.sh, but being tethering is enabled, I have no idea how I'd configure it Putting pineapple on wlan0 setting in wp6.sh hangs every time.. I don't even know if that will work. I assume if I can load the bulletin, clients should have internet. apparently not the case in this situation.

What's the output of the following commands on your NANO after you've gone through the steps above?

dmesg

ifconfig -a

route

Link to comment
Share on other sites

What's the output of the following commands on your NANO after you've gone through the steps above?

dmesg

ifconfig -a

route

After above steps if i ssh to nano and run commands i get

Dmesg

root@Pineapple:~# dmesg

[ 0.000000] Linux version 3.18.19 (sebkinne@buildtop) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 r46581) ) #86 Tue Dec 22 01:14:58 CET 2015

[ 0.000000] MyLoader: sysp=8a14b024, boardp=44b65156, parts=b69f8d32

[ 0.000000] bootconsole [early0] enabled

[ 0.000000] CPU0 revision is: 00019374 (MIPS 24Kc)

[ 0.000000] SoC: Atheros AR9330 rev 1

[ 0.000000] Determined physical RAM map:

[ 0.000000] memory: 04000000 @ 00000000 (usable)

[ 0.000000] Initrd not found or empty - disabling initrd

[ 0.000000] Zone ranges:

[ 0.000000] Normal [mem 0x00000000-0x03ffffff]

[ 0.000000] Movable zone start for each node

[ 0.000000] Early memory node ranges

[ 0.000000] node 0: [mem 0x00000000-0x03ffffff]

[ 0.000000] Initmem setup node 0 [mem 0x00000000-0x03ffffff]

[ 0.000000] On node 0 totalpages: 16384

[ 0.000000] free_area_init_node: node 0, pgdat 80353cf0, node_mem_map 81000000

[ 0.000000] Normal zone: 128 pages used for memmap

[ 0.000000] Normal zone: 0 pages reserved

[ 0.000000] Normal zone: 16384 pages, LIFO batch:3

[ 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] 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: 16256

[ 0.000000] Kernel command line: board=PINEAPPLE-NANO console=ttyATH0,115200 rootfstype=squashfs,jffs2 noinitrd

[ 0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)

[ 0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)

[ 0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)

[ 0.000000] Writing ErrCtl register=00000000

[ 0.000000] Readback ErrCtl register=00000000

[ 0.000000] Memory: 60944K/65536K available (2462K kernel code, 123K rwdata, 528K rodata, 268K init, 188K bss, 4592K reserved)

[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1

[ 0.000000] NR_IRQS:51

[ 0.000000] Clocks: CPU:400.000MHz, DDR:400.000MHz, AHB:200.000MHz, Ref:25.000MHz

[ 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: 1024 (order: 0, 4096 bytes)

[ 0.090000] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)

[ 0.100000] NET: Registered protocol family 16

[ 0.100000] MIPS: machine is WiFi Pineapple NANO

[ 0.370000] Switched to clocksource MIPS

[ 0.370000] NET: Registered protocol family 2

[ 0.380000] TCP established hash table entries: 1024 (order: 0, 4096 bytes)

[ 0.380000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)

[ 0.390000] TCP: Hash tables configured (established 1024 bind 1024)

[ 0.390000] TCP: reno registered

[ 0.400000] UDP hash table entries: 256 (order: 0, 4096 bytes)

[ 0.400000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)

[ 0.410000] NET: Registered protocol family 1

[ 0.410000] PCI: CLS 0 bytes, default 32

[ 0.410000] futex hash table entries: 256 (order: -1, 3072 bytes)

[ 0.430000] squashfs: version 4.0 (2009/01/31) Phillip Lougher

[ 0.430000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) © 2001-2006 Red Hat, Inc.

[ 0.440000] msgmni has been set to 119

[ 0.450000] io scheduler noop registered

[ 0.450000] io scheduler deadline registered (default)

[ 0.460000] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled

[ 0.460000] ar933x-uart: ttyATH0 at MMIO 0x18020000 (irq = 11, base_baud = 1562500) is a AR933X UART

[ 0.470000] console [ttyATH0] enabled

[ 0.480000] bootconsole [early0] disabled

[ 0.490000] m25p80 spi0.0: found mx25l12805d, expected m25p80

[ 0.490000] m25p80 spi0.0: mx25l12805d (16384 Kbytes)

[ 0.510000] 5 tp-link partitions found on MTD device spi0.0

[ 0.510000] Creating 5 MTD partitions on "spi0.0":

[ 0.510000] 0x000000000000-0x000000020000 : "u-boot"

[ 0.520000] 0x000000020000-0x000000134358 : "kernel"

[ 0.530000] 0x000000134358-0x000000ff0000 : "rootfs"

[ 0.530000] mtd: device 2 (rootfs) set to be root filesystem

[ 0.540000] 1 squashfs-split partitions found on MTD device rootfs

[ 0.540000] 0x000000d80000-0x000000ff0000 : "rootfs_data"

[ 0.550000] 0x000000ff0000-0x000001000000 : "art"

[ 0.550000] 0x000000020000-0x000000ff0000 : "firmware"

[ 0.580000] libphy: ag71xx_mdio: probed

[ 1.170000] ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.1:04 [uid=004dd041, driver=Generic PHY]

[ 1.180000] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode:MII

[ 1.180000] TCP: cubic registered

[ 1.180000] NET: Registered protocol family 17

[ 1.190000] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.

[ 1.200000] 8021q: 802.1Q VLAN Support v1.8

[ 1.210000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.

[ 1.220000] Freeing unused kernel memory: 268K (8036d000 - 803b0000)

[ 2.530000] init: Console is alive

[ 2.530000] init: - watchdog -

[ 5.030000] usbcore: registered new interface driver usbfs

[ 5.030000] usbcore: registered new interface driver hub

[ 5.040000] usbcore: registered new device driver usb

[ 5.090000] SCSI subsystem initialized

[ 5.100000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver

[ 5.110000] ehci-platform: EHCI generic platform driver

[ 5.120000] ehci-platform ehci-platform: EHCI Host Controller

[ 5.120000] ehci-platform ehci-platform: new USB bus registered, assigned bus number 1

[ 5.130000] ehci-platform ehci-platform: irq 3, io mem 0x1b000000

[ 5.160000] ehci-platform ehci-platform: USB 2.0 started, EHCI 1.00

[ 5.160000] hub 1-0:1.0: USB hub found

[ 5.160000] hub 1-0:1.0: 1 port detected

[ 5.170000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver

[ 5.180000] ohci-platform: OHCI generic platform driver

[ 5.180000] uhci_hcd: USB Universal Host Controller Interface driver

[ 5.200000] usbcore: registered new interface driver usb-storage

[ 5.490000] usb 1-1: new high-speed USB device number 2 using ehci-platform

[ 5.630000] init: - preinit -

[ 5.640000] hub 1-1:1.0: USB hub found

[ 5.640000] hub 1-1:1.0: 4 ports detected

[ 6.180000] usb 1-1.2: new high-speed USB device number 3 using ehci-platform

[ 6.450000] random: procd urandom read with 11 bits of entropy available

[ 6.680000] usb-storage 1-1.2:1.0: USB Mass Storage device detected

[ 6.690000] scsi host0: usb-storage 1-1.2:1.0

[ 6.690000] mount_root: loading kmods from internal overlay

[ 6.970000] jffs2: notice: (334) jffs2_build_xattr_subsystem: complete building xattr subsystem, 2 of xdatum (0 unchecked, 2 orphan) and 2 of xref (0 dead, 2 orphan) found.

[ 6.980000] block: attempting to load /tmp/jffs_cfg/upper/etc/config/fstab

[ 7.000000] block: extroot: not configured

[ 7.040000] jffs2: notice: (322) jffs2_build_xattr_subsystem: complete building xattr subsystem, 2 of xdatum (0 unchecked, 2 orphan) and 2 of xref (0 dead, 2 orphan) found.

[ 7.180000] block: attempting to load /tmp/jffs_cfg/upper/etc/config/fstab

[ 7.190000] block: extroot: not configured

[ 7.190000] mount_root: switching to jffs2 overlay

[ 7.270000] procd: - early -

[ 7.270000] procd: - watchdog -

[ 7.730000] scsi 0:0:0:0: Direct-Access Generic STORAGE DEVICE 0933 PQ: 0 ANSI: 6

[ 7.950000] sd 0:0:0:0: [sda] 15564800 512-byte logical blocks: (7.96 GB/7.42 GiB)

[ 7.970000] sd 0:0:0:0: [sda] Write Protect is off

[ 7.970000] sd 0:0:0:0: [sda] Mode Sense: 21 00 00 00

[ 7.970000] sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA

[ 8.070000] sda: sda1 sda2

[ 8.090000] sd 0:0:0:0: [sda] Attached SCSI removable disk

[ 8.590000] procd: - ubus -

[ 9.610000] procd: - init -

[ 11.670000] RPC: Registered named UNIX socket transport module.

[ 11.680000] RPC: Registered udp transport module.

[ 11.680000] RPC: Registered tcp transport module.

[ 11.690000] RPC: Registered tcp NFSv4.1 backchannel transport module.

[ 11.710000] tun: Universal TUN/TAP device driver, 1.6

[ 11.710000] tun: © 1999-2004 Max Krasnyansky

[ 11.760000] sd 0:0:0:0: Attached scsi generic sg0 type 0

[ 11.770000] usbcore: registered new interface driver cdc_acm

[ 11.780000] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters

[ 11.790000] usbcore: registered new interface driver cdc_wdm

[ 11.800000] Loading modules backported from Linux version master-2015-03-09-0-g141f155

[ 11.800000] Backport generated by backports.git backports-20150129-0-gdd4a670

[ 11.830000] nf_conntrack version 0.5.0 (956 buckets, 3824 max)

[ 11.860000] usbcore: registered new interface driver ums-alauda

[ 11.870000] usbcore: registered new interface driver ums-cypress

[ 11.880000] usbcore: registered new interface driver ums-datafab

[ 11.880000] usbcore: registered new interface driver ums-freecom

[ 11.890000] usbcore: registered new interface driver ums-isd200

[ 11.900000] usbcore: registered new interface driver ums-jumpshot

[ 11.910000] usbcore: registered new interface driver ums-karma

[ 11.910000] usbcore: registered new interface driver ums-sddr09

[ 11.920000] usbcore: registered new interface driver ums-sddr55

[ 11.930000] usbcore: registered new interface driver ums-usbat

[ 11.950000] usbcore: registered new interface driver usbserial

[ 11.950000] usbcore: registered new interface driver usbserial_generic

[ 11.960000] usbserial: USB Serial support registered for generic

[ 12.020000] xt_time: kernel timezone is -0000

[ 12.030000] usbcore: registered new interface driver asix

[ 12.050000] usbcore: registered new interface driver cdc_ether

[ 12.110000] cfg80211: Calling CRDA to update world regulatory domain

[ 12.110000] cfg80211: World regulatory domain updated:

[ 12.120000] cfg80211: DFS Master region: unset

[ 12.120000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)

[ 12.130000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)

[ 12.140000] cfg80211: (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)

[ 12.150000] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)

[ 12.160000] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)

[ 12.160000] cfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)

[ 12.170000] cfg80211: (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)

[ 12.180000] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)

[ 12.190000] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)

[ 12.210000] ip_tables: © 2000-2006 Netfilter Core Team

[ 12.300000] usbcore: registered new interface driver pl2303

[ 12.300000] usbserial: USB Serial support registered for pl2303

[ 12.320000] PPP generic driver version 2.4.2

[ 12.330000] NET: Registered protocol family 24

[ 12.340000] usbcore: registered new interface driver qmi_wwan

[ 12.350000] usbcore: registered new interface driver rndis_host

[ 12.370000] usbcore: registered new interface driver sierra_net

[ 12.480000] usbcore: registered new interface driver option

[ 12.480000] usbserial: USB Serial support registered for GSM modem (1-port)

[ 12.530000] usbcore: registered new interface driver rt2800usb

[ 12.560000] usbcore: registered new interface driver ath9k_htc

[ 12.590000] ath: EEPROM regdomain: 0x0

[ 12.590000] ath: EEPROM indicates default country code should be used

[ 12.590000] ath: doing EEPROM country->regdmn map search

[ 12.590000] ath: country maps to regdmn code: 0x3a

[ 12.590000] ath: Country alpha2 being used: US

[ 12.590000] ath: Regpair used: 0x3a

[ 12.610000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'

[ 12.610000] ieee80211 phy0: Atheros AR9330 Rev:1 mem=0xb8100000, irq=2

[ 12.690000] cfg80211: Calling CRDA for country: US

[ 12.690000] cfg80211: Regulatory domain changed to country: US

[ 12.690000] cfg80211: DFS Master region: FCC

[ 12.700000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)

[ 12.710000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 3000 mBm), (N/A)

[ 12.720000] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 1700 mBm), (N/A)

[ 12.730000] cfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2300 mBm), (0 s)

[ 12.740000] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 3000 mBm), (N/A)

[ 12.740000] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 4000 mBm), (N/A)

[ 22.210000] device eth0 entered promiscuous mode

[ 27.590000] device wlan0 entered promiscuous mode

[ 27.720000] br-lan: port 2(wlan0) entered forwarding state

[ 27.720000] br-lan: port 2(wlan0) entered forwarding state

[ 27.930000] device wlan0-1 entered promiscuous mode

[ 27.940000] br-lan: port 3(wlan0-1) entered forwarding state

[ 27.940000] br-lan: port 3(wlan0-1) entered forwarding state

[ 28.380000] br-lan: port 3(wlan0-1) entered disabled state

[ 29.720000] br-lan: port 2(wlan0) entered forwarding state

[ 29.750000] br-lan: port 3(wlan0-1) entered forwarding state

[ 29.750000] br-lan: port 3(wlan0-1) entered forwarding state

[ 30.040000] random: nonblocking pool is initialized

[ 31.750000] br-lan: port 3(wlan0-1) entered forwarding state

[ 38.150000] usb 1-1.3: new full-speed USB device number 4 using ehci-platform

[ 38.430000] usb 1-1.3: new high-speed USB device number 5 using ehci-platform

[ 57.360000] usb 1-1.3: USB disconnect, device number 5

[ 57.610000] usb 1-1.3: new high-speed USB device number 6 using ehci-platform

[ 57.740000] rndis_host 1-1.3:1.0 usb0: register 'rndis_host' at usb-ehci-platform-1.3, RNDIS device, be:de:e0:a6:f2:8f

root@Pineapple:~#

Ifconfig -a

root@Pineapple:~# ifconfig -a

br-lan Link encap:Ethernet HWaddr 00:C0:CA:80:7C:2D

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:0 errors:0 dropped:0 overruns:0 frame:0

TX packets:19 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:0

RX bytes:0 (0.0 B) TX bytes:798 (798.0 B)

eth0 Link encap:Ethernet HWaddr 00:C0:CA:80:7C:2D

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:65536 Metric:1

RX packets:55 errors:0 dropped:0 overruns:0 frame:0

TX packets:55 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:0

RX bytes:4323 (4.2 KiB) TX bytes:4323 (4.2 KiB)

usb0 Link encap:Ethernet HWaddr BE:DE:E0:A6:F2:8F

inet addr:192.168.42.253 Bcast:192.168.42.255 Mask:255.255.255.0

UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

RX packets:1168 errors:0 dropped:6 overruns:0 frame:0

TX packets:1137 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:1000

RX bytes:293890 (287.0 KiB) TX bytes:287487 (280.7 KiB)

wlan0 Link encap:Ethernet HWaddr 00:C0:CA:8D:71:22

UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

RX packets:0 errors:0 dropped:0 overruns:0 frame:0

TX packets:27 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:1652 (1.6 KiB)

wlan0-1 Link encap:Ethernet HWaddr 02:C0:CA:8D:71:22

UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

RX packets:0 errors:0 dropped:0 overruns:0 frame:0

TX packets:26 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:1000

RX bytes:0 (0.0 B) TX bytes:1592 (1.5 KiB)

root@Pineapple:~#

Route

root@Pineapple:~# route

Kernel IP routing table

Destination Gateway Genmask Flags Metric Ref Use Iface

default 192.168.42.129 0.0.0.0 UG 0 0 0 usb0

172.16.42.0 * 255.255.255.0 U 0 0 0 br-lan

192.168.42.0 * 255.255.255.0 U 0 0 0 usb0

192.168.42.129 * 255.255.255.255 UH 0 0 0 usb0

root@Pineapple:~#

Link to comment
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.

 Share

  • Recently Browsing   0 members

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