SIFMTU sl0(ifconfig) - debug?

Samuli Kaski (samkaski@cs.helsinki.fi)
Sun, 19 Apr 1998 23:02:22 +0300 (EEST)


Hi,

always when I bring up my slip interface I get

SIFMTU sl0(ifconfig)

in my console. I traced this back to /usr/src/linux/net/core/dev.c, line
1417 (2.1.96) reads

printk(KERN_DEBUG "SIFMTU %s(%s)\n", dev->name, current->comm);

Now, not being a kernel hacker I don't understand the code. Either the
dev->change_mtu() returns 0 or the device doesn't support setting the
MTU (which it seems to) and dev->flags & IFF_UP is set (what's this?)

Now, if this a debug message it isn't very obvious, or?

What I do in my rc.d scipts is

/usr/sbin/slattach -p slip -s 57600 /dev/ttyS0 &
echo "Attached SLIP to /dev/ttyS0... 5 second delay"
sleep 5
echo "Bringing up network interface..."
/sbin/ifconfig sl0 10.1.40.254 pointopoint 10.0.0.11 mtu 1500 up

--
Samuli Kaski, samkaski@cs.helsinki.fi
Department of Computer Science, University of Helsinki, Finland.

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu