Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
getting-started [2015/05/05 05:31] – snacsnoc | getting-started [2025/03/10 03:03] (current) – [Install] snacsnoc | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Quick start ====== | ====== Quick start ====== | ||
- | Download the [[http:// | + | ===== Download ===== |
+ | You have a few options: | ||
+ | * Download the [[http:// | ||
+ | * Download the [[http:// | ||
+ | * Compile the kernel and root filesystem (any architecture) | ||
- | Docker templates are available [[http:// | + | SnackLinux supports most generic vintage hardware out of the box. If you require specific drivers, please compile your own custom kernel. |
- | SnackLinux | + | ===== Install ===== |
+ | You can install | ||
- | ==== Networking ==== | + | If you are using vintage hardware and an IDE to Compact Flash adapter, you can simply dd the img file to your CF card. |
+ | dd if=snacklinux_cf_i486_01.03.25.img of=/ | ||
+ | |||
+ | Note for live install: you will need to setup networking and install dialog, ncurses and lilo with '' | ||
+ | fbpkg install dialog && fbpkg install ncurses && fbpkg install lilo | ||
+ | bash install-snacklinux.sh /dev/hda | ||
+ | |||
+ | ===== Networking | ||
To set up networking, you can either use a static IP | To set up networking, you can either use a static IP | ||
Line 13: | Line 25: | ||
route add default gw 192.168.0.1 | route add default gw 192.168.0.1 | ||
or use '' | or use '' | ||
+ | or create ''/ | ||
+ | touch / | ||
+ | | ||
+ | auto eth0 | ||
+ | iface eth0 inet static | ||
+ | address 192.168.1.X # Replace X with the specific IP address you want to assign to this device | ||
+ | netmask 255.255.255.0 | ||
+ | gateway 192.168.1.1 | ||
+ | dns-nameservers 8.8.8.8 8.8.4.4 | ||
+ | |||
Run '' | Run '' | ||
- | === SSH === | + | ==== SSH ==== |
Install dropbear via fbpkg by running '' | Install dropbear via fbpkg by running '' | ||
Line 22: | Line 44: | ||
mkdir / | mkdir / | ||
dropbearkey -t rsa -f dropbear_rsa_host_key | dropbearkey -t rsa -f dropbear_rsa_host_key | ||
- | dropbearkey -t dss -f dropbear_dss_host_key | + | dropbearkey -t ecdsa -f dropbear_ecdsa_host_key |
</ | </ | ||
Now run '' | Now run '' | ||
- | === Packages === | + | ==== Packages |
To see the available packages, run '' | To see the available packages, run '' | ||
Line 32: | Line 54: | ||
Use '' | Use '' | ||
+ | ==== Programming ==== | ||
+ | For compiling C/C++, install the essential tools: | ||
+ | fbpkg install gcc | ||
+ | fbpkg install make | ||
+ | fbpkg install binutils | ||
+ | fbpkg install m4 | ||
+ | # Other software that may be of value | ||
+ | # tcc, ncurses, pkgconf, [[nim-lang|nim]] | ||
+ | |||
+ | ==== Graphics (in-progress) ==== | ||
+ | **Requirements: | ||
- | ====== The below information is outdated and will be updated shortly ====== | + | **Graphics memory:** 512KB tested, possibly works with 256KB |
- | If you receive an error such as PTY allocation request failed on channel | + | SnackLinux supports only the ISA bus and excludes any PCI-based devices including graphics cards. Most graphics drivers in the kernel (4.4) are aimed at PCI cards, so we are left with two choices: vga16fb or simpleframebuffer. The '' |
- | < | + | |
- | rm -rf /dev/pts | + | The SnackLinux kernel does not have built-in graphics support |
- | mkdir /dev/pts | + | To install '' |
- | mount /dev/pts | + | fbpkg install linux-modules |
- | </ | + | |
- | Add '' | + | |
+ | fbset #confirm the current resolution | ||
+ | ls /dev/fb0 #confirm we have a framebuffer | ||
+ | | ||
+ | modprobe psmouse #for a PS/2 mouse | ||
+ | modprobe sermouse #for a serial mouse | ||
- | **Installation** | + | Builds of MicroWindows 0.92 have been compiled but not ready for a full release. As a note, Microwindow looks for a mouse at ''/ |
+ | You can download the compiled packages here, extract to your local directory and run '' | ||
+ | wget http:// | ||
+ | |||
+ | wget http:// | ||
+ | fbpkg install gpm | ||
+ | |||
+ | |||
+ | **Work In Progress**: builds of an updated and refactored MicroWindows 0.92: https:// | ||
+ | Currently unable to run in 4bit mode, even with grayscale enabled. | ||
+ | |||
- | Run ''/ | ||