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
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
C/C++ Compiler Invalidly Turning Warnings into Errors?
by Stephen Morris
I have a driver for a wifi usb device that I need to compile because
there are no drivers in the kernel, which has been obtained from the
vendor of the device. When I attempt to compile the code the compile
fails on the grounds that some warnings are being translated into
errors. From my perspective these errors should not be happening
because, when a debugging module wants to time stamp the build, that is
not an error and is perfectly acceptable. How do I get the compiler to
stop producing these errors. The messages I get are listed below.
Authentication requested [root] for make driver:
make ARCH=x86_64 CROSS_COMPILE= -C
/lib/modules/3.17.8-300.fc21.x86_64/build
M=/usr/local/downloads/dlink/RTL8812AU_linux_v4.3.2_11100.20140411/driver/rtl8812AU_linux_v4.3.2_11100.20140411
modules
make[1]: Entering directory '/usr/src/kernels/3.17.8-300.fc21.x86_64'
CC [M]
/usr/local/downloads/dlink/RTL8812AU_linux_v4.3.2_11100.20140411/driver/rtl8812AU_linux_v4.3.2_11100.20140411/core/rtw_cmd.o
CC [M]
/usr/local/downloads/dlink/RTL8812AU_linux_v4.3.2_11100.20140411/driver/rtl8812AU_linux_v4.3.2_11100.20140411/core/rtw_security.o
CC [M]
/usr/local/downloads/dlink/RTL8812AU_linux_v4.3.2_11100.20140411/driver/rtl8812AU_linux_v4.3.2_11100.20140411/core/rtw_debug.o
/usr/local/downloads/dlink/RTL8812AU_linux_v4.3.2_11100.20140411/driver/rtl8812AU_linux_v4.3.2_11100.20140411/core/rtw_debug.c:
In function ‘dump_drv_version’:
/usr/local/downloads/dlink/RTL8812AU_linux_v4.3.2_11100.20140411/driver/rtl8812AU_linux_v4.3.2_11100.20140411/core/rtw_debug.c:66:64:
error: macro "__DATE__" might prevent reproducible builds
[-Werror=date-time]
DBG_871X_SEL_NL(sel, "build time: %s %s\n", __DATE__, __TIME__);
^
/usr/local/downloads/dlink/RTL8812AU_linux_v4.3.2_11100.20140411/driver/rtl8812AU_linux_v4.3.2_11100.20140411/core/rtw_debug.c:66:1:
error: macro "__TIME__" might prevent reproducible builds
[-Werror=date-time]
DBG_871X_SEL_NL(sel, "build time: %s %s\n", __DATE__, __TIME__);
^
/usr/local/downloads/dlink/RTL8812AU_linux_v4.3.2_11100.20140411/driver/rtl8812AU_linux_v4.3.2_11100.20140411/core/rtw_debug.c:66:1:
error: macro "__DATE__" might prevent reproducible builds
[-Werror=date-time]
/usr/local/downloads/dlink/RTL8812AU_linux_v4.3.2_11100.20140411/driver/rtl8812AU_linux_v4.3.2_11100.20140411/core/rtw_debug.c:66:1:
error: macro "__TIME__" might prevent reproducible builds
[-Werror=date-time]
/usr/local/downloads/dlink/RTL8812AU_linux_v4.3.2_11100.20140411/driver/rtl8812AU_linux_v4.3.2_11100.20140411/core/rtw_debug.c:66:1:
error: macro "__DATE__" might prevent reproducible builds
[-Werror=date-time]
/usr/local/downloads/dlink/RTL8812AU_linux_v4.3.2_11100.20140411/driver/rtl8812AU_linux_v4.3.2_11100.20140411/core/rtw_debug.c:66:1:
error: macro "__TIME__" might prevent reproducible builds
[-Werror=date-time]
cc1: some warnings being treated as errors
scripts/Makefile.build:257: recipe for target
'/usr/local/downloads/dlink/RTL8812AU_linux_v4.3.2_11100.20140411/driver/rtl8812AU_linux_v4.3.2_11100.20140411/core/rtw_debug.o'
failed
make[2]: ***
[/usr/local/downloads/dlink/RTL8812AU_linux_v4.3.2_11100.20140411/driver/rtl8812AU_linux_v4.3.2_11100.20140411/core/rtw_debug.o]
Error 1
Makefile:1377: recipe for target
'_module_/usr/local/downloads/dlink/RTL8812AU_linux_v4.3.2_11100.20140411/driver/rtl8812AU_linux_v4.3.2_11100.20140411'
failed
make[1]: ***
[_module_/usr/local/downloads/dlink/RTL8812AU_linux_v4.3.2_11100.20140411/driver/rtl8812AU_linux_v4.3.2_11100.20140411]
Error 2
make[1]: Leaving directory '/usr/src/kernels/3.17.8-300.fc21.x86_64'
Makefile:1350: recipe for target 'modules' failed
make: *** [modules] Error 2
##################################################
Compile make driver error: 2
Please check error Mesg
##################################################
6 years, 11 months
Re: Why Fedora is for experts only?
by R. G. Newbury
gilpel(a)altern.org wrote:
> R. G. Newbury wrote:
>> > Even better are the stupid messes where there is NO default setting to
>> > change. Google 'kstartupconfig4 error 3' No-one, and I mean no-one knows
>> > what causes this, or how to fix it.
>
> It seems somebody at the Fedora Forum had the same problem and solved it:
>
> http://www.google.ca/search?hl=en&client=firefox-a&rls=org.mozilla%3Aen-U...
>
> http://minilien.com/?s9wh5OnNYI
>
> You might also want to try without the "Solved" keyword. There are more
> results and sometimes people forget to add "Solved".
>
>> > It is the lack of documentation which makes Fedora (and Mandriva, and
>> > Ubuntu) an OS for experts only.....
>
> It could indeed be better but geeks will always come up with the right
> keyworks and show you the solution was there, somewhere.
>
> It's easier to find the right keywords when you know the solution :)
I wasn't searching using "Solved" and the only keyword 'kstartupconfig4'
And *that* answer does not work. My home dir was already 'user:user'.
I have also confirmed the chcon context is now
'unconfined_u:object_r:user_home_dir_t:s0' for /home/user
And it doesn't work! Still get the error and no login.
Geoff
--
Please let me know if anything I say offends you.
I may wish to offend you again in the future.
Tux says: "Be regular. Eat cron flakes."
6 years, 11 months
Re: Why Fedora is for experts only?
by R. G. Newbury
On 07/24/2009 06:29 PM, gilpel(a)altern.org wrote
<snip>
> I'm trying to figure out what our great experts would lose if there was a
> pause for choosing the kernel. If they don't like this setting, they
> wouldn't have to use vi, just the Administration menu. All it takes is a
> few seconds and, thereafter, they would never have to suffer a pause when
> they reboot every six month.
>
> What's the name of the guy responsible for this mess? Can you imagine
> proselytizing Mac users and having to make sure they understand they will
> have to change a default setting, otherwise, they may be locked out of
> their system?
Even better are the stupid messes where there is NO default setting to
change. Google 'kstartupconfig4 error 3' No-one, and I mean no-one knows
what causes this, or how to fix it. (Well, if there IS a 'great expert'
who knows this, he's not talking). And what happens when you get this
error? You cannot log in as a normal user.
So I've been forced to log in as root for well over a month now on this
laptop. (Quick! Get the smelling salts! A grey-bearded pony-tailed guru
just fainted with an attack of the vapours!)
And the problem has existed since I "upgraded" to F11...I suspect it has
something to do with the fact that the /home partition was retained from
F10 and that the chcon context might have something to do with it, but
then, like pulseaudio, chcon has entirely too minimal a set of
documentation. And I didn't even know chcon existed until a week ago,
when it turned up as the possible source/answer to a completely
different question about httpd.
It is the lack of documentation which makes Fedora (and Mandriva, and
Ubuntu) an OS for experts only.....
Geoff
--
Please let me know if anything I say offends you.
I may wish to offend you again in the future.
Tux says: "Be regular. Eat cron flakes."
6 years, 11 months
Re: Ranter or evangelist?
by Antonio Olivares
--- On Thu, 7/23/09, gilpel(a)altern.org <gilpel(a)altern.org> wrote:
> From: gilpel(a)altern.org <gilpel(a)altern.org>
> Subject: Re: Ranter or evangelist?
> To: "Community assistance, encouragement, and advice for using Fedora." <fedora-list(a)redhat.com>
> Date: Thursday, July 23, 2009, 10:32 PM
> 'Tonio wrote:
>
> > Micro$oft is losing out to google, Twitter, Facebook
> and others. In a
> > last ditch effort. Micro$oft is releasing code
> to linux. Check out
> > this at distrowatch.
> >
> > http://distrowatch.com/weekly.php?issue=20090720
>
> Since Linux is strongon th server market, they want to
> attract them to
> Hyper-V, from what I've read. So?
>
> > BTW, Redhat also signed a deal with them, are they
> > really falling off
>
> Red Hat signed "a contract" and Suse signed "a contract",
> so Red Hat ans
> Suse are just the same for both signing "a contract".
>
> Which "a contract" have both companies signed?
>
> --
The stories about Microsoft releasing code, was more of a another way to cover up for a GPL violation :(
http://www.theregister.co.uk/2009/07/23/microsoft_hyperv_gpl_violation/
http://www.osnews.com/story/21882/Microsoft_s_Linux_Kernel_Code_Drop_Resu...
Not really because Micro$oft wants to help out a rival or a plague like Steve Ballmer once said. The truth comes out sooner or later.
Regards,
Antonio
6 years, 11 months
Re: Ranter or evangelist?
by Antonio Olivares
--- On Tue, 7/21/09, gilpel(a)altern.org <gilpel(a)altern.org> wrote:
> From: gilpel(a)altern.org <gilpel(a)altern.org>
> Subject: Re: Ranter or evangelist?
> To: "Community assistance, encouragement, and advice for using Fedora." <fedora-list(a)redhat.com>
> Date: Tuesday, July 21, 2009, 11:33 PM
> > On Tue, 2009-07-21 at 08:08
> +0500, gilpel(a)altern.org
> wrote:
> >> Excuse me for being rude
> >
> > No.
> >
> > Oh, and I'm middle-aged, and run a debt free
> business. Being doing so
> > for over twenty years. i.e. I live in the real
> world, and one that's
> > well managed.
> >
> > The one needing to get a clue, here, is you. You
> ONLY speak for
> > yourself, and opinions are NOT facts.
>
> I was just about to go to bed but this message kept
> haunting me. There's
> lots of truth in what you say here: why care about anything
> but the facts
> and be haunted by questions instead of facts? Sometimes I
> really wished I
> was like you...
>
> Microsoft has 90% of market share, Linux only 1% and people
> at Microsoft
> certainly are very glad. So, why should we be sad? Wouldn't
> this be giving
> Microsoft an edge in gladness?
>
> And if, tomorrow, Linux only has only .01% of the desktop
> market, would
> that be any reason to be sad? Of course not, since you and
> the codec geeks
> -- they'll undoubtedly be the last! -- will always hold the
> flag. So,
> you'll be glad not to be bothered by know-nothing like me
> and Microsoft...
> will they ever be glad!
>
> Once again, everybody will be glad. So why worry, be
> happy!
>
> Still, a last question keeps haunting me. No doubt, by now,
> since it's all
> well documented facts, you've read "From Microsoft Word to
> Microsoft
> World". In this document, Newman explains how, using its
> proprietary
> formats, Microsoft got rid of pretty much all competition.
> It brought
> every company to their knees, thn, bought and scrapped them
> one after the
> other.
>
> Of course, Microsoft can't play this game with Linux, since
> Linux uses...
> or tries to use open formats. Still, sometimes I wonder if,
> with all the
> money it has, Microsoft couldn't find a way to keep the cap
> on Linux. You
> know, keep it at an acceptable level of nuisance, say, 1%
> of market share
> after 18 years.
>
> Arrrgh! I'm afraid that's what I'll dream about tonight.
> What a pain I am,
> even to myself!
>
> --
Micro$oft is losing out to google, Twitter, Facebook and others. In a last ditch effort. Micro$oft is releasing code to linux. Check out this at distrowatch.
http://distrowatch.com/weekly.php?issue=20090720
I like comment 133. It sounds just about right. There are many nice comments there. BTW, Redhat also signed a deal with them, are they really falling off or are they the Borg that is portrayed in comment 133?
Regards,
Antonio
6 years, 11 months