User Tools

Site Tools


computing:slackware

This is an old revision of the document!



  • slackware
  • Jonathan Haack
  • Haack's Networking
  • netcmnd@jonathanhaack.com

e gpg Install os, then add non-root user:e gpg

adduser
 --- //[[netcmnd@jonathanhaack.com|oemb1905]] 2019/06/13 03:23//

Follow the prompts then join wheel group, then add these by using up arrow

wheel,floppy,audio,video,cdrom,plugdev,power,netdev,lp,scanner

Set up WPA2 network:

nano /etc/wpa_supplicant.conf

Make it look like this:

ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=0
eapol_version=1
ap_scan=1
fast_reauth=1

network={
      scan_ssid=0
      ssid="your_essid"
      proto=WPA2
      key_mgmt=WPA-PSK WPA-EAP
      pairwise=CCMP TKIP
      group=CCMP TKIP
      psk=your_64_hex_characters_long_key
}

To get your psk key, run:

wpa_passphrase ssid 'passphrase'

Then, edit the /etc/rc.d/rc.inet1.conf as follows:

IFNAME[1]="ath0"
IPADDR[1]=""
NETMASK[1]=""
USE_DHCP[1]="yes"
DHCP_HOSTNAME[1]="" [leave blank if using more than one SSID, and let wpa_supplicant priority handle]
WLAN_WPA[1]="wpa_supplicant"
WLAN_WPADRIVER[1]="wext"

Once everything is configured, restart the interface as follows - if everything connects, and you get the nickname error, just ignore it as it will go away on reboot:

/etc/rc.d/rc.inet1 wlan0_restart

Now that you are online, let's set up sudoer access:

nano /etc/sudoers

Then, add this directly below the root user line that is similar to this:

username ALL=(ALL) ALL

Now, how to update packages:

nano /etc/slackpkg/mirrors

Uncomment one of the mirrors from USA - use http - once that is done:

slackpkg update gpg
slackpkg update 
slackpkg install-new
slackpkg upgrade-all
slackpkg clean-system

Set up a crypt for sensitive data:

cryptsetup luksFormat /dev/sdaX
cryptsetup luksOpen /dev/sdaX vault
mkfs.xfs -L vault /dev/mapper/vault
mkdir /mnt/vault
mount /dev/mapper/vault /mnt/vault

oemb1905 2019/06/13 04:26

computing/slackware.1560421759.txt.gz · Last modified: 2019/06/13 10:29 by oemb1905