int_ua
|
2013-02-05
, 03:23
|
|
Posts: 676 |
Thanked: 1,067 times |
Joined on Jul 2010
@ Kyiv, Ukraine
|
#111
|
|
2013-02-05
, 16:47
|
Posts: 22 |
Thanked: 42 times |
Joined on May 2012
@ Poland
|
#112
|
I once (maybe twice, but did not know solution at that time) experienced a very similar behaviour at a place with open WiFi.
And it took me quite some time to find out: it was caused by somehow not setting up correctly the routing.
This is what I did:
put a small script into /etc/network/if-up.d/... (script attached)
made it executable (chmod +x ,..)
From now on everything worked smoothly.
Maybe it helps. Lemme know.
BTW:
I am talking about Maemo.
|
2013-02-05
, 17:04
|
Posts: 204 |
Thanked: 754 times |
Joined on Jan 2012
@ Finland
|
#113
|
|
2013-02-05
, 17:26
|
Posts: 22 |
Thanked: 42 times |
Joined on May 2012
@ Poland
|
#114
|
|
2013-02-05
, 17:46
|
Posts: 204 |
Thanked: 754 times |
Joined on Jan 2012
@ Finland
|
#115
|
|
2013-02-05
, 21:02
|
|
Posts: 4,118 |
Thanked: 8,901 times |
Joined on Aug 2010
@ Ruhrgebiet, Germany
|
#116
|
I tried to start the script manually after connecting to wlan but it didn't help.
I also tried disabling ipv6 later but it didn't help too( it worked much longer after disabling it but I believe it was a coincidence ).
Thanks for help anyway.
The Following User Says Thank You to peterleinchen For This Useful Post: | ||
|
2013-02-05
, 21:37
|
Posts: 22 |
Thanked: 42 times |
Joined on May 2012
@ Poland
|
#117
|
route add default wlan0; route add default gw 192.168.1.1 wlan0
|
2013-02-05
, 22:08
|
|
Posts: 4,118 |
Thanked: 8,901 times |
Joined on Aug 2010
@ Ruhrgebiet, Germany
|
#118
|
I looked into it and removed that "if" part of code leaving only:
Does gw mean gateway? Because i changed it to match mine.Code:route add default wlan0; route add default gw 192.168.1.1 wlan0
The Following User Says Thank You to peterleinchen For This Useful Post: | ||
|
2013-02-09
, 14:43
|
Posts: 72 |
Thanked: 157 times |
Joined on Oct 2011
@ Hungary
|
#120
|
Screenlock button quick hack:
add these lines to /etc/acpi/handler.sh :
It will wake up after pressing Enter.Code:button/screenlock) echo -n mem > /sys/power/state ;;
But it doesn't switch off keyboard leds. PanzerSajt, what were the commands you used for this?
Now trying to make it with a separate /etc/acpi/events/button-screenlock
Also, if you've missed:
Code:button/power) ... reboot ...
The Following User Says Thank You to PanzerSajt For This Useful Post: | ||