Net Driver

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

 



HI,
      I am writing one Dummy Net Driver and registering my interface as
Port0 and Port1.
through  ifconfig  command  i  am able too  see the  my interfaces listed.

In Driver's  Open method i am assigning Some hard ware address which i can
 see once i do the ifconfig.

Once i do the  ifconfig port0 x.y.z.w

the hardware address and Ip address are also listed.

I don't want to do  manually  ifconfig port0 x.y.z.w


I want my driver to assign Ip address also.
So how  this can be achieved.  I don't have any actual device .




Regards,
Mahesh Pujara




-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux