James Gardner wrote:
> I have tried both using the madwifi source in yast, and downloading and 
> compiling my own madwifi.  Neither worked for me.  I tried compiling again 
> this AM after the suggestion came in, just to make sure I got the latest 
> version.  But no change.
> 
> Regards,
> 
> James
> 

James,

        Did you ever get the wireless working? The developer at madwifi is
really good about helping as well. With Atheros, you will be using
madwifi and wpasupplicant if you are using wpa-tkip. On opensuse 10.3
both work great with knetworkmanager. I have a toshiba P35 with atheros
chipset and it took a little work, but wireless works better on Linux
than on windows. Here is the basic setup after you have madwifi loaded:

# From the command line as root, check that ath0 station is created:

iwconfig

lo        no wireless extensions.

wifi0     no wireless extensions.

ath0      IEEE 802.11g  ESSID:"rbpllc"  Nickname:""
          Mode:Managed  Frequency:2.412 GHz  Access Point: 00:1C:10:4B:2E:CD
          Bit Rate:48 Mb/s   Tx-Power:16 dBm   Sensitivity=1/1
          Retry:off   RTS thr:off   Fragment thr:off
          Encryption key:6B2E-5834-1B7A-1BA3-FDAA-484B-6E84-3B55
Security mode:restricted
          Power Management:off
          Link Quality=44/70  Signal level=-48 dBm  Noise level=-92 dBm
          Rx invalid nwid:12662  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

eth0      no wireless extensions.


# if NO ath0, then Create the station

wlanconfig ath0 create wlandev wifi0 wlanmode sta

# Check with iwconfig

iwconfig

# Bring up the interface

ifconfig ath0 up

# Insert the scanning module

modprobe wlan_scan_sta

# Scan for nets

wlanconfig ath0 list scan

# or for all modems

iwlist ath0 scan

# if key required

iwconfig ath0 key <yourkey>

# Connect to the AP

iwconfig ath0 essid "eddie"

# Get IP address

dhclient -s <server> ath0

# or

dhcpcd ath0

# For fixed IP

ifconfig ath0 <IP address> netmask <netmask> up

# To set up WEP (very simple)

iwconfig ath0 key yourhexkey

# To set up WPA config

wpa_passphrase "your_ESSID" "Some_Decent_PassPhrase_of_up_64_Characters"
>> /etc/wpa_supplicant.conf

Edit /etc/wpa_supplicant.conf and add the lines into the network section
created above:

    key_mgmt=WPA-PSK
#    proto=WPA
   proto=RSN

Uncomment the proto=WPA line (and comment out the RSN line) to enable
WPA. Leave as is for WPA2 (stronger encryption).

        After the basic setup, make sure your ifup-ath0 file is setup
correctly. Mine works like this:

[08:27 Rankin-P35a/home/david/linux/RPMS] # cat
/etc/sysconfig/network/ifcfg-ath0
BOOTPROTO='dhcp'
BROADCAST=''
ETHTOOL_OPTIONS=''
IFPLUGD_PRIORITY='10'
IPADDR=''
MTU=''
NAME='Askey AR5212/AR5213 Multiprotocol MAC/baseband processor'
NETMASK=''
NETWORK=''
REMOTE_IPADDR=''
STARTMODE='ifplugd'
USERCONTROL='yes'
WIRELESS_AP=''
WIRELESS_AUTH_MODE='psk'
WIRELESS_BITRATE='auto'
WIRELESS_CA_CERT=''
WIRELESS_CHANNEL=''
WIRELESS_CLIENT_CERT=''
WIRELESS_CLIENT_KEY=''
WIRELESS_CLIENT_KEY_PASSWORD=''
WIRELESS_DEFAULT_KEY='0'
WIRELESS_EAP_AUTH=''
WIRELESS_EAP_MODE=''
WIRELESS_ESSID='** PUT YOUR ESSID HERE **'
WIRELESS_FREQUENCY=''
WIRELESS_KEY=''
WIRELESS_KEY_0=''
WIRELESS_KEY_1=''
WIRELESS_KEY_2=''
WIRELESS_KEY_3=''
WIRELESS_KEY_LENGTH='128'
WIRELESS_MODE='Managed'
WIRELESS_NICK=''
WIRELESS_NWID=''
WIRELESS_PEAP_VERSION=''
WIRELESS_POWER='yes'
WIRELESS_WPA_ANONID=''
WIRELESS_WPA_IDENTITY=''
WIRELESS_WPA_PASSWORD=''
WIRELESS_WPA_PSK='** PUT YOUR PSK HERE **'

        If you are using WPA-TKIP, your wpa_supplicant.conf should look
something like this:

update_config=1

#run directory (can set group as well)
ctrl_interface=/var/run/wpa_supplicant

#set to 1 if frames dropped
eapol_version=2

# default 1 (0,1,2)
ap_scan=2


network={
#       disabled=0
        id_str="**your label for the interface**"
        ssid="**yourSSID**"
#       mode=0
        priority=4
        key_mgmt=WPA-PSK
        auth_alg=OPEN
        pairwise=TKIP
        group=TKIP
        proto=WPA
        proto=RSN
        psk=**LONG STRING OF STUFF CREATED BY wpa_passphrase**
}

** put other network blocks here for (homeESSID, workESSID, etc.)

        Finally, if you are using KDE, install kneworkmanager. Selecting access
points then is just a simple click to select. I hope this helps, good luck.

-- 
David C. Rankin, J.D., P.E.
Rankin Law Firm, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
Telephone: (936) 715-9333
Facsimile: (936) 715-9339
www.rankinlawfirm.com
-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to