[Bug][Solved]DSL taking too long to run at startup

I am using latest Openwrt 18.06.1 with TpLink W8980 V1 and I am connected with ADSL2+. Before everything was okay until I decided to use VPN two days ago. I successfully installed OpenVPN and then configured VPN Policy Routing package. But after that when I rebooted the DSL has started to take ages to load and display data. Also I have stumbled upon something here:

root@AhmarRouter:~# /etc/init.d/dsl_control restart
^C/etc/rc.common: line 151: can't create /tmp/pipe/dsl_cpe0_cmd: Interrupted system call

After router boots up if I do a restart on dsl_control it kinda hangs during the call and if I terminate the call it shows the above message. I am not an expert here so please help me in fixing this. This could be a bug or could be related to the above packages that I installed recently. But there is no stress on the CPU in this process and the router boots up normally and LuCI and everything is working as it should.

Also it does not matter whether I use a custom firmware for ADSL or use the built-in firmware, it's same for both.

What information do I need to provide to fix this? Any logs or messages? Please do tell me so I can post it here.

Does /tmp/pipe exist?

Since /tmp is a memory-backed file system, it is "wiped" at every boot. It may be that the directory isn't being created so that the process hangs. Yes, that would be unexpectedly bad behavior, but would be the first thing I would check.

So taking your advice in consideration, I am doing this in the boot process.

mkdir /tmp/pipe/dsl_cpe0_cmd
/etc/init.d/dsl_control restart

And it seems to be helping as a workaround for now and DSL starts after a few seconds at the boot as intended.

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.