Categories
Mastering Development System & Network

IPtables rule to allow NAT’ed devices to connect to port-forwarded services in the same network

Currently, I’m using the following IPtables setup and unable to figure out how to allow traffic from LAN to port-forwarded services available on my public IP. The situation: ens3: The public facing network interface with one public IPv4 address br0: The bridge interface used to connect various LXC containers. Some services, e.g. a web server, […]

Categories
Raspberry Pi User Help

Problems with Huawei me909u521 modem in Raspberry Pi 3 b+

I have the Huawei me909u521 modem attached to RPi 3 b+ via sixfab LTE hat (connected by GPIO). The Rpi is detecting the modem: pi@raspberrypi:~$ lsusb Bus 001 Device 004: ID 12d1:1573 Huawei Technologies Co., Ltd. Bus 001 Device 005: ID 0424:7800 Standard Microsystems Corp. Bus 001 Device 003: ID 0424:2514 Standard Microsystems Corp. USB […]

Categories
Raspberry Pi User Help

Configure back to normal wifi station after access point mode (hostapd)

I have set up access point according to the manual https://www.raspberrypi.org/documentation/configuration/wireless/access-point-routed.md on respberry pi 4b. It works fine. Now I need to disable AP and connect my Rpi to a router. This is a short log of what I do: stop hostapd and restart wpa_supplicant and networking pi@kyb-pi4 ~> sudo systemctl stop hostapd pi@kyb-pi4 ~> […]

Categories
Linux Mastering Development

Can’t connect to the Internet from jail on XigmaNas inside Hyper-V

I installed XigmaNas 12.1.0.4 inside Hyper-V virtual machine. XigmaNas has access to the Internet. But from jail AeMcSiteJail I can’t connect to the internet. I can connect other jails and XigmaNas, but can’t ping any other devices. What should I do to allow internet connection inside jail? jls command on XigmaNas output: JID IP Address […]

Categories
Linux Mastering Development

No internet connection, problem with instaling drivers

I have installed Linux Mint recently, and i have no internet connection. ja@ja-X751LD:~$ sudo ifconfig [sudo] password for ja: 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 37029 bytes 2631821 (2.6 MB) RX errors 0 dropped 0 overruns 0 frame 0 TX […]

Categories
Raspberry Pi User Help

Connect WiFi and Ethernet simultaneously

I’m trying to connect the raspberry to the ethernet and wifi at the same time, but don’t work. Raspberry infos: Model: Pi Model 3B+ V1.3 /etc/dhcpcd.conf: # A sample configuration for dhcpcd. See dhcpcd.conf(5) for details. # Allow users of this group to interact with dhcpcd via the control socket. #controlgroup wheel # Inform the […]

Categories
Raspberry Pi User Help

WIFI Direct ( Wifi p2p) disconnection after 10 second

I’m trying to connect android and Raspberry PI using WIFI Direct. It is connected successfully but it’s the disconnect after 10 seconds automatically. My configuration file is as per below /etc/wpa_supplicant/wpa_supplicant.conf ctrl_interface=/var/run/wpa_supplicant country=IN ap_scan=1 device_name=rasberry device_type=1-0050F204-1 driver_param=use_p2p_group_interface=1 p2p_go_intent=15 p2p_go_ht40=1 p2p_listen_reg_class=81 p2p_listen_channel=1 p2p_oper_reg_class=81 p2p_oper_channel=1 network={ ssid="DIRECT-Ke" bssid=52:6d:c8:0d:bf:4c psk="Y2s38gWz" proto=RSN key_mgmt=WPA-PSK pairwise=CCMP auth_alg=OPEN mode=3 disabled=2 } network={ […]

Categories
User Help

how to access wifi adapter from wsl 2 and use aircrack

Please can i use aircrack on kali linux without buying a new adapter because i don’t want to buy an external adapter but i would like to use aircrack , i know that microsoft has not yet solved this, but is there a work around(even if it would cause security issues) EDIT: ifconfig gives me […]

Categories
Raspberry Pi User Help

WIFI Direct ( Wifi p2p) disconnection after 10 second

I’m trying to connect android and Raspberry PI using WIFI Direct. It is connected successfully but it’s the disconnect after 10 seconds automatically. My configuration file is as per below /etc/wpa_supplicant/wpa_supplicant.conf ctrl_interface=/var/run/wpa_supplicant country=IN ap_scan=1 device_name=rasberry device_type=1-0050F204-1 driver_param=use_p2p_group_interface=1 p2p_go_intent=15 p2p_go_ht40=1 p2p_listen_reg_class=81 p2p_listen_channel=1 p2p_oper_reg_class=81 p2p_oper_channel=1 network={ ssid="DIRECT-Ke" bssid=52:6d:c8:0d:bf:4c psk="Y2s38gWz" proto=RSN key_mgmt=WPA-PSK pairwise=CCMP auth_alg=OPEN mode=3 disabled=2 } network={ […]

Categories
User Help

Connecting to the internet from a subnet

I’m new to networking. I have a couple single-board computers (NanoPi NEOs running Armbian) on a subnet that I would like to connect to the internet. My laptop (which runs Ubuntu) is connected to an unmanaged switch, which is attached to my SBCs, using ethernet. My laptop also has a wireless connection to my home […]