Menu

#940 How to configure beebeep with another network in guest

5.0
closed
2022-11-10
2022-11-09
mstudio
No

Hi. How to configure portable/install version with another network in guest of virtual machine

My host has 192.168.1.255 (ubuntu 22.04)
My guest has 10.0.2.255 (windows 10 22h2) (this is the problem)

conf in guest:

beebeep.rc

[BeeBEEP]
EnableChatWithAllUsers=true
UseHive=true
UseHostnameForDefaultUsername=false
DisableFileTransfer=false
DisableFileSharing=false
DisableSendMessage=false
UseEasyConnection=true
StartMinimized=true
Signature=
UseOnlyTextEmoticons=false
DisablePrivateChats=false
UserRecognitionMethod=0
AllowAddMembersToGroup=true
AllowRemoveMembersFromGroup=true
SaveDataInUserApplicationFolder=true
AllowMultipleInstances=true
PreventMultipleConnectionsFromSingleHostAddress=false
PreferredSubnets="10.0.2.255, 192.168.1.255"
BroadcastOnlyToHostsIni=false

beehosts.ini in guest

192.168.1.255
10.0.2.255

the problem is that the 192.168.1.255 network of the host does not appear. thanks

1 Attachments

Discussion

  • mstudio

    mstudio - 2022-11-09

    Log content (searches but does not find the network 192.168.1.255)

    2022-11-09 12:23:59 Unsent messages will be saved in path: C:\Users\Usuario\AppData\Roaming\MarcoMastroddiSW\BeeBEEP\beebeep.off
    2022-11-09 12:24:01 Broadcaster sends multicast datagram to 224.0.64.75 36475
    2022-11-09 12:24:01 Broadcaster has received loopback datagram from 224.0.64.75:36475
    2022-11-09 12:24:02 Broadcaster will contact 3 network addresses with 3 hosts and with 0 offline users
    2022-11-09 12:24:02 Searching users in these addresses: 192.168.1.255:36475, 10.0.2.255:36475, 10.0.2.255:36475
    2022-11-09 12:24:02 Checking for new version...
    2022-11-09 12:24:02 Updater moved to job thread. 2 jobs in progress
    2022-11-09 12:24:02 HttpDownloader gets url: https://www.beebeep.net/last_version.php
    2022-11-09 12:24:04 HttpDownloader has finished with url: https://www.beebeep.net/last_version.php
    2022-11-09 12:24:04 Url "https://www.beebeep.net/last_version.php" saved to C:\Users\Usuario\Downloads\beebeep_last_versions.txt
    2022-11-09 12:24:04 Updater removed from job thread. 1 jobs in progress
    2022-11-09 12:24:04 Latest version on the website is 5.8.4 (update is not needed)
    2022-11-09 12:24:20 Broadcaster has received loopback datagram from 10.0.2.255:36475
    2022-11-09 12:24:29 Broadcaster has received loopback datagram from 10.0.2.255
    2022-11-09 12:24:56 SaveChatList moved to job thread. 2 jobs in progress
    2022-11-09 12:24:56 SaveChatList removed from job thread. 1 jobs in progress
    2022-11-09 12:25:22 Broadcaster sends multicast datagram to 224.0.64.75 36475
    2022-11-09 12:25:22 Broadcaster has received loopback datagram from 224.0.64.75:36475
    2022-11-09 12:25:23 Broadcaster will contact 3 network addresses with 3 hosts and with 0 offline users
    2022-11-09 12:25:23 Searching users in these addresses: 192.168.1.255:36475, 10.0.2.255:36475, 10.0.2.255:36475
    2022-11-09 12:25:41 Broadcaster has received loopback datagram from 10.0.2.255:36475
    2022-11-09 12:25:51 Broadcaster has received loopback datagram from 10.0.2.255
    2022-11-09 12:25:57 SaveChatList moved to job thread. 2 jobs in progress
    2022-11-09 12:25:57 SaveChatList removed from job thread. 1 jobs in progress
    2022-11-09 12:26:41 Logging to file C:\Users\Usuario\AppData\Roaming\MarcoMastroddiSW\BeeBEEP\beebeep.log
    2022-11-09 12:26:49 Broadcaster sends multicast datagram to 224.0.64.75 36475
    2022-11-09 12:26:49 Broadcaster has received loopback datagram from 224.0.64.75:36475
    2022-11-09 12:26:50 Broadcaster will contact 3 network addresses with 3 hosts and with 0 offline users
    2022-11-09 12:26:50 Searching users in these addresses: 192.168.1.255:36475, 10.0.2.255:36475, 10.0.2.255:36475
    2022-11-09 12:26:58 SaveChatList moved to job thread. 2 jobs in progress
    2022-11-09 12:26:58 SaveChatList removed from job thread. 1 jobs in progress
    2022-11-09 12:27:08 Broadcaster has received loopback datagram from 10.0.2.255:36475
    2022-11-09 12:27:17 Broadcaster has received loopback datagram from 10.0.2.255
    2022-11-09 12:27:59 SaveChatList moved to job thread. 2 jobs in progress
    2022-11-09 12:27:59 SaveChatList removed from job thread. 1 jobs in progress
    

    Is there a way to force the app to find this network? (it is normal for VMs in NAT with another range to work with the host)

    PD: add guest vm net conf

     

    Last edit: mstudio 2022-11-09
  • mstudio

    mstudio - 2022-11-09
     
  • Marco Mastroddi

    Marco Mastroddi - 2022-11-09

    Hello! thank you for your feedback...
    For the ticket 464 you cam add as broadcast address with 255.255 but you must be sure that your router allow this broadcast.
    If the router allow multicast, this is the simplier solution.
    More info about network configuration here:
    https://www.beebeep.net/help#config

     
  • mstudio

    mstudio - 2022-11-10

    I do not understand your answer. I read the content of the link and it is not clear to me.
    What exactly should I do to make it recognize me for example the full class C range (192.168.0.0/16 - 192.168.0.1-192.168.255.255).
    Add netmask but don't discover users (check image)

    PD: I don't understand what the beebeep.rc and beehosts.ini files are for. The program reads this files, but does not use the values. For example:

    beebeep.rc
    [BeeBEEP]
    PreferredSubnets="192.168.1.255, 192.168.88.255, 10.0.2.255, 255.255.255.0"

    beehosts.ini
    192.168.1.255
    192.168.88.255
    10.0.2.255
    255.255.255.0

    However, it doesn't find the hosts in the 192.168.1.0/24 range (that is where I have the users)

    2022-11-10 10:42:52 Searching users in these addresses: 192.168.1.255:36475, 192.168.88.255:36475, 10.0.2.255:36475, 255.255.255.0:36475, 10.0.2.255:36475
    2022-11-10 10:43:21 Broadcaster has received loopback datagram from 10.0.2.255:36475
    2022-11-10 10:43:27 SaveChatList moved to job thread. 2 jobs in progress
    2022-11-10 10:43:27 SaveChatList removed from job thread. 1 jobs in progress
    2022-11-10 10:43:30 [WARNING] Unable to send datagram to 255.255.255.0 36475
    2022-11-10 10:43:30 Broadcaster has received loopback datagram from 10.0.2.255

    and I have to add them manually in Settings > Users > Add users..

     

    Last edit: mstudio 2022-11-10
  • Marco Mastroddi

    Marco Mastroddi - 2022-11-10

    Ok. Do not use "PreferredSubnets", it is useful when you have 2 network card and you want to tell to BeeBEEP with IP use as default.
    You have to create beehosts.ini file
    https://www.beebeep.net/faq#faq24
    adding your subnets.
    Place the file in the resource folder of every BeeBEEP.
    https://www.beebeep.net/faq#faq5

    Be aware that, in this way, the search of the users can be very slow and it can be an "heavy duty" for your network if every BeeBEEP tries to contact all the addresses.

    If this will be a problem, write here and we will find a solution.

     
  • mstudio

    mstudio - 2022-11-10

    I have the beehosts.ini file with the settings described above.

    beehosts.ini
    192.168.1.255
    192.168.88.255
    10.0.2.255
    255.255.255.0

    But it still doesn't answer my question: How (and where) do I add the full range 192.168.0.0/16?

    PD: The problem I describe is on windows (not linux)

    a doubt:
    In https://www.beebeep.net/faq#faq5
    "I put the file in the BeeBEEP resource folder on my and all my colleagues' computers; otherwise I could have sent them the beehosts.ini file to have them put it in their data folder by themselves."
    Where is the path of resource folder and data folder? I don't see any folder with these names in windows. In linux it's not very clear:

    /etc/beebeep/
    /usr/local/etc/beebeep/
    /usr/lib/beebeep/
    /usr/local/lib/beebeep/

    suggesting: I see that you are referring to the path of the beebeep folders. You should call it as such. And not as "resource or data folder" because it is understood that there is a folder called, for example "foo" and another "bar"

    PD: So far the only way it has worked is what you explain in ticket 464 (without using the config files, because if I use them, it doesn't work)

     

    Last edit: mstudio 2022-11-10

Anonymous
Anonymous

Add attachments
Cancel