Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


wifi connection problems
#29
(06-13-2020, 03:36 PM)TheOldPresbyope Wrote: In bash, the single quote mark (') and the double quote mark (") are treated differently. Special characters such as dollar sign ($) and  reverse solidus (\) are interpreted in strings contained within double quotes; they aren't in strings contained within single quotes.

Examples:
Code:
pi@moodelr:~ $ wpa_passphrase "$MyFavoriteFootie$" "the $illy name of the captain"
network={
    ssid="$"
    #psk="the  name of the captain"
    psk=a298bf7833845d0fe2eb1bacc9b8c71b2666c803f427a1c22c28fe57613227df
}
pi@moodelr:~ $ wpa_passphrase '$MyFavoriteFootie$' 'the $illy name of the captain'
network={
    ssid="$MyFavoriteFootie$"
    #psk="the $illy name of the captain"
    psk=678bdc6bb2e32a5842c5539da7eebae1732ad8bcde202d3040dab4b65e77b7f4

Note that the reverse solidus can be used to prevent the interpretation of the following character when contained within double quotes:

Code:
pi@moodelr:~ $ wpa_passphrase "\$MyFavoriteFootie\$" "the \$illy name of the captain"
network={
    ssid="$MyFavoriteFootie$"
    #psk="the $illy name of the captain"
    psk=678bdc6bb2e32a5842c5539da7eebae1732ad8bcde202d3040dab4b65e77b7f4


Regards,
Kent

Thanks, I did and it works and accepts the new SSID and password and generates the auto codes but the configuration set from the Network Settings overwrite it during boot.
Any suggestions.
Reply


Messages In This Thread
wifi connection problems - by lurkio - 10-18-2019, 09:15 PM
RE: wifi connection problems - by Tim Curtis - 10-19-2019, 02:35 AM
RE: wifi connection problems - by lurkio - 10-19-2019, 06:25 AM
RE: wifi connection problems - by TheOldPresbyope - 10-19-2019, 08:24 PM
RE: wifi connection problems - by lurkio - 10-20-2019, 03:37 PM
RE: wifi connection problems - by JonPike - 10-23-2019, 04:38 PM
RE: wifi connection problems - by Tim Curtis - 10-20-2019, 04:26 PM
RE: wifi connection problems - by lurkio - 10-20-2019, 05:07 PM
RE: wifi connection problems - by TheOldPresbyope - 10-20-2019, 04:52 PM
RE: wifi connection problems - by lurkio - 10-20-2019, 05:00 PM
RE: wifi connection problems - by Tim Curtis - 10-20-2019, 07:04 PM
RE: wifi connection problems - by lurkio - 10-21-2019, 08:32 PM
RE: wifi connection problems - by Geojanitor - 10-21-2019, 09:47 PM
RE: wifi connection problems - by Tim Curtis - 10-21-2019, 11:24 PM
RE: wifi connection problems - by lurkio - 10-22-2019, 06:27 AM
RE: wifi connection problems - by lurkio - 10-21-2019, 10:22 PM
RE: wifi connection problems - by jonners - 10-22-2019, 08:18 AM
RE: wifi connection problems - by Tim Curtis - 10-22-2019, 12:13 PM
RE: wifi connection problems - by Tim Curtis - 10-22-2019, 01:08 PM
RE: wifi connection problems - by TheOldPresbyope - 10-22-2019, 01:25 PM
RE: wifi connection problems - by lurkio - 10-22-2019, 01:52 PM
RE: wifi connection problems - by TheOldPresbyope - 10-22-2019, 02:12 PM
RE: wifi connection problems - by lurkio - 10-23-2019, 10:10 AM
RE: wifi connection problems - by TheOldPresbyope - 10-23-2019, 12:43 PM
RE: wifi connection problems - by Tim Curtis - 10-23-2019, 01:12 PM
RE: wifi connection problems - by Tim Curtis - 10-23-2019, 04:53 PM
RE: wifi connection problems - by ab.basu - 06-13-2020, 03:09 PM
RE: wifi connection problems - by TheOldPresbyope - 06-13-2020, 03:36 PM
RE: wifi connection problems - by ab.basu - 06-13-2020, 04:36 PM
RE: wifi connection problems - by ab.basu - 06-13-2020, 05:11 PM
RE: wifi connection problems - by TheOldPresbyope - 06-13-2020, 05:13 PM
RE: wifi connection problems - by ab.basu - 06-14-2020, 05:28 PM
RE: wifi connection problems - by Tim Curtis - 06-15-2020, 04:40 PM

Forum Jump: