Re: Backing up system
by gmspro
Hi,
http://www.sysresccd.org/Download
With the SystemRescueCd I backed up the /dev/sda6 partition in /mnt/backup/ naming "diskimage"
After backing up operation the file has the automatic extension like "diskimage.000".
Is this file ok to restore?
If I name it "diskimage.gz" then it is automatically renamed with this extension "diskimage.gz.000"
But here below
http://www.sysresccd.org/Screenshots
the file is name like this:
"diskimage.pimg"
Do I have to name with the .pimg extension during backup to restore correctly?
And how can I restore it?
1 year, 3 months
VPN options
by Keith Lofstrom
I am planning on running a Virtual Private Network from my Fedora
firewall out to a UML virtual colo (running RH9) at another site.
That site will be the place I present services to the world;
httpd, ssh, sftp, smtp. This is to comply with the "no servers"
and dynamic ip restrictions on my Comcast connection to the net;
if my firewall always drives an outbound connection to the
colocation site, I am not worried about changes of ip address,
and I am not opening any inbound ports.
There are a number of options for the VPN - the most attractive
are cipe ( http://sites.inka.de/sites/bigred/devel/cipe.html )
and FreeSwan ( http://www.freeswan.org/ ), though I am told that
one can do all this through an ssh tunnel. I would rather have
simple and secure than super-duper; I have plenty of bandwidth,
and will send outbound http and smtp from the firewall, so the
main bandwidth user will be incoming spam/b/b/b/b mail.
Anyone have some experiences to share about setting up VPN? Is
there anything about either cipe or FreeSwan that is likely to
break with FC1 or FC2?
Keith
--
Keith Lofstrom keithl(a)ieee.org Voice (503)-520-1993
KLIC --- Keith Lofstrom Integrated Circuits --- "Your Ideas in Silicon"
Design Contracting in Bipolar and CMOS - Analog, Digital, and Scan ICs
2 years, 6 months
ATA2:00: link is slow to respond....
by Angelo Moreschini
Hi,
my computer boot only in emergency mode ...
Looking the journalctl (command journalctl -xb), I found (in thejournalctl
) these lines in red color :
ATA2:00: link is slow to respond....
(and after..)
ATA200: SRST failed (erro 16)
That seem indicate that it is a problem to access the HDs..
I found a possible solution to the problem in this post:
http://codeverge.com/opensuse.org.help.install/-solved-ata1-srst-failed-e...
There is wrote that :...the problem can depend by the physic set up of the
HD (as "master", "slave", "single drive", ...): this set up can be done by
changing the position of a jumper on the HD...
I know that, in the past time, the HDs had to be set physically in this
way.., but recently I never heart anymore that the modern HD need this
operation..
So actually I don't care anymore of the configuration of the HDs
(my HD is Toshiba 1 TB that I bought few mounts ago).
I would like to have a confirmation that what I read in the post is only an
obsolete information and, in any case, I would like to know also what I can
do to go around in my problem..
>From the command line: ls /dev/sd* I get:
give me this input :
/dev/sda /dev/sda1 /dev/sda2 /dev/sda5 /dev/sdb /dev/sdb1
/dev/sdb2
Thank you
regards
Angelo
5 years, 3 months
nc missing option -z
by Suvayu Ali
Hi,
I used to use netcat to check if a particular host is up or if I have
internet connection before I run a few scripts. I would use the -z
option in particular. But now I see that has been removed:
$ nc -z imap.gmail.com 993 && sync-my-email.sh
ncat: invalid option -- 'z'
Here is the excerpt from the old manual page:
-z Specifies that nc should just scan for listening daemons, without
sending any data to them. It is an error to use this option in
conjunction with the -l option.
Any ideas what happened to it? What can I use as replacement?
Thanks for any ideas.
--
Suvayu
Open source is the future. It sets us free.
5 years, 6 months
F21: Thunderbird insists on calling Fedora list messages junk!
by William Mattison
Good afternoon,
Most messages received from this fedora list are labelled junk by
Thunderbird. This is even though I whitelisted "From" =
"users-request(a)lists.fedoraproject.org". Actually, I have this problem
both in my Fedora-21 and my windows-7 systems. Any ideas? Surely
messages from this list are not junk!
thanks,
Bill.
5 years, 10 months
Re: gnuplot help
by Antonio Olivares
>> Subject: Re: gnuplot help
>>
>> On 2015-11-10 19:04, Antonio Olivares wrote:
>>> The only one that works is the following one:
>>>
>>> http://plotshare.com/index.ws/plot/858779550
>>>
>>> I wanted to change it, put the dates and the opponent and make it look
>>> like a bar graph. I tried modifing the code and add the style used by
>>> Marco F. a fellow Fedora/open source user:
>>>
>>> http://www.techrepublic.com/blog/linux-and-open-source/how-to-handle-time...
>>>
>>> But I cannot get it to work.
>>
>> Hi Antonio,
>> "Marco F. a fellow Fedora/open source user" here. Thanks for
>> your interest in my pieces.
>>
>> It's been a while since I last seriously worked with Gnuplot,
>> so I am not really current about it anymore, and cannot
>> promise anything :-) Whoever is more up to date than me, please step in!
>>
>> This said, my understanding is that the actual code you are trying to
>> make
>> work is NOT the one visible at the plotshare urls you provided,
>> which is only an example.
>>
>> Is this correct? If yes, I (and I think the others too) would need to
>> see the WHOLE gnuplot code and data files that you tried to run, and
>> the complete error message you get. If I'm wrong, please explain. In
>> any case, we'd need to see at least the complete error message, to
>> continue.
>>
>> HTH,
>> Marco
>>
>> --
>> http://mfioretti.com
>
> Yes and no. The data is the same, and I tried to modify it but was
> getting things wrong. The plotshare url that is there works.
>
> [olivares@localhost tmp]$ cat gfga2015.plt
> #set term pngcairo size 800,600 transparent nocrop enhanced font
> 'Verdana,11'#define axis
> #set style line 11 lc rgb '#808080' lt 1
> #set border 3 back ls 11
> set tics nomirror
>
> #define key
> set key opaque
>
> # define grid
> #set style line 12 lc rgb '#808080' lt 0 lw 1
> #set grid back ls 12
>
> # define linecolors
> set style line 1 lc rgb '#0060ad' pt 2 ps 1 lt 1 lw 2 # --- blue
> set style line 1 lc rgb '#8b1a0e' pt 1 ps 1 lt 1 lw 2 # --- red
> set style line 2 lc rgb '#5e9c36' pt 6 ps 1 lt 1 lw 2 # --- green
>
> #set key bottom right
>
> set xlabel 'Game '
> set ylabel 'Goals scored'
> #set xrange [0:1]
> #set yrange [0:1]
> set grid
> set xdata time
> set timefmt "%Y%m%d"
> set xtics border in scale 1,0.5 rotate by -90 nomirror offset character
> 0, 0, 0
>
> plot 'gfga2015.dat' u 1:2 t 'Grulla Goals Scored' w lp ls 1,
> 'gfga2015.dat' u 1:3 t 'Opponents Goals' w lp ls 2
> [olivares@localhost tmp]$ cat gfga2015.dat
> # Date GF GA#Opponent
> 20150103 0 10 # Edinburg Vela
> 20150106 1 0 # Zapata
> 20150113 2 0 # Lyford
> 20150116 0 0 # Roma
> 20150120 0 3 # Mercedes
> 20150123 1 2 # Laredo Nixon
> 20150203 8 1 # Zapata
> 20150210 1 9 # Hidalgo
> 20150213 3 1 # Raymondville
> 20150216 1 0 # Monte Alto
> 20150220 0 0 # Zapata
> 20150226 0 4 # Hidalgo
> 20150306 2 2 # Raymondville
> 20150317 6 1 # Monte Alto
> 20150326 3 0 # Port Isabel
> 20150403 0 7 # Rockport-Fulton
>
> But I changed it to the above with the dates and it works, but the dates
> don't get formated like I would like. Also our games are on Tues and
> Fridays of every week except on tournaments and scrimmages, I wanted to
> change the code to represent that, and no matter how much I try I get
> tics at two or three spaces using part of the examples, ie.,
>
> set xtics format "%b %d"
>
> set xtics "20110105", 259200, "20110430"
>
> 259200 for 3 days difference
> 172800 for 2 days tics apart and so on.
>
>
> I add this to the script and I get different results, If I include tics
> at 1 unit apart, then thing get messy. I want to look at a nice graph.
> The one at url
>
> http://plotshare.com/index.ws/plot/338384601
>
> I got it to work on my desktop, but I do not know enough of gnuplot for
> it to just plot on top of quadrant 1 and not go below. Here's the code.
>
> [olivares@localhost tmp]$ cat 2015gfga.plt
> #set terminal postscript eps color solid
> set border linewidth 1.5
> set style histogram errorbars linewidth 1.5
> set style data histograms
> set style fill solid 1 border -1
> set ylabel "Goals Scored" font "Helvetica,16"
> set xtics border in scale 1,0.5 rotate by -90 nomirror offset character
> 0, 0, 0
> #set xtics border in scale 1,0.5 rotate by -45 nomirror offset character
> 0, 0, 0
> set grid
> #set xdata time
> #set timefmt "%Y%m%d"
> #set xtics ( 'Edinburg Vela' 20150103, 'Zapata' 20150106, 'Lyford'
> 20150113, 'Roma' 20150116, 'Mercedes' 20150120, 'Laredo Nixon' 20150123,
> 'Zapata' 20150203, 'Hidalgo' 20150210, 'Raymondville' 20150213, 'Monte
> Alto' 20150217, 'Zapata' 20150220, 'Hidalgo' 20150227, 'Raymondville'
> 20150306, 'Monte Alto' 20150317, 'Port Isabel' 20150326, 'Rockport
> Fulton' 20150403 ) rotate by 90 right
> set ytics 1 nomirror
> set key top left
> #Start of user script
> #---------------------
> ExtData1 = '2015gfga.dat'
> plot '2015gfga.dat' using 3:2:xtic(1) title col lc rgb '#084594',
> '2015gfga.dat' using 2:3:xtic(1) title col lc rgb '#f6e8c3'
> [olivares@localhost tmp]$ cat 2015gfga.dat
> Test Opponents Grulla Opponents
> 1-Edinburg-Vela 0 10
> 2-Zapata 1 0
> 3-Lyford 2 0
> 4-Roma 0 0
> 5-Mercedes 0 3
> 6-Laredo-Nixon 1 2
> 7-Zapata 8 1
> 8-Hidalgo 1 9
> 9-Raymondville 3 1
> 10-Monte-Alto 1 0
> 11-Hidalgo 0 4
> 12-Raymondville 2 2
> 13-Monte-Alto 6 1
> 14-Port-Isabel 3 0
> 15-Rockport-Fulton 0 7
> [olivares@localhost tmp]$
>
> I would like to change the numbers 1 to 20150103 display it along with
> the opponent, but things get messy so my best guess would be to just
> format it manually instead of experimenting things out. If anyone can
> help me fix/adjust the code so that It just prints the bar graphs of
> opponents goals vs our goals and not go below to quadrant 3 please let me
> know.
>
> Best Regards,
>
>
> Antonio
I replied to Marco and thought that I automagically replied to the list. I got it to work by manually changing the data with the dates:
2015gfga.dat
--------------------------------
Test Opponents Grulla Opponents
2015/01/03-Edinburg-Vela 0 10
2015/01/06-Zapata 1 0
2015/01/13-Lyford 2 0
2015/01/16-Roma 0 0
2015/01/20-Mercedes 0 3
2015/01/23-Laredo-Nixon 1 2
2015/02/03-Zapata 8 1
2015/02/10-Hidalgo 1 9
2015/02/13-Raymondville 3 1
2015/02/17-Monte-Alto 1 0
2015/02/20-Zapata 0 0
2015/02/26-Hidalgo 0 4
2015/03/06-Raymondville 2 2
2015/03/17-Monte-Alto 6 1
2015/03/26-Port-Isabel 3 0
2015/04/03-Rockport-Fulton 0 7
then modified 2015gfga.plt and added a range
set yrange [0:10]
will fix the graph to what I would like
[olivares@localhost tmp]$ cat 2015gfga.plt
---------------------------------------------------
#set terminal postscript eps color solid
set border linewidth 1.5
set style histogram errorbars linewidth 1.5
set style data histograms
set style fill solid 1 border -1
set ylabel "Goals Scored" font "Helvetica,16"
set xtics border in scale 1,0.5 rotate by -90 nomirror offset character 0, 0, 0
#set xtics border in scale 1,0.5 rotate by -45 nomirror offset character 0, 0, 0
set grid
#set xdata time
#set timefmt "%Y%m%d"
#set xtics ( 'Edinburg Vela' 20150103, 'Zapata' 20150106, 'Lyford' 20150113, 'Roma' 20150116, 'Mercedes' 20150120, 'Laredo Nixon' 20150123, 'Zapata' 20150203, 'Hidalgo' 20150210, 'Raymondville' 20150213, 'Monte Alto' 20150217, 'Zapata' 20150220, 'Hidalgo' 20150227, 'Raymondville' 20150306, 'Monte Alto' 20150317, 'Port Isabel' 20150326, 'Rockport Fulton' 20150403 ) rotate by 90 right
set ytics 1 nomirror
set key top left
#Start of user script
#---------------------
ExtData1 = '2015gfga.dat'
plot '2015gfga.dat' using 3:2:xtic(1) title col lc rgb '#084594', '2015gfga.dat' using 2:3:xtic(1) title col lc rgb '#f6e8c3'
I had in the last line
plot 'ExtData1' using 3:2:xtic(1) title col lc rgb '#084594', '' using 2:3:xtic(1) title col lc rgb '#f6e8c3'
and gnuplot was reporting an error. I modified it to above and removed ExtData1 reference and it worked.
I tried to set the xtics manually and change them according to Marco's reference, but the graph did not refect all the games so I modified the data file and added the date and the opponent and then modified the range to prohibit the line going below and keep everything in quadrant I. If anyone has a nicer way to make the graph look better, or format it using something else please help. I would like for our athletes to see what we need to work on the Goal Differential and not allow too many goals against us.
Best Regards,
Antonio
____________________________________________________________
FREE ONLINE PHOTOSHARING - Share your photos online with your friends and family!
Visit http://www.inbox.com/photosharing to find out more!
6 years, 3 months
Scroll Bars not Working Properly in F22 Applications in KDE
by Stephen Morris
I have an issue certain applications not displaying the scroll bars
properly.
I am using the upstream Nightly version of Firefox and the upstream
Daily version of Thunderbird. Both of these display the vertical scroll
bar permanently, but neither of them display the top and bottom arrows.
Another application I have looked at is Gedit which only displays the
vertical scroll bar when you mouse over it, but it doesn't display the
top and bottom arrows either. I get these issues irrespective of what
KDE theme I use.
Looking at the KDE Settings App it displays the scroll bars with top and
bottom arrows fine.
The Kwin script to force window decorations on GTK+ apps is active.
Does anyone have any ideas why the above mentioned applications don't
show the arrows but the KDE Settings Application does show the arrows,
and whether or not there is anyway to rectify it? From memory I did not
have this issue in F21 and F22 was installed from scratch from the live
DVD because the F21->F22 upgrade process does not work on my system (the
upgrade process wants to run the install from the Grub menu and on my
system my wireless network is not active at that point and cannot be
made active because of required drivers).
regards,
Steve
6 years, 4 months
Strange sendmail behaviour
by Stephen Davies
I am trying to change my sendmail configuration to deliver all "user unknown"
emails to a specific account (baduser).
I added the DL definition to sendmail.mc and generated test.cf.
Then I tested this new config using:
echo who | sendmail -v -Ctest.cf noone
and the email was correctly delivered to the defined account.
I then renamed test.cf to sendmail.cf (in /etc/mail) and retested with:
echo what | sendmail -Csendmail.cf noone
and again the email was delivered to the baduser account.
Happy with this, I then restarted sendmail (via systemctl) and sent yet
another email to an invalid account.
Instead of the email being delivered to baduser, I received a 550 5.1.1 user
unknown reject email.
What have I missed here.
(Fedora 22 & sendmail 8.14.7/8.13.3)
--
=============================================================================
Stephen Davies Consulting P/L Phone: 08-8177 1595
Adelaide, South Australia. Mobile:040 304 0583
6 years, 5 months