Because of the length of my reply, I'm duplicating a paragraph from
below here, so it is the first thing seen!
"""
However -- the following
https://machinekoder.com/machinekit-debian-stretch-beaglebone-black/
claims to be instructions for setting up MachineKit on Debian 9 Stretch --
starting from the recent standard (flashable) OS image.
"""
On Wed, 13 Mar 2019 23:16:49 -0700 (PDT), Sardar Vayghannezgad
<
sarda...@gmail.com> declaimed the
following:
>The image I'm using is from here
><
https://elinux.org/Beagleboard:BeagleBoneBlack_Debian#BBW.2FBBB_.28All_Revs.29_Machinekit>
>
> - successfully flashing an image on a microSD card and then transfer
> them on to the BB-Black, so that it can run without the flash card inside,
It is unclear if that image can be converted to a flasher image -- it
may be SD card only. My suggestion would be to FIRST get it working from
the SD card... THEN consider if it can be flashed to the eMMC.
> - connecting BBB to my PC via puTTY and to the internet (albeit,
> apparently Google only, as I cannot have puTTy download any packages)
You don't use PuTTY to "connect[ing] BBB to my PC". PuTTY is a Secure
SHell/telnet client that is used to connect to remote systems -- so the
remote BBB must already be reachable via some network before PuTTY can get
to it.
Since PuTTY is a text console, I don't understand how you claim to have
connectivity to Google -- you aren't running a browser on the BBB (or if
you are it must be an ancient text-only -- like lynx [which I just
installed to demo]).
debian@beaglebone:~$ sudo apt-get install lynx
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
lynx-common
The following NEW packages will be installed:
lynx lynx-common
0 upgraded, 2 newly installed, 0 to remove and 8 not upgraded.
Need to get 1,672 kB of archives.
After this operation, 4,942 kB of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1
http://deb.debian.org/debian stretch/main armhf lynx-common all
2.8.9dev11-1 [1,098 kB]
Get:2
http://deb.debian.org/debian stretch/main armhf lynx armhf
2.8.9dev11-1 [575 kB]
Fetched 1,672 kB in 1s (1,034 kB/s)
Selecting previously unselected package lynx-common.
(Reading database ... 76303 files and directories currently installed.)
Preparing to unpack .../lynx-common_2.8.9dev11-1_all.deb ...
Unpacking lynx-common (2.8.9dev11-1) ...
Selecting previously unselected package lynx.
Preparing to unpack .../lynx_2.8.9dev11-1_armhf.deb ...
Unpacking lynx (2.8.9dev11-1) ...
Processing triggers for mime-support (3.60) ...
Setting up lynx-common (2.8.9dev11-1) ...
Setting up lynx (2.8.9dev11-1) ...
update-alternatives: using /usr/bin/lynx to provide /usr/bin/www-browser
(www-browser) in auto mode
debian@beaglebone:~$ lynx
google.com
Looking up '
google.com' first
debian@beaglebone:~$
-=-=-=-=-
Google
Search Images Maps Play YouTube News Gmail Drive More »
Web History | Settings | Sign in
Google
_______________________________________________________
Google Search I'm Feeling Lucky Advanced search
Language tools
Advertising Programs Business Solutions About Google
© 2019 - Privacy - Terms
(NORMAL LINK) Use right-arrow or <return> to activate.
Arrow keys: Up and Down to move. Right to follow a link; Left to go
back.
H)elp O)ptions P)rint G)o M)ain screen Q)uit /=search [delete]=history
list
-=-=-=-
debian@beaglebone:~$ sudo apt-get remove lynx lynx-common
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
lynx lynx-common
0 upgraded, 0 newly installed, 2 to remove and 8 not upgraded.
After this operation, 4,942 kB disk space will be freed.
Do you want to continue? [Y/n]
(Reading database ... 76408 files and directories currently installed.)
Removing lynx (2.8.9dev11-1) ...
Removing lynx-common (2.8.9dev11-1) ...
Processing triggers for mime-support (3.60) ...
debian@beaglebone:~$
If your only connection is via the USB, you must have Internet
Connection Shariing (ICS) enabled on your PC so that it will gate traffic
between the USB connection (BBB) and the regular internet connection used
by said PC. It is often much more reliable to use a CAT-5 Ethernet cable to
connect the BBB to the router. (May also need to play with Windows Firewall
settings)
On a connection that does not have ICS I get the following (when using
PuTTY on the USB connection):
debian@beaglebone:~$ ping 8.8.8.8
connect: Network is unreachable
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.566 ms
64 bytes from
192.168.7.1: icmp_seq=2 ttl=128 time=0.812 ms
64 bytes from
192.168.7.1: icmp_seq=3 ttl=128 time=0.729 ms
64 bytes from
192.168.7.1: icmp_seq=4 ttl=128 time=0.717 ms
64 bytes from
192.168.7.1: icmp_seq=5 ttl=128 time=0.868 ms
64 bytes from
192.168.7.1: icmp_seq=6 ttl=128 time=0.756 ms
64 bytes from
192.168.7.1: icmp_seq=7 ttl=128 time=0.762 ms
^C
--- 192.168.7.1 ping statistics ---
7 packets transmitted, 7 received, 0% packet loss, time 6009ms
rtt min/avg/max/mdev = 0.566/0.744/0.868/0.089 ms
debian@beaglebone:~$ ping
google.com
ping:
google.com: Temporary failure in name resolution
debian@beaglebone:~$
After plugging in a CAT-5 cable from my router I get:
debian@beaglebone:~$ ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
64 bytes from
8.8.8.8: icmp_seq=1 ttl=121 time=22.5 ms
64 bytes from
8.8.8.8: icmp_seq=2 ttl=121 time=22.9 ms
64 bytes from
8.8.8.8: icmp_seq=3 ttl=121 time=23.3 ms
64 bytes from
8.8.8.8: icmp_seq=4 ttl=121 time=23.4 ms
64 bytes from
8.8.8.8: icmp_seq=5 ttl=121 time=23.0 ms
64 bytes from
8.8.8.8: icmp_seq=6 ttl=121 time=23.0 ms
^C
--- 8.8.8.8 ping statistics ---
6 packets transmitted, 6 received, 0% packet loss, time 5007ms
rtt min/avg/max/mdev = 22.582/23.091/23.451/0.313 ms
debian@beaglebone:~$ ping
google.com
PING
google.com(
dfw25s13-in-x0e.1e100.net (2607:f8b0:4000:803::200e)) 56
data bytes
64 bytes from
dfw25s13-in-x0e.1e100.net (2607:f8b0:4000:803::200e):
icmp_seq=1 ttl=53 time=50.0 ms
64 bytes from
dfw25s13-in-x0e.1e100.net (2607:f8b0:4000:803::200e):
icmp_seq=2 ttl=53 time=49.3 ms
64 bytes from
dfw25s13-in-x0e.1e100.net (2607:f8b0:4000:803::200e):
icmp_seq=3 ttl=53 time=49.3 ms
64 bytes from
dfw25s13-in-x0e.1e100.net (2607:f8b0:4000:803::200e):
icmp_seq=4 ttl=53 time=48.9 ms
^C
---
google.com ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3003ms
rtt min/avg/max/mdev = 48.916/49.427/50.041/0.484 ms
debian@beaglebone:~$
If I use PuTTY with the router issued IP (not the USB IP) and shut-down
the USB PuTTY session I get:
debian@beaglebone:~$ ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
64 bytes from
8.8.8.8: icmp_seq=1 ttl=121 time=23.4 ms
64 bytes from
8.8.8.8: icmp_seq=2 ttl=121 time=23.1 ms
64 bytes from
8.8.8.8: icmp_seq=3 ttl=121 time=22.9 ms
64 bytes from
8.8.8.8: icmp_seq=4 ttl=121 time=22.2 ms
^C
--- 8.8.8.8 ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3006ms
rtt min/avg/max/mdev = 22.288/22.948/23.430/0.430 ms
debian@beaglebone:~$ ping 196.168.7.1
PING 196.168.7.1 (196.168.7.1) 56(84) bytes of data.
^C
--- 196.168.7.1 ping statistics ---
26 packets transmitted, 0 received, 100% packet loss, time 25591ms
debian@beaglebone:~$ ping
google.com
PING
google.com(
dfw06s48-in-x0e.1e100.net (2607:f8b0:4000:80c::200e)) 56
data bytes
64 bytes from
dfw06s48-in-x0e.1e100.net (2607:f8b0:4000:80c::200e):
icmp_seq=1 ttl=53 time=49.7 ms
64 bytes from
dfw06s48-in-x0e.1e100.net (2607:f8b0:4000:80c::200e):
icmp_seq=2 ttl=53 time=49.9 ms
64 bytes from
dfw06s48-in-x0e.1e100.net (2607:f8b0:4000:80c::200e):
icmp_seq=3 ttl=53 time=50.3 ms
^C
---
google.com ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 49.722/49.982/50.308/0.243 ms
debian@beaglebone:~$
Note that the USB connection does not respond.
>My Questions are:
>
> 1. BBB does show up on my PC with the default image
> <
https://beagleboard.org/latest-images> it comes out with, and I can go
> through the instructions available on Beagleboard/getting started webpage
> <
https://beagleboard.org/getting-started#step2>, but once I replace it
> with another Image
> <
https://elinux.org/Beagleboard:BeagleBoneBlack_Debian#BBW.2FBBB_.28All_Revs.29_Machinekit>,
> it doesn't seem to appear as a drive on my PC nor anywhere on the Device
> Manager. However, I can putty it to my PC, and share my PC WiFi with it.
> Given that I have installed the required drivers from BBoard Getting
> Started <
https://beagleboard.org/getting-started#step2>, Is this
> normal?!! If not, What is it that causes this? (I have searched high and
> low online, but haven't come up with a concrete conclusion)
The "drive" you see is a virtual drive presented by Linux to the USB
connection (it used to be a physical FAT partition, but is now an image of
a FAT partition that Linux mounts and connects with a USB storage driver).
The MachineKit image may not be configured to generate a FAT partition for
Windows. If so, it will not appear anywhere on your PC.
Again, you do NOT "putty to my PC"; you are running PuTTY ON the PC and
using SSH to get to the remote BBB. SSH is a network protocol, so is not
related to having anything show up on your PC as a "device".
What does the network info show? From Windows command line:
Microsoft Windows [Version 10.0.17134.648]
(c) 2018 Microsoft Corporation. All rights reserved.
C:\Users\Wulfraed>ifconfig
'ifconfig' is not recognized as an internal or external command,
operable program or batch file.
C:\Users\Wulfraed>ipconfig
Windows IP Configuration
Ethernet adapter Ethernet:
Connection-specific DNS Suffix . :
attlocal.net
IPv6 Address. . . . . . . . . . . : 2600:1700:e630:890::48
IPv6 Address. . . . . . . . . . . :
2600:1700:e630:890:c932:bd85:577:9922
Temporary IPv6 Address. . . . . . :
2600:1700:e630:890:dd60:4af5:539a:dc45
Link-local IPv6 Address . . . . . : fe80::c932:bd85:577:9922%18
IPv4 Address. . . . . . . . . . . : 192.168.1.66
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : fe80::6655:b1ff:fea7:3ba0%18
192.168.1.254
Wireless LAN adapter Wi-Fi:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Wireless LAN adapter Local Area Connection* 2:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Wireless LAN adapter Local Area Connection* 3:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Ethernet adapter Ethernet 2:
Connection-specific DNS Suffix . :
Link-local IPv6 Address . . . . . : fe80::a10d:c6b2:4a61:19f8%14
IPv4 Address. . . . . . . . . . . : 192.168.7.1
Subnet Mask . . . . . . . . . . . : 255.255.255.252
Default Gateway . . . . . . . . . :
C:\Users\Wulfraed>
(Since I don't have ICS running, "Ethernet 2" does not have gateway
information)
From the BBB (with CAT-5 connection)
debian@beaglebone:~$ ifconfig
eth0: flags=-28605<UP,BROADCAST,RUNNING,MULTICAST,DYNAMIC> 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<global>
inet6 fe80::d239:72ff:fe18:3ee5 prefixlen 64 scopeid 0x20<link>
inet6 2600:1700:e630:890::44 prefixlen 64 scopeid 0x0<global>
ether d0:39:72:18:3e:e5 txqueuelen 1000 (Ethernet)
RX packets 67984 bytes 96168301 (91.7 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 41344 bytes 3769311 (3.5 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device interrupt 53
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 1136 bytes 78176 (76.3 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 1136 bytes 78176 (76.3 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
usb0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.7.2 netmask 255.255.255.252 broadcast 192.168.7.3
inet6 fe80::d239:72ff:fe18:3ee7 prefixlen 64 scopeid 0x20<link>
ether d0:39:72:18:3e:e7 txqueuelen 1000 (Ethernet)
RX packets 4719 bytes 358077 (349.6 KiB)
RX errors 0 dropped 5 overruns 0 frame 0
TX packets 306 bytes 61229 (59.7 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
usb1: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
inet 192.168.6.2 netmask 255.255.255.252 broadcast 192.168.6.3
ether d0:39:72:18:3e:ea 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:~$
> 2. I can use my PC WiFi to connect BBB to the Google per online
> instructions, yet any attempt, via puTTY, to download Machinekit Packages
> <
http://www.machinekit.io/docs/getting-started/install-runtime-packages/> (Just
> in case, is the link right for my case?!!) from the related website leads
> in the error:
>
>machinekit@beaglebone:~$ sudo apt-get install machinekit-xenomai
>Reading package lists... Done
>Building dependency tree
>Reading state information... Done
>E: Unable to locate package machinekit-xenomai
>
>
>or
>machinekit@beaglebone:~$ sudo apt-get install machinekit-posix
>Reading package lists... Done
>Building dependency tree
>Reading state information... Done
>E: Unable to locate package machinekit-posix
Note that this link states packages for Wheezy (Debian 7) and "Jessie"
(Debian 8)... But if your BBB has been flashed with a fairly recent system,
it is running Stretch (Debian 9). The pre-built BBB image is running Jessie
(Debian 8). MachineKit packages won't be found when trying apt-get on
Stretch (BTW: did you do a
sudo apt-get update
first, just in case new packages did become available?)
debian@beaglebone:~$ sudo apt-cache search machinekit
debian@beaglebone:~$ sudo apt-cache search chromium
chromium - web browser
chromium-driver - web browser - WebDriver support
chromium-l10n - web browser - language packs
chromium-shell - web browser - minimal shell
chromium-bsu - fast paced, arcade-style, scrolling space shooter
chromium-bsu-data - data pack for the Chromium B.S.U. game
goopg - GPG for Chromium GMail
chromium-lwn4chrome - Chromium extension for making LWN.net slightly easier
to read
chromium-ublock-origin - general-purpose lightweight ads, malware, trackers
blocker (Chromium)
cgpt - GPT manipulation tool with support for Chromium OS extensions
chromium-widevine - web browser - widevine content decryption support
chromium-common - web browser - common resources used by the chromium
packages
chromium-dbgsym - debug symbols for chromium
chromium-driver-dbgsym - debug symbols for chromium-driver
chromium-shell-dbgsym - debug symbols for chromium-shell
debian@beaglebone:~$
Note how Stretch does not find anything for machinekit, but lots for
chromium browser.
However -- the following
https://machinekoder.com/machinekit-debian-stretch-beaglebone-black/
claims to be instructions for setting up MachineKit on Debian 9 Stretch --
starting from the recent standard (flashable) OS image.
>
> 3. I have downloaded the Machinekit Client on my PC. What
>else do I need? I can see online that I need download tightVNC viewer both
>on my PC and on the BBB via puTTY. right? Provided that I can do so, do I
>need to download a VCP (Visual Control Panel) like QtQuickVcp to use in
>conjunction with Machinekit? Should I install this on my PC or BBB or
>both?!!!
>
Can't help -- I THINK you need something running as a web-server on the
BBB to which the client application will connect.
> 4. My keyboard is misspelling on ThightVNC window. How can I
>fix this?
Ask on a TightVNC support group? It probably is a mismatch between
keyboard and display locales.
>
>Any help, however small, would be appreciated.
--
Wulfraed Dennis Lee Bieber AF6VN
wlf...@ix.netcom.com HTTP://wlfraed.home.netcom.com/