CentOS 5 :: Direct PXE Boot To Specific NIC?
Aug 27, 2011[code]...
What/where is this eth0 interface? Is it possible I can direct PXE boot to use different interface?
[code]...
What/where is this eth0 interface? Is it possible I can direct PXE boot to use different interface?
We just setup a HP DL380 with CentOS 5, and ran all of the latest updates.I am trying to attach a Compaq array (no model number) that is SCSI attached. I can see the array from the bios and created a raid group on it from there. However, from LVM and lvscan, I don't see it at all. I checked dmesg and there are no errors.Also, interestingly /proc/scsi/scsi is empty.
View 1 Replies View RelatedAnyone know what version of spam assassin is newer 3.3.1-3 or 3.3.1-52 I would assume 52 is newer but I don't know if once it reaches 99 it going to 2 Example 3.3.1-99 ---- 3.3.1-2 -----3.3.1-21 and so on. I could be completely off but can anyone just clarify if 3.3.1-3 is newer or older than 3.3.1.52
(On a side note does anyone know the difference between spamassassin-3.3.1-3.el5.rfx.i386.rpm and spamassassin-3.3.1-3.el5.rf.i386.rpm?? What does the X mean?) I looked at the release date of .52 and it seems to be in march 2010 whereas .1-3 seems to be in november. oes that seem correct? Does anyone have a direct download to spamassassin-3.3.1-3el5.rf.i386.rpm???
I seem to be having a strange problem configuring Piranha to load balance (Direct route) 2 ports across 2 w2k3 servers in a test environment. What is strange is that 1 of the ports are working fine but the other port doesn't work. I've read many how-to and after many frustrating hours I disabled the firewall, iptables and arptables services and one of the ports are load balanced across the 2 real servers. Here's the environment.
[Code]....
I can telnet from the client to the realserves on both ports and it's works. When I telnet to the VIP only one port gets through and the other gives me "could not open connection to host port 32777 : connect failed. The configuration in Piranha for one port is the same as the other. I can't help but think that some other configuration for port 32777 was missed.
I have a need to start an application on bootup on the linux console and I do not have a need for any type of login or security. I do not need any ALT-F1,F2,etc virtual consoles but I would like to allow SSH access via the network port for debugging, loading, etc.
The application is a SDL graphics program running with fbcon as the SDL_VIDEODRIVER if that matters. I'm currently using Fedora 10 and 12 but any distro that supports SDL using the fbcon framebuffer would be acceptable.
I am looking into 1026TT-TF and 6016TT-TF for a CentOS 5.4 or 5.5 64bit installation:
SuperMicro 6016TT-TF
SuperMicro 1026TT-TF
It will be used as a Web-server mostly. Since they are twin nodes, one node will be one strong firewall. I have been checking all over and I can't find any driver, bios, or issues with this specific motherboard from Supermicro and Intel 5500/5600 series CPUs. Is there anything that would concern you with these servers?
I am also looking to put in a 4-port Gigabit LAN card into one node which I doubt makes any difference in the whole equation. Further more, and most importantly, the first one takes only 2.5" HDDs and the second option accepts 3.5" HDDs. Other than size availability and price, are there any concerns regarding performance when chosing one over the other? System which accepts 3.5" HDDs only takes two per node so I have to opt for 1TB drives. For the 2.5" system I can go with 4 of 2.5" HDDs of 500GB in size. Either of options selected will be setup in RAID-1.
I am looking to create a user to be able to do WinSCP or SSH into the system and only be able to see /var/www/html/joomla/ and that is it. I don't want them to be able to start or stop service but be able to upload and download files to the specific directory or change privileges of the mentioned directory. Is that possible? what commands should I run.
View 1 Replies View RelatedWhen I run OpenSUSE from the Live CD using normal settings, booting stops with a blank screen a moment after the kernel is loaded. When running it with ACPI disabled, it works, but direct rendering is disabled, even though it detects my video card (Mobility Radeon HD 5650) correctly Here's the Xorg.0.log file: my xorg log - [URL]
View 3 Replies View RelatedBecause I keep a lot of data on a Netgear ReadyNAS which can be presented as a NFS server, I would like to have the default CentOS user have a uid and gid that match those for the user that owns the main NFS share. That way I can treat it as if it were a directory that I owned on the local machine. I'm probably going to install CentOS 5.3 over again to get a totally clean system. What is the neatest way to ensure that the default user has the desired uid and gid? Or is there a better way to work with the NAS? (Right now I'm running it with CIFS shares, but these are quirky and do not behave quite like a local file system, I'm hoping that NFS would be more consistent, but previously attempts to run NFS were hampered by different uid and gid values).
View 1 Replies View RelatedI have an Asterisk-server with 2 interfaces, a WAN-interface (eth1) and a LAN-interface (eth0).
SETUP :
IAX-provider(internet) --> firewall --> Asterisk-server --> switch --> clients_on_LAN
So everything coming from the IAX-provider on port 4569 is forwarded to the Asterisk-server's WAN-interface (eth1).
This needs then be routed to an internal SIP-phone (an IVR-system will define which one) via eth0.
When a call is initiated from an internal SIP-phone (they register to the IP-address assigned to eth0) it needs to be routed via eth1 to the gateway (192.168.4.250). Asterisk will setup an IAX-channel on WAN-interface (eth1) to the IAX-provider (via gateway).
So... will this work :
route add -net ip_IAXprovider netmask 255.255.255.0 gw 192.168.4.250 dev eth1
I got to establish an OpenVPN connection between two server and I have dhcpd on the client server which feeds a few SIP phones. All these phones are supposed to the register server through the tunnel.Here is the network structure:
Client CentOS:
eth0: 192.168.0.0/24
eth1:192.168.100.0/24
tun0:172.15.0.0/24
DHCPD: feeding above eth1 and all the phones with 192.168.100.0/24
If I ping 172.15.0.1 from the the Client CentOS it works all fine. Everything pings and I can even do SSH. However, the phones which obtain their ip through eth1 on the same server can not reach the 172.15.0.1. I think it's a route issue here. Can you please guide me to the right direction as to how to forward certain traffic through tun0 and leave the rest of the traffic to go through eth0?
I don't want to turn on IPTABLES as this is time consuming for me now and there is VPN setup. It has to do with setting up the routing but I am not sure.
I have centos 5 installed. and i use a firefox 3.6 browser on it. the problem is that whenever i open some sites like facebook, or easyxdm.com, or some others, the screen just gets hung up and the os either restarts or remains hung up.
View 2 Replies View RelatedI run a bunch of CentOS 5.6 servers, where we continuously deploy our software. Our software comes in self-made rpm packages from a network-local yum repository. As bugs happen in software development, I sometimes want to downgrade to the previous release, so force the installation of a specific version of the package.I tried the allow-downgrade plugin, but so far no luck. Neither yum update nor yum install seem to work with allow-downgrade. (It does not seem to do anything?). Does anyone have a working example for yum --allow-downgrade?
This is what I tried:
1) Show current yum version
[root]# yum --version
[code]....
I want to lock the filesystem based on user basics, In effect only specific users should have write access. This need to done apart from normal permission setup.
In Detail:
filesystem: /app
application users: appuser1 & appuser2
Normal users: user1 user1
Required: Only app users need to have write permission over app file system, this should done apart from the normal directory permissions. The all other users can able to view the contents even though other users have write permission based on permissions.
This need to done by over ridding the normal permission setup.
I know if I run repquota -a I can see the quotas set for all users.How do I modify the quota for a specific user?So say the output for john is:User used soft hard grace used soft hard grace----------------------------------------------------------------------john.someth -- 122844 51200 51200 4995 0 0How do I make his block limits 0 so they are unlimited?
View 1 Replies View RelatedI've several servers (windows+linux) that authenticate to an LDAP server. There is one machine that I would like to allow only certain groups from LDAP server to have access and I am not sure where to start.
If that cannot be done, is it possible to disable LDAP root user to access these machines?
Now that IPv6 is becoming more and more common, I found the need to disable IPv6 on some interfaces but have it enabled on other. I found that /proc/sys/net/ipv6/conf/*/disable_ipv6 does exactly that. I am now wondering if anybody knows, why are networking scripts so counterintuitive. /etc/sysconfig/network has an option:
NETWORKING_IPV6=yes
All this option does is disable some ipv6 services (dhcpv6...), it does not disable IPv6 in whole (as one would assume...that's why you had to disable it with module parameters). Searching for more IP6 related config option, one can find that /etc/sysconfig/network-scripts/ifcfg-* scripts can contain:
IPV6INIT=yes
Again, this option does not disable IPv6 protocol on the interface, it just skips running ifup-ipv6/ifdown-ipv6 scripts. I added a /sbin/ifup-pre-local. Now, this script runs before ethX entries are created (other scripts run when it's already too late) in /proc directory, so it modifies default values which are then used after those entries are created:
#!/bin/bash
#
[ -f "/etc/sysconfig/network-scripts/$1" ] && . /etc/sysconfig/network-scripts/$1
[code]...
I have a file with tens of thousands of lines. I need to remove specific letters eg eggs, from every line that has the letters in it. Is there a command which can help me do that easily?
View 4 Replies View RelatedI have been reading about rescue CD's but haven't found out whether I can make one using my currently running Centos(centos-release-5-4.el5.centos.1 ).I tried to use a Centos cd we have here and it looks fine till it asks where the 'tree' structure is located, when I select cd it ejects it and asks the same question again. Do I need to build a rescue cd containing directory info of my specific system?This is related to wanting to fsck my file system.
View 3 Replies View RelatedI am having a Lenovo Thinkpad SL400c laptop running on c2d (64 bit) processor. The problem is, Linux Mint doesn't boot in this laptop but boots well in other laptops( I tried it in dell inspiron and compaq ones)and desktop. I tried all versions (from Linux mint 7 till 10 and both 32 and 64 bit versions). What actually happens is that, the BIOS loads the CD (doesn't even asks "press any key to boot from CD" as it asks for Windows) and abruptly results in a blank screen. It remains blank even for hours. But Opensuse, Ubuntu, and even open solaris all run fine on this system. Don't know why it resists only Linux mint.
View 1 Replies View RelatedI have a need to run a specific app as a specific user when the machine boots into init 3. I can not run this as root so I need to specify a user. Can someone tell me how to accomplish this?I usually have to log in and start this application by typing check -D which starts this app and daemonizes it. I want to be able to run that at boot with my normal user not root.I hope I explained this correctly.I have added it to rc.local but it runs as root.
View 3 Replies View RelatedSo right now VNC is starting a session using :1. When I connect to that session, the terminal is logged in as root. I'd like for the terminal to be logged in as a different user as some of my end users are going to be using this and don't require such privileges. I found that I can "su" to a different user and start a new VNC daemon on :2 and when I connect to that session, the terminal is logged in as that user. What I want to do is get that to run at boot-up.
View 4 Replies View Relatedi installed kde to my usb drive but i think the grub also went to it because im running windows 7 and now kde but would like to know how to uninstall it if i ever have to. and also i cannot boot my computer unless that specific usb is connected
View 6 Replies View RelatedMy wish is to launch some programs (chromium, pidgin and xchat on the first virtual desktop and the terminal, the file manager and geany on the second one). I also wish them to have the same size and place than they've had the last time I used them (just to keep them always at the same place). My researches haven't been successful for the moment cause the only idea I found was lxsession-edit which doesn't do exactly what I want..
View 5 Replies View RelatedHow do I give permission to a logged in user to stop/start a specific service without entering a root/sudo password? So they can do a simple "service SomeService stop|start" It is for a headless Ubuntu server.
View 5 Replies View RelatedI need to search a bunch of files in a specific folder for a specific number and add all the numbers together to a total sum. I use Rsync everyday, everytime I run rsync i get a logfile (rsync output) witch contains the textstring "Total bytes sent: xxxxxx".
The "xxxxx" can vary in lenght. I need to extract the "xxxxxx" from each file and add the numbers together to a total size over a week or a month. Is this possible? And I wish to only use bash. One way of doing stuff at a time my friends .
I need to install any version of Debian with the Debian Kernel version 2.6.22-3-686. I don't mind what version of Debian it is, I just need it to have this specific kernel! Debian Etch comes with 2.6.18-4-686 and Lenny comes with 2.6.26-2-686 so the kernel I need is obviously somewhere in between.
I have tried using the following commands to see if kernel 2.6.22-3-686 is available for download via the apt-get method in both Debian Etch and Lenny but it is not...
apt-cache search linux-kernel
apt-cache search linux-source
So does anyone know where/how I can download specific kernels and install them for use? I have a computer sitting next to me that has multiple kernels as an option on boot, and they all boot into the same system, however I do not know the person who set up the computer so cannot ask them how they did it
my system I want user1 and only user1 to be able to mount and unmount a specific partition, this partition contains backups and is usually mounted read only, needs to be temporarily mounted read/write by user1 while doing the backup.user1 is an unprivileged user. I've read that the user option will let any user mount the file-system (and only that user can then subsequently unmount it) and that the users option allows any user to mount or unmount the file-system.I also found this in mount's man pageQuote:The owner option is similar to the user option, with the restriction that the user must be the owner of the special file. This may be useful e.g. for /dev/fd if a login script makes the console user owner of this device. The group option is similar, with the restriction that the user must be member of the group of the special file.So it looks like I'd need a login script for that user to make the user owner of the device file (/dev/voiceserv/backup in this case)
View 7 Replies View Relatedfor example
else {
for fileDOC in $location/*.doc
do
[code]...
I'm trying to configure our mail server to block email from a specific sender reaching a specific recipient. In other words, if one of our employees is getting harassed by a 'stalker', how would one go about blocking, at the MTA (Sendmail) level, a specific sender email address from reaching a particular users inbox? We do not want to capture the email - simply block it before it consumes server resources.The Sendmail server (MTA) is a front end to our Exchange server so no user accounts exist on the Linux server. We simply use it as a SPAM and Virus scanner then forward clean email to the Exchange server.
View 6 Replies View Related