Red Hat / Fedora :: Making Route In RHEL4 Permanent?

Feb 9, 2009

I am using RHEL4 server in my network. I have configured VLAN in my network. i am using two gatways to access my Network. I also add two gateways to both the network. but only one gateways will work. Then I added a route for the other netowrk. but when i restart my computer my route is deleted. i used this command to add the route

route add -net 10.0.0.0 netmask 255.255.0.0 gw 10.0.0.1

what i should do that my route should remain permanent either i restart my computer.

View 3 Replies


ADVERTISEMENT

Fedora :: Making The System Changes Permanent?

Jan 24, 2011

I have recently used PowerTop to get information about what settings I could tweak to make my laptop more power efficient. However, my problem is that all such changes seem to dissapear as soon as I reboot my machine. For example, if I run:

echo 1500 > /proc/sys/vm/dirty_writeback_centisecs

This value will have been rewritten to 500 when I reboot. Is there any way to change this, and make sure that any and all changes I do to my system remain permanent until I change them to something else? This question is of course not limited to Powertop, I would also like changes I do via for example cpufreq to be permanent as well.

View 5 Replies View Related

Ubuntu :: Making Hdparm Settings Permanent?

Mar 2, 2010

I'm trying to make sure I don't screw anything up. When I type in the following into the terminal:

sudo hdparm -M 128 /dev/sda

Are the changes permanent, even if I restart? If not, how can I make sure it is permanent? I've read of going into the /etc/hdparm.conf file and editing it, but what exactly do I type and where should it be put in the file?

View 3 Replies View Related

Ubuntu Installation :: Making Nomodeset Permanent One Has To Reinstall?

Jan 25, 2011

Is there any way of making nomodeset permanent one has to reinstall? I know at least 1 distro has an etc/sysconfing/kernel file you can edit to make the value NO_KMS_IN_INITRD=yes

then mkinitrd makes nomodeset permanent Otherwise its a real bind to have to keep burrowing into the grub2 menu each time to make sure it loads.. :>(

View 2 Replies View Related

Ubuntu :: Making Apt Cache Permanent By Editing Any Conf File?

Apr 8, 2010

I don't want ubuntu to clean /var/cache/apt/archives directory automatically... is it possible to make it permanent by editing any conf file?

View 5 Replies View Related

OpenSUSE :: Making Permanent A Selection In 11.4 LXDE Between English And Thai Keyboards?

Jun 26, 2011

I'm seeking to make permanent a selection in openSUSE-11.4 LXDE between english and Thai keyboards. And I need help here, as I have only succeed partially. After installing Thai via YaST regional settings, I followed the advice in an LXDE forum here LXDE.org Forum - View topic - How to add layouts to keyboard preferences in LXDE? and on the LXDE Panel I righted click on LXPanel->Add/Remove Panel Items->Panel Applets->Add->Keyboard Layout Switcher. Upon a restart of X that gave me a US flag symbol (for US keyboard) in lower right hand corner. No other language selection. I then as a regular user sent the command

Code:

setxkbmap -option grp:switch,grp:alt_shift_toggle,grp_led:scroll us,th

and I then had a choice between Thai and US keyboard which worked well. That unfortunately is only temporary until the next reboot. HOW to make it permanent ? I tried, and I was unable to make that permanent. I tried adding .Xkbmap to /home/user (restarted/tested) and when that failed I tried adding .Xmodmap to /home/user (restarted/tested) and when that failed I tried adding /etc/X11/Xkbmap (restarted/tested) and when that failed I added same line to /etc/X11/Xmodmap (restarted/tested) and that also failed. The line in all cases was

Code:

-option grp:ctrl_shift_toggle,grp_led:scroll us, th

I also tired editing the /etc/X11/xorg.conf.d/90_keytable.conf file, changing it to

Code:

Section "InputClass"
Identifier "LocalKeyboard"
MatchIsKeyboard "on"
Option "XkbLayout" "us, th"

[code]....

I could create a script with my 1st successful effort (and have that run when LXDE starts up) but surely there is a more elegant way? I am also NOT keen to have this system wide (even thou I tried that system wide (unsuccessfully) at the end) but I would rather only have this for one LXDE user.

View 8 Replies View Related

Networking :: Route Eth2 TCP Packets To Tun0 With IPTABLES And IP RULE/ROUTE?

May 8, 2011

I have 3 network interfaces on my Linux Router :

Interface - Gateway - Type

Code:

br0 - 192.168.0.1 - Internet
eth2 - 192.168.1.1 - LAN
tun0 - 10.0.0.2 - VPN (via br0)

What I'd like to do is to route all TCP packets coming from eth2 to tun0 where a VPN client is running on 10.0.0.2. If I delete all default routes and if I add a new route to tun0 like :

Code:

route del default
route add default gw 10.0.0.2

Everything is fine, and everyone on eth2 can reach the Internet using the VPN access. Now the problem is that my VPN client does not allow any other protocols other than TCP. And I also want to allow VPN access only to eth2, no other LAN nor the router itself. use iptables to filter any TCP packets and mark them, so they can be sent to tun0, while any other packets can reach the Internet via br0 (192.168.0.1). I found on the Internet that we can mark packets before they get routed. Using the following commands :

Code:

iptables -t mangle -A PREROUTING -j MARK --set-mark 85 -i eth2 -p tcp --dport 80
ip route add table 300 default via 10.0.0.2 dev tun0
ip rule add fwmark 0x55 table 300

First of all, --dport 80 never work... :/ I wanted to filter TCP 80 packets coming from eth2, but none of them seems to be HTTP packets... oO (very strange...). Nevermind, I decided to forget about the --dport option. I use the "iptables -L -v -t mangle" command to see how many packets are marked, and it is working fine, all TCP packets coming from eth2 are marked. Now the problem is that none of them are routed to tun0 they are all respecting the "route -n" rules... and not the "table 300" rule I have created.

View 4 Replies View Related

Red Hat / Fedora :: Can't Install RHEL4.7 From USB Flashdrive ?

Mar 18, 2010

Ive created a bootable RHEL4 USB flashdrive so that I can do my installs from rather than using CDDVD's. The USB key boots fine to the point where it asks me to select a drive that contains the ISO images, but it doesn't show me the USB drive to select, only my 2 hard drives sda1 and sdb.

We currently use HP xw9400's with the following spec as shown in dmidecode:

BIOS Information

System Information

I know that the xw9400's have the nvidia mcp55 pro chip on the motherboard that handles USB, keyboard, mouse and other peripheral traffic, so am wondering if this could be what the problem is? Like there may some code that i need to tell the machine to use this or something?

View 11 Replies View Related

Red Hat / Fedora :: How To Install Rhel4 On SATA Disk

Oct 25, 2009

Install rhel4 on SATA disk through VMWare6. I tried but The installation is not detecting the hard disk.

View 3 Replies View Related

Red Hat / Fedora :: Data Transfer From RHEL4 To USB HDD With NTFS

Feb 23, 2010

I am using rhel4 with kernel 2.6.9-55 ELsmp. I have recently purchased 250gb seagate portable usb HDD. I have already mounted the usb HDD by updating Kernel with mode 755 and root user. I can transfer file from usb HDD to rhel system. But I am unable to make directory or copy file from rhel4 file system to usb HDD with ntfs. It is giving error message of permission denied though the device having write permission. I have already installed ntfsprog-2.0.0 in root. But there is no improvement. Is there any thing I can do to transfer data from linux system to ntfs.

View 1 Replies View Related

Red Hat / Fedora :: RHEL4 MySQL Install In Limbo ?

May 10, 2010

Running new install of Red Hat Enterprise Linux AS release 4 (Nahant Update 4), trying to install LAMP stack...

I downloaded 4 MySQL 5 RPMs from the MySQL site last Thursday:

Went to install the server, got the following:

Tried the following from the RHEL4 man pages for "Checking a package's signature".

Did the steps in Section 15.3.1, got the expected output from the following cmds:

OK, looks like it took...

Tried the install again, got this...!

-community-5.1.46-1.rhel4 is already installed

OK, so I'm still getting the bad key, but it's already installed...?

OK, maybe the first install was faulty. I'll uninstall and start fresh.

So I tried to uninstall using -e, got this...!

How something could be installed yet not installed...?

View 4 Replies View Related

Red Hat / Fedora :: Dovecot On RHEL4 - Err Authentication Failed

Aug 22, 2010

I am trying to setup Postfix along with dovecot on RHEL4. I have done the necessary settings in dovecot.conf, yet I am not able to log into the POP3 server. The error I can see through WireShark/Ethereal is "Err- Authentication failed" Some of the important settings in /etc/dovecot.conf are

disable_plaintext_auth = no
auth_mechanisms = plain
auth_userdb = passwd
auth_passdb = pam
auth_user = root

The users/passwords are setup on Linux file system without MQSql or any other database. SASL etc is not configured at all.

View 1 Replies View Related

Networking :: Route-eth - Adding A Static Route?

Apr 29, 2009

I would like to add a static route, however I do not understand what is meant by the Address setting below

GATEWAY2=10.241.58.62
NETMASK2=255.255.255.224
ADDRESS2=10.241.57.32

Does this mean any addresses beginning with 10.241.57.32 are routed over the gateway 10.241.58.62 an address range

View 3 Replies View Related

Red Hat / Fedora :: RHEL4 Snmpd: Error Parsing '', Skipping?

Jul 21, 2009

I'm really new to Linux and I badly needed some help.

I can't find the possible cause of this error log:

snmpd: error parsing '', skipping
RHEL version: RHEL4 ES Update 4 64-bit
version of snmp packages installed : net-snmp-5.2.1-0.2, net-snmp-libs-5.1.2-11, net-snmp-libs-5.2.1-0.2

View 1 Replies View Related

Fedora :: Make The Xrander Changes Permanent?

Dec 20, 2010

I'm trying to make xrander changes permanent how can I do it?

View 2 Replies View Related

Red Hat / Fedora :: Permanent Mounting From Other Server?

Sep 27, 2010

I have some problem when i want to mount a directory from another server, this is the detail information:

Server : 192.168.2.83.
-> cat /etc/exports = /simprela1 192.168.10.129/255.255.255.0(rw,no_root_squash,no_subtree_check)
Client : 192.168.10.129

[code]....

It's work very well until i try restart my client server and the mount from 192.168.2.83 is gone, if i want it work again i must run mount script again. Can it become the permanent mount, so when i restart my server the mount is already exist?

View 2 Replies View Related

Fedora Networking :: Set Permanent Wireless Connection?

Mar 26, 2009

My Fedora 10 install runs from a single PC, from a single location. I'd like the connection, via wireless, to automatically connect to my home network. Right now, I suspect that NetManager scans all the options first.But that's a waste of time. How do I set things up to skip all that and just grab the only connection that will work?I have NetManager set up to "Auto linksys" with MTU set for "automatic" too. I've Googled around for this, but maybe have missed something. Too often, at login I do NOT connect though the network is available. I suspect there's a way to lock this in that I have not yet discovered...

View 1 Replies View Related

Fedora :: Persistent DNS Cache - Make It Permanent?

Mar 10, 2010

i has setup a persistent DNS cache to improve my web-browsing. it works wonders and with my ICC built firefox my web-browsing is laser-fast, pretty much like using internet explorer in windows! however, everytime i reboot, my modifications to /etc/resolv.conf have been replaced... 1st. the file must contain:

# Generated by NetworkManager (obviously modified by this)
nameserver 127.0.0.1 <----this is lost on reboot, and is needed to make it all work
nameserver 209.226.175.223
nameserver 198.235.216.134

i have tried to add this to - System/administration/network, but it doesn't seem to fix the problem. 2nd. my next problem is that when fedora 12 starts up,i need it to start "dnsmasq".i have tried to add it as a startup application, but it doesn't start automatically.so i end up having to start it manually everytime:

sudo /etc/init.d/dnsmasq start

it is annoying, but so far i just deal with it, because my browsing is that much faster! i am planning to post a tutorial for those interested in faster web-browsing in linux, but until i can make the changes perminent there isn't much point.

PS: i have tried to write a shell script to do this and every which way i try it fails

View 8 Replies View Related

Software :: Fedora 13 Delete Hotkey Permanent?

Jul 13, 2010

So I started playing with my hotkeys today, and much to my dismay, I seem to have irreversibly set the delete hotkey. This is extremely annoying now because instead of deleting the selected text, it executes the command that I put in. The problem is that that specific command is not listed under system>preferences>keyboard shortcuts. Somehow I set it to open the terminal, and now I can't turn it off. (One thing to note, though, is that I can set another command to do nothing with delete as the hotkey. Then terminal doesn't open, but I still can't use the key!)

View 1 Replies View Related

Networking :: Definition: "a Process That Replaces A Series Of Related, Specific Routes In A Route Table With A More Generic Route"

Oct 21, 2010

I got this definition:"a process that replaces a series of related, specific routes in a route table with a more generic route." honestly I found it not so clear.. I want to know if this definition is correct and also more details about this subject..

View 1 Replies View Related

Fedora :: Convention For Permanent Partition Mount Points?

Aug 24, 2009

If /mnt & /media are for temporary mount points and removable drives, what is the usual convention for locating permanently mounted partitions for all users on the computer? e.g. I have a partition for photographs, I'll just call it "photos" would it be bad form to mount it as /photos or something like /my_hdd/photos ?In practice it probably won't matter, but I want to make sure it's easy for anyone else to perform admin tasks on the computer when I'm not available.

View 2 Replies View Related

Fedora :: Make Group Change On Device Permanent?

Dec 31, 2009

I would like to make group changes on serial ports permanent. I can become root and use chgrp:

chgrp uucp /dev/ttyaa00

but it only lasts until reboot. I think I need to add this line to a startup file but not sure where. I want this to work in run level 3 and 5 (at least). I have a digi portserver and their realport software. The ports are /dev/ttyaa00 through /dev/ttyaa07 and are in group root on startup. I want them in uucp so any user in uucp can use them. This is for F10.

View 4 Replies View Related

Fedora :: How To Make Permission Change For Device Permanent

Jun 23, 2010

I recently compile Kernel 2.6.34 (to fix the AMD PowerNow issue with 1055T processor, and it worked!) However, the device
/dev/shm
starts up at boot as Read-Only.

Google Chrome requires this device to be user-writable, or it won't start up. Presumably, the stock kernels (and all that are updated) have it set to User-Write. I have not noticed any other ill effects with the permission being read-only. If I do:
sudo chmod a+w /dev/shm
Everything will work from there, but each time I reboot, I have to do that. How do I make that permission-change permanent?

View 5 Replies View Related

Fedora :: Killing Xterm Causes A Permanent Black Screen

Sep 8, 2011

Our Fedora 15 linux box have the following requirements:

1. Runlevel 3
1. Autologin as root for convenience
2. Run Xorg
3. Run xterm on display :0.0
4. Lauch our program on display :0.0

So we simply put step 2 ~ step 4 in the .bash_profile of root user:

# .bash_profile
if [ -f "/.bahsrc ]; then
.~/.bashrc
fi
export DISPLAY=:0.0
Xorg &
sleep 3 # for some reason, we need this three seconds to make sure that xterm start up successfully
xterm &

The problem is, if I issue "kill xterm", it flashes out some messages disappearing so quick that I can't even read, and then leave me with a black screen with a cross cursor at the center. The system seems to be crashed, even the numlock doesn't work. Since we execute xterm & during logging in, now I can crash my system simply by pressing ctrl + C ! That's disaster!

View 1 Replies View Related

Red Hat / Fedora :: Permanent Mounting Of Windows Directory For Using Samba?

Mar 30, 2010

tell me the command to permanent mount a windows directory into linux for using samba.

View 7 Replies View Related

Ubuntu Networking :: Error - "route: Netmask Does Not Match Route Address"

Jan 25, 2011

Having trouble getting my Netgear WNA1000 working thru wireless router. Have tried lots of suggestions from other threads to no avail. Someone suggested that th routing table isn't set correctly, so have been trying to use the follwing to make the proper entry in the routing table: sudo route add -net 192.168.0.1 netmask 255.255.255.0 dev wlan0

Result: error message stating with:
"route: netmask does not match route address"

followed by "Usage" instructions which tell me to do what I just did. Any ideas on how I can populate my routing table with correct entry for my wireless card? Not to complicate matters, but I temporarily turned off encryption on my router to eliminate that as a possibility until I get connected. So maybe it'still trying to connect via encrypted mode - do I need to turn off encryption on my (client) end?

View 2 Replies View Related

Red Hat / Fedora :: Setting Up Permanent Resolution In Xorg Config File

Mar 29, 2010

I am trying to set up a permanent resolution in the xorg.conf file. At the moment whenever I reboot the machine the resolution defaults to auto. How I can change that to be constantly at 1600x1200?

Here is my xorg.conf file.
Code: # nvidia-xconfig: version 1.0 (buildmeister@builder62)
Wed May 27 01:58:49 PDT 2009
Section "ServerLayout"
Identifier "Layout"
Screen 0 "Screen0"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
InputDevice "stylus" "SendCoreEvents" # Added
InputDevice "eraser" "SendCoreEvents" # Added
InputDevice "cursor" "SendCoreEvents" # Added
InputDevice "pad" "SendCoreEvents"
EndSection .....

View 2 Replies View Related

Fedora :: Configure Power Manager / Another Program For Watching Movies Without Permanent Dragging Mouse

Aug 2, 2010

In Power Manager I set a 5 minutes period of inactivity before turning off the monitor... But in Fedora 11, when I saw movies, the sleep mode didn't come... But in Fedora 13 (programm VLC-player), after 5 minutes, computer come into sleep mode..What do I do to configure Power Manager or another program for watching movies without permanent dragging mouse?))

View 4 Replies View Related

Red Hat / Fedora :: How To Add Default Route

Feb 1, 2010

I'm trying to move away from using /etc/rc.local for adding routes I've added

IPADDRESS0=xxx.xxx.xxx.xxx
NETMASK0=xxx.xxx.xxx.xxx
GATEWAY0=xxx.xxx.xxx.xxx

to /etc/sysconfig/network/network-scripts/route-eth0 after doing 'service network restart' I'm do see the new route as described by directive above. However, I still do not see the default gateway that's supposed to be on my box. Where/how do I define the default gateway using the route-ethX method above?

View 1 Replies View Related

Fedora :: How To Route Gstreamer To Jack

Sep 15, 2009

basically what i'm trying to do is get sound from flash videos on videos. my plan is to use gnash to play flash files within firefox. since gnash uses gstreamer to output audio and since i'm using jack for playback, i need to somehow route gstreamer to jack. does anyone know how to do that? here is an ubuntu thread that may help, but i'm not sure how to translate that to fedora. i'm already able to hear the sine tone from running:

code:
gst-launch audiotestsrc ! audioconvert ! audioresample ! jackaudiosink
in the console. i just don't know what to do next.

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved