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