/proc/net/dev no such file or dir

Hatte John june.tune.sea at gmail.com
Tue Aug 13 09:43:55 EDT 2013


Thanks  for  help!

I  have not ever mount /sys and /proc filesystems, so is there other
way to chech the host's ip address and netdevice information?

Best Regards!




2013/8/13 Srinivas Ganji <srinivasganji.kernel at gmail.com>:
> Hi John,
>
> Have you set "NAT" under Devices --> Network Adapters? This is just a guess
> and I am not sure whether this serves your purpose or not.
>
> Regards,
> Srinivas G
>
>
> On Tue, Aug 13, 2013 at 10:57 AM, Hatte John <june.tune.sea at gmail.com>
> wrote:
>>
>>  hi:
>>
>>    I am trying to boot up my linux kerel from virtual machine
>> ,everything goes fine .
>>    but when I typed 'ifconfig' command , it reports no such file :
>> /proc/net/dev  .
>>
>>   What is the reason ? I have enable netcard for my virtual machine
>> ,is this a problem of   software or hardware?
>>
>>    Is  the file " /proc/net/dev" created at netcard initailize function ?
>>
>> Thanks!
>>
>> _______________________________________________
>> Kernelnewbies mailing list
>> Kernelnewbies at kernelnewbies.org
>> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>
>



More information about the Kernelnewbies mailing list