On Wed, Dec 3, 2014 at 11:34 PM, Brugnara Daniele <dani...@brugnara.me> wrote: > 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.
Are you on legacy BIOS? GRUB does not have hardware NIC drivers; it relies on networking support provided by platform firmware. In case of legacy BIOS the only network stack is PXE and it is available only when grub was booted via PXE. > Daniele. > > On Wed Dec 03 2014 at 9:03:05 PM Brugnara Daniele <dani...@brugnara.me> > 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 <ape...@snowmoose.com> wrote: >>> >>> >>> >>> > On Dec 3, 2014, at 9:00 AM, Brugnara Daniele <dani...@brugnara.me> >>> > 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 >>> > _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org https://lists.gnu.org/mailman/listinfo/grub-devel