Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Aphorismen
Applications
Business Economics & Admin.
My Computers
Cooking
Devices
Folders
Food
Hardware
Infos
Software Development
Sports
Operation Instructions
Todos
Test
Help
Glossary
Community portal
adaptions
Sidebar anpassen
Wiki RB4
Search
Search
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
RaspberryPi3B
(section)
Page
Discussion
English
Read
Edit
View history
Toolbox
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Special pages
Page information
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==Configuration== ===LAN=== * 192.168.178.35 for LAN ===WLAN and Bluetooth switch off=== * old WLAN IP was 192.168.178.34 * copy /boot/config.txt to /boot/config_2019-08-18.txt * add lines below to /boot/config.txt # added by UH 2019-08-18 for disabling WLAN and Bluetooth dtoverlay=pi3-disable-wifi dtoverlay=pi3-disable-bt * reboot after change first time ===Shared Public Directory=== *<code>cd /media/usbstick2/shared</code> *<code>python3 -m http.server 8181</code> *<code>http://192.168.178.35:8181</code> ===SSH=== * configuration is in /etc/ssh/sshd_config * all logins are documented in /var/log/auth.log // the following entries are created by the local cron job and not critical Aug 13 08:09:02 raspberrypi CRON[29805]: pam_unix(cron:session): session opened for user root by (uid=0) Aug 13 08:09:02 raspberrypi CRON[29805]: pam_unix(cron:session): session closed for user root * SSH credentials (e.g. for WinSCP or Putty) for user=pi pwd=Halloo0@1 (old raspberry) * enable SSH access for root with pwd Halloo0@1 by sudo su passwd Halloo0@1 // edit /etc/ssh/sshd_config // decommend PermitRootLogin without-password // add PermitRootLogin yes sudo service ssh restart * to just enable root for ssh copy /etc/ssh/sshd_config to /etc/ssh/sshd_config_2019-08-18 add to ssh_config # added by UH 2019-18-08 10:05 AllowUsers root restart service by sudo service ssh restart * cmd line access via fritzbox by ssh root@uweheuer.spdns.de -p 54444 * or use WinSCP ===SD Card=== * SD Card is file /dev/mmcblk0 and mmcblk0p[1-7] are the partitions, see them fdisk /dev/mmcblk0 p q ===Timezone=== set to Berlin by: sudo timedatectl set-timezone Europe/Berlin check with timedatectl ===USB stick 1=== * pluged-in 64GB USB stick -> USB stick is sda1 (see lsblk) * windows partition table changed to Linux according to [http://www.netzmafia.de/skripten/hardware/RasPi/RasPi_Laufwerke.html here] * format USB stick to ext4 filesystem by umount /dev/sda1 mkfs.ext4 /dev/sda1 -L USBSTICK * mount the USB stick by cd /media mkdir usbstick mount /dev/sda1 /media/usbstick * make the mount permanent by nano -Bw /etc/fstab add line /dev/sda1 /media/usbdisk auto defaults,user 0 1 ===USB stick 2=== * pluged-in 128GB USB stick for backup of raspberry -> USB stick device is sdb, partition is sdb1 (see output of tail -f /var/log/messages) * the stick is formatted with FAT filesystem and is changed to ext4 by: fdisk /dev/sdb d n + p w reboot mkfs.ext4 /dev/sdb1 -L USBSTICK2 * mount it cd /media mkdir usbstick2 mount /dev/sda1 /media/usbstick2 * and for mounting it permanently add the following line /etc/fstab /dev/sdb1 /media/usbstick2 auto defaults,user 0 1 ===Fritz NAS=== * mount the USB disk of the Fritz.Box cd /media mkdir fritzNAS ===User=== * pi <Lr><STANDARD><Lr>
Summary:
Please note that all contributions to Wiki RB4 may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Uwe Heuer Wiki New:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Toggle limited content width