First, do a
yum install cnetworkmanager to install the NetworkManager command line interface. Then add this
Code:
pass=<your WPA password>
cnetworkmanager -C $1 --wpa-pass $pass &
disown
to
/etc/rc.d/rc.localor crated a script:
Code:
#!/bin/bash
[ $# -eq 0 ] && echo Usage $0 AP [pass_phrase] && exit 1
pass=$2
[ -z "$pass" ] && pass=.....
cnetworkmanager -C $1 --wpa-pass $pass &
disown
and add a desktop file to
.Desktop/autorun to run thst script with your password as an argument when your desktop starts.
<edit>
Run
cnetworkmanager --help for a list of the various other options you can use. I assumed, above, that you were using WAP, but other options are available.
Also, if you replace the NetworkManager with the
wicd Python package, you will be automatically connected during the boot process so your wifi connection will be available even if you boot to level 3.
</edit>
<edit2>
Wait a second! How are you "manually configuring" your modem?

The modem configuration should be done only once, and saved in the modem's eprom. It's usually done by connecting to the modem's setup program using a browser, although some older modems require the use of a Windows-specific (
blah.exe) program. But once the modem is configured, you shouldn't need to do anything unless you need to change the ISP vendor information or encryption settings.
</edit2>
<edit3>
If you are using the default Fedora12 GNOME desktop, you should right-click on the NetworkManager icon in the task-bar at the top, right of the screen, select you access-point, set the password (and store it in the "wallet"). Once you;ve done that, the connection shpuld be automatically made every time you start a GNOME session.
</edit3>