Reply
Thread Tools
Posts: 18 | Thanked: 4 times | Joined on Jul 2008
#1
Is it possible to open an Internet connection (Wifi) from the command line using the shell? I want to launch erminig in a shell script, but when no internet connection is there, erminig will fail. So it would be nice if I can open an internet connection before Erminig is launched. I am also interested in a shell command to switch on/off the device if possible.
 
Posts: 542 | Thanked: 117 times | Joined on Sep 2008 @ 52 N, 6 E
#2
.... and to control the lock/unlock switch and other controls other than the physical keyboard ...
Any ideas ?
__________________
Nokia N810 FW version 5.2008.43-7
iPad 2 (iOS 4.3.2) Macbook Pro (10.6.6)
Nokia 5800 phone FW 62.0.0125
 
Posts: 179 | Thanked: 95 times | Joined on May 2008
#3
you can lock the screen and keys with:
/usr/bin/dbus-send --print-reply --system --dest=com.nokia.mce /com/nokia/mce/request com.nokia.mce.request.req_tklock_mode_change string:locked
 
fragos's Avatar
Posts: 900 | Thanked: 273 times | Joined on Aug 2008 @ Fresno CA USA
#4
I believe "sudo ifconfig wlan0 up" may part if not all of what you need.
__________________
George Fragos
Internet Coach & Writer
Maemo Mapper HowTo
Personal Blog -- 3 Joe's Blog


N810 -- 5.2010.33-1
 
Posts: 223 | Thanked: 67 times | Joined on Jun 2006
#5
According to this thread : http://www.gossamer-threads.com/lists/maemo/users/41806

You want:
Code:
/usr/bin/dbus-send --system --type=signal /com/nokia/mce/signal com.nokia.mce.signal.sig_device_mode_ind string:"normal"
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 07:53.