WiFi USB Unable to connect to network

I'm using a Raspberry Pi 1 B+ with a USB WiFi adapter. The device connects to the network normally right after installation. My intention is to use this device to connect to the network, not to share it with clients. The Windows client can detect the USB devices connected on the server side, including the USB WiFi adapter, until I restart the Raspberry Pi. After the restart, the USB WiFi adapter stops working. I tried adding 'IgnoredDevices' to the config.ini file, but the issue persists.

Here’s the output of lsusb:
pi@printer:~ $ lsusb
Bus 001 Device 004: ID 0bda:8179 Realtek Semiconductor Corp. RTL8188EUS 802.11n       Wireless Network Adapter
Bus 001 Device 003: ID 0424:ec00 Microchip Technology, Inc. (formerly SMSC) SMSC      9512/9514 Fast Ethernet Adapter
Bus 001 Device 002: ID 0424:9512 Microchip Technology, Inc. (formerly SMSC) SMC9      512/9514 USB Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

This is my config.ini
It=1729563326
EasyFindId=BLRzzRGVQwGBmS16V4hPG9
EasyFindPin=7TrKew
IgnoredDevices=424/ec00,424/7800,bda:8179
EasyFind=0

I’ve noticed that there are config.ini files in two locations: /usr/local/etc/virtualhere/config.ini
/usr/local/sbin/config.ini

However, I’m using the one located in the directory where vhusbdarm is found.

For reference, I used the installation script from here: https://github.com/virtualhere/script with the following command:
curl https://raw.githubusercontent.com/virtualhere/script/main/install_server | sudo sh

Your advice is appreciated.

 





 

#2

Edit the config.ini file in /usr/local/etc/virtualhere/config.ini

Change bda:8179 to bda/8179

#3

Hi Michael, I've updated the config file and restarted the OS, but the WiFi is still not connecting to the network. Here's my current configuration.

GNU nano 7.2          /usr/local/etc/virtualhere/config.ini
It=1729312747
EasyFindId=Vq7rpDEiPDZfDmpJDZoPo1
EasyFindPin=6K2HKJ
ServerName=PrinterServer
IgnoredDevices=424/ec00,424/7800,bda/8179

I noticed that the wlan0 interface is missing. I’m currently connected to the Raspberry Pi via a network cable. For your information, if I uninstall the program, wlan0 reappears as normal

eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
       inet 192.168.0.248  netmask 255.255.255.0  broadcast 192.168.0.255
       inet6 fe80::275c:c747:4fd4:ac5c  prefixlen 64  scopeid 0x20<link>
       ether b8:27:eb:24:84:b4  txqueuelen 1000  (Ethernet)
       RX packets 5313  bytes 602390 (588.2 KiB)
       RX errors 0  dropped 5  overruns 0  frame 0
       TX packets 634  bytes 121786 (118.9 KiB)
       TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
       inet 127.0.0.1  netmask 255.0.0.0
       inet6 ::1  prefixlen 128  scopeid 0x10<host>
       loop  txqueuelen 1000  (Local Loopback)
       RX packets 85  bytes 23135 (22.5 KiB)
       RX errors 0  dropped 0  overruns 0  frame 0
       TX packets 85  bytes 23135 (22.5 KiB)
       TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0


 

#4

Actually i remember, the other setting you need to add to the config.ini is AutoAttachToKernel=1

Do this:

systemctl stop virtualhere

nano /usr/local/etc/virtualhere/config.ini

Add the line

AutoAttachToKernel=1

Save the config.ini

sudo reboot