Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Wed 20 Aug 2014, 06:53
All times are UTC - 4
 Forum index » House Training » Users ( For the regulars )
how to get Orinoco wireless to scan with WAG?
Moderators: Flash, Ian, JohnMurga
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 2 of 3 Posts_count   Goto page: Previous 1, 2, 3 Next
Author Message
peppyy


Joined: 27 Jun 2005
Posts: 429
Location: VT USA

PostPosted: Tue 15 Nov 2005, 23:07    Post_subject:  

What is the location of the existing orinoco_cs driver?
I would think if it were replaced with an updated one that that one would load automatically instead. Right?

If the kernel headers match wouldn't it be interchangeable?

Sorry I haven't been around lately but it is a long sleepless story.

_________________
Questions? Search Puppy Linux Answers with Google
Back to top
View user's profile Send_private_message Visit_website AIM YIM MSNM 
tempestuous

Joined: 10 Jun 2005
Posts: 5234
Location: Australia

PostPosted: Wed 16 Nov 2005, 01:03    Post_subject:  

peppyy & rarsa,
As you have possibly seen from other threads, I am going through my collection of dedicated Linux wireless drivers at the moment to add some new ones, update the ones that don't work, and update some documentation. So I thought I might as well sort out the Orinoco situation.
I have been trying various Linux wifi sniffers recently (since Keenard's WAG doesn't support my linux-wlan-ng driver) and found some good information about the orinoco patches at the AirSnort website - http://airsnort.shmoo.com/orinocoinfo.html
Guess what ... all versions after 0.13e support monitor mode. No patch required.
The latest version is 0.15rc3, and since it doesn't look like a stable release I downloaded the CVS source instead, from http://savannah.nongnu.org/projects/orinoco/
All modules compiled easily, and there's now a few extra modules, including one for Orinoco USB devices.
There's also a Prism USB module, but I just tried it with my Prism2.5-based D-Link DWL-122 adaptor and it doesn't work. For Prism devices, linux-wlan-ng or HostAP drivers are really better options.

I don't know how to get the Orinoco driver(s) into monitor mode, except for this information from the AirSnort site -
The following command is used to enable monitor mode:
iwpriv eth0 monitor <m> <c>
m - one of the following
0 - disable monitor mode
1 - enable monitor mode with Prism2 header info prepended
to packet (ARPHRD_IEEE80211_PRISM)
2 - enable monitor mode with no Prism2 info (ARPHRD_IEEE80211)
c - channel to monitor

To this end, I have included iwpriv in the orinoco driver package.
Be aware that these drivers will OVERWRITE the existing orinoco/hermes modules in Puppy.
You might want to test initially with a liveCD.
orinoco_README.tar
Description 
tar

 Download 
Filename  orinoco_README.tar 
Filesize  10 KB 
Downloaded  185 Time(s) 
orinoco-cvs-20051116.tar.gz
Description 
gz

 Download 
Filename  orinoco-cvs-20051116.tar.gz 
Filesize  65.02 KB 
Downloaded  195 Time(s) 
Back to top
View user's profile Send_private_message 
keenerd

Joined: 20 Aug 2005
Posts: 175

PostPosted: Thu 17 Nov 2005, 13:49    Post_subject:  

Quote:
Keenard's WAG doesn't support my (tempestuous) linux-wlan-ng driver


Could I have some details so I could try to fix this?

Can the card output a list of access points from the command line? If so, the fix will be easy.
Back to top
View user's profile Send_private_message 
tempestuous

Joined: 10 Jun 2005
Posts: 5234
Location: Australia

PostPosted: Fri 18 Nov 2005, 02:14    Post_subject:  

Good question keenerd. You prompted me to find out.

linux-wlan-ng is unique amongst wireless drivers in that it doesn't use iwconfig, because linux-wlan-ng doesn't support the Linux wireless extensions interface. So it has its own configuration utility, wlanctl-ng. This utility has an amazing number of command options, and documentation is hard to come by. I had to discover the commands to connect to my wireless router from Google searches. Same with commands to make an ad-hoc connection, and I have not tested this yet.
So just now, I Googled for commands to achieve a site survey. This is the result -

wlanctl-ng wlan0 lnxreq_ifstate ifstate=enable
wlanctl-ng wlan0 dot11req_scan bsstype=any bssid=00:00:00:00:00:00 scantype=both probedelay=0 / channellist="01:02:03:04:05:06:07:08:09:0a:0b:0c:0d:00" minchanneltime=200 maxchanneltime=1000 ssid=""
wlanctl-ng wlan0 dot11req_scan_results bssindex=0 ## (then 1, 2, etc for each detected AP)

I just tried these commands, and they do work.

Regarding wifi sniffer applications, Prism2-based adaptors are not supported by several because of the wireless extensions issue. But Prism2 is a common chipset and there are some sniffers that were designed specifically to support it. In theory, PrismStumbler should be a prime choice, but I can't get it to work. I have had partial success with ssidsniff, airfart, and AirSnort, but the real winner has been Kismet.


peppyy,
Does the new orinoco driver now work with WAG?
Back to top
View user's profile Send_private_message 
peppyy


Joined: 27 Jun 2005
Posts: 429
Location: VT USA

PostPosted: Fri 18 Nov 2005, 09:49    Post_subject:  

I have attemped to set it up running 1.0.5 live without any luck yet but I just got one of my demo-pups back and it is a different breed so perhaps I will have better luck with that one.

It is quite possible that my card's firmware needs to be upgraded and I haven't found a safe way to do that with Puppy yet. I don't have any winows machines with pcmcia so I may be stuck as far as the gold classic goes.

I was looking into other cards with an MC connector for an external antenna but they all seem to have the same basic chipset, just different firmware.

I have a couple other cards that I should check out though. The wpc11 v3 linksys cards seem to be plugn-play and I believe they use the prism2 but I would have to look it up. I also have a dell true mobil b/g and a netgear ma401, an orinoco/proxim a/b that I think is wavelan and a garbage gigafast 11b that doesn't even work right with the xp drivers.

Since it looks like I am not going anywhere after all, I should be able to do some testing soon.

I really want to thank everyone for all the work they are doing to make wireless so user friendly in Puppy. Puppy is so well suited for portables that it is the perfect choice for people on the go.

_________________
Questions? Search Puppy Linux Answers with Google
Back to top
View user's profile Send_private_message Visit_website AIM YIM MSNM 
tempestuous

Joined: 10 Jun 2005
Posts: 5234
Location: Australia

PostPosted: Fri 18 Nov 2005, 12:02    Post_subject:  

Some new information about your Orinoco Classic Gold cards - some of these, model number 8410 apparently, had a newer version of the Hermes chipset which WON'T WORK with the orinoco_cs driver. This might explain your problems with some of your Classic Gold cards.

In the discovery process, I found the correct Linux driver for these cards, at http://www.agere.com/mobility/wireless_lan_drivers.html
I may eventually compile this driver.

In the meantime, you should be able to try the new orinoco driver with your Netgear MA401 (Prism2) and maybe your Linksys WPC11 v3 (Prism3).
... but not your Dell TrueMobile 1300b/g (Broadcom) nor Proxim a/b (Atheros).
Back to top
View user's profile Send_private_message 
peppyy


Joined: 27 Jun 2005
Posts: 429
Location: VT USA

PostPosted: Sun 20 Nov 2005, 20:59    Post_subject:  

The V3 now scans and seems to work fine until I try to connect to a cell. Whenever I click on one it just starts flashing and must be ejected phisically and reset before I can get it to respond again. I am working from a HD install of 1.0.5 that I am not too worried about.

Do I have to install the wifi-beta2 ?

_________________
Questions? Search Puppy Linux Answers with Google
Back to top
View user's profile Send_private_message Visit_website AIM YIM MSNM 
tempestuous

Joined: 10 Jun 2005
Posts: 5234
Location: Australia

PostPosted: Mon 21 Nov 2005, 08:41    Post_subject:  

keenerd might know more about the nuances of WAG that may be causing this problem, or it could just be that your Prism3-based WPC11 v3 is not fully compatible with the orinoco driver. Orinoco is an older driver, and officially only supports Prism2 devices.

peppyy wrote:
Do I have to install the wifi-beta2 ?

Yes, you could consider the wifi-1.0.4-beta-2 package, which uses ndiswrapper. You would use this instead of the orinoco driver, not in addition to.

But since you're already comfortable with adding extra resources to Puppy why not try the optimum driver for Prism3-based adaptors - HostAP. It's here - http://mymirrors.homelinux.org/puppy/wireless/
Back to top
View user's profile Send_private_message 
keenerd-not-logged-in
Guest


PostPosted: Mon 21 Nov 2005, 13:00    Post_subject:  

Peppyy, could you run /usr/local/WAG/debug ?

It will launch WAG. Use WAG just as you described, make it crash. Then exit WAG, and upload /usr/local/WAG/debug.txt to the forum.
Back to top
Peppyy on 7
Guest


PostPosted: Mon 21 Nov 2005, 14:47    Post_subject:  

keenerd-not-logged-in wrote:
Peppyy, could you run /usr/local/WAG/debug ?

It will launch WAG. Use WAG just as you described, make it crash. Then exit WAG, and upload /usr/local/WAG/debug.txt to the forum.


Code:
loading user data
starting diagnostics
   cardctl test
   wide angle iwconfig
lo        no wireless extensions.

   dhcpcd test
   wifi beta test
ls: /root/.etc/rc.d/*wireless*: No such file or directory
   root user test
   scan test
   ap test
   ip test
forming output
generating buttons
xmessage main dialog
running user action
   action: scan
   action: affect scan
Error for wireless request "Set Frequency" (8B04) :
    SET failed on device eth0 ; Device or resource busy.
loading user data
starting diagnostics
   cardctl test
   wide angle iwconfig
lo        no wireless extensions.

   dhcpcd test
   wifi beta test
ls: /root/.etc/rc.d/*wireless*: No such file or directory
   root user test
   scan test
   ap test
   ip test
forming output
generating buttons
xmessage main dialog
running user action
   action: null

As you see no wifibeta yet.
Back to top
peppyy


Joined: 27 Jun 2005
Posts: 429
Location: VT USA

PostPosted: Mon 21 Nov 2005, 21:40    Post_subject:  

I actually ended up with a couple of the same V3 cards and thought I would try them all. They react differently in slot 0 and slot 1. I can't eject or reseat from 0 but I can from 1 until I scan and then I have to remove the card and refresh WAG before starting over.

Even when reporting active they do not find anything untol dhcpcd is on and they are already connected. The only cards I have been able to scan with ar the ones using Ndiswrapper.

I have not installed wifibeta or pearl on this machine, just the new drivers.
Does that help?

_________________
Questions? Search Puppy Linux Answers with Google
Back to top
View user's profile Send_private_message Visit_website AIM YIM MSNM 
tempestuous

Joined: 10 Jun 2005
Posts: 5234
Location: Australia

PostPosted: Tue 22 Nov 2005, 04:23    Post_subject:  

I think you should go back a step. Troubleshoot your hardware/drivers before troubleshooting applications like WAG.

After "modprobe orinoco_cs" (or ndiswrapper, or hostap_cs, or whatever) run "iwconfig". Can you see a valid interface?
If no, your driver is not working, change driver.
If yes, run "iwlist eth0 scan" (or wlan0). If this works, you know the driver is working and supports scanning. Now you can try WAG.
Back to top
View user's profile Send_private_message 
keenerd

Joined: 20 Aug 2005
Posts: 175

PostPosted: Wed 23 Nov 2005, 20:11    Post_subject:  

Actually, I can tell a lot about his hardware from the WAG diagnostic.

First up, your differences between slot 0 and slot 1: You need to tell WAG which your card uses, since autodecting the proper slot is tricky. You tell WAG to use slot 0, and it will eject/insert from slot 0 just fine. Read the "Help" button.

Now, going through your diagnostics line by line:

The "wide angle iwconfig" is just typing "iwconfig" at the command line.
It says "lo" is your only interface. You don't have any sort of functional drivers. You don't have anything to connect wirelessly to. You'll have more luck trying to boot a Puppy CD on a computer without a CD-ROM drive.

"ls: /root/.etc/rc.d/*wireless*: No such file or directory"
You don't have wifi-beta installed, since it generates this file.

"Error for wireless request "Set Frequency" (8B04) :"
" SET failed on device eth0 ; Device or resource busy."
I'm just amused by this one. I presume you also have an ethernet jack on this computer? WAG just tried to set its frequency Smile

Then it just repeats itself.

So, running "iwconfig" is giving you nothing. Your driver isn't working.
Back to top
View user's profile Send_private_message 
tempestuous

Joined: 10 Jun 2005
Posts: 5234
Location: Australia

PostPosted: Thu 24 Nov 2005, 00:52    Post_subject:  

peppyy, you seem to have such a "smorgasbord" of wifi adaptors that, even though I'm not a fan of ndiswrapper, I suggest that wifi-beta2 is possibly the best wifi driver package for you - a large collection of drivers (albeit Windows drivers) in one convenient package.

Regarding the new orinoco driver - I would use it for Orinoco-based adaptors only ... even though it has limited compatibility with Prism2 devices. And I'm referring to Orinoco CHIPSETS, not the Orinoco BRAND NAME. Orinoco (the brand name) is associated with Wavelan, Proxim, Lucent, Agere, and Symbol.
This messy situation is explained here - www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/Orinoco.html

Orinoco (the brand name) may contain chipsets by one of several different manufacturers.
To find out what chip is in what device, see here - http://linux-wless.passys.nl/
Back to top
View user's profile Send_private_message 
Peppyy on 7
Guest


PostPosted: Fri 25 Nov 2005, 01:53    Post_subject:  

If I were to remove the linux driver completely and modprobe the xp driver wouldn't it treat the card like all the rest? This card is reported to scan under xp. Might try that and see what happens.
Back to top
Display_posts:   Sort by:   
Page 2 of 3 Posts_count   Goto page: Previous 1, 2, 3 Next
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » House Training » Users ( For the regulars )
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0891s ][ Queries: 12 (0.0042s) ][ GZIP on ]