lakinduakash / linux-wifi-hotspot

Feature-rich wifi hotspot creator for Linux which provides both GUI and command-line interface. It is also able to create a hotspot using the same wifi card which is connected to an AP already ( Similar to Windows 10).
BSD 2-Clause "Simplified" License
3.37k stars 310 forks source link

Can not create bridged Wifi hotspot #436

Open edgean opened 1 month ago

edgean commented 1 month ago

Describe the bug Laptop with Ethernet and Wifi interface, establish nat wifi spot using default configure is successful, but when I want to create bridge wifi hotspot through the command:

root@thinkpad:/etc# create_ap -m bridge wlp3s0 enp0s31f6 amdc2 20241212 Config dir: /tmp/create_ap.wlp3s0.conf.UJ3BWNAf PID: 70025 Network Manager found, set ap0 as unmanaged device... DONE Creating a virtual WiFi interface... ap0 created. Sharing Internet using method: bridge Create a bridge interface... Error: Nexthop has invalid gateway.

Doing cleanup.. done root@thinkpad:/etc# cat /tmp/create_ap.wlp3s0.conf.UJ3BWNAf cat: /tmp/create_ap.wlp3s0.conf.UJ3BWNAf: No such file or directory root@thinkpad:/etc# create_ap -m bridge wlp3s0 amdc2 20241212 ERROR: 'amdc2' is not an interface root@thinkpad:/etc# create_ap -m bridge wlp3s0 enp0s31f6 amdc2 20241212 Config dir: /tmp/create_ap.wlp3s0.conf.T0qXrmq6 PID: 107737 Network Manager found, set ap0 as unmanaged device... DONE Creating a virtual WiFi interface... ap0 created. Sharing Internet using method: bridge Create a bridge interface... Error: Nexthop has invalid gateway.

Doing cleanup.. done To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Additional context Add any other context about the problem here.