Jump to content

wlan0 doesn't have config at boot


Guest overpeer
 Share

Recommended Posts

Guest overpeer

Hi!

 

I can't do that wifi interface can be configured at boot :(

 

My /etc/sysconfig/network-scripts/ifcfg-wlan0

 

DEVICE=wlan0
BOOTPROTO=static
IPADDR="192.168.22.22"
NETMASK="255.255.0.0"
NETWORK="192.168.0.0"
BROADCAST="192.168.255.255"
ONBOOT=yes
MII_NOT_SUPPORTED=no
WIRELESS_ESSID="red-emt-val"
WIRELESS_MODE="Ad-Hoc"
WIRELESS_ENC_KEY="somekey"
TYPE=Wireless

 

In my /etc/modules.conf and /etc/modprobe.conf

 

alias wlan0 zd1211_mod

 

In my /etc/modules

 

zd1211_mod

 

 

But, when machine boots ... boots without wireless config:

 

wlan0     802.11b/g NIC  ESSID:""
         Mode:Managed  Frequency=2.462GHz  Access Point: 00:00:00:00:00:00
         Bit Rate:1Mb/s
         Retry:off   RTS thr=2432 B   Fragment thr:off
         Encryption key:off
         Power Management:off
         Link Quality:68/92  Signal level:48/154  Noise level:161/154
         Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
         Tx excessive retries:0  Invalid misc:0   Missed beacon:0

 

But have the ifconfig of ifcfg-wlan0, IP Address and subnet mask are correct ... i dont kwnow whats happens with wifi config !!!

 

:confused: :confused: :confused: :confused: :confused:

 

After boot, i config with iwconfig and runs OK! Or add a line in /etc/rc.local with 'iwconfig' parameters runs OK too.

 

But by administrative issues, i need that ifcfg-wlan0 have all config.

 

Some idea?

 

A greeting.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...