Android
by Patrick Dupre
Hello,
I am trying to access to my Android (8.1.0, kernel 4.4.95+) through the USB cable, but I fails.
Using sshfs, it works fine:
sshfs pdupre@192.168.1.15:/storage/emulated/0 -p 2222 /home/pdupre/Android
and I get all the hierarchy
Now through the USB cable, I can see the Android:
It is mounted as A20Pro
I can umount, but the Folder is empty
If I try:
ls /var/run/user/1000/gvfs/mtp\:host\=Blackview_A20Pro_BVA20Pro0008811/
it is also empty
If I try to edit something, I get
touch: cannot touch '/var/run/user/1000/gvfs/mtp:host=Blackview_A20Pro_BVA20Pro0008811/test': Permission denied
lsusb:
Bus 001 Device 005: ID 0e8d:2008 MediaTek Inc. A20Pro
I use fedora 30
===========================================================================
Patrick DUPRÉ | | email: pdupre(a)gmx.com
Laboratoire interdisciplinaire Carnot de Bourgogne
9 Avenue Alain Savary, BP 47870, 21078 DIJON Cedex FRANCE
Tel: +33 (0)380395988
===========================================================================
4 years, 10 months
firewall logging rule stopped logging to syslog
by Sam Varshavchik
I have a firewall forwarding rule with a logging option:
<rule family="ipv4">
<forward-port ... />
<log level="info">
<limit value="1/h"/>
</log>
</rule>
Checking my logs, they seem to have stopped after 2019-06-02.
Checking rpm logs, the last firewalld update was in May, so that can't be
it. There have been fairly frequent kernel updates, not sure but maybe
that's when the kernel 5.1 series came out?
I'm not very knowledgeable in iptables-verse, but I do see a reasonable
iptable rule, "iptables -t mangle -n -L" shows:
Chain PRE_FedoraServer_log (1 references)
target prot opt source destination
LOG tcp – 0.0.0.0/0 0.0.0.0/0 tcp dpt:####
limit: avg 1/hour burst 5 LOG flags 0 level 6
But these log entries stopped dropping into /var/log/messages some time
between 2019-06-02 and now. Anyone know if this is a known issue? Not sure
who to file the bug against.
4 years, 10 months
gnome-terminal
by Patrick Dupre
Hello,
In FC30 (maybe it was the same in fc38), when we have a gnome-terminal
opened, we can easy open a new one just by clicking on +. However, if
the first terminal has been open owner preferences like
usr/bin/gnome-terminal --zoom=0.9 $*
when the 2nd terminal is opened, theses preferences are lost.
Indeed, it would be preferable that the same call is done.
Even worst, using the gnome-terminal preferences (i.e. by creating his own
Profile), we do not have the option to set the zoom option (the minimum with is 1).
Having different zooming values induces a bizarre behavior like a rescaling of the
windows every time that we switch from one terminal to another one.
Am I missing something?
Thank.
===========================================================================
Patrick DUPRÉ | | email: pdupre(a)gmx.com
Laboratoire interdisciplinaire Carnot de Bourgogne
9 Avenue Alain Savary, BP 47870, 21078 DIJON Cedex FRANCE
Tel: +33 (0)380395988
===========================================================================
4 years, 10 months
Fedora 30 jobmemd-daemon
by bradbell@seanet.com
I upgraded to Fedora 30, in a virtual machine, and it is very slow at responding to typing in a terminal window.
When I execute the top, the first process is
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
11325 root 20 0 135m 27m 1960 S 16.1 0.0 1192:48 jobmemd-daemon
I do not see anything when I search for jobmemd-daemon.
What is it ?
Perhaps it is causing the response problems and there is OK to stop it ?
If so, how ?
4 years, 10 months
UID and GID on F30
by Tim
Hi,
I recently set up Fedora 30 as a new install on a blank SDD. When I
went to create my user it got UID 1000, as I expected (since I was the
first user). But, not as I expected, it got GID 1001, because
something else had already grabbed it:
$ cat /etc/group|grep 1000
hugetlbfs:x:1000:openvswitch
I don't know what hugetlbfs is, nor openvswitch, my brief search
against those terms doesn't suggest they're something I've set out to
use. Nor do I consider them to be users of any kind. So why are
they/it using GUI 1000? I always though ID numbers above 1000 were for
people.
Not being GID 1000 is a bit of a pain, NFS-wise, since 1000 belongs to
me on other devices, and 1001 belongs to others. My quick workaround
was to remove my private 1001 group from my user account, and pick the
generic 100 users group.
Though this doesn't stop the issue that whatever hugetlbfs/openvswitch
is, has access to my GID on other devices. Can I remove them? Can I
change their GID? Why are they picking numbers in the user range? If
applications are going to start doing this, it could be a problem.
4 years, 10 months
New install
by Patrick Dupre
Hello,
On a system with 2 HD,
1 SSH (sdb) and 1 standard HD (sda) of 2 TBit
I wanted to make a fresh (and basic) installation on sda
I created a 15 GB ext4 partition for that purpose.
Using the installer (from a USB stick).
I selected my partition (sda6) for the system (/)
But I get the following message:
Your bios-based system needs a special partition to boot from a GPT disk label. To continue please create a 1Mb /biosboot type
I do not know really what I should do.
There is already a fedora installed on sdb
sdb
GPT fdisk (gdisk) version 1.0.4
Partition table scan:
MBR: protective
BSD: not present
APM: not present
GPT: present
Found valid GPT with protective MBR; using GPT.
Disk /dev/sdb: 1000215216 sectors, 476.9 GiB
Model: SK hynix SC311 S
Sector size (logical/physical): 512/4096 bytes
Disk identifier (GUID): 4D6479F4-D61A-4DEA-8F60-35EFBFE445C2
Partition table holds up to 128 entries
Main partition table begins at sector 2 and ends at sector 33
First usable sector is 34, last usable sector is 1000215182
Partitions will be aligned on 2048-sector boundaries
Total free space is 101409389 sectors (48.4 GiB)
Number Start (sector) End (sector) Size Code Name
1 2048 1538047 750.0 MiB EF00 EFI System Partition
2 1538048 12023807 5.0 GiB 0C01 Basic data partition
3 12023808 77559807 31.3 GiB 8200
4 77559808 78583807 500.0 MiB 8300
5 78583808 283383807 97.7 GiB 8E00 VolSys0
6 283383808 488183807 97.7 GiB 8E00 VolUsr
7 488183808 489207807 500.0 MiB 8300
8 489207808 694007807 97.7 GiB 8E00 VolSys1
9 694007808 898807807 97.7 GiB 8300 Backup0
sda
GPT fdisk (gdisk) version 1.0.4
Partition table scan:
MBR: protective
BSD: not present
APM: not present
GPT: present
Found valid GPT with protective MBR; using GPT.
Disk /dev/sda: 3907029168 sectors, 1.8 TiB
Model: ST2000LM007-1R81
Sector size (logical/physical): 512/4096 bytes
Disk identifier (GUID): 28BCE68B-E757-45A5-8747-C3D872B311BB
Partition table holds up to 128 entries
Main partition table begins at sector 2 and ends at sector 33
First usable sector is 34, last usable sector is 3907029134
Partitions will be aligned on 2048-sector boundaries
Total free space is 3093153901 sectors (1.4 TiB)
Number Start (sector) End (sector) Size Code Name
1 2048 245762047 117.2 GiB 8300 Linux filesystem
2 245762048 307202047 29.3 GiB 8300 Linux filesystem
3 307202048 368642047 29.3 GiB 8300 Linux filesystem
4 368642048 578357247 100.0 GiB 8300 Linux filesystem
5 578357248 783157247 97.7 GiB 8300
6 783157248 813877247 14.6 GiB 8300 OS
===========================================================================
Patrick DUPRÉ | | email: pdupre(a)gmx.com
Laboratoire interdisciplinaire Carnot de Bourgogne
9 Avenue Alain Savary, BP 47870, 21078 DIJON Cedex FRANCE
Tel: +33 (0)380395988
===========================================================================
4 years, 10 months
Just did an upgrade and it took 12 hours??
by Michael D. Setzer II
Have a notebook that I had installed Fedora on some time ago.
Have upgraded it via DNF a few times, but this time I actually was watching it
versus just coming back later to find it done.
The clean installation only took about 20 minutes originally, but I've added a
lot of things to it. Showed about 5000 packages.
Download was fine with about 5.3G, and then the upgrade reboot.
It showed 9999 items, with the installation of the new packages, and the
cleanup of the old, and finally the verify complete.
Ended up taking just over 12 hours?
Just wondering why the process took so long.
Is that normal??
+------------------------------------------------------------+
Michael D. Setzer II - Computer Science Instructor (Retired)
mailto:mikes@guam.net
mailto:msetzerii@gmail.com
Guam - Where America's Day Begins
G4L Disk Imaging Project maintainer
http://sourceforge.net/projects/g4l/
+------------------------------------------------------------+
http://setiathome.berkeley.edu (Original)
Number of Seti Units Returned: 19,471
Processing time: 32 years, 290 days, 12 hours, 58 minutes
(Total Hours: 287,489)
BOINC@HOME CREDITS
ROSETTA 66311323.990119 | ABC 16613838.513356
SETI 109804121.703177 | EINSTEIN 141859222.999240
4 years, 10 months
EFI partition
by Patrick Dupre
Hello,
What is the advantage in having the /boot/efi on a single partition,
and not /boot for example (which was the case before EFI)?
In addition, the /boot/efi is a fat32.
Thank to clarify this point.
===========================================================================
Patrick DUPRÉ | | email: pdupre(a)gmx.com
Laboratoire interdisciplinaire Carnot de Bourgogne
9 Avenue Alain Savary, BP 47870, 21078 DIJON Cedex FRANCE
Tel: +33 (0)380395988
===========================================================================
4 years, 10 months
No microphone audio -
by Bob Goodwin
I rarely have computer audio problems, it usually just works. But today
I need to record voice and it does not do anything, pulse audio shows
rear microphone plugged in and the level is turned up. aplay produces a
test sound from the speaker and sound works as expected, just no mic audio.
This a recent Fedora-30 upgrade from F-29. I don't often need the mic so
I don't know if this is an artifact of an earlier problem. I tried two
mics, both are old, one is ancient, but I have used them in the past.
Any ideas welcome, Bob
--
Bob Goodwin - Zuni, Virginia, USA
http://www.qrz.com/db/W2BOD
box83 FEDORA-29/64bit LINUX XFCE Fastmail POP3
4 years, 10 months
Re-install Fedora without destroying user data
by CLOSE Dave
On a default Fedora installation with a sufficiently large disk, /home
is a separate filesystem and should not contain any required system
files. Thus it ought to be possible to completely re-install Fedora, the
same version as was previously installed, without over-writing /home.
I'd like to do this with kickstart, if possible. I think Anaconda offers
enough options but I find the documentation a bit confusing for this
purpose. Is anyone aware of an online reference describing how to do this?
--
Dave Close
4 years, 10 months