Posted by: isaraffee | August 29, 2009

wlan0 or wlan1 in Mandrivia Spring 2009?

wlan0 or wlan1 in Mandrivia Spring 2009?

I have wlan0 and wlan1 configuration files as shown below:

cd /etc/sysconfig/network-script

[root@localhost network-scripts]# ll ifcfg-wlan*

-rwxr-xr-x 1 root root 136 2009-07-19 23:57 ifcfg-wlan0*

-rwx—— 1 root root 343 2009-08-19 10:50 ifcfg-wlan1*

If I look at the time stamps, wlan1 was recently configured. This interface was most likely to be use during my wifi connections, because the time stamp suggested that it was recently configured. TO confirm the speculation, type:

Let’s take a look at the wlan files:

# less ifcfg-wlan0

DEVICE=wlan0

BOOTPROTO=static

IPADDR=192.168.1.1

NETMASK=255.255.255.0

NETWORK=192.168.1.0

BROADCAST=192.168.1.255

ONBOOT=yes

METRIC=30

This configuration is certainly wrong as the IP address refers to the IP address of the Access Point (Broadband modem router)

Now let’s take a look at the wlan1 configuration file:

DEVICE=wlan1

BOOTPROTO=dhcp

ONBOOT=yes

METRIC=35

MII_NOT_SUPPORTED=no

USERCTL=yes

RESOLV_MODS=no

WIRELESS_MODE=Managed

WIRELESS_ESSID=gateway1

WIRELESS_ENC_KEY=s:mypassword

WIRELESS_ENC_MODE=open

WIRELESS_WPA_DRIVER=wext

WIRELESS_WPA_REASSOCIATE=no

IPV6INIT=no

IPV6TO4INIT=no

DHCP_CLIENT=dhclient

NEEDHOSTNAME=no

PEERDNS=yes

PEERYP=yes

PEERNTPD=no

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Categories

%d bloggers like this: