-
As cobito told you, in the guide you have how to set up an ftp server.
Although I recommend SFTP (FTP over SSH) since FTP servers, as I understand it, do not encrypt anything, not even the access key, so if you are going to enter from a network that you do not have totally controlled it is not entirely recommended.Regarding ROOT permissions when running the X's through SSH, I do not know about raspberrian but in debian I have no problems and with lubuntu I did not have any either. I run Pcmanfm without problems as root.
-
What a streak I'm on. I was messing around with Apache and had decided to configure it to have the folder where the page is saved in the user's home instead of in /var/www, but with all the messing around I've done I've preferred to uninstall Apache and when I restart to make sure it doesn't accept SSH connections although it does ask for the password. As a curiosity, it does allow me to connect to the Transmission web interface.Well, I have to wait again until Wednesday or do 20 extra kms tomorrow to restart the machine correctly :mad:
-
What a streak I'm on. I was messing around with Apache and had decided to configure it to have the folder where the page is saved on the user's home instead of in /var/www, but with all the messing around I've done I've preferred to uninstall Apache and when I restarted to make sure it turns out that it doesn't accept SSH connections although it does ask for the password. As a curiosity it does allow me to connect to the Transmission web interface.
So, I have to wait again until Wednesday or do 20 extra kms tomorrow to restart the machine correctly :mad:
I feel identified. In my case the journey is 150 km. The curious thing is that sometimes it fixes itself. I think all this is related to the issue of SD card data corruption.
In a couple of weeks I'll start investigating how to install Raspbian on the external hard drive to have the least possible access to the SD card.
PD: Yorus, I edited your post without wanting to. I clicked edit instead of quote and I started writing as happily as if it were a new post :facepalm:. I left it exactly as it was.
-
What a streak I'm on. I was messing around with Apache and had decided to configure it to have the folder where the page is saved on the user's home instead of in /var/www, but with all the messing around I've done I preferred to uninstall Apache and when I restarted to make sure it turns out that it doesn't accept SSH connections although it does ask for the password. As a curiosity, it does allow me to connect to the Transmission web interface.
So, I have to wait again until Wednesday or do 20 extra kms tomorrow to restart the machine properly :mad:
I didn't think twice and told him to turn it off instead of restarting :ugly: :ugly:
I feel identified. In my case the journey is 150 km. The curious thing is that sometimes it fixes itself. I think all this is related to the issue of SD card data corruption.
In a couple of weeks I'll start investigating how to install Raspbian on the external hard drive to have the least possible access to the SD card.
PD: Yorus, I edited your post without meaning to. I clicked edit instead of quote and started writing as happily as if it were a new post :facepalm:. I left it exactly as it was.
Exactly like me, 150 km. But well I waited for it to be my turn to go... because if not...
I'm surprised by the amount of problems you're having with the SD issue... how is it possible so much data corruption? maybe it's a Raspbian thing?
-
I still have to confirm that it's a matter of the SD card again, but given what I've seen, there are many possibilities. We'll see when I look at it on Wednesday.
The thing about turning off instead of restarting sounds familiar to me, but my case was a bit different, since I had two terminals open, the one on the raspberry via SSH and the one on the local computer, and believing I was with the raspberry I did a'sudo reboot' of the PC with a lot of things open :ugly:. It didn't ask for a password because I was tinkering around and let's say that the permissions hadn't expired yet.
-
I feel bad linking several posts in a row, but if I don't, the notifications that someone has written
won't arrive.Well, I'm in front of the beast and I can't log in directly to the machine, it says:
Cannot execute: No such file or directoryI had enabled root but I can't log in as root or as pi.
-
Insert the card into a PC with Linux and without mounting it, type in the console
fsck -f /dev/sdb2Note that sdb is the device corresponding to the SD card if you only have one hard drive and there is nothing in the optical drives. If you are not sure (you can mess things up if you make a mistake), type:
df -hThere look at the device (first column) that corresponds to your SD card based on capacity. If you are not sure, mount it and run df -h again, using the mount point to locate it. REMEMBER TO UNMOUNT IT BEFORE RUNNING FSCK OR YOU WILL LOSE EVERYTHING.
Remember to add the 2 after sdX because that indicates the partition. If you don't, it will give a superblock error.
If you see that the number of errors is very large, run
fsck -fy /dev/sdb2
and everything will be automatically confirmed.
Run it several times until there are no errors.
-
Coincidentally it is also sdb2, but it doesn't throw errors:
sudo fsck -f /dev/sdb2 fsck from util-linux 2.20.1 e2fsck 1.42.5 (29-Jul-2012) Step 1: Checking i-nodes, blocks and sizes Step 2: Checking directory structure Step 3: Checking directory connectivity Step 4: Checking reference counts Step 5: Checking group information summary /dev/sdb2: 71793/245760 files (0.2% non-contiguous), 453837/954880 blocksAnd it continues with the same error. I don't know, I'm going to opt for a clean installation again to see if messing around with permissions and other things with Apache has messed something up. I could try to recover it from the PC, but I think it would take me less time this way and I can make sure that the Apache issue is back in place.
-
Now the same thing happens to me. The problem is that the services that depend on MySQL also cannot contact the database even though the web server is working fine. If I don't find a solution to these problems I'm going to have to look for an alternative. The services that run on the Raspi are not used for critical things, but I have to have some confidence that I will be able to resort to them when I want. -
Well, we're in a bit of a pickle. Let's see if I can give it another try this weekend and start investigating these glitches, firmware, etc...
-
¡Esta publicación está eliminada! -
I'm still struggling with the setup. I followed this guide to move almost everything to the external hard drive, as the file system has once again been messed up: http://belinuxmyfriend.blogspot.com.es/2012/11/arrancando-la-raspberry-pi-desde-un.html and it worked except for the step of making the root partition take up the whole disk, because it tries to do it on the next reboot but fails. I decided to connect the disk to the laptop again and did it with Gparted without any problems, the only thing is that it keeps trying (and failing) to resize the partition on each boot. Another problem I encountered, but before doing all this, is when doing the update of raspy-config, which causes it not to work on the next reboot. We'll see how it goes after the apt-get upgrade I'm doing now, but I'm considering going back to the old C7 for these issues and I'll keep messing around with this one more calmly, but at least have something that gives me service. -
I'm still struggling with the setup. I followed this guide to move almost everything to the external hard drive, since the file system has been messed up again:
http://belinuxmyfriend.blogspot.com.es/2012/11/arrancando-la-raspberry-pi-desde-un.html
and it worked for me except for the step of making the root partition take up the whole disk, because it tries to do it on the next reboot but fails. I decided to connect the disk to my laptop again and did it with Gparted without any problems, the only thing is that it keeps trying (and failing) to resize the partition every time it boots.
Another problem I encountered, but before doing all this, is when doing the update of raspy-config, which makes it not work on the next reboot.
We'll see how it goes after the apt-get upgrade I'm doing now, but I'm considering going back to the old C7 for these issues and I'll keep messing around with this one more calmly, but at least have something that works.
That same guide is the one I planned to follow when I tried, but instead of expanding the partition to the whole hard drive, I plan to use some partition manager to manually expand it to 20 or 30 gb and create another partition for data.
If this keeps causing problems, I'll take the Raspi out of service until further notice. I already have an Atom N270 ready to replace it if needed.
-
¡Esta publicación está eliminada! -
The truths that the SDs give quite a few problems.
I now have raspbian + xbmc + retroArch and sometimes when loading retroArch it gives me an error and I think I will have to leave only the boot system on the SD and the rest on a hard drive
But for now happy, it offers quite a lot as a multimedia center and classic games.
Greetings!!
-
The truths that the SDs give quite a few problems.
I now have raspbian + xbmc + retroArch and sometimes when loading retroArch it gives me an error and I think I will have to leave only the boot system on the SD and the rest on a hard drive
But for now I am happy, it offers quite a lot as a multimedia center and classic games.
Greetings!!
What classic games have you installed?, emulators perhaps? It's more curiosity than anything else, because if I did it I would do it on another PC.
-
Mother of beautiful love. I just checked the SD card and it is so messed up that it is impossible to do anything with it with any partitioning utility for Windows or Linux or any of the most famous (for effective) utilities to restore SD cards.
Pfff, what a frustrating and disappointing debut the Raspi is having as a server for me.
Let me see if I investigate a bit how to solve this because if not...
For now I am already setting up the Atom to take over its function until I find a definitive solution.
-
Yes, things are messed up, just by looking at it the SD card goes to hell. I've done several tests and if you have to turn it off by force... forget about not having errors.
For now I give up using it for torrents, after all, to have it on for 24 hours every two weeks I can afford to leave the desktop on. I have reinstalled the web server (lighttpd instead of Apache) and let's see if I don't mess with the permissions and I can leave at least one blog online.
The truth is that I am surprised by so many problems, because I have read in many other forums and it is not something generalized although it does happen to quite a few people.
-
Have you tried installing a different distro?
Is it possible to install everything from the system on an hdd via usb and only leave the boot files on the SD? -
No, I have not tested it with another system, because it is supposed to be the best for general purposes (not multimedia).
Installing everything on the external drive except the boot is easy with this guide:
http://belinuxmyfriend.blogspot.com.es/2012/11/arrancando-la-raspberry-pi-desde-un.html
although personally I had a problem with the part of using expand_rootfs and I had to do it on another computer with Gparted.
For now, as I said, I give up on the torrent issue on the raspberry but I will install the web server and ownCloud, but instead of on an external drive on a pendrive, which seems to be more reliable than the SD card.