Skip to content
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

Unable to connect on Virtualbox #1094

Closed
rifaterdemsahin opened this issue Jul 19, 2020 · 14 comments
Closed

Unable to connect on Virtualbox #1094

rifaterdemsahin opened this issue Jul 19, 2020 · 14 comments

Comments

@rifaterdemsahin
Copy link

Expected Behavior

I expect to be able to connect to OMR using internal networks in Virtualbox.
I expect to be able to connect to OMR using hostonly networks in my network

Current Behavior

I can ping the box inside OMR
I cant reach from outside. it is a new setup there is not dhcp leases

Possible Solution

If I can resolve the issue I would create a video on to do a fast setup in the virtual box where people can use it

Steps to Reproduce the Problem

Attached all the screenshots

Context (Environment)

I am running the virtualbox in a skull canyon intel

Specifications

I have 5 wan connections ( fiber,dsl,3 lte)

  • OpenMPTCProuter version: 0.54.7
  • OpenMPTCProuter VPS version: <!---not loaded yet
  • OpenMPTCProuter platform: <!--- (x86_64) intel skull canyon

Everything I have done in here with virtual machine image
https://drive.google.com/drive/folders/13GINYIwT2z8isNx6mNdgurzoe1Nbe1RM

@Ysurac
Copy link
Owner

Ysurac commented Jul 19, 2020

How many interfaces did you set in virtualbox ?
Did you set interface as Server Intel PRO/1000 MT (82545EM) set to bridge with promiscous mode enabled ?

@rifaterdemsahin
Copy link
Author

mate thanks for the ultrafast response . I did setup 5 interfaces
1 for internal network
1 host only network
3 for wan

I have realized Missed the last letters on the nic type / Intel PRO/1000 MT (82545EM)
I moved from intel 82540 to 82545 now ( dont know why might be related to multi path tcp maybe )

Updated the scripts for the external card in the virtualbox with

VBoxManage modifyvm "OpenMPTCP" --nic5 hostonly VBoxManage modifyvm "OpenMPTCP" --nictype5 82545EM VBoxManage modifyvm "OpenMPTCP" --hostonlyadapter5 enx000ec651112d

Still i am unable to access it.

@rifaterdemsahin
Copy link
Author

I changed the network to 192.168.200.1

i would revert that change. How can I debug OMR to see the issue?

image

@rifaterdemsahin
Copy link
Author

I have decided to start from scratch and add the cards one by one. Would that help ?
image

@rifaterdemsahin
Copy link
Author

rifaterdemsahin commented Jul 19, 2020

Maybe the internal network is causing the issue
image

Should i assign the ip or leave it automatic ?

PS:I cant ping the box
image

@Ysurac
Copy link
Owner

Ysurac commented Jul 19, 2020

On network adapter, the lan interface need to be attached to internal network if it's what you want.

@rifaterdemsahin
Copy link
Author

rifaterdemsahin commented Jul 19, 2020

I have created an internal network and i was expecting the client to see the server but that did not work. ( Or i could not make it work )

I suspect it is related to hostonly adapter issue in virtualbox after the update i can only mention the network card on the cli and the UI throws the error

image

If i want to bond like 600MBits with which hardware should i go for to have the least issues?

@rifaterdemsahin
Copy link
Author

maybe today is not my day i am giving a break .
I found the thread here https://ltehacks.com/viewtopic.php?f=21&t=1078

Project looks promising. Keep up the great work and keep pedalling it would be great to be able to bond connections

@Ysurac
Copy link
Owner

Ysurac commented Jul 19, 2020

I use virtualbox with internal network, one interface attached to internal network, others interfaces as bridge for a direct access to modem/box.

I don't have 600Mb/s to test speed for now, but I would say any x86_64 with AES hardware support will have no problem at all.

@rifaterdemsahin
Copy link
Author

do you setup the host network adapter when you want to use the virtualbox as the router in the network ?
image

@Ysurac
Copy link
Owner

Ysurac commented Jul 19, 2020

I don't use a host private network, only an internal network.

@rifaterdemsahin
Copy link
Author

5 th time is the charm
image

I have understood that if we do not setup correctly at the start the restart does not read the updated config.
So I created the machine from start and it worked ( that part needs to be updated i suppose as there can be hardware changes )
image

@Ysurac
Copy link
Owner

Ysurac commented Jul 19, 2020

I don't know what you mean, the config can be updated.

@rifaterdemsahin
Copy link
Author

rifaterdemsahin commented Jul 19, 2020

I have tried many times with the original one. If I do not create the machine with 82545EM than i couldnt change and expect the router page to load. That was my case.

how i failed
Step 1 : create interface which is different than 82545EM
Step 2: realise that it does not work
Step 3: update the interface in the virtualbox
Step 4: it gets stuck and i cant connect from internal network

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants