SCIENTIFIC-LINUX-USERS Archives

May 2007

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Urs Beyerle <[log in to unmask]>
Reply To:
Urs Beyerle <[log in to unmask]>
Date:
Tue, 8 May 2007 18:08:40 +0200
Content-Type:
text/plain
Parts/Attachments:
text/plain (99 lines)
Hi,

concerning madwifi:

Check if you have an Atheros chip:
# lspci | grep Atheros
04:02.0 Ethernet controller: Atheros Communications, Inc. AR5212 
802.11abg NIC (rev 01)

and the madwifi modules are loaded:
# lsmod | grep ath
ath_rate_sample        15232  1
ath_pci                87204  0
wlan                  180708  4 wlan_scan_sta,ath_rate_sample,ath_pci
ath_hal               195536  3 ath_rate_sample,ath_pci


You should see the Atheros card as ath0. Just create a file 
/etc/sysconfig/network-scripts/ifcfg-ath0.
In my case:

# cat /etc/sysconfig/network-scripts/ifcfg-ath0
TYPE=Wireless
DEVICE=ath0
BOOTPROTO=dhcp
NETMASK=
DHCP_HOSTNAME=
IPADDR=
DOMAIN=
ONBOOT=no
USERCTL=no
IPV6INIT=no
PEERDNS=yes
ESSID=
CHANNEL=6
MODE=Managed
RATE=Auto

You can remove the /etc/sysconfig/network-scripts/ifcfg-wifi0 file, if 
there is one.

Check out iwconfig:

# iwconfig
lo        no wireless extensions.

eth1      no wireless extensions.

wifi0     no wireless extensions.

ath0      IEEE 802.11b  ESSID:""
          Mode:Managed  Channel:0  Access Point: Not-Associated
          Bit Rate:0 kb/s   Tx-Power:0 dBm   Sensitivity=0/3
          Retry:off   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality:0  Signal level:0  Noise level:0
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0


Now (important!!) you have to activate the card with:
# ifconfig ath0 up

I put "ifconfig ath0 up" into /etc/rc.local to activate the card every 
time at bootup.

Now you can do a scan:
# iwlist ath0 scan

Or use system-config-network
Or as Troy said, use NetworkManager

Hope this helps

Urs



Johan Mares wrote:
> Yesterday I installed SL5 at home, was smoother install then FC6.
> But I have 2 questions:
> - installing madwifi was just a click, my wireless card (atheros 
> chipset) was found. But nowhere I can find where I can configure the 
> settings for wireless connection. I have done it dozens of times on 
> different versions and flavors of Ubuntu via user interface or file. 
> What is the equivalent of Ubuntu's /etc/network/interfaces file in SL ?
> I can see the wireless card called wifi0 in the network config user 
> interface. When I google most solutions start with download madwifi, 
> make, make install, ...
> - Xen : if I want to start experimenting with Xen, where do I start: 
> Xensource documentation, Red Hat documentation or is there SL 
> documentation ?
>
> Thanx,
>
> johan
>

ATOM RSS1 RSS2