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 Mon 22 Dec 2014, 05:32
All times are UTC - 4
 Forum index » Advanced Topics » Hardware » Networking » Wireless
Netgear N150 Wireless USB Adapter - How?!?!?
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 4 Posts_count   Goto page: 1, 2, 3, 4 Next
Author Message
Lotica

Joined: 05 Aug 2011
Posts: 8

PostPosted: Fri 05 Aug 2011, 23:01    Post_subject:  Netgear N150 Wireless USB Adapter - How?!?!?  

I just got a Netgear N150 Wireless USB Adapter (Netgear WNA1100) for my little Linux machine, and I want to use a form of Puppy Linux on the machine, but I can't use the adapter and get on the internet on the machine, unless I use a CAT5 wired connection, but that gets in the way in the house and I could possibly damage the wire, which would waste me some money.

This kind of question has probably been answered before, but I don't know if they've been answered for this adapter. I would put Ubuntu or Xubuntu on the machine, which automatically recognizes the adapter, but they seem to run slower and I want to put Puppy Linux on it, but can't for this problem. I do have the CD since I just bought the thing, so if that is required in any way, please let me know.

Thank you.
Back to top
View user's profile Send_private_message 
tempestuous

Joined: 10 Jun 2005
Posts: 5293
Location: Australia

PostPosted: Sat 06 Aug 2011, 00:10    Post_subject:  

The WNA1100 contains a very new chipset, the Atheros AR9271, and the only way to support this chipset under Linux is with a more recent kernel than Puppy 5.2.x currently has.
But you can use a Puppy derivative; "Fluppy013" from here -
http://www.murga-linux.com/puppy/viewtopic.php?t=56156
and then you must install the ath9k_htc driver for Fluppy, which I provided here -
http://www.murga-linux.com/puppy/viewtopic.php?t=66857

UPDATE:
The ath9k_htc wifi driver is tested and known to work in several other recent Puppy versions:
Lucid-5.29 beta - "Three-Headed Dog"
http://www.murga-linux.com/puppy/viewtopic.php?t=70736

Slacko
http://www.murga-linux.com/puppy/viewtopic.php?t=72361

Dpup Exprimo 5.X.8
http://www.murga-linux.com/puppy/viewtopic.php?t=70399

Edited_time_total
Back to top
View user's profile Send_private_message 
Lotica

Joined: 05 Aug 2011
Posts: 8

PostPosted: Sat 06 Aug 2011, 01:06    Post_subject:  

Okay, so I installed Fluppy and downloaded the ath9k_htc driver, now what do I do?
Back to top
View user's profile Send_private_message 
tempestuous

Joined: 10 Jun 2005
Posts: 5293
Location: Australia

PostPosted: Sat 06 Aug 2011, 02:49    Post_subject:  

I packaged the ath9k_htc driver, like most driver packages available on this forum, as a dotpet. Obviously, you must install this.

First, it's best to not have your wifi device plugged in.
Now use the ROX file browser to locate the dotpet (wherever you downloaded it) then click it, once. You will see a message confirming installation.

Now plug in the USB device, then run the Network Wizard. You should see that Fluppy has automatically loaded the ath9k_htc driver, so all you need to do is configure the wifi connection.
Back to top
View user's profile Send_private_message 
aarf

Joined: 30 Aug 2007
Posts: 3620
Location: around the bend

PostPosted: Sat 06 Aug 2011, 04:21    Post_subject:  

talking about wireless N you may recall i purchased a dlink140 wireless N to enhance my eeepc wifi reception. now after testing in multiple location i can report that it is bunk'um. my inbuilt wifi g and my dlink N have identical range and as far as i can tell speed. there has been one occasion where i got 600K/b sec on my G, i have never matched anywhere near that on my N. may be a driver issue. have only used what it auto configures in lupu for the N. may also be a fake/copy dlink140.but it was purchased from a multi-store respected chain.
_________________

ASUS EeePC Flare series 1025C 4x Intel Atom N2800 @ 1.86GHz RAM 2063MB 800x600p ATA 320G
_-¤-_

<º))))><.¸¸.•´¯`•.#.•´¯`•.¸¸. ><((((º>

Edited_time_total
Back to top
View user's profile Send_private_message Visit_website 
Lotica

Joined: 05 Aug 2011
Posts: 8

PostPosted: Sat 06 Aug 2011, 04:57    Post_subject:  

tempestuous wrote:
I packaged the ath9k_htc driver, like most driver packages available on this forum, as a dotpet. Obviously, you must install this.

First, it's best to not have your wifi device plugged in.
Now use the ROX file browser to locate the dotpet (wherever you downloaded it) then click it, once. You will see a message confirming installation.

Now plug in the USB device, then run the Network Wizard. You should see that Fluppy has automatically loaded the ath9k_htc driver, so all you need to do is configure the wifi connection.


I did all that, and still it doesn't work. Do I need to use the CD by any chance?
Back to top
View user's profile Send_private_message 
tempestuous

Joined: 10 Jun 2005
Posts: 5293
Location: Australia

PostPosted: Sat 06 Aug 2011, 05:22    Post_subject:  

OK, we need to positively identify your USB device. Plug it in, wait a few seconds, then run this command -
Code:
cat /proc/bus/usb/devices

and tell us the "Vendor" and "ProdID" values for your wifi device.
Back to top
View user's profile Send_private_message 
Lotica

Joined: 05 Aug 2011
Posts: 8

PostPosted: Sat 06 Aug 2011, 05:30    Post_subject:  

Vender is 0846 and the ProdID is 9030.
Back to top
View user's profile Send_private_message 
tempestuous

Joined: 10 Jun 2005
Posts: 5293
Location: Australia

PostPosted: Sat 06 Aug 2011, 17:08    Post_subject:  

Well your USB device ID is definitely supported by the ath9k_htc driver, but I now see that Fluppy013 has a very early version of this driver (due to its 2.6.35 kernel) which supports only a limited range of devices.

So I just tried to hack the existing driver to support the full range of device ID's, using the latest source code from here -
http://cateee.net/lkddb/web-lkddb/ATH9K_HTC.html
but I see that the whole structure of the relevant source file (hif_usb.c) has changed significantly, and the hack would be sure to fail.

A more thorough fix would be to backport the whole driver from updated source, rather than hack individual files. I will look at it later today.
Back to top
View user's profile Send_private_message 
Lotica

Joined: 05 Aug 2011
Posts: 8

PostPosted: Sat 06 Aug 2011, 17:52    Post_subject:  

Well that's just lovely. Confused

Alright, try to do whatever you can.
Back to top
View user's profile Send_private_message 
tempestuous

Joined: 10 Jun 2005
Posts: 5293
Location: Australia

PostPosted: Sun 07 Aug 2011, 04:31    Post_subject:  

Lotica, upgraded ath9k_htc wifi driver now available for Fluppy 013 -
http://www.murga-linux.com/puppy/viewtopic.php?p=513411#513411

As before, plug in your USB wifi device after installing the upgraded driver dotpet.

Let us know if it works.
Back to top
View user's profile Send_private_message 
Lotica

Joined: 05 Aug 2011
Posts: 8

PostPosted: Sun 07 Aug 2011, 11:37    Post_subject:  

It works! It works! Finally! Thank you so much for the help man! Very Happy
Back to top
View user's profile Send_private_message 
Lotica

Joined: 05 Aug 2011
Posts: 8

PostPosted: Sun 07 Aug 2011, 13:33    Post_subject:  

I thought I almost had another problem coming up, but I simply just restarted the machine and the wireless connections came up just fine. Thanks again! Smile
Back to top
View user's profile Send_private_message 
aarf

Joined: 30 Aug 2007
Posts: 3620
Location: around the bend

PostPosted: Sun 07 Aug 2011, 13:51    Post_subject:  

this looks like a good place to step in and enquire, now that Lotica has the answer from tempestuous.
<in the process of buiding this post wiill add more info later and attempts with the other drivers mentioned below>
this is my output from the cat command above.
Code:
 T:  Bus=01 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#=  2 Spd=480 MxCh= 0
D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=07d1 ProdID=3c0a Rev= 1.01
S:  Manufacturer=Ralink
S:  Product=11n Adapter
S:  SerialNumber=1.0
C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=450mA
I:* If#= 0 Alt= 0 #EPs= 5 Cls=ff(vend.) Sub=ff Prot=ff Driver=rt2870
E:  Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=01(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=03(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=04(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms


attached are images from the connect process. is there anything that would explain why my D-Link DWA 140 wireless N is not enhancng my distance and speed compared to my internal wireless G? distance and more connectable wifi signals is the main thing i am looking for.
speed seems to be limited elsewhere.. is it really wireless N and not a fake? i use mainly open wifi so WPA is ot a concern at present.

and from http://www.murga-linux.com/puppy/viewtopic.php?p=529574#529574
tempestuous wrote:
Yes, the Ralink wifi drivers have a "quirk" in that they report their driver name as "usb". If you run the "lsmod" command you should see that the actual driver in use will be either rt2800usb or rt2870sta. In fact, these two drivers will both try to claim the wifi device, so you could experiment to see if one works better than the other by going to -
Menu > System > BootManager configure bootup > Give preference to one module over another:

And there's even a third driver you can use is these two fail - the proprietary rt3572sta/rt3370sta drivers from
http://www.murga-linux.com/puppy/viewtopic.php?p=481085#481085
Exactly which one depends on your USB device ID.


Code:
#lsmod
 <snip>
usbcore                91279  9 rt2870sta,rt2800usb,rt2x00usb,uvcvideo,usbhid,usb_storage,uhci_hcd,ehci_hcd
image-3.png
 Description   
 Filesize   23.44 KB
 Viewed   7087 Time(s)

image-3.png

image-2.png
 Description   
 Filesize   34.06 KB
 Viewed   6809 Time(s)

image-2.png


_________________

ASUS EeePC Flare series 1025C 4x Intel Atom N2800 @ 1.86GHz RAM 2063MB 800x600p ATA 320G
_-¤-_

<º))))><.¸¸.•´¯`•.#.•´¯`•.¸¸. ><((((º>
Back to top
View user's profile Send_private_message Visit_website 
Lotica

Joined: 05 Aug 2011
Posts: 8

PostPosted: Sun 07 Aug 2011, 20:57    Post_subject:  

Now what variants of Linux has a more recent kernel than Puppy 5.2.x? I do like Fluppy here, but I just want to see which Linux kernels are supported by the chipset.

Btw, to ensure that the driver works, I am actually posting this message on the Linux machine. Very Happy
Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 1 of 4 Posts_count   Goto page: 1, 2, 3, 4 Next
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Advanced Topics » Hardware » Networking » Wireless
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.0827s ][ Queries: 13 (0.0047s) ][ GZIP on ]