FC-6 and wireless



Where can I get information on the settings for ifcfg-wifi0 configuration
file?

I have the wireless working with a script that I wrote but I want to
automate it so it follows the setup of an ethernet card on boot up.
When using the ifcfg-wifi0 settings it starts slowly and when it does come
up ping doesn't work(destination unreachable). ifconfig shows it up and
iwconfig shows it working. Route shows the proper default gw.

here is my script - it works
#!/bin/sh
/sbin/modprobe ath_pci
/sbin/modprobe wlan_scan_sta
/sbin/ifconfig ath0 up
/usr/local/bin/wlanconfig ath0 list scan
/sbin/iwconfig ath0 essid "linksys"
/sbin/ifconfig ath0 192.168.1.25 netmask 255.255.255.0 up
route add default gw 192.168.1.1

Here if my ifcfg-wifi0 - this doesn't
I have changed the onboot to no so it won't hang on bootup, I change it to
yes and then issue a /etc/rc/d/init.d/network restart and it fails. This
is after a fresh boot and without running my script.

client@client ~]$ cat /etc/sysconfig/network-scripts/ifcfg-wifi0

# Atheros Communications, Inc. AR5005G 802.11abg NIC
DEVICE=wifi0
ONBOOT=no
BOOTPROTO=static
HWADDR=00:13:f7:41:22:88
IPADDR=192.168.1.20
NETMASK=255.255.255.0
BROADCAST=192.168.1.255
NETWORK=192.168.1.0
GATEWAY=192.168.1.1
TYPE=Ethernet
USERCTL=no
IPV6INIT=no
PEERDNS=yes
WIRELESS_ESSID='linksys'
STARTMODE=auto

--
Dancin in the ruins tonight
Tayo'y Mga Pinoy
.



Relevant Pages

  • Re: Power Management GPO?
    ... changes to the power scheme as a standard user. ... settings into the default user profile. ... create a log file for my batch file. ... So then I created a GPO that runs a computer startup script. ...
    (microsoft.public.windows.group_policy)
  • Re: Power Management GPO?
    ... I turned hibernate on, then waited for the schedule and it worked, so SYSTEM does have the ability to change power settings. ... So, long story short, I am guessing you could create a startup script that creates the scheduled task to run a second script that sets the power configuration. ... Run powercfg from the command line with a /? ...
    (microsoft.public.windows.group_policy)
  • Re: scripted logon
    ... Why can't you launch all the scripts from a Group Policy based Logon script. ... Here's the policy settings (I sure hope word wrap doesn't mess it up too ... Windows Components/Windows Installer ...
    (microsoft.public.windows.terminal_services)
  • Re: Power Management GPO?
    ... My guess is that the two that are working are per-machine settings, but the power scheme settings are per-user and it doesn't like the system context I suppose. ... This showes that my batch file is being processed but my commands aren't taking I guess. ... The script checks for the existance of my batch file in the root of the target PC. ...
    (microsoft.public.windows.group_policy)
  • Re: scripted logon
    ... The only script I ... Here's the policy settings (I sure hope word wrap doesn't mess it up too ... Policy Setting ... Windows Components/Windows Installer ...
    (microsoft.public.windows.terminal_services)