Introduction.
- Your TK1 and WiFi card Intel AC7260 or 3120 are working well in station mode, and you want to make your WiFi card working as Access Point, and can be switch between Access Point mode and Station easily .
- This tutorial will guide you step by step to reach the goal.
1. Setup hardware.
- Make sure your Wifi card installed on the TK1 board and work normally in Station mode.
2. Setup software.
- - I had written a shell script to cover all steps to setup, just clone the repository and run the file setup.sh
- git clone https://github.com/quangthanh010290/TK1_wifiAPmode_IntelAC7260_3160.git
- ./setup.sh
- Finishing above command without any errors you properly finished the software setup. Now we NEED to modify some system configuration to finally make you Wifi card work.
- Different with raspbian, Ubuntu manages network devices by Network Manager, and when Network Manager managed the wireless device, it will always make your wifi card work in Station Mode.
- Check to see that Network Manager is managing the wlan0
- nmcli device status
- Open Network Manager config file:
- sudo nano /etc/NetworkManager/NetworkManager.conf
- Add these lines to the config file, change the mac address according to your device
- [keyfile]
- unmanaged-device=mac:00:11:22:33:44:55
- Reboot
- Check if wlan0 is not managed from Network Manager.
3. Run this command to test AP :
- sudo ap [AP Name]
4. Run this command to connect your TK1 to a network:
- sudo sta [SSID] [password]
Comments
Post a Comment