Posts

Showing posts from August 13, 2018

How to route between interfaces

Image
Clash Royale CLAN TAG #URR8PPP up vote 0 down vote favorite I have the following setup: (192.168.4.1) Device A <-------> device B <-------> Device C (192.168.5.84) (192.168.5.1) (192.168.4.5) Device B actually has an wifi interface ( wlan0 = 192.168.4.1 ) on which an dhcp server is running. Then there is an cables interface ( eth0 = 192.168.5.1 ). What I want to reach is that devices A and C can talk to each other. I have been reading how to get to this result and I have found that I should use routing to accomplish this. I have tried some things and I do not understand why it is not working. Device A has an static ip (subnet 255.255.255.0 and gateway 192.168.5.1 ). Device C received an ip from the DHCP server (subnet 255.255.255.0 and gateway 192.168.4.1 ). What I have done: On device B I have set enabled the ipforward in /etc/sysctl Added routing: iptables -A FORWARD -i eth0 -o wlan0 -s 192.168.5.0/24 -d 192.168.4.0/24 -j ACCEPT iptables -A FORWARD -i wla

Disk encryption with ecryptfs - full disk

Image
Clash Royale CLAN TAG #URR8PPP up vote 1 down vote favorite i'm new and i hope to find an answer here. Please tell me, if you need more information. I have an disk encryption for my home partition on Linux 4.13.0-43-generic x86_64 (Ubuntu 16.04.4 LTS). Today when I started the laptop, I got the message, that my disk is full and there is no available space any more. With the disk usage analysis I saw, that the encryption directory (/home/.ecryptfs/bianca/.Private) is completly full - the other partition have enough space. I did not find any answer by Google, but I would like to know, if there may be encryption files, which won't be needed any more because they may be outdated or old or anything? If yes, it is possible to remove these files or directories in this directory? Is there any tool, that can delete files, if they are not used any more? Or do you have any other recommendation, what I can do? It would be glad, if someone made already experience with this and