Forum Replies Created
-
AuthorPosts
-
pabloParticipant
Hello!Just as an update to my last comment. I also got an error with the pip command (you can see the error comment attached in the previous comment). I tried to install the “pip” command doing:
apt-get update
apt-get install python-pip
This produces the same error that I´m getting at some point when running setup sh: “E: You don’t have enough free space in /var/cache/apt/archives/”
I am wondering why I don´t have space or whether I should put a micro sd to have more space or something (sorry it is my first time with a beaglebone, maybe some questions are too obvious). Thanks in advance for your help!pabloParticipantHello! I installed the proper Linux version and repeated everything. The internet connection was still failing but hotspotting from my phone solved it (so probably there are some issues with the university network). Now, when running setup.sh , packages can be download properly (I think), but after a bit less than 10 minutes I get an error and the beaglebone gets disconnected (I have tried several times and it always fails in the same step). There is an error about not enough space for cache at some point, but I am not sure if that is the problem. Here is the error I get (it is the second time I run it, so for that reason, some requirements are already satisfied): https://docs.google.com/document/d/1VNSd71KDLOIvlW6t1f4Hj9ExwGy09r3JkIv71Z1lbkI/edit?usp=sharing
Any help is appreciated. Thanks a lot!
pabloParticipantOh shit! then yes, that might have been the problem (I´m so sorry for the confusion, and for the inconvenience), thanks a lot! I will try to repeat everything with the proper one and let you know if that works.
pabloParticipantThanks a lot for your answer. This is the operating system image I used: bone-debian-10.4-iot-armhf-2020-05-18-4gb.img, hope it is the correct one.
And about the connection, I can try to hotspot from a phone for example yes. Actually, I already read about that in the blog and tried that when I was having trouble with naming the network in the resolv.conf file (in this case, even with the hotspot connection I couldn´t manage to properly rename the network and get to work “ping google.com”, but maybe it helps to download the files properly when running setup.sh)
pabloParticipant(CONTINUE MESSAGE 985)
Sorry it doesn´t let me copy the code, hope this link works: https://docs.google.com/document/d/1C4R39JM59ymFWdwxof-KUE9ZMRZZUpRRx6GNE0lL2sA/edit?usp=sharingDoes anyone know which can be the problem (or is it possible that those are minor errors) ? I guess we still have a problem with the connection, but I don´t know how to solve it. Any help is welcome. thanks in advance for your help!
pabloParticipantHello, we managed to connect through FileZilla and run the setup.sh, however, I think it didn´t work properly.
After running it we could register through putty using root as user and password as described; then inside /root/chibio we have the following 4 files: “app.py”, “cb.ch”, “static”, “templates”. However, the reason why I think it didn´t work is that we got all the following errors while running the setup.sh (they will be separated in different messages because otherwise it doesn´t let me comment, I guess the reason is that it is too long):
pabloParticipantThanks a lot for your answer!
Regarding resolv.conf I actually can see the file inside /etc, the problem is that if I try to see its content for example with “less /etc/resolv.conf” it says that there is no such file or directory. Then I edit it with nano or vim, and now I can see the changes are saved, but still ping google.com wouldn´t work; then if I disconnect the beaglebone and connect again, the file resolv.conf will be empty again.
Anyway, as you suggest, I will focus on the FileZilla problem, because in my case it does not look like the image you sent, so I´ll try to download the right one and see if I continue the tutorial from there and run the setup.sh
pabloParticipantGood news, THE ISSUE IS SOLVED. I don’t know which was the problem, I think I did the same as the first time. This time, however, as the beaglebone was only recognized by the computer with the card inside I access it through putty like that. Then I edited the code as described, disconnect, connect again and the Linux flashing worked!
Now, unfortunatelly I am STUCK IN A FURTHER STEP: when connecting the beaglebone to the internet through USB. We have a windows 10 pc, I followed the tutorial in http://ofitselfso.com/BeagleNotes/HowToConnectPocketBeagleToTheInternetViaUSB.php , everything worked and when runing <ping 8.8.8.8> it is working. The problem comes when we have to configure our nameserver. The file /etc/resolv.conf did not exist, so I created it a wrote in it the following as described:
domain localdomain
search localdomain
nameserver 8.8.8.8
nameserver 8.8.4.4
But after this, the command <ping google.com> still doesn´t run, it says “Temporary failure in name resolution”
Then I tried to connect to the beaglebone with FileZilla (using IP 192.168.7.2, port 22, password temppwdt, but they don´t ask for user) it does not work. It prints “Protocol error: Unknown protocol identifier (0x83 0x83 0x72) most likely connected to the wrong port. Connection to server closed”. I guess it can be due to the fact that I couldn´t configure my nameserver.Could you give any advice to solve this problem? Thanks in advance for your help!
pabloParticipantHI Harrison,
Thanks a lot for your reply!
1) Yes, we changed the code as described
2) Yes, we hold S2 switch for 20 seconds when connecting the Beaglebone with the flashed micro sd to the computerAbout the files I would have to check again with the device next week. The main issue is that now, after trying to flash Linux into the beaglebone and then reset it, when connecting the Beaglebone w/o micro sd to the computer it is not recognized and we cannot access it using Putty (here 4 lights are constantly on). If we connect it instead with the micro SD card in and hold the S2 button, then the computer recognizes it and we can access it with Putty (in this case light 1 will be flashing intermittently, and light 3 will flash weakly, lights 2 and 4 will be off)
If you need any more details to try to replicate the issue I can check anything from Monday as we have the beaglebone in the lab, just let me know. Thanks in advance for your help.
pabloParticipantJust for more information about the issue. When trying to flash Linux into the Beaglebone Black, only LED 1 and slightly 3 were lighting (instead of the 4 of them). So that’s why we thought something was wrong and after 40 min (it is supposed to take 15 min) we pressed the reset button of the Beaglebone. After that, when we connect to the computer without the micro sd card, the 4 LEDs turn on at the same time and it is not recognized by the computer. When we connect it with the flashed micro sd and press button S2, then we go back to the same state of LED 1 and slightly LED 3 lighting and at that moment it is recognized by the computer. Do you know how to solve the issue and which should be exactly the light pattern while flashing Linux into the Beaglebone? Thanks!
-
AuthorPosts