[beagleboard] Re: Beaglebone black connect to Web

2020-10-15 Thread John Dyson
Hi,

You are right disabling the windows firewall allowed the beaglebone to ping 
the windows PC. I disabled the PC wifi in order that there were no issues. 
Any idea how I can configure the firewall in order that the beaglebone over 
the usb cable is allowed through?

Thanks 

On Wednesday, 14 October 2020 at 16:16:49 UTC+1 Dennis Bieber wrote:

> On Wed, 14 Oct 2020 01:01:42 -0700 (PDT), in
> gmane.comp.hardware.beagleboard.user John Dyson
>  wrote:
>
> >Hi,
> >
> >Following these instructions:
> >
> >I have connected the USB Cable and nothing else from the beaglebone to 
> the 
> >PC. All of thwe windows 64 bit drivers have been successfully installed.
> >
>
> Just to follow along on this part, I've pulled the CAT-5 from my BBB.
>
> debian@beaglebone:~$ ifconfig
> eth0: flags=-28669 mtu 1500
> ether d0:39:72:18:3e:e5 txqueuelen 1000 (Ethernet)
> RX packets 164 bytes 13701 (13.3 KiB)
> RX errors 0 dropped 0 overruns 0 frame 0
> TX packets 95 bytes 15719 (15.3 KiB)
> TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
> device interrupt 55
>
> lo: flags=73 mtu 65536
> inet 127.0.0.1 netmask 255.0.0.0
> inet6 ::1 prefixlen 128 scopeid 0x10
> loop txqueuelen 1000 (Local Loopback)
> RX packets 153 bytes 11380 (11.1 KiB)
> RX errors 0 dropped 0 overruns 0 frame 0
> TX packets 153 bytes 11380 (11.1 KiB)
> TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
>
> usb0: flags=4163 mtu 1500
> inet 192.168.7.2 netmask 255.255.255.0 broadcast 192.168.7.255
> inet6 fe80::d239:72ff:fe18:3ee7 prefixlen 64 scopeid 0x20
> ether d0:39:72:18:3e:e7 txqueuelen 1000 (Ethernet)
> RX packets 193 bytes 35656 (34.8 KiB)
> RX errors 0 dropped 4 overruns 0 frame 0
> TX packets 84 bytes 18613 (18.1 KiB)
> TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
>
> usb1: flags=4099 mtu 1500
> inet 192.168.6.2 netmask 255.255.255.0 broadcast 192.168.6.255
> ether d0:39:72:18:3e:eb txqueuelen 1000 (Ethernet)
> RX packets 0 bytes 0 (0.0 B)
> RX errors 0 dropped 0 overruns 0 frame 0
> TX packets 0 bytes 0 (0.0 B)
> TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
>
> No IP address on eth0, expected address on usb0.
>
> >
> >The initial ping to the gateway 192.168.7.1 fails when I SSH into the 
> >beaglebone (Figure 3)
> >
> WHY a screen grab? You are using a text console, aren't you -- just
> select/copy/paste the TEXT...
>
> debian@beaglebone:~$ route
> Kernel IP routing table
> Destination Gateway Genmask Flags Metric Ref Use
> Iface
> 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
> debian@beaglebone:~$ ping 192.168.7.1
> PING 192.168.7.1 (192.168.7.1) 56(84) bytes of data.
> 64 bytes from 192.168.7.1: icmp_seq=1 ttl=128 time=0.368 ms
> 64 bytes from 192.168.7.1: icmp_seq=2 ttl=128 time=0.475 ms
> 64 bytes from 192.168.7.1: icmp_seq=3 ttl=128 time=0.501 ms
> 64 bytes from 192.168.7.1: icmp_seq=4 ttl=128 time=0.491 ms
> ^C
> --- 192.168.7.1 ping statistics ---
> 4 packets transmitted, 4 received, 0% packet loss, time 9ms
> rtt min/avg/max/mdev = 0.368/0.458/0.501/0.059 ms
> debian@beaglebone:~$
>
> Pinging the host computer works, even without a gateway setting (since
> 192.168.7.1 and 192.168.7.2 are the same network, and likely it is presumed
> that all hosts on that network can be reached using the adapter [usb0] that
> is itself on the network).
>
>
>
> If that simple step is failing, you might have to check whatever
> firewall you have running on Windows.
>
>
>
> NEXT action I tried was opening the Windows "Network Connections"
> control panel. BRIDGING "Ethernet" (remember -- My systems are normally
> cable connection) and "Ethernet 2" (the RNDIS gadget) is not the correct
> action, as it kills the Internet access on "Ethernet" (and there is an
> advisory that one cannot bridge an ICS adapter).
>
> So... remove bridge, open "Ethernet" and enable Sharing, specifying
> "Ethernet 2" as the private network side.
>
> With ICS active, Windows assigned 192.168.137.1 to the RNDIS adapter! I
> just edited that to use a manual IP address 192.168.7.1, length 24, and
> gateway is set to my router (192.168.1.1). (I used the "WiFi" section as
> that was the control panel type I had open)
> https://pureinfotech.com/set-static-ip-address-windows-10/ 
>
> SSH back into the BBB at 192.168.7.2.
>
> Lastly, I added a gateway on the BBB...
>
> debian@beaglebone:~$ route
> Kernel IP routing table
> Destination Gateway Genmask Flags Metric Ref Use
> Iface
> 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 2

[beagleboard] Re: Beaglebone black connect to Web

2020-10-14 Thread John Dyson
Hi,

Following these instructions:

I have connected the USB Cable and nothing else from the beaglebone to the 
PC. All of thwe windows 64 bit drivers have been successfully installed.

https://www.digikey.com/en/maker/blogs/how-to-connect-a-beaglebone-black-to-the-internet-using-usb

The initial ping to the gateway 192.168.7.1 fails when I SSH into the 
beaglebone (Figure 3)

Before this I have configured the "created" network adapter when I connect 
the USB cable named as Ethernet 3 Uidentified network "Remote NDIS 
Compatible Device" as 

Internet Protocol Version 4 (TCP/IPv4) Properties

IP address 192.168.7.1
Subnet Mask: 255.255.255.0
Preferred DNS server: 8.8.8.8
Alternate DNS Server: 8.8.4.4

I've setup the Wifi Network Adapter from the PC as shared with "Ethernet 3" 
detailed above.

tried this command "sudo /sbin/route add default gw 192.168.7.1"

The ping still doesn't work.

attempting this even which sudo "echo "nameserver 8.8.8.8" >> 
/etc/resolv.conf  "

Gives permission denied however this is a step later on the process as the 
initial ping should work.

Thanks in advance for all your help :-)

On Monday, 12 October 2020 at 18:23:34 UTC+1 Dennis Bieber wrote:

> On Sun, 11 Oct 2020 02:46:28 -0700 (PDT), in
> gmane.comp.hardware.beagleboard.user John Dyson
>  wrote:
>
> >Hi,
> >
> >I think the problem is with the network adapter not working correctly in 
> >windows. The network adapter shown is "Remote NDIS compatible Device".
> >
>
> That adapter is the norm for the BBB USB "ethernet" emulation.
>
> How are you powering the BBB? Using USB from the host computer? If so,
> you also have the USB ethernet gadget active.
>
> In either case, you need the BBB configured to /route/ packets to the
> next node in your network. Normally that would be an internet router --
> even though I've powered this BBB using the USB (and hence have the
> 192.168.7.x IPs active) it is also connected to my router over a CAT-5
> cable. Note that the router issued the BBB 192.168.1.69, and also that the
> default destination for packets is the router (ATT U-Verse service).
>
> debian@beaglebone:~$ ifconfig
> eth0: flags=-28605 mtu 1500
> inet 192.168.1.69 netmask 255.255.255.0 broadcast 192.168.1.255
> inet6 2600:1700:e630:890:d239:72ff:fe18:3ee5 prefixlen 64 scopeid
> 0x0
> inet6 fe80::d239:72ff:fe18:3ee5 prefixlen 64 scopeid 0x20
> inet6 2600:1700:e630:890::31 prefixlen 64 scopeid 0x0
> ether d0:39:72:18:3e:e5 txqueuelen 1000 (Ethernet)
> RX packets 111 bytes 13355 (13.0 KiB)
> RX errors 0 dropped 0 overruns 0 frame 0
> TX packets 139 bytes 23120 (22.5 KiB)
> TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
> device interrupt 55
>
> lo: flags=73 mtu 65536
> inet 127.0.0.1 netmask 255.0.0.0
> inet6 ::1 prefixlen 128 scopeid 0x10
> loop txqueuelen 1000 (Local Loopback)
> RX packets 81 bytes 6556 (6.4 KiB)
> RX errors 0 dropped 0 overruns 0 frame 0
> TX packets 81 bytes 6556 (6.4 KiB)
> TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
>
> usb0: flags=4163 mtu 1500
> inet 192.168.7.2 netmask 255.255.255.0 broadcast 192.168.7.255
> inet6 fe80::d239:72ff:fe18:3ee7 prefixlen 64 scopeid 0x20
> ether d0:39:72:18:3e:e7 txqueuelen 1000 (Ethernet)
> RX packets 118 bytes 27503 (26.8 KiB)
> RX errors 0 dropped 4 overruns 0 frame 0
> TX packets 46 bytes 10444 (10.1 KiB)
> TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
>
> usb1: flags=4099 mtu 1500
> inet 192.168.6.2 netmask 255.255.255.0 broadcast 192.168.6.255
> ether d0:39:72:18:3e:eb txqueuelen 1000 (Ethernet)
> RX packets 0 bytes 0 (0.0 B)
> RX errors 0 dropped 0 overruns 0 frame 0
> TX packets 0 bytes 0 (0.0 B)
> TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
>
> debian@beaglebone:~$ route
> Kernel IP routing table
> Destination Gateway Genmask Flags Metric Ref Use
> Iface
> default dsldevice.attlo 0.0.0.0 UG 0 0 0
> eth0
> 192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0
> eth0
> dsldevice.attlo 0.0.0.0 255.255.255.255 UH 0 0 0
> eth0
> 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
>
> If you are connecting to an ethernet port on your computer, your host
> computer has to also be configured to act as a router -- that is, it has to
> accept packets from the BBB, and pass them on to whatever node the host has
> defined as a gateway.
>
> THIS ACTION is not automatic for Windows! In some versions it is known
> as Internet Connection Sharing (ICS), and requires configuration to "link"
> the (to-be-shared) network with the devices connected to the host computer.
> cf:
>
> https://answers.microsoft.com/

[beagleboard] Re: Make Micro SD card bootable in windows

2020-10-14 Thread John Dyson
Hi,

I have managed to resolve this using virtualbox and GPartedin ubuntu.

thanks

On Monday, 12 October 2020 at 18:26:10 UTC+1 Dennis Bieber wrote:

> On Sun, 11 Oct 2020 02:48:35 -0700 (PDT), in
> gmane.comp.hardware.beagleboard.user John Dyson
>  wrote:
>
> >Is there a tool in windows that reliably marks the SD card as bootable to 
> >change the MLO? Or would it better to do it from virtual box ubuntu?
>
> There is, to my knowledge, nothing in Windows that understands EXTn
> file systems/partitions.
>
>
> -- 
> Dennis L Bieber
>
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/ac5e61a0-5d62-43c0-9765-64e38c3bf43bn%40googlegroups.com.


[beagleboard] Make Micro SD card bootable in windows

2020-10-12 Thread John Dyson
Hi,

Is there a tool in windows that reliably marks the SD card as bootable to 
change the MLO? Or would it better to do it from virtual box ubuntu?

Thanks

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/62ade5ce-82e7-452e-9ca0-ae8720c49e66n%40googlegroups.com.


Re: [beagleboard] Re: Beaglebone black connect to Web

2020-10-12 Thread John Dyson
Hi,

I think the problem is with the network adapter not working correctly in 
windows. The network adapter shown is "Remote NDIS compatible Device".

Thanks

On Thursday, 8 October 2020 at 16:08:36 UTC+1 jonn...@gmail.com wrote:

> Are you following the instructions listed at the following link?
>
> https://www.digikey.com/en/maker/blogs/how-to-connect-a-beaglebone-black-to-the-internet-using-usb
>
> Have you set the default router on your BBB?
> Ex:
>* sudo /sbin/route add default gw 192.168.7.1  *
>
> Cheers,
>
> Jon
>
> On Thu, Oct 8, 2020 at 6:16 AM Tarmo  wrote:
>
>> On Thursday, October 8, 2020 at 3:16:24 PM UTC+3 dysona...@gmail.com 
>> wrote:
>>
>>> I have a beaglebone black and I'm attempting to connect it to the 
>>> outside world.  I have the latest debian image installed.
>>>
>>> Here is what I have done:
>>>
>>> - installed latest windows 64 bit drivers
>>> - Configured my wifi network adapter to be shared with the network 
>>> adapter created through the USB cable connection.
>>>
>>> When I attempt to ping www.google.com I get the error "Temporary 
>>> failure in name resolution"
>>>
>>> Any help would be of benefit.
>>>
>>
>> IIRC the BB-s virtual Ethernet port is not configured to be an uplink to 
>> the Internet - the Ethernet port is. Changing this is going to be tricky 
>> (not impossible, but requires in-depth understanding of what you're doing).
>>
>> The simplest way to solve your problem is to connect the BB to Internet 
>> using an Ethernet cable and your nearest router.
>>
>> --
>> Kind regards,
>> Tarmo
>>
>> -- 
>> 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/2f1af32f-1814-4d5d-837b-4aea0dc59984n%40googlegroups.com
>>  
>> 
>> .
>>
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/928614b0-3cd3-49ed-9e59-4c42294b780fn%40googlegroups.com.