Language Selection

English French German Italian Portuguese Spanish

Installing openSUSE 10.2 on a Compaq laptop (Part 1)

Filed under
Reviews

My favorite distro faces an uncertain future, so I decided to install openSUSE 10.2 over it on my Compac Presario V2000. Also because... OK, I'll come clean: the real reason was for the eye candy. I wanted Beryl, with the cube, the wobbly windows, the "magic lantern" window minimizing effects, rain, snow -- you know, Eye Candy.

This laptop has an ATI Radeon XPress 200M chipset in it, which requires the installation of ATI's proprietary drivers in order to enable accelleration, and (unlike an NVidia chipset) also requires Xgl in order to get the special effects. There are Xgl packages out there for Debian Sid, but they're old and not maintained. Xgl still runs, but it makes the OS extremely flaky and crash-prone. (If you're thinking about buying a laptop, and want to use Beryl, get one with an NVidia graphics chipset and save yourself some hassle.)

One thing to note: if you have questions, the openSUSE Wiki has answers. That "search" box is your friend. openSUSE is extremely well documented. (Of course, it also helps to have a second, working, Internet-connected computer around when installing any Linux distro.)

So, I downloaded the i386 DVD via BitTorrent and burned it. (Yes, it took a while, but having only 1 DVD instead of 5 CDs to shuffle through makes it worth it.).

My laptop has a, shall we say, unusual partitioning scheme, mainly because Compaq uses a small FAT32 partition at the very end of the drive as a recovery partition, and it wouldn't budge when I tried to move it. That's why partitions hda3 - hda6 are sandwiched between partitions hda1 (Windows) and hda2 (that FAT32 partition). Anyway, I already had Debian/Kanotix on the laptop, with a separate /home partition (highly recommended!), so it was just a matter of refreshing my memory as to which partition was for /, /home, and swap. Only the / (root) partition needed to be reformatted. Everything on /home was staying. I booted from a live CD (the GParted disc is good for this) and got rid of my old ~/.kde folder and ~/.kderc file before installing openSUSE; otherwise, KDE wouldn't have gotten the openSUSE treatment. (openSUSE renamed my existing "Desktop" folder by itself.)

There's not a lot to say about the straightforward installation process. A complete set of installation screenshots are available here. The only things I messed with were the partitioning scheme (in order to use my existing layout); the software choices; and making sure GRUB was installed on hda.

(This laptop has a 1280x768 screen. openSUSE configured it properly, which was impressive.)

With the installation done, it was time to enable the laptop's built-in wireless chipset (Broadcom BCM4318) using ndiswrapper. Ndiswrapper enables Linux to use Windows drivers for wireless cards for which open-source drivers don't (yet) exist. On your typical HP/Compaq laptop, the drivers are located in C:\SWSetup\WLAN. For this laptop, they're named "bcmwl5a.inf" and "bcmwl5.sys." Then it's a matter of pulling up a console window, becoming root, and installing the drivers.

# ndiswrapper -i /media/hda1/SWSetup/WLAN/bcmwl5a.inf

Then check to see that installation was successful.

# ndiswrapper -l
installed drivers:
bcmwl5 driver installed, hardware present

Next, the "preferred" way to enable wireless is through YaST. (Personally, I think it's easier from the command line, using "iwconfig," but that's a Debian user talking.) The ndiswrapper howto on the openSUSE wiki tells you how -- although one thing's not very clear. During installation, SUSE probably detected the wireless hardware and configured it incorrectly. You have to delete the wireless controller from the "Network Card Configuration Overview" list, and then add a new (wireless) one.

After the YaST part is done, the KNetworkManager applet will automagically appear in your "system tray." My gripe with KNetworkManager is that it'll look for, and connect to, the first unencrypted wireless connection it can find -- even if it belongs to your neighbor (heh, serves him right). If your wireless connection is encrypted, you have to select "Connect to Other Wireless Network..." and tell it your SSID and WEP key.

One other thing to note. For some reason, openSUSE doesn't include the Ksynaptics control panel module, which lets you fine-tune your Synaptics touchpad. Personally, I hate tapping like Mr. Grant hates spunk. To disable it, one has to edit /etc/X11/xorg.conf (as root) and add a line to the synaptics InputDevice section, just prior to EndSection:

Option "MaxTapTime" "0"

Restart X, and tapping should be gone.

In part 2: Installing the ATI driver and Beryl; Conclusion.

More in Tux Machines

Microsoft Exchange Autodiscover protocol found leaking hundreds of thousands of credentials

A flaw in Microsoft's Autodiscover protocol, used to configure Exchange clients like Outlook, can cause user credentials to leak to miscreants in certain circumstances. The upshot is that your Exchange-connected email client may give away your username and password to a stranger, if the flaw is successfully exploited. In a report scheduled to be published on Wednesday, security firm Guardicore said it has identified a design blunder that leaks web requests to Autodiscover domains that are outside the user's domain but within the same top-level domain (TLD). Exchange's Autodiscover protocol, specifically the version based on POX XML, provides a way for client applications to obtain the configuration data necessary to communicate with the Exchange server. It gets invoked, for example, when adding a new Exchange account to Outlook. After a user supplies a name, email address, and password, Outlook tries to use Autodiscover to set up the client. Read more

Mozilla Firefox and Google Chrome

  • Firefox Add-on Reviews: YouTube your way—browser extensions put you in charge of your video experience

    YouTube wants you to experience YouTube in very prescribed ways. But with the right browser extension, you’re free to alter YouTube to taste. Change the way the site looks, behaves, and delivers your favorite videos. [...] Though its primary function is to automatically play all YouTube videos in their highest possible resolution, YouTube High Definition has a few other fine features to offer.

  • Location history: How your location is tracked and how you can limit sharing it

    In real estate, the age old mantra is “location, location, location,” meaning that location drives value. That’s true even when it comes to data collection in the online world, too — your location history is valuable, authentic information. In all likelihood, you’re leaving a breadcrumb trail of location data every day, but there are a few things you can do to clean that up and keep more of your goings-on to yourself. [...] For some apps, location helps them function better, like navigating with a GPS or following a map. Location history can also be useful for retracing your steps to past places, like finding your way back to that tiny shop in Florence where you picked up beautiful stationery two years ago. On the other hand, marketing companies use location data for marketing and advertising purposes. They can also use location to conduct “geomarketing,” which is targeting you with promotions based on where you are. Near a certain restaurant while you’re out doing errands at midday? You might see an ad for it on your phone just as you’re thinking about lunch. Location can also be used to grant or deny access to certain content. In some parts of the world, content on the internet is “geo-blocked” or geographically-restricted based on your IP address, which is kind of like a mailing address, associated with your online activity. Geo-blocking can happen due to things like copyright restrictions, limited licensing rights or even government control.

  • An update on Memory Safety in Chrome [LWN.net]

    The Google security blog provides an overview of what is being done to address memory-safety problems in the Chrome browser.

  • Chrome 94 Released for Android, macOS, Windows, Linux: What's New | Technology News

    Chrome 94 stable update has been released by Google for Android, iOS, Mac, and Windows operating systems. The update will be rolled out over the coming weeks and it brings new security features, new functionality, and bug fixes. Google Chrome 94 stable is the first version of Chrome of the new four-week release cycle. Previously, Chrome update was released every six weeks. Its features include HTTPS-First mode that makes users browsing more secure. Also, Google said that 19 different security issues were fixed in the Chrome 94 version. The update for Google Chrome was announced through a blog post on September 21. Chrome 94 introduces HTTPS-First mode. It is available in Chrome for desktop systems and for Android. HTTPS is a more secure version of HTTP and many websites support it. With the latest update, the browser will also show a full-page warning when the user loads a site that doesn't support HTTPS. This ensures privacy when using public Wi-Fi. Google says this was previously planned for Chrome 92.

  • Google emits Chrome 94 with 'Idle Detection' API to detect user inactivity amid opposition

    Google has released Chrome 94 for desktop and Android, complete with an "Idle Detection" API to detect user inactivity, despite privacy concerns expressed by Mozilla and Apple. New and changed features in Chrome 94 are listed here and include the removal of the AppCache feature, described as a "security and stability liability", and something which has "imposed a tax on all of Chrome's significant architectural efforts." There is also a new VirtualKeyboard API with more control over its shape and an event fired when it covers page content; more efficient low-level access to media encoders and decoders; and a new JavaScript Self Profiling API which enables developers to collect JavaScript performance profiles from end users.

Kernel: Google, Xen, and Mesa

  • Google Finally Shifting To "Upstream First" Linux Kernel Approach For Android Features

    Google's Android had been notorious for all of its downstream patches carried by the mobile operating system as well as various vendor/device kernel trees while in recent years more of that code has been upstreamed. Google has also been shifting to the Android Generic Kernel Image (GKI) as the basis for all their product kernels to further reduce the fragmentation. Looking ahead, Google is now talking of an "upstream first" approach for pushing new kernel features. Google's Todd Kjos talked today during Linux Plumbers Conference (LPC2021) around their Generic Kernel Image initiative. With Android 12 and their Linux 5.10 based GKI image they have further cut down the fragmentation to the extent that it's "nearly eliminated". With the Android 12 GKI, most of the vendor/OEM kernel features have now either been upstreamed into the Linux kernel, isolated to vendor modules/hooks, or merged into the Android Common Kernel.

  • Google Finally Shifting To 'Upstream First' Linux Kernel Approach For Android Feature
  • Clang-format for Xen Coding Style Checking Scheduled - Xen Project

    At the moment there is no tool that would allow to format patches in Xen. The idea of Xen-checker is to use the clang-format approach as a base for Xen ‘checkpatch’ process. The new tool consists of modified .clang-format configuration file to automate Xen patches format checking and reformatting. The tool can be used as a pre-commit hook to check and format every patch automatically. Some features are missing in the clang configurator, so new clang-format options have been proposed for more flexible code formatting. Also, the purpose of the topic is to start the discussion about the existing rules for Xen code formatting to eliminate possible inaccuracies in the work of the Xen checker. This will make it easier to adhere to the unanimous decision.

  • Mesa Merge Pending For Vulkan Ray-Tracing On Older AMD GPUs - Phoronix

    Merged yesterday for Mesa 21.3 was open-source Vulkan ray-tracing for AMD RDNA2 / RX 6000 series GPUs with the RADV driver. Opened today now is a merge request that would provide Vulkan ray-tracing with RADV to pre-RDNA2 GPUs on this driver going back to the likes of Polaris, granted the performance is another story. Joshua Ashton known for his work on DXVK and other Direct3D-on-Vulkan efforts for Valve has opened the merge request to enable RADV Vulkan ray-tracing for older generations of AMD GPUs.

Astro Pi Mk II, the New Raspberry Pi Hardware Headed to the Space Station

While Izzy and Ed are still going strong, the ESA has decided it’s about time these veteran Raspberries finally get the retirement they’re due. Set to make the journey to the ISS in December aboard a SpaceX Cargo Dragon, the new Astro Pi MK II hardware looks quite similar to the original 2015 version at first glance. But a peek inside its 6063-grade aluminium flight case reveals plenty of new and improved gear, including a Raspberry Pi 4 Model B with 8 GB RAM. The beefier hardware will no doubt be appreciated by students looking to push the envelope. While the majority of Python programs submitted to the Astro Pi program did little more than poll the current reading from the unit’s temperature or humidity sensors and scroll messages for the astronauts on the Astro Pi’s LED matrix, some of the more advanced projects were aimed at performing legitimate space research. From using the onboard camera to image the Earth and make weather predictions to attempting to map the planet’s magnetic field, code submitted from teams of older students will certainly benefit from the improved computational performance and expanded RAM of the newest Pi. As with the original Astro Pi, the ESA and the Raspberry Pi Foundation have shared plenty of technical details about these space-rated Linux boxes. After all, students are expected to develop and test their code on essentially the same hardware down here on Earth before it gets beamed up to the orbiting computers. So let’s take a quick look at the new hardware inside Astro Pi MK II, and what sort of research it should enable for students in 2022 and beyond. Read more