02-04-2009
Problem...SOLVED for everyone :)
...I figured out what this is. When RTNETLINK tells you that one or more 'answers' are invalid, what it *really* means is that one or more lines in the /etc/sysconfig/network-scripts/ifcfg-eth# configuration file, where # is 0,1,2, and the like, are incorrect.
So, THE FIX IS:
...as root, edit the file and comment out just about all the lines in it except the type, device, and hwaddr lines, save it, and then wait a few moments. If it comes back with a 'you are connected' message, then one or more lines in the file that you commented out are incorrect or unnecessary for the type of connection you've got.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello Everyone;
I have a script that is throwing the following message:
stty: : Invalid argument
The line that gives the message is the following,
sailormoon$ scp home/voice.xml newwave@silvermoon:/newwave/config/radius
stty: : Invalid argument
voice.xml | ... (2 Replies)
Discussion started by: tony3101
2 Replies
2. Solaris
I want to figure out what is the reason of error message I have in Solaris 10. Why Solaris 10 dosn't recognize 65535?
ps: 65535 is an invalid non-numeric argument for -p option
usage: ps
'format' is one or more of:
Thank you (5 Replies)
Discussion started by: gogogo
5 Replies
3. UNIX for Dummies Questions & Answers
Hi All,
Please guide me how to get rid :
msgrcv : Invalid argument.
I am using message queues: msgsnd and msgrcv,
I am able to send through msgsnd and receive through msgrcv, but at times i get the belo error.
msgrcv : Invalid argument. (1 Reply)
Discussion started by: answers
1 Replies
4. Solaris
I tried to install glassfish on Solaris 10 and it worked fine on other instances. I got the below message
bash-3.00# ./sjsas-9_1_01-solaris-sparc.bin -console
bash: ./sjsas-9_1_01-solaris-sparc.bin: Invalid argument
I logged on as root and the file has execute permission. So strange. Do... (1 Reply)
Discussion started by: Andrew2008
1 Replies
5. IP Networking
Hi
I lost a lot of time in understanding the message "sendto Invalid argument" when I execute the following code.
This code is a simple UDP sender improved with some reliability feature.
My goal is to send a file. I've reported only the code which may be useful.
Can anyone help me?
Thank you... (0 Replies)
Discussion started by: Puntino
0 Replies
6. UNIX for Advanced & Expert Users
When I am using the function semctl() it is giving me error as the INVALID ARGUMENT. Can any body give me the possible reasons??? (2 Replies)
Discussion started by: asimibm
2 Replies
7. Programming
Hello everybody,
I've been programming an alternative to linux's standard 'arp' program. I can delete arp entries (SIOCDARP), get arp entries (SIOCGARP), but i'm having troubles setting entries with ioctl.
I can't set any PERM, USETRAILERS, or COM address. It only adds PUB entries and i don't... (2 Replies)
Discussion started by: semash!
2 Replies
8. SuSE
Hello,
I have a opensuse Linux server with two nics.
eth0 = internal network with 172.16.1.24
eth1 = external network with ip 172.19.3.2
Internal networks: 172.16.0.0/16, 172.17.0.0/16 and 192.168.0.0/16.
External network: 172.19.3.0/16
The default gateway is 172.19.3.1 on eth1.
... (3 Replies)
Discussion started by: felix123
3 Replies
9. UNIX for Advanced & Expert Users
Hi Guru's,
I am unable to mount NFS share on unix system (DG/UX) which is nfs client.
Error:
mount: /nfsshare: Invalid argument
mount: giving up on:
/mountpoint
i tried following command
mount -t nfs remotehost:/nfsshare /mountpoint
Error: (5 Replies)
Discussion started by: Justin John
5 Replies
10. UNIX for Beginners Questions & Answers
hi
i have an android phone which i think is bricked, so wanted to see what the actual issue is, I flashed it with TWRP recovery image and launched terminal i, was able understand that mount is not happening, it says invalid argument and no such file or directory. Below is what i get while... (32 Replies)
Discussion started by: nanz143
32 Replies
LEARN ABOUT CENTOS
bond2team
BOND2TEAM(1) Bonding to Team conversion tool BOND2TEAM(1)
NAME
bond2team -- Converts bonding configuration to team
SYNOPSIS
bond2team [options]
DESCRIPTION
bond2team is a tool to convert bonding options to team trying as much as possible to keep the original functionality.
The resulting files are saved in a temporary directory using ifcfg style by default. In the case of converting an ifcfg file, it translates
the bonding options to team, preserving all other options. In that case, it converts the respective slave ifcfg files to team port, pre-
serving all their other options too. In case of converting from given bonding options in the command line, the tool can use the specified
ports as team ports.
OPTIONS
--master <interface>
Specify the interface name or ifcfg file to convert. If the interface name is specified, the tool will look at
/etc/sysconfig/network-scripts/ for the respective ifcfg file.
--rename <interface>
This is a convenient option to replace the original interface name by the specified name. For instance, if --master specifies bond0,
it is possible to use --rename team0 to change the final interface name to team0.
--ifcfg
Set the output format to ifcfg config style. [default]
--json Set the output format to JSON style. See teamd.conf(5) for further details.
--bonding_opts '<bonding options>'
Specify the bonding options to be converted instead of reading them from the ifcfg file.
--port <interface>
Set the specified interface as a team port.
--configdir <directory>
Change the ifcfg configuration path from /etc/sysconfig/network-scripts to the specified <directory>.
--outputdir <directory>
Set the output directory to <directory>.
--stdout
Print the result to the screen instead of writing to files.
--debug
Increase the debugging level.
--quiet
Disallow any messages to be printed to console.
--version
Print tool version to console and exit.
--help Print help text to console and exit.
--examples
Print common usage examples to console and exit.
EXAMPLES
To convert the current 'bond0' ifcfg configuration to team ifcfg:
# bond2team --master bond0
To convert the current 'bond0' ifcfg configuration to team ifcfg renaming the interface name to 'team0'. Caution : firewall rules, alias
interfaces, etc., that might be tied to the original interface name can break after the renaming because the tool will only change the
ifcfg file, nothing else.
# bond2team --master bond0 --rename team0
To convert given bonding parameters with ports without any ifcfg:
# bond2team --bonding_opts 'mode=1 miimon=500 primary=eth1 primary_reselect=0' --port eth1 --port eth2 --port eth3 --port eth4
For more examples, see the option --examples.
CAVEATS
The tool will not convert any other configuration which might be tied to the current setup. For instance, firewall rules, alias interfaces,
bridges, and so on.
AUTHOR
Flavio Leitner is the original author of the tool. Jiri Pirko is the original author and current maintainer of libteam.
SEE ALSO
teamd(8), teamdctl(8), teamd.conf(5), teamnl(8)
libteam 2013-07-18 BOND2TEAM(1)