On Saturday 29 October 2016 18:22:18 W. Martinjak wrote:

> On 2016-10-29 23:17, Gene Heskett wrote:
> > On Saturday 29 October 2016 11:17:15 andy pugh wrote:
> >> On 29 October 2016 at 16:08, Gene Heskett <ghesk...@shentel.net> 
wrote:
> >>>  We have dozens of glues that can serve that purpose. Just fix
> >>> them into a group of 4 and a teeny bit of go-2. put them in place
> >>> on the header while the go-2 cures to fix them into a permanent
> >>> group.
> >>
> >> Did you see the Digikey link? Is it really worth it at 19 cents per
> >> block?
> >
> > Yes, worth depends on the cost of the delay time in getting them.
> >
> > Right now it is a moot point:
> >
> > 1. I've spent most of the day changing out a broken electric window
> > regulator in my 99 GMC, 2nd time now, and while I had the door
> > apart, looking for why my outside mirrors have not been motor
> > driveable since I had the cab restored 2 years ago. No blown fuses
> > in either panel, but there isn't a drop of power anyplace on the
> > multiconnector switch cable plug to the armrest switches.
> >
> > That about wiped me out, and cost me a bucks worth of skin poking
> > around inside the door trying to plug in the tweeter for the doors
> > radio speakers, I was bound and determined to get it plugged in
> > again without removing the &%$# door panel again.
> >
> > Picking up the tools after giving up on the mirrors, I remembered
> > the Toy had a low tire light on the dash so I gauged the usual
> > suspect and ran it up another 23 lbs.  Wheels are rusting and the
> > beads don't seal all that well after a decade and 65k miles.
> >
> > So now I'm beat, and have declared its beer-thirty and I'm one of
> > those near beers sold as Miller 64 behind.  It does sorta taste like
> > beer, but only 2.8%. Half a stock tank of it for any effect IOW.
> >
> > 2. In the middle of all that, the mailman puttered on by and put
> > that Raspberry-pi 3 in the mailbox.  So, first things first, find or
> > buy an hdmi to vga or dvd-i cable since that Wallmart/AOC monitor I
> > am going to use on it does NOT have an hdmi input. As Jackie wore it
> > out 40+ years ago on tv, what a revoltin development that was.
>
> Wow, you had a nice day. :)
>
> > Then I need to dl the image to put on the u-sd cards I got 3 of, and
> > see if I can write those with the usb-universal memory card adapter
> > I have.
> >
> > Once my 2nd pain pill for the day kicks in, I might go see what sort
> > of adapter cables I can get from Wallies.  If my giddyup comes
> > back...  But I can't see it off in the distance. :(
> >
> > And with those jumper cables I bought from amazon off the table till
> > the end of November, find something else a month quicker. Digi-Key
> > probably. Although mpja has single 40 wide female/female 8" long @
> > $3.95/copy, and they have the hdmi stuff, click, click,,, be here
> > Tuesday or Wednesday. :)
>
> So, some suggestions about "Start With Raspi" :
>
> download
>     https://downloads.raspberrypi.org/raspbian_lite_latest
>
> It's minimal raspian image and a good point to start.
>
> ########################
> #from now i will comment all non commands
>
> #Copy the image to one of your sd-card with
> # sudo dd if=<imagename>
> of=</dev/of-our-sdcardreader-without-partitionnumber> bs=4096 #ie:
> (please change the device!!!!!)
> # get it with dmesg after plugging the cardreader with the sd

I am assuming the zip is to be unpacked before this.

> sudo dd if=2016-09-23-raspbian-jessie-lite.img of=/dev/sdg bs=4096

I think it went south, I can't read it.  How do I initialize (format) the 
card for this use?  Or, restore it to pristine so I can try the dd 
again?

> sudo sync (not really necessary)

Did that too, still cannot read it.
I got the device name after plugging in the adapter carrying the 32Gb 
u-sd card, as /dev/sdf1.
So then after unpacking the zip to get the .img,

 sudo dd if=2016-09-23-raspbian-jessie-lite.img of=/dev/sdf bs=4096
[sudo] password for gene: 
339200+0 records in
339200+0 records out
1389363200 bytes (1.4 GB) copied, 23.701 s, 58.6 MB/s
gene@coyote:~/Public/raspi$ sudo sync

which took perhaps 6 seconds.

gene@coyote:~/Public/raspi$ ls -l /dev/sdf
brw-rw---- 1 root floppy 8, 80 Oct 29 19:39 /dev/sdf
gene@coyote:~/Public/raspi$ ls -l /dev/sdf/
ls: cannot access /dev/sdf/: Not a directory

Humm, unplugged it from the hub & plugged it back into the adjacent 
socket. df now says its vfat, and now its readable.

gene@coyote:~/Public/raspi$ ls -l /media/usb1
total 20392
-rwxr-xr-x 1 root root   14010 Sep 22 18:07 bcm2708-rpi-b.dtb
-rwxr-xr-x 1 root root   14273 Sep 22 18:07 bcm2708-rpi-b-plus.dtb
-rwxr-xr-x 1 root root   13964 Sep 22 18:07 bcm2708-rpi-cm.dtb
-rwxr-xr-x 1 root root   15356 Sep 22 18:07 bcm2709-rpi-2-b.dtb
-rwxr-xr-x 1 root root   15992 Sep 22 18:07 bcm2710-rpi-3-b.dtb
-rwxr-xr-x 1 root root   15343 Sep 22 18:07 bcm2710-rpi-cm3.dtb
-rwxr-xr-x 1 root root   17932 Jun 22 17:06 bootcode.bin
-rwxr-xr-x 1 root root     184 Sep 23 12:38 cmdline.txt
-rwxr-xr-x 1 root root    1635 Sep 23 12:26 config.txt
-rwxr-xr-x 1 root root   18693 Aug 22  2015 COPYING.linux
-rwxr-xr-x 1 root root    2532 Sep 22 18:07 fixup_cd.dat
-rwxr-xr-x 1 root root    6504 Sep 22 18:07 fixup.dat
-rwxr-xr-x 1 root root    9744 Sep 22 18:07 fixup_db.dat
-rwxr-xr-x 1 root root    9738 Sep 22 18:07 fixup_x.dat
-rwxr-xr-x 1 root root     145 Sep 23 13:53 issue.txt
-rwxr-xr-x 1 root root 4228856 Sep 22 18:07 kernel7.img
-rwxr-xr-x 1 root root 4127416 Sep 22 18:07 kernel.img
-rwxr-xr-x 1 root root    1494 Nov 19  2015 LICENCE.broadcom
-rwxr-xr-x 1 root root   18974 Sep 23 13:53 LICENSE.oracle
drwxr-xr-x 2 root root    8192 Sep 23 12:26 overlays
-rwxr-xr-x 1 root root  633316 Sep 22 18:07 start_cd.elf
-rwxr-xr-x 1 root root 4944036 Sep 22 18:07 start_db.elf
-rwxr-xr-x 1 root root 2763812 Sep 22 18:07 start.elf
-rwxr-xr-x 1 root root 3895300 Sep 22 18:07 start_x.elf

No clue what I am looking at, but it makes sense.  So I pulled out the 
r-pi, stuck the mini heat sinks on it, and plugged in the wall wart.  
Lots of green led flashing which I assume is sd access. That stopped 
eventually.

My router has a dhcpd running just so I can plug in the lappy 
occasionally. So since it may not have tried as no cable was plugged in, 
I did a powerdown reset for about 10 seconds.

After a reboot, the nmap scan finds only the local machines, and I just 
remembered maybe why its dhcp requests are not serviced, success is tied 
to the lappy's mac address.  A tcpdump session shows its trying so thats 
promising. I've not putzed with the router in a year or more, its dd-wrt 
on a good buffalo. Except on looking, that was the setup on a previous 
netgear with dd-wrt installed, there is no such mac address matching 
going on in this buffalo/dd-wrt.

I did see the first dhcp address it would have doled out, last nibble=101 
decimal.  Apparently the pi didn't like it. or it didn't like the 
previous .71, my local network is not in the 192.168.1.0 or 0.0 block.

And the pi has given up, all I am seeing now is fetchmail traffic.

So it looks as if I need to get a monitor, keyboard and mouse on it 
before I can go any further.
 
But just for S&G, ping that, nope, nothing at any of the 5 addresses 
dhcpd would have handed out.

>
> #You do not need a hdmi for the first steps if you have a dhcp-server
> in your net. #we are klingon tinkerer. ;)
>
> #after the raspi has booted (blinking net leds) you can optain the ip
> with
>
> #sudo nmap -sn (your subnet)
> #ie:
>
> sudo nmap -sn 192.168.71.0/24 http://192.168.71.0/24

Nmap scan report for raspberrypi.coyote.den (192.168.71.100)
Host is up (0.00038s latency).
MAC Address: B8:27:EB:D3:47:2D (Raspberry Pi Foundation)

>
It finally showed up at 71.100, and I am now logged in!

> #then connect to the raspi:
>
> ssh -Y pi@<raspi-ip>
>     (passwd: raspberry)
>
>
> #now on the raspi:
>
> # and resize the fs to the size of your sd-card.
> # http://elinux.org/RPi_Resize_Flash_Partitions
> sudo raspi-config
>
> #comment off
> ########################
>
resized it, rebooted, much quicker now, and logged back in.  
Interestingly, altho I am pi, at /home/pi, that directory is empty.
>
> if this works further instructions are following soon.

I'll be looking in the morning, my back is asking for some zz's shortly.

> > Thanks everybody.
> >
> > Cheers, Gene Heskett
>
> Much fun!
>
> Matsche


Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page <http://geneslinuxbox.net:6309/gene>

------------------------------------------------------------------------------
The Command Line: Reinvented for Modern Developers
Did the resurgence of CLI tooling catch you by surprise?
Reconnect with the command line and become more productive. 
Learn the new .NET and ASP.NET CLI. Get your free copy!
http://sdm.link/telerik
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to