Koozali.org: home of the SME Server

How to disable bonding?

Offline Horsefeathers

  • *
  • 11
  • +0/-0
How to disable bonding?
« on: January 13, 2008, 09:18:02 PM »
I've just set up a simple SME install to be used as an internal server (not gataway), in a machine with a single embedded nic.  SME seems intent on setting the nic up as  bond0, and I see no obvious way to shut off bonding and just have a simple "eth0" setup.  As it is, the server cannot get to the Internet, and it is also inaccessible from the LAN.  So, how do I shut off bonding and simplify this setup?  (It also seems to me that you should be able to disable it during the install...)

Thanks in advance for your helpful suggestions.

Offline byte

  • *
  • 2,183
  • +2/-0
Re: How to disable bonding?
« Reply #1 on: January 13, 2008, 10:36:53 PM »
I've just set up a simple SME install to be used as an internal server (not gataway), in a machine with a single embedded nic.  SME seems intent on setting the nic up as  bond0, and I see no obvious way to shut off bonding and just have a simple "eth0" setup.

SME Server does not set up by default NIC bonding, if you only have one network card installed then you will not have the option of choosing NIC bonding.  Also you have to have two of the same network cards installed if you was to use NIC bonding and even then when setting up the server the default option for NIC bonding is disabled.

If you still feel SME Server is not working out of the box then please report to our bug tracker giving us your full server history and hardware details. Thanks.
--[byte]--

Have you filled in a Bug Report over @ http://bugs.contribs.org ? Please don't wait to be told this way you help us to help you/others - Thanks!

Offline Horsefeathers

  • *
  • 11
  • +0/-0
Re: How to disable bonding?
« Reply #2 on: January 14, 2008, 12:01:54 AM »
SME Server does not set up by default NIC bonding, if you only have one network card installed then you will not have the option of choosing NIC bonding. 

And yet that's exactly what happened.  Ifconfig shows only bond0 -- no eth0.  I recall seeing an option somewhere along the way (not sure whether that was during install or from the admin panel) for setting up bonding... and of course (since I have only the one nic) I elected to not use it.  It was activated anyway.  Since this is a new install, I'll try loading it again and make note of where (or if) I see the bonding option.  I will also take a hardware inventory and submit everything to the bug tracker.  Thanks for your feedback.

One more question: is there in fact a way to manually kill bonding and revert to a single nic setup via the command line? 

Offline raem

  • *
  • 3,972
  • +4/-0
Re: How to disable bonding?
« Reply #3 on: January 14, 2008, 03:50:52 AM »
Horsefeathers

login as admin
select Configure this server
one of the screens allows you to select bonding or not
so just change the setting to not select bonding (if it is not already set to that).
...

Offline Horsefeathers

  • *
  • 11
  • +0/-0
Re: How to disable bonding?
« Reply #4 on: January 14, 2008, 04:19:11 AM »
Horsefeathers

login as admin
select Configure this server
one of the screens allows you to select bonding or not
so just change the setting to not select bonding (if it is not already set to that).


Thank you, Ray... that's exactly what I've done (again), and there was no opportunity for me to select/deselect bonding during the configure process.  I am able to set the IP address, the role of the server, etc, but nothing about bonding.  And then upon logging in as root, I see that bond0 still exists at IP address 1.1.1.1 (?) and no eth0 to be found.  I am more than willing to default to assuming human error, but this is looking more like a bug to me after having installed this twice.  At least I see nothing (documented, anyway) I could have done to prevent this from happening.

Offline Horsefeathers

  • *
  • 11
  • +0/-0
Re: How to disable bonding?
« Reply #5 on: January 14, 2008, 07:44:30 AM »
byte:

I tried to open a new Bugzilla account, but I got a "Forbidden" page when signing up.  Here are my relevant hardware details, so that you can at least comment on them for now... please let me know if there is anything else you need. :pint:

[Fresh install of SME 7.3 (server only)]
CPU: Athlon XP-M 2800+
Chipset: SiS 761GX/965L
RAM: 1 GB DDR3200
MB: PCChips A31G v1.1 http://www.pcchips.com.tw/PCCWeb/Products/ProductsDetail.aspx?MenuID=21&LanID=0&DetailID=367&DetailName=Specification




Offline raem

  • *
  • 3,972
  • +4/-0
Re: How to disable bonding?
« Reply #6 on: January 14, 2008, 08:19:54 AM »
Horsefeathers

If you search on bonding, there was a suggestion to reconfigure to gateway mode in order to undo bonding, then reconfigure back to server only mode.
« Last Edit: January 14, 2008, 08:33:34 AM by RayMitchell »
...

Offline byte

  • *
  • 2,183
  • +2/-0
Re: How to disable bonding?
« Reply #7 on: January 14, 2008, 12:22:28 PM »
I tried to open a new Bugzilla account, but I got a "Forbidden" page when signing up.

Try again, if you still have issues please email staff [at] contribs [dot] org - Thanks.
--[byte]--

Have you filled in a Bug Report over @ http://bugs.contribs.org ? Please don't wait to be told this way you help us to help you/others - Thanks!

Offline Horsefeathers

  • *
  • 11
  • +0/-0
Re: How to disable bonding?
« Reply #8 on: January 14, 2008, 04:18:30 PM »
Horsefeathers

If you search on bonding, there was a suggestion to reconfigure to gateway mode in order to undo bonding, then reconfigure back to server only mode.

I did search the site for "bonding," and didn't find anything relevant.  If you could direct me to a link, I'd appreciate it.  As for your suggestion... it doesn't look like you can select gateway mode if you have only one nic installed. 

Offline Horsefeathers

  • *
  • 11
  • +0/-0
Re: How to disable bonding?
« Reply #9 on: January 14, 2008, 04:19:08 PM »
Try again, if you still have issues please email staff [at] contribs [dot] org - Thanks.

Thanks.  Will do.

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: How to disable bonding?
« Reply #10 on: January 14, 2008, 04:19:49 PM »
If you search on bonding, there was a suggestion to reconfigure to gateway mode in order to undo bonding, then reconfigure back to server only mode.

If that makes any difference, there is a bug. Please post details to Bugzilla. Thanks.

Offline raem

  • *
  • 3,972
  • +4/-0
Re: How to disable bonding?
« Reply #11 on: January 14, 2008, 04:57:21 PM »
Charlie

Quote
If that makes any difference, there is a bug. Please post details to Bugzilla.

And that's what I would have said in my next post !
...

Offline Horsefeathers

  • *
  • 11
  • +0/-0
Re: How to disable bonding?
« Reply #12 on: January 14, 2008, 10:48:40 PM »
I've tried again to setup an account on Bugzilla, but am still unable to sign up for some reason.  So for the moment, I am waiting for a staffer to read my email and provide me with the secret handshake to get me in.  :wink: 

If CentOS/Ubuntu/FC8 work on this machine but SME won't, there's probably a bug in SME -- no insult intended, just observation.  SME looks like a potentially killer distro for my purposes, and I'd like to hang in and help you improve the product if you folks allow me.  In the meantime, I also need to get this server rolling soon and am resisting the temptation to punt this thing and load up CentOS.  I'm sure you all understand.

Thanks.

Offline byte

  • *
  • 2,183
  • +2/-0
Re: How to disable bonding?
« Reply #13 on: January 14, 2008, 10:54:24 PM »
If CentOS/Ubuntu/FC8 work on this machine but SME won't, there's probably a bug in SME -- no insult intended, just observation.  SME looks like a potentially killer distro for my purposes, and I'd like to hang in and help you improve the product if you folks allow me.  In the meantime, I also need to get this server rolling soon and am resisting the temptation to punt this thing and load up CentOS.  I'm sure you all understand.

SME Server 7.3 is actually based on CentOS 4.6, what I'm finding strange is you physically only have one Network card installed yet ifconfig is showing bond0 :-?

Thanks for your time as well.
--[byte]--

Have you filled in a Bug Report over @ http://bugs.contribs.org ? Please don't wait to be told this way you help us to help you/others - Thanks!

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: How to disable bonding?
« Reply #14 on: January 14, 2008, 11:08:12 PM »
I've just set up a simple SME install to be used as an internal server (not gataway), in a machine with a single embedded nic.  SME seems intent on setting the nic up as  bond0, and I see no obvious way to shut off bonding and just have a simple "eth0" setup.

I'm pretty sure that the bond0 is a red-herring, and the core of your problem is the missing eth0, and that would be because your NIC is not detected by and supported by the CentOS4/RHEL4 kernel. Please provide full details via the bug tracker - we're not making progress here. Thanks.

Offline Horsefeathers

  • *
  • 11
  • +0/-0
Re: How to disable bonding?
« Reply #15 on: January 14, 2008, 11:46:02 PM »
SME Server 7.3 is actually based on CentOS 4.6, what I'm finding strange is you physically only have one Network card installed yet ifconfig is showing bond0 :-?

Thanks for your time as well.

It just occurred to me that since SME is based on an earlier version of CentOS than I have tried (v.5), this can also be a CentOS issue.  I will try installing 4.6 to see if I can replicate the problem.  I might then have more luck identifying the source of the problem.  I will keep you informed -- either here or on the bug tracker -- if I ever get access to it...

Offline Horsefeathers

  • *
  • 11
  • +0/-0
Re: How to disable bonding?
« Reply #16 on: January 14, 2008, 11:50:16 PM »
Charlie:  Again, I would post to Buzilla if I could.  It looks like a closed system that will not allow a new user to sign up.  If you could kindly assist me in signing up, I'd be happy to bring my post there. 

Trying to give something back here...

Offline raem

  • *
  • 3,972
  • +4/-0
Re: How to disable bonding?
« Reply #17 on: January 15, 2008, 12:02:03 AM »
Horsefeathers

Quote
... I would post to Buzilla if I could. It looks like a closed system that will not allow a new user to sign up.

It's not a closed system but does require you to create a new acount with a login ID based on a valid email address.

http://bugs.contribs.org/

"To create a Bugzilla account, all you need to do is to enter a legitimate e-mail address. You will receive an email at this address to confirm the creation of your account. You will not be able to log in until you receive the email. If it doesn't arrive within a reasonable amount of time, you can contact the maintainer of this Bugzilla installation at staff@lists.contribs.org."


I just tried creating a new account and it works fine:

To confirm the creation of the user account xyz@abc.com.au, use the URL given in the email you will receive. If you take no action in the next 3 days, this request will automatically be canceled.

....and within seconds I received the confirmation email.

...

Offline Horsefeathers

  • *
  • 11
  • +0/-0
Re: How to disable bonding?
« Reply #18 on: January 15, 2008, 12:23:36 AM »
Okay, Ray.. you got me -- I'm an idiot.  I don't know how to enter an email address on a web form.  /sarcasm

I am trying REALLY hard not to just give up on this.  You have a lot of good people here and I really do want to help out if I can.  I DID enter my address THREE different times and each time I did, I got the same FORBIDDEN page.  (my email is a Yahoo address, in case that makes a difference)  I am not lying to you, and I am not a completely clueless dimwit.  Partially maybe, but not completely.  I tried using the form and it DIDN'T WORK for me -- for whatever reason.  If you prefer to argue over trivial minutae, that's fine; we can both drop back and pretend this issue never existed.  But keep in mind that I am TRYING to help the project with what appears to be a known bug.  Help me help you.  Or not.  My life will go on either way.

-------------------------------------

Forbidden

You don't have permission to access /createaccount.cgi on this server.
Apache/2.2.3 (CentOS) Server at bugs.contribs.org Port 80
« Last Edit: January 15, 2008, 12:26:39 AM by Horsefeathers »

Offline raem

  • *
  • 3,972
  • +4/-0
Re: How to disable bonding?
« Reply #19 on: January 15, 2008, 12:55:49 AM »
Horsefeathers

I wasn't name calling, I wasn't arguing and I certainly did not make any other derogatory remarks, so I suggest you remain calm & pleasant.

I just tested the functionality and replied to you that it worked perfectly fine for me, and I used a yahoo.com.au address for that matter, so it does not seem to be an inherent problem with the bugzilla site.

Try accessing the site from a different Internet connection.


Assuming your NIC is an onboard one, as a temporary workaround you could disable it in the bios and install a suported NIC card.
Charlie has hinted at a likely reason for your issue that may or may not be a bug with sme7.3. The sooner it can get to the bug tracker the better for you.

...

Offline Horsefeathers

  • *
  • 11
  • +0/-0
Re: How to disable bonding?
« Reply #20 on: January 15, 2008, 02:06:22 AM »
Ray, I have no problem with you, and I appreciate you at least trying here.  But I don't get the condescending tone at all.  Repeating ad nauseum how I should submit to the bug tracker wasn't going to get me there, was it?  I was having a problem getting there, not being stubbornly unwilling to go there.  There's a time to be procedural, and then there's a time to be a little more helpful.  On the other hand, I know how sometimes we can read things in a written forum in ways other than how they're intended, so... meh, no worries... let's just move on. 

I'm in now.  My Firefox is having an issue with the site... probably on my end.  IE got it done for a change.  Never even occurred to me that I should try IE.  I so actively avoid that POS that I often forget it's even there. :lol:

Now I can continue this discussion where it belongs.  Thank you and everyone else for your guidance!

Horsefeathers!

Offline thomasch

  • *
  • 232
  • +0/-0
Re: How to disable bonding?
« Reply #21 on: January 15, 2008, 04:59:30 AM »
My Firefox is having an issue with the site... probably on my end.  IE got it done for a change.  Never even occurred to me that I should try IE.  :lol:
Horsefeathers!

Post a bug then..