You are not logged in.

#1 2013-07-05 05:56:42

grimgent
Member
Registered: 2013-06-24
Posts: 8

USB tether problem

When I plugin in my phone and hit the tether option, The Network Manager fails to connect.
But when I turn the tether option off, then on again, it connects.

from dmesg

[   71.090376] usb 1-5: new high-speed USB device number 5 using ehci-pci
[   71.278544] usbcore: registered new interface driver cdc_ether
[   71.284344] rndis_host 1-5:1.0 usb0: register 'rndis_host' at usb-0000:00:02.1-5, RNDIS device, d2:a2:92:a2:52:8f
[   71.285097] usbcore: registered new interface driver rndis_host
[   71.290774] systemd-udevd[517]: renamed network interface usb0 to enp0s2f1u5
[  140.651320] usb 1-5: USB disconnect, device number 5
[  140.654143] rndis_host 1-5:1.0 enp0s2f1u5: unregister 'rndis_host' usb-0000:00:02.1-5, RNDIS device
[  141.486734] usb 2-5: new full-speed USB device number 4 using ohci_hcd
[  141.653460] usb 2-5: device descriptor read/64, error -62
[  141.923379] usb 2-5: device descriptor read/64, error -62
[  142.186714] usb 2-5: new full-speed USB device number 5 using ohci_hcd
[  142.353360] usb 2-5: device descriptor read/64, error -62
[  142.623346] usb 2-5: device descriptor read/64, error -62
[  142.886688] usb 2-5: new full-speed USB device number 6 using ohci_hcd
[  143.293392] usb 2-5: device not accepting address 6, error -62
[  143.453365] usb 2-5: new full-speed USB device number 7 using ohci_hcd
[  143.860025] usb 2-5: device not accepting address 7, error -62
[  143.860063] hub 2-0:1.0: unable to enumerate USB device on port 5
[  190.100019] usb 1-5: new high-speed USB device number 7 using ehci-pci
[  190.226839] scsi5 : usb-storage 1-5:1.0
[  191.230892] scsi 5:0:0:0: Direct-Access     HTC      File-CD Gadget   0000 PQ: 0 ANSI: 2
[  191.235259] sd 5:0:0:0: [sdb] Attached SCSI removable disk
[  192.649423] usb 1-5: USB disconnect, device number 7
[  192.910028] usb 1-5: new high-speed USB device number 8 using ehci-pci
[  193.037473] rndis_host 1-5:1.0 usb0: register 'rndis_host' at usb-0000:00:02.1-5, RNDIS device, d6:d1:0d:a0:f9:fc
[  193.056468] systemd-udevd[556]: renamed network interface usb0 to enp0s2f1u5

here is /etc/dhcpcd.conf

# A sample configuration for dhcpcd.
# See dhcpcd.conf(5) for details.

# Inform the DHCP server of our hostname for DDNS.
hostname
# To share the DHCP lease across OSX and Windows a ClientID is needed.
# Enabling this may get a different lease than the kernel DHCP client.
# Some upstream DHCP servers may also require a ClientID, such as FRITZ!Box.
#clientid

# A list of options to request from the DHCP server.
## Change
nooption domain_name_servers
#option domain_name_servers, domain_name, domain_search, host_name
option domain_name, domain_search, host_name
## End of change
option classless_static_routes
# Most distributions have NTP support.
option ntp_servers
# Respect the network MTU.
option interface_mtu
# A ServerID is required by RFC2131.
require dhcp_server_identifier

# A hook script is provided to lookup the hostname if not set by the DHCP
# server, but it should not be run by default.
## Change
nohook resolv.conf
## End of change
nohook lookup-hostname
noipv4ll

here is /etc/resolv.conf

nameserver 8.8.8.8 

Got the IP from following the Arch Wiki: Network Configuration.
It was the only way to successfully ping google.com.
So I just kept it.

Last edited by grimgent (2013-07-05 06:06:36)


3.9.9-1-ARCH #1 SMP PREEMPT i686
AMD Sempron(tm) Processor LE-1300
2 GIGS RAM, 320 GIG Hard Drive
NVIDIA GeForce 6160 SE integrated graphics

Offline

#2 2013-07-05 06:56:29

grimgent
Member
Registered: 2013-06-24
Posts: 8

Re: USB tether problem

systemctl status dhcpcd@enp0s2f1u5.service

dhcpcd@enp0s2f1u5.service - dhcpcd on enp0s2f1u5
   Loaded: loaded (/usr/lib/systemd/system/dhcpcd@.service; enabled)
   Active: failed (Result: exit-code) since Thu 2013-07-04 23:53:17 MDT; 5min ago
  Process: 574 ExecStop=/usr/sbin/dhcpcd -x %I (code=exited, status=0/SUCCESS)
  Process: 664 ExecStart=/usr/sbin/dhcpcd -q -w %I (code=exited, status=1/FAILURE)
 Main PID: 561 (code=exited, status=1/FAILURE)
   CGroup: name=systemd:/system/dhcpcd@.service/dhcpcd@enp0s2f1u5.service

Last edited by grimgent (2013-07-05 07:00:02)


3.9.9-1-ARCH #1 SMP PREEMPT i686
AMD Sempron(tm) Processor LE-1300
2 GIGS RAM, 320 GIG Hard Drive
NVIDIA GeForce 6160 SE integrated graphics

Offline

Board footer

Powered by FluxBB