slackware

#slackware This is a basic tutorial on setting up Slackware gnulinux and the live-update wiki entry can be found here.

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

Install os, then add non-root user

adduser

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]
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 (I use osul):

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

Leave a Reply

Your email address will not be published. Required fields are marked *

Close
JavaScript licenses