Run dmesg from a shell on the Android. See what its side of the story is. I
think it uses eth0 and/or usb0 for tethering. Check ifconfig usb0/eth0 too.

My guess is that the phone doesn't do usb1. Can you mount the phone as a
storage device with the i386? If you can, you can pipe dmesg to a file in
/sdcard, and copy it to your computer to easier reading.

I ended up doing a hotplug script for my phone. No ip forwarding, just peer
to peer, mainly for ssh and scp.

On Sun, Sep 2, 2012 at 9:46 AM, Jan Stary <[email protected]> wrote:

> On my amd64 workstation (see dmesg below), my android appears
> as an urndis(4) device a can provide the box with a network conection.
>
> urndis0 at uhub0 port 3 configuration 1 interface 0 "SAMSUNG Electronics
> Co., Ltd. Samsung Android USB Device" rev 2.00/4.00 addr 3
> urndis0: address be:a1:fc:82:8f:c5
>
>
> Trying to do the same on my i386 laptop (dmesg below), I get
>
> urndis0 at uhub0 port 1 configuration 1 interface 0 "SAMSUNG Electronics
> Co., Ltd. Samsung Android USB Device" rev 2.00/4.00 addr 2
> urndis0: TIMEOUT
> urndis0: unable to get init response
> urndis0: TIMEOUT
> urndis0: unable to get query response
> urndis0: unable to get hardware address
>
>
> What could be the reason for that?
>
> The apparent difference between the two, USB-wise, is
> (amd64 box)   uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
> (i386 laptop) uhub0 at usb0 "VIA UHCI root hub" rev 1.00/1.00 addr 1
>
> i.e. USB2 vs USB1. Could that be it?
> The i386 laptop is a very old Compaq Armada.
>
>         Jan
>
>
>
> OpenBSD 5.2-current (GENERIC.MP) #378: Mon Aug 20 12:55:12 MDT 2012
>     [email protected]:/usr/src/sys/arch/amd64/compile/GENERIC.MP
> RTC BIOS diagnostic error 80<clock_battery>
> real mem = 1054593024 (1005MB)
> avail mem = 1004150784 (957MB)
> mainbus0 at root
> bios0 at mainbus0: SMBIOS rev. 2.5 @ 0xe4410 (25 entries)
> bios0: vendor Intel Corp. version "MOPNV10J.86A.0175.2010.0308.0620" date
> 03/08/2010
> bios0: Intel Corporation D510MO
> acpi0 at bios0: rev 2
> acpi0: sleep states S0 S1 S4 S5
> acpi0: tables DSDT FACP APIC MCFG HPET SSDT
> acpi0: wakeup devices SLPB(S4) PS2M(S4) PS2K(S4) UAR1(S4) UAR2(S4)
> P32_(S4) ILAN(S4) PEX0(S4) PEX1(S4) PEX2(S4) PEX3(S4) UHC1(S3) UHC2(S3)
> UHC3(S3) UHC4(S3) EHCI(S3) AZAL(S4)
> acpitimer0 at acpi0: 3579545 Hz, 24 bits
> acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
> cpu0 at mainbus0: apid 0 (boot processor)
> cpu0: Intel(R) Atom(TM) CPU D510 @ 1.66GHz, 1666.95 MHz
> cpu0:
> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,TM2,SSSE3,CX16,xTPR,PDCM,MOVBE,NXE,LONG,LAHF
> cpu0: 512KB 64b/line 8-way L2 cache
> cpu0: apic clock running at 166MHz
> cpu1 at mainbus0: apid 1 (application processor)
> cpu1: Intel(R) Atom(TM) CPU D510 @ 1.66GHz, 1666.69 MHz
> cpu1:
> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,TM2,SSSE3,CX16,xTPR,PDCM,MOVBE,NXE,LONG,LAHF
> cpu1: 512KB 64b/line 8-way L2 cache
> cpu2 at mainbus0: apid 2 (application processor)
> cpu2: Intel(R) Atom(TM) CPU D510 @ 1.66GHz, 1666.69 MHz
> cpu2:
> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,TM2,SSSE3,CX16,xTPR,PDCM,MOVBE,NXE,LONG,LAHF
> cpu2: 512KB 64b/line 8-way L2 cache
> cpu3 at mainbus0: apid 3 (application processor)
> cpu3: Intel(R) Atom(TM) CPU D510 @ 1.66GHz, 1666.69 MHz
> cpu3:
> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,TM2,SSSE3,CX16,xTPR,PDCM,MOVBE,NXE,LONG,LAHF
> cpu3: 512KB 64b/line 8-way L2 cache
> ioapic0 at mainbus0: apid 8 pa 0xfec00000, version 20, 24 pins
> ioapic0: misconfigured as apic 0, remapped to apid 8
> acpimcfg0 at acpi0 addr 0xf8000000, bus 0-63
> acpihpet0 at acpi0: 14318179 Hz
> acpiprt0 at acpi0: bus 5 (P32_)
> acpiprt1 at acpi0: bus 0 (PCI0)
> acpiprt2 at acpi0: bus 1 (PEX0)
> acpiprt3 at acpi0: bus 2 (PEX1)
> acpiprt4 at acpi0: bus 3 (PEX2)
> acpiprt5 at acpi0: bus 4 (PEX3)
> acpicpu0 at acpi0: C1, PSS
> acpicpu1 at acpi0: C1, PSS
> acpicpu2 at acpi0: C1, PSS
> acpicpu3 at acpi0: C1, PSS
> acpibtn0 at acpi0: SLPB
> pci0 at mainbus0 bus 0
> pchb0 at pci0 dev 0 function 0 "Intel Pineview DMI" rev 0x02
> vga1 at pci0 dev 2 function 0 "Intel Pineview Video" rev 0x02
> wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
> wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
> intagp0 at vga1
> agp0 at intagp0: aperture at 0xe0000000, size 0x10000000
> inteldrm0 at vga1: apic 8 int 16
> drm0 at inteldrm0
> ppb0 at pci0 dev 28 function 0 "Intel 82801GB PCIE" rev 0x01: msi
> pci1 at ppb0 bus 1
> re0 at pci1 dev 0 function 0 "Realtek 8168" rev 0x03: RTL8168D/8111D
> (0x2800), apic 8 int 16, address 00:27:0e:07:09:9f
> rgephy0 at re0 phy 7: RTL8169S/8110S PHY, rev. 2
> ppb1 at pci0 dev 28 function 1 "Intel 82801GB PCIE" rev 0x01: msi
> pci2 at ppb1 bus 2
> ppb2 at pci0 dev 28 function 2 "Intel 82801GB PCIE" rev 0x01: msi
> pci3 at ppb2 bus 3
> ppb3 at pci0 dev 28 function 3 "Intel 82801GB PCIE" rev 0x01: msi
> pci4 at ppb3 bus 4
> uhci0 at pci0 dev 29 function 0 "Intel 82801GB USB" rev 0x01: apic 8 int 23
> uhci1 at pci0 dev 29 function 1 "Intel 82801GB USB" rev 0x01: apic 8 int 19
> uhci2 at pci0 dev 29 function 2 "Intel 82801GB USB" rev 0x01: apic 8 int 18
> uhci3 at pci0 dev 29 function 3 "Intel 82801GB USB" rev 0x01: apic 8 int 16
> ehci0 at pci0 dev 29 function 7 "Intel 82801GB USB" rev 0x01: apic 8 int 23
> usb0 at ehci0: USB revision 2.0
> uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
> ppb4 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0xe1
> pci5 at ppb4 bus 5
> pcib0 at pci0 dev 31 function 0 "Intel NM10 LPC" rev 0x01
> ahci0 at pci0 dev 31 function 2 "Intel 82801GR AHCI" rev 0x01: msi, AHCI
> 1.1
> scsibus0 at ahci0: 32 targets
> sd0 at scsibus0 targ 0 lun 0: <ATA, WDC WD6400BPVT-0, 01.0> SCSI3 0/direct
> fixed naa.50014ee25979e46a
> sd0: 610480MB, 512 bytes/sector, 1250263728 sectors
> sd1 at scsibus0 targ 1 lun 0: <ATA, WDC WD10TPVT-00H, 01.0> SCSI3 0/direct
> fixed naa.50014ee2aed8deca
> sd1: 953869MB, 512 bytes/sector, 1953525168 sectors
> ichiic0 at pci0 dev 31 function 3 "Intel 82801GB SMBus" rev 0x01: apic 8
> int 19
> iic0 at ichiic0
> spdmem0 at iic0 addr 0x50: 1GB DDR2 SDRAM non-parity PC2-6400CL5
> usb1 at uhci0: USB revision 1.0
> uhub1 at usb1 "Intel UHCI root hub" rev 1.00/1.00 addr 1
> usb2 at uhci1: USB revision 1.0
> uhub2 at usb2 "Intel UHCI root hub" rev 1.00/1.00 addr 1
> usb3 at uhci2: USB revision 1.0
> uhub3 at usb3 "Intel UHCI root hub" rev 1.00/1.00 addr 1
> usb4 at uhci3: USB revision 1.0
> uhub4 at usb4 "Intel UHCI root hub" rev 1.00/1.00 addr 1
> isa0 at pcib0
> isadma0 at isa0
> com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
> com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
> pckbc0 at isa0 port 0x60/5
> pckbd0 at pckbc0 (kbd slot)
> pckbc0: using irq 1 for kbd slot
> wskbd0 at pckbd0: console keyboard, using wsdisplay0
> pcppi0 at isa0 port 0x61
> spkr0 at pcppi0
> lpt0 at isa0 port 0x378/4 irq 7
> wbsio0 at isa0 port 0x4e/2: W83627THF rev 0x84
> lm1 at wbsio0 port 0x290/8: W83627THF
> mtrr: Pentium Pro MTRR support
> umass0 at uhub0 port 5 configuration 1 interface 0 "RICOH USB2.0-FLASH
> Media" rev 2.00/0.01 addr 2
> umass0: using SCSI over Bulk-Only
> scsibus1 at umass0: 2 targets, initiator 0
> sd2 at scsibus1 targ 1 lun 0: <RICOH, R5U880FlashMedia, 0000> SCSI2
> 0/direct removable serial.05ca1880R5U880-00003
> sd2: 15614MB, 512 bytes/sector, 31978496 sectors
> uhidev0 at uhub1 port 1 configuration 1 interface 0 "Genius Optical Mouse"
> rev 1.10/1.00 addr 2
> uhidev0: iclass 3/1
> ums0 at uhidev0: 3 buttons, Z dir
> wsmouse0 at ums0 mux 0
> uaudio0 at uhub1 port 2 configuration 1 interface 0 "M Audio MobilePre"
> rev 1.10/1.03 addr 3
> uaudio0: audio rev 1.00, 9 mixer controls
> audio0 at uaudio0
> vscsi0 at root
> scsibus2 at vscsi0: 256 targets
> softraid0 at root
> scsibus3 at softraid0: 256 targets
> root on sd2a (9dbfde9a4bdbbac7.a) swap on sd2b dump on sd2b
> umass1 at uhub0 port 3 configuration 1 interface 0 "SAMSUNG Electronics
> Co., Ltd. Samsung Android USB Device" rev 2.00/4.00 addr 3
> umass1: using SCSI over Bulk-Only
> scsibus4 at umass1: 2 targets, initiator 0
> sd3 at scsibus4 targ 1 lun 0: <SAMSUNG, GT-I5510 Card, 0000> SCSI2
> 0/direct removable serial.04e8681d551065d6a9ce
> sd3 detached
> scsibus4 detached
> umass1 detached
> urndis0 at uhub0 port 3 configuration 1 interface 0 "SAMSUNG Electronics
> Co., Ltd. Samsung Android USB Device" rev 2.00/4.00 addr 3
> urndis0: address be:a1:fc:82:8f:c5
>
>
> OpenBSD 5.2-current (GENERIC) #286: Mon Aug 20 12:53:32 MDT 2012
>     [email protected]:/usr/src/sys/arch/i386/compile/GENERIC
> cpu0: Intel Pentium III ("GenuineIntel" 686-class, 128KB L2 cache) 847 MHz
> cpu0:
> FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PSE36,MMX,FXSR,SSE
> real mem  = 259518464 (247MB)
> avail mem = 244367360 (233MB)
> mainbus0 at root
> bios0 at mainbus0: AT/286+ BIOS, date 08/20/01, BIOS32 rev. 0 @ 0xfd720,
> SMBIOS rev. 2.3 @ 0xe9f90 (17 entries)
> bios0: vendor Phoenix Technologies LTD version "0F08" date 08/20/2001
> bios0: Compaq 110 series
> apm0 at bios0: Power Management spec V1.2
> acpi at bios0 function 0x0 not configured
> pcibios0 at bios0: rev 2.1 @ 0xfd720/0x8e0
> pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdf70/112 (5 entries)
> pcibios0: PCI Interrupt Router at 000:07:0 ("VIA VT82C596A ISA" rev 0x00)
> pcibios0: PCI bus #2 is the last bus
> bios0: ROM list: 0xc0000/0xc000 0xcc000/0x1800
> cpu0 at mainbus0: (uniprocessor)
> pci0 at mainbus0 bus 0: configuration mode 1 (bios)
> pchb0 at pci0 dev 0 function 0 "VIA VT8601 PCI" rev 0x05
> viaagp0 at pchb0: v2
> agp0 at viaagp0: aperture at 0xf8000000, size 0x10000000
> ppb0 at pci0 dev 1 function 0 "VIA VT82C601 AGP" rev 0x00
> pci1 at ppb0 bus 1
> vga1 at pci1 dev 0 function 0 "Trident CyberBlade i1 AGP" rev 0x6a
> wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
> wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
> pcib0 at pci0 dev 7 function 0 "VIA VT82C686 ISA" rev 0x22
> pciide0 at pci0 dev 7 function 1 "VIA VT82C571 IDE" rev 0x10: ATA66,
> channel 0 configured to compatibility, channel 1 configured to compatibility
> wd0 at pciide0 channel 0 drive 0: <IC25N015ATDA04-0>
> wd0: 16-sector PIO, LBA, 14403MB, 29498112 sectors
> wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 4
> atapiscsi0 at pciide0 channel 1 drive 0
> scsibus0 at atapiscsi0: 2 targets
> cd0 at scsibus0 targ 0 lun 0: <QSI, CD-ROM SCR-242, CCA1> ATAPI 5/cdrom
> removable
> cd0(pciide0:1:0): using PIO mode 4, DMA mode 2
> uhci0 at pci0 dev 7 function 2 "VIA VT83C572 USB" rev 0x10: irq 11
> viapm0 at pci0 dev 7 function 4 "VIA VT82C686 SMBus" rev 0x30: SMBus
> disabled
> viapm0: 24-bit timer at 3579545Hz
> viapm0: HWM disabled
> auvia0 at pci0 dev 7 function 5 "VIA VT82C686 AC97" rev 0x20: irq 9
> ac97: codec id 0x41445348 (Analog Devices AD1881A)
> ac97: codec features headphone, Analog Devices Phat Stereo
> audio0 at auvia0
> fxp0 at pci0 dev 9 function 0 "Intel 8255x" rev 0x09, i82559S: irq 11,
> address 00:d0:59:80:c6:e5
> inphy0 at fxp0 phy 1: i82555 10/100 PHY, rev. 4
> "AT&T/Lucent LTMODEM" rev 0x00 at pci0 dev 9 function 1 not configured
> cbb0 at pci0 dev 10 function 0 "TI PCI1410 CardBus" rev 0x01: irq 11
> isa0 at pcib0
> isadma0 at isa0
> com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
> com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
> pckbc0 at isa0 port 0x60/5
> pckbd0 at pckbc0 (kbd slot)
> pckbc0: using irq 1 for kbd slot
> wskbd0 at pckbd0: console keyboard, using wsdisplay0
> pms0 at pckbc0 (aux slot)
> pckbc0: using irq 12 for aux slot
> wsmouse0 at pms0 mux 0
> pms0: Synaptics touchpad, firmware 4.6
> pcppi0 at isa0 port 0x61
> spkr0 at pcppi0
> lpt0 at isa0 port 0x378/4 irq 7
> npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
> fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
> fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
> usb0 at uhci0: USB revision 1.0
> uhub0 at usb0 "VIA UHCI root hub" rev 1.00/1.00 addr 1
> cardslot0 at cbb0 slot 0 flags 0
> cardbus0 at cardslot0: bus 2 device 0 cacheline 0x0, lattimer 0x20
> pcmcia0 at cardslot0
> mtrr: Pentium Pro MTRR support
> vscsi0 at root
> scsibus1 at vscsi0: 256 targets
> softraid0 at root
> scsibus2 at softraid0: 256 targets
> root on wd0a (b2284437e82f62e4.a) swap on wd0b dump on wd0b
> umass0 at uhub0 port 1 configuration 1 interface 0 "SAMSUNG Electronics
> Co., Ltd. Samsung Android USB Device" rev 2.00/4.00 addr 2
> umass0: using SCSI over Bulk-Only
> scsibus3 at umass0: 2 targets, initiator 0
> sd0 at scsibus3 targ 1 lun 0: <SAMSUNG, GT-I5510 Card, 0000> SCSI2
> 0/direct removable serial.04e8681d551065d6a9ce
> sd1 at scsibus2 targ 1 lun 0: <OPENBSD, SR CRYPTO, 005> SCSI2 0/direct
> fixed
> sd1: 1764MB, 512 bytes/sector, 3614096 sectors
> softraid0: volume sd1 is roaming, it used to be sd0, updating metadata
> sd0 detached
> scsibus3 detached
> umass0 detached
> urndis0 at uhub0 port 1 configuration 1 interface 0 "SAMSUNG Electronics
> Co., Ltd. Samsung Android USB Device" rev 2.00/4.00 addr 2
> urndis0: TIMEOUT
> urndis0: unable to get init response
> urndis0: TIMEOUT
> urndis0: unable to get query response
> urndis0: unable to get hardware address
> urndis0 detached
> umass0 at uhub0 port 1 configuration 1 interface 0 "SAMSUNG Electronics
> Co., Ltd. Samsung Android USB Device" rev 2.00/4.00 addr 2
> umass0: using SCSI over Bulk-Only
> scsibus3 at umass0: 2 targets, initiator 0
> sd0 at scsibus3 targ 1 lun 0: <SAMSUNG, GT-I5510 Card, 0000> SCSI2
> 0/direct removable serial.04e8681d551065d6a9ce
> sd0 detached
> scsibus3 detached
> umass0 detached
> urndis0 at uhub0 port 1 configuration 1 interface 0 "SAMSUNG Electronics
> Co., Ltd. Samsung Android USB Device" rev 2.00/4.00 addr 2
> urndis0: TIMEOUT
> urndis0: unable to get init response
> urndis0: TIMEOUT
> urndis0: unable to get query response
> urndis0: unable to get hardware address

Reply via email to