-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
support Realtek 8852BE wifi card? #54
Comments
Hi @Elimelech: Have you tried the |
I haven’t tried it yet, but I didn’t find my card in the wifibox list, so I asked a question about support |
Do you mean the table under "Compatibility"? That listing only contains the configurations that were confirmed to be working. But the actual range of supported device is potentially wider. The |
Tell me, for wifibox to work, do I need to install the linux base-c7 package? |
No, Wifibox does not need the |
I decided to try,
but it gives an error:
what and where I did not specify in the settings?
How to load linux64 module on system boot? |
A You can learn more about the missing configuration setting from the files in the |
passthru="1/0/0" in bhyve.conf on startup it says: |
You should not be looking at the FreeBSD kernel logs but that of Wifibox. It is expected that the kernel will eventually lose control of the device as For the relevant Wifibox messages, please check |
var/run/wifibox/appliance/log/dmesg:
and /var/run/wifibox/appliance/log/messages:
|
For some reason on reboot the the wifibox0 interface fails to get an IP from DHCP, seems to be because the interface doesn’t exist before the bhyve VM is started, work around until I find a solution: Edit `/etc/rc.local’: /sbin/dhclient wifibox0 Reboot, all should be good P.S. i.e. without this line /sbin/dhclient wifibox0 in /etc/rc.local Internet does not start when the system boots. |
Okay, so can we say that Wifibox works with your wireless card? If you share the details of your configuration with me, I can add it to the Compatibility table, see the columns for the required set of information. Regarding DHCP, note that there might be some extra wifibox_enable="YES"
ifconfig_wifibox0="SYNCDHCP"
background_dhclient_wifibox0="YES"
defaultroute_delay="0" Alternatively, you can choose to have static IP address and routing: wifibox_enable="YES"
defaultrouter="10.0.0.1"
ifconfig_wifibox0="inet 10.0.0.2/24" |
I tried to substitute different values, but it doesn't work: also this doesn't work: Works only if there is /etc/rc.local file: /sbin/dhclient wifibox0 Wifibox works with my wireless card. |
Thanks for the configuration data and the confirmation! Regarding the issue with |
everything works, but dhcp and wifibox0 are not friendly. :(
|
I have tried Wifibox with FreeBSD 13.2-RC5, and DHCP worked for me. It would be curious to understand how your configuration is different from the standard one and what the actual problem is. After applying the previously suggested |
I have nothing new in the settings, everything is according to the instructions, standard.
Restarting the service netif restart wifibox0 does nothing. There is no internet.
|
Okay. Could you please try disabling the background ifconfig_wifibox0="SYNCDHCP" Then post output of the following command, please: # service netif restart wifibox0 This way we could see what # fgrep udhcpd /var/run/wifibox/appliance/log/messages |
Removed background dhclient, but after command # service netif restart wifibox0
the Internet appeared.
|
Apparently the problem is with the boot process. I am not sure if this is Wifibox-specific, but we can still keep running the investigation because it may bring some important conclusions. It might be interesting to see what the |
there is nothing suspicious. But my setup in the form of /etc/rc.local':/sbin/dhclient wifibox0 |
I would be still interested to see what your FreeBSD system logs on boot. Could you please share with me the Regarding the connection issues: it is hard to say anything without any specific detail. There may be many reasons for that. The guest image contains many tools for troubleshooting, though. Couple of examples:
|
Looks like the "iw" command is not found on your system. This command is used to configure wireless network interfaces in Linux. |
Yes, you are right. These commands are meant to be executed on the Wifibox guest which is a Linux system. |
FreeBSD 13.2 RC5
|
How are these games used in the guest system?
|
First enable the |
Could you please send me the output for the following command on the FreeBSD host? # fgrep dhclient /var/log/messages |
When there is no connection, it shows nothing in the logs for this command And this is when there is a connection:
|
All right. I have dug up some further ways of investigation. Please run both of them on the FreeBSD host system and share the output. First probe: $ service -re Second probe: $ sh
$ . /etc/rc.conf
$ . /etc/rc.subr
$ . /etc/network.subr
$ _ifconfig_getargs wifibox0 |
|
these commands did not understand how to execute and do both from the superuser or from a simple user? |
The This way I can see if the That said, it is completely fine to run these series of commands as a regular user. Perhaps the only important part there is to launch a Bourne shell and there run the commands. But if you just follow the instructions, the |
I ran these commands but didn't notice anything...
|
What are those |
|
Okay, so if there is no output from the last command (the call of the $ _ifconfig_getargs wifibox0
SYNCDHCP which may come from the following line in ifconfig_wifibox0="SYNCDHCP" Without this (or any other DHCP-related string), |
Didn't understand your answer. I have ifconfig_wifibox0="SYNCDHCP" in etc/rc.conf |
Then you must have done something wrong with the execution of the commands. But until I cannot see that |
And what data should I provide you to understand the problem. My wi-fi connection is interrupted from time to time (every minutes). |
What version of |
|
I have recently started to experiment with upgrades (to e.g. Linux 6.1) and certain features (such as us making it possible to use Linux 6.4) in the |
I start testing... |
Unfortunately, no changes so far. Communication drops out from time to time |
|
|
@hotwa sorry, but I do not get what you meant by the link you posted. That one seems to be related to OpenWrt which is out of scope for this project. |
freebsd-wifibox support Realtek 8852BE wifi card?
The text was updated successfully, but these errors were encountered: