2022-04-27 - Hotspot on virtual box, help to set up network

Header Data

From: mykola yasynskyi <my***i@gmail.com>
Message Hash: c01edad6aa45da157179d6d687f09d5478fce4e91c2102994c59f4c3a94862e7
Message ID: <d4e5707b-0daf-4406-9bb2-589590372aa0n@grasehotspot.org>
Reply To: N/A
UTC Datetime: 2022-04-27 02:51:09 UTC
Raw Date: Wed, 27 Apr 2022 02:51:09 -0700

Raw message

Hi every body!
I hope that somebody can help me with setting and configs for network on 
virtual box, i'm not so good in these things, thank you in advance!) 
Its not working, and i dont understand how to fix it)

I'm connected to internet by wifi adaptor Alfa awus036ach, 
and i need make a hot spot with vouchers via internal wifi adaptor AC8260 

So...
ifconfig
enp0s3: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 10.0.2.15  netmask 255.255.255.0  broadcast 10.0.2.255
        inet6 fe80::a00:27ff:fec3:8f6a  prefixlen 64  scopeid 0x20<link>
        ether 08:00:27:c3:8f:6a  txqueuelen 1000  (Ethernet)
        RX packets 77  bytes 17317 (17.3 KB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 68  bytes 11061 (11.0 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

enp0s8: flags=4419<UP,BROADCAST,RUNNING,PROMISC,MULTICAST>  mtu 1500
        inet6 fe80::a00:27ff:febc:1dc5  prefixlen 64  scopeid 0x20<link>
        ether 08:00:27:bc:1d:c5  txqueuelen 1000  (Ethernet)
        RX packets 4  bytes 868 (868.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 9  bytes 716 (716.0 B)
        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 101  bytes 8794 (8.7 KB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 101  bytes 8794 (8.7 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

tun0: flags=81<UP,POINTOPOINT,RUNNING>  mtu 1500
        inet 10.1.0.1  netmask 255.255.255.0  destination 10.1.0.1
        inet6 fe80::ad30:61a0:efb8:7e6d  prefixlen 64  scopeid 0x20<link>
        unspec 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  txqueuelen 
100  (UNSPEC)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 7  bytes 448 (448.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group 
default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: enp0s3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state 
UP group default qlen 1000
    link/ether 08:00:27:c3:8f:6a brd ff:ff:ff:ff:ff:ff
    inet 10.0.2.15/24 brd 10.0.2.255 scope global dynamic enp0s3
       valid_lft 86356sec preferred_lft 86356sec
    inet6 fe80::a00:27ff:fec3:8f6a/64 scope link
       valid_lft forever preferred_lft forever
3: enp0s8: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc 
fq_codel state UP group default qlen 1000
    link/ether 08:00:27:bc:1d:c5 brd ff:ff:ff:ff:ff:ff
    inet6 fe80::a00:27ff:febc:1dc5/64 scope link
       valid_lft forever preferred_lft forever
4: tun0: <POINTOPOINT,UP,LOWER_UP> mtu 1500 qdisc mq state UNKNOWN group 
default qlen 100
    link/none
    inet 10.1.0.1/24 scope global tun0
       valid_lft forever preferred_lft forever
    inet6 fe80::ad30:61a0:efb8:7e6d/64 scope link stable-privacy
       valid_lft forever preferred_lft forever

 /etc/network/interfaces
auto enp0s8
iface enp0s8 inet static
address 10.1.0.1
netmask 255.255.255.0

Grase status page, pic below
[image: Снимок.PNG]

http://127.0.0.1/grase/settings/advanced
(access from windows, pic below) 
[image: Снимок.PNG]

I will be very appreciated if you will me to fix it!
Best regards.

[image: Снимок.PNG]

[image: Снимок.PNG]
[image: Снимок экрана 2022-04-27 165015.png]



Thread