-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Local Hostname Resolution Fails #60
Comments
A static map of CATS-SQL wasn't enough to resolve the issue between CATS-Beta-2 and CATS-SQL - despite resolving the issue for CATS-Beta-2 and the TAM printers. The static map and an installation of Netatalk was enough to allow communication. However, a cold boot of CATS-Beta-2 still fails as seen in the [Boot logs].(https://gist.github.com/ophilli/ab2b7e8924690d181a47d056f93f2ffa) |
It appears that Netatalk works intermittently. Not sure what is going on. |
Today on two of my Octopi computers I was unable to ping any of the other Raspberry Pis. I removed all of the static dhcp allocations and rebooted everything - this appears to have resolved the issue. |
I'm wondering if this is a problem with the LAN in the Makerspace now. We're having a lot of weird even with some Octopi machines. |
Recently I swapped everything over to the switch in the Makerspace, rather than through the router. This has allowed me to ping all the other .local domains. There was one older Raspberry Pi that I wasn't able to ping, and installing avahi-daemon on that machine promptly resolved that. Will continue to monitor for further updates. |
* deleted rpi command that makes error * trying to print & type 4 keys without exiting * Working keyboard matrix * removed folder * added matrix folder and working code * Create scanCard.py * added working on/off power switch code * Update README.md * don't need the folder, just the code * un-needed files already in te master * Create README.md * On and Off PowerSwitch Tail Control * added working authentication code * Update rpiCardScan.py * you can now clear the keypad code and re-enter * archived file containing the scanning/keypad code * CUID Scanner Code Updated * update of rpi scan * updated code * Cleaning up the code * removed useless file * Removed files * Updated Card Reader/Scanner Code * user confirmation from SQL db * Card reader and PIN update up and running * INSERT function works for SQL server * Update to main.py Help it change to run.py. * Create run.py The thing that makes it run continuously. * Added LED feedback Brice did this part * Improved LED feedback Brice also did this * Update run.py Makes the infinite loop look a little more professional. * 3rd try on LED feedback Brice did this again * Update keypad.py * Update on_off.py * Update keypad.py * Add files via upload * Update README.md * Remove ._*.py Files These files appear to be generated by OS X. They don't contain anything useful for our project and should therefore be removed. * Remove Tar GZIP Files These have no place in the Repo. * Ignore OS X Resource Forks OS X seems to be leaving behind these Resource Forks that are cluttering up the repo. They all start with ._* * Update run.py Added import from main * Remove Old on_off.py This class has been rewritten already, and this file appears to be a remnant of older times. * Cleanup Readability of on_off.py * Update to main.py fixed some warnings for sql command * Update on_off.py fixed code, added more comments. * working main for ISAM prototype * Correct EOL ^M on Linux * Remove Unecessary Main * Refactor PIN Detection Algorithm Previously the different numbers in the pin were detected using a timer. I have implemented a comparison between the the most recent keypad value, and the previous value. This reduces the need for a timer, and should improve reliability. * Implement LED Flash when Turning Power Off * Update main.py * working authentication for machine * Assume Yes When Installing through Apt-Get * temporary fix to user not authorized errors * Move Pip Installs Lower * Created Hardware Folder and ISAM Poster included inside (#51) * temp fix to user not authorized error * Create ISAM Poster * ISAM Poster * Delete ISAM Poster * Update README.md I think this now lists all of the libraries on which we are dependent * Completed Enhancements (#53) G committed some sensitive information here. Hopefully these can be deleted. * Add files via upload * updated working ISAM prototype * update prototype * temp fix to user not authorized error * Create ISAM Poster * ISAM Poster * Delete ISAM Poster * LED blink, SQL Error Log, Admin Email are added * Update main.py * Update main.py * Update keypad.py * Update on_off.py * Update ErrorSQL.py * Update main.py * Update ErrorSQL.py * Correct Auth Details for Demo * Update main.py (#59) This will be necessary until we resolve #60. * Update ErrorSQL.py (#58) * Update ErrorSQL.py * Update ErrorSQL.py * Added authentication diagram Simple flow chart that documents how main.py tries to check to see if a user is authenticated. * Added authentication diagram (#67) Simple flow chart that documents how main.py tries to check to see if a user is authenticated. * Fix to Issue #68 Fixed blinkKey() in keypad.py and on_off.py. There might be another file but I fixed the specific things asked for. * commit hardware designs into devel (#72) * Add files via upload Added hardware files to the repository. * Add files via upload Uploaded files for pihat * Add files via upload Fritzing breadboard layout files * Remove extraneous dev code * Purge Old Development Commented Code * Remove Git Diff from Setup * Correct funky indentation * More funky indent correction * Test for thor * Remove test for thor * Update README.md (#77) Added a period to the end of the sentence * im adding this * remove maurice.txt * Fixed the Invalid PIN re-prompt bug * updated quality of code * reset timer after key pressed * Error logging # 4 added and tally of PIN attempt * program would quit out of nowhere, removed a line and its all good * PiHat_v2 - A New Hope Hoping to cut out a lot of the bullshit from the PiHAT designs. I've designed the edge cuts from the specifications listed in the [HAT board specification.](https://github.com/raspberrypi/hats/blob/master/hat-board-mechanical.pdf) * Implement EEPROM and RPI GPIO Connection Schematics I've added the EEPROM circuit and the RPIO GPIO to the schematics, as well as associated the proper footprints with them. * Correct EEPROM Schematic - Add Pin Numbers * Rough Sketch of Schematic and all Footprints Complete * I've completed a first draft of the schematic, and verified that all parts have a footprint. * Next steps include routing the PCB, verifying the designs, and including any changes. * Complete First Draft of Routing * Complete Ground Plane and Keepout Zones * Implement Mounting Holes & Remove Improper Keepout Areas This board should be electrically sound - and looks to me like it has all the right parts at first glance. There are some definite silk-screen improvements that can be made, however. * One final thing . . . Sorry Stefan. * Proposed Meeting Minutes for Team Leads 2017-01-30 * Update Whitespace & Format Title Header * Added brief config file Will be implementing it into the actual code now. * Edited ErrorSQL to implement config I added comments to show what i was working on exactly. I fixed the formatting for the connection part to make it a little more readable, also added a recommendation to add the facility code into config. * Update config.cfg Added new line, mind explaining why the new line is necessary? * Expand Date & Start Time * Update ErrorSQL.py Added better config.read() upon @ophilli 's request. * Insert Missing Via I was missing a via in the lower right of the board - it has now been re-inserted. * requirements.txt v0.2 closes #81 (#98) * requirements.txt v0.1 Attempted to create a requirements.txt file. From what I could read, it consists of the arguments in the commands for setup.sh (the package names). Not entirely sure if any of it is right * Update requirements.txt v0.2 I assume that we are using the most recent versions of these * Update requirements.txt Updated an issue I overlooked * finished first test * Update ErrorSQL.py deleted the tab on lines 11 and 12 and added 4 spaces * Added second test! * ADDED A THIRD ONE OMG * -Web admin files (#103) * Update requirements.txt (#112) * Software Team Meeting 2017-02-08 * Meeting Minutes for 2017-02-15 * Finished PiHat v2 Design (#120) * Update README.md Added a period to the end of the sentence * New Schematic for PiHat * Finished PiHat v2 Design * SQL Fix Closes #104 (#121) * Update requirements.txt * Update 0.1? Not really sure * Update ErrorSQL.py * Update main.py * Update AuthenticationSQL.py * Update AuthenticationSQL.py Okay so I fixed how we get the stuffs from the SQL. There were a few things that were pretty screwy. So now we look up "authType" using "PiHostname" in the SQL, then look up the variable that authType is for ID in user. This is what is returned in machineAuth. For some reason, we had machineAuth returning the current machine, which makes no sense as we try to use it as a boolean later in the program but also as a machinetype in the SQL call in line 54, 55. This is like really stupid and needs to be fixed but I'm more concerned about fixing the algorithm than an event log. @gacosta, @gmross, and I will discuss a better way for us to do this. Also I'd like us to clear up a lot of the formatting for our code. It's very sporadic and all over the place where functions are. It'd be a lot of cleaning to do but I'd really like us to reorganize where we put functions. I found myself searching for a long time trying to find a specific function. Anyways /rant. @ophilli does this fix the issue you had or do you have any further comments? * Update AuthenticationSQL.py * Added CATS Enclosure Files for SolidWorks (#125) * Added CATS Enclosure Files for SolidWorks CATS Enclosure V0.2 * Dimensioned Drawings Dimensioned Drawings of the V0.2 enclosure + Exploded view. * Optional Keypad Implemented (#123) * Optional Keypad Implemented * Update AuthenticationSQL.py cleaning up the code a bit. * Update AuthenticationSQL.py * Update AuthenticationSQL.py * Update AuthenticationSQL.py * Fixed piHat (#128) * Update README.md Added a period to the end of the sentence * New Schematic for PiHat * Finished PiHat v2 Design * Neopixel Footprint Fix Rearranged the neopixel terminals to correctly mount it. Moved around silk screen references and changed the text to better understand the design when soldering. Added the developers' names to the back of the board. * PiHat Completion References for footprints are placed and named more efficiently. The pi header footprint is now on the back of the board and all connections to it were corrected. Added "+"s to the AUX references to show which side is positive and those reference texts are now what GPIO pin connects to it. Some footprints that are for components that are polarized or need to be placed a certain way were redone to show the orientation of the component for more efficient placement. * Revert "PiHat Completion" This reverts commit 6738365. * Revert "Revert "PiHat Completion"" This reverts commit 9dfad16. * Outline of LM75B I2C Communication * Draft Logging Temperature * Thor's Base PCB Design This is the design that Thor attempted to commit to github in PR #130. It consists of the 'Finished PiHAT v2 Design', the 'Neopixel Footprint Fix', and the addition of our names on the silkscreen. * Simple Bash Script to test SSH Tunnel for SQL Nodes * Make the PCB Pretty Again (#134) * Implement OSHW Copper Logo on PiHAT * Implement CI, Makerspace, Paw Logo on PiHAT * Archive final PiHAT_v0.2.1 Design This is a simple .zip archive of the final PiHAT_v0.2.1 design. * Redraw Fill Zones on PiHAT v0.2.1 Whoops - Forgot to redraw the fill zones. That's been remedied! * removed python2.7 (#135) * SQL Statements have been modified to fit the new SQL Database * SQL Statements have been modified and GPIO pins * Simple Bash Script to test SSH Tunnel for SQL Nodes Closes #136 (#138) * Simple Bash Script to test SSH Tunnel for SQL Nodes * SQL Statements have been modified to fit the new SQL Database * SQL Statements have been modified and GPIO pins * why is G writing commits to my repo? Fixes Neopixel Support Commit after #138 (#139) * Simple Bash Script to test SSH Tunnel for SQL Nodes * SQL Statements have been modified to fit the new SQL Database * SQL Statements have been modified and GPIO pins * Preliminary NeoPixel Support Accessing the Neopixels is tough. - This file has to be run as root due to the direct memory access. - Colors are listed as GBR despite documentation stating otherwise - Several global variables are used in this module - should not be like tihs - Synchronizing the beeping and LEDs still needs to be done - This needs to be tested within the CATS ecosystem * migrate from scan_key to src * Getting Ready For Maker Day (#140) * starting to implement optional two-factor authentication * starting to implement optional two-factor authentication * Adding audio files * Added Audio effect to successful & unsuccessful login * added the main components that I know of * deleted function (will implement later if needed) and removed pygame from requirements.txt and header * Software Team Meeting 2017-02-08 * stuff * Merge branch 'clemsonMakerspace/devel' into devel # Conflicts: # Software/scan_key/AuthenticationSQL.py # Software/scan_key/main.py * getting ready for maker * removed scan_key directory * Changed a word in ErrorSQL.py file (#142) * starting to implement optional two-factor authentication * starting to implement optional two-factor authentication * Adding audio files * Added Audio effect to successful & unsuccessful login * added the main components that I know of * deleted function (will implement later if needed) and removed pygame from requirements.txt and header * Software Team Meeting 2017-02-08 * stuff * Merge branch 'clemsonMakerspace/devel' into devel # Conflicts: # Software/scan_key/AuthenticationSQL.py # Software/scan_key/main.py * getting ready for maker * removed scan_key directory * Edited some SQL instruction in code * Update ErrorSQL.py * on_off was wiggity wack * Rudimentary Piezo Tones * Commented Structure for Piezo & Flash - Sped Up RPI Card Scan * Brad's CATSBS Work for Makerday * Fixed toggle button CSS for Brad
Attempts to resolve local hostnames such as octopi.local, CATS-SQL.local, or series1-10306.local all fail on a standard LAN. These function normally on the octopi distro, and my Win7 machine.
This can be temporarily resolved by configuring a static map in our router for the desired MAC/IP combos.
The text was updated successfully, but these errors were encountered: