I was using pfSense in a vm under esx but I want to move to Xen and prefer
something that can run as a pv guest. Anyone got any reco's of what can run on
top of CentOS to perform a similar role as pfSense (perform nat/pat and
firewall etc between two interfaces)?
Thanks for any ideas!
jlc
Indeed, the LSI logic controllers that ship with some HP workstations
do not provide adequate RAID protection and as such, is recommended
that you either install another RAID controller in the machine or use
software RAID.
Most onboard controllers are pretty lackluster, and those that use fake
Maybe so, but I've found the P800s to be incredibly flakey.
Wow, they are very nearly the same card! Made by the same folk to? Bad luck I
guess, all my SA controllers have been rock solid!
jlc
___
CentOS mailing list
CentOS@centos.org
Why not install vmware-server in your Centos? Then you can install pfsense in
it. But, I think it's bad practice to install pfsense in a vm.
CMIIW.
vmware and xen on some box? Its a lab/ POC environment anyway...
___
CentOS mailing list
I have read a few ways to do this, but not 100% sure.
I need the interfaces reliably associated to the hardware (there are more than
one), so the ifcfg-ethn has the mac address in it. I need to match the mac
address of an old router that is about to be removed so I need not change any
dns
Modify /etc/sysconfig/network-scripts/ifcfg-ethX and remove the HWADDR
line if you have one, and add a MACADDR with the mac address you want
to use.
Beware, some network cards may protest having the mac address changed,
and using both HWADDR and MACADDR can cause issues. See
How does chkconfig determine what number to give to a link when you turn a
service on?
Thanks!
jlc
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
How do you send special keystrokes in vncviewer?
I need to send Shift-F10...
Searching the net showed nothing and realvnc's webpage yielded nothing either.
Thanks!
jlc
___
CentOS mailing list
CentOS@centos.org
How does one access the properties associated with the blanking CentOS does at
init3?
How would I disable this for example?
Thanks!
jlc
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
I have a series of unmounted lv's that are used in xen vm's of various flavors
in a lab environment. I made a script that I use to backup all of them prior to
doing anything I may need to undo and all I execute is:
dd if=/dev/vgname/lvname of=/dir/name.img
Are there any additional parameters I
I am possibly going to be sent for my RHCE training.
Looking at
https://www.redhat.com/courses/rh300_rhce_rapid_track_course_and_rhce_exam/details/
I am thinking the concepts do not look difficult at all, having a manual and
instructor makes this look fairly easy actually.
The only thing that
Only if you were accidentally on the wrong machine at the time.
grin
I just did an #init 0 at Dom0's console on my test machine over the weekend and
tanked a handfull of HVM's, heh.
Very easy to do...
jlc
___
CentOS mailing list
CentOS@centos.org
I am stumped to figure out how to logout a user after they run a script
interactively when logged into the console. I see how to do it if in x, but
this server does not have x installed.
Thanks!
jlc
___
CentOS mailing list
CentOS@centos.org
First, I'd expect some problems with the device drivers when you try to
restore a vmware image onto a xen virtual environment - unless they
present similar virtual hardware.
Actually, your lucky on this one. Windows *always* loads an ide driver into the
Critical Device Database unless you
What are the ramifications to a large key length when using pub/priv keys
for ssh authentication. I have some remote admin and file transfers to manage
and only have ssh access w/o vpn to use for it.
Thanks,
jlc
___
CentOS mailing list
CentOS@centos.org
No particular impact, especially for file transfer. The pub/priv keys are only
used for authentication and a symmetric key is used for encrypting traffic
during the session. I use a 2048-bit RSA key routinely - if it's any slower
than a 1048-bit key during the authentication phase, it's not
I understand this may be able to be done with Samba?
Anyone know the syntax for a CentOS 5.1 Samba client
and what needs to be done to Windows 2008 Server to
allow this (I suspect out of the box it wouldn't allow it)?
I was hoping to use SSH with keys and script the login
and execution of the
It's been suggested (in the Dell Linux mailing list) that it is
related to the virtual CD device of the DRAC.
As far as I know, it is. I recall something about it emulating a
usb drive so it could be hot plugged with a new disc if you will.
But why would it change after install? Is it perhaps a
In fact, one can even lose data due to Windows bugs if things are
done correctly,
Actually, it is incorrect to eject the usb drive through Explorer in
Vista if it has the NTFS filesystem:) If you perform the steps required
pre-hotfix, your good to go grin
jlc
However, I also have a Win98 box on the LAN that I would like to be
able to print on the CentOS printer. When I try to connect to the
printer, Win98 tells me that it can't find the network...?
Any suggestions?
Possibly name resolution issues on the Win98 box? Can you resolve a ping using
the
Can anyone vouch for a usb wifi nic that works under
CentOS 5.1 reliably with good reception?
Thanks!
jlc
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
I am trying to help a small shop migrate off an old DOS sales application and
was hoping to find a Linux alternative. Anyone have any experience with these
types of applications, it would likely be a 2-3 user setup.
Thanks!
jlc
___
CentOS mailing list
I need to verify some directories of backed up data versus restored data. What
would you recommend as the type of comparison to do, and which tool would give
the easiest/most usable output?
Thanks!
jlc
___
CentOS mailing list
CentOS@centos.org
# fiff /path/to/dir1 /path/to/dir2
Regards,
Max
diff? Yeah, that's what I am about to run. Just thought their might be
something it might miss in that scenario. Thanks for the confirmation!
jlc
___
CentOS mailing list
CentOS@centos.org
I am trying to determine the root of an issue I am having.
How can I watch traffic destined to a specific port on my CentOS 5.1
box to see if its even hitting it? It would be udp traffic.
Thanks!
jlc
___
CentOS mailing list
CentOS@centos.org
Try tcpdump -i interface udp port port.
-Chris
That's so going in my toolbox :)
This confirmed what I needed to know!
Thanks everyone!
jlc
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
I have a dual homed server in an install for someone who is very cost sensitive.
This server originally is being setup as an Asterisk server, but now the
simplest
thing for me to do is also set it up to provide internet access for the small
shop as well.
So it will have one external, WAN
And stick with md-raid 10 (also known as software raid) because it is
much more intelligently designed than any
closed-source-embedded-raid-controller.
Pretty strong opinion that would be disputed by many don't you think?
I would venture to say that any large system involved in SLA's with 5 9's
This CentOS wiki may help:
http://wiki.centos.org/HowTos/Network/IPTables
Akemi
Akemi,
That was helpful (I should have checked the wiki:).
After reading that and the RH related links, I think I have what I need
but I am unclear about one aspect. What is the correlation between filtering
LAN
Fajar,
I really appreciate all the detailed help here! I have some questions.
Hi JLC,
There are 2 ways to implement firewall: negative list and positive list. Looks
like you want a very strict one that is positive list.
Assuming eth0 is WAN, and eth1 is LAN (assuming 192.168.0.0/24)(please mind
iptables will process rules until a match. If the match is -j
ACCEPT/REJECT/DROP, it will end processing there. If it's -j
another_chain, it will jump to the other chain. If it matches a rule
in the other chain with -j ACCEPT/REJECT/DROP, it will stop processing
there. Otherwise, if no rules in
Is it feasible to write protect the /etc/sysconfig/iptables file so nothing can
overwrite it, such that at least the config is persistent through a reboot? If
not, is there a better way to accomplish this?
Thanks!
jlc
___
CentOS mailing list
I really didn't understand what you are trying to accomplish. Please
give more details, perhaps explain what problem are you trying to
solve.
Filipe
Filipe,
No problem, but rather just want to make sure the original config never changes
or persists past a reboot.
Thanks,
jlc
$INCLUDE common.inc
Please refer to bind documentation for more information on this statement.
HTH,
Filipe
Got it, so both views reference this one file.
Thanks!
jlc
___
CentOS mailing list
CentOS@centos.org
What exactly did you add to /etc/sysctl.conf?
Do you have any errors when you run sysctl -p on the command line as root?
Filipe
Hi,
I added the following to /etc/sysctl.conf:
net.ipv4.ip_forward = 1
sysctl -p does not show any errors.
So after a #service network restart, I see this:
Shutting
I expect that you will see net.ipv4.ip_forward = 1
Please confirm.
Barry
You were right, thanks for the info.
jlc
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
I made a post in the Fedora list that didn't yield much help regarding this.
I need to use a CentOS5.1 server to remotely boot a few Fedora 9
workstations. I have the option of using straight PXE, or even reflashing
gPXE to the LOM for the clients. What I am interested in knowing is the
best
What's wrong with NFS? You can even have root on NFS these days
A quick google found:
http://www.digitalpeer.com/id/linuxnfs
Nothing actually, just no experience with it. What is the performance like of
NFS?
Given good hardware, does this make for a production quality setup?
Thanks!
jlc
The key is mostly sufficient memory so
that the machine doesn't swap and can keep commonly accessed programs
in I/O cache.
If the clients had lots of ram (=2Gb), can I disable the swap file altogether?
Thanks!
jlc
___
CentOS mailing list
I was able to install RHEL 4 with no install parameters, but I can't upgrade
using the RHEL 5 DVD, still the same issue..no HD detected in install process.
What does your bios say for SATA config? I use many asus mobo's for
desktop/lab/home setups.
That mobo should work, all mine have the SATA
And the AHCI does install CentOS, but when the install process its finished it
boots up and says could not mount such file system, not such file or
directory
Hrm, AFAIK you should use AHCI w/ CentOS. As far as it complaining after boot
sounds like it simply didn't load the module it needed
I need to redirect a printer/scanner with rdesktop, anyone know of this is
doable?
Thanks!
jlc
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
How does one do this? For example:
# lspci | grep USB
00:1a.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI
Controller #4 (rev 02)
00:1a.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI
Controller #5 (rev 02)
00:1a.2 USB Controller: Intel Corporation 82801I
the UPS isn't a PCI device. the USB channels on the motherboard are,
however, thats what you see.
I think I worded this bad :) I want to know what USB controller (it is a PCI
device)
that the USB based UPS is attached to. Its only a coincidence, but it is
attached to
the USB port belonging to a
Is there a method in centos
where a program can be started that listens on a given IP port
and when something connects it will transfer data from the RS232 port
to the IP port. reads and writes of course.
Can't help you with a software solution, but Digi makes a hardware device
that does just
I'm not sure as it relates specifically to XEN - but I would have a
look through the /etc/rc.d
directory. If it's not being turned on there, 'egrep -i iptables'
/etc/init.d/* and see if it's in any startup script there.
Slim chance they may be something in rc.local as well.
-Peter
Peter,
Arghh,
How does one view the dm-{n} names wrt the actual dev names?
I assume it involves dmsetup but I cant figure it out. I am using iostat
to track some busy disk io and don't know which dm-{n} to watch :)
Thanks!
jlc
___
CentOS mailing list
Try ls -l /dev/mapper/
Slick, thanks!
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
In a chroot Bind installation, named.conf is located in /var/named/chroot/etc/.
In that file, references to files for includes and other zones can be made as
filename
without a path. What is the expected location when no path is used, simply up
one dir
under chroot/? While moving a DNS from one
From the manual, localnets matches hosts belonging to a network for which the
server
has an interface in. I have a dns server in a dmz with an ip of 192.168.2.2 in
/24. Named.conf
has 3 views, localhost_resolver - localhost, internal - localnets, and
external - !localnets; !localhost.
I have a
view external { // what the Internet will see
match-clients { any; };
It looks like the example file's external - !localnets; !localhost wouldn't
match anything?
I also used any and everything is fine. It appears as Bind will stop once
matched so this is safe.
Thanks!
jlc
I spent a good chunk of time trying to get an HP LTO Autoloader to
work with Amanda only to later find out it was faulty. Aside from HP
who has a brutal system for repairing hardware, does anyone know where
I might be able to send it for repair?
Thanks!
jlc
What might I do Linux-wise to create a system that looked at multiple
gateways and then assigned (via DHCP) the gateway that was the least
congested?
Anyone have any good suggestions in this department?
Your assumption is that the level of congestion would remain unchanged for the
length of the
We have http://www.cansec.com/ based prox readers and port servers but the
software
is a joke. It doesn't run as a service, so the server must be logged in at the
console.
Anyone use anything Linux based they can vouch for?
Thanks!
jlc
___
CentOS
This is a good idea, thanks. So, I'm assuming that you mean something
like this?
http://tldp.org/HOWTO/IP-Masquerade-HOWTO/
Yeah,
I don't know how sexy the solution would be, but you could poll for
throughput/availability
with a script, then rewrite the iptables rule for example taking the
chkconfig iptables off
That was how I disabled it originally yet it was being started by something
else.
jlc
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
Did you install another firewall front end? Something like Firestarter?
No, but /etc/sysconfig/iptables had previous config so I purged the file. I
haven’t rebooted
since to see if its starts again.
I noticed on another machine that had iptables disabled in chkconfig that after
setting it to
My ks file has just Base which obviously pulls in a few other things I don't
want like dialup support etc. System-config-kickstart doesn't let you
specifically
drill down what options are in each group. Is there a resource depicting exactly
what packages are in each of the groups so I could write
I have csvde dump from active directory I process on my postfix mta.
It takes output like this:
CN=Curtis xxx,OU=Domain Users,OU=xxx xxx,DC=xxx-xxx,DC=local,X400:c=US\;a=
\;p=xxx xxx xxx\;o=Exchange\;s=xxx\;g=xxx\;;SMTP:[EMAIL PROTECTED]
and should return a relay_recipient map in the form of:
It works OK on the test line you provided; my guess is your datafile
has other lines that match SMTP in other fields of the source.
Yeah when I echo'ed a single email into it everything was fine, but the file
wasn't. I looked at
it in vi and saw all the dos carriage returns so added a tr -d '\r'
you can simplify that line down to:
awk 'BEGIN { FS=: } /(smtp|SMTP)/ { printf %-30sOK\n, $NF }' $1
the -30 will make sure that everything aligns, because with just a tab
to separate the email addresses, you'll end up with a wonky OK column.
-30 pads out the first column to 30 characters.
also,
/boot shouldn't be mirrored, as the BIOS won't know how to boot it.
Not true for all mobo's. Regardless, why not have a copy safe somewhere
easier to manage then the following suggestion IMHO. Let the computer
worry about remembering to copy it.
leave /dev/sdb1 the same size as /dev/sda1 and
This is an old way of doing it but it's worked fine for me over the
years.
I think the new way is documented here:
http://www.linuxjournal.com/article/7321
I am guessing you could rescan it with a less obtrusive method...
jlc
___
CentOS mailing list
I've built some successful systems on the Atom 230 recently. Much faster than
the Epia and about the same price
(http://www.newegg.com/Product/Product.aspx?Item=N82E16813121342)
So far everything works out of the box and its much faster than even the
1.2Ghz Epia's I tried.
Fan is fairly noisy
the new generation ( well, anything in the last 2 years or so ) JMicron
's are all 100% AHCI compatible and do a fairly good job of just being a
sata interface, and I've not seen a JMicron pata interface in years..
not sure if they even make those anymore.
Well, I admit my inquiry was not CentOS
Also, conder trimming your posts please
What does that mean, I'm not a native speaker so I didn't follow that, sorry.
Didn't want to ofend or even make mistakes, my only point its that freenas
could do the job under a SMB enviroment.
And I don't even compare CentOS between FreeNAS in anything.
I am trying to compile a module for a Realtek 8168 for thinstation.
I have pulled the developer tarball and executed the script to enter its build
environment.
I also have the source for the module I want to compile, but when I execute
#make clean modules
it errors out. Reading the errors, I can
I don't normally dink with this stuff anymore. But from watching the
lists, IIRC, you need a kernel development rpm to be installed. Use the
yum available stuff and if you see something promising, give it a shot.
Being a holiday here, I don't know how long until someone knowledgeable
will reply.
I am trying to install perl-Digest-Perl-MD5 from rf and it is failing
suggesting it
needs /usr/bin/false. #yum whatprovides /usr/bin/false yields nothing.
My CentOS 5.1 machines don't have this, and this is the same list of yum install
items I always use when setting up assp.
Any idea what to
Wierd, I just confirmed the issue. There is not a /usr/bin/false, but there
IS a /bin/false on a stock 5.2 install. You might check in the rpmforge
forums/list archives for some mention of this problem.
I thought I might be able to symlink /bin/false to /usr/bin/false (a kludge, I
admit) or
I had no trouble copying it or linking it.
Yes, but how does that satisfy yum?
jlc
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
I am trying to install:
perl-Compress-Zlib
perl-Digest-Perl-MD5
perl-Net-DNS
perl-Time-HiRes
perl-Email-Valid
perl-File-ReadBackwards
perl-File-Scan-ClamAV
perl-Mail-SPF-Query
perl-libwww-perl
perl-LDAP
perl-Unix-Syslog
perl-Mail-SRS
perl-Net-CIDR-Lite
perl-Mail-SPF
which are all either noarch
Can you identify which one of these packages individually is requiring
the 32-bit perl? In other words, can you install perl-LDAP without it
wanting to pull in the 32-bit perl? Same for all of them...
You can also do an rpm -q -R -p rpm on the .rpm file to see what it
requires, but I'm not sure
Why don't you try it and see what happens.
I did, which is what lead me to believe it only checks the db:)
jlc
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
There is a known issue with the new version of yum on RHEL/CentOS 5.2 ...
You need to specify the packages like this:
yum install package_name.x86_64
not
yum install package_name
If you do not specify, then yum can install both (or either) of i386 or
x86_64 packages to meet that requirement.
Just to muddy the waters on this a bit more... for me, the rpmforge
perl-Time-HiRes package won't install as it conflicts with my base
installation of perl.
Yea, I just figured that out.
This is on a RHEL5.2 x86_64 system however.
So I assume an x86 install doesn't have this issue?
# rpm -qf
I would say it is the Best one ... it seems there is a problem in this
instance.
Its just not my day :P I used my gmail to sign up to rpmforge, and received the
sub confirmation
instantly, replied to it and received my membership confirmation. Sent an email
regarding both packages
I am having
If it won't wok, you'l have to cook up something. :-) YUK, YUK!
Now that's ironic (you'l):P
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
If this is true, why did this package get updated?
Can't answer that, but do you use yum-priorities? I was actually
just looking at ATRPMS and about to see if it had what I needed
for a new install. It would be good to know if that problem happened
with the repo protection in place...
jlc
Any help would be appreciated.
I think you need samba-client, then you use #mount -t cifs
jlc
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
i'm acessing a centos box via ssh, is there any way that i can find out
the hard drive info, such IDE/SATA, format, size, make model, etc...?
Cat something from /sys such as
#cat /sys/block/sda/size
x
#cat /sys/devices/pci:00/:00:10.0/host0/target0:0:0/0:0:0:0/model
0/model
Virtual
What's the simplest way to increment the number up by one until some other
4 digit number while
preserving leading zero's until the 1000's has a digit other than 0?
Thanks!
jlc
___
CentOS mailing list
CentOS@centos.org
Your homework done in a snap!
Lol, nah, not homework :P
I don't know what I was thinking, long day. OTH, I never seq could do this as
well!
Thanks!
jlc
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
Since I was SSHed into the boxes, I could not test ifconfig (down then
up!).
Just so you know, you can do this type of thing even with SSH.
(I don't know what would of helped that situation, but for future ref...)
#echo ifdown eth0 ifup eth0 | at now
through ssh will work fine, and you will
For ages I have been keeping docs and notes in Public Folders inside an
Exchange server
and want to move this out to a more modern facility that allows tagging and
searching via
a web interface for keywords so I can keep all my notes more organized.
Anyone have any personal recos for the
When choosing either of these methods and using an iso, how does CentOS
determine
the right iso file to mount? Is there an expected file name format?
Thanks!
jlc
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
the only downside is that the default theme
is a bit crusty looking.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
John,
Got a pointer to a theme that's appealing?
Thanks!
jlc
VNCSERVERS=2:vnc
VNCSERVERARGS[2]=-geometry 1024x768 -depth 24
Here you are starting a vncserver on port 5902 for user vnc. Does he exist?
here i have created a user vnc and set the password using vncpasswd cmd.
Ok
then i started the vncserver
# vncserver
New 'localhost.localdomain:1
With NFS mounts, you can only have one set in any particular directory, and
the last time I did a hard disc install it was the same way. But I have to
confess that I haven't done a hard disk install since RedHat 7.something.
That makes sense.
Thanks Scott!
jlc
A long time ago someone helped me with setting up sendmail to simply queue
and relay mail. They suggested:
1) edit /etc/sysconfig/sendmail and set
DAEMON=no
2) edit /etc/mail/submit.mc and set
FEATURE(`msp', `[IP.of.relayhost]')dnl
Given the sendmail-cf RPM is already installed a service
Anyone know where I can get this?
I need to deduce what type of nic is a proprietary CNC machine that I don't
want to
dismantle so I can make a gpxe floppy for so I can run some diags of my tftp
server.
Thanks!
jlc
___
CentOS mailing list
you can't boot a CD? any distribution of centos, disk 1, boot it
and specify `linux single` at the grub prompt and get a shell prompt...
No cd/dvd on it, I would have to disassemble it to get one on :(
Thanks!
jlc
___
CentOS mailing list
Anyone know the correct syntax for specifying a floppy image in the
/tftpboot/pxelinux.cfg/default file?
I am trying to use:
label Dos Bootdisk
MENU LABEL Dos bootdisk
FDIMAGE discimage.img
But when I select it the menu, I get a message saying Automatic boot in 30
seconds and
I can confirm that the memdisk from the centos-5 pkg syslinux-3.11-4 does
indeed boot 2880K floppy images.
/Peter
Yes, from what I have read it should even boot floppies of 8-9 meg.
I found a script used to extend the size but nothing I do is working
for some reason. I really only need about
brute force approach...
dd if=/dev/sda of=/dev/sdb bs=16384
That's probably the most safest, but you'll have to remove it before
you boot if you use lvm right?
Doesn't clonzilla support lvm? Could you boot off a live cd to only copy
actual data which should be quick in your case?
jlc
How do I check the last shutdown, or any if possible for
the status related to whether or not it was clean? I need
to know if a UPS had successfully shut a few boxes down.
Thanks!
jlc
___
CentOS mailing list
CentOS@centos.org
You should be able to check the boot logs to see if the
file systems were mounted cleanly or if they had to have
their journals checked.
I see this in messages:
Aug 14 12:36:05 xen kernel: EXT3-fs: INFO: recovery required on readonly
filesystem.
Aug 14 12:36:05 xen kernel: EXT3-fs: write access
Does your UPS software have any logging capabilities? I know APC's
PowerChute+ software logs everything it does. There would be an entry in it's
logs saying it was doing a clean shutdown. The system logs may also have
something about the time the system shutdown too.
Using apcupsd, the silly
Sorry if this doesn't exactly answer your question :)
Don't be sorry, I appreciate the knowledge!
I assume I can get this script to work, but next time
I am setting up ups ware, I will look into this!
Thanks!
jlc
___
CentOS mailing list
having a heck of a time trying to get the RAID volumes I have created
on the 3000i to be seen by the OS as usuable drives.
What's the size of the volume(s)?
Post the output from #fdisk -l
jlc
___
CentOS mailing list
CentOS@centos.org
1 - 100 of 972 matches
Mail list logo