02-18-2014
Thread closed!
This forum is for all and we expect all try their best to post in plain English, so may I ask you to repost but in English this time?
Thanks you
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi!
I have a script shell and I must do a calculation:
let c=7/4
echo $c => 1 :(
and me I want 1,75
Is it possible to find 1,75 in shell?
Thinks! (10 Replies)
Discussion started by: Castelior
10 Replies
2. UNIX for Advanced & Expert Users
I Use mkcd for save same directories into DVD, But the commande not complete succefuly
mkcd -r directorie_i_whish_save -d /dev/cd1
please it is very urgent
thank you :confused: :confused: (1 Reply)
Discussion started by: mktahar
1 Replies
3. AIX
I can write into DVD? I have USE "MKCD" command
mkcd -r directorie -d /dev/cd1
please help me it s urgent (2 Replies)
Discussion started by: mktahar
2 Replies
4. IP Networking
I have a system that i want to reach via a vpn created vi a fierwall.The fierwall in an other system.
The ip i am trying to get to is 172.16.4.48
I need to get to it via the hme1 interface.
The vpn gateway has this ip 172.30.50.1
I need to clean up the routing table and make this work; or is it... (5 Replies)
Discussion started by: waterboy
5 Replies
5. UNIX for Advanced & Expert Users
Hi,
I want to create a new environment variable (JAVA_HOME), but when I open a new shell this varible is delete...
to create the variable I do :
export JAVA_HOME=/usr/java/jdk
and I verify with :
echo $JAVA_HOME
and it's work...
But When I open a new shell this variable is forget...
( It... (2 Replies)
Discussion started by: marcel_kobain
2 Replies
6. Filesystems, Disks and Memory
hi
i'm trying to mount my usb device in fedora 7(vmware)
i use the comand:
mount /sda1 /mnt
but when i go to /mnt i find the content of the folder /boot.
can u tell me what's the problem? (2 Replies)
Discussion started by: jalil smail
2 Replies
7. AIX
Hello,
On a partition with AIX 5300-11-01-0944.
1 etherchannel ent9 with aggregation ent3/ent7.
# lsdev |grep ent
...
ent3 Available 07-01 4-Port 10/100/1000 Base-TX PCI-Express Adapter (14106803)
...
ent7 Available 0A-01 4-Port 10/100/1000 Base-TX PCI-Express... (2 Replies)
Discussion started by: Trunk
2 Replies
8. Solaris
Bonjour,
J'ai ajouté par erreur à un sous mirroir des disques de cette facon :
metattach d53 c2t90d0s0 c2t90d1s0 ... alors que j'aurais du faire un stripe par disque (comme ça) :
metattach d53 c2t90d0s0
metattach d53 c2t90d1s0
..
Derriere, j'ai fais un growfs -M du FS pour l'aggrandir et... (1 Reply)
Discussion started by: phil.nakache
1 Replies
9. SCO
Hi all
I have installed a demo version of SCO OpenServer 5.0.2, I finally found it is Desktop Interface, I would like to know how to change its interface to dos based interface?
If you have any ideas, please tell me then. Thank you (2 Replies)
Discussion started by: TinhNhi
2 Replies
10. AIX
Bonjour,
Je travail sur un environnement AIX 5.3 et je n'arrive pas à augmenter mon FS ni mon LV.
J'utilise les commande suivante chfs -a size=+4G /home/guesting
ou extendlv sybase5lv 4 et rien à faire il me retourne que le maximum capacity est atteint au niveau du LV alors qu'il y a des PP de... (6 Replies)
Discussion started by: mosta
6 Replies
LEARN ABOUT DEBIAN
ifscheme
IFSCHEME(8) Commands IFSCHEME(8)
NAME
ifscheme - scheme control for network interfaces
SYNOPSIS
ifscheme [-v] [[-s] newscheme]
mapping <interface> script ifscheme-mapping
DESCRIPTION
ifscheme allows you to change network configuraton schemes or query the current scheme. It integrates with the ifup(8) command and inter-
faces(5). For example, you might use this program to configure a "home" scheme and a "work" scheme for a network device on a laptop. When
you move between home and work, a simple command can reconfigure your networking.
If you run the program with no parameters, it will tell what the current network scheme is.
The ifscheme-mapping utility is used to tell the ifup and ifdown utilities about the current scheme.
OPTIONS
-v
--verbose
Run in verbose mode. This is passed in to the ifup and ifdown programs as well.
-l
--list list all schemes available/defined in /etc/network/interfaces.
newscheme
-s newscheme
--scheme newscheme
Change to a new network configuration scheme. When the scheme is changed, network interfaces that were using the old scheme will be
taken down and brought back up to use the new configuration scheme. -s or --scheme are mandatory if newscheme begins with a -.
CONFIGURATION
To make the program do anything useful when a scheme is selected, you must edit /etc/network/interfaces to add a mapping for the interface
(or interfaces) that can be controlled on a per-scheme basis. Suppose you want to control eth0 in this way. You might have an existing eth0
configuraton in there, such as:
auto eth0
iface eth0 inet static
address 192.168.1.5
netmask 255.255.255.0
gateway 192.168.1.1
To change this so you can chose between static routing and dhcp, replace it with the following (it helps to ifdown the interface first).
auto eth0
mapping eth0
script ifscheme-mapping
iface eth0-home inet static
address 192.168.1.5
netmask 255.255.255.0
gateway 192.168.1.1
iface eth0-work inet dhcp
Now if you run "ifscheme home" and ifup the interface, you'll get the eth0-home configuration stanza. If you run "ifscheme work", it will
be changed to the eth0-work stanza. You can add additional stanzas as desired, but the label must always be of the form <hardware inter-
face>-<scheme name>.
If you have a second interface (perhaps a wireless network card on eth1), you can duplicate the above for that interface, changing the eth0
and the configuration details as appropriate, but remember to add an iface stanza for every scheme name for the second interface.
FILES
/etc/network/interfaces
the interfaces definition file
/etc/network/run/scheme
the current scheme
/etc/network/run/ifstate
a record of the current state of the interfaces, managed by ifup and ifdown
BUGS
All schemed interfaces will have the same scheme.
Any schemed interface which does not have an entry for the current scheme and is not configured when the scheme is changed will not be suc-
cessfully configured when it is brought up.
SEE ALSO
interfaces(5) ifup(8) ifdown(8)
DISTRIBUTION
Redistribution is subject to the GNU public license.
AUTHORS
Joey Hess <joey@kitenet.net>, Peter Wilson <pwilson@cs.hmc.edu>
IFSCHEME(8)