Making the ViewSonic Tablet PC Run Linux
A few more items needed to be addressed before this tablet really was usable for the ISP. The first issue was the PCMCIA wireless LAN card. As it is a fairly popular PCMCIA device, I expected it could be plugged into a running system and be detected. Reality turned out not to be quite that easy. When I plugged the card in, no messages appeared in /var/log/messages and it was not seen by the system. Perhaps a setting could be tweaked somewhere, but I thought I first would try having the card inserted into the machine for a warm-reboot. That seemed to work just fine. Incidentally, the system correctly would handle ejecting the card, but not its reinsertion. But as long as it was present at boot, there were no problems with it.
Mutual Data Service's software requests were quite simple. All they really needed (so far) were Ethereal, the graphical network traffic analyzer; kismet, an 802.11 wireless network traffic sniffer; and xmms, the extensible media player. Xmms and Ethereal were installed with the basic install, and kismet was installed from DVD by using YaST.
The last task is making it quick and simple to change network profiles, a task that SuSE makes easy. The System Configuration Profile Management (SCPM) module, accessed through YaST, allows the system administrator to change the network location of the system with a few mouse clicks.
To use SCPM you first need to start YaST, which requires the root password. Select Profile Manager from the System group to open a new window for SCPM (Figure 5). SCPM is not enabled when it first is installed. Figure 6 shows our final configuration, in which you can see the General Setup section and the Options... button. Selecting the Options... button brings up the SCPM options window (Figure 7). SCPM can be activated by selecting the Enabled button near the top of the screen and then the OK button in the lower right.
Figure 5. A Window for SCPM
Figure 6. Final Configuration
Figure 7. SCPM Options Window
To use SCPM, you must configure the network settings and then save them into a profile. New profiles can be created simply by changing settings and storing them in that profile.
This is the process I used to create our set of profiles:
1. Open the YaST SCPM module on one desktop and the YaST Network cards configuration window on another (Figure 8).
Figure 8. Windows for YaST SCPM and Network Cards
2. Select the Add button on the SCPM screen to open the dialog for creating a new profile (Figure 9). Make the profile from the current system configuration and check the make the new configuration active box. Select the OK button.
Figure 9. Creating a New Profile
3. The Special profile settings screen should appear (Figure 10), where you can enter a name for the new profile and a short description. This screen also allows specifying pre- and post-start and stop scripts, which provide amazing flexibility when changing profiles. I was doing basic network settings changes, so these scripts are not needed.
Figure 10. Special Profile Settings
4. Going back to the YaST Network cards configuration screen, I made the changes I wanted in this profile. In this case, I disabled the RJ-45 network connection and configured the SMC wlan0 device. Select Finish on network changes to close that window. I now have the system configured the way I want the current profile to be stored, but the profile is not yet stored.
5. Now go back to the main SCPM page and Add a new profile. (It might seem like a step is missing here, but it is not.) When the new profile dialog comes up, it can be created either from the current system configuration or from another profile. If created from the current system configuration, do not make it the active profile. Select the OK button, enter a name and description for the new profile and commit the changes.
6. Back at the main SCPM window, select the newly created profile and click the Switch to... button. The changes to the network configuration made in step 4 are be seen by SCPM as modified from the current profile (not the one created in step 5), so I was asked if I wanted to save those changes to the current profile before unloading it (Figure 11). The default is to save the changes (note the X next to the network resource group), so I chose OK and the changes were saved to the current profile, the affected subsystems were stopped (networking in our case), the new profile from step 5 was made active/current and the stopped subsystems were restarted.
Figure 11. Saving the Current Profile
7. The system now has the newly created profile active. I now needed to go back to step 4 and make changes to the current profile before creating another new one and saving the current.
As an added ease-of-use feature, I set root's KDE environment to have two desktops, one for SCPM and one for everything else. As long as YaST is running on the SCPM desktop when root logs out, YaST automatically starts up and goes to the correct desktop at the next login.
|Dynamic DNS—an Object Lesson in Problem Solving||May 21, 2013|
|Using Salt Stack and Vagrant for Drupal Development||May 20, 2013|
|Making Linux and Android Get Along (It's Not as Hard as It Sounds)||May 16, 2013|
|Drupal Is a Framework: Why Everyone Needs to Understand This||May 15, 2013|
|Home, My Backup Data Center||May 13, 2013|
|Non-Linux FOSS: Seashore||May 10, 2013|
- Dynamic DNS—an Object Lesson in Problem Solving
- Making Linux and Android Get Along (It's Not as Hard as It Sounds)
- Using Salt Stack and Vagrant for Drupal Development
- New Products
- A Topic for Discussion - Open Source Feature-Richness?
- Drupal Is a Framework: Why Everyone Needs to Understand This
- RSS Feeds
- Validate an E-Mail Address with PHP, the Right Way
- Readers' Choice Awards
- Tech Tip: Really Simple HTTP Server with Python
1 hour 3 min ago
- Reply to comment | Linux Journal
1 hour 35 min ago
- All the articles you talked
3 hours 59 min ago
- All the articles you talked
4 hours 2 min ago
- All the articles you talked
4 hours 3 min ago
8 hours 28 min ago
- Keeping track of IP address
10 hours 19 min ago
- Roll your own dynamic dns
15 hours 32 min ago
- Please correct the URL for Salt Stack's web site
18 hours 44 min ago
- Android is Linux -- why no better inter-operation
20 hours 59 min ago
Enter to Win an Adafruit Pi Cobbler Breakout Kit for Raspberry Pi
It's Raspberry Pi month at Linux Journal. Each week in May, Adafruit will be giving away a Pi-related prize to a lucky, randomly drawn LJ reader. Winners will be announced weekly.
Fill out the fields below to enter to win this week's prize-- a Pi Cobbler Breakout Kit for Raspberry Pi.
Congratulations to our winners so far:
- 5-8-13, Pi Starter Pack: Jack Davis
- 5-15-13, Pi Model B 512MB RAM: Patrick Dunn
- 5-21-13, Prototyping Pi Plate Kit: Philip Kirby
- Next winner announced on 5-27-13!
Free Webinar: Hadoop
How to Build an Optimal Hadoop Cluster to Store and Maintain Unlimited Amounts of Data Using Microservers
Realizing the promise of Apache® Hadoop® requires the effective deployment of compute, memory, storage and networking to achieve optimal results. With its flexibility and multitude of options, it is easy to over or under provision the server infrastructure, resulting in poor performance and high TCO. Join us for an in depth, technical discussion with industry experts from leading Hadoop and server companies who will provide insights into the key considerations for designing and deploying an optimal Hadoop cluster.
Some of key questions to be discussed are:
- What is the “typical” Hadoop cluster and what should be installed on the different machine types?
- Why should you consider the typical workload patterns when making your hardware decisions?
- Are all microservers created equal for Hadoop deployments?
- How do I plan for expansion if I require more compute, memory, storage or networking?