cancel
Showing results for 
Search instead for 
Did you mean: 

WLAN AP: Defining AP-Name within CLI Prompt

WLAN AP: Defining AP-Name within CLI Prompt

M_Nees
Contributor III
Because i am working for deeper troubleshooting directly on AP CLI, I am looking for a way how to see/set the AP-Name within CLI Prompt.

(Working with IdentiFi WLAN)

Here my solution (with help of my collegue):
PS1="'grep -i apname /home/config/current.cfg | cut -b 13-' # "To make it persistant after reboot (but maybe not after update):
echo 'PS1="'grep -i apname /home/config/current.cfg | cut -b 13-' # "' >> ~/.profile

Hopefully anybody else needs this too!

Regards
17 REPLIES 17

RobertZ
Extreme Employee
Eric,
Link to the GTAC KB to this thread has been added.

Hi Robert,

could you add a link to this thread to the GTAC Knowledge article?

Thanks,
Erik

I like the idea of showing the AP name in the prompt as well.

This can be easily implemented by Extreme in the /etc/profile file and the commands from the first post.

Overriding the system default for the prompt (which is fallback to Busybox default of unset PS1) using $HOME/.profile is appropriate for customer (or partner) implemented configuration changes on the AP.

OK so we've 42.85% of the Embassadors who support the idea 

James_A
Valued Contributor
I certainly like it.
GTM-P2G8KFN