Sunday, April 28, 2024
 Popular · Latest · Hot · Upcoming
6
rated 0 times [  6] [ 0]  / answers: 1 / hits: 1958  / 2 Years ago, wed, september 21, 2022, 11:36:07

To get my system connected to internet, I have to manually login via the web page of my ISP. This is not very convenient. I found a python script online which automates this. it takes the login/password and mimics what I would have to do manually. It works fine. I open up a terminal and run the script every time.
I try to put the script in /etc/network/if-up.d so that it runs automatically when the interface is up. But it doesn't run and it doesn't log anything where it usually logs.
The script is executable and has sha bang #!/usr/bin/python
What could be the possible reason why it doesn't run? Is there any other folder I have to put in?


More From » networking

 Answers
3

Yes, it should.



Does it have a dot in its filename? run-parts (8) ignores files with dots in their name.


[#36674] Friday, September 23, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
homerurhyth

Total Points: 338
Total Questions: 113
Total Answers: 105

Location: Moldova
Member since Sat, Aug 6, 2022
2 Years ago
;