RE: f22: how to change default gateway via line command
by J.Witvliet@mindef.nl
-----Original Message-----
From: users-bounces(a)lists.fedoraproject.org [mailto:users-bounces@lists.fedoraproject.org] On Behalf Of Tim
Sent: woensdag 10 juni 2015 3:32
To: users(a)lists.fedoraproject.org
Subject: Re: f22: how to change default gateway via line command
On Wed, 2015-06-10 at 00:22 +0200, Dario Lesca wrote:
> But when I restart NM the gateway change again then this (stop NM) is
> not a valid solution for me.
For what it's worth, you're trying two mutually exclusive commands, as far as I can see.
NetworkManager automatically configures things as instructed by a DHCP server, or self-configures a link-local address, or activates a chosen user-configured network setting (the later may be an option for you, but you wanted to do stuff by the command line interface, and I'm unfamiliar with controlling NetworkManager that way). I've certainly made new custom settings in the NetworkManager GUI, and chosen them to force manual changes to my network.
Using an IP command temporarily changes the current operating parameters, but doesn't change any stored configuration.
NetworkManager's next operation will do what it wants to do, again.
Overriding what you may have temporarily changed.
I would have thought that if you were making temporary changes, this wouldn't have mattered. But it sounds like you want to make permanent changes, despite initially talking about making temporary ones, and going about it the wrong way.
--
tim@localhost ~]$ uname -rsvp
Linux 3.19.8-100.fc20.i686 #1 SMP Tue May 12 17:42:35 UTC 2015 i686
All mail to my mailbox is automatically deleted, there is no point trying to privately email me, I will only read messages posted to the public lists.
George Orwell's '1984' was supposed to be a warning against tyranny, not a set of instructions for supposedly democratic governments.
-----Original Message-----
Some additional thoughts.
Anything you do on the command line, is volatile thus won't survive a reboot.
It is tempting to catch any manually settings in a script, running after startup has completed.
Often this works, though with network-settings there is a catch22...
If you use dhcp, and the lease-renewal comes around, your manual (or scripted) settings, like v4/v6 addresses, (default-)routing, dns/ntp-settings are gone.
Mostly dhcp-settings are set to one or several days, so it seems static,
But when you set on the dhcp-server the lease-time to 5 minutes, you see the effects.
It can cause some very hard to detect unwanted behavior.
Hw
______________________________________________________________________
Dit bericht kan informatie bevatten die niet voor u is bestemd. Indien u niet de geadresseerde bent of dit bericht abusievelijk aan u is toegezonden, wordt u verzocht dat aan de afzender te melden en het bericht te verwijderen. De Staat aanvaardt geen aansprakelijkheid voor schade, van welke aard ook, die verband houdt met risico's verbonden aan het electronisch verzenden van berichten.
This message may contain information that is not intended for you. If you are not the addressee or if this message was sent to you by mistake, you are requested to inform the sender and delete the message. The State accepts no liability for damage of any kind resulting from the risks inherent in the electronic transmission of messages.
8 years, 11 months
Fedora 22 on Surface Pro 3
by Ranjan Maitra
Hi,
I am planning on getting a MS Surface Pro 3 and promptly stripping it of its current software. Does anyone have any information on Fedora 22 can this tablet? (From what I understand, it is actually a full-fledged machine and does not have the ARM processors.)
I DDG'ed on this and came up with the following:
https://ask.fedoraproject.org/en/question/53414/fedora-20-installation-on...
But this information is from the days of F20. I wonder if the kernel patches that are talked about there and necessary have been sorted and included by default in the current 4.0 series kernels?
Any experience would be very helpful.
Btw, how does one get the on-screen keyboard in such a tablet using linux?
Many thanks again for any pointers, and best wishes,
Ranjan
--
Important Notice: This mailbox is ignored: e-mails are set to be deleted on receipt. Please respond to the mailing list if appropriate. For those needing to send personal or professional e-mail, please use appropriate addresses.
____________________________________________________________
FREE 3D MARINE AQUARIUM SCREENSAVER - Watch dolphins, sharks & orcas on your desktop!
Check it out at http://www.inbox.com/marineaquarium
8 years, 11 months
f22: how to change default gateway via line command
by Dario Lesca
Into Fedora 22 workstation, it's possible to change temporarily via
command line the default gateway, to test another gateway, when I have
setup the network via DHCP?
What is the best command line to use?
Many thanks
--
Dario Lesca
(inviato dal mio Linux Fedora 22 con Gnome 3.16)
8 years, 11 months
dnf whatprovides and library files
by Ed Greshko
I can't seem to get dnf to tell me what package supplies a library.
For example, on an F22 system....
[root@f22k ~]# ll /lib64/libXv.so.1.0.0
-rwxr-xr-x. 1 root root 19664 Aug 17 2014 /lib64/libXv.so.1.0.0
[root@f22k ~]# dnf whatprovides /lib64/libXv.so.1.0.0
Last metadata expiration check performed 0:26:25 ago on Wed Jun 10 07:23:47 2015.
Error: No Matches found
On an F21 system
[egreshko@meimei ~]$ ll /lib64/libXv.so.1.0.0
-rwxr-xr-x. 1 root root 19664 Aug 17 2014 /lib64/libXv.so.1.0.0
[egreshko@meimei ~]$ yum -whatprovides /lib64/libXv.so.1.0.0
Loaded plugins: langpacks
libXv-1.0.10-2.fc21.x86_64 : X.Org X11 libXv runtime library
Repo : installed
Matched from:
Filename : /lib64/libXv.so.1.0.0
(dnf fails to find on F21 in the same manner)
Yet on F22 a whatprovides for an uninstalled binary works...
[root@f22k ~]# dnf whatprovides /usr/bin/remmina
Last metadata expiration check performed 0:28:57 ago on Wed Jun 10 07:23:47 2015.
remmina-1.2.0-0.5.git.b3237e8.fc22.x86_64 : Remote Desktop Client
Repo : fedora
What can I do to get "whatprovides" to work consistently?
--
Sorta what I want to say when folks habitually complain about Fedora - https://youtu.be/ZArl8fTfub4
8 years, 11 months
F22 rsyslog and logrotate: looks like a bug to me
by Mark C. Allman
I see this line in /etc/logrotate.d/syslog:
/bin/kill -HUP `cat /var/run/syslogd.pid 2>/dev/null` 2>/dev/null||true
The PID file for rsyslog is actually /var/run/rsyslogd.pid, therefore
once logrotate runs the new log files, e.g., messages, maillog, etc.,
are empty. Sound like a bug to you all?
I'm running F22 kernel 4.0.4-301.fc22.x86_64 and I just upgraded via
dnf.
Thanks,
--
Mark C. Allman, PMP, CSM
Founder, See How You Ski, www.seehowyouski.com
617-947-4263, Twitter: @allmanpc
8 years, 11 months
Hotkeys?
by David Cary Hart
KDE's hotkeys package is broken in F22*. I am tired of typing ldquo,
rdquo, mdash, etc. Autokey (via Google) no longer works. Any other
suggestions? And, yes, I filed a bug report.
Thanks
*It doesn't work in a clean install of the KDE spin. I got it to work on
a workstation spin but the virtual machine crashed for other reasons. I
have been unable to replicate it.
--
David C. Hart - South Beach
http://www.slowlyboiledfrog.com
8 years, 11 months
F22 KDE How To Remove "Software Updates" Widget?
by Christopher Ross
In the Fedora 22 / KDE 5 task bar there is a "Software Updates" widget.
Where is the setting to remove that? It's inappropriate for arbitrary
end users to be be updating the system software on shared machines.
Many thanks,
Chris R.
8 years, 11 months
Nautilus (Files) don want to open
by Lain Cortés González
I've been trying to open nautilus and this what ocured if I try it in
a terminal:
>nautilus: error while loading shared libraries: /lib64/libexempi.so.3: file t
>oo short
-Isaac C.
8 years, 11 months
Has anyone upgraded from F20 to F21 or F22 using YUM?
by Howard Howell
Hi, guys,
It is getting to be time to upgrade again. I am debating the wipe and
reinstall method, over the upgrade by YUM. One of the issues facing me
it the loss of the FEL spin. I use a lot of those tools along with some
other stuff I have had to get via download and install. I have also had
my issues with GNOME (no rant, just aggravation). So, Here is the big
question... Has anyone done either the full jump (f20-f22) or is the
preferred process f20 to f21 then move to f22 a bit later?
Applications currently in use:
Android Development studio (not ready for prime time is my best take on
this thing right now)
Arduino (yes, I know it is available from yum, but has it migrated to
dnf?
gEDA design suite
gcc
gputils
gnuplot
Microchips MPLABX
openSCAD
gedit
pyGcode Viewer
evolution
Eagle CAD
Libre Office
evince
gnome-terminal (but could use any typical unix type terminal window)
Languages in use: C, C++, Python, Assembly (multiple processors),
Pascal, ADA, Fortran, COBOL, CLISP and some others occasionally.
Eclipse occasionally
FFTW but I usually download that from their site.
Upcoming interests 3D printing and milling and machining.
Any thoughts on which is the correct path, and is there any way to get
the Electronics Lab equivalent as the base for these efforts?
Regards,
Les H
8 years, 11 months
PXE-install F22 Workstation
by Paul Franklin
I am trying to install F22 and need some help.
I want to do a PXE-install from my local repo of an
NFS-mounted ISO image (not a looped image, not a tree) of
the Workstation, and I haven't found anything which mentions
getting it from an ISO image. I've tried various things,
none of which have worked.
I have been doing this a while. This code worked for F18
for instance (with the F18 ISO image in /pub/F/F18), which
was the last time I had to do something like this:
kernel F18/vmlinuz
append initrd=F18/initrd.img ramdisk_size=10000
repo=nfs:proto=udp:10.21.102.50:/pub/F/F18 ip=dhcp keymap=us
lang=en_US.UTF-8
I would /really/ appreciate it if somebody could tell me how
to get F22 installed the same way.
Thanks in advance.
8 years, 11 months