grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Autopilot, a module for remotely doing things


From: Brugnara Daniele
Subject: Re: Autopilot, a module for remotely doing things
Date: Wed, 03 Dec 2014 20:34:37 +0000

I think I've found the problem. I'm in virtualbox and no compatible cards are found. I'll try with a real pc with a real nic and I'll let you know my progress.
Daniele.
On Wed Dec 03 2014 at 9:03:05 PM Brugnara Daniele <address@hidden> wrote:
Do I have to initialize the network or grub does it self? I suppose that calling net_ls_cards something should be printed out but this is not true in my case.
FOR_NET_CARDS macro doesn't output any cards. 
In the source code, I've found that there is a function grub_net_card_register and for what I have understood, this should be called somewhere. I think that this is done by the modules: efinet, emunet, ofnet, ubootnet and pxe. I'm trying to insmod-ding ofnet but with no fortune.
If I'm doing something stupid, please tell me. I don't want to waste your time.

Thanks.




On Wed Dec 03 2014 at 7:03:19 PM Alan Perry <address@hidden> wrote:


> On Dec 3, 2014, at 9:00 AM, Brugnara Daniele <address@hidden> wrote:
>
> source (http,http://192.168.1.70:1273)/
> source (http:http://192.168.1.70:1273)/
> source (http,192.168.1.70,1273)/
> source (http:192.168.1.70:1273:/)
> [...]
>
>

The syntax for a net device is (<protocol>, <server>).  <protocol> in your case would be 'http'.  <server> would be 192.168.1.170. The http module is hard-coded to use port 80.

I am in the process of extending the syntax to allow the port to be specified (with syntax (<protocol>, <server>, <port>)). Working through a bug in my code.

alan


reply via email to

[Prev in Thread] Current Thread [Next in Thread]