Quantcast
Channel: Embedded Software (Read Only)
Viewing all articles
Browse latest Browse all 25965

Forum Post: RE: Beagleboard with USB OTG

$
0
0
Hello Bin Liu, It seems that it works, but only partly. It has some disconnections every several seconds, and after such disconnect I need to set the ip again, and only then can check ping with PC. Do you find any problem in the attched log below ? root@beagleboard:~# root@beagleboard:~# ifconfig 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:6 errors:0 dropped:0 overruns:0 frame:0 TX packets:6 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:672 (672.0 B) TX bytes:672 (672.0 B) usb0 Link encap:Ethernet HWaddr 36:19:CA:A6:B0:B2 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:258 errors:0 dropped:12 overruns:0 frame:0 TX packets:10 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:21820 (21.3 KiB) TX bytes:2828 (2.7 KiB) root@beagleboard:~# [ 141.243835] dhclient[340]: DHCPDISCOVER on usb0 to 255.255.255.255 port 67 interval 6 [ 141.252990] NetworkManager[132]: DHCPDISCOVER on usb0 to 255.255.255.255 port 67 interval 6 ifconfig usb0 10.0.0.20 [ 145.770416] avahi-daemon[143]: root@beagleboardJoining mDNS multicast group on interface usb0.IPv4 with address 10.0.0.20.:~# [ 145.785308] avahi-daemon[143]: New relevant interface usb0.IPv4 for mDNS. [ 145.792846] avahi-daemon[143]: Registering new address record for 10.0.0.20 on usb0.IPv4. ifconfig usb0 10.0.0.20[ 147.258056] dhclient[340]: DHCPDISCOVER on usb0 to 255.255.255.255 port 67 interval 13 [ 147.268096] NetworkManager[132]: DHCPDISCOVER on usb0 to 255.255.255.255 port 67 interval 13 ping 10.0.0.17 PING 10.0.0.17 (10.0.0.17): 56 data bytes 64 bytes from 10.0.0.17: seq=0 ttl=128 time=4.558 ms 64 bytes from 10.0.0.17: seq=1 ttl=128 time=0.681 ms 64 bytes from 10.0.0.17: seq=2 ttl=128 time=0.545 ms 64 bytes from 10.0.0.17: seq=3 ttl=128 time=0.626 ms 64 bytes from 10.0.0.17: seq=4 ttl=128 time=0.682 ms 64 bytes from 10.0.0.17: seq=5 ttl=128 time=0.484 ms 64 bytes from 10.0.0.17: seq=6 ttl=128 time=0.682 ms 64 bytes from 10.0.0.17: seq=7 ttl=128 time=0.699 ms 64 bytes from 10.0.0.17: seq=8 ttl=128 time=0.569 ms 64 bytes from 10.0.0.17: seq=9 ttl=128 time=0.602 ms 64 bytes from 10.0.0.17: seq=10 ttl=128 time=0.664 ms [ 160.271301] dhclient[340]: DHCPDISCOVER on usb0 to 255.255.255.255 port 67 interval 9 [ 160.280273] NetworkManager[132]: DHCPDISCOVER on usb0 to 255.255.255.255 port 67 interval 9 64 bytes from 10.0.0.17: seq=11 ttl=128 time=0.716 ms 64 bytes from 10.0.0.17: seq=12 ttl=128 time=0.654 ms 64 bytes from 10.0.0.17: seq=13 ttl=128 time=0.585 ms 64 bytes from 10.0.0.17: seq=14 ttl=128 time=0.658 ms 64 bytes from 10.0.0.17: seq=15 ttl=128 time=0.657 ms 64 bytes from 10.0.0.17: seq=16 ttl=128 time=0.507 ms 64 bytes from 10.0.0.17: seq=17 ttl=128 time=0.650 ms 64 bytes from 10.0.0.17: seq=18 ttl=128 time=0.657 ms 64 bytes from 10.0.0.17: seq=19 ttl=128 time=0.664 ms [ 169.280670] dhclient[340]: DHCPDISCOVER on usb0 to 255.255.255.255 port 67 interval 13 [ 169.289825] NetworkManager[132]: DHCPDISCOVER on usb0 to 255.255.255.255 port 67 interval 13 64 bytes from 10.0.0.17: seq=20 ttl=128 time=0.750 ms 64 bytes from 10.0.0.17: seq=21 ttl=128 time=0.645 ms 64 bytes from 10.0.0.17: seq=22 ttl=128 time=0.509 ms 64 bytes from 10.0.0.17: seq=23 ttl=128 time=0.652 ms 64 bytes from 10.0.0.17: seq=24 ttl=128 time=0.661 ms 64 bytes from 10.0.0.17: seq=25 ttl=128 time=0.614 ms 64 bytes from 10.0.0.17: seq=26 ttl=128 time=0.605 ms [ 175.687316] NetworkManager[132]: (usb0): DHCPv4 request timed out. [ 175.696746] NetworkManager[132]: NetworkManager[132]: (usb0): DHCPv4 request timed out. [ 175.890899] NetworkManager[132]: (usb0): canceled DHCP transaction, DHCP client pid 340 [ 175.900848] NetworkManager[132]: Activation (usb0) Stage 4 of 5 (IP4 Configure Timeout) scheduled... [ 175.911895] NetworkManager[132]: Activation (usb0) Stage 4 of 5 (IP4 Configure Timeout) started... [ 175.924743] NetworkManager[132]: Activation (usb0) Stage 5 of 5 (IP Configure Commit) scheduled... [ 175.935516] NetworkManager[132]: Activation (usb0) Stage 4 of 5 (IP4 Configure Timeout) complete. [ 175.946166] NetworkManager[132]: NetworkManager[132]: (usb0): canceled DHCP transaction, DHCP client pid 340 [ 175.957763] NetworkManager[132]: NetworkManager[132]: Activation (usb0) Stage 4 of 5 (IP4 Configure Timeout) scheduled... [ 175.972564] NetworkManager[132]: NetworkManager[132]: Activation (usb0) Stage 4 of 5 (IP4 Configure Timeout) started... [ 175.985260] NetworkManager[132]: NetworkManager[132]: Activation (usb0) Stage 5 of 5 (IP Configure Commit) scheduled... [ 175.997924] NetworkManager[132]: NetworkManager[132]: Activation (usb0) Stage 4 of 5 (IP4 Configure Timeout) complete. [ 176.010406] NetworkManager[132]: NetworkManager[132]: Activation (usb0) Stage 5 of 5 (IP Configure Commit) started... [ 176.026794] NetworkManager[132]: Activation (usb0) Stage 5 of 5 (IP Configure Commit) started... [ 176.039611] NetworkManager[132]: NetworkManager[132]: Activation (usb0) Stage 5 of 5 (IP Configure Commit) failed (no IP configuration found) [ 176.054565] NetworkManager[132]: Activation (usb0) Stage 5 of 5 (IP Configure Commit) failed (no IP configuration found) [ 176.067382] NetworkManager[132]: (usb0): device state change: ip-config -> failed (reason 'ip-config-unavailable') [70 120 5] [ 176.081024] NetworkManager[132]: NetworkManager[132]: (usb0): device state change: ip-config -> failed (reason 'ip-config-unavailable') [70 120 5] [ 176.095947] NetworkManager[132]: Activation (usb0) failed. [ 176.102752] NetworkManager[132]: NetworkManager[132]: Activation (usb0) failed. [ 176.111511] NetworkManager[132]: Activation (usb0) Stage 5 of 5 (IP Configure Commit) complete. [ 176.121734] NetworkManager[132]: NetworkManager[132]: Activation (usb0) Stage 5 of 5 (IP Configure Commit) complete. [ 176.133880] NetworkManager[132]: (usb0): device state change: failed -> disconnected (reason 'none') [120 30 0] [ 176.145538] NetworkManager[132]: NetworkManager[132]: (usb0): device state change: failed -> disconnected (reason 'none') [120 30 0] [ 176.159118] NetworkManager[132]: (usb0): deactivating device (reason 'none') [0] [ 176.168151] NetworkManager[132]: NetworkManager[132]: (usb0): deactivating device (reason 'none') [0] [ 176.178894] avahi-daemon[143]: Withdrawing address record for 10.0.0.20 on usb0. [ 176.187103] avahi-daemon[143]: Leaving mDNS multicast group on interface usb0.IPv4 with address 10.0.0.20. [ 176.197692] avahi-daemon[143]: Interface usb0.IPv4 no longer relevant for mDNS. ping: sendto: Network is unreachable root@beagleboard:~# [ 178.687561] NetworkManager[132]: Auto-activating connection 'Wired connection 1'. [ 178.702331] NetworkManager[132]: Activation (usb0) starting connection 'Wired connection 1' [ 178.712951] NetworkManager[132]: (usb0): device state change: disconnected -> prepare (reason 'none') [30 40 0] [ 178.724975] NetworkManager[132]: NetworkManager[132]: Auto-activating connection 'Wired connection 1'. [ 178.736145] NetworkManager[132]: NetworkManager[132]: Activation (usb0) starting connection 'Wired connection 1' [ 178.750030] NetworkManager[132]: NetworkManager[132]: (usb0): device state change: disconnected -> prepare (reason 'none') [30 40 0] [ 178.764343] NetworkManager[132]: NetworkManager[132]: Activation (usb0) Stage 1 of 5 (Device Prepare) scheduled... [ 178.776824] NetworkManager[132]: Activation (usb0) Stage 1 of 5 (Device Prepare) scheduled... [ 178.787170] NetworkManager[132]: NetworkManager[132]: Activation (usb0) Stage 1 of 5 (Device Prepare) started... [ 178.799346] NetworkManager[132]: Activation (usb0) Stage 1 of 5 (Device Prepare) started... [ 178.809600] NetworkManager[132]: NetworkManager[132]: Activation (usb0) Stage 2 of 5 (Device Configure) scheduled... [ 178.823333] NetworkManager[132]: Activation (usb0) Stage 2 of 5 (Device Configure) scheduled... [ 178.833953] NetworkManager[132]: NetworkManager[132]: Activation (usb0) Stage 1 of 5 (Device Prepare) complete. [ 178.845977] NetworkManager[132]: Activation (usb0) Stage 1 of 5 (Device Prepare) complete. [ 178.856079] NetworkManager[132]: Activation (usb0) Stage 2 of 5 (Device Configure) starting... [ 178.868865] NetworkManager[132]: NetworkManager[132]: Activation (usb0) Stage 2 of 5 (Device Configure) starting... [ 178.881317] NetworkManager[132]: (usb0): device state change: prepare -> config (reason 'none') [40 50 0] [ 178.895477] NetworkManager[132]: NetworkManager[132]: (usb0): device state change: prepare -> config (reason 'none') [40 50 0] [ 178.923431] NetworkManager[132]: Activation (usb0) Stage 2 of 5 (Device Configure) successful. [ 178.943969] NetworkManager[132]: NetworkManager[132]: Activation (usb0) Stage 2 of 5 (Device Configure) successful. [ 178.973449] NetworkManager[132]: Activation (usb0) Stage 3 of 5 (IP Configure Start) scheduled. [ 178.990295] NetworkManager[132]: NetworkManager[132]: Activation (usb0) Stage 3 of 5 (IP Configure Start) scheduled. [ 179.002838] NetworkManager[132]: Activation (usb0) Stage 2 of 5 (Device Configure) complete. [ 179.013427] NetworkManager[132]: NetworkManager[132]: Activation (usb0) Stage 2 of 5 (Device Configure) complete. [ 179.025634] NetworkManager[132]: Activation (usb0) Stage 3 of 5 (IP Configure Start) started... [ 179.036224] NetworkManager[132]: NetworkManager[132]: Activation (usb0) Stage 3 of 5 (IP Configure Start) started... [ 179.048706] NetworkManager[132]: (usb0): device state change: config -> ip-config (reason 'none') [50 70 0] [ 179.060333] NetworkManager[132]: NetworkManager[132]: (usb0): device state change: config -> ip-config (reason 'none') [50 70 0] [ 179.073944] NetworkManager[132]: Activation (usb0) Beginning DHCPv4 transaction (timeout in 45 seconds) [ 179.085174] NetworkManager[132]: NetworkManager[132]: Activation (usb0) Beginning DHCPv4 transaction (timeout in 45 seconds) [ 179.100494] NetworkManager[132]: dhclient started with pid 348 [ 179.108001] NetworkManager[132]: NetworkManager[132]: dhclient started with pid 348 [ 179.118896] NetworkManager[132]: Activation (usb0) Stage 3 of 5 (IP Configure Start) complete. [ 179.140502] NetworkManager[132]: NetworkManager[132]: Activation (usb0) Stage 3 of 5 (IP Configure Start) complete. [ 179.189056] dhclient[348]: Internet Systems Consortium DHCP Client 4.2.0 [ 179.198425] dhclient[348]: Copyright 2004-2010 Internet Systems Consortium. [ 179.207031] NetworkManager[132]: Internet Systems Consortium DHCP Client 4.2.0 [ 179.215759] dhclient[348]: All rights reserved. [ 179.221405] NetworkManager[132]: Copyright 2004-2010 Internet Systems Consortium. [ 179.231109] dhclient[348]: For info, please visit https://www.isc.org/software/dhcp/ [ 179.240264] NetworkManager[132]: All rights reserved. [ 179.246887] NetworkManager[132]: For info, please visit https://www.isc.org/software/dhcp/ [ 179.256347] dhclient[348]: can't create /var/lib/dhcp/dhclient-0c0c5428-c126-43cf-8afe-4c6c853eff49-usb0.lease: No such file or directory [ 179.269897] NetworkManager[132]: can't create /var/lib/dhcp/dhclient-0c0c5428-c126-43cf-8afe-4c6c853eff49-usb0.lease: No such file or directory [ 179.283996] NetworkManager[132]: NetworkManager[132]: (usb0): DHCPv4 state changed nbi -> preinit [ 179.294647] NetworkManager[132]: (usb0): DHCPv4 state changed nbi -> preinit [ 179.303375] dhclient[348]: Listening on LPF/usb0/36:19:ca:a6:b0:b2 [ 179.310516] dhclient[348]: Sending on LPF/usb0/36:19:ca:a6:b0:b2 [ 179.317657] NetworkManager[132]: Listening on LPF/usb0/36:19:ca:a6:b0:b2 [ 179.325256] dhclient[348]: Sending on Socket/fallback [ 179.331268] NetworkManager[132]: Sending on LPF/usb0/36:19:ca:a6:b0:b2 [ 179.339019] dhclient[348]: DHCPDISCOVER on usb0 to 255.255.255.255 port 67 interval 4 [ 179.347930] NetworkManager[132]: Sending on Socket/fallback [ 179.354583] NetworkManager[132]: DHCPDISCOVER on usb0 to 255.255.255.255 port 67 interval 4 root@beagleboard:~# root@beagleboard:~# [ 183.251190] dhclient[348]: DHCPDISCOVER on usb0 to 255.255.255.255 port 67 interval 10 [ 183.260375] NetworkManager[132]: DHCPDISCOVER on usb0 to 255.255.255.255 port 67 interval 10 root@beagleboard:~# ifconfig 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:6 errors:0 dropped:0 overruns:0 frame:0 TX packets:6 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:672 (672.0 B) TX bytes:672 (672.0 B) usb0 Link encap:Ethernet HWaddr 36:19:CA:A6:B0:B2 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:377 errors:0 dropped:13 overruns:0 frame:0 TX packets:58 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:30429 (29.7 KiB) TX bytes:13694 (13.3 KiB) Regards, Ran

Viewing all articles
Browse latest Browse all 25965

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>