On Friday 29 July 2005 16:07, John Wilson wrote:

> This is my ifconfig-wlan0
> DEVICE=wlan0
> BOOTPROTO=dhcp
> ONBOOT=yes
> HWADDR=00:11:f5:61:56:dc
> METRIC=10
> MII_NOT_SUPPORTED=yes
> USERCTL=yes
> WIRELESS_MODE=Auto
> WIRELESS_ESSID=yrr18itta3
> DHCP_CLIENT=dhclient
> DHCP_HOSTNAME=192.168.1.1
> NEEDHOSTNAME=no
> PEERDNS=yes
> PEERYP=no
> PEERNTPD=no
>
> Now, I'm kinda assuming that the HWADDR shown here is of my card on my
> laptop. So where do you set the MAC for the router?  I do know that so I
> need to know where to set it.
>
> Thanks again.
>
> ttfn
>
> John

You do not need to know the IP address of the Router, just its ESSID name, and 
you do not even need that since you could tell it to connect to "Any" ESSID.

In your configuration the following lines are not necessary
HWADDR=00:11:f5:61:56:dc   #If you do not specify a MAC address the driver 
will bind to any compatible wireless card it finds.
METRIC=10  # Why should you want to limit your hop count.
USERCTL=yes  # I do not even know what this does.
DHCP_HOSTNAME=192.168.1.1  # This is supposed to be a hostname not an IP 
address and you do not need it anyway.
DHCP_CLIENT=dhclient  # By default Mandriva will use dhclient
PEERYP=no  # not needed
PEERNTPD=no  # not needed

What you DO need in your configuration is
DEVICE=wlan0
BOOTPROTO=dhcp
ONBOOT=yes
WIRELESS_MODE=Managed  # Assuming your router is a wireless access point
WIRELESS_ESSID=yrr18itta3  # Assuming that really is the ESSID of your router. 
Check your router config.  If you use the string 'any'  then it will connect 
to the strongest signal it finds.
WIRELESS_ENC_KEY="s:ascii_string"  # if you have encryption enabled on your 
router you MUST include this parameter where 'ascii_string' is your routers 
encryption key represented in Ascii. The 's:' tells the system the Key is in 
Ascii  OR
WIRELESS_ENC_KEY=XX:XX:XX:XX:XX:XX:XX:XX:XX:XX    # where the key is 
represented as Hex digits

You can always change the parameters on the fly using the command line command
'iwconfig'  See 'man iwconfig'

derek
-- 
www.jennings.homelinux.net
http://twiki.mdklinuxfaq.org

____________________________________________________
Want to buy your Pack or Services from Mandriva? 
Go to http://store.mandriva.com
Join the Club : http://www.mandrivaclub.com
____________________________________________________

Reply via email to