Changes between Version 4 and Version 5 of SettingUpDevelopmentEnvironmentForN9
- Timestamp:
- Jan 29, 2012, 3:47:38 PM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
SettingUpDevelopmentEnvironmentForN9
v4 v5 135 135 {{{ 136 136 $ cd ~/swork 137 $ browser-scripts/create-icecc-env.sh > icecc-env.sh138 }}} 139 140 The resulted icecc-env.sh file will be similar to this:137 $ browser-scripts/create-icecc-env.sh 138 }}} 139 140 Save the printed output to a file called icecc-env.sh: 141 141 {{{ 142 142 #!html … … 261 261 == 2.1. Turn on developer mode == 262 262 263 There is a tutorial for this at http://paazio.nanbudo.fi/tutorials/qt-quick/developer-mode-in-nokia-n9 264 265 Enable developer mode: Settings / Security / Developer mode. After installation the device will do a reboot. 266 267 Change usb connection mode: Settings / Accessories / USB to "SDK" or "Always ask". 268 269 Set up wifi internet connection. Connect usb cable. 270 271 263 272 == 2.2. Enable root access over ssh == 264 273 274 Login as 'developer' (run@host): 275 {{{ 276 $ ssh developer@192.168.2.15 277 developer@192.168.2.15's password: ****** (getting this from N9 usb connection) 278 }}} 279 280 Switch to root (run@n9): 281 {{{ 282 /home/developer $ devel-su 283 Password: rootme 284 }}} 285 286 You can create permanent password for default user 'user' (run@n9): 287 {{{ 288 ~ # passwd user 289 New password: password 290 Re-enter new password: password 291 }}} 292 293 Enable root login on ssh (run@n9): 294 {{{ 295 ~ #vi /etc/ssh/sshd_config 296 297 PermitRootLogin yes 298 }}} 299 300 After saving sshd_config, modify default ssh options (run@n9): 301 {{{ 302 ~ #echo -e 'mkdir -m 0755 -p /var/run/sshd\nexec /usr/sbin/sshd $SSHD_OPTS' >> /etc/default/ssh 303 ~ #pkill -9 /usr/sbin/sshd 304 }}} 305 306 Now you can access your N9 as root over ssh. '''Be careful: it is a huge security risc.''' (run@host) 307 {{{ 308 $ ssh -X root@192.168.2.15 309 Password: rootme 310 }}} 311 Maybe you should change default root password, too. 312 313 265 314 == 2.3. Install missing packages == 266 315 316 Resworb scripts has a solution for this. 317 318 This script uses name 'device' for N9. You can add this to your /etc/hosts file (run@host): 319 {{{ 320 $ sudo su 321 $ echo -e '192.168.2.15\tdevice' >> /etc/hosts 322 $ exit 323 }}} 324 325 Scrachbox should be configured to armel target befor running this script (run@host): 326 327 Run 328 {{{ 329 $ cd ~/swork 330 $ browser-scripts/device-install-packages-n9.sh 331 }}} 267 332 268 333 = 3. How you get things running on the N9 =