Added Linux Resources pages

These are the pages that are currently on djs-consulting.com; we'll
redirect them here
This commit is contained in:
Daniel J. Summers 2017-09-02 12:35:19 -05:00
parent 67dcb2f77c
commit 4f22d455d8
5 changed files with 172 additions and 1 deletions

16
source/linux/index.md Normal file
View File

@ -0,0 +1,16 @@
---
layout: page
title: Linux Resources
date: 2005-09-01 00:00:00
---
We at DJS Consulting love Linux! Below are the resources we provide.
* [Installing Linux on an Averatec 6200 Laptop][averatec]
* [xine RPMs for the x86_64 EL Architecture][xine]
* [DJS Consulting Software Repository][repo]
* [Linux posts][posts] on this blog
[averatec]: /linux/installing-wbel4-rhel4-on-an-averatec-6200-laptop/
[xine]: /linux/xine-rpms-for-el-x86_64-architecture/
[repo]: //hosted.djs-consulting.com/software
[posts]: /category/linux/

View File

@ -0,0 +1,129 @@
---
layout: page
title: Installing WBEL4 (RHEL4) on an Averatec 6200 Laptop
date: 2005-09-01 00:00:00
---
<style>
aside {
float: right;
width: auto;
border: solid 2px darkgray;
border-right: none;
padding: 5px;
border-radius: 10px;
border-top-right-radius: 0;
border-bottom-right-radius: 0;
margin-right: -15px;
}
aside p {
margin: 0;
padding: 0;
}
</style>
<aside>
**Topics:**
[What Do I Have?](#what)
[Partitioning](#partitioning)
[Installation](#installing)
[Video](#video)
[Wireless Networking](#wireless)
[Other Tweaks](#tweaks)
[What's Left?](#left)
</aside>
As an early Father's Day 2005 present, I received a new Averatec 6240 laptop. Being the Linux enthusiast that I am, within 24 hours of getting it, I had wiped the Windows XP Home Edition&reg; that came on it. The previous week, I had downloaded [White Box Enterprise Linux (http://www.whiteboxlinux.org)][wbel] version 4, with an eye to upgrading my existing computer, so I had a recent set of CDs burned already. (WBEL is a clone of Red Hat Enterprise Linux, as is CentOS, so these instructions may be helpful for all RHEL derivatives.) I've organized this into topics - just click one to jump right to it.
_(Note: This information is provided as information only, and a reflection of what I did to get my laptop running the way I wanted it. It may or may not work for you - no guarantee is specified or implied, and I cannot be held responsible for any hardware failure or data loss you may encounter by following any of the steps in this guide. At any rate, it's still probably worth double what you're paying for it...&nbsp; ;&gt;)_
<del>**A Work in Progress** - This page is not complete - check the "What's Left?" topic to see what changes still need to be made before I'll consider it "complete".</del> This page is as complete as it's ever going to be.
## <a name="what"></a>What Do I Have?
To determine what type of hardware you have, you can use the command `/sbin/lspci`. On this laptop, I was able to boot with [Knoppix][], one of the most feature-rich Linux Live CD distributions out there. The list on this laptop is shown below...
<pre>0000:00:00.0 Host bridge: Silicon Integrated Systems [SiS] 760/M760 Host (rev 03)
0000:00:01.0 PCI bridge: Silicon Integrated Systems [SiS] SG86C202
0000:00:02.0 ISA bridge: Silicon Integrated Systems [SiS] SiS85C503/5513 (LPC Bridge) (rev 25)
0000:00:02.5 IDE interface: Silicon Integrated Systems [SiS] 5513 [IDE]
0000:00:02.6 Modem: Silicon Integrated Systems [SiS] AC'97 Modem Controller (rev a0)
0000:00:02.7 Multimedia audio controller: Silicon Integrated Systems [SiS] Sound Controller (rev a0)
0000:00:03.0 USB Controller: Silicon Integrated Systems [SiS] USB 1.0 Controller (rev 0f)
0000:00:03.1 USB Controller: Silicon Integrated Systems [SiS] USB 1.0 Controller (rev 0f)
0000:00:03.3 USB Controller: Silicon Integrated Systems [SiS] USB 2.0 Controller
0000:00:04.0 Ethernet controller: Silicon Integrated Systems [SiS] SiS900 PCI Fast Ethernet (rev 91)
0000:00:0a.0 CardBus bridge: ENE Technology Inc CB1410 Cardbus Controller (rev 01)
0000:00:0e.0 Network controller: RaLink Ralink RT2500 802.11 Cardbus Reference Card (rev 01)
0000:00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 NorthBridge
0000:00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 NorthBridge
0000:00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 NorthBridge
0000:00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 NorthBridge
0000:01:00.0 VGA compatible controller: Silicon Integrated Systems [SiS] 661FX/M661FX/M661MX/741/M741/760/M760 PCI/AGP
</pre>
This may seem like a waste of time (especially if you don't have a Knoppix CD lying around already, but this information can be invaluable when you try to get these devices working. A couple of things jump out from the above list - most of the hardware in this box was made by Silicon Integrated Systems, with the notable exception of the cardbus controller and the 802.11 (wireless) network adapter.
## <a name="partitioning"></a>Partitioning
Partitioning was a particular concern for me, as I wanted to set up a dual-boot Windows/Linux installation. Windows must have its files on the first partition for it to successfully boot, so I set up Windows first. I messed up a bit, as I tried to declare a 100MB boot partition as the first partition. Windows insisted on formatting it, so it could put its boot files on it, so I basically have a wasted 100MB at the front of my drive. (Not a big deal...)
I created a 12GB partition for Windows, and a 15GB partition for "shared" data - I formatted it as FAT32 (vfat), so that both Windows and Linux can read it. This was fine, but combined with my extra 100MB partition, the WBEL installer was unable to automatically partition the remaining free space. This isn't a big problem - there are two pretty simple rules to remember about partitions that Linux needs...
* There must be a root ("/") partition (I calculated the size of this by subtracting the amount of swap space I needed (see the next rule), then allocating the remaining free space to the root partition)
* There must be a swap partition (actually the "swap" filesystem type) that is twice as big as your RAM (for this machine, that meant 1024MB)
Here is my current partition table...
<pre># /sbin/fdisk -l
Disk /dev/hda: 60.0 GB, 60011642880 bytes
255 heads, 63 sectors/track, 7296 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 13 104391 6 FAT16
/dev/hda2 14 7295 58492665 f W95 Ext'd (LBA)
/dev/hda5 14 1580 12586896 7 HPFS/NTFS
/dev/hda6 1581 3589 16137261 b W95 FAT32
/dev/hda7 3590 7158 28667961 83 Linux
/dev/hda8 7159 7289 1052226 82 Linux swap
</pre>
## <a name="installing"></a>Installing
Installing Linux is naturally the first thing you'll need to do. However, the default install options did not work for me. What did work was `linux nofb xdriver=sis`. This tells anaconda to not use a framebuffer (which, as I read, is incompatible with most of the LCD flat-panels that laptops have), and to use the "sis" (Silicon Integrated Systems) driver. Even with this, the installer will not detect the SiS video card or the flat-panel display - but that's okay, just let it install with the VESA driver and a generic 1024x768 layout. It'll be stretched, but definitely readable. (See the "video" topic for how to fix this.) Also, if you really mess something up, you'll need to pass those parameters in the rescue mode - the full command is `linux rescue nofb xdriver=sis`.
I picked the server install, and selected most packages - this setup allows me to run both GNOME and KDE, and build applications for either. Be sure to install the system files, so you can compile kernel modules if you need them (which you'll need to do for the xdriver and wireless driver). Do not skip the OpenOffice.org I18N libraries - even though they're huge, it won't run without them. (I learned that the hard way.)
## <a name="video"></a>Video
I mentioned that during the install, the monitor would not be detected. Using the system viedo config, you can set the LCD panel to 1280x800. Then, head over to [Thomas Winischhofer's site about the SiS video driver][wini-site]. He is the author of the SiS driver that's distributed with Linux, and his site has a lot of information about this chipset. On his site, he has built on that base, in his own time, and created a very usable driver for the SiS chipset. There are links to download various products - I downloaded the driver and the sisctrl program, and built them.
Once I restarted the machine, it was better, but not quite there. I posted on the forums (also on the Winischhofer site) about my problem, and the author himself responded ([the thread is here][wini-forum]). In my case, 1280x800 was not put in by the driver - but, I think it may have been because I hadn't set the LCD panel settings when I installed the driver.
## <a name="wireless"></a>Wireless Networking
The RaLink wireless ethernet card has a very capable open-source driver. It can be downloaded from [SerialMonkey's web site][sm]. I downloaded the driver, followed the instructions, and couldn't get it to work. It installed the adapter as ra0, but Linux was finding it as eth1 - and I couldn't get eth1 to change to ra0, or ra0 to change to eth1. I finally posted a message on the [driver's SourceForge.net forums][sf-forum], and the author told me that I needed to use `make install-fedora` instead of just `make install`.
Every so often, I had problems getting the wireless card to connect with my home LAN. I changed my DHCP lease times from two weeks to two hours, and that problem cleared up. I think, for some reason, the router was not sensing when the wireless card would disconnect - so, when it tried to connect again, the router would just ignore it. Windows didn't seem to have similar problems, but that's a small tweak to make that hasn't affected any of the other computers on the network. I have gotten good responses from the developers of the wireless driver, and hope to be able to help them track this down if they're interested. (They are concentrating most of their new work on a new driver called "rt2x00" that will work for all RaLink RT2400 and RT2500 series network adapters, so this feature may be available in them. They've also moved their forums - [the official support forms can be found here][sm-forum].)
## <a name="tweaks"></a>Other Tweaks
They'll be here soon!
## <a name="left"></a>What&rsquo;s Left?
Issues I'm still working on...
* **PCMCIA** - This is so slow initializing that rhgb (Red Hat's graphical booter) actually switches back to console one. I'm sure there's a way to make it not take so long, I just need to figure out what it is.
* **Audio Input** - I tried to use the microphone in jack, and nothing would take sound from it.
* **Shared Data Between XP and WBEL** - This is working differently than WBEL3 did - once I figure it out, it'll be here too.
[wbel]: http://www.whiteboxlinux.org
[Knoppix]: http://wwww.knoppix.com
[wini-site]: http://www.winischhofer.at/linuxsisvga.shtml
[wini-forum]: http://www.winischhofer.at/sisforum/viewtopic.php?t=76
[sm]: http://rt2x00.serialmonkey.com/wiki/index.php/Main_Page
[sf-forum]: http://sourceforge.net/forum/forum.php?thread_id=1294781&amp;forum_id=370891
[sm-forum]: http://rt2x00.serialmonkey.com/phpBB2/index.php

View File

@ -0,0 +1,13 @@
---
layout: page
title: xine RPMs for EL / x86_64 Architecture
date: 2005-09-01 00:00:00
---
The xine RPMs are now distributed through this blog. Information about the RPMs can be found in the [About the xine RPMs][abt] post, including how you can use RSS or Atom feeds to be notified of updated builds.
You can also [view the list of available RPMs][list] or simply [browse the available xine files][browse].
[abt]: /2005/about-the-xine-rpms.html "About the xine RPMs &bull; DJS Consulting Tech Blog"
[list]: /category/hosted-64-bit-software/xine-rpms/ "&ldquo;xine RPMs&rdquo; Category &bull; DJS Consulting Tech Blog"
[browse]: //hosted.djs-consulting.com/software/xine "xine RPMs &bull; DJS Consulting Software Repository"

View File

@ -12,5 +12,7 @@ header#header
div(style='clear:both;')
nav#access.jssafe(role='navigation')
.skip-link.screen-reader-text: a(href='#content' title='Skip to content') Skip to content
#prime_nav.menu: ul: li: a(href='/') Home
#prime_nav.menu: ul
li: a(href='/') Home
li: a(href='/linux/') Linux Resources
div(style='clear:both;')

View File

@ -0,0 +1,11 @@
extends base
block title
= page.title
!= ' &laquo; '
= config.title
block content
.post.single.hentry
h1.entry-title= page.title
.entry-content!= page.content