You are not logged in.
Pages: 1
I need help... i had the network bond setup properly until the last update of netcfg: Since then, i cannot start the bonded interface: It gives an error saying that eth0 and eth1 are down and cannot make the bonding... I tried to fix it myself but failed to.... someone can give me a hand? The wiki is outdated because the configuration from /etc/rc.conf on this matter should be commented and configured somewhere else....
EDIT: Sorry, i kind of panicked... i will collect all the info i can to ellaborate a bit more the case and post an answer.... BWT.... i had to FORCE the update of netcfg because while installing it was complaining that /etc/network.d/examples/bonding already existed....
As said... i will post back with more info.... but basically, when i try to bring the bonding profile up, bonding eth0 and eth1, /etc/rc.d/network-profiles complains that those interfaces are down.....
Last edited by Xi0N (2012-05-31 15:21:40)
Offline
/etc/network.d/examples/bonding seems to cover it - although clearly we have no idea what you're currently trying to use, as you haven't provided any details.
Offline
Ok, the setup is as follows:
De-activated network daemon and using net-profiles daemon in /etc/rc.conf
Added the bonding module in /etc/rc.conf
Then, I created a profile under /etc/network.d/bonded
CONNECTION="bonding"
INTERFACE="bond0"
SLAVES="eth0 eth1"
IP="static"
ADDR="192.168.1.245"
GATEWAY="192.168.1.155"
DNS=("192.168.1.2")
/etc/conf.d/netcfg has only one line enabled:
NETWORKS=(bonded)
The other ones are commented out
If I run /etc/rc.d/net-profiles start, i get the message:
bonded up
> Slave eth0 is down and timeout reached
> Slave eth1 is down and timeout reached
> No slaves up, aborting
> No profile Started
That profile used to work until the upgrade.......... if any more info is needed, ask me and i will post it ASAP...
Last edited by Xi0N (2012-05-31 15:41:23)
Offline
Well, according to the file tomk mentioned (and net-profiles manpage), the CONNECTION line in the config file should be 'bond', not 'bonding'.
But whether the Constitution really be one thing, or another, this much is certain - that it has either authorized such a government as we have had, or has been powerless to prevent it. In either case, it is unfit to exist.
-Lysander Spooner
Offline
Wow... that file is different for me....... i will try to re-install netcfg... i'm afraid something remains in an old version and something else is in a new one......... guess this is pretty much messed up, isn't it?
EDIT: I reinstalled and seems better... at least the files are different now.... as they should be...
Still, i get a message saying "the interface bond0 already exists".......
I noticed i had a package from aur called netcfg-bonding that i actually uninstalled, thats why before i used the "bonding" string instead of "bond"..... i think i should unload the "bonding" module that perhaps is still floating around... i dunno....
Last edited by Xi0N (2012-05-31 16:31:00)
Offline
Yes, that was the issue... i still get an error like:
RTLINK: file already exists.... but at least, the network interface starts up...
The problem was the package netcfg-bonding, you must uninstall it and remove "bonding" from the daemons array in /etc/rc.conf
Another thing: ifenslave is a mandatory dependency, because its needed for bonding interfaces.
Offline
Mandatory for bonding, yes - optional for netcfg, as not all users will be using bonded interfaces.
Post a report in the bugtracker about that.
Offline
Post a report in the bugtracker about that.
I don't know how to do this....
Offline
Bugtracker. Just register and you'll be able to open a BR.
Burninate!
Offline
Cool!! I have a bunch of suggestions.......
Thanks
Offline
Pages: 1