April 18, 2019

Connecting to a Wireless LAN with Linux, Part 2 - page 4

Getting Online

  • February 7, 2005
  • By Carla Schroder

Multiple profiles are created with the redhat-config-network utility. Users can then easily switch profiles for different locations. When more than one profile exists, running redhat-config-network opens first with the profile chooser.

On Debian, use the whereami utility.

If you run your laptop on battery a lot, you can save power by turning off the wireless adapter when you're not using it. For PCMCIA adapters, use the pcmcia-cs tools. These commands stop and restart the card without unloading the drivers:

# /sbin/cardctl suspend
# /sbin/cardctl resume

These commands eject and activate the card after insertion:

# /sbin/cardctl eject
# /sbin/cardctl insert

Check the card status:

$ /sbin/cardctl status

For PCI adapters use the old familiar ifup and ifdown commands:

# /sbin/ifdown eth1
# /sbin/ifup eth1

Check the PCI adapter status:

$ /sbin/ifconfig

Most Popular LinuxPlanet Stories