LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 04-15-2003, 07:57 PM   #1
andrew001
Member
 
Registered: Nov 2002
Distribution: Slackware 9.0
Posts: 321

Rep: Reputation: 30
wlan-ng is driving me crazy!


Sorry for the long post~

I just installed Slackware 9.0, but I can't get linux-wlan-ng working on it.

I'm running into trouble when I actually try to connect with my network. Here is what I try to do to get it up and running.

$wlanctl-ng wlan0 lnxreq_ifstate ifstate=enable

$wlanctl-ng wlan0 lnxreq_autojoin ssid=Higgnet authtype=opensystem

$ifconfig wlan0 up

$route add default gw 192.168.0.1 dev wlan0

For some reason this isn't getting me connected (ie I can't even ping the server). So far as I can see, my server isn't even recieving any packets from the new host.

I have the modules loaded. My card is supported. The light in the back blinks.

Any hep would be much appreciated

~Andrew

PS. I'm new to slack, so how do I edit the /etc/rc.d/rc.S file to make this work?

Last edited by andrew001; 04-15-2003 at 09:00 PM.
 
Old 04-16-2003, 06:17 AM   #2
jpohara
Member
 
Registered: Mar 2002
Location: Lynbrook, NY
Distribution: Fedora Core 1
Posts: 85

Rep: Reputation: 15
In order to get a decent reply here, you should provide information on:

1) the type of card or USB device you are using
2) the output of the command <<ifconfig wlan0>>
3) any strange messages you got from the <<wlanctl-ng>> commands

That would help you to get up and running a bit faster...good luck!
 
Old 04-16-2003, 06:10 PM   #3
andrew001
Member
 
Registered: Nov 2002
Distribution: Slackware 9.0
Posts: 321

Original Poster
Rep: Reputation: 30
1) DWL-520 PCI card
2) ifconfig wlan0 give all of the normal information, except it doesn't have any adresses assigned (my server/router) has dhcp.
3) wlanctl-ng doesn't give any weird messages
 
Old 04-16-2003, 07:32 PM   #4
jpohara
Member
 
Registered: Mar 2002
Location: Lynbrook, NY
Distribution: Fedora Core 1
Posts: 85

Rep: Reputation: 15
I was using the same software a while back (until I ran an extra cable in the house).

I found that even though I was also using dhcp it helped to enter a static ip address (that may be a quirk of older versions of the software)

before the wlanctl-ng commands I would enter something like

ifconfig wlan0 192.168.0.xxx up

I still had to re-enter the ifconfig wlan0 up command a second time after the 2 wlanctl-ng commands were entered.

It worked, even if it wasn't the "right" way. Give it a try...

cheers,
john
 
Old 04-16-2003, 09:11 PM   #5
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 72
the wlan-ng modules always make me gag...

I hate answering an "it hurts when I do this" question with a "don't do that" answer, but the orinoco modules are already there, compiled, and they actually work well with the DWL520. With kernel 2.4.20 you got .11b of the driver, which handles the newer firmware of the prism2.5 cards that the DWL-520 (and a bunch of others is based on). It hacks and barfs on encryption.

However, the .13x series of the orinoco is much better at WEP, and actually compiles easily...

modprobe orinoco_pci
ifconfig eth0 192.168.0.23 up
iwconfig eth0 essid Higgnet (on an opensystem actually unnecessary)
route add default gw 192.168.0.1

Cheers,

Finegan
 
Old 04-17-2003, 10:06 PM   #6
andrew001
Member
 
Registered: Nov 2002
Distribution: Slackware 9.0
Posts: 321

Original Poster
Rep: Reputation: 30
NO WAY! I had no idea that dwl-520 was supported by orinico!!!

I'm not at the house with the slack-box in questions, but I think I will drive over this weekend and compile the oronico modules into a 2.4.20 kernel : )

I'll post again once i know how this works out.

Thanks a bunch to finegan and jpohara

~Andrew
 
Old 04-17-2003, 10:13 PM   #7
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 72
No kidding....

Well, if you're bored, you might also want to try the kickass little hostap module set:

http://hostap.epitest.fi/

It works on a clean "make" "make install", and will run your card in master mode so it can be the access point on a BSS network... sweet....

Cheers,

Finegan
 
Old 04-18-2003, 01:03 PM   #8
andrew001
Member
 
Registered: Nov 2002
Distribution: Slackware 9.0
Posts: 321

Original Poster
Rep: Reputation: 30
I tried to compile the needed modules into my kernel, but I'm having a little bit of trouble.

I managed to get orinico_cs in there with all of its necessary components, but orinico_pci is nowhere to be found. The only other module in there is plain old orinoco.

I'm pretty sure the problem is that I didn't enable PLX9052 based PCI cards, which it told me to do for full functionality, but I can't find that option in 'menuconfig'. I'm wondering if there's a way that I can just find the source for it, and compile and insert it into /lib/modules by hand.

Is that allowed/possible?

Thanks for your help,
Andrew
 
Old 04-19-2003, 07:25 PM   #9
andrew001
Member
 
Registered: Nov 2002
Distribution: Slackware 9.0
Posts: 321

Original Poster
Rep: Reputation: 30
: ( : ( : (

I located orinoco_pci. It turns out it was experimental, and I had it so that it wouldn't prompt me for experimental options.

The modules are installed and working, but I still can't get the thing to connect to my server! I have no idea what is going on here. My network does not have a wep, and I have eth0 aliased to orinoco_pci .

There aren't any error messages generated, yet it still doesn't actually connect to my network. I can't even use 'route' to add the default gw. please help me!!

Thanks~

Andrew
 
Old 04-20-2003, 11:53 AM   #10
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 72
What's the output of iwconfig and the goop at the end of "dmesg" about the card binding?

Cheers,

Finegan
 
Old 04-21-2003, 01:44 PM   #11
andrew001
Member
 
Registered: Nov 2002
Distribution: Slackware 9.0
Posts: 321

Original Poster
Rep: Reputation: 30
I won't be able to access the slack-box in question for a couple of days. As soon as I can, I'll give you those outputs, and I've got a few things I want to try, so hopefully this'll be over with pretty soon.
 
Old 04-25-2003, 08:29 PM   #12
andrew001
Member
 
Registered: Nov 2002
Distribution: Slackware 9.0
Posts: 321

Original Poster
Rep: Reputation: 30
all better now

ok~

I got back to the house with the slackware box, and had my wlan up in no time. The real problem was that I didn't understand the BSD init system, so I was bringing up eth0 with iwconfig a little too late. There were also some other trivial proglems with my neighbors stupid linksys router, but I got that under control in no time.

Thanks a lot for all of your help,
Andrew
 
Old 04-27-2003, 10:06 AM   #13
andrew001
Member
 
Registered: Nov 2002
Distribution: Slackware 9.0
Posts: 321

Original Poster
Rep: Reputation: 30
more problems~

i don't know if anyone is reading this post anymore, but i though i'd put my problem in here:

sometimes when i'm using my wireless nic, it just inexplicable crashes. i've heard of this problem before, but i've never heard of the fix. any ideas?
 
Old 04-27-2003, 12:37 PM   #14
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 72
What card, what modules set, and what kind of crash?

As in the machine locks up, or the network gets dumped?

The devil's in the details man.

Cheers,

Finegan
 
Old 04-27-2003, 01:16 PM   #15
andrew001
Member
 
Registered: Nov 2002
Distribution: Slackware 9.0
Posts: 321

Original Poster
Rep: Reputation: 30
Finegan~

I just spent a while debugging this, and I've found pretty much what causes it, and (maybe) what goes wrong. I am using a DWL=520 with the orinico_pci module.

"The crash" is basically network services being dumped. This doesn't happen in the way that the device loses its assigned adress, but that my card becomes disconnected from the wireless network. It happens almost immediately if I connect to the server from inside the network for ftp or vnc, but not when i connect for ssh.

Do get the network service back up, I have to bring the interface down, unload the module, and then re-run the network startup scripts.

Thanks in advance for you help,
Andrew
 
  


Reply



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
[ ] @ are driving me crazy FireInTheDark Linux - Software 1 11-28-2004 09:42 AM
Help this is driving me crazy!!!!!! Wolfy Linux - Hardware 1 07-07-2004 01:32 AM
Hotwayd is driving me crazy!!! Teckno Linux - Software 2 05-30-2004 01:51 PM
acidrip is driving me crazy Pwcca Linux - Software 7 01-31-2004 08:30 PM
Gnome driving me crazy! ar1 Debian 5 01-29-2004 09:12 AM

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

All times are GMT -5. The time now is 04:52 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