OpenVZ Forum


Home » General » Support » Problem with Networking - VENET Interfaces not Configured
Re: Problem with Networking - VENET Interfaces not Configured [message #30840 is a reply to message #30828] Sun, 08 June 2008 21:36 Go to previous messageGo to previous message
sjdean is currently offline  sjdean
Messages: 30
Registered: May 2008
Member
I did some chobbling around with rc.sysinit on the guest for a bit of fun, and copied some bits from a Working Fedora 8 template I put together.

And it works now.

I think it was down to /proc not being mounted correctly.

That's resolved. Just a bit of a shame at the moment that the software doesn't seem to like me using venet0:0 devices - doesn't even show up in its screens.

Im not saying that's a flaw, and indeed, Im sure I could probably rewrite bits of their code if I can find the time.

Indeed, there's a file called interfaces.cgi which readS:

sub display_interface
{
        my ( $settings, $prefix ) = @_;

        my $interface = $settings{"${prefix}_DEV"};

       return if ($interface !~ /eth[0123]/ );

        my $ifconfig_details = &pipeopen('/sbin/ifconfig', $interface);
.
.
.
.



Place a # before that return and it brings out the details for the interface. What a load of waffle. Bad bad bad bad bad hard coded rubbish. I wonder where else there might be hard coded stuff?

Cheers
Simon
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: How do I reset root password.
Next Topic: SSH proxy/gateway
Goto Forum:
  


Current Time: Thu Jul 10 02:27:16 GMT 2025

Total time taken to generate the page: 0.02787 seconds