Kitz ADSL Broadband Information
adsl spacer  
Support this site
Home Broadband ISPs Tech Routers Wiki Forum
 
     
   Compare ISP   Rate your ISP
   Glossary   Glossary
 
Please login or register.

Login with username, password and session length
Advanced search  

News:

Author Topic: Once more thinking about setting up a RPi  (Read 295 times)

Weaver

  • Addicted Kitizen
  • *****
  • Posts: 7249
  • Retd sw dev; A&A; 4 ◊ 7km ADSL2; IPv6; Firebrick
Once more thinking about setting up a RPi
« on: June 13, 2019, 03:05:53 AM »

Revisiting this topic again. :-(

Iím wondering if I might have the energy and concentration required to get a (local, on LAN) Raspberry Pi B+ going. The new model, with faster WLAN NIC and somewhat faster (wired) Ethernet which now approaches a miserable 300Mbps.

I asked about this before, but didnít get very far. But now Iím thinking once more about finding someone to help me. Being in bed, I canít get say the ĎStarter Kití from Pi Hut going as it requires a monitor and keyboard and obviously I canít do that stuff. So to recap, what I would need is someone to help get me started by getting an o/s set up so that it will permit login, with say ssh or telnet, over the LAN, immediately from boot, with no keyboard mouse or display.

I would really want a 64-bit o/s an AAarch64 build of some sort, because I want to learn AArch64 asm, not the horrible old 32-bit instruction set. I donít know if this is possible.

I need to get an SD card for it somehow and the Pi Hut starter kit comes with a card that must work although it is rather disappointingly piddly at 16MB, but I suppose that will have to do.

Ideally if I could find the right dealer they would install an o/s properly for me so it would just work, but I wouldnít know where to begin. Pi Hut doesnít seem to have any kind of cuddly customer service, they ship boxes, as far as I can see. Does anyone have any ideas?

Failing that, if I do find some volunteer to help me, I need to ship the machine to them and then get it shipped back.

One further problem occurs to me: what about assigning IP addresses to the Pi?

If I can find a helper what IP addresses will the Pi have on their network, and what will then happen when it is relocated to my LAN? For IPv6, I want the machine to do zeroconfig and just pick up a prefix from the router. For IPv4 I want the machine to either be a DHCP client or set IPv4 addresses for the NICs statically at my choice of fixed, routable (global) IPv4 addresses, which is going to be extremely awkward for my helper unless perhaps they set everything up and then changed it at the last minute. But that seems like way too much trouble, and being a DHCP client for IPv4 has to be the sane choice and also the safe one, less chance of it simply breaking when it arrives here.

Any thoughts?
Logged

burakkucat

  • Global Moderator
  • Senior Kitizen
  • *
  • Posts: 26376
  • Over the Rainbow Bridge
    • The ELRepo Project
Re: Once more thinking about setting up a RPi
« Reply #1 on: June 13, 2019, 05:31:35 PM »

Revisiting this topic again. :-(

<snip

I would really want a 64-bit o/s an AAarch64 build of some sort, because I want to learn AArch64 asm, not the horrible old 32-bit instruction set. I donít know if this is possible.

For aarch64 I would suggest that you consider the The Alternative Architecture SIG (Special Interest Group) of the CentOS Project, in particular that of aarch64 (obviously). I would recommend that you make contact with Jim Perrin, explain your personal circumstances and desire for a 64-bit R-Pi.
Logged
:cat:  100% Linux and, previously, Unix. Co-founder of the ELRepo Project.

Please consider making a donation to support the running of this site.

displaced

  • Reg Member
  • ***
  • Posts: 164
Re: Once more thinking about setting up a RPi
« Reply #2 on: June 14, 2019, 12:13:01 AM »

[edit: I shouldnít post so late. Totally missed the aarch64 stuff. Please feel free to ignore!]

I set up a Pi Zero W the other day totally headless.

I downloaded a Raspbian image and wrote it to the SD Card. Then, youíll see a volume named Ďbootí on the card.

Create an empty file named simply Ďsshí in the root of Ďbootí to enable ssh.

Then, create another file named Ďwpa_supplicant.confí in the same location. Thatís where you can set your WiFi connection up.

Then, pop the SD card in the Pi and itíll start up, connect to your WLAN with DHCP and youíll be able to ssh into it.  Defaults are:

Hostname: raspberrypi
User: pi
Pass: raspberry

Hereís a link to an example wpa_supplicant.conf file and further instructions:
https://www.raspberrypi.org/documentation/configuration/wireless/headless.md

Once sshíd in, run raspi-config to do the usual first-time setup.

Youíve then got a Debian-style Linux system at your disposal!
« Last Edit: June 14, 2019, 12:16:08 AM by displaced »
Logged
Vodafone Landline+FTTC: Huawei DSLAM, HG612 modem, pfSense router, Ubiquiti access points. GigE home LAN with Netgear ProSafe switches. Mac, FreeBSD and Win10.

Weaver

  • Addicted Kitizen
  • *****
  • Posts: 7249
  • Retd sw dev; A&A; 4 ◊ 7km ADSL2; IPv6; Firebrick
Re: Once more thinking about setting up a RPi
« Reply #3 on: June 14, 2019, 10:28:24 PM »

Thanks to displaced. Thatís right I remember that itís really simple. Of course I physically cannot do any of it as I canít sit upright for that long and donít have a display or keyboard (although those latter points could be remedied, the first can not). And the last time I tried this, with a helpful neighbour who has several pis volunteering, I got the wrong kind of SD card (too large? I donít remember what). And I have no idea what makes a card qualify so Im think one way is that should really buy a card from a pi dealer as then it would be guaranteed to work. But itís a shame that say the pi Hut offering is so tichy - rather limits future possibilities.
Logged

burakkucat

  • Global Moderator
  • Senior Kitizen
  • *
  • Posts: 26376
  • Over the Rainbow Bridge
    • The ELRepo Project
Re: Once more thinking about setting up a RPi
« Reply #4 on: June 14, 2019, 10:48:54 PM »

If I was going to use a R-Pi for regular, everyday, work I would connect a disk drive, via USB, for all my user files. Just have the OS on the SD card . . . Hence a 4GB SD card would be ample.

Many years ago, when developing certain chunks of code for Bald_Eagle1 to incorporate into HG612_stats, I used a 4GB USB memory stick for all the user files and the log files.
Logged
:cat:  100% Linux and, previously, Unix. Co-founder of the ELRepo Project.

Please consider making a donation to support the running of this site.

Weaver

  • Addicted Kitizen
  • *****
  • Posts: 7249
  • Retd sw dev; A&A; 4 ◊ 7km ADSL2; IPv6; Firebrick
Re: Once more thinking about setting up a RPi
« Reply #5 on: June 14, 2019, 11:11:09 PM »

Yes, I was thinking about that - that would be a usb SSD? Or a mechanical magnetic one?

Yes youíre right 16GB is fine then in that case. Thank you.

So itís the kit with 16GB card for me. Is Pi `Hut the best place or are there better places? Best would be one with customer service to set it up for me.

Or otherwise recommendations about where I should go to look for a volunteer.
Logged

burakkucat

  • Global Moderator
  • Senior Kitizen
  • *
  • Posts: 26376
  • Over the Rainbow Bridge
    • The ELRepo Project
Re: Once more thinking about setting up a RPi
« Reply #6 on: June 14, 2019, 11:34:52 PM »

Yes, I was thinking about that - that would be a usb SSD? Or a mechanical magnetic one?

I used a standard USB SSD with 4GB capacity, if I am remembering correctly. Obviously USB memory sticks/SSDs will degrade with usage but not as rapidly as SD cards.

Quote
So itís the kit with 16GB card for me. Is Pi `Hut the best place or are there better places? Best would be one with customer service to set it up for me.

I really cannot say. When I purchased my R-Pi (a model 1B) when they were first released, it was with a pre-loaded SD card and PSU from RS Components. I subsequently purchased a set of three heat sinks, a USB to ttl serial console lead (that connects to the relevant GPIO pins) and a case from ModMyPi.

If you are still interested in a 64-bit, aarch64, version then further research is necessary.
Logged
:cat:  100% Linux and, previously, Unix. Co-founder of the ELRepo Project.

Please consider making a donation to support the running of this site.

Weaver

  • Addicted Kitizen
  • *****
  • Posts: 7249
  • Retd sw dev; A&A; 4 ◊ 7km ADSL2; IPv6; Firebrick
Re: Once more thinking about setting up a RP
« Reply #7 on: June 15, 2019, 02:43:00 AM »

If one can find the sources and build an o/s, can one do an in-place self-overwrite install, like Windows?
Logged

burakkucat

  • Global Moderator
  • Senior Kitizen
  • *
  • Posts: 26376
  • Over the Rainbow Bridge
    • The ELRepo Project
Re: Once more thinking about setting up a RPi
« Reply #8 on: June 15, 2019, 02:17:49 PM »

All things are possible but I suspect that what you have suggested would be fraught with problems should not be undertaken lightly.  :-\
Logged
:cat:  100% Linux and, previously, Unix. Co-founder of the ELRepo Project.

Please consider making a donation to support the running of this site.

Weaver

  • Addicted Kitizen
  • *****
  • Posts: 7249
  • Retd sw dev; A&A; 4 ◊ 7km ADSL2; IPv6; Firebrick
Re: Once more thinking about setting up a RPi
« Reply #9 on: June 15, 2019, 10:15:14 PM »

Duly warned off. Thanks for the guidance.
Logged
 

anything