anyone using octoprint 1.2.2?
Re: anyone using octoprint 1.2.2?
funny, did your txt file look all organized into lines like that? no matter what text editor i opened it up into it would open it as a jumbled mess with no returns, spaces or anything else. it was one big massive run on sentence. thats half the reason i couldnt make heads or tales of it. ill try and mess with this later. thx
Re: anyone using octoprint 1.2.2?
weird. i used notepad on the pc and 2 others on the mac. was just a big unreadable mess. i can atleast see what is going on now. its a little more understandable. so i basically just remove the single pound sign from in front of each line i want to use and enter the network info?
Re: anyone using octoprint 1.2.2?
Nope, it's in Unix text file format, with line endings marked by Line Feed (hex 0A) characters.PcS wrote:Wonder if you got a corrupted download ?
DOS, for obscure reasons, and therefore Windows require Carriage Return (hex 0D) and Line Feed characters at the end of each line.
More than you probably want to know:
https://en.wikipedia.org/wiki/Newline#Common_problems
Re: anyone using octoprint 1.2.2?
your right once again ed.
when i opened that file with notepad this is what i got.
i must have been mistaken though as to what i used to open it with because notepad looks like the pic but wordpad opens it correctly like mentioned in ed's link. also i drug it over to my mac and it opened right with textedit and text wrangler.
when i opened that file with notepad this is what i got.
i must have been mistaken though as to what i used to open it with because notepad looks like the pic but wordpad opens it correctly like mentioned in ed's link. also i drug it over to my mac and it opened right with textedit and text wrangler.
Re: anyone using octoprint 1.2.2?
ok this is still a no go. it wont connect. let me ask you guys a question. after looking closely at the file pat posted has the jimc identifier as to wehre i put my info. of course i am running an open network so i would uncomment the three single # lines under the open section. one thing i see different is in the wpa section where pat has me marked down its marked as ssid. i realize this is just the network name. under the open section is marked as essid. what is the difference? is there any? thats just supposed to be my network name right? i looked online and it said something about that being the mac address? for the router?
Re: anyone using octoprint 1.2.2?
you run a wifi connection with no security ? change it to wpa and my posted settings will work.
Re: anyone using octoprint 1.2.2?
Jim, run /sbin/iwconfig. Does it show your access point? Is the ESSID listed correct? Is that command even there?
If /sbin/iwconfig doesn't exist, then you need to run "sudo apt-get install wireless-tools".
Regarding the interfaces file, for reasons unknown the SSID is referred to as wpa-ssid for WPA, but wireless-essid for open networks. Who needs consistency? They both refer to the same thing, your network name.
Your desired end result will look like this:
Make sure "wlan0" is one of the interfaces that shows up in iwconfig.
Reboot and make sure the ESSID listed in the output of iwconfig is your network name. Run /sbin/ifconfig and look for wlan0, it should show you an IP address under "inet addr:". From your Mac, run "ping [that IP address]", should look something like this:
That shows you that it's on the network and responding. Finally, try connecting to OctoPrint through a browser.
If /sbin/iwconfig doesn't exist, then you need to run "sudo apt-get install wireless-tools".
Regarding the interfaces file, for reasons unknown the SSID is referred to as wpa-ssid for WPA, but wireless-essid for open networks. Who needs consistency? They both refer to the same thing, your network name.
Your desired end result will look like this:
Code: Select all
auto wlan0
iface wlan0 inet dhcp
wireless-essid "Jimc's Network Name"
wireless-mode managed
Reboot and make sure the ESSID listed in the output of iwconfig is your network name. Run /sbin/ifconfig and look for wlan0, it should show you an IP address under "inet addr:". From your Mac, run "ping [that IP address]", should look something like this:
Code: Select all
beaglebone% ping 192.168.1.125
PING 192.168.1.125 (192.168.1.125) 56(84) bytes of data.
64 bytes from 192.168.1.125: icmp_req=1 ttl=64 time=0.143 ms
64 bytes from 192.168.1.125: icmp_req=2 ttl=64 time=0.108 ms
...
Re: anyone using octoprint 1.2.2?
yeah its an open network. i am sitting on 20 acres with my dad on another 20 to the left of me and my friends on another 20 on the other side. there is no one that can get close enough to join my network. in the future i may have to do a secure network because i am thinking about putting up a high power router to beam some internet over to my dads place. that is supposed to give a mile or two radius. in any case i just got it working and even updated. here is what i had to do though. i totally deleted the network text file. i turned on one of my other pi's that are working. opened up the network interfaces file and the wpa supplicant file in nano. copied what i had there and duplicated that in the same files on the new octopi version. rebooted, opened up a terminal and typed wpa_gui. this opened the original wifi interface from older versions of raspbian. i found out its still there it just isnt running by default. i used that and did a network scan. my network popped right up, hit connect and it was a done deal. other than modding those 2 files and having to manually run the old wifi config utility it all worked the same as the old octopi 1.1.1 i had running before. it was a 2 min deal. i dont know what the issues is with the new wifi tool in raspbian and how octoprint is doing their thing with this text file but atleast with an open network it just doesnt work.