Practical Linux with Raspberry Pi OS: Quick Start 1st Edition Ashwin Pajankar all chapter instant download
Practical Linux with Raspberry Pi OS: Quick Start 1st Edition Ashwin Pajankar all chapter instant download
com
https://ebookmeta.com/product/practical-linux-with-
raspberry-pi-os-quick-start-1st-edition-ashwin-pajankar/
OR CLICK BUTTON
DOWNLOAD NOW
https://ebookmeta.com/product/instant-raspberry-pi-the-beginner-s-
guide-to-raspberry-pi-setup-1st-edition-ashwin-pajankar/
ebookmeta.com
https://ebookmeta.com/product/raspberry-pi-image-processing-
programming-with-numpy-scipy-matplotlib-and-opencv-2nd-edition-ashwin-
pajankar-2/
ebookmeta.com
https://ebookmeta.com/product/raspberry-pi-image-processing-
programming-with-numpy-scipy-matplotlib-and-opencv-2nd-edition-ashwin-
pajankar/
ebookmeta.com
https://ebookmeta.com/product/typescript-for-beginners-the-ultimate-
guide-1st-edition-sufyan-bin-uzayr/
ebookmeta.com
Blind Date The Complete Trilogy 1st Edition Misty Vixen
https://ebookmeta.com/product/blind-date-the-complete-trilogy-1st-
edition-misty-vixen/
ebookmeta.com
https://ebookmeta.com/product/the-easy-peasy-macaroni-cookbook-1st-
edition-sophia-freeman/
ebookmeta.com
https://ebookmeta.com/product/sgt-orlan-hero-of-man-chronicles-of-kin-
roland-2-5-1st-edition-scott-moon/
ebookmeta.com
https://ebookmeta.com/product/governance-politics-and-the-state-2nd-
edition-jon-pierre/
ebookmeta.com
https://ebookmeta.com/product/scientific-american-mind-march-
april-2022-andrea-gawrylewski-editor/
ebookmeta.com
Top 50 SAT Reading, Writing, and Language Skills, 3rd
Edition Brian Leaf
https://ebookmeta.com/product/top-50-sat-reading-writing-and-language-
skills-3rd-edition-brian-leaf/
ebookmeta.com
Ashwin Pajankar
Apress Standard
© Ashwin Pajankar 2021
This work is subject to copyright. All rights are solely and exclusively
licensed by the Publisher, whether the whole or part of the material is
concerned, specifically the rights of translation, reprinting, reuse of
illustrations, recitation, broadcasting, reproduction on microfilms or in
any other physical way, and transmission or information storage and
retrieval, electronic adaptation, computer software, or by similar or
dissimilar methodology now known or hereafter developed.
The publisher, the authors and the editors are safe to assume that the
advice and information in this book are believed to be true and accurate
at the date of publication. Neither the publisher nor the authors or the
editors give a warranty, expressed or implied, with respect to the
material contained herein or for any errors or omissions that may have
been made. The publisher remains neutral with regard to jurisdictional
claims in published maps and institutional affiliations.
1. Introduction to Raspberry Pi
Ashwin Pajankar1
(1) Nashik, Maharashtra, India
I hope you have gone through the Table of Contents and Introduction. If
not, I highly recommend you go through them. This is the very first
chapter of the book, and I welcome you all to the exciting journey of
learning Linux with the Raspberry Pi Operating System.
In this chapter, we will learn the details about the most popular
platform and single-board computer family of our times, the Raspberry Pi.
Then we will learn a bit about Linux and the distribution of Linux that is
popularly used with the Raspberry Pi family (hereafter, I will use the
abbreviation RPi), the Raspberry Pi Operating System. We will learn how
to install it on a RPi board. The following is the list of the topics that we
will learn in this chapter:
Single-board computers
Raspberry Pi
Linux and distributions
Raspberry Pi OS setup
Configuring the RPi board
Connecting various RPi board models to the Internet
After completing this chapter, we will be comfortable with the
installation and the basic usage of the RPi board and the RPi OS.
Single-Board Computers
Single-board computers (also known as SBCs) have all the components of
a fully functioning computer like the processor, GPU, RAM, and I/O on a
single printed circuit board. This is in contrast with desktop or laptop
computers that have a motherboard which has various slots for RAM, the
processor, and the graphics card. Desktop or laptop computers can be
upgraded by replacing processors and graphics cards. We can also add
more RAM chips in the RAM slots. However, SBCs cannot be upgraded like
that. This is one of the major differences between traditional
desktops/laptops that are totally modular and SBCs. The key benefit of
the lack of modularity of SBCs is that the size of an entire computer is
very small. Most of the SBCs are a little bigger than a regular credit/debit
card, and they are very compact.
SBCs are used as technology demonstrators (prototypes), educational
computers, and embedded systems. There is a recent surge in the
popularity of SBCs due to advances in the fabrication process and
manufacturing technologies. We are living in an era where a new SBC or a
new version of an existing one is announced almost on a monthly basis.
The market is full of various SBCs and SBC families. A few prominent SBC
families are Raspberry Pi, Banana Pro, BeagleBoards, and Orange Pi.
Raspberry Pi is the most popular family of single-board computers
available in the market, and it is one of the best-selling computers in the
world. In the next section, we will have an overview of the Raspberry Pi
family of computers.
Raspberry Pi
Raspberry Pi is a family of SBCs developed by the Raspberry Pi
Foundation (www.raspberrypi.org/). It consists of many board
models, and all the current models under production are listed on the
foundation’s products page (www.raspberrypi.org/products/).
Throughout the book, I will be using a Raspberry Pi 4 Model B (the latest
board model in the family) with 4 GB RAM.
Table 1-1 lists the specifications of the Raspberry Pi 4 Model B.
Table 1-1 Technical Specifications of Raspberry Pi 4 B
Component Specification
Processor Broadcom BCM2711, quad-core Cortex-A72 (ARM v8) 64-bit
SoC at 1.5 GHz
RAM LPDDR4-3200 SDRAM (2 GB or 4 GB or 8 GB)
Other documents randomly have
different content
CHAPTER XV
T HE blue of the lake had faded into grey—a grey that looked thick and
heavy and that lay impassive under the blasting sunlight. Its coolness
was gone and its vigor. Above, in The Journal office, where the shades
were drawn down to keep out the heat, the vigor seemed gone too. The
machinery went on smoothly enough. At Horatia’s desk a young woman,
fresh from a New York school of journalism, was typing an excellent article
on what suffrage had done in the recent campaign. At the surrounding desks
the reporters struck off brief histories of automobile accidents, police raids,
city happenings. In Langley’s room, the pale little stenographer took
dictation as he walked up and down and worked out his editorials. There
were editorials on the street car franchise, that hardy perennial in city
problems, on the new appointment of the city planning commission, on the
latest foreign tangle, on the eternal disentangling of the knot of political
complications at Washington. Clearcut and well-phrased, his words came
on each subject, so that the stenographer hurried to keep up with the flow of
his thought, and yet something intangible had gone out of his thinking as
out of the office atmosphere. The office was no longer a place of romance
—an adventure—a laboratory in which to solve world problems—a crusade
against corruption as it had been for the past six months. It was a work-
shop, a clean, orderly work-shop—and that was all. They all missed
Horatia. During the first week of her absence Bob Brotherton had a
maddening way of calling constant attention to it and bewailing it. He
needed her for this and for that and he said facetiously that there was no use
in sprucing himself up any more. No one cared for him and he would wear
old clothes until she came back.
Jim had not realized how much Horatia meant to the staff. His own
devotion to her had been so absorbing that he had not noticed the relations
of the others. Now a stream of comments about her seemed to be floating
about the office all day long. To excuse her outrageously long and indefinite
vacation he had been compelled to say that she was not well and the staff
felt a shadow over them. They were forever finding things in the day’s work
which would have amused Horatia, forever recalling this or that incident
which had amused her, forever wishing she were back. Langley alone did
not comment on her, but Bob would say wisely when a particularly caustic
comment came out of the inner office, “He’s not himself. He misses the
young lady. He’s a different man when she’s around.”
With a great deal of wisdom he did not make that remark openly to
Langley.
The Journal was prospering more and more. It was no longer a paper to
apologize for or worry about. It was getting a very substantial circulation
and more and more advertisers. Jim realized that this success was due not
only to the paper itself, but also to the fact that there was coming to be a
place for a clean paper in the city—that more and more people liked their
news straight and unadulterated and wanted to read comment on the news
with which they did not necessarily a priori agree. He was stopped more
and more often by old friends and urged to come to the “house”; more and
more often he found himself deferred to in political discussions at the club
as the judgment of last appeal. He liked it all and he improved under it. He
kept up scrupulously after Horatia had gone as if to show her that he would
not let her work be wasted. Yet there was a change in him and in the quality
of his vigor. He was a man working for a principle and not an object,
whereas before he had been working for a principle and Horatia. The
eagerness had gone out of his eyes. Sometimes after the office was empty
he would go into the outer office and sitting at Horatia’s desk write her
letters—letters which left him sometimes pale and exhausted and
sometimes set and stern. But he had one invariable habit. He tore the
completed ink-written papers into tiny pieces and stuffed them into the
wastebasket before he left the office and went home. There was also often a
curious look on his face as he looked over his mail, and sometimes he
would lay an envelope carefully aside until everything else had been
attended to and then fall upon it as if he were famished. The envelopes were
rather more frequently present at first than later after Horatia had left town.
In the hurt anger of her vacation’s first twelve hours she had quite
decided not to write to him at all. During the second twenty-four hours she
wrote ten letters and mailed one brief little note saying that she was sorry if
she had hurt him and that she wanted above all things not to hurt his work
or affect The Journal, stated where several of her copy sheets had been left
and urged him to take a vacation himself and get a genuine rest. She ended
by saying that Maud wanted her to go with them to a country place near
Lake Habitat and that she thought she probably would go. Jim looked a
little grim at that because Lake Habitat was where the Wentworth cottage
was and he knew Maud. But he read on to her conclusion, a conclusion so
honest, so sweet and so suffering that the tears came into his eyes.
“It’s so hard, Jim. I feel empty and faint and I try to move about but I
seem like waxwork. Everything seems awfully mixed up in me. Nothing in
the world matters except you and yet we mustn’t fling ourselves blindly into
sentimental fervors if we really don’t belong together in every way. I can’t
write. Good-night—and God bless you.”
That was the last letter of such a kind that Jim received. The next one
was merely a note telling him that she was surely going with her sister and
giving her address in case her successor on The Journal or Jim, himself,
should need her. It was a much more controlled note and of course Jim did
not know that it, like its predecessor, had been written after much vain
effort and tearing up of letter paper. There had been a day when Horatia,
who had been shopping in town alone, had almost gone to The Journal
office. She hesitated and trying to gather resolution went into a tea room
and ordered some iced drink. The room was crowded and another woman
coming in sat down opposite her before they looked at each other. It was
Grace Walsh. With no change of color Grace rose, but Horatia put out a
detaining hand.
“Don’t move—please.”
“I’d like to stay if you don’t mind,” said Grace sincerely. “There are one
or two things I didn’t write you. My new companion in the flat is quite
anxious to stay on there. I suggested that you’d be undoubtedly willing to
sublet.”
“Gladly.”
“Are you still with your sister?”
“Yes—I’m going to the country with her tomorrow.”
“It’s your vacation, I suppose?”
It was very hard to dissemble before those calm, disillusioning, serious
eyes of Grace.
“A kind of vacation,” said Horatia, a little heavily.
A strange look came over Grace’s face—a look of anger, the look which
a mother has when her child is ill-treated.
“You’ve been suffering.” Without any ado of conscious readjustments
they passed from an attitude of armed neutrality to a disarmed, a benevolent
neutrality.
“Yes.”
“Some man—some damned man—no, don’t tell me—poor little Horatia
—won’t you believe me when I tell you none of them is worth it? I wish to
heaven that women would stop letting themselves suffer. They’ve borne the
emotional burdens long enough. Why shouldn’t we take men as they take us
—as part of the day’s work? Look here, Horatia, you’re worth any ten men
I ever saw. Don’t let them wear you down.”
“I’m not.”
“You look frazzled.”
“I thought you liked men,” said Horatia, irrelevantly, “and disliked
women.”
“I like men and I like women when they are individuals—but women in
relation to men are usually unspeakable—and men in relation to women are
vile. We need to stand alone, Horatia—to shake things off. To feel—and to
know when to stop feeling.”
“To stop feeling,” repeated Horatia.
Grace leaned over and put her hand on the other girl’s.
“It’s hard—but it can be done,” she said and there was almost a
mesmeric quality in her sure, slow voice.
“I think we do need to learn that,” agreed Horatia.
She rose to go.
“Some time when I’m a lot bigger and better and more controlled and
not so cheap, I want to talk with you, Grace,” she said; “I know you’re right
in lots of things but the addition of your ideas is wrong. The grand total of
your philosophy is wrong. It’s got to be wrong. I won’t have it right. But we
do need to learn to stop feeling.”
Grace’s look followed her with a queer yearning in it—her eyes seemed
to say that she had not finished all she wanted to say.
Horatia went out to the street. The incoherent conversation had checked
her desire to see Langley. It had given her a cue. She would stop feeling.
Instead of to The Journal office she went to a large shop and tried on hats
before a many-sided mirror and was surprised to find herself succeeding in
her deliberate mental effort to get her mind away from its pain. The hats
interested her. Each one appeared to change her character and she began to
speculate on how she would like to change her type during the summer with
Maud and the Clapps and Wentworths. The saleswoman brought her the
kind of hats she usually ordered—large sailors—plain wing-trimmed
shapes, but Horatia laid them aside.
“That is the girl I am escaping from,” she said to herself, removing a
straight-brimmed gray sailor, and she pointed to one on a model. It was of
plain soft yellow chiffon and drooped a little about her face. Under it she
looked provocative, as if deliberately intending to charm.
She had never tried on such a hat before and she lingered before her
image in the mirror while the saleswoman poured out tributes.
“I’ll take it,” she said, and proceeded with unparalleled extravagance to
choose two more, one of black with soft waving feathers and one of rose
felt that crushed itself into different shapes on her head. Then, urged by the
saleswoman, who was gathering momentum, she bought a rose sweater to
wear with the rose hat, drew a check that half appalled and half amused her
and went home to Maud. Maud, receiving three hat boxes next morning,
was amazed and delighted. Evidently Horatia intended to play the game.
She pressed a yellow frock on Horatia which she insisted was necessary to
the well being of the yellow hat and mourned because she herself could not
wear yellow. Horatia was very gay. She pirouetted in her hats before Harvey
and to her amazement found that she was shaking off her worries and her
unhappiness. She wanted to go to the country place and be still more happy.
She insisted that unless they made it decently gay there she wasn’t going to
stay. And while Harvey chuckled and Maud opened her eyes she danced
upstairs to her room, closed the door, flung the yellow hat in the corner and
wept into Maud’s Madeira counterpane, suddenly intolerably homesick for
nothing in the world so much as her typewriter in The Journal office, the
twinkle of the lake under her window and the sound of Jim’s voice in the
next room, giving orders, telephoning, dictating.
CHAPTER XVIII
A NTHONY’S sister stood in her cool country living room, arranging her
flowers. There were a mass of them that she had brought in from the
rough-and-tumble garden by the cottage wall—hollyhocks, tall and
pink and already in their place in a green vase against the wall—cerise
cinnamon phlox, filling the air with their vivid fragrance, a riot of
nasturtiums of all colors, sweet peas whose pastel lavenders and pinks were
spoiled until Marjorie put them in a glass basket before a little mirror,
poppies, and deep orange African marigolds. Marjorie separated them from
each other and then reassembled them, mixing in now bachelors’ buttons
with marigolds, and baby’s breath with poppies. She was quite absorbed
and her brother, lying on a cushion-piled settle, watched her admiringly and
for a few moments silently. When he spoke he seemed to be taking up an
interrupted conversation.
“You’re sure she is coming then?”
“Mrs. Williams told me so in town yesterday.”
“And you think that the skillful Maud was trying to hint that it was off
between Horatia and Jim Langley?”
“She had a saddened and romantic air about Horatia. I don’t know
exactly what she was trying to imply. But from a rather steady stream of
inquiries as to your whereabouts I was inclined to have vulgar suspicions
that she was really interested in you and your movements. And then she
said, ‘I suppose you know how it is, Mrs. Clapp, when these young things
turn to you with their romantic difficulties.’ And then she giggled. How that
remarkable young woman can giggle!” finished Marjorie.
Anthony sat puzzling.
“Of course Horatia doesn’t tell her a thing,” he said, “but that sort of
woman is astute as the devil in some ways. Well, if she comes down here,
Langley or no Langley, I’m going to go after her. If she wanted to marry
Langley badly enough she has had time enough to make sure by this time.
But it’s ridiculous to think of her wasting her time on one of these awfully
complicated intellectual emotional affairs if it’s not going to come to
anything. If she doesn’t want me she can tell me again—stronger—to get to
hell out—and I’ll get. But I’m going to get the thing settled. I thought
maybe I’d get over it when I got West. I didn’t see a girl while I was out
there who seemed real at all. And I’d catch myself mooning. It’s unhealthy.
It’s got to be stopped.”
“You want to remember,” said Marjorie, “that Horatia has had a hard
summer and that she will be tired. Don’t rush her too hard or she’ll go to
pieces or send you packing from sheer weariness.”
“I don’t mean to tire her. I want to rest her.” There was a strange mixture
of protectiveness and sullenness in Anthony’s tone.
“It’s all nonsense anyway,” he went on, “to think of her wearing herself
out in that miserable office. Girls oughtn’t to be allowed to knock
themselves to pieces that way. Where it’s necessary it’s bad enough but
when a girl——”
“Has only to sit back and let you support her,” laughed Marjorie.
“When a girl is like Horatia she’s altogether too valuable to throw
herself away for some fetish like earning a living. You know exactly what I
mean and you agree with me too, Marge.”
“It all depends on how much you can make her care for you.”
“I could make her care from sheer force of imitation if I could get this
Langley stuff out of her head.”
“Granted. But if she does happen to be in love with Langley?”
“He’s no person for her to marry.”
“You can’t do it by dogma, my dear.”
Anthony shook himself like an impatient puppy.
“Well, I’ll be damned if I don’t find some way to do it.”
“Love is queer,” reflected Marjorie, “in its effect on people. Now you
show it principally by a marked increase in profanity.”
Anthony grinned and left her.
The cottage stood well back from a road which wound itself around a
series of lakes and up steep hills into a district which was almost
mountainous. Anthony knew every foot of the country and loved it as well
as his cottage which had been the scene of so many pleasant parties, both
his own and Marjorie’s. It was the place above all which he would have
chosen for this biggest adventure of his life. The place which Maud had
taken was a few miles farther up the road but within easy distance. There
was every reason for Anthony’s contemplative smile as he swung down the
wooded road.
The Williams party arrived a few days later with some bustle. It was
Maud’s first venture into country residences and though it was on a small
scale it appealed to her immensely. Only her sudden acquaintance with
Marjorie Clapp had given her courage for the move, for the district in the
hills was a refuge for a society somewhat older and better acquainted than
Maud’s town crowd. She and Harvey had taken the children away for the
summer once before, but going to a summer hotel was a different and
incomparably insignificant thing beside the pride of belonging to a genuine
summer colony. She had asked Mrs. Clapp a little diffidently about places
in the hills and Mrs. Clapp had been unexpectedly helpful—even giving her
the name of a special cottage which could probably be rented. An
unpretentious little cottage enough but pleasant to Maud because the
Hilltons, the Straights, the Clapps and the Morrises wore their ginghams
and sun hats within a radius of ten miles, pleasant to Jackie because he had
been promised a rabbit, pleasant to Harvey on account of a neighboring
trout stream, and pleasant to Horatia because the woods around it offered
refuges and solace.
Harvey took them up in the new stream line touring car which was the
outward sign of his increasing prosperity, and while Maud watched a road
map to be sure that Harvey would not miss the road which went by the
Country Club which the summer-people had built, Horatia sat with her arm
around a weary little Jack, breathing in the freshness of the woods with
their summer scents and thinking. She felt very old and disappointed and
disillusioned, and she thought with envy of the first time she had driven
over this road with Anthony in the winter, feeling so happy and full of love
for Jim. Maud poured out a steady stream of comment and conjecture—and
Horatia hardly listened, knowing that expression and not attention was what
Maud sought. She had never liked her sister so well as she had during these
past days. Maud had let her alone and asked no questions. She seemed to be
waking into a kind of appreciation of Horatia’s feelings and Horatia was
very grateful, entirely ignorant as she was of Maud’s unrelinquished plans
about Anthony. Horatia had just thought of Anthony for the first time in
weeks. She had thought of him as the man who had driven the car when she
had gone through these places thinking of Jim, and first rejoicing in the
happiness of love.
They reached their cottage and Maud was soon unpacking and opening
the house while the cook, imported lest life in the country become too
strenuous, began to prepare dinner. Horatia, bravely attired in her rose
sweater and hat, started out for a walk. She wanted to adjust her thoughts
and get perfectly calm, for she meant to be a gay companion and not a
doleful one.
Little leaf-covered paths wandered into the woods here and there. She
turned at random into them and went along, anxious to lose her loneliness
in the greater loneliness and friendliness of the forest. And here, for the first
time, she succeeded. The trees were motionless in the still afternoon. Their
branches curved and interlocked and made great, cool, dark green shadows.
The ferns stirred as she passed and she heard the lazy chirping of some
birds. It was deep and still and calm and sure, so that in the midst of it
Horatia became calm and sure for a moment. She felt her ache for Jim’s
presence pass, and for the first time since she had gone from him there
came a feeling that she was back where she belonged. For the first time she
felt awakened pleasure and she stood very still, almost afraid to stir lest the
peace that was filling her should change to misery again. After a little she
went on. She did not want to go back to the cottage yet. Later she would be
ready for them but as yet she was ready only for herself.
And so Anthony came upon her—a bright bit of color in the midst of the
woods with her eyes shining with peace. At the sight of her he felt the flush
of his own face. It was all very well to be full of bravado before Marjorie
but in the presence of Horatia his confidence waned. Yet she was clearly
glad to see him.
“I heard you were West.”
“I came back last week and heard that your sister had taken the Warner
cottage. I was hoping you’d come out with her. Every month seems the best
out here but this one is especially nice. And there are wonderful places to
walk and ride. We have a swimming place and a very poor tennis court
——”
“I don’t think I shall like the tennis court half as well as just this. I like
your woods.”
“So do I,” answered Anthony with happy sympathy. “Let me show you a
finer place than this though. Deeper in.”
They went on until they came to a little clearing like a great room with
the trees interlocked above it. Along one side ran a tiny clear stream.
“But this is too perfect. This isn’t natural.”
“This is my room. I made it myself and furnished it by opening up the
stream. The bed was there for it but the water had been choked by a dam of
leaves. I cleared it out and now you see I have running water in my room.
That’s all I need.”
“It’s the most beautiful interior decoration I ever saw.”
“You shall have a key for that.”
He did not keep her. But he walked towards his sister’s cottage and they
came out in her garden. Horatia went into the house to see Marjorie and the
children. She felt curiously at home there, and Marjorie was so very glad to
see her that Horatia felt even more happy. She thought suddenly that she
could tell Marjorie a little about Jim, and that Marjorie was the only person
in the world to whom she could tell even a little. But there was little time to
think. Everyone wanted to plan things to do and to arrange for many things.
Then Anthony insisted that he had walked her unconscionably far and to
save her stiffness he must take her home. She got into the car with
delightful familiarity. Anthony said never a personal word and if he thought
them, Horatia did not guess. She found him very handsome in his country
khaki and even more wholesome than ever. She was in a mood to yearn for
wholesomeness.
Maud would have Anthony stay for dinner. Horatia found herself urging
him too and to her greater surprise found herself thoroughly anticipating
dinner. She had not been hungry for some time but tonight——
“I’ve never seen Horatia eat so much,” said Anthony, “except on a
memorable evening at the Redtop Hotel.”
Banter and nonsense—healthy nonsense. How restful they were after
introspection and worry. How friendly and cheerful everyone was, and how
quiet and peaceful it was about them. Maud watched Anthony as she
crocheted a sweater for herself—Anthony watched Horatia—Harvey with a
secret amusement watched his wife and his sister-in-law, but Horatia
watched no one. She was revelling in peace. Jim was in her mind but no
longer torturing her. She thought of him as loving her and of herself as
loving him. No solutions of her difficulty came to her and she did not look
for any. She was content to be in the midst of life. It no longer frightened
her.
“Good-night,” said Anthony. “I’ll be over often. Look for me on the
doorstep every morning.”