Netgear wg111t

sudo lshw -C network
*-network
description: Ethernet interface
product: 82566DM Gigabit Network Connection
vendor: Intel Corporation
physical id: 19
bus info: pci@0000:00:19.0
logical name: eth0
version: 02
serial: 00:19:bb:db:24:00
size: 100Mbit/s
capacity: 1Gbit/s
width: 32 bits
clock: 33MHz
capabilities: pm msi bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiatio n
configuration: autonegotiatio n=on broadcast=yes driver=e1000e driverversion=1.5.1-k duplex=full firmware=1.1-0 ip=192.168.1.87 latency=0 link=yes multicast=yes port=twisted pair speed=100Mbit/s
resources: irq:41 memory:f0500000-f051ffff memory:f0524000-f0524fff ioport:1000(size=32)

uname -srp
Linux 3.2.0-26-generic-pae i686

Can you send the output from:

uname -srp

so I can see which kernel you have … and I’ll see what I can dig up tomorrow … sorry, but I NEED sleep, had a bit of a manic day today :wink:

[EDIT]

Ooops, missed your edit :slight_smile:

I only just saw your edit, no problem, whenever you can will be great.
Many thanks again. Sleep well :slight_smile:

I take it you’re using the files from the “ndis5” folder ?

How did you extract the 2.1 driver … WINE ?

Yes, the drivers were from the ndis5 folder and I extracted the 2.1 files by part-installing the drive on a Windoze machine and copied them from the program folder.

OK, remove the 1.2 drivers from ndiswrapper, and use the 2.1 driver … for the time being ONLY use the netwg111t.inf file as suggested here:
https://help.ubuntu.com/community/WifiDocs/Device/WG111T
and
http://www.associatedcontent.com/article/2665279/how_to_install_and_use_a_wg111t_wireless.html

You said it appeared to accept the 2.1 driver before … so use ndiswrapper to install the 2.1 driver, then unplug the USB wireless card and replug it … then send the output from:

dmesg | tail -n 50

and

sudo lshw -C network

Does your adapter have a version number on it, such as WG111T v1 ?

netwg11t.inf (strangely not ‘netwg111t’) is the v.1.2 driver. (the v.2.1 driver is the ‘WG111tv.inf’)

So, I have done as you suggested and:

  • Installed the netwg11t.inf driver (v.1.2)
    • Unplugged / replugged the adapter
    • ndisgtk now reports netgw11t driver installed and Hardware Present: Yes
      This is now the only driver present in the ndisgtk (Note that ar5523 is still visible in ‘Hardware/ Additional Drivers’ but reporting ‘not currently in use’)

dmesg | tail -n 50
[ 19.597350] input: HDA Intel Front Headphone as /devices/pci0000:00/0000:00:1b.0/sound/card0/input10
[ 19.597608] input: HDA Intel Line-Out as /devices/pci0000:00/0000:00:1b.0/sound/card0/input11
[ 19.814687] Bluetooth: Core ver 2.16
[ 19.814727] NET: Registered protocol family 31
[ 19.814731] Bluetooth: HCI device and connection manager initialized
[ 19.814734] Bluetooth: HCI socket layer initialized
[ 19.814737] Bluetooth: L2CAP socket layer initialized
[ 19.814998] Bluetooth: SCO socket layer initialized
[ 19.951920] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 19.951925] Bluetooth: BNEP filters: protocol multicast
[ 19.992337] e1000e 0000:00:19.0: irq 41 for MSI/MSI-X
[ 20.048092] e1000e 0000:00:19.0: irq 41 for MSI/MSI-X
[ 20.048307] ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 20.048777] ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 20.216110] Bluetooth: RFCOMM TTY layer initialized
[ 20.216118] Bluetooth: RFCOMM socket layer initialized
[ 20.216121] Bluetooth: RFCOMM ver 1.11
[ 20.547279] init: plymouth-stop pre-start process (1134) terminated with status 1
[ 21.310701] Adding 2603004k swap on /dev/mapper/cryptswap1. Priority:-1 extents:1 across:2603004k
[ 505.364167] usbcore: deregistering interface driver ndiswrapper
[ 505.375771] ndiswrapper version 1.57 loaded (smp=yes, preempt=no)
[ 505.383082] usbcore: registered new interface driver ndiswrapper
[ 512.393193] usb 2-2: USB disconnect, device number 2
[ 526.188038] usb 2-2: new high-speed USB device number 3 using ehci_hcd
[ 526.445454] cfg80211: Calling CRDA to update world regulatory domain
[ 526.619013] cfg80211: World regulatory domain updated:
[ 526.619020] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_ga in, max_eirp)
[ 526.619026] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 526.619031] cfg80211: (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[ 526.619036] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[ 526.619041] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 526.619046] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 526.749084] usbcore: registered new interface driver ar5523
[ 526.895160] usb 2-2: USB disconnect, device number 3
[ 527.164044] usb 2-2: new high-speed USB device number 4 using ehci_hcd
[ 527.416050] usb 2-2: reset high-speed USB device number 4 using ehci_hcd
[ 527.552311] ndiswrapper: driver netwg11t (NETGEAR,01/07/2005,1.0.1.1007) loaded
[ 537.576587] ndiswrapper (NdisWriteError LogEntry:188): log: C0001389, count: 4, return_address: f94cdc6b
[ 537.576595] ndiswrapper (NdisWriteError LogEntry:191): code: 0xf2113800
[ 537.576600] ndiswrapper (NdisWriteError LogEntry:191): code: 0x28
[ 537.576604] ndiswrapper (NdisWriteError LogEntry:191): code: 0xf9277000
[ 537.576608] ndiswrapper (NdisWriteError LogEntry:191): code: 0xf9277000
[ 537.576901] ndiswrapper (mp_init:211): couldn’t initialize device: C0000001
[ 537.576909] ndiswrapper (pnp_start_devi ce:395): Windows driver couldn’t initialize the device (C0000001)
[ 537.576921] ndiswrapper (mp_halt:254): device f1e66480 is not initialized - not halting
[ 537.576927] ndiswrapper: device eth%d removed
[ 537.577005] ndiswrapper: probe of 2-2:1.0 failed with error -22
[ 542.576025] usb 2-2: failed to reset device - initialization timeout
[ 542.576034] usb 2-2: could not initialize adapter
[ 542.579780] ar5523: probe of 2-2:1.0 failed with error -5

sudo lshw -C network
*-network
description: Ethernet interface
product: 82566DM Gigabit Network Connection
vendor: Intel Corporation
physical id: 19
bus info: pci@0000:00:19.0
logical name: eth0
version: 02
serial: 00:19:bb:db:24:00
capacity: 1Gbit/s
width: 32 bits
clock: 33MHz
capabilities: pm msi bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiatio n
configuration: autonegotiatio n=on broadcast=yes driver=e1000e driverversion=1.5.1-k firmware=1.1-0 latency=0 link=no multicast=yes port=twisted pair
resources: irq:41 memory:f0500000-f051ffff memory:f0524000-f0524fff ioport:1000(size=32)

My adapter is neither the v1 or v2, it is simply a WG111T

Thank you for your patience Mark

I’ll try building the Linux native ar5523 drivers from svn.berlios.de for Debian Wheezy in an Ubuntu 12.04 virtual machine later, and get back to you.

Can you post the output from:

sudo find / -name *ar5523*

and

ls -l /usr/local/lib/firmware/uath-ar5523.bin

and

modinfo ar5523

Be aware, the first 2 commands may take a while to complete, and they may ALL return nothing.

I’m just trying to find out if ANYTHING got installed from the earlier Linux native driver install attempt.

have you tested this adaptor as working in Windows ?


For future reference:
http://wiki.debian.org/ar5523

Yes I’ve tested it in Windows and it works. One thing I did notice, which may not be important: When I inserted the adapter into a Windows machine, the blue light illuminates brightly. When I inserted it into my Linux machine, the blue light only very faintly lit then immediately went out. however, I have tested it in other USB ports on the same Linux machine and the same happens. I’ve also used other USB devices (mouse/keyboard) and they all work fine in all Linux USB ports.

sudo find / -name ar5523.ko
/lib/modules/3.2.0-23-generic-pae/misc/ar5523.ko
/lib/modules/3.2.0-26-generic-pae/misc/ar5523.ko

sudo find / -name ar5523.bin
/media/USB-4GB/WG111t/1_2/ndis/ar5523.bin
/etc/ndiswrapper/netwg11t/ar5523.bin
/lib/firmware/uath-ar5523.bin
/home/ubuntu4/Downloads/WG111t/1_2/ndis/ar5523.bin

ls -l /usr/local/lib/firmware/uath-ar5523.bin
ls: cannot access /usr/local/lib/firmware/uath-ar5523.bin: No such file or directory

modinfo ar5523
filename: /lib/modules/3.2.0-26-generic-pae/misc/ar5523.ko
license: Dual BSD/GPL
srcversion: EF47B4C5993976F1135D27B
alias: usb:v1385p4251ddcdscdpiciscip*
alias: usb:v1385p4250ddcdscdpiciscip*
alias: usb:v0CDEp0013ddcdscdpiciscip*
alias: usb:v0CDEp0012ddcdscdpiciscip*
alias: usb:v1435p0829ddcdscdpiciscip*
alias: usb:v1435p0828ddcdscdpiciscip*
alias: usb:v1435p0827ddcdscdpiciscip*
alias: usb:v1435p0826ddcdscdpiciscip*
alias: usb:v157Ep3007ddcdscdpiciscip*
alias: usb:v157Ep3006ddcdscdpiciscip*
alias: usb:v157Ep3206ddcdscdpiciscip*
alias: usb:v157Ep3205ddcdscdpiciscip*
alias: usb:v157Ep3007ddcdscdpiciscip*
alias: usb:v157Ep3006ddcdscdpiciscip*
alias: usb:v0846p5F01ddcdscdpiciscip*
alias: usb:v0846p5F00ddcdscdpiciscip*
alias: usb:v0846p4251ddcdscdpiciscip*
alias: usb:v0846p4250ddcdscdpiciscip*
alias: usb:v0846p4301ddcdscdpiciscip*
alias: usb:v0846p4300ddcdscdpiciscip*
alias: usb:v0D8Ep7803ddcdscdpiciscip*
alias: usb:v0D8Ep7802ddcdscdpiciscip*
alias: usb:v16ABp7812ddcdscdpiciscip*
alias: usb:v16ABp7811ddcdscdpiciscip*
alias: usb:v16ABp7802ddcdscdpiciscip*
alias: usb:v16ABp7801ddcdscdpiciscip*
alias: usb:v129Bp160Dddcdscdpiciscip*
alias: usb:v129Bp160Cddcdscdpiciscip*
alias: usb:v1690p0711ddcdscdpiciscip*
alias: usb:v1690p0710ddcdscdpiciscip*
alias: usb:v1690p0713ddcdscdpiciscip*
alias: usb:v1690p0712ddcdscdpiciscip*
alias: usb:v2001p3A05ddcdscdpiciscip*
alias: usb:v2001p3A04ddcdscdpiciscip*
alias: usb:v2001p3A03ddcdscdpiciscip*
alias: usb:v2001p3A02ddcdscdpiciscip*
alias: usb:v2001p3A01ddcdscdpiciscip*
alias: usb:v2001p3A00ddcdscdpiciscip*
alias: usb:v0D8Ep7812ddcdscdpiciscip*
alias: usb:v0D8Ep7811ddcdscdpiciscip*
alias: usb:v0D8Ep7802ddcdscdpiciscip*
alias: usb:v0D8Ep7801ddcdscdpiciscip*
alias: usb:v0CF3p0006ddcdscdpiciscip*
alias: usb:v0CF3p0005ddcdscdpiciscip*
alias: usb:v0CF3p0004ddcdscdpiciscip*
alias: usb:v0CF3p0003ddcdscdpiciscip*
alias: usb:v0CF3p0002ddcdscdpiciscip*
alias: usb:v0CF3p0001ddcdscdpiciscip*
alias: usb:v168Cp0002ddcdscdpiciscip*
alias: usb:v168Cp0001ddcdscdpiciscip*
depends: mac80211,cfg80211
vermagic: 3.2.0-26-generic-pae SMP mod_unload modversions 686

Thank you

OK, one more … what’s the output from:

sudo find / -name *ar5523*

sudo find / -name ar5523
find: paths must precede expression: ar5523.tgz.1
Usage: find [-H] [-L] [-P] [-Olevel] [-D help|tree|search|stat|rates|opt|exec] [path…] [expression]

Can you try this …

First remove all drivers from ndiswrapper … then run:

sudo modprobe -r ndiswrapper

then

sudo modprobe -r ar5523

then

sudo modprobe ar5523

then

sudo modprobe mac80211

then

sudo modprobe cfg80211

then post the output from:

sudo lshw -C network

No output for these - I think that was expected?

  • sudo modprobe -r ndiswrapper
    • sudo modprobe ar5523
    • sudo modprobe mac80211
    • sudo modprobe cfg80211
      sudo lshw -C network
      *-network
      description: Ethernet interface
      product: 82566DM Gigabit Network Connection
      vendor: Intel Corporation
      physical id: 19
      bus info: pci@0000:00:19.0
      logical name: eth0
      version: 02
      serial: 00:19:bb:db:24:00
      capacity: 1Gbit/s
      width: 32 bits
      clock: 33MHz
      capabilities: pm msi bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiatio n
      configuration: autonegotiatio n=on broadcast=yes driver=e1000e driverversion=1.5.1-k firmware=1.1-0 latency=0 link=no multicast=yes port=twisted pair
      resources: irq:41 memory:f0500000-f051ffff memory:f0524000-f0524fff ioport:1000(size=32)

You’ve added another so running them again…

sudo modprobe -r ndiswrapper
sudo modprobe -r ar55233
FATAL: Module ar55233 not found.
sudo modprobe ar5523
sudo modprobe mac80211
sudo modprobe cfg80211
sudo lshw -C network
*-network
description: Ethernet interface
product: 82566DM Gigabit Network Connection
vendor: Intel Corporation
physical id: 19
bus info: pci@0000:00:19.0
logical name: eth0
version: 02
serial: 00:19:bb:db:24:00
capacity: 1Gbit/s
width: 32 bits
clock: 33MHz
capabilities: pm msi bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiatio n
configuration: autonegotiatio n=on broadcast=yes driver=e1000e driverversion=1.5.1-k firmware=1.1-0 latency=0 link=no multicast=yes port=twisted pair
resources: irq:41 memory:f0500000-f051ffff memory:f0524000-f0524fff ioport:1000(size=32)

Nah, doesn’t matter :slight_smile: … I’ll try the latest Debian drivers in a VM and get back to you later … but gotta go out on a job now, so it will be tonight.

[EDIT]

My mistake, typo … but it doesn’t matter … cya later

No problem, thanks Mark.

Mark, I don’t know how but it’s working!
Currently, there are no ndiswrapper drivers installed but the ar5523 driver reports that it is installed and in use.
I can only guess that actually turning the system off as opposed to restarting made a difference - which I only did as I need a power cable!
It’s not 100%; it crashed once (black screen/white text, no usb working) and the screen has strangely gone blank a couple of times (screen auto-detect reported no input) but at least we’re getting somewhere. Seems the ar5523 is definitely the way to go.

Thank you very much thus far :slight_smile:
ps: I’m using it now.

Good news, and odd at the same time :slight_smile:

What’s the contents of :

gedit /etc/modules

?

ndiswrapper
lp

I manually added ndiswrapper as per the instructions when trying to use the Windows drivers.

I’ve rebooted since my last post and all is well, no crash, no screen blank - as yet.

If I were you, I’d run:

sudo gedit /etc/modules

and remove the line

ndiswrapper

and add the 3 lines:-

ar5523
mac80211
cfg80211

as discussed here:
http://linuxforums.org.uk/index.php?topic=4052.msg29572#msg29572

But up to you … you can always change it back … ndiswrapper shouldn’t be being loaded now, so that line isn’t needed, and those 3 lines allowed the WG111T to be hotplugged if/when necessary.

I will do that now. However, I’ve just come up against an issue. I had a look at the wireless connections and it seems I was connected with an SSID which looked corrupt (name wasn’t exactly correct) and that the connection type was WEP (when in fact my wireless is WPA2). There was also an SSID with the correct name so I removed the incorrect one and now cannot connect using the correct, WPA2 SSID.

I’ll let you know how it goes after I’ve edited /etc/modules/

Oh, also, there are of course other (neighbour’s) SSID’s which have unusual characters - not English keyboard characters - so clearly something is awry.