The Following User Says Thank You to sargas For This Useful Post: | ||
![]() |
2013-02-03
, 16:35
|
|
Posts: 131 |
Thanked: 170 times |
Joined on May 2010
@ Netherlands
|
#2
|
The Following User Says Thank You to ffha For This Useful Post: | ||
![]() |
2013-02-03
, 18:26
|
Posts: 17 |
Thanked: 12 times |
Joined on Feb 2013
|
#3
|
Forgive me if I'm wrong, for I don't have a N9 myself, but doesn't Aegis prevent modification of files owned by root, even by root itself?
The Following User Says Thank You to sargas For This Useful Post: | ||
![]() |
2013-02-03
, 22:33
|
Posts: 2,006 |
Thanked: 3,351 times |
Joined on Jun 2010
@ N900: Battery low. N950: torx 4 re-used once and fine; SIM port torn apart
|
#4
|
![]() |
2013-02-03
, 22:57
|
Posts: 1,048 |
Thanked: 1,127 times |
Joined on Jan 2010
@ Amsterdam
|
#5
|
The Following User Says Thank You to anthonie For This Useful Post: | ||
![]() |
2013-02-04
, 03:56
|
Posts: 2,006 |
Thanked: 3,351 times |
Joined on Jun 2010
@ N900: Battery low. N950: torx 4 re-used once and fine; SIM port torn apart
|
#6
|
auto usb0 iface usb0 inet static address 192.168.2.15 netmask 255.255.255.0 gateway 192.168.2.14 up /usr/lib/sdk-connectivity-tool/usbdhcpd.sh 192.168.2.14 down /usr/lib/sdk-connectivity-tool/usbdhcpd.sh stop
![]() |
2013-02-04
, 04:37
|
Posts: 2 |
Thanked: 2 times |
Joined on Jan 2013
@ Russia
|
#7
|
sudo chmod +x path_to_script
#!/bin/sh PATH=$PATH:/bin
The Following User Says Thank You to ii343hbka For This Useful Post: | ||
![]() |
2013-02-04
, 09:43
|
|
Posts: 4,118 |
Thanked: 8,901 times |
Joined on Aug 2010
@ Ruhrgebiet, Germany
|
#8
|
The Following User Says Thank You to peterleinchen For This Useful Post: | ||
![]() |
2013-02-04
, 18:25
|
Posts: 17 |
Thanked: 12 times |
Joined on Feb 2013
|
#9
|
Quick reply...
Look up file "/etc/network/interfaces". Besides lines "address ...", "netmask ....", "gateway ...", there can also be lines "up ...." and "down ..." - to run scripts when a connection starts and stops.
Best wishes.
auto wlan0 iface wlan0 inet dhcp up /etc/network/if-up.d/50_connect_home
up /etc/network/if-up.d/50_connect_home
The Following User Says Thank You to sargas For This Useful Post: | ||
i am trying to run this script when network interface is up on my N9:
Upon connecting to my wlan, the file /root/data is still empty, which suggests the script does not run.
Any pointers?
Thanks,
sargas.