WUSB54gc →Ralink 802.11 g WLAN I can't activate it.

Help with setting up network cards, including WiFi cards.
Post Reply
User avatar
judd
Posts: 7
Joined: Wed Jun 03, 2020 4:55 pm
Location: Republica Argentina
Has thanked: 3 times
Been thanked: 0
Contact:

WUSB54gc →Ralink 802.11 g WLAN I can't activate it.

Post by judd »

I installed ghostBSD 12.1 a few days ago on my desktop pc, everything was fine until I found that I cannot activate or make the usb adapter WUSB54gc work, which working would be about 2 megabytes down.

With which I installed the system: RTL8188EE Wireless Network Adapter that is inside the computer rack and throws only about 60 kbits ... a whole birth :(

The system finds it but does not let me install it, since the driver is not found in the ghostBSD / freeBSD packages. and it is very difficult to work with such a low internet. Also in Arch, and with all due respect, I don't have this problem.

Code: Select all

ifconfig wlan0
wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
	ether 50:3e:aa:21:0c:1d
	inet 192.168.1.6 netmask 0xffffff00 broadcast 192.168.1.255
	inet6 fe80::523e:aaff:fe21:c1d%wlan0 prefixlen 64 scopeid 0x3
	inet6 fe80::ae99:814d:9c24:dfbe%wlan0 prefixlen 64 scopeid 0x3
	groups: wlan
	ssid WiFi-Arnet-7gi4-2,4 channel 6 (2437 MHz 11g ht/20) bssid 54:83:3a:61:25:b0
	regdomain ETSI country AT authmode WPA2/802.11i privacy ON
	deftxkey UNDEF AES-CCM 2:128-bit txpower 30 bmiss 7 scanvalid 60
	protmode CTS ht20 ampdulimit 64k ampdudensity 4 shortgi -stbc -ldpc
	wme roaming MANUAL
	media: IEEE 802.11 Wireless Ethernet MCS mode 11ng
	status: associated
	nd6 options=1<PERFORMNUD>

Code: Select all

ifconfig wlan0 scan up
SSID/MESH ID                      BSSID              CHAN RATE    S:N     INT CAPS
WiFi-Arnet-7gi4-2,4               54:83:3a:61:25:b0    6   54M  -87:-95   100 EP   APCHANREP APCHANREP WPA RSN WPS HTCAP WME

Code: Select all

cat /etc/rc.conf | grep wlan0
wlans_rtwn0="wlan0"
ifconfig_wlan0="WPA DHCP"
create_args_wlan0="country AT regdomain ETSI"

Code: Select all

ifconfig | grep -B 3 802.11
	inet6 fe80::ae99:814d:9c24:dfbe%wlan0 prefixlen 64 scopeid 0x3
	groups: wlan
	ssid WiFi-Arnet-7gi4-2,4 channel 6 (2437 MHz 11g ht/20) bssid 54:83:3a:61:25:b0
	regdomain ETSI country AT authmode WPA2/802.11i privacy ON
	deftxkey UNDEF AES-CCM 2:128-bit txpower 30 bmiss 7 scanvalid 60
	protmode CTS ht20 ampdulimit 64k ampdudensity 4 shortgi -stbc -ldpc
	wme roaming MANUAL
	media: IEEE 802.11 Wireless Ethernet MCS mode 11ng

Code: Select all

pciconf -lv
...
rtwn0@pci0:4:0:0:	class=0x028000 card=0x819710ec chip=0x817910ec rev=0x01 hdr=0x00
    vendor     = 'Realtek Semiconductor Co., Ltd.'
    device     = 'RTL8188EE Wireless Network Adapter'
    class      = network
re0@pci0:7:0:0:	class=0x020000 card=0xe0001458 chip=0x816810ec rev=0x16 hdr=0x00
    vendor     = 'Realtek Semiconductor Co., Ltd.'
    device     = 'RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller'
    class      = network
    subclass   = ethernet

Code: Select all

usbconfig  list
ugen0.1: <0x8086 XHCI root HUB> at usbus0, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=SAVE (0mA)
ugen0.2: <Ralink 802.11 g WLAN> at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (450mA) →→→→→→→→→→→finds it
ugen0.3: <JMicron Samsung G2 Portable> at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (2mA)
ugen0.4: <KYE SYSTEMS CORP. Wired Mouse> at usbus0, cfg=0 md=HOST spd=LOW (1.5Mbps) pwr=ON (100mA)
ugen0.5: <SINO WEALTH USB KEYBOARD> at usbus0, cfg=0 md=HOST spd=LOW (1.5Mbps) pwr=ON (100mA)

Code: Select all

kldstat
Id Refs Address                Size Name
 1   95 0xffffffff80200000  2bf7128 kernel
 2    1 0xffffffff82df8000     ed08 aesni.ko
 3    1 0xffffffff82e07000    1e8c8 geom_eli.ko
 4    1 0xffffffff82e26000   3ade68 zfs.ko
 5    2 0xffffffff831d4000     a430 opensolaris.ko
 6    1 0xffffffff83321000     8830 tmpfs.ko
 7    1 0xffffffff8332a000     3614 geom_uzip.ko
 8    1 0xffffffff8332e000     2e80 xz.ko
 9    1 0xffffffff83331000     1a80 fdescfs.ko
10    1 0xffffffff83333000    10010 fuse.ko
11    1 0xffffffff83344000     2968 ums.ko
12    3 0xffffffff83347000    3d450 linux.ko
13    5 0xffffffff83385000     3148 linux_common.ko
14    1 0xffffffff83389000    35260 linux64.ko
15    1 0xffffffff833bf000     4ec4 cuse.ko
16    1 0xffffffff833c4000   24ff24 amdgpu.ko
17    4 0xffffffff83614000    764c0 drm.ko
18    7 0xffffffff8368b000    11430 linuxkpi.ko
19    6 0xffffffff8369d000    13f30 linuxkpi_gplv2.ko
20    4 0xffffffff836b1000      6d0 debugfs.ko
21    2 0xffffffff836b2000     ef91 ttm.ko
22    1 0xffffffff836c1000   152980 radeonkms.ko
23    1 0xffffffff83814000   12bf8c i915kms.ko
24    1 0xffffffff83940000    f29f8 nvidia-modeset.ko
25    1 0xffffffff83a33000  11f7f00 nvidia.ko
26    1 0xffffffff84c2b000     4950 linprocfs.ko
27    1 0xffffffff84c30000      1a6 msdosfs_iconv.ko
28    1 0xffffffff84c31000     2fe0 libiconv.ko
29    1 0xffffffff84c34000    25558 ipfw.ko
Image

I also read these very interesting threads:
https://www.freebsd.org/doc/en_US.ISO88 ... eless.html
https://wiki.ghostbsd.org/index.php/FAQ#Network
https://www.freebsd.org/cgi/man.cgi?que ... ease-ports


I hope you can help me, I like ghostBSD !!

Thanks in advance.

User avatar
judd
Posts: 7
Joined: Wed Jun 03, 2020 4:55 pm
Location: Republica Argentina
Has thanked: 3 times
Been thanked: 0
Contact:

Re: WUSB54gc →Ralink 802.11 g WLAN I can't activate it.

Post by judd »

I have continued reading and found something positive, it seems to me, about the WUSB54gc WiFi adapter that I cannot make it work.

# usbconfig -u 0 -a 2 dump_device_desc

Code: Select all

 ugen0.2: <Ralink 802.11 g WLAN> at usbus0, cfg = 0 md = HOST spd = HIGH (480Mbps) pwr = ON (450mA)

   bLength = 0x0012
   bDescriptorType = 0x0001
   bcdUSB = 0x0200
   bDeviceClass = 0x0000 <Probed by interface class>
   bDeviceSubClass = 0x0000
   bDeviceProtocol = 0x0000
   bMaxPacketSize0 = 0x0040
   idVendor = 0x1737
   idProduct = 0x0077
   bcdDevice = 0x0101
   iManufacturer = 0x0001 <Ralink>
   iProduct = 0x0002 <802.11 g WLAN>
   iSerialNumber = 0x0003 <1.0>
   bNumConfigurations = 0x0001

User avatar
judd
Posts: 7
Joined: Wed Jun 03, 2020 4:55 pm
Location: Republica Argentina
Has thanked: 3 times
Been thanked: 0
Contact:

Re: WUSB54gc →Ralink 802.11 g WLAN I can't activate it.

Post by judd »

Could someone help me to add these parameters to the kernel, since this is what I need → RT2800

Code: Select all

NAME
     ral -- Ralink Technology IEEE 802.11a/g/n wireless	network	device

SYNOPSIS
     To	compile	this driver into the kernel, place the following lines in your
     kernel configuration file:

	   device ral
	   device ralfw
	   device wlan
	   device wlan_amrr
	   device firmware
# kldstat

Code: Select all

Id Refs Address                Size Name
 1   95 0xffffffff80200000  2bf7128 kernel
 2    1 0xffffffff82df8000    1e8c8 geom_eli.ko
 3    1 0xffffffff82e17000     ed08 aesni.ko
 4    1 0xffffffff82e26000   3ade68 zfs.ko
 5    2 0xffffffff831d4000     a430 opensolaris.ko
 6    1 0xffffffff83321000     8830 tmpfs.ko
 7    1 0xffffffff8332a000     3614 geom_uzip.ko
 8    1 0xffffffff8332e000     2e80 xz.ko
 9    1 0xffffffff83331000     1a80 fdescfs.ko
10    1 0xffffffff83333000    10010 fuse.ko
11    1 0xffffffff83344000     2968 ums.ko
12    3 0xffffffff83347000    3d450 linux.ko
13    5 0xffffffff83385000     3148 linux_common.ko
14    1 0xffffffff83389000    35260 linux64.ko
15    1 0xffffffff833bf000     4ec4 cuse.ko
16    1 0xffffffff833c4000   24ff24 amdgpu.ko
17    4 0xffffffff83614000    764c0 drm.ko
18    7 0xffffffff8368b000    11430 linuxkpi.ko
19    6 0xffffffff8369d000    13f30 linuxkpi_gplv2.ko
20    4 0xffffffff836b1000      6d0 debugfs.ko
21    2 0xffffffff836b2000     ef91 ttm.ko
22    1 0xffffffff836c1000   152980 radeonkms.ko
23    1 0xffffffff83814000   12bf8c i915kms.ko
24    1 0xffffffff83940000    f29f8 nvidia-modeset.ko
25    1 0xffffffff83a33000  11f7f00 nvidia.ko
26    1 0xffffffff84c2b000     4950 linprocfs.ko
27    1 0xffffffff84c30000      1a6 msdosfs_iconv.ko
28    1 0xffffffff84c31000     2fe0 libiconv.ko
29    1 0xffffffff84c34000    25558 ipfw.ko
The RT2800 chipset is the first generation of 802.11n adapters from
Ralink. It consists of two integrated chips, an RT2860 or RT2890 (PCIe)
MAC/BBP and an RT2820 (2.4GHz) or RT2850 (2.4GHz/5GHz) radio transceiver.
The RT2800 chipset supports two transmit paths and up to three receiver
paths (2T2R/2T3R). It can achieve speeds up to 144Mbps (20MHz bandwidth)
and 300Mbps (40MHz bandwidth.)

https://www.freebsd.org/cgi/man.cgi?que ... +and+Ports

Thanks in advance !

wb7odyfred
Posts: 42
Joined: Sat Nov 12, 2016 5:44 pm
Has thanked: 0
Been thanked: 3 times

Re: WUSB54gc →Ralink 802.11 g WLAN I can't activate it.

Post by wb7odyfred »

Judd, you have posted good details above. Great Post.
maybe you need this line to create wlan device for WUSB54g revC?

Code: Select all

ifconfig wlan0 create wlandev rum0
Here are two forum posts that I used to get WIFI going for ghostbsd. Maybe these can help you with RUM Ralink driver or get the RTL8188EE going.
https://forums.ghostbsd.org/viewtopic.php?f=64&t=570 RTL8188CE. I noticed you have listed in output from command "pciconf -lv" a RTL8188EE Wireless device.
https://forums.ghostbsd.org/viewtopic.php?f=64&t=526 Edimax EW-7811un USB nano dongle.

https://reviews.freebsd.org/D15692 update rtwn(4) driver to support RTL 8188CE chip

Code: Select all

man  rtwn
or

Code: Select all

man rtwn_pci
post more details in a separate networking forum post, if you get rtl8188EE chip going for your wifi needs. Fred
These users thanked the author wb7odyfred for the post:
judd (Sun Jun 07, 2020 12:32 pm)
Rating: 33.33%

User avatar
judd
Posts: 7
Joined: Wed Jun 03, 2020 4:55 pm
Location: Republica Argentina
Has thanked: 3 times
Been thanked: 0
Contact:

Re: WUSB54gc →Ralink 802.11 g WLAN I can't activate it.

Post by judd »

wb7odyfred wrote:
Sun Jun 07, 2020 12:12 am
Judd, you have posted good details above. Great Post.
maybe you need this line to create wlan device for WUSB54g revC?

Code: Select all

ifconfig wlan0 create wlandev rum0
Thank you!
It does not work ...

Code: Select all

# ifconfig wlan0 create wlandev rum0
ifconfig: wlandev: bad value
wb7odyfred wrote:
Sun Jun 07, 2020 12:12 am
are two forum posts that I used to get WIFI going for ghostbsd. Maybe these can help you with RUM Ralink driver or get the RTL8188EE going.
https://forums.ghostbsd.org/viewtopic.php?f=64&t=570 RTL8188CE. I noticed you have listed in output from command "pciconf -lv" a RTL8188EE Wireless device.
https://forums.ghostbsd.org/viewtopic.php?f=64&t=526 Edimax EW-7811un USB nano dongle.
Yes, I have seen those threads before, although my preference is for WUSB54gc to work
wb7odyfred wrote:
Sun Jun 07, 2020 12:12 am
https://reviews.freebsd.org/D15692 update rtwn(4) driver to support RTL 8188CE chip

Code: Select all

root@judd-ghostbsd-pc:~ # make -C /usr/src/sys/modules/rtwnfw load
make: chdir /usr/src/sys/modules/rtwnfw: Not a directory
root@judd-ghostbsd-pc:~ # make -C /usr/src/sys/modules/rtwn load
make: chdir /usr/src/sys/modules/rtwn: Not a directory
root@judd-ghostbsd-pc:~ # make -C /usr/src/sys/modules/rtwn_pci load
make: chdir /usr/src/sys/modules/rtwn_pci: Not a directory
RTL 8188CE chip it works but in a very poor way in the reception of internet signal, it also allows me, with permanent cuts, to do some things ... it is difficult :( https://www.speedtest.net/result/c/2909 ... f10bccd758


wb7odyfred wrote:
Sun Jun 07, 2020 12:12 am

Code: Select all

man  rtwn
or

Code: Select all

man rtwn_pci
post more details in a separate networking forum post, if you get rtl8188EE chip going for your wifi needs. Fred
If the man are very important and I always read them, although it is also very difficult for me, to permanently translate what I read into my Spanish mother tongue, but I do it in order to learn more about this fantastic world of computing, otherwise I have no choice!


I greatly appreciate the time you have taken to help me solve my problems. I really appreciate it !!! :+1:

judd

Post Reply