Sponsored Content
Full Discussion: red hat ent 5 network
Operating Systems Linux red hat ent 5 network Post 302167197 by itik on Wednesday 13th of February 2008 07:09:15 PM
Old 02-13-2008
Data red hat ent 5 network

Hi All,

I configured during the installation my red hat 5 ent with dhcp enable. Now I modified to static on ../ifcfg-eth0. It won't change when network is restarted with ../network restart command. I need to do ifdown eth0 and ifup eth0. And when rebooted, it will go back to dhcp.

Here's my ifcfg-eth0:

DEVICE=eth0
BOOTPROTO=static
HWADDR=00:0C:29:60:EB:6E
ONBOOT=yes
NETMASK=255.255.255.0
TYPE=Ethernet
USERCTL=yes
IPV6INIT=no
PEERDNS=no
IPADDR=192.168.145.50
GATEWAY=192.168.145.2


What's wrong with this settings or do I need to configure other settings?

Thanks in advance,
Itik
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Network settings on Red Hat

HELP!! How do you change the network setting from auto-duplex to 100 Base T Full Duplex in Red HaT? (1 Reply)
Discussion started by: johnlong
1 Replies

2. Linux

Red-hat AS 2.1 network question

I have setup a AS 2.1 server with no X running or installed. I need to know how to configure the IP and such from command line and change it from DHCP. We used DHCP at first since we didn't know the IP we were going to use and now I need to change it. Any help would be great as Redhat's site just... (2 Replies)
Discussion started by: Acleoma
2 Replies

3. Linux

Red hat ent 4 syssat

Hi All, Does installing sysstat on Red Hat Ent 4 will make the system unreliable or it's ok? Is it going to make the OS slow, I mean even if the utilities are not being used? Any advise will be highly appreciated, thanks. (1 Reply)
Discussion started by: itik
1 Replies

4. Linux

red hat ent 4 cron script

hi i need to put the full path of every executable i need to put on my script. on the testing you don't need it but if it's running from cron you need to put the full path of the executable or another script. what's the work around for this? Thanks. (1 Reply)
Discussion started by: itik
1 Replies

5. Linux

crash dump server for red hat ent 4

Is it true that you can't have the crash dump server/client on the same server? I know I've installed Nagios open source before, I though it's only for that kind of thing. I never though that Red hat ent 4 would be like client/server on the crash dump. if someone is having problem with high... (0 Replies)
Discussion started by: itik
0 Replies

6. Red Hat

vxfs on red hat ent 4

Hi, I need to increase the FS on a vxfs on red hat ent 4. I need to get familiar with it by giving me how to query it if there's a free space. And then increase it, if there's any. Can it be increase on the fly? I mean, no unmount and just increase it online. I think the FS is also on... (4 Replies)
Discussion started by: itik
4 Replies

7. Red Hat

How to register with Red Hat Network?

Hi, We have Red Hat Enterprise Linux 5.3 running on all our machines and planning to make one machine as a YUM repository server. Using yum utility the rest of the RHEL machines should be able to get the latest patches/ packages. Done a POC with the packages available in RHEL 5.3 DVD –... (1 Reply)
Discussion started by: uday123
1 Replies

8. Red Hat

How do I network a Suse installed machine with other computers, specifically Red hat Linux?

How do I network a Suse installed machine with other computers, specifically Red hat Linux? This is for a school project, and I can't find any pages that tell how to network a Suse to other computers except how to use a printer. (1 Reply)
Discussion started by: Anna Hussie
1 Replies

9. Red Hat

Linux Red Hat AS3 Network card is not detecting ...

Dear Expert, I 've installed Redhat linux AS3, My machine having Inbuild network card (Intel(R) 82566DM-2 Gigabit Network Connection). I've downloaded e1000e-2.3.2 from Intel site, but its not working for my machine. I'm unable to configure the Network. ifconfig eth0 xx.xx.xx.xx netmask... (0 Replies)
Discussion started by: Mohammed Faiz
0 Replies

10. Red Hat

Red Hat Network / Support

Dear all, I have around 7 servers which are running under RHEL 5.x Version. I have supported the server for nearly 3 years. Till now I have not contacted RHEL Network Support from Redhat for any services. Now a thought came to my mind , that in any case if there is some issue with the OS or... (3 Replies)
Discussion started by: jegaraman
3 Replies
MOD_APPARMOR(8) 						     AppArmor							   MOD_APPARMOR(8)

NAME
mod_apparmor - fine-grained AppArmor confinement for Apache DESCRIPTION
An AppArmor profile applies to an executable program; if a portion of the program needs different access permissions than other portions, the program can "change hats" via aa_change_hat(2) to a different role, also known as a subprofile. The mod_apparmor Apache module uses the aa_change_hat(2) mechanism to offer more fine-grained confinement of dynamic elements within Apache such as individual php and perl scripts, while still allowing the performance benefits of using mod_php and mod_perl. To use mod_apparmor with Apache, ensure that mod_apparmor is configured to be loaded into Apache, either via a2enmod, yast or manual editing of the apache2(8)/httpd(8) configuration files, and restart Apache. Make sure that apparmor is also functioning. Once mod_apparmor is loaded within Apache, all requests to Apache will cause mod_apparmor to attempt to change into a hat named by the URI (e.g. /app/some.cgi). If no such hat is found, it will fall back to attempting to use the hat DEFAULT_URI; if that also does not exist, it will fall back to using the global Apache profile. Most static web pages can simply make use of the DEFAULT_URI hat. Additionally, before any requests come in to Apache, mod_apparmor will attempt to change hat into the HANDLING_UNTRUSTED_INPUT hat. mod_apparmor will attempt to use this hat while Apache is doing the initial parsing of a given http request, before its given to a specific handler (like mod_php) for processing. Because defining hats for every URI/URL often becomes tedious, mod_apparmor provides the AAHatName and AADefaultHatName Apache configuration options. AAHatName AAHatName allows you to specify a hat to be used for a given Apache <Directory>, <DirectoryMatch>, <Location> or <LocationMatch> directive (see the Apache documenation for more details). Note that mod_apparmor behavior can become confused if <Directory*> and <Location*> directives are intermingled and it is recommended to use one type of directive. If the hat specified by AAHatName does not exist in the Apache profile, then it falls back to the behavior described above. AADefaultHatName AADefaultHatName allows you to specify a default hat to be used for virtual hosts and other Apache server directives, so that you can have different defaults for different virtual hosts. This can be overridden by the AAHatName directive and is checked for only if there isn't a matching AAHatName or hat named by the URI. If the AADefaultHatName hat does not exist, it falls back to the DEFAULT_URI hat if it exists (as described above). URI REQUEST SUMMARY
When profiling with mod_apparmor, it is helpful to keep the following order of operations in mind: On each URI request, mod_apparmor will first aa_change_hat(2) into ^HANDLING_UNTRUSTED_INPUT, if it exists. Then, after performing the initial parsing of the request, mod_apparmor will: 1. try to aa_change_hat(2) into a matching AAHatName hat if it exists and applies, otherwise it will 2. try to aa_change_hat(2) into the URI itself, otherwise it will 3. try to aa_change_hat(2) into an AADefaultHatName hat if it has been defined for the server/vhost, otherwise it will 4. try to aa_change_hat(2) into the DEFAULT_URI hat, if it exists, otherwise it will 5. fall back to the global Apache policy BUGS
mod_apparmor() currently only supports apache2, and has only been tested with the prefork MPM configuration -- threaded configurations of Apache may not work correctly. There are likely other bugs lurking about; if you find any, please report them at <http://https://bugs.launchpad.net/apparmor/+filebug>. SEE ALSO
apparmor(7), subdomain.conf(5), apparmor_parser(8), aa_change_hat(2) and <http://wiki.apparmor.net>. AppArmor 2.7.103 2012-06-28 MOD_APPARMOR(8)
All times are GMT -4. The time now is 08:45 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy