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
1 year, 2 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
3 years, 11 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.
4 years, 2 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.
4 years, 6 months
Kernel 4.1.4 breaks external display
by CS DBA
Hi All;
I'm running Fedora 21 on a Dell M3800 laptop, been working great.
Updating to the latest kernel however breaks my external display
i.e. I plug the external monitor in and nothing happens, previous to the
update when I plug in the external monitor
the system would auto configure the second screen and I could use both
monitors.
I've googled the issue but not found anything.
Thoughts?
Thanks in advance
5 years, 4 months
rpm in background
by Patrick Dupre
Hello,
This task used to run very often on my machine and makes every slow.
How can I manage it?
rpm -q -a --queryformat %{NAME}\n%{VERSION}-%{RELEASE}\n%{EPOCH}\n%{GROUP}\n%{SUMMARY}\n\n
Thank.
===========================================================================
Patrick DUPRÉ | | email: pdupre(a)gmx.com
Laboratoire de Physico-Chimie de l'Atmosphère | |
Université du Littoral-Côte d'Opale | |
Tel. (33)-(0)3 28 23 76 12 | | Fax: 03 28 65 82 44
189A, avenue Maurice Schumann | | 59140 Dunkerque, France
===========================================================================
5 years, 4 months
multipathd rienstated message filling up log
by Shawn Bakhtiar
Good morning,
/var/log/messages is being filled with following message "multipathd: 104:0: reinstated". I though it might be a bad controller card, or something wrong with the hardware as suggested in IRC, but I have installed FC 22 64bit on two separate machines (same configuration) and I’m getting these same message.
The messages don’t seem to be effecting performance or have any effect on data, and short of being annoying, I want to make sure there is not some more serious/heinous issue going on that I need to be aware of.
Machine Specs:
Proliant DL160 Smart Array E200 controller running RAID 1 (250GB mirrored).
[root@postoffice ~]# blkid
/dev/block/253:4: LABEL="root" UUID="7e2a3fef-cab0-44a3-b5ec-cd9a50267ee0" TYPE="xfs"
/dev/block/253:2: UUID="dBG0Mg-6MaT-Jfm3-XuFH-5PeA-a881-D7VWfa" TYPE="LVM2_member" PARTUUID="449dbbad-02"
/dev/block/253:1: UUID="b8cfeac4-9d28-402d-9ba6-7f41f583508a" TYPE="ext4" PARTUUID="449dbbad-01"
/dev/block/253:3: UUID="362b77ca-8bf7-434a-96cf-6e30fd9c5a79" TYPE="swap"
/dev/cciss/c0d0: PTUUID="449dbbad" PTTYPE="dos"
/dev/sda1: UUID="6412b71f-3dfb-41c9-82af-5030dcad856d" TYPE="ext3"
/dev/mapper/mpatha: PTUUID="449dbbad" PTTYPE="dos"
[root@postoffice ~]# multipath -l
Aug 14 07:58:43 | cciss/c0d0: No fc_host device for 'host0'
Aug 14 07:58:43 | cciss/c0d0: No fc_host device for 'host0'
Aug 14 07:58:43 | cciss/c0d0: No fc_remote_port device for 'rport-0:0-0'
mpatha (3600508b10010503953574630334a0004) dm-0 HP ,LOGICAL VOLUME
size=233G features='1 queue_if_no_path' hwhandler='0' wp=rw
`-+- policy='service-time 0' prio=0 status=active
`- 0:0:0:0 cciss/c0d0 104:0 active undef running
[root@postoffice ~]# more /etc/fstab
...
UUID=7e2a3fef-cab0-44a3-b5ec-cd9a50267ee0 / xfs defaults 0 0
UUID=b8cfeac4-9d28-402d-9ba6-7f41f583508a /boot ext4 defaults 1 2
UUID=362b77ca-8bf7-434a-96cf-6e30fd9c5a79 swap swap defaults 0 0
/dev/sda1 /media/USBBackup_001 auto defaults 0 0
[root@postoffice ~]# df -m
Filesystem 1M-blocks Used Available Use% Mounted on
devtmpfs 1966 0 1966 0% /dev
tmpfs 1976 0 1976 0% /dev/shm
tmpfs 1976 1 1976 1% /run
tmpfs 1976 0 1976 0% /sys/fs/cgroup
/dev/mapper/fedora_postoffice-root 233358 168507 64852 73% /
tmpfs 1976 0 1976 0% /tmp
/dev/mapper/mpatha1 843 148 636 19% /boot
/dev/sda1 1691174 329305 1275957 21% /media/USBBackup_001
tmpfs 396 0 396 0% /run/user/1000
Sample message logs:
Aug 14 07:24:21 postoffice multipathd: 104:0: reinstated
Aug 14 07:24:26 postoffice multipathd: 104:0: reinstated
Aug 14 07:24:31 postoffice multipathd: 104:0: reinstated
Aug 14 07:24:36 postoffice multipathd: 104:0: reinstated
Aug 14 07:24:41 postoffice multipathd: 104:0: reinstated
Aug 14 07:24:46 postoffice multipathd: 104:0: reinstated
Aug 14 07:24:51 postoffice multipathd: 104:0: reinstated
Aug 14 07:24:56 postoffice multipathd: 104:0: reinstated
Aug 14 07:25:01 postoffice multipathd: 104:0: reinstated
Aug 14 07:25:06 postoffice multipathd: 104:0: reinstated
Aug 14 07:25:11 postoffice multipathd: 104:0: reinstated
Aug 14 07:25:16 postoffice multipathd: 104:0: reinstated
Aug 14 07:25:21 postoffice multipathd: 104:0: reinstated
Aug 14 07:25:26 postoffice multipathd: 104:0: reinstated
Aug 14 07:25:31 postoffice multipathd: 104:0: reinstated
Aug 14 07:25:36 postoffice multipathd: 104:0: reinstated
Aug 14 07:25:41 postoffice multipathd: 104:0: reinstated
Aug 14 07:25:46 postoffice multipathd: 104:0: reinstated
Aug 14 07:25:51 postoffice multipathd: 104:0: reinstated
Aug 14 07:25:56 postoffice multipathd: 104:0: reinstated
Aug 14 07:26:01 postoffice multipathd: 104:0: reinstated
Aug 14 07:26:06 postoffice multipathd: 104:0: reinstated
Aug 14 07:26:11 postoffice multipathd: 104:0: reinstated
Aug 14 07:26:16 postoffice multipathd: 104:0: reinstated
Aug 14 07:26:21 postoffice multipathd: 104:0: reinstated
Aug 14 07:26:26 postoffice multipathd: 104:0: reinstated
Aug 14 07:26:31 postoffice multipathd: 104:0: reinstated
Aug 14 07:26:36 postoffice multipathd: 104:0: reinstated
Aug 14 07:26:41 postoffice multipathd: 104:0: reinstated
Aug 14 07:26:46 postoffice multipathd: 104:0: reinstated
Aug 14 07:26:51 postoffice multipathd: 104:0: reinstated
Aug 14 07:26:56 postoffice multipathd: 104:0: reinstated
Aug 14 07:27:01 postoffice multipathd: 104:0: reinstated
Aug 14 07:27:06 postoffice multipathd: 104:0: reinstated
5 years, 4 months
Moving Fedora 22 to RAID 0 - Trouble with initramfs
by Samuel Rakitničan
I have moved / partition to another partition formed in RAID 0
consisting of two SSDs. I have updated fstab with new partition UUID,
reinstalled GRUB2 and rebuild initramfs using dracut -f. Now computer
boots fine from RAID partition but hangs on when initramfs needs to
boot kernel from / partition found on RAID, because it can't find
partition with UUID that I've put in fstab.
Now from what I have understood when it drops me to dracut prompt in
initramfs boot process I indeed can't find the RAID assembled BUT I
can assemble it manually by using "mdadm -I /dev/sda" and "mdadm -I
/dev/sdb". If I boot from old hard drive the RAID is assembled
normally in kernel on boot time:
$ journalctl -b | grep "kernel: md"
Kol 30 01:20:53 computername kernel: md: bind<sdb>
Kol 30 01:20:53 computername kernel: md: bind<sda>
Kol 30 01:20:53 computername kernel: md: bind<sdb>
Kol 30 01:20:53 computername kernel: md: bind<sda>
Kol 30 01:20:53 computername kernel: md: raid0 personality registered
for level 0
Kol 30 01:20:53 computername kernel: md/raid0:md126: md_size is
500129792 sectors.
Kol 30 01:20:53 computername kernel: md: RAID0 configuration for md126 - 1 zone
Kol 30 01:20:53 computername kernel: md: zone0=[sda/sdb]
Kol 30 01:20:53 computername kernel: zone-offset= 0KB,
device-offset= 0KB,
Kol 30 01:20:53 computername kernel:
Kol 30 01:20:53 computername kernel: md126: detected capacity change
from 0 to 256066453504
Kol 30 01:20:53 computername kernel: md126: p1 p2 p3
Kol 30 01:20:53 computername kernel: md: export_rdev(sdb)
Kol 30 01:20:53 computername kernel: md: export_rdev(sda)
Kol 30 01:20:53 computername kernel: md: export_rdev(sdb)
Kol 30 01:20:53 computername kernel: md: export_rdev(sda)
The RAID is formed using onboard southbridge Intel controller. I have
managed to extract data from initramfs but I am not sure what to look
for, in particular what brings up RAID assembly.
/etc/udev/rules.d/65-md-incremental-imsm.rules seems like it's
responsible to assemble, but I am not sure.
Any thoughts why imsm RAID is not assembled in initramfs on boot?
5 years, 4 months
sometimes xfce turns crazy
by François Patte
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Bonjour,
As I use to suspend for some time my computer every day without any
problems, today I am asked to get authenticated as root to perform
this action (as well as to shutdown the computer...)
I did not update my system, I did not change anything to my config, I
did not install any new software....
This kind of problem sucks!!!
Thank you for any clue!
- --
François Patte
UFR de mathématiques et informatique
Laboratoire CNRS MAP5, UMR 8145
Université Paris Descartes
45, rue des Saints Pères
F-75270 Paris Cedex 06
Tél. +33 (0)1 8394 5849
http://www.math-info.univ-paris5.fr/~patte
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iEYEARECAAYFAlXkOLkACgkQdE6C2dhV2JXZIgCgr+lUJ1GH5ujLsjtzCBJFAGWf
UQ4An2BnrUnPzOjNm7PKVMQsubRBO1j3
=pPJy
-----END PGP SIGNATURE-----
5 years, 5 months