Go to advanced search

by hommar
Wed May 17, 2017 5:12 pm
Forum: General discussion
Topic: Update config files from USB
Replies: 2
Views: 453

Re: Update config files from USB

You can move /etc/wpa_supplicant/wpa_supplicant.conf to /boot
and make link

Code: Select all

sudo ln -s /boot/wpa_supplicant.conf /etc/wpa_supplicant/wpa_supplicant.conf
For edit this file you can plugin USB/SD to notebook
by hommar
Thu May 11, 2017 9:07 am
Forum: Linux Kernel
Topic: Please, add several parametrs to default kernel
Replies: 2
Views: 1812

Please, add several parametrs to default kernel

Because default kernel use other systems, good idea add several parametrs: $ make bcm2709_defconfig $ echo "CONFIG_ZSWAP=y CONFIG_ZPOOL=y CONFIG_Z3FOLD=y CONFIG_OVERLAY_FS=y CONFIG_SQUASHFS=y CONFIG_SQUASHFS_LZ4=y CONFIG_CRYPTO_LZ4HC=m" >> .config $ make oldconfig or $ diff .config.new .config.orig ...
by hommar
Tue May 09, 2017 9:36 pm
Forum: Beginners
Topic: Berryboot file sistem backup
Replies: 8
Views: 1425

Re: Berryboot file sistem backup

Vairetz wrote:USB is without partition and it's formatted in FAT32
need MBR + single partition + format FAT32 this partition

PS better use SDFormatter for format USB stick
by hommar
Mon May 08, 2017 6:26 am
Forum: Beginners
Topic: Berryboot file sistem backup
Replies: 8
Views: 1425

Re: Berryboot file sistem backup

KLL wrote:to sda1
may be usb stick is w/o partition?
i.e. system has /dev/sda only.
by hommar
Fri May 05, 2017 12:33 pm
Forum: Русский
Topic: Raspberri и Флешка
Replies: 10
Views: 16230

Re: Raspberri и Флешка

1А - это мало, надо минимум 2А, причём не "китайских"
4.9v - ещё один повод что бы задуматься о смене БП...
by hommar
Fri May 05, 2017 6:56 am
Forum: Beginners
Topic: BerryBoot alternatives
Replies: 17
Views: 5306

Re: BerryBoot alternatives

I can't find topic for BerryBoot....
I make Raspbian.201705.squash for BerryBoot
PS with htop & mc, w/o Wolfram
by hommar
Mon May 01, 2017 6:59 pm
Forum: Raspbian
Topic: Pixel is lost, only console available...
Replies: 7
Views: 895

Re: Pixel is lost, only console available...

damien7400 wrote:do you think I can check the SD Card and all files with another computer?
then I buy new flashes I write files for full size and compare it with original files

PS look here
by hommar
Mon May 01, 2017 5:54 pm
Forum: Raspbian
Topic: Pixel is lost, only console available...
Replies: 7
Views: 895

Re: Pixel is lost, only console available...

damien7400 wrote:any ideas
SD size is fake
by hommar
Mon May 01, 2017 5:45 pm
Forum: General discussion
Topic: how to dual boot like a pc with pi3
Replies: 8
Views: 2677

Re: how to dual boot like a pc with pi3

You can make scripts for rename files on /boot
i.e. automaticaly allways boot current OS, but then you want boot other, you run script that backup current config.txt/cmdline.txt/kernel7 and restore this files for second OS, then reboot
by hommar
Mon May 01, 2017 10:45 am
Forum: Русский
Topic: Raspberri и Флешка
Replies: 10
Views: 16230

Re: Raspberri и Флешка

ну...варианта два... либо SD не совместима с малиной, либо блок питания
(иногда плохой кабель, "портит" хороший БП)
by hommar
Mon Apr 24, 2017 10:22 pm
Forum: Raspbian
Topic: How to disconnect WiFi network?
Replies: 11
Views: 16682

Re: How to disconnect WiFi network?

Bosse_B wrote:I want to connect to a WiFi network on command in the list of available networks
You can comment on (add "#")

Code: Select all

#allow-hotplug wlan0
in /etc/network/interfaces
this is disable autorun wifi

then need wifi do

Code: Select all

sudo ifup wlan0
and then do not need

Code: Select all

sudo ifdown wlan0
by hommar
Mon Apr 24, 2017 7:44 pm
Forum: Raspbian
Topic: How to disconnect WiFi network?
Replies: 11
Views: 16682

Re: How to disconnect WiFi network?

for disable onboard WiFi and BT on Pi3 add to config.txt

Code: Select all

dtoverlay=pi3-disable-wifi
by hommar
Mon Apr 24, 2017 7:44 pm
Forum: General discussion
Topic: How to disable the Pi3's WLAN & Bluetooth ?
Replies: 15
Views: 171141

Re: How to disable the Pi3's WLAN & Bluetooth ?

for disable onboard WiFi and BT on Pi3 add to config.txt

Code: Select all

dtoverlay=pi3-disable-wifi
dtoverlay=pi3-disable-bt
by hommar
Sun Apr 23, 2017 8:47 am
Forum: General discussion
Topic: [SOLVED] How to install pygame on Raspbian jessie lite?
Replies: 7
Views: 11969

Re: How to install pygame?

try this script sudo ./python_games_install.sh #!/bin/bash -e wget "https://github.com/KenT2/python-games/tarball/master" -O python_games.tar.gz ln -sf pip3 /usr/bin/pip-3.2 install -v -o pi -g pi -d /home/pi/python_games tar xvf python_games.tar.gz -C /home/pi/python_games --strip-components=1 chow...
by hommar
Sat Apr 22, 2017 3:59 am
Forum: General discussion
Topic: change the name of a connected usb-stick
Replies: 3
Views: 1180

Re: change the name of a connected usb-stick

haleruss wrote:Is it possible to change the name of a connected usb-stick?

Code: Select all

sudo apt-get install dosfstools
sudo umount /dev/sda1
sudo dosfslabel /dev/sda1 newlabel
and replug usb-stick

PS You can rename usb-stick in Windows on left part explorer
by hommar
Fri Apr 21, 2017 11:08 pm
Forum: General discussion
Topic: Rpi max ram
Replies: 26
Views: 4074

Re: Rpi max ram

Heater wrote:Swap is great till you have to use it. Then everything gets thousands of times slower.
Good idea for swap is iRAM and HyperDrive ;)

if make it as USB storage or TF card... :geek:
by hommar
Fri Apr 21, 2017 10:22 pm
Forum: General discussion
Topic: ubifs faster than ext4?
Replies: 11
Views: 1931

Re: ubifs faster than ext4?

Heater wrote:The limit is the SD card not the fs software.
SD card don't like to write more small files
F2FS write several small files as one large file.

I use f2fs on my RPi3. (+zswap +tmpfs for caches and temp files)
My RPi3 faster then my "big comp" with hdd now :)
by hommar
Tue Apr 18, 2017 2:16 pm
Forum: Raspbian
Topic: kernel update problem
Replies: 13
Views: 2649

Re: kernel update problem

Looks like plenty of space to me. /dev/root 29878652 2018940 26621748 8% / devtmpfs 469368 0 469368 0% /dev tmpfs 473708 0 473708 0% /dev/shm tmpfs 473708 6284 467424 2% /run tmpfs 5120 4 5116 1% /run/lock tmpfs 473708 0 473708 0% /sys/fs/cgroup /dev/mmcblk0p1 61384 33944 27440 56% /boot The import...
by hommar
Sun Apr 16, 2017 4:10 pm
Forum: Raspbian
Topic: Can't USB boot (with SD card) anymore!
Replies: 40
Views: 11571

Re: Can't USB boot (with SD card) anymore!

(just don't try it with fdisk because it doesn't work). $ sudo fdisk -l /dev/mmcblk0 .... Disk identifier: 0xcc00ffee .... PARTUUID second partition is = cc00ffee-02 if you want change UUID то 0x1234abcd: $ sudo fdisk -l /dev/mmcblk0 x i 0x1234abcd r w then PARTUUID second partition is = 1234abcd-0...
by hommar
Sun Apr 16, 2017 4:39 am
Forum: Raspbian
Topic: /etc/inittab no longer present in Raspbian Jessie again
Replies: 6
Views: 1192

Re: /etc/inittab no longer present in Raspbian Jessie again

Oh and just in case anyone else wants to try this... For example, my rc.local #!/bin/sh -e # # rc.local # # This script is executed at the end of each multiuser runlevel. # Make sure that the script will "exit 0" on success or any other # value on error. # # In order to enable or disable this scrip...
by hommar
Sun Apr 16, 2017 2:04 am
Forum: Raspbian
Topic: /etc/inittab no longer present in Raspbian Jessie again
Replies: 6
Views: 1192

Re: /etc/inittab no longer present in Raspbian Jessie again

You can add commands to /etc/rc.local before command exit
by hommar
Sat Apr 15, 2017 1:11 pm
Forum: General discussion
Topic: Original Pi model B - what can it do?
Replies: 9
Views: 4399

Re: Original Pi model B - what can it do?

I was buy my Pi-B a few years back too... I was test some OSes (I compile gento too :D ) and then I haven't used it long now I sold it to the developer some toys (automation etc.) and I buy new RPi3. I like it If you want use RPi as PLC, original Pi is a good But If you want use RPi as PC, need upgr...

Go to advanced search