Anyone know the LVM UUID Format?
by Timothy Selivanow
Does anybody off hand know the format that is used by LVM, as it isn't
standard UUID obviously. Is it just 6-4-4-4-4-4-6 of [a-zA-Z0-9]? Or
is it derived from a valid 8-4-4-4-12 [a-f0-9]? Does it have any
metadata embedded in it, e.g. creation time, host, etc., similar to some
of the UUID generation methods?
I want to be able to generate random UUIDs for use in LVM, but
genuuid(1) can't output in the LVM format so I'll need to make a script
if a tool doesn't currently exist to do this. I've tried to search for
this on google, but "LVM UUID format" or generator or script or standard
doesn't come up with anything useful.
--Tim
__________________________________________________________________________
/ People disagree with me. I just ignore them. \
\ -- Linus Torvalds, regarding the use of C++ for the Linux kernel /
--------------------------------------------------------------------------
\
\ \
\ /\
( )
.( o ).
15 years, 11 months
PPTP VPN
by tony.chamberlain@lemko.com
I am attempting to set up a VPN. Here are the two machines:
Server: In public internet. IP address 69.93.89.74 (NOT its real IP address. I changed here for securioty reasons).
Is on public network, but does NOT have second ethernet card on 192 network (YET).
Client: 192.168.5.100 (local machine) but can get out to the public network.
I am doing some experiments first. The end goal is to have the server also on the 192 network, and to use the server
from home to get into the 192 network.
Right now I am using pptpconfig. On the server I set this
# (Recommended)
localip 192.168.0.1
remoteip 192.168.0.234-238,192.168.0.245
When I use pptp from the client to the server, everything connects. I cannot really test it this way since the client can
already access the outside internet.
What I did on the server was use NAT to translate something like 7.7.7.7 to some address on the public network where I can ssh.
I did an ssh -l tony 7.7.7.7 to verify that it was correctly translated, which it was.
Then on the client I added a route 7.7.7.7/32 (and I tried numbers other than 32) to go through my ppp0. So theoretically, on
the client I should also be able to ssh -l tony 7.7.7.7 but when I tried that it didn't do anything.
Will the client not recognize nat?
Another question. I also got this message: pptpconfig: usepeerdns was set, but /{var/run,etc}/ppp/resolv.conf was not readable
I edited /var/run/ppp/resolv.conf (/etc/resolv.conf is symbolic link to it) and added what was on the server. The first time afterwards
I tried to ppp to the server, I did not get that message and I did get a message about resolv.conf being replaced. But the next
time I tried, I got pptpconfig: usepeerdns was set, but /{var/run,etc}/ppp/resolv.conf was not readable again.
So I am not sure I got that right.
Is there anyway to test this ppp while I am still waiting for the second ethernet connection? (When I get the second connection I will first
put it on our 10.0.0.0/8 network which is not on the client, so I can test it that way).
15 years, 11 months
fsck
by tony.chamberlain@lemko.com
Is there anyway to automate the following (all from one script):
Boot to single-user mode (or whatever is required)
run fsck
reboot back to level 5 (or 3)
so that you can kick it off, go away,
come back an hour or so later and it'll
all be done (via IP)?
15 years, 11 months
Re: fsck
by tony.chamberlain@lemko.com
thanks for the suggestion about the touch /forcefsck
someone here wanted me to ask if we can do touch /forcefsck -a
to automate the fsck so no one has to be there to answer "yes", "yes", ...
15 years, 11 months
flatbed scanner?
by Tom Horsley
The last time I got a new scanner I spent about a week
correlating the lists of scanners actually available for
purchase with the list of supported devices on the sane
web pages (99.999% of which are models that are out of
production :-).
Has anyone recently purchased a flatbed scanner with good
linux support? (I mostly want it for documents and such,
not photo or negative scanning).
The Canoscan LIDE 60 I wound up with at the end of the first
painful search has apparently died the real death. It doesn't
show up as a USB device at all. If it had a fuse, I'd say
it had blown it :-). Naturally they are up to LIDE 90 now
(60 no longer made), and the 90 isn't supported in sane.
15 years, 11 months
moving /home
by Michael Hennebry
I want to move /home to another internal disk.
I know how to make the partition and to copy files to it.
What I'm not sure of is how to change things so that
the new partition automatically mounts as /home .
If I edit fstab and reboot will it stick?
Is fstab the point of truth or
will some program "fix" it for me?
I've read that editing fstab is the way to go,
but I've also read that fstab is edited by programs.
--
Michael hennebry(a)web.cs.ndsu.NoDak.edu
"Those parts of the system that you can hit with a hammer (not advised)
are called Hardware; those program instructions that you can only
curse at are called Software."
15 years, 11 months
Wither pirut?
by G.Wolfe Woodbury
Why has pirut been dumped?
According to the wiki, it was supposed to remain as an alternative to
Package-kit but it has been obsoleted and removed from rawhide and the
preview release completely.
Someone in a position to know needs to explain the vendetta that has
left us with the POS that is gnome-packagekit.
--
Wolfe
15 years, 11 months
F9 - Network interface disabled after each reboot
by Christopher Mocock
Hi,
I'm having a strange problem with Fedora 9 Preview. At first I couldn't
get my network port to be configured by Network Manager. There are no
details of it in the NetworkManager configuration screens and I can't
"Add" it as all the buttons are greyed out.
Frustrated by the inability to do anything with NM, I decided instead to
use system-config-network. The NIC is listed there so I configured it,
made sure to check the "start interface on boot" button. Unticked the
box which lets NetworkManager control the interface.
Now when I activate the interface in system-config-network, it works
fine, but every time I reboot it's disabled again.
I've tried unchecking the "Enable Networking" button in NetworkManager
but that makes no difference - and annoyingly is always checked again
after a reboot.
System-wise, I started with the F9 Preview and have done a couple of yum
updates so I'm up-to-date. The onboard NIC is an Intel 82562EZ 10/100
(e100 module).
Any ideas why this might be happening? Is Network Manager likely to be
the culprit, and if so, is it fairly safe to uninstall?
Thanks in advance,
--
Chris Mocock
15 years, 11 months
Nagios yum install
by Mike Morraye
Dear List,
I just installed nagios on my Fedora 8 trough Yum. (standard repo's)
Now it seems that the rpm installs in different dir's than what you're
expected to do while installing from source.
Now it's quite hard to follow the official nagios manual, and i can't seem
to find modified ones.
What should I do?
15 years, 11 months
openldap + kmail
by Timothy Murphy
Is anyone successfully using openldap to maintain an address book?
As far as I can see, if you save kaddressbook data in LDIF format,
the resulting file has to be extensively modified
before it becomes acceptable to openldap.
Eg the DN of a typical entry in the LDIF file reads
dn: cn=Andrew Ryan,mail=aryan27(a)tcd.ie
which openldap certainly will not like.
What puzzles me about this is that the issue must be one
which occurs to many people.
How is one meant to keep a "global" address book under Fedora?
Incidentally, the KMail handbook claims that there is some way
of using MySQL with the address book,
but I have never seen any explanation of how to do this.
15 years, 11 months