Advertise on MozillaQuest Magazine Is Mozilla Actually AOL-Netscape's Mozilla? MozillaQuest MQ Logo
MozillaQuest the on-line computer magazine
January 28, 2002
About Computers On-Line

RisingNet

EPIX Internet Services
MozillaQuest Magazine Front Page button

Internet & Web browsers button

custom Netscape & Mozilla themes & skins button

Digital Photography

Graphics

IRC - Internet Relay Chat - Chat button

Linux buttonLinux for Windows Users

Mozilla button

Multimedia

Netscape button
network articles

tutorial - help - how to button

Web Page Design

Web Tools

Windows button
..
..


Getting Started with Wireless Network Technology

Part III: Adding Wireless to a Linux-Based Laptop or Notebook PC

Mike Angelo -- 28 January 2002 (c) -- Page 2



The boot-time load order for PCMCIA services is set in the /etc/init.d/pcmcia startup-script file. So, you will have to edit that startup script in order to change the load order for the PCMCIA services. If you do not find that pcmcia startup-script file in /etc/init.d/, try looking for it in /etc/rc.d/init.d/ (/etc/rc.d/init.d/pcmcia).

Log on to Linux as a regular user. If you prefer to work in a GUI (graphical user interface) and you are using KDE, then click the K button on the K panel and then System > File Manager (Super User Mode). That gives you Root privileges in that super-user, file-manager window even though you are logged on as a regular user.

If you prefer the command line, open a terminal and su - to Root. (Use the - with su as shown so you will inherit the root user's environment. That way you will avoid those annoying command or file not found error messages, even when you know darn well the command or file is there.)

With your root (super user, or simply su) privileges as gained above, open the /etc/init.d/pcmcia startup-script file in a text editor. If you are using the KDE file-manager, simply alternate (right) click on the file name to bring up a context menu. Then click on Open With > Editors > Advanced Editor.

About six or so lines down in that file you should see:

# chkconfig: 2345 45 96.

(Please see Figure 3.) Change the 45 in # chkconfig: 2345 45 96 from 45 to 09. Now that line should be:

# chkconfig: 2345 09 96.

(The 09 and 45 tell the boot process manager when to execute the pcmcia startup script in the booting sequence. The 2345 tells the boot process to use the pcmcia startup script in run levels 2, 3, 4, and 5.)

Figure 3. pcmcia startup script.

Next, you need to force the Linux operating system to re-read that edited pcmcia startup-script file. To do that you need to be at a command line as root. So, if you used the graphical, K-desktop File Manager (Konqueror) to edit the file, now please open a terminal and su - to Root. If you used the command line to edit the pcmcia startup-script file, you already are there.

Then at the root-prompt command-line please type chkconfig pcmcia off and enter it. Next, please type chkconfig pcmcia on and enter it.

Now, if you reboot Linux, the Proxim Skyline 802.11b PC Card should work nicely.

Please keep in mind that Proxim does not support Linux. So if you try to use a Skyline 802.11b PC Card with Linux, you are on your own.

Enabling & Disabling Ethernet Interfaces in Boot Sequence

If you installed Linux with both the wired Ethernet cable plugged into your notebook and the wireless PC Card plugged in, then the Linux boot process will try to start both devices at boot time. That means if you boot Linux with the Ethernet cable removed, there will be a substantial delay while the Linux boot process hunts for the missing wired Ethernet interface connection. You can avoid that delay by disabling the wired Ethernet interface.

If you normally run your laptop or notebook computer with the wireless adapter only, then you might want to remove starting-the-wired-network-adapter from the boot process. Removing it avoids that delay while the boot process tries to find the missing wired-network connection.

To do that you must determine whether your wired, Ethernet-cable interface is Eth 0 or Eth 1 (presuming that you have only two Ethernet interfaces configured.) One way to do that is to disconnect the Ethernet cable from its RJ45 jack on your notebook computer. Then boot or re-boot Linux.

Watch the boot messages. When the boot manager starts to load the Ethernet interfaces, you will see eth0 and eth1 in the boot messages. One of these will indicate OK and the other will indicate Failed. The one that fails is the one that goes with the disconnected wired Ethernet device.

For this example, let's say that eth1 fails. That means that Eth 1 is the Ethernet interface that needs to be disabled.

To disable Eth 1, open up a Super-User Konqueror file-manager window or su- to a root prompt in a terminal window, as you did above when you modified the PCMCIA startup-script. The file to modify is in the /etc/sysconfig/network-scripts directory. You should see several similar files such as ifcfg-eth0 and ifcfg-eth1.

Because eth1 failed during the boot process, the file we want to edit is ifcfg-eth1, which controls the auto-on boot for Eth 1. Please see Figure 4.

In the ifcfg-eth1 file, change:

    ONBOOT=yes

    to:

    ONBOOT=no

Then save and close the ifcfg-eth1 file. Now when you boot Linux on your wireless-networked laptop or notebook, the boot process should skip trying to start the wired Ethernet interface.

Figure 4. ifcfg-eth1 before edit


Note: Red Hat Technical Representative Will Jones was very helpful with researching this article. Thanks Will. However any errors that might be in this article are ours, not his.

There are ways to configure, enable, and disable Ethernet interfaces after Linux already has been installed -- and without needing to re-boot Linux. However, those procedures are more complicated than the procedures described here and are beyond the scope of this article.


(Continued on Page 3.)


More on Page 3.

  • Generalizing to Other Linux Distributions and Wireless PC Card Network Adapters
  • Conclusion
  • Resources


(Back to Page 1)



Copyright 2000-2002 -- MozillaQuest -- Brodheadsville, Pa..USA -- All Rights Reserved


Recent Articles

A New Mug for Bugzilla - Version 2.16 on Its Way

Netscape 6.2.1 Browser-Suite Released

Belkin SCSI to USB Adapter for Mac & Windows - Add SCSI to Laptop, Notebook, & Desktop Computers

Getting Started with Wireless Network Technology Part I: A Simple Wireless Computer Connection for Home, Office, or School

Getting Started with Wireless Network Technology Part I: A Simple Wireless Computer Connection for Home, Office, or School

Mozilla Milestone 0.9.6 Browser-Suite Released

Netscape Communicator 4.79 Browser-Suite Released

Mozilla Roadmap Update - Mozilla 1.0 Set Back to April 2002

Netscape 6.2 Browser Source Code (Mozilla 0.9.4.1) Released

Mandrake Linux 8.1 Boxed CDs Available Now

SuSE Linux 7.3 Ships In North America

Red Hat Linux 7.2 Distribution Released

AOL 7.0: Good News for AOL Users & Microsoft - Bad News for Netscape & Mozilla

Mozilla Milestone 0.9.5 Browser-Suite Released

Mozilla Organization Opposes W3C (RAND) Patent Policy Proposal

Mozilla 0.9.5 Branched -- Buggier Than Ever

Patch Maker -- Mozilla Hacking & Patching Made Easy

SuSE Linux 7.3 Set for October 22 Release

Mandrake Linux 8.1 Released for Downloading

Belkin 4-Port USB Switch for Linux, Mac, & Windows

World Trade Center & Pentagon Aircraft-Bombings - Terrorism ? The Third World War - 11 September Massacre

Laptop & Notebook Docking -- Peripheral Device Sharing

Milestone 0.9.4 Delayed - Turbo Mode & Bugs Slow Mozilla Development to Snail´s Pace - Turbo/Quick-Launch Examined -- Is Mozilla Really Open Source?

Milestone 0.9.4 Delayed - Turbo Mode & Bugs Slow Mozilla Development to Snail´s Pace - Turbo/Quick-Launch Examined -- Is Mozilla Really Open Source?

Netscape Lays-Off Mozilla's Chief Lizard Wrangler, Mitchell Baker, & Others?

SuSE Linux Free for US High Schools

Mozilla Roadmap Update - Mozilla 1.0 Release Set Back to 2002 - Mozilla 0.9.4 Set for 7 September Release

Red Hat E-Commerce Suite - Open Source Software Plus Commercial Tools, Services, & Support

KDE 2.2 Released - Binaries and Source Code Available for Downloading

Caldera OpenLinux Workstation 3.1 - review

Caldera OpenLinux 3.1 - Open UNIX 8

Mozilla 0.9.2 Branches on Schedule, but with Many Bugs

Is Netscape Losing the Browser Wars? Part II: Why Are Major Linux Distributions Rejecting Netscape 6?

Is Netscape losing browser war

Red Hat Linux drops Netscape browser

Linux for Microsoft Windows Users #5: Simple Number Crunching, Word Processing, & Photo Viewing with the Windows-Like Desktop for Linux

AbiWord - A Free, Decent, MS Word Clone for the Linux, MS Windows, & Other Platforms

Linux for Microsoft Windows Users: #4-- Getting Started Using the Windows-Like Desktop for Linux

Linux for Microsoft Windows Users: #3 -- Making an MS Windows-Like Desktop for Red Hat Linux

Composer: The Netscape & Mozilla Graphical HTML Editor & Word Processor

Mozilla Milestone 0.8 Browser-Suite RPM Builds Released

Linux for Microsoft Windows Users: #2 -Getting Started with The Linux MS Windows-Like Desktop

Triple-Boot Caldera OpenLinux, Red Hat Linux, & MS Windows for Best of Three Worlds

Linux for Microsoft Windows Users: Introduction & Overview

Meet Bugzilla -- Mozilla's Secretary of Bug-Busting & Feature Requests Lizard

Computer Connections at Home, Office, & School

Some Basics for Computing & Networking Novices

dual-boot Linux & windows for best of both operating system worlds

New Browser War Heats Up -- But It's Netscape vs. Netscape

MozillaQuest the Series -- Building Your Own Mozilla-Based Web Browser:Branding your Lizard

How to Download,, Install, & Configure Netscape 6.0 Safely

MozillaQuest the Series -- Building Your Own Mozilla-Based Web Browser:Skinning the Lizard

MozillaQuest Magic: Enabling Changes Made to Mozilla-Based Browsers & Applications Chrome -- A Tutorial

Mozilla's ChatZilla, The Lizard Speaks:- IRC