Notifications
Clear all

Raspberry Pi Zero W and motioneyeos

5 Posts
2 Users
0 Likes
2,408 Views
(@n59175)
Member
Joined: 4 years ago
Posts: 4
Topic starter  

I've been following Bills tutorial on setting up surveillance cams on the Raspberry Pi and run into a snag...

The Zero w won't connect to the wireless lan using the wpa_supplicant.conf file the tutorial states, it tries to but fails.  Any ideas?  wrong encryption method on my router?  Using WPA2-personal using AES encryption.  Asus router.  Tried the 2.4 GHz and 5 GHz  bands, no dice.  I am using a Mac to write the configuration file and even tried modifying the one on Bills website to eliminate errors.

 

Thanks

 

Greg


   
Quote
(@zeferby)
Member
Joined: 5 years ago
Posts: 355
 
Posted by: @n59175

using a Mac to write the configuration file

Could that be causing the "newline" characters ("\n") actually being "carriage returns" ("\r") in your config file ?

Eric


   
ReplyQuote
(@n59175)
Member
Joined: 4 years ago
Posts: 4
Topic starter  

I can try it with win 10 machine, Thanks


   
ReplyQuote
(@zeferby)
Member
Joined: 5 years ago
Posts: 355
 

@n59175

Be sure to keep line breaks as only "\n" for linux-based environments because the default for Win is "\r\n" and some Mac editors have default= "\r"

With a decent text/source code editors you can choose your line endings (and maybe the latest version of poor old Notepad as well ?) :

VS Code settings (at user or workspace level) :

image

Notepad++ with a right click :

image

Also Notepad++ can show your line endings with this toggle button :

image

Eric


   
ReplyQuote
(@n59175)
Member
Joined: 4 years ago
Posts: 4
Topic starter  

Thanks for your help.  Im bailing on it.  I installed Raspian and it logs in just fine.

I will go with motion eye installed on Raspian.  

Regards,

Greg


   
ReplyQuote