Hello Johannes!

Do you have any hints for me on how I can make my wlan0 (ath5k) fail
link up commands?

On lör, 2008-07-05 at 06:36 +0200, Johannes Berg wrote:
> # ip link set wlan0 up

I think I've found the right place in the code, but could you please do
a echo $? after the above command to see if the exit code is 2?

ip/iplink.c, line 366 (in iplink_modify):

        if (rtnl_talk(&rth, &req.n, 0, 0, NULL, NULL, NULL) < 0)
                exit(2);


There should probably be an error message before the exit function...


-- 
Regards,
Andreas Henriksson



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to