Carolina won't recognize my USB wifi but Precise Puppy does

Booting, installing, newbie
Message
Author
adam500
Posts: 39
Joined: Sun 06 Apr 2014, 10:46

Carolina won't recognize my USB wifi but Precise Puppy does

#1 Post by adam500 »

My Precise Puppy 5.7.1 finds my usb wireless adapter with no problem. But when I run my Carolina distro Pup Lina 1.2 it doesn't recognize it at all.

Both distros use the same Internet Connection Wizard (I think, they sure look the same). I run both of them using Live CD.

The usb modem is a D-Link DWA-125

Thanks
Last edited by adam500 on Sat 26 Jul 2014, 06:29, edited 1 time in total.

User avatar
ardvark
Posts: 1448
Joined: Tue 02 Jul 2013, 03:43
Location: USA

#2 Post by ardvark »

Hi...

This is most likely is a case of one version of Puppy having the driver already included in the kernel and the other not.

Can you tell us the rev. number of your adapter? Please see here.

Also, in Carolina, please open a terminal and post the output of these commands...

Code: Select all

lsusb

Code: Select all

uname-r
Thanks! :)

adam500
Posts: 39
Joined: Sun 06 Apr 2014, 10:46

#3 Post by adam500 »

Thanks.

My adapter is H/W version A2 F/W version 1.40

D-Link DWA-125

I'll post the other info later.

User avatar
Geoffrey
Posts: 2355
Joined: Sun 30 May 2010, 08:42
Location: Queensland

#4 Post by Geoffrey »

I've tried to get the rt2870 drives compiled for kernel 3.2.13-ski, but for the life of me can't seem to do it, maybe someone else can, heres the driver source
http://s3.amazonaws.com/mtk.cfs/Downloa ... .1.tar.bz2

This is the same problem I had https://bbs.archlinux.org/viewtopic.php ... 0#p1267910

and here is a fix for that error, but I can't get it to work, it's over my head http://bernaerts.dyndns.org/linux/74-ub ... a160-revb2
[b]Carolina:[/b] [url=http://smokey01.com/carolina/pages/recent-repo.html]Recent Repository Additions[/url]
[img]https://dl.dropboxusercontent.com/s/ahfade8q4def1lq/signbot.gif[/img]

adam500
Posts: 39
Joined: Sun 06 Apr 2014, 10:46

#5 Post by adam500 »

from carolina:

# lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 002: ID 413c:a005 Dell Computer Corp. Internal 2.0 Hub
Bus 002 Device 003: ID 0b97:7761 O2 Micro, Inc. Oz776 1.1 Hub
Bus 002 Device 004: ID 0b97:7762 O2 Micro, Inc. Oz776 SmartCard Reader
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 002: ID 10c4:0101 Cygnal Integrated Products, Inc.
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 002: ID 093a:2510 Pixart Imaging, Inc. Hama Optical Mouse
#
#
# uname -r
3.2.13
#


from precise puppy:

# lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 003: ID 07d1:3c16 D-Link System DWA-125 Wireless N 150 Adapter(rev.A2) [Ralink RT3070]
Bus 002 Device 002: ID 413c:a005 Dell Computer Corp. Internal 2.0 Hub
Bus 004 Device 002: ID 10c4:0101 Cygnal Integrated Products, Inc.
Bus 005 Device 002: ID 093a:2510 Pixart Imaging, Inc. Optical Mouse
Bus 002 Device 003: ID 0b97:7761 O2 Micro, Inc. Oz776 1.1 Hub
Bus 002 Device 004: ID 0b97:7762 O2 Micro, Inc. Oz776 SmartCard Reader
#


uname -r
3.2.48

Hope this helps.
Last edited by adam500 on Sat 26 Jul 2014, 04:52, edited 1 time in total.

User avatar
ardvark
Posts: 1448
Joined: Tue 02 Jul 2013, 03:43
Location: USA

#6 Post by ardvark »

Hi....

Please also provide the kernel version from Carolina , as well. Also, I'm not seeing your adapter listed in lsusb. Was it plugged in when you ran the command?

regards...

adam500
Posts: 39
Joined: Sun 06 Apr 2014, 10:46

#7 Post by adam500 »

Yes, it was plugged in. As I mentioned the adapter's light does not blink at all with carolina, but it does with precise puppy.

Not sure where to find kernal version. Maybe what you need is in here:

#
# Automatically generated file; DO NOT EDIT.
# Linux/i386 3.2.13 Kernel Configuration
#
# CONFIG_64BIT is not set
CONFIG_X86_32=y
# CONFIG_X86_64 is not set
CONFIG_X86=y
CONFIG_INSTRUCTION_DECODER=y
CONFIG_OUTPUT_FORMAT="elf32-i386"
CONFIG_ARCH_DEFCONFIG="arch/x86/configs/i386_defconfig"
CONFIG_GENERIC_CMOS_UPDATE=y
CONFIG_CLOCKSOURCE_WATCHDOG=y
CONFIG_GENERIC_CLOCKEVENTS=y
CONFIG_GENERIC_CLOCKEVENTS_BROADCAST=y
CONFIG_LOCKDEP_SUPPORT=y
CONFIG_STACKTRACE_SUPPORT=y
CONFIG_HAVE_LATENCYTOP_SUPPORT=y
CONFIG_MMU=y
CONFIG_ZONE_DMA=y
# CONFIG_NEED_DMA_MAP_STATE is not set
CONFIG_NEED_SG_DMA_LENGTH=y
CONFIG_GENERIC_ISA_DMA=y
CONFIG_GENERIC_IOMAP=y
CONFIG_GENERIC_BUG=y
CONFIG_GENERIC_HWEIGHT=y
CONFIG_GENERIC_GPIO=y
CONFIG_ARCH_MAY_HAVE_PC_FDC=y
# CONFIG_RWSEM_GENERIC_SPINLOCK is not set
CONFIG_RWSEM_XCHGADD_ALGORITHM=y
CONFIG_ARCH_HAS_CPU_IDLE_WAIT=y
CONFIG_GENERIC_CALIBRATE_DELAY=y
# CONFIG_GENERIC_TIME_VSYSCALL is not set
CONFIG_ARCH_HAS_CPU_RELAX=y
CONFIG_ARCH_HAS_DEFAULT_IDLE=y
CONFIG_ARCH_HAS_CACHE_LINE_SIZE=y
CONFIG_HAVE_SETUP_PER_CPU_AREA=y
CONFIG_NEED_PER_CPU_EMBED_FIRST_CHUNK=y
CONFIG_NEED_PER_CPU_PAGE_FIRST_CHUNK=y
CONFIG_ARCH_HIBERNATION_POSSIBLE=y
CONFIG_ARCH_SUSPEND_POSSIBLE=y
# CONFIG_ZONE_DMA32 is not set
CONFIG_ARCH_POPULATES_NODE_MAP=y
# CONFIG_AUDIT_ARCH is not set
CONFIG_ARCH_SUPPORTS_OPTIMIZED_INLINING=y
CONFIG_ARCH_SUPPORTS_DEBUG_PAGEALLOC=y
CONFIG_X86_32_SMP=y
CONFIG_X86_HT=y
CONFIG_X86_32_LAZY_GS=y
CONFIG_ARCH_HWEIGHT_CFLAGS="-fcall-saved-ecx -fcall-saved-edx"
CONFIG_KTIME_SCALAR=y
CONFIG_ARCH_CPU_PROBE_RELEASE=y
CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
CONFIG_HAVE_IRQ_WORK=y
CONFIG_IRQ_WORK=y

User avatar
ardvark
Posts: 1448
Joined: Tue 02 Jul 2013, 03:43
Location: USA

#8 Post by ardvark »

Hi...

Thanks! :)

As to why your adapter is not even registering in Carolina, I would be interested to see the report from dmesg and lsmod, if you would post that as well...

Code: Select all

lsmod | grep rt2

Code: Select all

dmesg | grep rt2
From what I can see here and here, your adapter is fully supported and has been since 2.6.31 (kernel version,) so the only thing I can think of is that, for some reason, it was not included with the kernel that came with your version of Carolina. Either that, or the modules aren't loading correctly or there is some other kind of bug. If the former, you will need to compile and install the driver, which I really couldn't help you with. Please take a look at Geoffrey's post or research other threads on the forum using "D-Link DWA-125."

Unless someone chimes in who knows a lot more than I do in this area, other options at this point would be see if it would work using ndiswrapper (although using this program could end up making function more slowly,) or purchase another adapter that will work "out-of-the-box" with Carolina, or you could just stick with Precise.

Regards...

adam500
Posts: 39
Joined: Sun 06 Apr 2014, 10:46

#9 Post by adam500 »

Thanks. I'll post the results in a few minutes.

I agree. It looks like something is missing from my version of Carolina, which is sad because I had decided to spend some time with it. It has quite a few additional features that Precise doesn't.

I have other distros to try but for some reason I can't get them burned to my DVD. It seems that I can never get the dvd clean enough for the iso to get loaded.

That 125 adapter was very cheap but until now worked fine. It also matches my d-link router.

Things like this make it tough to stick with one distro. I don't always have wifi internet speed so getting things from the repositories takes time.

I was hoping Carolina was one I could proceed with.

adam500
Posts: 39
Joined: Sun 06 Apr 2014, 10:46

#10 Post by adam500 »

With adapter plugged in.

from carolina:

# lsmod | grep rt2
rt2800usb 9500 0
rt2800lib 31987 1 rt2800usb
crc_ccitt 1027 2 ppp_async,rt2800lib
rt2x00usb 5874 1 rt2800usb
rt2x00lib 24357 3 rt2800usb,rt2800lib,rt2x00usb
mac80211 134899 5 rt2800lib,rt2x00usb,rt2x00lib,iwl3945,iwl_legacy
cfg80211 113559 4 rt2x00lib,iwl3945,iwl_legacy,mac80211
#
#
# dmesg | grep rt2
[ 53.481730] Registered led device: rt2800usb-phy1::radio
[ 53.481750] Registered led device: rt2800usb-phy1::assoc
[ 53.481769] Registered led device: rt2800usb-phy1::quality
[ 53.481810] usbcore: registered new interface driver rt2800usb
[ 54.137385] phy1 -> rt2x00lib_request_firmware: Error - Failed to request Firmware.
[ 54.152517] phy1 -> rt2x00lib_request_firmware: Error - Failed to request Firmware.
[ 54.435616] phy1 -> rt2x00lib_request_firmware: Error - Failed to request Firmware.
[ 54.446961] phy1 -> rt2x00lib_request_firmware: Error - Failed to request Firmware.
#


from precise puppy::

# lsmod | grep rt2
rt2800usb 11017 0
rt2800lib 32094 1 rt2800usb
crc_ccitt 1023 2 ppp_async,rt2800lib
rt2x00usb 6122 1 rt2800usb
rt2x00lib 24486 3 rt2800usb,rt2800lib,rt2x00usb
mac80211 138394 5 rt2800lib,rt2x00usb,rt2x00lib,iwl3945,iwl_legacy
cfg80211 116254 4 rt2x00lib,iwl3945,iwl_legacy,mac80211
#
#
# dmesg | grep rt2
[ 53.763239] Registered led device: rt2800usb-phy1::radio
[ 53.763284] Registered led device: rt2800usb-phy1::assoc
[ 53.763329] Registered led device: rt2800usb-phy1::quality
[ 53.763441] usbcore: registered new interface driver rt2800usb
# ^C

User avatar
Karl Godt
Posts: 4199
Joined: Sun 20 Jun 2010, 13:52
Location: Kiel,Germany

#11 Post by Karl Godt »

Am not using carolina , but it
Looks like the firmware is not included in carolina , or the driver has some kind of bug ,

Either the firmware file should be included as

tar.gz in /lib/modules/all-firmware
folder in /lib/modules/all-firmware

or

/lib/firmware directory directly .

By default the firmware should be shipped with standard puppies .

Firmware should be either

rt2561.bin rt2561s.bin rt2661.bin
rt2870.bin
rt2860.bin

I have a similar wireless chip , and kernel 2.6.37.4 does not load the firmware binary too , but later kernels .

The firmware gets loaded by a function in
/sbin/pup_event_backend_modprobe
- an udev helper script
or in /etc/rc.d/functions4puppy4 .
This function manages also the unpacking of tar.gz files .
Plus
/sbin/pup_event_backend_firmware
script .

adam500
Posts: 39
Joined: Sun 06 Apr 2014, 10:46

#12 Post by adam500 »

Thanks Karl.

I'm afraid I wouldn't be capable of trying that fix, not without some very specific directions.

I'd be willing to give it a try but I'm now looking around for another distro to try.

User avatar
ardvark
Posts: 1448
Joined: Tue 02 Jul 2013, 03:43
Location: USA

#13 Post by ardvark »

adam500 wrote:I'd be willing to give it a try but I'm now looking around for another distro to try.
Hi...

In case you don't find any and would like to give Carolina another go, the instructions would look something like this, although the language would be a bit different as Puppy is not Debian based. As Karl mentioned above, your adapter looks like it uses the RT2870 driver.

Here is someone who was able to get the same adapter working in Slackware.

Hope this helps... :)

User avatar
Moat
Posts: 955
Joined: Tue 16 Jul 2013, 06:04
Location: Mid-mitten

#14 Post by Moat »

I wonder if rebuilding your Carolina using battleshooter's version 1.2 with the kernel updated to 3.15, might be a solution...?? Just an idea...

It's about halfway down this page -

http://www.murga-linux.com/puppy/viewto ... start=1320

Bob

adam500
Posts: 39
Joined: Sun 06 Apr 2014, 10:46

#15 Post by adam500 »

Thanks Bob.

Sadly, that is not anything I feel I could carry out.

It's a shame though. I was really liking Carolina. So now I have to decide on another distro or another wifi-adapter.

I don't always have wifi speeds available so it's not easy to download and set up distros the way I want them.

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#16 Post by rcrsn51 »

Your adapter is using the module rt2800usb which requires the firmware file rt2870.bin. It is usually stored in /lib/firmware.

Look in your Precise install and locate the file. Then copy it to the same location in Carolina.

Unplug/replug the adapter.

User avatar
ardvark
Posts: 1448
Joined: Tue 02 Jul 2013, 03:43
Location: USA

#17 Post by ardvark »

rcrsn51 wrote:Your adapter is using the module rt2800usb which requires the firmware file rt2870.bin. It is usually stored in /lib/firmware.

Look in your Precise install and locate the file. Then copy it to the same location in Carolina.

Unplug/replug the adapter.
Hi...

I thought these modules were kernel specific? That fact is what guided my whole approach to this problem. :?:

Regards...

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#18 Post by rcrsn51 »

@ardvark: Kernel modules are version-specific, but firmware files are not.

@adam500: I looked at Carolite 1.1. The firmware file is present, but something is definitely broken with the rt2800usb driver.

I tried to set up ndiswrapper, but its kernel module is missing. So I plugged in a Netgear WN111 v2 and it worked fine.

User avatar
ardvark
Posts: 1448
Joined: Tue 02 Jul 2013, 03:43
Location: USA

#19 Post by ardvark »

rcrsn51 wrote:@ardvark: Kernel modules are version-specific, but firmware files are not.
Ah, thank you. :wink:

Regards...

adam500
Posts: 39
Joined: Sun 06 Apr 2014, 10:46

#20 Post by adam500 »

Hi again.

I need to get another WiFi adapter for another computer so I was wondering if it is possible to see in advance if one of these models would be recognized by Carolina.

Edimax EW-7811Un 150M 11n Wi-Fi USB Adapter

http://www.amazon.com/Edimax-EW-7811Un- ... =pd_cp_e_3


or

TP-Link TLWN725 N Wireless Nano USB Adapter

http://www.amazon.com/gp/product/B008IF ... PDKIKX0DER

Thanks.

Post Reply