IRC log of #novawebdev for Monday, 2023-10-23

*** shmohamud has quit (Remote host closed the connection)02:16
*** dcammue has quit (Read error: Connection reset by peer)10:39
*** fkoikoi__ has quit (None)10:53
*** svaye has quit (Quit: Leaving)11:15
*** dcammue has quit (Remote host closed the connection)11:23
*** fkoikoi_ has quit (Read error: Connection reset by peer)11:46
*** sysadmin has quit (Read error: Connection reset by peer)11:51
*** fkoikoi has quit (Read error: Connection reset by peer)11:51
*** dcammue has quit (Read error: Connection reset by peer)11:52
*** fkoikoi has quit (Read error: Connection reset by peer)12:09
*** dcammue has quit (Read error: Connection reset by peer)12:10
mulbahGood morning Mr. Cole12:59
ubuntouristHi mulbah12:59
mulbahHow are you doing12:59
ubuntouristA bit of a headache this morning... stuffy sinuses, but other than that, good.13:00
ubuntouristAnd you?13:00
mulbahI'm okay13:00
ubuntouristSo, have you had an opportunity to either explore fields on your own or talk with tboimah?13:01
sysadmin_Good morning ubuntourist13:02
ubuntouristhi tboima13:02
tboimahI am Good13:03
ubuntouristI was just saying I've got a bit of a sinus headache this morning, but basically okay myself.13:03
tboimahokay13:03
mulbahThis gone week I was busy on graduation but I'm done with it now13:03
mulbahI graduated this gone friday13:04
ubuntouristtboimah, I was checking with mulbah before you came on to see how the exploration of fields and field delimiters was coming.13:04
ubuntouristtboimah, mulbah, I should learn if your course study is similar to the courses taught in the US.13:05
*** tboimah has quit (Remote host closed the connection)13:05
mulbahI don't think so13:06
ubuntouristActually, because I do not have children, I would be comparing it to what I remember of my high school studies which were quite a while ago.13:06
sysadmin_what is the course taught in the US13:06
ubuntouristI mean, over four years from grades 9 to 12  (ages 13 - 17, typically) we had:13:07
*** sysadmin has quit (Ping timeout: 480 seconds)13:08
ubuntouristScience: Introduction to Science, Biology, Chemistry, Physics13:08
ubuntouristMathematics: Algebra, Geometry, Trigonometry, Calculus13:08
ubuntouristEnglish - four years of English. I don't remember a specific focus for each year..13:09
ubuntouristForeign Language: We were required to take two years, but could choose between Spanish, French and German.13:10
ubuntouristSocial Studies / History / Geography - I did poorly and don't remember much of these, though I liked ancient history -- especially Greek history.13:11
ubuntouristAlso, we had room for a few "electives" I chose to take some Art classes and Mechanical Drawing / Drafting classes.13:13
ubuntouristThe reason I'm asking about your curriculum is that it may help me know what it is you've learned and which things I can use as examples.13:14
ubuntouristI was thinking about "What examples of fields would I have seen in grades 9-12?"13:14
sysadmin_ubuntourist there was a project given to us, so that we can the configure a sever so that the user will be be able to login the server with a hostname instead of the IPadress, and try our best in doing it but we have some problem, and we really need your help please.13:15
ubuntouristAnd my first thoughs were "BIology and chemistry"13:15
ubuntouristsysadmin_, OK, a project...  Cool.13:17
ubuntouristsysadmin_,  is this a new server? And is it on the internet now? Can it be accessed remotely? Or only  from within the school?13:18
mulbahit can be assess remotely13:19
sysadmin__it is a new server and it can be accessed remotely13:19
ubuntouristSo, what's the IP number?13:19
sysadmin__mulbah please send me the IP number and the password privately13:19
*** tboimah has quit (Ping timeout: 480 seconds)13:20
tboimahit is tboimah not sysadmin13:20
mulbahI13:20
mulbah send he it13:20
tboimahi also need 13:20
ubuntouristOh, by the way, I have an important trick I just learned: 13:20
tboimahmulbah i also need that13:21
ubuntouristThere is a way to add weak encryption to IRC so that the logs cannot be read13:21
ubuntouristby people without a password. (It is not very good encryption, but it is better than plain-text, which13:21
ubuntouristis what we are using now.)13:22
ubuntouristUnfortunately, I forgot to take notes, and will need to dig that up again.13:24
*** sysadmin_ has quit (Ping timeout: 480 seconds)13:24
ubuntouristWe should probably explore encryption, digital signatures and checksums. (The three are all related to each other..)13:26
ubuntouristIt would allow for sharing secret information between trusted parties.13:26
ubuntouristSo.13:27
ubuntouristIs this a new server?13:27
tboimahmulbah can you also send me the password for the server also13:27
tboimahyeah13:27
ubuntouristIf it is on Linode, and provided through NOVA Web Development, I can probably look up the info,13:28
ubuntouristACTION is checking now...13:29
tboimahi think it is a Hexznet13:30
tboimahsomething like that13:31
ubuntouristHmmm... OK... You may need to get help from someone other than me.13:31
mulbahi send you message 13:31
mulbahthomas13:32
tboimahwhat happen ubuntourist13:32
tboimahI have the password now mulbah 13:32
ubuntouristHold a sec...13:34
ubuntouristBack again.13:35
sysadmin_So Mr Cole can you help us13:36
ubuntouristWhat you need to do is either throuhgh your service provideer (Hexznet) or through a Domain Registry company like Namespace,13:36
ubuntouristyou will need to first select a domain name (something.net, or something.org, or something.com, or... many choices...) and then,13:38
ubuntouristafter the domain name has been purchased, tell one of those two (Hexznet or Naomespace) to associate the number with the domain name you have13:39
ubuntouristpurchased.13:39
ubuntouristEash company has a different way of doing that.13:39
ubuntouristI have only done that once, using Linode and Namespace. I will need to look through my notes refresh my memory on the procedure I used.13:40
ubuntouristI suspect you will need to ask Spencer or someone else to help you navigate this problem.13:41
*** tboimah has quit (Ping timeout: 480 seconds)13:41
sysadmin_The server has already been purchased and we already have the domain name and the IPadress, what they want is for the to be able to login the server with the domain in stead of the IPadree13:41
sysadmin_spencer do not have idea on it also13:42
ubuntouristIt will be done usually via a web page from the service provider (Hexznet).13:43
ubuntouristOr maybe Namespace. Whichever company you used to register the domain name will have a "control panel" on a web site that13:46
ubuntouristwill let you associate the name with an IP address.13:46
ubuntourist(According to my command line tool "nslookup" your domain is currently associated with the domain "cleancookingsystem.org.cn"...13:47
ubuntouristI hope that is old, out of date information...)13:48
ubuntourist(Once you have successfully associated the IP address number with the domain name, it may take one or two days for it to succeed:13:49
ubuntouristThe assiciation between the name and the address must be "propagated" -- spread -- to all of the Domain Name Servers (DNS) so that everyone in the world13:51
ubuntouristknows about the link between the two.)13:51
ubuntouristACTION needs to step away for a minute13:52
ubuntouristACTION is back13:57
ubuntouristACTION is searching through notes on how he made this link between IP address and domain name...13:58
tboimahplease ssh e5G9HGfE4eJN4hCwCdR354SDh@lon1.tmate.io let me show you something13:59
*** mulbah has quit (Ping timeout: 480 seconds)14:01
mulbahhello14:17
ubuntouristmulbah, Sorry. I am in the tmate session.14:18
ubuntourist# newport is frozen14:28
sysadmin_ssh bRG4xUr4aR6ED3fNTPZh6EDCH@lon1.tmate.io14:31
sysadmin_please ssh into that ubuntourist14:32
*** tboimah has quit (Ping timeout: 480 seconds)14:33
tboimahubuntourist are you there14:34
ubuntouristYes.14:35
ubuntouristtboimah, yes. Watching you edit.14:35
ubuntouristI would add the space14:36
ubuntouristsp tjat ot still lines up14:36
ubuntouristtboimah, I mean, a space where you uncommented.14:36
ubuntouristNow for it to take effect, ssh server must be restarted.14:37
ubuntouristsystemctl  is the program used to start, stop, restart, enable, and disable various14:40
tboimahssh DvZ8TzLyAEmV5uBdHcTgDhL6D@lon1.tmate.io14:40
ubuntouristsystem services -- also known as daemons14:40
tboimahssh in that to go to newport14:40
ubuntouristservver is rebooting...14:51
ubuntouristNetwork keeps freezing on me,14:55
tboimahhmmm14:55
ubuntouristThis looks like a job for stackoverflow  or segfault...14:56
ubuntouristTime to reach out to the web. Checlking those forums now..14:56
ubuntouristtboimah, when was the domain name set up?14:59
tboimahspencer was the one that give me the domain15:00
tboimahand it was send to him by the client website he is building15:00
tboimaharound the 3 of october15:01
ubuntouristOK... So... It should have propagated by now...15:01
ubuntouristI am looking at a "super-verbose" log of an attempt to ssh with the domain name.15:03
ubuntouristadding "-vvv" to the ssh command makes it much more informative for debugging:15:03
ubuntouristssh -vvv username@host.tld15:03
ubuntouristAlso I used the "tee" command to both show the results on the screen15:04
ubuntouristand create a file.15:04
ubuntouristFinally, I told it to send all error messages to the same location as wherever 15:04
ubuntouristthe standard output was supposed to go, by adding 2>&115:05
*** tboimah has quit (Remote host closed the connection)15:05
ubuntouristSo the full command is 15:05
ubuntouristssh -vvv username@host.tld 2>&1 | tee ssh.log15:05
ubuntouristthat puts all error messages and normal meessages into a file named ssh.log15:06
ubuntouristGive it ONE attempt at the password, then Ctrl-C15:08
ubuntouristDo not try multiple times.15:08
ubuntouristEnter the ip number15:14
ubuntouristAnd is the passsword typed? 15:16
ubuntouristI dont want to hit ENTER if you have not finished typing in the password.15:16
ubuntouristIgnore the debug messages when typing in the password.15:17
ubuntouristDamn. It's freezing on me again.15:20
ubuntouristtboimah, okay... now you should begin to see why that example that we spent sooo much time on15:27
ubuntouristis important. I'm doing the same thing to try to find an error:15:27
tboimahokay15:27
ubuntouristgreps, for loops, redirecting the information to a file and the using most on that15:27
ubuntouristfile, while searching for specific information.15:28
ubuntouristFirst I went to the directory with all system logs -- /var/log15:28
ubuntouristThen I looked for any lines that mention "administrator, clean, or cook.15:29
ubuntouristUnfortunately, almost all of the lines contain cleancookingsystem.15:29
ubuntouristBut I saved them ot a file named "search-log.txt" anyway.15:29
ubuntouristInside that file I looked for today's date, so that I would not be getting old15:30
ubuntouristinfo.15:30
ubuntouristThen I looked for "administrator" happening after that date.15:30
ubuntouristIn the file /var/log/auth.log, on October 23 at 02:33:50 there was a pam_unix(sshd:auth)15:31
ubuntouristfailure for a user trying to login with the user name "administrator"15:31
ubuntouristI want to see if somehow the user has been permanently locked out for too many15:32
ubuntouristfailed attempts. If so, I want to "undo" the permanence.15:32
ubuntouristGah! This network lag is killing me!15:36
*** mulbah has quit (Read error: Connection reset by peer)15:40
ubuntourist"auth could not identify password for" in the log looks suspicious...15:45
ubuntouristI'm stumped. And late.15:47
ubuntouristPassword type in.15:49
ubuntouristOh MAN is the system slow!15:50
ubuntouristIts saying it will take over 30 minutes to copy that file to newport!15:51
tboimahjust leave the instruction since you are getting late i will complete it15:51
ubuntouristOK.15:51
ubuntouristI was trying to get the file to me where I could look at it more and faster.15:52
ubuntouristSo when it finishes get the file into e-mail as an attachment.15:52
ubuntouristI THINK the problem is related to something called the PAM system,15:52
ubuntouristbut I am not sure.15:52
tboimahokay so we should not contact the web yet right15:53
ubuntouristtboimah, I was trying to search the web for info on what to do about "auth could not identify password for"15:54
ubuntouristwhich is a phrase I saw in the log.15:54
tboimahbecause i was about to tell spencer to contact the website he purchase the server from15:54
ubuntouristYou may want to research that.15:55
tboimahokay15:55
ubuntouristI think I agree: Don't contact the provider yet. 15:55
tboimahOkay 15:55
ubuntouristUnless this is a "rush" job and people are complaining a lot.15:56
ubuntouristIf people are screaming about not having access, then I guess you can tell Spencer to try anything.15:56
ubuntouristGotta run!15:56
ubuntouristBye!15:57
tboimahOkay15:57
tboimahbut do you think we can finish the project from now to saturday15:57
*** mulbah07_ has quit (Quit: Leaving)15:58
ubuntouristDon't know... Sorry. Will continue trying...16:06
*** ubuntourist has quit (Quit: Leaving)16:06
*** tboimah has quit (Ping timeout: 480 seconds)16:42
*** sysadmin__ has quit (Quit: Leaving)16:50
*** shmohamud has quit (Remote host closed the connection)19:56
*** shmohamud has quit (Ping timeout: 480 seconds)20:30
scooperlet assignment = 320:36
scooperif (!(assignment === 3)){20:36
scooper    console.log("true")20:36
scooper}20:36
*** scooper has quit (Quit: Leaving)20:38
*** shmohamud has quit (Ping timeout: 480 seconds)20:55
*** shmohamud has quit (Ping timeout: 480 seconds)22:48

Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!