debian ~ $ ping google.comping: google.com: Temporary failure in name resolution
debian ~ $ ping 8.8.8.8connect: Network is unreachable
--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups "BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/c58fgfp0p35v399encr2d1v1i6han23eov%404ax.com.
On Thu, 9 Jul 2020 11:55:02 -0700 (PDT), in
gmane.comp.hardware.beagleboard.user Manderson
wrote:
>Hi all,
>
>I typically take the wired approach when connecting to my Beaglebone (plug
>in USB-C power to a port on my laptop and ssh with the 192.168.6.2 IP).
What type of computer are you using (OS)? I ask as Windows normally
uses 192.168.7.x, Mac the 192.168.6.x, and Linux apparently works with both
(they are, I believe, slightly different USB<>Ethernet protocols).
wlan0: flags=-28605<UP,BROADCAST,RUNNING,MULTICAST,DYNAMIC> mtu 1500 inet 192.168.1.50 netmask 255.255.255.0 broadcast 192.168.1.255 inet6 fe80::8291:33ff:fe4a:4223 prefixlen 64 scopeid 0x20<link> ether 80:91:33:4a:42:23 txqueuelen 1000 (Ethernet) RX packets 20004 bytes 4482231 (4.2 MiB) RX errors 0 dropped 375 overruns 0 frame 0 TX packets 2130 bytes 245657 (239.8 KiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
debian ~ $ routeKernel IP routing tableDestination Gateway Genmask Flags Metric Ref Use Ifacedefault 192.168.1.1 0.0.0.0 UG 0 0 0 wlan0192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 wlan0192.168.1.1 0.0.0.0 255.255.255.255 UH 0 0 0 wlan0192.168.6.0 0.0.0.0 255.255.255.0 U 0 0 0 usb1192.168.7.0 0.0.0.0 255.255.255.0 U 0 0 0 usb0192.168.8.0 0.0.0.0 255.255.255.0 U 0 0 0 SoftAp0
I suspect your resolv.conf got set back to the default with no nameservers listed when the USB ethernet port went offline.How do you have your wlan0 configured?If you used connman, you can add the following to your connman settings:Ex:IPv4.gateway=192.168.2.1
Nameservers=8.8.8.8;8.8.4.4;4.4.4.4;Typing 'route' should show your which network device the traffic is going down.Also, you can test this by using ping and specifying the ethernet port to use:Ex:ping -I wlan0 google.comCheers,Jon
On Thu, Jul 9, 2020 at 4:10 PM Dennis Lee Bieber <dennis...@gmail.com> wrote:
On Thu, 9 Jul 2020 11:55:02 -0700 (PDT), in
gmane.comp.hardware.beagleboard.user Manderson
To unsubscribe from this group and stop receiving emails from it, send an email to beagl...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/a4631369-a8b5-40f9-aa53-e05a649029f7o%40googlegroups.com.
fisher@beaglebone:~$route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
default 192.168.1.1 0.0.0.0 UG 0 0 0 wlan0
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 wlan0
192.168.1.1 0.0.0.0 255.255.255.255 UH 0 0 0 wlan0
192.168.6.0 0.0.0.0 255.255.255.0 U 0 0 0 usb1
192.168.7.0 0.0.0.0 255.255.255.0 U 0 0 0 usb0
192.168.8.0 0.0.0.0 255.255.255.0 U 0 0 0 SoftAp0
fisher@beaglebone:~$
ping -I wlan0 192.168.1.1
PING 192.168.1.1
(192.168.1.1) from 192.168.1.175 wlan0: 56(84) bytes of data.
^C
--- 192.168.1.1 ping statistics ---
9 packets
transmitted, 0 received, 100% packet loss, time 178ms
To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/a4631369-a8b5-40f9-aa53-e05a649029f7o%40googlegroups.com.
The "Nameservers" setting wll set the /etc/resolv.conf with the nameserver associated with wlan0 and the same is so for IPv4.gateway if you are running IPv4.Name=MySSIDSSID=pk2-passwdFrequency=2462Favorite=trueAutoConnect=trueModified=2020-09-24T07:36:19.092924ZPassphrase=mypasswdIPv4.method=manualIPv4.netmask_prefixlen=21IPv6.method=offIPv6.privacy=disabledHidden=trueIPv4.local_address=192.168.2.210IPv4.gateway=192.168.2.1Nameservers=8.8.8.8;8.8.4.4;4.4.4.4;
# connmanctl config <service> --ipv4 manual <ip address> <netmask> <gateway># connmanctl config <service> --nameservers <dns-addr>
To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/0fc78342-ee89-401b-9b00-b767f24eeb88o%40googlegroups.com.
You received this message because you are subscribed to a topic in the Google Groups "BeagleBoard" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/beagleboard/D0kLUD-zwHY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to beagleboard...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/CAG99bkpeTtDNNmBdtEji1ZP00Zap%2B2ovHaC0Dj_K3St8vvkBiw%40mail.gmail.com.