Меню Рубрики

Ap hotspot linux mint

Как настроить беспроводную точку доступа HOTSPOT в Ubuntu / Linux Mint для смартфонов

Беспроводная точка доступа позволяет использовать компьютер как Wi-Fi маршрутизатор. В Ubuntu / Linux Mint можно легко создать беспроводную точку доступа с помощью Network Manager, но к такой сети большинство Android и Windows Phone устройств не смогут подключиться.

Несколько человек из сообщества Linux создали сценарий AP-Hotspot автоматически создающий инфраструктуру для беспроводной точки доступа в Ubuntu / Linux Mint и всех подобных, которая должна работать с Android и Windows Phone устройствами.

Скрипт использует hostapd и Dnsmasq, требует поддержки режима точки доступа в беспроводной карте. AP-Hotspot проверяет это условие, если ваша карта не поддерживает этот режим, то скрипт просто будет работать.

Установка AP-Hotspot в Ubuntu / Linux Mint

Для установки скрипта откройте терминал и выполните следующие команды:

Использование беспроводной точки доступа HOTSPOT

Чтобы поднять беспроводную сеть AP-Hotspot, используйте следующую команду:

В первый раз, когда вы запустите сценарий, он пытается автоматически определить, через какой сетевой интерфейс Вы будете раздавать Интернет. Если скрипт определить интерфейс не правильно, то Вы можете ввести его вручную:

Затем скрипт Вас попросит создать имя точки доступа и пароль.

В дальнейшем если Вы захотите, переконфигурировать точку доступа, используйте следующую команду:

Чтобы остановить беспроводную точку доступа, скомандуйте:

Или, если вы хотите перезапустить её, введите:

Чтобы увидеть все поддерживаемые команды, введите следующее в терминале:

По умолчанию в этом скрипте используются следующее имя «myhotspot» и пароль «qwerty0987» для доступа к созданной беспроводной сети.

Если в Вашей системе данный скрипт не заработал, то у Вас есть возможность установить графический редактор менеджера соединений KDE и настроить беспроводную точку доступа для Android и Windows Phone устройств по этой инструкции.


WiFi Hostapd AP – a simple application to create wifi hotspot on Linux MInt

WiFi Hostapd AP – this software is designed to ease the configuration software and the WiFi access point in the environment of the operating system GNU / Linux , using Hostapd and DNSMASQ . Intended for use on workstations and laptops . The application will be useful to those who are unable to create an access point by means of Network Manager or Wicd .

WiFi Hostapd AP allows you to easily create a WiFi access point, 802.11 b / g based on Hostpad .

1 . Create a WiFi access point in a few clicks
2 . Encryption support WPA + WPA2 ( WPA3 ) and WEP
3 . Support for hidden networks
4 . Preset default
5 . Mask configuration files
6 . Traffic count , speed , display a list of customers

WiFi Hostapd AP – a simple application to create wi-fi hotspot on Linux MInt

Installation into Linux Mint:

The site has moved to a new engine, help me fix bugs, send me your notify by selecting that text and pressing Ctrl+Enter.


How to create a Wi-Fi Hotspot on Linux Mint

Wireless Access Point (Wi-Fi Hotspot) lets you connect to the internet wirelessly on mobile devices using your PC’s Wi-Fi card and also enables you to share files.

L ocal networks can be used for many things other than just accessing the World Wide Web. If connected to the same network, the different systems connected can share files among each other quite easily.

It is the basis of a NAS (Network Attached Storage) server. Or maybe, that a single system has a wired internet connection, and it’s required to let other systems around access the internet. In these cases, you’ll need to create a hotspot from your system. Here is a guide on how to create a Wi-Fi hotspot in Linux Mint.

There will be no need for the installation of any programs or such, as Mint already has them installed. Make sure you are not already connected to a wireless network (otherwise your wireless card will be engaged, and you will not be able to create a hotspot). To create a hotspot, follow these instructions:

Creating a Wireless Access Point on Linux Mint

  1. Open the application launcher, search for ‘Network Connections‘ and open it.

Launch ‘Network Connections.’

2. Click on the ‘+’ button, which will allow you to establish a new network.

3. Among ‘Connection Types,’ choose ‘Wi-Fi‘ and click on the ‘Create…‘ button.

Creating a new network

Configuring Hotspot

  1. In the ‘Connection Name‘ field, and the ‘SSID‘ field, enter the name which you want to set to the network. The name that you enter in the ‘SSID‘ field is the name that the systems will see when they connect to the hotspot.
  2. Set the ‘Mode‘ to ‘Hotspot.’
  3. In the ‘Device‘ sub-menu, you’ll see an option which has the physical address of your wireless network card. There will probably only be one option (considering you do not have any additional wireless cards attached). Choose that option. It tells the system to use that wireless card for creating the hotspot.

Wi-Fi network settings

Wi-Fi Security

Next, we focus on setting up the password.

  1. Go the ‘Wi-Fi Security‘ tab in the same window and set ‘Security‘ to ‘WPA & WPA2 Personal‘. There are other options, but WPA and WPA2 are the most secure forms of network passwords. They are generally borderline un-hackable if you have a strong password and be a little careful with the network. The easiest method to crack it is brute-forcing, which takes a very, very long time if you have a complex password. So make sure you set the password carefully.

2. You will get a box to enter the desired password. Enter the password there.

Wi-Fi security settings

IPv4 Settings

  1. Go to the ‘IPv4 Settings‘ tab, and make sure that the ‘Method‘ is set to ‘Shared to other computers.’

IPv4 settings


That’s all about how to create a Wi-Fi hotspot on Linux Mint. After establishing the network, you’ll be able to connect to it like any other network on your other devices. Again, for safety, it is recommended to set a strong password.


Ap hotspot linux mint

Hallo, today we will make from our Linux Mint 17 machine a Wi-Fi access point, for this we do not need any additional software, just easy as 1-2-3:

1. Go to Main Menu -> Preferences -> Network Connections click on Add and choose Wi-Fi. Choose a network name (SSID), Infrastructure mode. Go to to Wi-Fi Security and choose a WPA/WPA2 Personal and create a password. Go to IPv4 settings and check that it is shared with other computers.

2. Do sudo vi /etc/NetworkManager/system-connections/YOUR_CONNECTION_NAME and change mode=infrastructure to mode=ap and save it.

3. Click on Network Manager near clocks and choose connect to hidden wireless network –> choose your connection –> enjoy.

P.S. If it does not work, run iw list and check in Supported interface modes: * AP, if you do not have AP there, probably your Wi-Fi card does not support this mode.


Thank you very much! Worked perfectly on Linux Mint 18.1 MATE

Instructions do not work for me, Mint 17:
a) “click on network manager near clocks” -> there is only an icon called “connect to the wired network” in the bottom right corner.
b) when i click on that icon i see a list of wired/wireless connections plus “network settings”, “network connections”
c) when i click on “network settings” a window called “networking” (part of settings” pops up.
d) On that window there is a button “connect to a hidden network”
e) when i click on that button, i can select my connection and then click “connect”
f) Unfortunately, it does not work then: My linux mint system itself only says “connecting”. On another system where i try to connect to the SSID, it does not work – it asks for password, but then it does not work.

In my experience, every time Ubuntu Network Manager gets involved, stuff does not work. I hope i can find a pure CLI based tutorial instead.

thanks, very easy with Mint 18.1

The idea is: if you have a wired connexion to the PC, how to create a Hotspot with Linux Mint? The wifi connexion that you get from this hotspot works well with Android phones and tablets.

Further explanation of Point 3: Click on Network Manager near clocks and choose under “Network Preferences” (“Preferencias de Red in Spanish) the button that says: “Connect to hidden wireless network”, then choose your connection.

I find the problem and get the solution. It’s working. Thank you

Hi. I’m not so good in terminal. Can somebody give me a step by step explanation about the second part?

Can’t find hidden network option?
left click the wifi icon in systray -> Network Settings -> wireless
Below the selection of wifi networks is a button ‘connect to hidden network’. Click it, scroll through the list to YOUR_CONNECTION_NAME and select. Done.

sudo gedit
instead of sudo vi for a notepad like gui text editor


Because – the built in hotspot mode in linux mint does not work with android; android does not support ad hoc wifi natively. Even with root and editing wpa_supplicant.conf I was unable to connect to the ad hoc hotspot built in to linux mint.

However this does work. And it uses WPA2 not WEP so it’s probably more secure too.

This is quite useful, but alas. WiFi drops after sometime.

Works like Charm on my LM17.2!! Thanks alot man.

nice one man, i so wonder why the network manager doesn’t(yet) give an option for ap. now my brother will stop bugging me.

This is one of the reasons that I switched to Linux, and Linux Mint in particular. My nice Dell XPS 8700 came with Windows 8 (upgraded to 7 later down the road) and the Dell drivers DVD came with a “HotSpot” program.

It sucked. It would disconnect all the time. The drivers for my wireless card SUCKED under Windows and are ROCK SOLID under Linux. I backed up all of my prized pix and vidz one day and ran a Boot and Nuke program to wipe all traces of filesystems and data off my hard drive. In short, my disk drive was factory fresh.

Then I inserted my Linux Mint install DVD and rebooted. I installed Linux Mint 17.1 back in December 2014. It is July 2015 and I still run Linux. Version 17.2 was released about a week ago and I’ve just seamlessly upgraded to that with the upgrade manager, which is another amazing feature of Linux Mint.

Anyways, I love having my Linux PC do everything I want it to in addition to acting as a rock solid WiFi hotspot.

If they started charging $200 a copy of Linux Mint I’d pay it. I love my Mint. I love it a lot!

Worked fine.

You need to check VI tutorial, shortly it is goes with you pointer till “infrastructure”, press “x” till you delete it and and then press “i” to insert “ap” instead. Then ESC, “:” and print “wq”. But BETTER CHECK VI MANUALs.

“Parameters on my system is Preferences. WI-FI Protection is WI-FI Security on my system” can be, I did translation, because I’m using Russion Mint:)

I did not catch your point about HP and USB wifi. Did you setup AP on one system and than use HP with an USB wifi? If yes, than it is ok if you can connect to the network.

I am running newly installed mint-17
I went thru step 1. Parameters on my system is Preferences. WI-FI Protection is WI-FI Security on my system. I have a wireless network up so I used it’s name, but I did not have to. I changed it to something else without affecting the connection. I selected infrastructure mode. In security, I chose WPA & WPA2 personal and entered a password (assigned to the network previously). Again, the password could have been anything and I changed it. Save became available so I did so.

I am running an HP Desktop system with no built in wifi. My wifi is actually a USB 2.0 plugin I got on Ebay. In my case I did not have to do step 2 or 3, I was able to click the Icon in the taskbar where my local net was listed. When I clicked on that, I was asked for the password for the network (not the password I assigned in step 1) and connected right into the web.

The WI-FI icon appeared in the taskbar after the save, clicking on it showed my local net and a couple of outside networks. I did not have to go thru step 2 or 3. Rebooting the system found the wifi still working. On my laptop, clicking the icon in the taskbar shows all networks the system sees including hotspots. Clicking on a hotspot will take you to it and you can access it if you pass local restrictions.

remoulders method won’t do the job, but this tutorial might. I am gonna check it. The option “Use as Hotspot” creates an hotspot with ad-hoc network not access point.

That was a problem – no “Use as Hotspot” in my system. I checked everything, all other tutorial satrting with a “lets install hostapd. “

Or just click “Use as Hotspot” in network settings.


Популярные записи