Hacker Public Radio

HPR3528: Slackware on a netbook


Listen Later

Installed Slackware on Acer Aspire One
4.4.14-smp #2 SMP Fri Jun 24 14:44:24 CDT 2016 i686 Intel(R) Atom(TM) CPU N270 @ 1.60GHz GenuineIntel GNU/Linux
1 Gb ram
[mark@archer72:~ ] $ free total --mega
total used free shared buff/cache available
Mem: 1009 172 376 0 459 692
Swap: 1048 0 1048
Runs a little warm
[mark@archer72:~ ] $ sensors
coretemp-isa-0000
Adapter: ISA adapter
Core 0: +45.0 ℃ (crit = +90.0 ℃)
Ignore lid switch
echo on >/sys/bus/acpi/drivers/button/$PLATFORM:00/power/control
Or in this case
echo on > /bus/acpi/drivers/button/LNXPWRBN:00/power/control
Clear screen in BASH
Enter in ~/.bashrc the line:
bind -x $'"C-l":clear;'
Not working between reboots
If you always want the content of your .bashrc file processed, you can add the following lines to your .bash_profile file, creating that file if it does not already exist:
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
Per its man page, bash "[...] looks for ~/.bash_profile, ~/.bash_login, and ~/.profile, in that order, and reads and executes commands from the first one that exists and is readable." Conventions and policies of your local system will determine which, if any, of these files already exist.
A word of caution: be aware that creating a new .bash_profile in your home directory could have the unintended side-effect of preventing the reading and executing of commands in a .bash_login or .profile file already present, changing further the behavior of subsequent logins.
https://stackoverflow.com/questions/18393521/bashrc-not-loading-until-run-bash-command
Change lilo menu timeout to 5 seconds
edit /etc/lilo.conf
.
.
# This is given in tenths of a second, so 600 for every minute:
# timeout = 1200
timeout = 50
.
.
Add custom bash prompt.
PS1=""[d t u@h:w ]" $ "
[Sat Feb 05 18:11:15 mark@archer72:~ ] $
For a more concise prompt:
PS1="[u@h:w ] $
[mark@archer72:~ ] $
Not authorized to control networking
sudo usermod -G netdev -a yourusername
https://askubuntu.com/questions/304159/not-authorized-to-control-networking#304181
...more
View all episodesView all episodes
Download on the App Store

Hacker Public RadioBy Hacker Public Radio

  • 4.2
  • 4.2
  • 4.2
  • 4.2
  • 4.2

4.2

34 ratings


More shows like Hacker Public Radio

View all
The Changelog: Software Development, Open Source by Changelog Media

The Changelog: Software Development, Open Source

290 Listeners

Defensive Security Podcast - Malware, Hacking, Cyber Security & Infosec by Jerry Bell and Andrew Kalat

Defensive Security Podcast - Malware, Hacking, Cyber Security & Infosec

372 Listeners

LINUX Unplugged by Jupiter Broadcasting

LINUX Unplugged

268 Listeners

SANS Internet Stormcenter Daily Cyber Security Podcast (Stormcast) by Johannes B. Ullrich

SANS Internet Stormcenter Daily Cyber Security Podcast (Stormcast)

651 Listeners

Curious Cases by BBC Radio 4

Curious Cases

821 Listeners

The Strong Towns Podcast by Strong Towns

The Strong Towns Podcast

423 Listeners

Late Night Linux by The Late Night Linux Family

Late Night Linux

164 Listeners

Darknet Diaries by Jack Rhysider

Darknet Diaries

8,059 Listeners

Cybersecurity Today by Jim Love

Cybersecurity Today

179 Listeners

CISO Series Podcast by David Spark, Mike Johnson, and Andy Ellis

CISO Series Podcast

189 Listeners

TechCrunch Daily Crunch by TechCrunch

TechCrunch Daily Crunch

42 Listeners

Strict Scrutiny by Crooked Media

Strict Scrutiny

5,800 Listeners

2.5 Admins by The Late Night Linux Family

2.5 Admins

98 Listeners

Cyber Security Headlines by CISO Series

Cyber Security Headlines

139 Listeners

What the Hack? by DeleteMe

What the Hack?

228 Listeners