View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 1 post ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Wed Feb 01, 2006 7:46 pm 
Offline
Joined: Fri Jan 27, 2006 9:53 am
Posts: 15
After I got my ndiswrapper installed, and got my MN-730 wireless pci card from Microsoft working, it wouldn't connect after reboot. So I had to manually go to the command line and start the card, enter my wep key etc...

This is how to fix it.

Add a file called ifcfg-wlan0 to /etc/sysconfig/network-scripts
In that file, add the following:
Code:
DEVICE=wlan0
BOOTPROTO=dhcp
HWADDR=xx:xx:xx:xx:xx:xx  <-- your card MAC address - get it with ifconfig
ONBOOT=yes
TYPE=Wireless
MODE=Managed
ESSID='yournetworkname'
CHANNEL=
IPADDRESS=
DOMAIN=
NETMASK=
USERCTL=no
PEERDNS=no
GATEWAY=
IPV6INIT=no
RATE=Auto
KEY=xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xx <-- Whatever your WEP key is


Create a file called wlanup (or whatever you want)

In it, put the following:

Code:
echo "Loading ndiswrapper..."
modprobe ndiswrapper

echo "Setting mode Managed..."
iwconfig wlan0 mode Managed

echo "Setting up wireless interface wlan0..."
echo " -- Setting ESSID"
iwconfig wlan0 essid YourNetworkName

echo " --Setting to cchannel 6..."
iwconfig wlan0 channel 6  <-- Your channel number

echo " --Setting encryption key"
iwconfig wlan0 key restricted XXXXXXXXXXXXXXXXXXXXXXXXXX <-- Your security key

echo "Bringing up interface wlan0..."
ifconfig wlan0 up

echo "Activating UP address via DHCP..."
dhclient wlan0


Then save it in /etc/init.d don't name it "wlan" because there is already one there, so choose something like "S45wlanup"

Then...
Code:
chmod 755 /etc/init.d/S45wlanup


Next, create a symlink to the file you just made and put it in /etc/rc5.d
Code:
cd /etc/rc5.d
ln -s /etc/init.d/S45wlanup


I'm going from memory but I think that's about it. Let me know if I've missed anything.

Good Luck.

_________________
Toshiba 51" (51H84) TV.
Celeron D 320 (2.4 Ghz)
256 RAM
80 Gb HD
Running KnoppMyth (R5D1)
Hauppauge WinTV-PVR-150
MSI GForce FX 5500 card with 256 RAM


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 27 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu