ssh into kvm-clients
by brizly vaan van Ulciputz
Hello Everyone,
ich wonder why i am not able to ssh-in in this case:
i have an kvm-'server' running 4 'guests'.
the guests are behind nat (default in kvm?).
running fresh fedora on all machine (host and guest), installed from
live-cd, enabled sshd and made sure system-config-firewall allows
ssh-in, i am not able to reach the guests by ssh.
i can ping them, by there from kvm-server given ip, by
openvpn-client-ip, all good.
[brizly@s28 ~]$ ping 192.168.24.22
PING 192.168.24.22 (192.168.24.22) 56(84) bytes of data.
64 bytes from 192.168.24.22: icmp_seq=1 ttl=64 time=2.50 ms
64 bytes from 192.168.24.22: icmp_seq=2 ttl=64 time=1.80 ms
64 bytes from 192.168.24.22: icmp_seq=3 ttl=64 time=2.01 ms
but ssh - i just got:
[brizly@s28 ~]$ ssh 192.168.24.22
ssh: connect to host 192.168.24.22 port 22: No route to host
i don't know were to start searching, firewall, selinux, openvpn...
Other openvpn-clients - installed the same way, but 'real' machines, not
kvm-clients - are reachable. although from kvm-client to outside-host.
Any ideas?
13 years, 10 months
Re: where does Network-Manager store its VPN settings?
by Antonio Olivares
--- On Sun, 5/30/10, fred smith <fredex(a)fcshome.stoneham.ma.us> wrote:
> From: fred smith <fredex(a)fcshome.stoneham.ma.us>
> Subject: where does Network-Manager store its VPN settings?
> To: users(a)lists.fedoraproject.org
> Date: Sunday, May 30, 2010, 6:56 PM
>
> When using NM (in Gnome) to configure a VPN (Sysco, which
> uses vpnc as the
> backend) where does it store the VPN configuration
> settings?
>
> Trying to find them so I can move them to a new F13
> installation rather than
> re-creating all of 'em.
>
> Thanks in advance!
>
> --
> ---- Fred Smith -- fredex(a)fcshome.stoneham.ma.us
> ----------------------------
>
> Do you not know? Have you not heard?
> The LORD is the everlasting God, the Creator
> of the ends of the earth.
> He will not grow tired or weary, and his
> understanding no one can fathom.
> ----------------------------- Isaiah 40:28 (niv)
> -----------------------------
> --
Check for a . file?
http://projects.gnome.org/NetworkManager/admins/
http://live.gnome.org/NetworkManager/SystemSettings
Hope this helps in some way.
Regards,
Antonio
--------------------------------------------------------------------------
Exodus 31:17
For in six days the Lord made heaven and earth, and on the seventh day he rested, and was refreshed.
--------------------------------------------------------------------------
13 years, 10 months
Network crash in F13
by Clodoaldo Neto
Whenever a heavy nfs4 file copy or internet file download is done
connectivity is lost and restarting NetworkManager does not fix it.
Only a reboot fixes it.
------------[ cut here ]------------
WARNING: at net/sched/sch_generic.c:255 dev_watchdog+0xf0/0x192()
Hardware name: A780GM-A
NETDEV WATCHDOG: eth0 (r8169): transmit queue 0 timed out
Modules linked in: nfs lockd fscache nfs_acl auth_rpcgss nls_utf8 fuse
vboxnetadp vboxnetflt vboxdrv sunrpc cpufreq_ondemand powernow_k8
freq_table ip6t_REJECT nf_conntrack_ipv6 ip6table_filter ip6_tables
ipv6 uinput snd_hda_codec_idt snd_hda_intel snd_hda_codec snd_hwdep
snd_seq snd_seq_device snd_pcm joydev nvidia(P) snd_timer i2c_piix4
snd soundcore i2c_core serio_raw edac_core r8169 mii k10temp
snd_page_alloc edac_mce_amd microcode raid1 ata_generic pata_acpi
usb_storage pata_atiixp [last unloaded: scsi_wait_scan]
Pid: 0, comm: swapper Tainted: P 2.6.33.4-95.fc13.x86_64 #1
Call Trace:
<IRQ> [<ffffffff8104b558>] warn_slowpath_common+0x77/0x8f
[<ffffffff8104b5bd>] warn_slowpath_fmt+0x3c/0x3e
[<ffffffff8139cd43>] ? netif_tx_lock+0x3f/0x68
[<ffffffff8139ce5c>] dev_watchdog+0xf0/0x192
[<ffffffff8106956d>] ? sched_clock_local+0x1c/0x82
[<ffffffff8106117c>] ? __queue_work+0x35/0x3c
[<ffffffff810583d6>] run_timer_softirq+0x1ba/0x25e
[<ffffffff8106c299>] ? ktime_get+0x60/0xb9
[<ffffffff810516c5>] __do_softirq+0xe0/0x1a1
[<ffffffff810702d8>] ? tick_program_event+0x25/0x27
[<ffffffff8100aa1c>] call_softirq+0x1c/0x30
[<ffffffff8100c21d>] do_softirq+0x41/0x7e
[<ffffffff81051518>] irq_exit+0x36/0x78
[<ffffffff81020234>] smp_apic_timer_interrupt+0x89/0x97
[<ffffffff8100a4d3>] apic_timer_interrupt+0x13/0x20
<EOI> [<ffffffff81028384>] ? native_safe_halt+0x6/0x8
[<ffffffff8101117a>] default_idle+0x31/0x4e
[<ffffffff81008bfd>] cpu_idle+0xa5/0xdf
[<ffffffff81423bf6>] start_secondary+0x1f2/0x233
This same hardware was working with Fedora 10
Regards, Clodoaldo Pinto Neto
13 years, 10 months
Relabeling all audio files on a server
by Don KeLzy
I have a server which houses thousands of audio tracks and materials.
Recently I started using a web application which seems to have a ew
problems with the naming convention used by default.
For example it has a problem with apostrophe signs ('), I want to be
able to create a script which goes to through the folder and all
files and folders under it and renames all the tracks by deleting
every entry of the apostrophe where it encounters them.
E.g. This ain't no game => This aint no game
Mr Brown's Last supper => Mr Browns Last supper
and like that. I want the apostrophe sign to be deleted but everything
else stays the same.
Any suggestions on doing this would really be appreciated. Thanks.
13 years, 11 months
radeon to nvidia to radeon produces pain
by Michael Hennebry
I'm on my third video card.
The first was a radeon.
After I zapped that one, I had it replaced with
an nvidia card because it had AGP and I could find it.
Having cooked or otherwise damaged that one,
I replaced it with a VisionTek Radeon HD 3650.
It was the AGP card I could find.
Knoppix 5.1.0 runs just fine.
I'm using it now.
knoppix@Knoppix:~$ uname -a
Linux Knoppix 2.6.19 #7 SMP PREEMPT Sun Dec 17 22:01:07 CET 2006 i686
GNU/Linux
knoppix@Knoppix:~$
Fedora 11, not so great.
It never gets to X.
The last messages to the console involve the ethernet connection.
Disconnecting and reconnecting results in more messages.
Alternate consoles show the login prompt.
After logging in as root, I have to run dhclient explicitly
to acccess the internet.
At the suggestion of a friend, I did
yum grouperase 'X Window System'
yum groupinstall 'X Window System'
It didn't help.
Xorg.conf now says I have vesa where I used to say I had nvidia.
What do I need to do to make Fedora work?
--
Michael hennebry(a)web.cs.ndsu.NoDak.edu
"Pessimist: The glass is half empty.
Optimist: The glass is half full.
Engineer: The glass is twice as big as it needs to be."
13 years, 11 months
F13 installation: successful with small problem and larger one.
by Fred Smith
Hi gang!
I installed F13 on my eeepc 901 on Friday. Since I changed the partitioing
scheme, I backed up the whole thing onto a USB HD first so I could restore
my home directory afterwards (in fact I also kept dd images of /dev/sda
and /dev/sdb in case I decided to put F12 back on it later.)
first small problem:
I wanted /dev/sda (4 gig SSD) to contain /boot and /. I wanted /dev/sdb
(16gig SSD) to contain swap and /home. I DID NOT want LVM. I DID want
encrypted filesystems. But when I tell Anaconda to partition without LVM
and without VG, it disables encrypted partition option. Is there any
way to regain that feature?
second (not quite so) small problem:
every time I tried to manually create a LVM/VG-free partitioning scheme
as described above, Anaconda would crash. I could restart the installation
without rebooting, but it would fail in other strange ways (sorry, I failed
to take notes on this) and I ended up having to do a power-off cold restart
to get it to work again. Every time. Tried 6 or 8 times before moving on...
Therefore, I used Anaconda to just partition /dev/sda as above (/boot and
/, UNencrypted since it wouldn't let me choose encryption if I didn't also
allow it to use LVM) assuming I could later (after installation) manually
partition /dev/sdb (again, as described above) and tweak /etc/fstab to
mount /dev/sdb2 as /home.
Third, larger problem:
So, I did it that way and it works. sort of.
Booting up and logging in via GDM gives me a GUI desktop that all seems
to work well. HOWEVER, when I try to ssh to the machine from another one
it says this:
fredex(a)192.168.2.117's password:
Last login: Sat May 29 20:14:16 2010 from 192.168.2.12
Could not chdir to home directory /home/fredex: Permission denied
/usr/bin/xauth: timeout in locking authority file /home/fredex/.Xauthority
[fredex@eeepcbox /]$
as you can see it won't start me off in /home/fredex but leaves me in /.
Funny thing is, after this happens I can "cd /home/fredex" without any
trouble at all.
I'm going to assume that the xauth error is related to the same thing,
whatever it may be, that causes the chdir error.
googling showed me a lot of people have had similar problems, but none of
the suggestions actually solved it for me.
Operating on the guess that my having manually mounted and manually copied
my home dir into place somehow left something broken, I created a new user
(deleteme) and tried doing the SSH as that user. Unfortunately, the same
thing happens, so I guess it's NOT a result of the way I put my data in
/home/fredex.
If I comment out the line in /etc/fstab that mounts /dev/sdb2 on /home, and
reboot and log in then it logs in without any trouble (though of course
my files aren't there, and there's not enough room to put them there.)
(as you can guess, there's also a /home/fredex on /dev/sda2 that was
created during the original install, and my changing fstab to mount
/dev/sdb2 over it merely hides it--it's still there if we do not mount
/dev/sdb2 over it. I don't see how this could cause a problem such as
this one...)
It must therefore be something about having /home mounted the way I'm doing
it, but it beats me what it might be. here's /etc/fstab:
[fredex@eeepcbox /]$ cat /etc/fstab
#
# /etc/fstab
# Created by anaconda on Fri May 28 15:11:59 2010
#
# Accessible filesystems, by reference, are maintained under '/dev/disk'
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info
#
UUID=fb18a565-f3ea-45aa-a2ad-af9d241e3014 / ext4 defaults,noatime 1 1
UUID=4045da8d-003a-49b0-a01b-fdc55971e81d /boot ext4 defaults,noatime 1 2
# /home mount added by fcs 05/28/10
UUID=7d165598-20a1-4f18-974c-f7f21473c12c /home ext4 defaults,noatime 1 2
#/dev/sdb2 /home ext4 defaults,noatime 1 2
tmpfs /dev/shm tmpfs defaults 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
sysfs /sys sysfs defaults 0 0
proc /proc proc defaults 0 0
# all below added by fcs 05/28/10
/dev/sdb1 swap swap defaults 0 0
tmpfs /var/tmp tmpfs noatime 0 0
tmpfs /tmp tmpfs noatime 0 0
Above you'll see a commented line that mounts /dev/sdb2, and an active
line that mounts by UUID. That's the UUID of /dev/sdb2, taken from the
output of dumpe2fs. No matter which line is active, the same error
occurs.
I DO NOT see ANYTHING in /var/log that relates to these errors. Not in
the xorg logs, not messages, not secure, not anywhere.
I'm stumped, anyone got any sage adivce for me?
Thanks in advance!
--
---- Fred Smith -- fredex(a)fcshome.stoneham.ma.us -----------------------------
The eyes of the Lord are everywhere,
keeping watch on the wicked and the good.
----------------------------- Proverbs 15:3 (niv) -----------------------------
13 years, 11 months
netinst images: What's the point?
by Richard Shaw
Ok, I think I know what the point is, but there is little
documentation for these specific files and I can't figure out how to
get them to work correctly.
The netinst image seems to be the same as the boot.iso but with
installer.img added to it, which is exactly what I'm looking for,
except for the fact it doesn't work.
If I boot (on a USB flash drive) the netinst image everything works
until it looks for the repo files which I assumed it would try to find
online or at least ask me where to find them, but it doesn't.
If I boot the netinst image with "askmethod" and then specify a HTTP
mirror then it works except that it tries to re-download install.img
which is already on the flash drive.
So the question in my subject remains: What's the point of the netinst
image if it doesn't seem to work?
Richard
13 years, 11 months
DVD Installer on USB...?
by Christopher A Williams
I love the speed of the USB installer from the Live CD...!
But I would also like to stop using so many DVDs for, well everything.
USB drives are much more convenient, portable, durable, and reusable.
My ideal scenario would be able to put the DVD installer ISO onto a
bootable USB stick as well - specifically for the portability USB drives
give over DVDs, and also because USB sticks are basically a lot faster
and easily re-used once I'm done with the install. I mean, do you use
the install DVD for anything else once you've done the install?
Again - this would not be a Live image. It would be the DVD installer
itself running from a USB drive for the specific purpose of doing
exactly what the DVD installer does now.
I've tried to figure out how to do this a couple of releases back, was
unsuccessful after about 30 minutes - OK, so I gave up pretty fast.. :)
- and went back to just burning the DVD. But I'm still interested in
having this as an option and I'd bet I'm not alone.
Anyone have a how-to/magic incantation to do this? Could we eventually
make this an option for Fedora installers too?
Cheers,
Chris
--
====================================================
"The most effective way to do it is to do it."
--Amelia Earhart, American Aviation Pioneer
13 years, 11 months
Correct instructions for installing NVidia proprietary driver on Fedora 13?
by Steven P. Ulrick
Hello Everyone,
If the output of "/sbin/lspci | grep VGA" is:
03:00.0 VGA compatible controller: nVidia Corporation G94 [GeForce 9600 GT] (rev
a1)
are the correct instructions for installing the proprietary NVidia driver still
located here:
http://fedorasolved.org/video-solutions/nvidia-yum-kmod
I have tried the above referenced instructions a couple of times, with the same,
bad results... I am now going to try again, paying special attention to the
"Troubleshooting" section... With this exact system, I have been so used to
everything working (up until I installed Fedora 13) that I have never even had
to look at the troubleshooting steps for these instructions before.
I will get back to you with whatever happens.
Steven P. Ulrick
13 years, 11 months
Problems with SELinux and cronjobs
by Gijs
Hello List,
I'm trying to get my cronjobs to work but after reading all kinds of
info on SELinux, I'm not even one step closer to solving the problem. I
have the following in my cronlog (yes, SELinux is set in permissive
mode, for now..):
May 28 09:15:01 mail crond[21390]: CRON (*system*) ERROR:Could not set
exec context to user_u:system_r:unconfined_t for user, but SELinux in
permissive mode, continuing
May 28 09:15:01 mail crond[21391]: (root) CMD (/somescript.sh)
May 28 09:16:01 mail crond[21395]: CRON (root) ERROR:Could not set exec
context to root:system_r:unconfined_t:SystemLow-SystemHigh for user,
but SELinux in permissive mode, continuing
May 28 09:16:01 mail crond[21396]: (root) CMD (/usr/bin/php
/somephpfile.php > /dev/null 2>&1)
Since the cronjobs run every 15 minutes, I get tons of these messages.
The first errormessage is from my systemwide cron, and the other is from
a cronjob that is set with "crontab -e".
[root@mail ~]# ls -laZ /somescript.sh
-rwxr-xr-x root root root:object_r:user_home_t:s0 /somescript.sh
[root@mail ~]# ls -laZ /somephpfile.php
-rwxr-xr-x someuser somegroup root:object_r:user_home_t:s0
/somephpfile.php
I have absolutely no idea what to do to solve this. I have no idea what
a "exec context" is for that matter, nor can I find any understandable
information on that subject.
Hope someone can help me with this.
Regards, Gijs
13 years, 11 months