You can choose to add a swap-file.
Similar to what windows does.
you create a swap-file, usually in root. But do it on the partition with the most space.
sudo fallocate -l 2G /swapfile
Usually you take 2 times the available ram, 1G ram x 2 = 2G swapfile.
Assign it read/write permissions for ...
Search found 130 matches
- Wed Sep 10, 2025 7:01 pm
- Forum: Linux
- Topic: swap partition not present
- Replies: 1
- Views: 1970
- Thu Aug 01, 2024 9:04 pm
- Forum: General
- Topic: openvpn Authenticate/Decrypt packet error: packet HMAC authentication failed
- Replies: 1
- Views: 519504
Re: openvpn Authenticate/Decrypt packet error: packet HMAC authentication failed
This usually means you have the wrong ta.key installed on Server or client.
Check
or
Make sure the are the same.
Check
Code: Select all
tls-auth /etc/openvpn/easy-rsa/pki/ta.key 0
Code: Select all
<tls-crypt>
- Sun May 19, 2024 12:14 pm
- Forum: Linux
- Topic: ping scan LAN network
- Replies: 1
- Views: 521246
Re: ping scan LAN network
Excellent tools are nmap and fping
nmap -sP 192.168.1.1/24
fping -a -r 0 -g 192.168.1.1/24
But if you don't want to install a new tools,
you can try with the default ping.
for i in {1..254}; do (ping -vc 1 -t 4 192.168.1.$i); done
Or, if you want a clearer output, add grep:
for i in {1 ...
nmap -sP 192.168.1.1/24
fping -a -r 0 -g 192.168.1.1/24
But if you don't want to install a new tools,
you can try with the default ping.
for i in {1..254}; do (ping -vc 1 -t 4 192.168.1.$i); done
Or, if you want a clearer output, add grep:
for i in {1 ...
- Sat May 06, 2023 5:58 pm
- Forum: Linux
- Topic: openvpn Authenticate/Decrypt packet error: packet HMAC authentication failed
- Replies: 2
- Views: 278775
Re: openvpn Authenticate/Decrypt packet error: packet HMAC authentication failed
It looks like there is problem with the key.
If you can post part of your server/client config
we can verify a little more.
If you can post part of your server/client config
we can verify a little more.
- Thu Apr 27, 2023 6:41 pm
- Forum: General
- Topic: Remove write protection on a usb drive
- Replies: 2
- Views: 266687
Re: Remove write protection on a usb drive
You can check with hdparm :
sudo hdparm /dev/sdc
/dev/sdc:
multcount = 0 (off)
readonly = 1 (on)
readahead = 256 (on)
geometry = 15904/64/32, sectors = 32571392, start = 0
Change it with:
sudo hdparm -r0 /dev/sdc1
If it doesn't work, it might be a problem with the USB drive.
sudo hdparm /dev/sdc
/dev/sdc:
multcount = 0 (off)
readonly = 1 (on)
readahead = 256 (on)
geometry = 15904/64/32, sectors = 32571392, start = 0
Change it with:
sudo hdparm -r0 /dev/sdc1
If it doesn't work, it might be a problem with the USB drive.
- Thu Apr 27, 2023 11:09 am
- Forum: General
- Topic: Remove write protection on a usb drive
- Replies: 2
- Views: 266687
Re: Remove write protection on a usb drive
Best is to erase the partitions with fdisk or gparted
and create new ones.
and create new ones.
- Thu Apr 27, 2023 8:53 am
- Forum: General
- Topic: Remove write protection on a usb drive
- Replies: 2
- Views: 266687
Remove write protection on a usb drive
ho do I remove write protection on a usb drive ?
I have a drive that I want to format.
but when I try to do it under windows,
I get the message that the drive is write-protected.
I have a drive that I want to format.
but when I try to do it under windows,
I get the message that the drive is write-protected.
- Thu Feb 09, 2023 8:49 pm
- Forum: Linux
- Topic: debian set ntp client
- Replies: 1
- Views: 227525
Re: debian set ntp client
if you have the latest version of Debian, Buster.
it probably uses systemd.
The config files are in /etc/systemd/
You can check the current NTP server with:
systemctl status systemd-timesyncd
edit the file: /etc/systemd/timesyncd.conf
add the server:
# add to the end : set NTP server for your ...
it probably uses systemd.
The config files are in /etc/systemd/
You can check the current NTP server with:
systemctl status systemd-timesyncd
edit the file: /etc/systemd/timesyncd.conf
add the server:
# add to the end : set NTP server for your ...
- Wed Jan 25, 2023 10:23 am
- Forum: Windows
- Topic: Solved: how can i find login used by network drive mapping?
- Replies: 2
- Views: 624296
Re: how can i find login used by network drive mapping?
you can use the command:
It shows the username
Code: Select all
wmic netuse where LocalName="Z:" get UserName /value
- Mon Jan 23, 2023 7:18 pm
- Forum: Linux
- Topic: ifconfig not found on debian ?
- Replies: 1
- Views: 225368
Re: ifconfig not found on debian ?
You can use :
ip address
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever ...
ip address
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever ...