LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Wireless Networking (https://www.linuxquestions.org/questions/linux-wireless-networking-41/)
-   -   How I got the Microsoft MN-720 (802.11g) card working in Suse 9.0 (https://www.linuxquestions.org/questions/linux-wireless-networking-41/how-i-got-the-microsoft-mn-720-802-11g-card-working-in-suse-9-0-a-126753/)

-=Sabin=- 12-17-2003 04:25 PM

How I got the Microsoft MN-720 (802.11g) card working in Suse 9.0
 
I went with the Microsoft MN-720 card. I used the Linuxant Driver to make it work. The driver worked great. The problems I had were with the way Suse 9.0 does WiFi cards.

The driver makes the WiFi card ETH1. But Suse makes it WLAN0. The way I had to fix it so it works was to edit the /etc/sysconfig/network/ifcfg-eth1 file. I copyed the info from the WLAN0 file and put it in to ETH1 file. Then I changed all NIC cards to 'hotplug'. When I did this and rebooted, the card could get on the network and run at 54mb.

I am not sure if this has to be done with other distributions of Linux. I have run Mandrake 9.1 and it ran WiFi cards as ETH not WLAN so it should work with driver.

I hope this helps. It worked for me and I'm a :newbie: .

This what my ETH1 file looks like:

BOOTPROTO='dhcp'
MTU=''
REMOTE_IPADDR=''
STARTMODE='hotplug'
UNIQUE=''
WIRELESS_ESSID='powerhouse'
WIRELESS_KEY='xxxxxxxxxx'
WIRELESS_MODE='Managed'
WIRELESS_NICK=''
WIRELESS_NWID=''

Vincent_Vega 12-17-2003 06:34 PM

Well, maybe you can help me with my problem. I'm trying to setup a MS MN-520 card in my Dell Inspiron 4000, and the MN-500 base station.
I'm running Slackware 9.1 and I'm clueless! I've been reading and searching online for something to help me find a driver and configure things but nothing, short of your post, has seemed to come close.
I've looked for the /etc/sysconfig/network... file but I don't have it.
I've done the obvious netconfig but without drivers for my wireless card I know it's useless.
I'm finding that every distro has a different layout - a really different layout from what I can see. Nothing seems easy to solve but I'm going to keep at it until I'm windows free and able to survive happily with Linux.

Any help setting this up would be a great start!

2Gnu 12-17-2003 06:52 PM

Vincent,
Your MN-520 is a Prism-based card and will happily use the orinoco_cs driver.
In Slackware, the files are different. You edit /etc/pcmcia/wireless.opts with the specific parameters for your network after loading the drivers. Assuming you installed the PCMCIA kernel, try:
insmod hermes
insmod orinoco
insmod orinoco_cs

Here's a similar post that may help with the specifics of the wireless.opts file.

Lastly, restart pcmcia services:
/etc/rc.d/rc.pcmcia restart

Listen for two happy beeps and hopefully, connect.

Fold Zandura 12-17-2003 08:00 PM

Here is how I got my MN-520 to work in Mandrak 9.X

Do this at your own risk.

Advantage:
In a dual boot environment same hardware can be used by both Windows as well as Linux.

hardware:
1. Microsoft Wireless Notebook Adapter MN-520

Login as root and follow these steps.

1. Add the following entries to /etc/pcmcia/config file right after the line that reads "# Wireless network adapters". You can copy these 3 lines and paste into the file:

card "Microsoft Wireless Notebook Adapter MN-520 1.0.3"
version "Microsoft", "Wireless Notebook Adapter MN-520", "", "1.0.3"
bind "orinoco_cs"

2. Restart the system. Your Microsoft Wireless Notebook Adapter will be recognised as "Lucent Orinoco and Prism II-based PCMCIA wireless" hardware device. When your system is up, "Wireless" indicator on the adapter starts blinking.

Vincent_Vega 12-17-2003 08:05 PM

2Gnu,
Thanks for the help! I did the 'insmod's you said to - does that setup the driver? Otherwise, I have no driver but I do see that those modules exist now. (you can see that I'm still sort of lost...)
I also followed the other post and modified my /etc/pcmcia/wireless.opts to make it like the one you posted using essid='Wireless' and key='' since i'm not using a key for now. will that work?
I tried iwconfig eth0 which told me 'no wireless extensions'
basically, what i've tried didn't work and i think i followed your instructions alright with the exception of the driver...can you help me again??

thanks again. your help is appreciated!

Vincent_Vega 12-17-2003 09:09 PM

Fold Zandura,
I checked my /etc/pcmcia/wireless.opts file and it's not the same as yours so I'm not sure if it'll work. I added the lines anyway and I'm not getting anything. when I run iwconfig I get:
lo no wireless connections
eth0 no wireless connections

What do I do for a key? I'm not looking to have key for now. Should I leave that blank (key="") or something else? For not I left it key='s:secu1'.
Thanks again for the help.

Vincent_Vega 12-17-2003 10:23 PM

Well, I'm happy to say that I'm online via Konqueror, but not with my wireless adapter. I did manage to get my 3Com working after reading the posts here so thank you. I'll just keep working on the MS-520 - that's a better way to surf the net!
When I try using the iwconfig <any command such as 'channel 6'> I get an error. Nothing seems to be setup for that card at this point. I'm still not sure the driver is installed. Does insmod install drivers?? That's all I did for the orinoco_cs driver.
I'll do some researching but for now, I'm finally online for the first time with Linux! Thanks again for the help!!!

2Gnu 12-18-2003 09:01 AM

insmod does install, or rather load, the drivers. lsmod will list the driver modules loaded. rmmod unloads them. modprobe loads and attempts to load any dependent modules as well. All of this is in RAM. To make the modules load at boot, you'll need to edit the /etc/modules.conf or /etc/rc.d/rc.xxx. Unfortunately, I can't find where this is done on my Slack system (I'm still learning my way around vs. Red Hat).

Vincent_Vega 12-18-2003 12:19 PM

Ok, that makes sense with the drivers. I'll go ahead and play with it some more and try to get the drivers in the right file. I have both files that you mentioned so I'll check them both out.
What about those settings in the wireless.opts file? Can you guide me a little more on that? Should I delete the sample entries, and if so, which should I configure for my own, or doesn't it matter? I'm still reading so maybe I'll find some answers along the way.
Thanks again!

2Gnu 12-18-2003 12:28 PM

I cleaned up the wireless.opts so that I was less likely to make an error. The only things in there other than the header summary comments are the generic list of parameters with my changes to the relevant ones as shown in the linked thread. ESSID, mode, rate & key are all I use.

-=Sabin=- 12-18-2003 12:48 PM

Update
 
I changed my ETH1 file so the ESSID='any' and it still works. So now if I go to a different WiFi network all I have to do is change the WAP key. Kind of a pain, but aleast it works.:D :D My ETH1 file is below:

BOOTPROTO='dhcp'
MTU=''
REMOTE_IPADDR=''
STARTMODE='hotplug'
UNIQUE=''
WIRELESS_ESSID='any'
WIRELESS_KEY='xxxxxxxxxx'
WIRELESS_MODE='Managed'
WIRELESS_NICK=''
WIRELESS_NWID=''

Vincent_Vega 12-18-2003 02:02 PM

and without a key, how would i configure that? My router shows a long string that is the key...if I just copy that string into the 'key' field will I have encryption setup? I could try that easily but first I just want to get the wireless going. encryption is secondary at the moment.
thanks for the post - I'll give it a try!

2Gnu 12-18-2003 02:36 PM

According to the docs and the way mine is working, the syntax for the WEP key in th wireless.opts file is:
KEY="1234:5678:abcd:ef01: ..."
There should be 26 hexadecimal digits for a 128 bit key and they must match those in the router.

To manually enter a different key:
iwconfig eth0 key 012345abcd... (no colons)
or no key if using a public hotspot:
iwconfig eth0 key off

If you need to change settings frequently, and are using KDE, try KWiFiManager.
http://kwifimanager.sourceforge.net/

-=Sabin=- 12-18-2003 02:40 PM

Quote:

Originally posted by Vincent_Vega
and without a key, how would i configure that? My router shows a long string that is the key...if I just copy that string into the 'key' field will I have encryption setup? I could try that easily but first I just want to get the wireless going. encryption is secondary at the moment.
thanks for the post - I'll give it a try!

I would give it a try. You do need to tell Linux the key it should use or it will not work. Does your card light-up at boot or do the lights stay off? If it lights up then you are half way there. If not then your system can not see the card. Make sure the card lights up first..

Vincent_Vega 12-18-2003 05:23 PM

I'll try that for the key. I saw in one file that key="off" was an option but I'm not sure.
The lights are on but no blinking. If I try iwconfig it says there is nothing there. At boot it says "unsupported card in slot 0" or something like that.
How do I edit my /etc/modules.conf file to include the drivers at boot-up? I can do the insmod... but that's temporary. I'm trying the orinoco driver.
Any ideas?
Thanks for your time.


All times are GMT -5. The time now is 11:12 PM.