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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
|
04-15-2003, 08:57 PM
|
#1
|
Member
Registered: Nov 2002
Distribution: Slackware 9.0
Posts: 321
Rep:
|
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 10:00 PM.
|
|
|
04-16-2003, 07:17 AM
|
#2
|
Member
Registered: Mar 2002
Location: Lynbrook, NY
Distribution: Fedora Core 1
Posts: 85
Rep:
|
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!
|
|
|
04-16-2003, 07:10 PM
|
#3
|
Member
Registered: Nov 2002
Distribution: Slackware 9.0
Posts: 321
Original Poster
Rep:
|
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
|
|
|
04-16-2003, 08:32 PM
|
#4
|
Member
Registered: Mar 2002
Location: Lynbrook, NY
Distribution: Fedora Core 1
Posts: 85
Rep:
|
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
|
|
|
04-16-2003, 10:11 PM
|
#5
|
LQ Guru
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700
Rep:
|
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
|
|
|
04-17-2003, 11:06 PM
|
#6
|
Member
Registered: Nov 2002
Distribution: Slackware 9.0
Posts: 321
Original Poster
Rep:
|
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
|
|
|
04-17-2003, 11:13 PM
|
#7
|
LQ Guru
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700
Rep:
|
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
|
|
|
04-18-2003, 02:03 PM
|
#8
|
Member
Registered: Nov 2002
Distribution: Slackware 9.0
Posts: 321
Original Poster
Rep:
|
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
|
|
|
04-19-2003, 08:25 PM
|
#9
|
Member
Registered: Nov 2002
Distribution: Slackware 9.0
Posts: 321
Original Poster
Rep:
|
: ( : ( : (
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
|
|
|
04-20-2003, 12:53 PM
|
#10
|
LQ Guru
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700
Rep:
|
What's the output of iwconfig and the goop at the end of "dmesg" about the card binding?
Cheers,
Finegan
|
|
|
04-21-2003, 02:44 PM
|
#11
|
Member
Registered: Nov 2002
Distribution: Slackware 9.0
Posts: 321
Original Poster
Rep:
|
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.
|
|
|
04-25-2003, 09:29 PM
|
#12
|
Member
Registered: Nov 2002
Distribution: Slackware 9.0
Posts: 321
Original Poster
Rep:
|
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
|
|
|
04-27-2003, 11:06 AM
|
#13
|
Member
Registered: Nov 2002
Distribution: Slackware 9.0
Posts: 321
Original Poster
Rep:
|
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?
|
|
|
04-27-2003, 01:37 PM
|
#14
|
LQ Guru
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700
Rep:
|
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
|
|
|
04-27-2003, 02:16 PM
|
#15
|
Member
Registered: Nov 2002
Distribution: Slackware 9.0
Posts: 321
Original Poster
Rep:
|
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
|
|
|
All times are GMT -5. The time now is 04:58 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|