Fwd: ifconfig / alloc_netdev
Kumar amit mehta
gmate.amit at gmail.com
Mon Nov 5 23:36:46 EST 2012
On Mon, Nov 05, 2012 at 09:34:55PM -0500, A B wrote:
> I'm facing an issue where
> ifconfig command output doesn't display the interface that is created
> using alloc_netdev and registered using register_netdev.
>
> If i do 'ifconfig -a', i'm seeing the interface which i created.
>
> Under what circumstances does the interface is not shown in ifconfig
> output but in 'ifconfig -a' output.
>
> Also, i'm not seeing any packets forwarded to the created interface.
> i.e None of the Rx Packets and Tx Packets counters are getting
> incremented,
>
Maybe your interface is down. Try bringing it up by invoking:
ifconfig <your interface> up
> Can any one please let me know your suggestions / any documentation
> related to this problem area.
>
More information about the Kernelnewbies
mailing list