LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 09-10-2003, 01:35 PM   #1
gbrad
Member
 
Registered: Sep 2002
Location: St. Louis, MO
Distribution: Red Hat 8
Posts: 89

Rep: Reputation: 15
Wireless Card Qualms. Oy gevalt.


I'm trying to set up a D-Link DWL-250 (which is on the prism2 chipset). YAST2, in Suse8.2, has detected the card as a D-Link Ethernet Wireless Controller. I can't seem to get the settings right, though. Each time I exit Yast, it still won't connect to the net. I have a linksys router with the default - just for this setup, I don't really have a deathwish - ssid of linksys and no wep. The settings that Yast has are essid, nwid, enc, and nickname. What do I do? I tried do this from the console with the standard modprobe orinoco, ifconfig eth1 up, iwconfig eth1 essid "linksys", dhcpcd eth1. The problem I get with that is a no device found from both ifconfig and iwconfig. I checked /dev and there isn't an eth1 device, or an eth-anything for that matter (not even my onboard eth0). Is YAST insane and not really creating network devices when I tell it too. If so, how would I go about first creating and then setting up a wireless ethernet device on my own. Thanks.
 
Old 09-10-2003, 04:41 PM   #2
akaBeaVis
LQ Guru
 
Registered: Apr 2003
Location: Maryland
Distribution: Slack 9.1,10 Mandrake 10,10.1, FedCore 2,3, Mepis 2004, Knoppix 3.6,3.7, SuSE 9.1, FreeBSD 5.2
Posts: 1,109

Rep: Reputation: 45
do an lsmod and see if the modules for your card are listed there, check your /var/log/messages(or whatever SuSE uses for that) with today's date and see if a device got registered for your device, registering a device for your card is the responsibility of the kernel module, not yast. If no device got registered in your log, then perhaps something will be listed that will lead you in the right direction. dmesg may also help.
 
Old 09-12-2003, 10:22 AM   #3
gbrad
Member
 
Registered: Sep 2002
Location: St. Louis, MO
Distribution: Red Hat 8
Posts: 89

Original Poster
Rep: Reputation: 15
OK, I switched back to Redhat because there were too many things I wasn't liking about SuSE - GNOME support is utter crap. Do I need to have the kernel module loaded before Redhat does the "Checking for New Hardware" at boot. How would I do that? Right now, it's as if the card doesn't exist at all. It hasn't be recognized in any way whatsoever. Could this be a BIOS problem maybe? I've turned off "Plug and Play OS" in the BIOS. And I've tried different PCI slots, too. What could be going wrong? What can I do to get my PC online?
 
Old 09-12-2003, 11:33 AM   #4
cnjohnson
Member
 
Registered: Nov 2002
Location: Nashville
Distribution: FreeBSD, Linux, OS-X
Posts: 544

Rep: Reputation: 30
Quote:
Originally posted by gbrad
OK, I switched back to Redhat because there were too many things I wasn't liking about SuSE - GNOME support is utter crap. Do I need to have the kernel module loaded before Redhat does the "Checking for New Hardware" at boot. How would I do that? Right now, it's as if the card doesn't exist at all. It hasn't be recognized in any way whatsoever. Could this be a BIOS problem maybe? I've turned off "Plug and Play OS" in the BIOS. And I've tried different PCI slots, too. What could be going wrong? What can I do to get my PC online?
No matter what anyone tells you, getting wireless to work with linux is still a PITA. However, you can lessen the pain considerably. First, if you want to use the orinoco drivers you can try this as root:

modprobe hermes
modprobe orinoco
modprobe orinoco_pci

Then do a

lsmod

to make sure they were loaded.

Then try

ifconfig eth0 up

Then try (with the GUI running)

redhat-config-network

to see if you can configure this guy.

Do a search on linuxquestions for the MA311 card. I give pretty complete directions for using the wlan-ng RPM set, which is much better than the orinoco stull (IMHO, of course).

Holler back if you need more help.

Cheers--
Charles
 
Old 09-12-2003, 12:43 PM   #5
gbrad
Member
 
Registered: Sep 2002
Location: St. Louis, MO
Distribution: Red Hat 8
Posts: 89

Original Poster
Rep: Reputation: 15
OK, I've read over a lot of stuff about the MA311. The main problem I'm having, I think, is that my card is not being assigned a device. I have an on-board ethernet controller that is always assigned eth0. I would expect my new WNIC to be assigned eth1 in that case, but that isn't happening. So, I load the modules, do an lsmod and see that they are in fact loaded (I've only been doing "/sbin/modprobe orinoco" thus far, I'll try with the other commands when I get home), but then when I try /sbin/ifconfig eth1 up or anything with iwconfig I get a device not found returned to me. What would cause this? It seems so odd to me. Both in SuSE and Redhat, the card is not assigned an eth device name. Does a device only get the "eth" alias after all of its drivers have been loaded maybe?
 
Old 09-12-2003, 12:59 PM   #6
cnjohnson
Member
 
Registered: Nov 2002
Location: Nashville
Distribution: FreeBSD, Linux, OS-X
Posts: 544

Rep: Reputation: 30
Quote:
Originally posted by gbrad
[edited]
Does a device only get the "eth" alias after all of its drivers have been loaded maybe?
I assume so. I have a machine with 2 cards, one wi-fi (the Netgear MA311), and the other on-board. To get things to happen at boot, you will need to add a line to your modules.conf file , something like

alias eth1 orinoco_pci

If you read your modules.conf file (it is short) for your eth0 interface, you make the eth1 interface entry similar.

You will also need a file in /etc/sysconfig/network-scripts named

ifcfg-eth1

You will have one called ifcfg-eth0 and you can use it as the pattern. I do not know if you can use DHCP to get IP addresses, since I don't use DHCP.

You may also need to have a set of files in /etc/rc.* so that the eth1 interface comes up in the various run levels.

If you have the very *latest* version of the Redhat 9 kernel *and* the latest errata for the networking packages, you should be able to see and manipulate the eth1 interface with redhat-config-network.

Do this by hand is a good learning experience, but as I said, it is a pain. The RPM set for wlan-ng turns out to be much cleaner. If you are using DHCP, you may not even have any files to edit (at most there are two).

But, the route you are going is fine. Don't let me dissuade you from learning the orinoco way. I did it that way at first, too.

Cheers--
Charles
 
Old 09-12-2003, 01:03 PM   #7
gbrad
Member
 
Registered: Sep 2002
Location: St. Louis, MO
Distribution: Red Hat 8
Posts: 89

Original Poster
Rep: Reputation: 15
Alright, thanks a lot for your time. I'll try this all when I get back to my PC later this afternoon and let you know if I run into other problems. Thanks for you help so far. This has been a very frustrating problem, since it makes maintaining my websites a lot more difficult. :P
 
Old 09-12-2003, 01:12 PM   #8
cnjohnson
Member
 
Registered: Nov 2002
Location: Nashville
Distribution: FreeBSD, Linux, OS-X
Posts: 544

Rep: Reputation: 30
Glad to help. It will be sometime after 8:00 pm Central Time (USA) before I will get back, so don't worry if I don't reply right away. Then again, if you tinker around, you are more than likely to get things going on your own. Most of the problems I had were getting the eth1 interface to come up at boot in the various run levels. I literally spent days getting that to work right. I am a pretty slow learner, and since you only do this once or twice, it doesn't "stick." Hence, I really recommend that you write down *exactly* what you do so you can do it again!

Cheers--
Charles
 
Old 09-12-2003, 06:58 PM   #9
gbrad
Member
 
Registered: Sep 2002
Location: St. Louis, MO
Distribution: Red Hat 8
Posts: 89

Original Poster
Rep: Reputation: 15
OK, when I try /sbin/modprobe orinoco_pci I get the following output:

/lib/modules/2.4.20-2.48/kernel/drivers/net/wireless/orinoco_pci.o: init_module: No Such Device
HINT: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters.

What does this mean? My card still doesn't show up in lspci. I had a sound blaster card in a pci slot that was recognized and configured at install. Now, I've even removed that, and the wireless card is the only one in a pci slot, so there shouldn't be IRQ conflicts.
 
Old 09-12-2003, 07:28 PM   #10
cnjohnson
Member
 
Registered: Nov 2002
Location: Nashville
Distribution: FreeBSD, Linux, OS-X
Posts: 544

Rep: Reputation: 30
What happened when you did

modprobe hermes
modprobe orinoco

??

Cheers--
Charles
 
Old 09-12-2003, 07:35 PM   #11
gbrad
Member
 
Registered: Sep 2002
Location: St. Louis, MO
Distribution: Red Hat 8
Posts: 89

Original Poster
Rep: Reputation: 15
Those commands worked perfectly. The top two lines of /sbin/lsmod are now:

orinoco 35704 0
hermes 8100 0 [orinoco]
 
Old 09-12-2003, 08:29 PM   #12
gbrad
Member
 
Registered: Sep 2002
Location: St. Louis, MO
Distribution: Red Hat 8
Posts: 89

Original Poster
Rep: Reputation: 15
Does anybody have any ideas? I never thought installing a simple wireless adapter could be so difficult. This is so frustrating.
 
Old 09-12-2003, 08:59 PM   #13
akaBeaVis
LQ Guru
 
Registered: Apr 2003
Location: Maryland
Distribution: Slack 9.1,10 Mandrake 10,10.1, FedCore 2,3, Mepis 2004, Knoppix 3.6,3.7, SuSE 9.1, FreeBSD 5.2
Posts: 1,109

Rep: Reputation: 45
Hey, is the password on your router set to the default too?, hehe, just kidding

Believe it, I've installed 5 different wireless adapters on mandrake, redhat and slackware, it's not "simple".

Funny, but I can get those two modules to load also, (hermes and orinoco), and the wireless card currently in my machine is definitely not a prism-anything, it's an ti acx100, so having those modules load does not necessarily give one hope.

Do a /sbin/cardctl ident and post the output if possible, also do an /sbin/cardctl status and post as well. the error message you received when attempting orinoco_pci is telling: "no such device" means just that. So we know at this point that you don't have a cardbus or pci card with that chipset, we need to determine what it is you *do* have.

EDIT: oops, skip cardctl if you're using a pci card, which would of course, be my luck.

Last edited by akaBeaVis; 09-12-2003 at 09:04 PM.
 
Old 09-12-2003, 09:07 PM   #14
gbrad
Member
 
Registered: Sep 2002
Location: St. Louis, MO
Distribution: Red Hat 8
Posts: 89

Original Poster
Rep: Reputation: 15
Yeah, it's a pci card, is there anything else I should try?
 
Old 09-12-2003, 09:11 PM   #15
akaBeaVis
LQ Guru
 
Registered: Apr 2003
Location: Maryland
Distribution: Slack 9.1,10 Mandrake 10,10.1, FedCore 2,3, Mepis 2004, Knoppix 3.6,3.7, SuSE 9.1, FreeBSD 5.2
Posts: 1,109

Rep: Reputation: 45
Did you say you've already done an "lspci -vv" and it didn't show your card? if not, please do.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
intel wireless pro 2200 detected as atheros wireless card? whf SUSE / openSUSE 5 08-29-2005 06:04 PM
FC2 not recognizing the Intel PRO/Wireless 2200BG wireless card mdslf Linux - Laptop and Netbook 2 08-24-2004 02:25 AM
desktop wireless card (PCI) and wireless router recommendations lobo78 Linux - Wireless Networking 1 04-30-2004 10:27 PM
Wireless LAN card 802.11b and Ricoh card bus Abdul Mueid Linux - Wireless Networking 4 02-10-2004 04:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 07:57 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration