I've always added the swapon command to /etc/rc.d/rc.local
Search found 201 matches
- Wed Jan 29, 2025 2:57 pm
- Forum: Users
- Topic: How To Make a Swap Partition Run On Start UP? (Solved)
- Replies: 8
- Views: 200
- Mon Jan 27, 2025 3:13 pm
- Forum: BookwormPup
- Topic: Mistakes in GUI backup, please fix (Pupsave Backup)
- Replies: 108
- Views: 4242
Re: Mistakes in GUI backup, please fix (Pupsave Backup)
Looks advanced. Does it work in Bookworm?
I do not know. I don't use Bookworm. (32bit only here)
- Mon Jan 27, 2025 2:20 pm
- Forum: BookwormPup
- Topic: Mistakes in GUI backup, please fix (Pupsave Backup)
- Replies: 108
- Views: 4242
Re: Mistakes in GUI backup, please fix (Pupsave Backup)
.
.
Slacko-7 from years past had this little gem for backups, snap2.
- Sun Jan 26, 2025 1:41 pm
- Forum: BookwormPup
- Topic: Mistakes in GUI backup, please fix (Pupsave Backup)
- Replies: 108
- Views: 4242
Re: Mistakes in GUI backup, please fix (Pupsave Backup)
@Governor
Out of curiosity, how many backups do you have (compressed and uncompressed)?
- Thu Jan 23, 2025 2:59 am
- Forum: Users
- Topic: Directory compare & backup - suggestions?
- Replies: 28
- Views: 1745
- Thu Jan 23, 2025 1:45 am
- Forum: Programming
- Topic: Create Menu Entry for Application designed to Run in Console (Solved)
- Replies: 11
- Views: 578
Re: Create Menu Entry for Application designed to Run in Consol
Put your script in an exectable file, ie /usr/local/bin/random-passwords:
#!/bin/bash
for i in $(seq 1 10); do echo $(tr -dc 'A-Za-z0-9!"#$%&()*+,-./:;<=>?@[\\]^_`{|}~' < /dev/urandom | head -c 16) ;done
Create another executable file in /usr/local ...
- Thu Jan 23, 2025 12:58 am
- Forum: Programming
- Topic: Create Menu Entry for Application designed to Run in Console (Solved)
- Replies: 11
- Views: 578
Re: Create Menu Entry for Application designed to Run in Consol
Is urxvt in /usr/local/bin/defaultterminal? If so, can you change it to lxterminal?
another option (probably not the correct way):
rename urxvt to urxvt-orig and symkink lxterminal to urxvt.
- Tue Jan 21, 2025 3:42 pm
- Forum: Users
- Topic: rtw88_8821c Unhandled Firmware Interrupts
- Replies: 11
- Views: 446
Re: rtw88_8821c Unhandled Firmware Interrupts
It seems that message is from the different levels of kernel logging
Try this.
Create a file /etc/sysctl.d/local.conf
inside /etc/sysctl.d/local.conf write:
kernel.printk=1
Reboot and see if it works.
- Sat Jan 18, 2025 1:49 am
- Forum: Beginners Help
- Topic: BWPUP64 problems with disk mount locations sdx...
- Replies: 10
- Views: 401
Re: BWPUP64 problems with disk mount locations sdx...
Get rid of the $ signs in your grub.conf.
- Thu Jan 16, 2025 1:18 pm
- Forum: Beginners Help
- Topic: BWPUP64 problems with disk mount locations sdx...
- Replies: 10
- Views: 401
Re: BWPUP64 problems with disk mount locations sdx...
Maybe this will help:
- Mon Jan 13, 2025 2:37 pm
- Forum: Beginners Help
- Topic: How to ensure rclone sync before shut down?
- Replies: 1
- Views: 193
Re: How to ensure rclone sync before shut down?
I don't have rclone but if you're running it in a script, you can always add this to the end of the script:
Code: Select all
xmessage -center "sync is complete"
- Thu Jan 09, 2025 3:09 pm
- Forum: Beginners Help
- Topic: How to copy list of file names to clipboard?
- Replies: 12
- Views: 578
Re: copying list of file names
If you want a list of filenames with the full path, open a terminal in the directory you want and use:
Code: Select all
find "$PWD" > /root/list.txt
You could also do:
Code: Select all
find /some/directory > /root/list.txt
- Fri Jan 03, 2025 3:52 pm
- Forum: BookwormPup
- Topic: Problem copying a folder/subfolders to another drive
- Replies: 34
- Views: 1621
Re: Problem copying a folder/subfolders to another drive
You could also send the results to a file. then have the file open.
find "$DIR" | sort | uniq -i --all-repeated=separate > /root/find_results.txt
geany /root/find_results.txt
#!/bin/bash
DIR="$1"
if [ ! -d "$DIR" ]; then
echo "Please provide a directory as first ...
- Wed Jan 01, 2025 4:33 pm
- Forum: Beginners Help
- Topic: a beginners Q about the grep command & colours
- Replies: 3
- Views: 229
Re: a beginners Q about the grep command & colours
export GREP_COLOR="01;32"
where "01" means: bold and "32" green. The default is "01:31" (bold red). Other colors:
31:red
32:green
33:yellow
34:blue
35:purple
then using ...
- Wed Dec 18, 2024 4:05 pm
- Forum: Users
- Topic: I need an idiots guide on how to use gFTP
- Replies: 8
- Views: 605
Re: I need an idiots guide on how to use gFTP
Are the firewalls on?
Try turning off the firewall to connect.
- Sat Dec 14, 2024 2:40 pm
- Forum: DebianDogs
- Topic: Low volume. Alsa - Pre-Amp config
- Replies: 8
- Views: 668
Re: Low volume. Alsa - Pre-Amp config
# ***** Defaults *******************************************************
# Audio card/chip and device to use and control
# In most cases these settings should remain commented (#)
# When commented, card and device 0 are usually automatically selected
# When ...
- Mon Dec 09, 2024 11:20 pm
- Forum: Beginners Help
- Topic: LibreOffice Writer refuses to open
- Replies: 11
- Views: 728
Re: LibreOffice Writer refuses to open
The 32bit 6 series portable from mikewalsh works well on my eeepc 1005ha with 1gb ram and 1 gb swap
- Sun Nov 24, 2024 12:48 pm
- Forum: F96-CE
- Topic: Synaptic not working (F96-CE is not setup to use it) do not try to install and use it
- Replies: 5
- Views: 710
Re: Synaptic not working
apt clean → cleans the packages and install script in /var/cache/apt/archives/
apt autoclean → cleans obsolete deb-packages, less than clean
apt autoremove → removes orphaned packages which are not longer needed from the system, but not purges them, use the --purge ...
- Sat Nov 23, 2024 3:39 pm
- Forum: EasyOS
- Topic: Latest 32bit EasyOS?
- Replies: 3
- Views: 424
Latest 32bit EasyOS?
I have found an easy-4.3.5(Dunfell) for my old asus laptop but it seems outdated and updates do not work.
What and where is the latest 32bit EasyOS?
- Thu Nov 21, 2024 1:26 am
- Forum: Beginners Help
- Topic: Wake up laptop without a password?
- Replies: 2
- Views: 260
- Tue Nov 19, 2024 4:30 pm
- Forum: Network/Server
- Topic: Change DNS Servers Easily - Update 241124
- Replies: 24
- Views: 3099
Re: Change DNS Servers Easily
Nice idea.
It might be handy to show the current nameservers when starting the script.
- Fri Nov 15, 2024 3:04 pm
- Forum: Network
- Topic: Google DNS
- Replies: 5
- Views: 856
Re: Google DNS
Isn't that what /etc/resolv.conf.head and /etc/resolv.conf.tail is for?
- Thu Nov 14, 2024 1:54 pm
- Forum: Network/Server
- Topic: Openvpn Can Connect Through Proton Vpn Servers
- Replies: 37
- Views: 3380
Re: Openvpn Can Connect Through Proton Vpn Servers
Quick and dirty, something like this will work.
Code: Select all
#!/bin/bash
curl -s https://ipinfo.io/$(curl -s https://ipinfo.io/ip) | grep city | cut -c 10- > /tmp/city.txt
xmessage -center -bg orange -fg black -file /tmp/city.txt
- Thu Nov 14, 2024 12:53 pm
- Forum: F96-CE
- Topic: How to use Surfshark VPN w/ F96-CE r4?
- Replies: 15
- Views: 1258
Re: How to use Surfshark VPN w/ F96-CE r4?
I have used these guys in the past with good luck.
Router came pre-installed with DD-WRT and they will also set up a router with your vpn credentials for an extra fee.
https://www.flashrouters.com
- Tue Nov 12, 2024 2:03 pm
- Forum: Network/Server
- Topic: Openvpn Can Connect Through Proton Vpn Servers
- Replies: 37
- Views: 3380
Re: Openvpn Can Connect Through Proton Vpn Servers
For those who like to know where the vpn is connected to(from) without using a browser,
use this in a console:
Code: Select all
curl -s https://ipinfo.io/$(curl -s https://ipinfo.io/ip) | grep city | cut -c 10-
I also use this in conky.
- Sun Nov 10, 2024 3:19 pm
- Forum: Scripts
- Topic: cal and repetitive patterns
- Replies: 14
- Views: 1354
Re: cal and repetitive patterns
#!/bin/bash
# Define start date for the schedule (yyyy-mm-dd format)
start_date="2024-11-10"
# Number of days to generate the schedule for
days_to_generate=30
# Loop through the days and create the schedule
current_date="$start_date"
for ((i=0; i<$days_to_generate; i++)); do ...
- Sun Nov 10, 2024 1:22 pm
- Forum: Scripts
- Topic: cal and repetitive patterns
- Replies: 14
- Views: 1354
- Mon Oct 14, 2024 2:23 pm
- Forum: BookwormPup
- Topic: ConnMan is not saving WIFI connection choice (BookwormPup64 10.0.8)
- Replies: 3
- Views: 329
Re: ConnMan is not saving WIFI connection choice (BookwormPup64 10.0.8)
Is autoconnect checked on WIFI 1 so it's still trying to connect to it on reboot?
- Thu Sep 19, 2024 1:53 pm
- Forum: VoidPup
- Topic: VoidPup32 and VoidPup64 Discussion
- Replies: 367
- Views: 94285
- Fri Sep 13, 2024 12:28 pm
- Forum: Beginners Help
- Topic: I installed VMWare Horizons .deb in F96-CE_4; where is it?
- Replies: 5
- Views: 482
Re: Where do i see installed APPs
There are 5 of them that start with vmware-****.
The desktop file is /usr/share/applications/vmware-view.desktop and executes /usr/bin/vmware-view.
You can drag this file to your desktop.
If clicking on that file doesn't work, try vmware-view in a ...