Markus989
Posts: 7
Joined: Thu Jun 06, 2013 9:22 am

Networkmodule - open-function is called automaticly

Sun Jul 07, 2013 7:03 pm

Hi all,
i want to program a network ethernet module which uses SPI as the hardwareinterface. My problem is when I load the Module with the insmod command, the open-function is called automaticly. But I need to call this function with the commandline, with ifconfig eth1 up. With an none ethernet dirver module it works fine, but with ethernet it doesn´t. Every time when I call ifconfig eth1 down, the close-function is called and immediately after that the open-function is called. Is there some default networkmanager which causes this???

Return to “C/C++”