#garfield Logs
Sep 14 2017
#garfield Calendar
04:55 PM Tom_itx is now known as Tom_L
07:38 PM rue__ is now known as rue_house
08:25 PM zhanx: been working on the exam for the home land security cyber division, its a pita for sure
08:47 PM rue_house: heh
08:47 PM rue_house: your just trying to get paid to be on the internet, oops, sorry, now they know
08:47 PM zhanx: you found out :(
08:48 PM rue_house: comcast
08:48 PM rue_house: horrid securrity
08:49 PM rue_house: thousands of compromized routers
08:49 PM rue_house: I think of a 254 machine subnet I was seeing like 100+ compromized routers
08:49 PM rue_house: and comcast didn't care
08:50 PM rue_house: they sent out the routers with the service subscriptions
08:50 PM rue_house: I was gonna hve some fun zhanx
08:50 PM rue_house: I set up a machine with a special passwd command,
08:51 PM rue_house: instead of setting the password, it would send what you sent it to to a line printer
08:51 PM zhanx: hell my isp has default passwords on the routers
08:51 PM rue_house: I was gonna set it up on the public ip space with the root password 1234
08:51 PM zhanx: with a hint as the msg
08:51 PM rue_house: log the source addresses and the passwrds they set it to
08:51 PM rue_house: then run a script to go take all those machines and reset the passwords
08:51 PM rue_house: :)))
08:52 PM zhanx: nice
08:52 PM rue_house: but foo, I'm lazy and nonmotivated
08:52 PM rue_house: I hath no hacker girl to do mad coding with late into the night
08:53 PM rue_house: "not now honey, I'm coding!"
08:54 PM Tom_L: ok booting knoppix
08:54 PM Tom_L: what are we looking for?
08:54 PM zhanx: k
08:54 PM zhanx: beats me i got here late
08:55 PM zhanx: no clue on the issue
08:55 PM rue_house: fdisk, what type of partitions are they?
08:55 PM rue_house: mount eh recovery partition, less cmd.exe, look for a version text string
08:55 PM zhanx: oh bad hard disk again?
08:56 PM rue_house: (I dont think you can mount the main partition cause they lock it and all that junk)
08:56 PM zhanx: just send me the hd i will/can recover it :D
08:57 PM rue_house: I should play with that more, I'd like to see what comes up with a machine with that rootability
08:57 PM Tom_L: ntfs
08:58 PM zhanx: ntfs is easy
08:58 PM Tom_L: HPFS/NTFS/exFAT
08:58 PM Tom_L: looks like 3 partitions
08:58 PM Tom_L: one is 2k
08:58 PM Tom_L: er no, but it's small
08:58 PM zhanx: recovery. (oem), system, boot hpfs
09:01 PM Tom_L: recovery is 20556800 blocks
09:01 PM Tom_L: sda2 is 467726226 blocks
09:02 PM Tom_L: sda1 is 102400 blocks
09:02 PM zhanx: Tom_L: what is the intent?
09:03 PM Tom_L: get it working again
09:03 PM Tom_L: i can pull the drive and back it up
09:03 PM Tom_L: i don't have the install disk for it
09:03 PM zhanx: what is not working and original os so i am up to speed
09:03 PM Tom_L: i do have a win7 disk i can use
09:03 PM Tom_L: win7 of some flavor
09:03 PM Tom_L: it's stuck in recovey mode
09:04 PM zhanx: fyi you can download the ms recovery usb for it
09:04 PM zhanx: want me to link you?
09:04 PM Tom_L: how?
09:04 PM Tom_L: do i need to be on that pc to do it?
09:04 PM rue_house: Tom_L, the restore partition is small
09:04 PM rue_house: can you mount he small one?
09:04 PM rue_house: the
09:05 PM Tom_L: 102400?
09:05 PM rue_house: sure
09:05 PM Tom_L: how?
09:05 PM zhanx: https://www.microsoft.com/en-us/software-download/windows7
09:05 PM rue_house: cd /media
09:05 PM rue_house: mount sda-whatever-number
09:06 PM Tom_L: ok
09:06 PM rue_house: so,
09:06 PM Tom_L: looks like it did
09:06 PM rue_house: cd /media/
09:06 PM rue_house: mount sda1
09:06 PM rue_house: cd sda1
09:06 PM rue_house: ls
09:06 PM Tom_L: sda1 sda2 sda3 sr0
09:06 PM zhanx: also this https://www.microsoft.com/en-us/software-download/windows8ISO will fix windows 7 from experience unless the drive is shot completely
09:07 PM rue_house: cd /media/; mount sda1; cd sda1; ls
09:07 PM Tom_L: BOOT etc
09:07 PM Tom_L: yeah i know
09:07 PM rue_house: ok!
09:07 PM rue_house: is boot a dir/
09:07 PM rue_house: ?
09:07 PM zhanx: Tom_itx: needs to open a ssh port for us to fix it
09:07 PM Tom_L: yes
09:07 PM rue_house: naw
09:07 PM rue_house: ok go into that
09:07 PM rue_house: what do you seE?
09:07 PM Tom_L: did
09:07 PM rue_house: cmd?
09:07 PM rue_house: cmd.exe?
09:08 PM Tom_L: no
09:08 PM Tom_L: not much
09:08 PM rue_house: well, do tell
09:08 PM Tom_L: memtest
09:08 PM rue_house: ok
09:08 PM zhanx: wrong dir
09:08 PM rue_house: no wait
09:08 PM rue_house: keep telling
09:08 PM zhanx: sda1 is your usb
09:08 PM rue_house: this is intesting
09:08 PM rue_house: what?
09:08 PM rue_house: it could be
09:08 PM Tom_L: there's no usb
09:09 PM rue_house: what else is in there
09:09 PM zhanx: its a live boot it on a cd or usb its sda1
09:09 PM Tom_L: at least nothing is in it
09:09 PM rue_house: sounds like a linux boot thing
09:09 PM rue_house: but it was ntfs
09:09 PM zhanx: no i need a paste of the output to say that
09:10 PM zhanx: not knock you rue, but tom is new to linux and sometimes things get confused
09:10 PM rue_house: he said it was ntfs
09:10 PM rue_house: tho
09:10 PM zhanx: vs me and you use it daily etc.
09:10 PM Tom_L: it is NTFS
09:10 PM Tom_L: it was running windows 7
09:11 PM Tom_L: all it's life
09:11 PM zhanx: with a memtest sounds like a grub boot loader
09:11 PM rue_house: yea
09:11 PM rue_house: I think it (if were not in the live disk drive) had a linux in there
09:11 PM zhanx: Tom_L: the second link i gave https://www.microsoft.com/en-us/software-download/windows8ISO grab it usb it
09:12 PM zhanx: and use it to recover the drive. it works well
09:12 PM rue_house: I want to find someting to give away the version
09:12 PM zhanx: he needs to use wine for that
09:12 PM rue_house: no
09:12 PM rue_house: you just dump an exe
09:12 PM rue_house: like version.exe
09:12 PM rue_house: or cmd.exe
09:12 PM Tom_L: sda2 has stuff on it
09:12 PM zhanx: and mount the registry
09:12 PM rue_house: there will be a text string
09:13 PM Tom_L: that's where windows is
09:13 PM zhanx: ok
09:13 PM rue_house: zhanx, remember that windows 7+ encrypts the drive
09:13 PM rue_house: or is that just to the motherboard
09:13 PM zhanx: windows 7 encrypts the boot
09:13 PM zhanx: uses a special boot for it
09:14 PM rue_house: UF...something soemthing
09:14 PM zhanx: now that i am not employed fixing lots of them right now
09:15 PM zhanx: and i did not want to learn the new windows crap but i had to anyways
09:15 PM rue_house: well, I have a problem here
09:15 PM Tom_L: i can reinstall windows but i'd rather try to recover from this
09:16 PM zhanx: tom could use my suggestion then
09:16 PM rue_house: I want to write a fn to find out if two circles overlap, but a) I dont have a circle struct in my 2d library (I have an arc tho) and I dont have a booleen
09:16 PM zhanx: for what it is worth the windows 8 iso has built in recovery for windows 7
09:16 PM Tom_L: i've got 8.1
09:16 PM zhanx: same thing
09:17 PM zhanx: works about half the time on it
09:17 PM zhanx: but its quick to check
09:17 PM zhanx: too bad its not a toshiba
09:17 PM Tom_L: problem is, i don't know if this is 32 or 64bit
09:17 PM Tom_L: i presume it's 32
09:18 PM zhanx: oh that is easy what processor of the i3?
09:18 PM rue_house: not always be processor
09:18 PM rue_house: you can run 32
09:18 PM Tom_L: it's a samsung
09:18 PM Tom_L: laptop
09:18 PM rue_house: BUT
09:18 PM rue_house: I'm sure the magic byte of an exe is different for a 64bit
09:18 PM zhanx: cat /proc/cpuinfo | grep vendor | uniq
09:18 PM rue_house: 32 bit exe's will start with"MZ"
09:19 PM zhanx: if its a 32 bit its a 32 bit, might make this easier
09:19 PM rue_house: Tom_L, whats the holographics sticker on the back for the widnows key say?
09:19 PM Tom_L: GenuineIntel
09:19 PM zhanx: lscpu is next
09:19 PM * rue_house is stuck between asleep and awake again
09:21 PM rue_house: cat /proc/cpuinfo | grep name
09:21 PM rue_house: model name : AMD Athlon(tm) II X3 455 Processor
09:21 PM Tom_L: 7 home premium
09:21 PM rue_house: heh
09:21 PM rue_house: does that mean I win?
09:21 PM Tom_L: and i don't have that
09:21 PM Tom_L: i have pro
09:22 PM Tom_L: but maybe i can get the iso?
09:22 PM Tom_L: the key is there
09:22 PM zhanx: model name : Pentium(R) CPU
09:22 PM zhanx: yes you can
09:22 PM Tom_L: would that help?
09:23 PM zhanx: weird mine should say Quad core, and yes it will let you recover it
09:23 PM rue_house: ok, what did we learn? booting linux can help you get the windows variant and install key
09:23 PM zhanx: and reset the password if needed
09:23 PM rue_house: zhanx, siblings
09:23 PM Tom_L: got that link again?
09:23 PM rue_house: cat /proc/cpuinfo | grep siblings
09:23 PM rue_house: or cores
09:23 PM rue_house: cat /proc/cpuinfo | grep cores
09:23 PM zhanx: also this https://www.microsoft.com/en-us/software-download/windows8ISO will fix windows 7 from experience unless the drive is shot completely
09:23 PM zhanx: wait
09:24 PM zhanx: https://www.microsoft.com/en-us/software-download/windows7
09:24 PM zhanx: cores gets it
09:24 PM rue_house: cpu cores : 3
09:24 PM rue_house: I have a bogus core thats turned off
09:24 PM zhanx: cpu cores : 4
09:25 PM rue_house: cpu MHz : 3314.593
09:25 PM rue_house: bogomips : 6630.03
09:25 PM zhanx: 2.6000
09:25 PM rue_house: this is my 'good' machine
09:25 PM zhanx: rue wins on the good machine
09:26 PM rue_house: well, I could use an arc, type for a circle, but
09:26 PM zhanx: i got a new one in today to "fix" with 2 video cards and lots of junk in it
09:26 PM rue_house: zhanx, damn, you need the next pdf
09:26 PM rue_house: you made 4 of those other tings right?
09:26 PM Tom_L: ok it says that was a preinstall by mfg
09:26 PM Tom_L: no joy
09:26 PM rue_house: gotta keep you fed
09:26 PM Tom_L: can't get the iso
09:26 PM zhanx: no 2 you said 2
09:26 PM Tom_L: i'm beting mine would win right now
09:27 PM Tom_L: but it's offline
09:27 PM rue_house: zhanx, ok, I was wrong, its 4
09:27 PM zhanx: betting it would tom,
09:27 PM zhanx: ok will make 2 more then
09:27 PM rue_house: the next peice is 2
09:27 PM Tom_L: i got a M.2 ssd the other day
09:27 PM Tom_L: it's pretty nice
09:27 PM zhanx: Tom_L: send me your hd, i will fix it
09:27 PM rue_house: zhanx, those are the nonsymmetric ones, right?
09:27 PM zhanx: or clone the data and send both back
09:27 PM Tom_L: or tell me how
09:27 PM rue_house: (<-- but with a peg on one side?
09:28 PM zhanx: rue, explain to tom how to setup ssh so i can log in to the machine while i put my kids to bed
09:28 PM rue_house: not with that router
09:28 PM zhanx: make sure you dmz the firewall on the router
09:28 PM rue_house: and your router
09:28 PM Tom_L: how can you ssh into a machine that doesn't boot
09:28 PM rue_house: linux
09:28 PM zhanx: your live booted
09:28 PM Tom_L: nothing against you but i did that once and someone fucked up my router
09:29 PM rue_house: its hard when you have a router on both ends
09:29 PM zhanx: my router is opened for it
09:30 PM zhanx: tom you can close it after and its one machine opened to it
09:30 PM Tom_L: i'll likely put win7 pro on it
09:30 PM rue_house: I cant remember how to do a reverse ssh tunnel
09:30 PM Tom_L: then i'll have something to go back to
09:30 PM rue_house: Tom_L, .. its not a dell is it?
09:30 PM Tom_L: no
09:30 PM rue_house: hp?
09:30 PM Tom_L: samsung
09:30 PM rue_house: hmm, with dell, you can put in your dell code and it gives you whatever you want
09:30 PM zhanx: https://www.howtoforge.com/reverse-ssh-tunneling
09:31 PM * rue_house is caught in limbo
09:31 PM zhanx: let me open my machine
09:31 PM zhanx: and make tom an account on it
09:31 PM Tom_L: probably not gonna do it tonight
09:31 PM Tom_L: it's been kinda a shit day
09:32 PM rue_house: I hav a machine in the livingroom I need to wipe
09:32 PM Tom_L: i'll back up the data and flush it tomorrow probably
09:32 PM zhanx: k
09:32 PM rue_house: but I'm 50% asleep right now
09:32 PM zhanx: you have an account on my machine to start the tunnel
09:32 PM Tom_L: what will that do for me?
09:32 PM rue_house: I can look at things, but not really do problem solving
09:33 PM zhanx: 96.61.1.196
09:33 PM Tom_L: i think in the end, win7 pro will be a better solution
09:33 PM zhanx: you can watch me fix it with screen
09:33 PM Tom_L: then i'll have an iso to go back to if i ever need to again
09:33 PM Tom_L: it's my sis's machine
09:33 PM zhanx: k
09:34 PM Tom_L: i'll at least make the backup first
09:34 PM Tom_L: i have no idea what is on it that needs kept
09:34 PM zhanx: tom, you can ssh tom@96.61.1.196 with a password of password
09:34 PM rue_house: different parts of the brain going to sleep at different times
09:35 PM zhanx: that should drop you into my other computer
09:35 PM Tom_L: you know this is public logged right?
09:35 PM zhanx: yep
09:35 PM Tom_L: mkay
09:35 PM zhanx: its only active while i let it be
09:35 PM Tom_L: i knwo
09:36 PM zhanx: and yes i am watching it
09:36 PM Tom_L: i've done ssh before
09:36 PM Tom_L: but it's been a while
09:36 PM rue_house: yea you should msg him the passord n stuff
09:36 PM rue_house: a fiber optic test laser is down to $9usd, not sure if I should buy or hold
09:37 PM zhanx: already gone for the acount
09:37 PM Tom_L: i'm gonna go relax a bit
09:37 PM Tom_L: take this up tomorrow
09:37 PM zhanx: k
09:37 PM rue_house: I have a W5500 module that I dont know how to connect
09:37 PM rue_house: and an arduino loaded with code
09:38 PM zhanx: i will take it
09:38 PM rue_house: for a webserver
09:38 PM zhanx: i seriously need a weekend to clean up my computer stuff
09:38 PM zhanx: or a week
09:38 PM rue_house: I did my data closet ups
09:39 PM rue_house: I just need to do up the hosue with 12V lighting
09:39 PM zhanx: when i opened the dmz, i noticed my beaglebone black is still online and not a clue where its plugged in at
09:39 PM rue_house: ok, maybe thats a good todo, fix/finish the bedroom lights
09:39 PM Tom_L: i need a box for my new one
09:40 PM rue_house: bolt it to the wall like I did
09:40 PM rue_house: way back
09:40 PM Tom_L: well i was running it on the desk
09:40 PM Tom_L: i remember that
09:40 PM zhanx: rue i am seriously thinking about 12v lighting in the house
09:41 PM rue_house: yea, 1 solar panel and boom, no more lighting charges
09:41 PM zhanx: that and more pest control, my cat is now lazy
09:41 PM Tom_L: why not 24v?
09:41 PM zhanx: wire cost
09:41 PM Tom_L: refrigerator is the highest charge aside from AC
09:41 PM Tom_L: i got all led now
09:41 PM zhanx: plus 12v is on battery
09:41 PM zhanx: one*
09:43 PM rue_house: http://ruemohr.org/~ircjunk/images/nailed.jpg
09:44 PM rue_house: I really need more obvious names for the images
09:46 PM zhanx: plug middle bottom next to paper?
09:47 PM rue_house: keyboards
09:47 PM zhanx: ok
09:47 PM rue_house: otherwise the stupid connector breaks off the motherboard
09:47 PM Tom_L: stop trying to pull it off the wall...
09:48 PM rue_house: :)
09:48 PM rue_house: I manage about 188 or so days uptime at a run
09:48 PM rue_house: seems we have long power outages, and the ups dosn't like my genny
09:49 PM rue_house: ...which I should start...
09:49 PM rue_house: hmm
09:49 PM rue_house: once a month... hmm
09:50 PM Tom_L: 21:50:11 up 262 days, 8:53, 1 user, load average: 0.08, 0.03, 0.05
09:51 PM rue_house: I dont have anthing on any of the machines
09:51 PM rue_house: I been messing with ups' and cleaning out dust
09:52 PM rue_house: the phone system is only at 74 days
09:53 PM Tom_L: i should probably blow that one out again
09:53 PM rue_house: boiler at 24 days
09:53 PM rue_house: I'm trying to make a habbit of servicing the machines on some sort of schedule
09:53 PM rue_house: as opposed to reacting when they fail
09:56 PM rue_house: I told myself to go sit in the shop
09:56 PM rue_house: and everything would become clear
09:56 PM rue_house: I'm gonna go do that
10:06 PM rue_shop3: kat...
10:06 PM rue_shop3: how long was she here?
10:17 PM zhanx: 8 minutes
10:18 PM zhanx: i think she is mad at me again
10:19 PM rue_house: or me
10:20 PM Tom_L: not me
10:21 PM Tom_L: i pushed a button and found another recovery option on it that didn't work either
10:21 PM Tom_L: the OEM one
10:25 PM rue_house: I have kernel tweeks
10:25 PM rue_house: so I'll go down and hopefully back up again
10:29 PM rue_shop3: you should get a real os that you dont have to reboot for kernel changes with