Also as you are using a work computer at home, are you by any chance using a VPN to connect to your work ? If so, it could be that all IP traffic is being routed via VPN.
I think your issues are with your Windows computer. I have the same version of software on my BBB and there are no issues SSH’ing via ethernet or USB for me from my Linux laptop.
Brilliant!!! That was it : if I stop the VPN, the BBB is back!
Here is what I did :
Flash the Linux again, for a fresh start
Remove the SD card
Plug the ethernet cable from the router to the BBB
Plug the BBB to the computer via USB
In this configuration, with the VPN on, the BBB appears as a new drive but no way to SSH it on 192.168.7.2.
If I switch off the VPN, everything comes back: I can SSH (user: debian), ping Google, etc.
But now, I have another problem: when I try apt-get update I get
mmcblk1p1 is your root fs on the eMMC.
I have no idea how much space the XFCE image takes.
I only have old BBB’s with 2GB eMMC so I can’t fit the image on it anyway. I usually just use the minimal non desktop version.
Actually, I may not need xfce.
What I need (in the future, when everything is set) is to connect a 4.3" capacitive touch LCD cape (that I bought recently) and use it for interfacing with Python (using tk possibly). I thought this was only possible with xfce. But if xfce is not needed, then I can flash a smaller image.
After that, I’m planning to run some AI applications, so I also need memory.
Depends on how you build your interface. You don’t necessarily need a full desktop.
You could try LVGL, it is mostly C based though but does have bindings for micro python. They are probably others.
In the past I have used QT with a framebuffer backend and that was on a 2GB eMMC BBB.
I have found a thread somewhere saying that the IOT has everything but xfce, and the minimal has mostly netork and you need to install the rest (such as python).
I don’t feel comfortable with that right now, I’ll try the IOT version. They said it takes around 2GB.
Hi
I have installed some of the packages I require (such as gnuplot, libopencv-dev) and there is now only a small space left for the rest. I may run out of memory.
Start again but from the minimal version, as you suggested,
Keep the IOT version but run it from a SD card.
As I said, I’m not comfortable with the first option, because I fear that I will miss some important packages or libraries.
In the second case, I have 2 questions:
Right now, the flasher is enabled, so each time I insert the SD card and boot, it flashes the eMMC, which is not what I need. How can I turn the flasher off?
If I boot from a SD card and install some packages, are they installed in the SD card as well or in the eMMC?
If they are installed in the SD card, then using a 64GB card should enable to install everything I need.
sounds like some of your packages are pulling in some hefty dependencies.
You could try doing an ‘apt-get clean’
This will remove the downloaded deb files from the apt cache - assuming apt is caching them. This will give you back some space depending on how much you have downloaded.
But it sounds like you will probably be better of running from SD.
If you boot from the SD card, then all installed packages are on the SD card only.
I don’t think the eMMC is mounted when booting from SD.
I think (not sure, Robert will hopefully tell you) that the flasher is a systemd service, that you can disable. There is a post on the forum somewhere mentioning the flasher.
If you are going to run from SD, just download the non-flasher version and put that on the SD card.
Edit:
No, actually these are 2 ways of flashing from the SD card (manual and automatic).
Back to the question : how to disable auto flash from SD card?
Yes you are right, but I’m very new to embedded linux and I fear that I might have difficulties.
The easiest, but far from elegant, would be to use a large SD card, put the xfce version in it and boot from it.
So if I write the xfce version on a new large SD card (I have a 64GB) and boot the BBB with the card inside, it will boot from the card (instead of flashing the eMMC from the card) ?