Hello,
I would like to disable an interface (e.g. the preconfigured "wifi") interface
in a script.
I expected that "ifdown wifi" would accomplish this (or "ifdown lan" -
depending on the interface name, as seen in "Administration -> Network ->
Interfaces").
But it seems that this only removes
Hello kuniu,
Am Tue, 5 Jul 2016 23:31:36 +0100
schrieb koniu <gkusni...@gmail.com>:
> On Tue, 5 Jul 2016 13:22:40 +0200
> Lars Kruse <li...@sumpfralle.de> wrote:
> > "wifi down" would be an alternative approach for this problem
> > (shutting down
Hello Martin,
Am Sat, 28 Jan 2017 01:21:41 +0200
schrieb Martin T :
> [..]
> Or maybe there is some smarter way?
could a simple "ssh root@localhost" solve your problem?
Maybe add an alias, if you really insist on typing "su"?
Cheers,
Lars
Hi,
Am Mon, 14 Nov 2016 18:10:56 +
schrieb James Allsopp :
> [..]
> root@OpenWrt:~# df -h /
maybe the filesystem has no free inodes left.
Sadly "df -i" is not supported by the default busybox configuration in openwrt.
You can take a look at the filesystem from
Hello Lucas,
Am Fri, 25 Aug 2017 11:05:02 -0300
schrieb Lucas Dutra :
> I'm studying this option and it seems to be a nice solution. Anyone
> knows another solution for dynamic tunneling multi-point VPN's hub-to-spoke
> based?
based on your description, I could
Hello Phani,
Am Tue, 6 Feb 2018 10:14:46 -0600
schrieb Phani Siriki :
> I am using chaos calmer build and installed python on usb. When i tried to
> install python-pip, it gives me below error. However, pip is installed. But
> when I tried to run it, it says command not
Hello Phani,
Am Wed, 14 Feb 2018 12:11:16 -0600
schrieb Phani Siriki :
> I want to execute my custom python scripts in rpc shell script. However,
> they are not executed. Could someone help me on this?
I am not familiar with the details of the rpcd insterface you are
Hello Saverio,
Am Wed, 14 Feb 2018 21:43:46 +0100
schrieb Saverio Proto :
> Add something like:
>
> #!/usr/bin/env python
>
> at the first line of your python script
in this specific case it is not relevant, since he is calling the interpreter
with the script filename as
Hello Phani,
Am Wed, 14 Feb 2018 15:00:34 -0600
schrieb Phani Siriki :
> root@Mesh-30:~# python
> -ash: python: not found
I guess, this means that one of the libraries that the python binary is linked
against, is missing.
Maybe run "ldd /usr/bin/python" and check if all
Hello Phani,
Am Sat, 17 Feb 2018 12:22:02 -0600
schrieb Phani Siriki :
> root@OpenWrt:~# cat file-name
> /usr/bin/python: can't load library 'libpython2.7.so.1.0'
so this discussion revolved around the same topic as your other thread
("Pip command found error even though
Hello Phani,
Am Thu, 15 Feb 2018 09:21:09 -0600
schrieb Phani Siriki :
> I tried as suggested, but it didn't work :(
Just in case you are running out of ideas:
did you try the suggestions that I put down in my first response to this thread
(Wed, 14 Feb 2018 21:56:08
Hello Phani,
let us step back to this issue ...
Am Wed, 4 Apr 2018 15:02:13 -0500
schrieb Phani Siriki :
> I am able to execute python script after creating below soft links.
>
> ln -s /mnt/usb/usr/lib/libz.so.1 /usr/lib/libz.so.1
> ln -s /mnt/usb/lib/libpthread.so.0
Hello Phani,
thanks to Damiano's summary of proper usage of the external installation root,
it should now be a solvable riddle ...
Am Fri, 6 Apr 2018 20:25:08 -0500
schrieb Phani Siriki :
> [..]
> json_get_var $interface "interface"
>
Hello Phani,
Am Wed, 4 Apr 2018 15:02:13 -0500
schrieb Phani Siriki :
> I am able to import the module through normal execution. However it is
> not working in rpcd shell script. Could you please give me some
> inputs?
you could try to compare the search path under both
Hello Phani,
Am Wed, 18 Apr 2018 18:14:28 -0500
schrieb Phani Siriki :
> root@OpenWrt:~# ldd /mnt/usb/usr/bin/pip
> -ash: /mnt/usb/usr/bin/pip: not found
> root@OpenWrt:~# ls -l /mnt/usb/usr/bin/pip
> -rwxr-xr-x1 root root 284 Sep 9 2015
15 matches
Mail list logo