====== Using the AP3400 access point as a standalone device ======
===== Goal =====
This wiki shows you how to set up an AP3400 directly as an access point without needing a Netmodule router. However, this method does not allow for central administration or installation.
===== Prerequisites =====
* AP3400 firmware [[https://share.netmodule.com/public/system-software/firmware/firmux-1.9.4-r5998-20230821-netmodule-ap3400-squashfs-sysupgrade.bin|firmux-1.9.4]] or newer
**
The wiki has been tested with AP3400 firmware 1.9.4.
**
----
===== - Starting point for setting up access points =====
The AP3400 is first reset to factory settings, and if no current firmware has been installed, this is carried out in a second step.
===== Preliminary information about the AP3400 =====
The AP3400 is powered via the first Ethernet interface (B1). For this, you need a 48-volt PoE injector. An injector (IEEE 802.3at) with 15 watts of power can be used. You can find more information on this in the manual.
The reset button is located between the two Ethernet interfaces.
{{:app-notes:ap_3400_uebersicht.png?900|}}
An overview of how you need to set everything up so that you can configure the access points.
{{:app-notes:ap3400_basic.png?900|}}
----
===== Update the AP3400 with the latest firmware =====
For the ''first step'', reset the access points to their factory settings. To do this, connect the PoE injector to the AP3400 and press and hold the reset button for at least 10 seconds, or until both LEDs (STAT and LINK) light up green once. The process will then reset to factory settings.
The AP has the internal factory setting ''IP address: 192.168.1.200/24''. Important: The access point does not provide a DHCP server for the LAN connection. You must preset your computer with an IP address in this IP range. In the example image, the computer has the ''IP address: 192.168.1.254/24''.
In the next step, connect to the access point via an SSH console. The user for this is ''"root"'' and the password for the first login is ''"admin"''.
:~$ ssh root@192.168.1.200
Warning: Permanently added '192.168.1.200' (RSA) to the list of known hosts.
root@192.168.1.200's password:
BusyBox v1.30.1 () built-in shell (ash)
root@AP3400:~#
If the firmware on the AP is no longer up to date, please update it.
{{:app-notes:ap_3400_firmware.png?900|}}
Download the firmware via FTP and then transfer it to the AP. Under Linux, you can do this using the ''“scp”'' command. Under Windows, you can use the ''"WinSCP"'' program for this.
:~$ scp -O firmux-1.9.4-r5998-20230821-netmodule-ap3400-squashfs-sysupgrade.bin
root@192.168.1.200:/tmp
root@AP3400:~# update /tmp/firmux-1.9.4-r5998-20230821-netmodule-ap3400-
squashfs-sysupgrade.bin
A ''“.bin”'' file must be used for the firmware update. We also have firmware available as a ''“.zip”'' file on the FTP server. This file contains additional information. Please unzip this file first and then transfer the firmware file to the access point.
----
===== - Set up the access points =====
Read the confirmation data from the AP 3400 using the ''“curl”'' command.
:~$ curl -u root:admin -X GET -H 'Content-Type: application/json'
'192.168.1.200/restapi.lua/config' | jq > /tmp/config.json
The file is then created on the computer in the directory ''“/tmp/”'' under the name ''“config.json”''.
Now you can modify the ''".json"'' file and import it back into the AP3400.
How to establish an SSH connection to the AP3400
:~$ ssh root@192.168.1.200
Warning: Permanently added '192.168.1.200' (RSA) to the list of known hosts.
root@192.168.1.200's password:
BusyBox v1.30.1 () built-in shell (ash)
root@AP3400:~#
**
Please do not close this console!
**
----
You can now import the new configuration into the AP3400 using a second console.
:~$ curl -u root:admin -X PUT --data-binary @/tmp/config.json
-H 'Content-Type: application/json' '192.168.1.200/restapi.lua/config'
This command imports the new ''".json"'' file back into the access point. It is very important that the certificates are not overwritten during this process and remain empty. Otherwise, you would lock yourself out of the system and would no longer be able to log in.
To fix this, you will need the first console for the AP3400. Use the ''“passwd”'' command to reset the password in the router, and you will then be able to log in normally again.
root@AP3400:~# passwd
Changing password for root
New password:
Retype password:
passwd: password for root changed by root
root@AP3400:~#
If you closed the console before making the change, you must first reset the router to its factory settings and start the whole process again.
----
===== - Additional information =====
* Webpage AP3400 [[https://www.netmodule.com/de/support/portfolio-changes/access-point|Webpage AP3400]]
* System Manual AP3400 [[https://www.netmodule.com/uploads/files/produkte/Access-Point/AP3400/AP3400_MANUAL_DE.pdf|System Manual]]
* Firmware AP3400 [[https://share.netmodule.com/public/system-software/firmware/AP3400-Firmware-1.9.4.zip| Firmware 1.9.4]]
----