Jump to content

WP4 USB tethering with Galaxy S3 Int'l and Cyanogenmod 9 issues and network settings restore


drhitchcock
 Share

Recommended Posts

Hi ho haksters,

First forum post on Hak5 so please be kind.

I'm trying to get USB tethering working on my WifiPineapple Mark4. I have a Samsung Galaxy S3 running Cyanogenmod 9. WP4 is running firmware 2.4.1. The USB tethering mode is not available when I plug the pineapple in.

Could this be due to the changing the /etc/config/network && /etc/config/dhcp settings for it to work with my MacBook Pro running Lion, as per http://cloud.wifipin...?id=guidemacics ?

Also, how would I restore the /etc/config/network && /etc/config/dhcp settings to their original state? (Some fool forgot to back-up the files before editing ;) According to the above mentioned article it is not wise to do a WPS button reset. Is someone able to post the original text for these files?

Many thanks in advance rad haksters!

Peace,

Dr H

Link to comment
Share on other sites

Alright. Up and running with 2.7. Thanks for the tip. Upgrade did reset my settings and everything. I'm now using it with my Asus netbook running GNU/Linux CrunchBang (Debian), 2.6.32 Linux kernel.

USB tethering wise I still no further ahead. When I plug the phone in I'm not given the option on the Galaxy S3 to activate USB tethering.

When I run lsusb I don't see it connected:

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub[/CODE]

When I run dmesg I see it either. Although it does mention ageneric USB device which could be it (?).

[CODE]
[ 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=2118a400, boardp=00000100, parts=88200204
[ 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.570000] JFFS2 notice: (451) jffs2_build_xattr_subsystem: complete building xattr subsystem, 1 of xdatum (1 unchecked, 0 orphan) and 17 of xref (0 dead, 9 orphan) found.
[ 10.290000] 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.
[ 11.740000] usb 1-1: new high-speed USB device number 2 using ehci-platform
[ 11.890000] scsi0 : usb-storage 1-1:1.0
[ 12.890000] scsi 0:0:0:0: Direct-Access USB 2.0 USB Flash Drive 0.00 PQ: 0 ANSI: 2
[ 12.900000] sd 0:0:0:0: [sda] 7897088 512-byte logical blocks: (4.04 GB/3.76 GiB)
[ 12.900000] sd 0:0:0:0: [sda] Write Protect is off
[ 12.910000] sd 0:0:0:0: [sda] Mode Sense: 00 00 00 00
[ 12.910000] sd 0:0:0:0: [sda] Asking for cache data failed
[ 12.910000] sd 0:0:0:0: [sda] Assuming drive cache: write through
[ 12.920000] sd 0:0:0:0: [sda] Asking for cache data failed
[ 12.930000] sd 0:0:0:0: [sda] Assuming drive cache: write through
[ 13.210000] sda: sda1 sda2
[ 13.220000] sd 0:0:0:0: [sda] Asking for cache data failed
[ 13.230000] sd 0:0:0:0: [sda] Assuming drive cache: write through
[ 13.230000] sd 0:0:0:0: [sda] Attached SCSI removable disk
[ 32.980000] Compat-wireless backport release: compat-wireless-2012-07-13
[ 32.980000] Backport based on wireless-testing.git master-2012-07-16
[ 32.990000] compat.git: wireless-testing.git
[ 33.020000] cfg80211: Calling CRDA to update world regulatory domain
[ 33.030000] cfg80211: World regulatory domain updated:
[ 33.030000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[ 33.040000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 33.050000] cfg80211: (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[ 33.060000] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[ 33.060000] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 33.070000] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 33.950000] cfg80211: World regulatory domain updated:
[ 33.960000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[ 33.970000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 33.970000] cfg80211: (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[ 33.980000] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[ 33.990000] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 34.000000] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 34.470000] usbcore: registered new interface driver rt73usb
[ 34.610000] usbcore: registered new interface driver rtl8187
[ 34.650000] ath: EEPROM regdomain: 0x833a
[ 34.650000] ath: EEPROM indicates we should expect a country code
[ 34.650000] ath: doing EEPROM country->regdmn map search
[ 34.650000] ath: country maps to regdmn code: 0x37
[ 34.650000] ath: Country alpha2 being used: GB
[ 34.650000] ath: Regpair used: 0x37
[ 34.650000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[ 34.650000] Registered led device: ath9k-phy0
[ 34.650000] ieee80211 phy0: Atheros AR9330 Rev:1 mem=0xb8100000, irq=2
[ 34.680000] usbcore: registered new interface driver rt2800usb
[ 34.760000] Button Hotplug driver version 0.4.1
[ 34.790000] cfg80211: Calling CRDA for country: GB
[ 34.790000] cfg80211: Regulatory domain changed to country: GB
[ 34.790000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[ 34.800000] cfg80211: (2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm)
[ 34.810000] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (N/A, 2000 mBm)
[ 34.820000] cfg80211: (5250000 KHz - 5330000 KHz @ 40000 KHz), (N/A, 2000 mBm)
[ 34.820000] cfg80211: (5490000 KHz - 5710000 KHz @ 40000 KHz), (N/A, 2700 mBm)
[ 35.050000] RPC: Registered named UNIX socket transport module.
[ 35.050000] RPC: Registered udp transport module.
[ 35.050000] RPC: Registered tcp transport module.
[ 35.060000] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 35.420000] PPP generic driver version 2.4.2
[ 35.560000] tun: Universal TUN/TAP device driver, 1.6
[ 35.560000] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[ 35.830000] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 36.050000] NET: Registered protocol family 24
[ 36.180000] nf_conntrack version 0.5.0 (460 buckets, 1840 max)
[ 36.990000] usbcore: registered new interface driver ath9k_htc
[ 37.250000] usbcore: registered new interface driver usbserial
[ 37.250000] USB Serial support registered for generic
[ 37.260000] usbcore: registered new interface driver usbserial_generic
[ 37.260000] usbserial: USB Serial Driver core
[ 37.300000] usbcore: registered new interface driver cdc_ether
[ 37.410000] Error: Driver 'gpio-keys-polled' is already registered, aborting...
[ 37.510000] usbcore: registered new interface driver rndis_host
[ 37.630000] sd 0:0:0:0: Attached scsi generic sg0 type 0
[ 45.930000] EXT4-fs (sda1): recovery complete
[ 45.940000] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
[ 46.610000] Adding 867324k swap on /dev/sda2. Priority:-1 extents:1 across:867324k
[ 57.450000] device eth0 entered promiscuous mode
[ 60.830000] device wlan0 entered promiscuous mode
[ 60.900000] br-lan: port 2(wlan0) entered forwarding state
[ 60.910000] br-lan: port 2(wlan0) entered forwarding state
[ 62.910000] br-lan: port 2(wlan0) entered forwarding state
[ 67.470000] eth1: link up (100Mbps/Full duplex)
[ 70.150000] device wlan0 left promiscuous mode
[ 70.150000] br-lan: port 2(wlan0) entered disabled state
[ 70.900000] device wlan0 entered promiscuous mode
[ 70.980000] br-lan: port 2(wlan0) entered forwarding state
[ 70.980000] br-lan: port 2(wlan0) entered forwarding state
[ 72.980000] br-lan: port 2(wlan0) entered forwarding state
[ 169.490000] eth1: link down
[ 169.620000] eth0: link up (1000Mbps/Full duplex)
[ 169.620000] br-lan: port 1(eth0) entered forwarding state
[ 169.620000] br-lan: port 1(eth0) entered forwarding state
[ 171.620000] br-lan: port 1(eth0) entered forwarding state
[ 2759.410000] usb 1-1: USB disconnect, device number 2
[ 2760.450000] Buffer I/O error on device sda1, logical block 327680
[ 2760.450000] lost page write due to I/O error on sda1
[ 2760.460000] JBD2: I/O error detected when updating journal superblock for sda1-8.
[/CODE]

Any help would be super.

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...