You are not logged in.

#1 2011-07-08 05:06:07

mrpsbrk
Member
Registered: 2011-02-03
Posts: 1

networkmanager 3G connection failed due to lack of /var/locs directory

By far the packages that give me the most pain on upgrades is network-manager / modem-manager combo. This last time i was having it fail like this:

Jul  8 01:44:22 renata NetworkManager[1053]: <info> Activation (ttyACM0) Stage 3 of 5 (IP Configure Start) started...
Jul  8 01:44:22 renata NetworkManager[1053]: <info> (ttyACM0): device state change: config -> ip-config (reason 'none') [50 70 0]
Jul  8 01:44:22 renata NetworkManager[1053]: <info> starting PPP connection
Jul  8 01:44:22 renata NetworkManager[1053]: <info> pppd started with pid 1328
Jul  8 01:44:22 renata NetworkManager[1053]: <info> Activation (ttyACM0) Stage 3 of 5 (IP Configure Start) complete.
Jul  8 01:44:22 renata pppd[1328]: Plugin /usr/lib/pppd/2.4.5/nm-pppd-plugin.so loaded.
Jul  8 01:44:23 renata kernel: [  154.870138] PPP generic driver version 2.4.2
Jul  8 01:44:23 renata kernel: [  155.078468] NET: Registered protocol family 10
Jul  8 01:44:23 renata kernel: [  155.085942] ADDRCONF(NETDEV_UP): eth0: link is not ready
Jul  8 01:44:23 renata kernel: [  155.088396] ADDRCONF(NETDEV_UP): wlan0: link is not ready
Jul  8 01:44:23 renata pppd[1328]: pppd 2.4.5 started by root, uid 0
Jul  8 01:44:23 renata pppd[1328]: Exit.
Jul  8 01:44:23 renata NetworkManager[1053]: <info> (ttyACM0): device state change: ip-config -> failed (reason 'ip-config-unavailable') [70 120 5]
Jul  8 01:44:23 renata NetworkManager[1053]: <warn> Activation (ttyACM0) failed.
Jul  8 01:44:23 renata NetworkManager[1053]: <info> (ttyACM0): device state change: failed -> disconnected (reason 'none') [120 30 0]
Jul  8 01:44:23 renata NetworkManager[1053]: <info> (ttyACM0): deactivating device (reason: 0).

After a lot of head-scratching and a lot of searching this bbs for the failed (reason 'ip-config-unavailable') snippet that seemed to me to be the culprit, i ended up finding another log file telling me that:

Jul  8 01:44:22 renata pppd[1328]: Plugin /usr/lib/pppd/2.4.5/nm-pppd-plugin.so loaded.
Jul  8 01:44:23 renata pppd[1328]: pppd 2.4.5 started by root, uid 0
Jul  8 01:44:23 renata pppd[1328]: Can't create lock file /var/lock/LCK..ttyACM0: No such file or directory
Jul  8 01:44:23 renata pppd[1328]: Exit.

Checked if i had a /var/lock dir, no. Created said dir, with write permission for users group, am writing this through the connection that just started working. I have absolutely no idea whether this is a liability, to have this dir with that write permission, of if i should do something different. Also, i have no idea why i didn't have such a normal-sounding dir... Anyway, i'm posting it just in case anyone bumps into the same criptic ip-config-unavailable message...

marcio

Offline

Board footer

Powered by FluxBB