home  wiki

LinuxCommandHowTo


What is it?

Wireless related commands for the beginner (or the forgetful).
This is not a complete list and is not intended as a subsitute for the manual (man man) nor the time tested method of 'experimentation'.
It is instead, a list of useful command line entries (or observations) that will help to kickstart the puzzled newbie into using wireless on Linux effectively. It concentrates on the CLI as that's the base most of the GUI's work from, it's also always there.

If you're after more then the External linkRute User's Tutorial and Exposition is one of many resources for an introduction to Linux.
Feel free to add to this...

CLI

Command Line Interface - Which means you're sitting at a terminal (of some sort) and entering text strings at the prompt. You may be physically at the computer or remotely accessing it via SSH or a serial console.

Self Help

man

apropos

info

Packages and/or Programs

pcmcia_cs

PCMCIA Card Services - generally starts on system boot up or may be
manually started using /etc/init.d/pcmcia and displayed arguments
(RedHat, Fedora, Debian and others)
If it's not running on start up the chkconfig or setup can be used under RedHat, Fedora to check the start configuration. (What is it under Debian?)

cardctl

If problems are experienced in ejecting a card, the interface may need to be brought down first. Programs such as dhclient sometimes block the card and prevent an immediate exit.

ifup, ifdown

ifconfig

wireless-tools

ip

supplied by the iproute or iproute2 package. A (minimum) 2.4 kernel is usually required and the package may need to be manually installed.

route

dmesg

display the kernel messages. Useful immediately after boot up or at any time that the OS messages may need reviewing. ie: You have (computer based) problems

ps

show running processes
options - too many to list - review the manual.

mod-utils

Commands centred around modules (drivers). Not usually needed except when first installing a card, that is not automatically detected.
If errors are reported back about missing dependencies then look in /lib/modules/<kernel_version>/modules.dep, find the module you're trying to load and see what else is mentioned on that line, in this case it's 8390. Load 8390 first then load ne2k-pci and all should be okay.

Terminal Shortcuts

<Alt>

<Alt> F1, <Alt> F2 etc will change consoles. Usually up to 7 consoles are preconfigured, the number can be changed in /etc/inittab. Reduce the number for a headless, low memory machine.

<Shift> <page_up>

Use scroll back on current console. The scroll back on the current terminal (console) will be lost when changing to another console.
Unsurprisingly <Shift> <page_down> has a similar effect

<Tab>

Enter the start of a command at the prompt then use <Tab> to complete the typing. If more than one result would be possible then <Tab><Tab> to list them all.

Misc

enable forwarding

Routers must have this set, firewalls will often set it within their scripts.
The scripts or whatever will all write either 0 (false) or 1 (true) to /proc/sys/net/ipv4/ip_forward.
Read it using...
Write to it (and enable forwarding) with...

redirection

redirect output to another place
less /tmp/dump - line wrapping is now viewable and the long listing is easily navigated.

/proc

Directory of running processess and their configuration variables. When you edit a config file and run the application, this is where those changes are stored (close enough?)

/var/log

When something goes wrong, and no messages are returned - look here - (it's a directory).
Look here anyway and become familar with the layout and what is captured.

GUI

Is there a point in listing GUI applications? I can't picture describing the mouse shortcuts, but the section is here if there's a need.


Version 3 (old) modified Mon, 26 Jul 2021 12:49:29 +0000 by tyson
[EditText] [Spelling] [Current] [Raw] [Code] [Diff] [Subscribe] [VersionHistory] [Revert] [Delete] [RecentChanges]
> home> about> events> files> members> maps> wiki board   > home   > categories   > search   > changes   > formatting   > extras> site map

Username
Password

 Remember me.
>

> forgotten password?
> register?
currently 0 users online
Node Statistics
building132
gathering193
interested515
operational233
testing214