*** Kabouik- has quit IRC | 00:13 | |
*** Kabouik has joined #maemo | 00:13 | |
*** dafox has joined #maemo | 00:14 | |
*** blahdeblah29 has joined #maemo | 00:34 | |
*** blahdeblah29 has quit IRC | 00:37 | |
*** Pali has quit IRC | 00:53 | |
*** soulz12 has joined #maemo | 00:53 | |
*** soulz12 has quit IRC | 00:55 | |
*** phlixi_ has quit IRC | 01:04 | |
*** phlixi has joined #maemo | 01:05 | |
*** Kinny11 has joined #maemo | 01:07 | |
*** niston26 has joined #maemo | 01:11 | |
*** Kinny11 has quit IRC | 01:12 | |
*** niston26 has quit IRC | 01:13 | |
*** ceene has quit IRC | 01:15 | |
*** ceene has joined #maemo | 01:16 | |
*** ravelo has quit IRC | 01:21 | |
*** dminuoso9 has joined #maemo | 01:35 | |
*** dminuoso9 has quit IRC | 01:38 | |
*** wraeth26 has joined #maemo | 01:59 | |
*** wraeth26 has quit IRC | 02:04 | |
*** octe12 has joined #maemo | 02:05 | |
*** octe12 has quit IRC | 02:07 | |
*** dadrc has joined #maemo | 02:10 | |
*** Anthaas_ has joined #maemo | 02:11 | |
*** heroux has quit IRC | 02:11 | |
*** heroux_ has quit IRC | 02:12 | |
*** dadrc has quit IRC | 02:12 | |
*** Anthaas_ has quit IRC | 02:15 | |
*** heroux has joined #maemo | 02:34 | |
*** heroux_ has joined #maemo | 02:34 | |
*** logan-15 has joined #maemo | 02:38 | |
*** ciil18 has joined #maemo | 02:39 | |
*** logan-15 has quit IRC | 02:39 | |
*** ciil18 has quit IRC | 02:42 | |
*** atlas27 has joined #maemo | 03:00 | |
*** atlas27 has quit IRC | 03:04 | |
*** spiiroin has quit IRC | 03:13 | |
*** infobot has quit IRC | 03:18 | |
*** infobot has joined #maemo | 03:21 | |
*** ChanServ sets mode: +v infobot | 03:21 | |
*** grumble has quit IRC | 03:25 | |
*** gurmble has joined #maemo | 03:25 | |
*** gurmble is now known as grumble | 03:26 | |
*** grumble has quit IRC | 03:36 | |
*** grumble has joined #maemo | 03:37 | |
*** Hijinks20 has joined #maemo | 04:04 | |
*** Hijinks20 has quit IRC | 04:10 | |
*** chainsawbike has quit IRC | 04:13 | |
*** chainsawbike has joined #maemo | 04:17 | |
*** Anaphylaxis3 has joined #maemo | 04:42 | |
*** paraxial23 has joined #maemo | 04:42 | |
*** FalconSpy has joined #maemo | 04:44 | |
*** Anaphylaxis3 has quit IRC | 04:46 | |
*** sarka6 has joined #maemo | 04:50 | |
*** sarka6 has quit IRC | 04:52 | |
*** Orez27 has joined #maemo | 04:56 | |
*** Orez27 has quit IRC | 05:00 | |
*** lucyoa has joined #maemo | 05:04 | |
*** lucyoa has quit IRC | 05:06 | |
*** newuser__ has joined #maemo | 05:28 | |
*** drrty2 has quit IRC | 05:32 | |
*** newuser__ has quit IRC | 05:37 | |
*** tm has quit IRC | 06:11 | |
*** tm has joined #maemo | 06:15 | |
*** phlixi has quit IRC | 06:31 | |
*** phlixi has joined #maemo | 06:32 | |
*** florian_kc has joined #maemo | 06:46 | |
*** florian has quit IRC | 06:50 | |
*** Kilroo has joined #maemo | 07:02 | |
*** spiiroin has joined #maemo | 07:15 | |
*** Quick_Wango9 has joined #maemo | 07:16 | |
*** Quick_Wango9 has quit IRC | 07:20 | |
*** Juesto has joined #maemo | 07:31 | |
*** Juesto has joined #maemo | 07:31 | |
*** ravelo has joined #maemo | 07:38 | |
*** spiiroin has quit IRC | 07:40 | |
*** Kilroo has quit IRC | 07:46 | |
*** spiiroin has joined #maemo | 08:11 | |
*** dafox has quit IRC | 08:19 | |
*** Fairy17 has joined #maemo | 08:40 | |
*** Fairy17 has quit IRC | 08:45 | |
*** shentey has joined #maemo | 08:58 | |
*** QueenElsa has joined #maemo | 09:00 | |
*** movsb has joined #maemo | 09:03 | |
*** QueenElsa has quit IRC | 09:04 | |
*** movsb has quit IRC | 09:06 | |
*** frankie22 has joined #maemo | 09:06 | |
*** dafox has joined #maemo | 09:06 | |
*** frankie22 has quit IRC | 09:10 | |
*** heroux_ has quit IRC | 09:13 | |
*** heroux_ has joined #maemo | 09:13 | |
*** shentey has quit IRC | 09:44 | |
*** ravelo has quit IRC | 09:48 | |
*** dafox has quit IRC | 09:53 | |
*** brolin_empey has quit IRC | 10:00 | |
*** skaji28 has joined #maemo | 10:02 | |
*** skaji28 has quit IRC | 10:02 | |
*** brolin_empey has joined #maemo | 10:14 | |
*** Kabouik_ has joined #maemo | 10:20 | |
*** jurop has joined #maemo | 10:27 | |
*** Kabouik_ has quit IRC | 10:27 | |
*** jupart11 has joined #maemo | 10:28 | |
*** jupart11 has quit IRC | 10:30 | |
*** jskarvad has joined #maemo | 10:35 | |
*** geaaru has joined #maemo | 10:39 | |
*** Kabouik_ has joined #maemo | 10:41 | |
DocScrutinizer05 | IroN900:~# cat /sys/devices/platform/musb_hdrc/charger | 10:49 |
---|---|---|
DocScrutinizer05 | 1 | 10:49 |
KotCzarny | he needs to differentiate between charger and charging via computer | 10:50 |
DocScrutinizer05 | ^^^ | 10:50 |
*** Rivkin has joined #maemo | 10:52 | |
DocScrutinizer05 | /sys/devices/platform/musb_hdrc/charger == 1 : D+/- short | 10:53 |
DocScrutinizer05 | when you connect a charger that doesn't short D+ and D-, your device won't charge. So... exactly what you asked for | 10:54 |
*** Konsieur has joined #maemo | 10:56 | |
*** Kabouik_ has quit IRC | 10:56 | |
*** Juesto has quit IRC | 10:58 | |
DocScrutinizer05 | and reading the full backlog, this is actually _not_ what sunshavi is interested in. They want to know if device is connected to a PC USB data connection | 10:58 |
DocScrutinizer05 | and I think the approach is pretty random | 10:59 |
*** jurop has quit IRC | 10:59 | |
DocScrutinizer05 | sunshavi's question seems to be "can I send a signal from N900 to PC?" and to answer this we need to know which is the exact transport mechanism for the signal. USB networking with ssh? USB node polling? usb-tty? | 11:05 |
*** florian_kc has quit IRC | 11:06 | |
DocScrutinizer05 | original question: >>[2018-09-26 16:01:53] <sunshavi> Hi guys. is there a way of knowing if pc suite mode is active?<< Yes there is, but I don't know for sure right now how to check. Possibly lsmod | 11:07 |
DocScrutinizer05 | ask pali | 11:07 |
*** derlafff12 has joined #maemo | 11:08 | |
Maxdamantus | Maybe by seeing if g_nokia appears in /proc/modules, as opposed to g_file_storage? Dunno if that's an accurate determiner though; I always use either g_file_storage or g_ether. | 11:11 |
* Maxdamantus managed to disable that "PC suite" dialogue because it would annoyingly unlock the screen when plugging a USB cord in. | 11:12 | |
DocScrutinizer05 | IroN900:~# cat /sys/devices/platform/musb_hdrc/mode | 11:12 |
DocScrutinizer05 | b_peripheral | 11:12 |
DocScrutinizer05 | PC-Suite Mode | 11:12 |
*** derlafff12 has quit IRC | 11:13 | |
DocScrutinizer05 | b_idle == unplugged | 11:13 |
DocScrutinizer05 | HTH | 11:13 |
DocScrutinizer05 | UNDEFINED == mass storage mode | 11:14 |
DocScrutinizer05 | until mounted, then b_peripheral | 11:15 |
*** jurop has joined #maemo | 11:22 | |
*** jurop has left #maemo | 11:22 | |
DocScrutinizer05 | anyway note that [[ "b_peripheral" == `cat /sys/devices/platform/musb_hdrc/mode ` ]] still doesn't assert there's for example a working established network to run a ssh connection to the PC | 11:25 |
DocScrutinizer05 | you know it failed when "ssh $PC mynotifycmd" returns with error | 11:26 |
DocScrutinizer05 | >>... and to answer this we need to know which is the exact transport mechanism for the signal.<< | 11:27 |
DocScrutinizer05 | KotCzarny: sunshavi: ^^^ | 11:30 |
DocScrutinizer05 | >><sunshavi> Wizzup: I have the notification script done<< mind to share via pastebin? | 11:31 |
*** koenig17 has joined #maemo | 11:38 | |
*** koenig17 has quit IRC | 11:39 | |
*** Sigyn has quit IRC | 11:44 | |
*** Sigyn has joined #maemo | 11:45 | |
*** ChanServ sets mode: +o Sigyn | 11:45 | |
*** Sigyn has quit IRC | 11:45 | |
*** Sigyn has joined #maemo | 11:45 | |
*** ChanServ sets mode: +o Sigyn | 11:45 | |
*** Sigyn has quit IRC | 11:45 | |
*** Sigyn has joined #maemo | 11:48 | |
*** Sigyn has joined #maemo | 11:56 | |
*** ChanServ sets mode: +o Sigyn | 11:56 | |
*** fbsd has joined #maemo | 11:59 | |
*** florian has joined #maemo | 12:00 | |
*** fbsd has quit IRC | 12:02 | |
*** tkd12 has joined #maemo | 12:14 | |
*** tkd12 has quit IRC | 12:18 | |
*** ravagetalon has joined #maemo | 12:34 | |
*** VLetrmx4 has joined #maemo | 12:36 | |
*** marnej26 has joined #maemo | 12:48 | |
*** Eatsoup_ has joined #maemo | 13:02 | |
*** Eatsoup_ has quit IRC | 13:04 | |
*** c-dog has joined #maemo | 13:05 | |
*** cyteen has joined #maemo | 13:12 | |
*** eMHa has joined #maemo | 13:15 | |
*** lionel22 has joined #maemo | 13:21 | |
*** lionel22 has quit IRC | 13:25 | |
*** swidi27 has joined #maemo | 13:26 | |
*** lizzie13 has joined #maemo | 13:52 | |
*** lizzie13 has quit IRC | 13:53 | |
*** Guest20815 has joined #maemo | 13:53 | |
*** kuzetsa14 has joined #maemo | 13:55 | |
*** kimmyk13 has joined #maemo | 13:56 | |
*** kimmyk13 has quit IRC | 13:58 | |
*** kuzetsa14 has quit IRC | 14:00 | |
*** edge56310 has joined #maemo | 14:00 | |
*** edge56310 has quit IRC | 14:02 | |
Vajb | I've noticed that when I charge my n900 and wall charger flag is set absent it means that n900 thinks that it is connected to pc. | 14:10 |
Wizzup | DocScrutinizer05: afaik the /mode in musb_hdrc doesn't help distinguish between wall plug and pc | 14:22 |
Wizzup | DocScrutinizer05: it can also be idle when no gadget it loaded, for example | 14:22 |
DocScrutinizer05 | mode is D+- short | 14:23 |
DocScrutinizer05 | oops sorry nope | 14:23 |
DocScrutinizer05 | mode is what the MUSB state machine is in | 14:23 |
KotCzarny | which might be totally random sometimes | 14:23 |
DocScrutinizer05 | yes | 14:23 |
DocScrutinizer05 | don't tell the father of H.E.N ;-D | 14:24 |
* DocScrutinizer05 feels that headache again | 14:24 | |
DocScrutinizer05 | ~hen | 14:25 |
infobot | well, hen is hostmode-easy-now, or http://talk.maemo.org/showthread.php?t=65232, or see ~hostmode | 14:25 |
DocScrutinizer05 | ~hostmode | 14:25 |
infobot | hmm... hostmode is http://talk.maemo.org/showthread.php?p=652330, or http://www.youtube.com/watch?v=fkCDyUO0sKQ, or see ~hostmode-powered | 14:25 |
sunshavi | DocScrutinizer05: good morning at least for me. the mechanism is this one | 14:28 |
sunshavi | when sms or phone call arrives a python scripts sends a file by bluetooth push notification to workstation. and workstation shown the notification (there a process reading when a new file arrives to a folder). that was in case phone is lost for not having and ssh-key on my workstation (just in case) | 14:30 |
DocScrutinizer05 | Vajb: you mean you connect device to a charger without D+- short (cat /sys/devices/platform/musb_hdrc/charger ->0 )? Yes, that is the same situation like immediately after plugging device to a PC host, before ENUM | 14:31 |
DocScrutinizer05 | afaik device will constantly try to communicate to host to run ENUM | 14:32 |
DocScrutinizer05 | no charging will be done | 14:33 |
sunshavi | this is the script on n900 http://termbin.com/544z | 14:33 |
sunshavi | 14:33 | |
*** FalconSpy25 has joined #maemo | 14:33 | |
Wizzup | https://github.com/maemo-leste/hildon-status-bar-usb/blob/master/udev-helper.c#L152 | 14:33 |
DocScrutinizer05 | sunshavi: mhm, so how is this related to USB? | 14:34 |
sunshavi | the problem happens when i disconnect|unplug the device from my workstation | 14:34 |
sunshavi | no usb host (workstation). then no no bluetooth host 4 receiving the file | 14:35 |
*** mirrorbox has joined #maemo | 14:36 | |
DocScrutinizer05 | ??? | 14:37 |
*** FalconSpy25 has quit IRC | 14:37 | |
sunshavi | if not host an errors happens within the python script and I would need to restart the process. so process should just do his work when connected to my workstation. All of the if on the python script is for avoiding the error | 14:39 |
sunshavi | brb. time for doing some duties here | 14:39 |
*** mirrorbox has quit IRC | 14:41 | |
*** heroux_ has quit IRC | 14:44 | |
*** heroux has quit IRC | 14:45 | |
Vajb | DocScrutinizer05: maybe. Bnf shows wall charger as absent. It will charge but keeps charge under 500mah. This happanes randomly when i plug charger in | 14:49 |
*** heroux has joined #maemo | 14:51 | |
*** heroux_ has joined #maemo | 14:51 | |
*** heroux_ has quit IRC | 14:57 | |
*** heroux has quit IRC | 14:57 | |
*** Batholith27 has joined #maemo | 15:04 | |
*** heroux has joined #maemo | 15:05 | |
*** heroux_ has joined #maemo | 15:05 | |
DocScrutinizer05 | bnf? | 15:05 |
DocScrutinizer05 | I seem to recall this is an app that dhows some system diagnostics, right? No idea what it does in detail | 15:06 |
DocScrutinizer05 | sunshavi: >>if not host an errors happens within the python script and I would need to restart the process<< no, I think you should catch the error within the script and handle it | 15:08 |
Vajb | it shows battery info and charging state, remaining time etc | 15:09 |
Vajb | what it does is it pulls info from system battery related file (can't recall the name) and just shows them with info what they are | 15:10 |
sunshavi | DocScrutinizer05: there is an assert line there (watch the source code) | 15:11 |
sunshavi | the error happens on that line (assert pipe.returncode == 0 and not errout) | 15:11 |
sunshavi | because i am debugging the script. I am still tuning it. But it works. I just need to catch some corner cases | 15:12 |
Vajb | as I said my device randomly pops out the dialog asking wether I want it to massmedia or usb state and if I don't reset the state with usb-host-mode it will charge only slow and wall charger absent flag stays on. | 15:12 |
Vajb | other way to reset this is reboot obviously. | 15:13 |
DocScrutinizer05 | Vajb: no idea what you're doing. Yes there is a race condition introducing randomness into charger detection, but I never seen a deadlock from that. | 15:17 |
DocScrutinizer05 | sunshavi: I completely fail to understand the concept of what you're doing. USB has nothing to do with bluetooth. You don't need to test any arbitrary USB state to find out whether or not a BT transaction succeeds or not | 15:19 |
DocScrutinizer05 | AIUI you want to avoid running the BT command under certain conditions (no PC in vicinity) since >>an errors happens within the python script and I would need to restart the process<< I think you need to catch the error so it does NOT abort the python script and rather tells you that no PC in vicinity | 15:23 |
*** Guest74955 has joined #maemo | 15:25 | |
sunshavi | docscrutinizer05: how should i know if device if plugged to my workstation, and ton to the usb-wall-charger? | 15:26 |
sunshavi | s/ton/not/ | 15:26 |
infobot | sunshavi meant: docscrutinizer05: how should i know if device if plugged to my workstation, and not to the usb-wall-charger? | 15:26 |
DocScrutinizer05 | why do you want to know that? | 15:26 |
DocScrutinizer05 | how is that even relevant? | 15:27 |
sunshavi | when dev is connected to different machine probably that machine that is not my workstation does not have a bluetooth device | 15:27 |
sunshavi | on n900 there is no l2ping utility. that could solve the issue too | 15:27 |
DocScrutinizer05 | hm? | 15:28 |
*** Guest74955 has quit IRC | 15:28 | |
sunshavi | l2ping is for checking with a device with an specific mac-address in on reach | 15:28 |
sunshavi | s/with/when/ | 15:28 |
infobot | sunshavi meant: l2ping is for checking when a device with an specific mac-address in on reach | 15:28 |
DocScrutinizer05 | why do you need USB? | 15:29 |
*** eMHa has quit IRC | 15:30 | |
sunshavi | for testing n900 is plugged on my workstation (1. check usb-connection; 2. see if my workstation-usb0 has the hardcoded ip needed) | 15:30 |
DocScrutinizer05 | WHY??? | 15:30 |
sunshavi | when you send a file by bluetooth you need to give the device-bluetooth-address | 15:31 |
sunshavi | as a parameter | 15:31 |
DocScrutinizer05 | how's that related to USB? | 15:31 |
sunshavi | the problem is: "how could be identified my machine from other machines?" | 15:32 |
DocScrutinizer05 | err, doesn'tBT do that for you? | 15:32 |
*** ladders13 has joined #maemo | 15:32 | |
sunshavi | i am using for that a mechanism that involves usb+ip | 15:32 |
DocScrutinizer05 | I always thought that's what BT pairing is meant for | 15:32 |
*** ladders13 has quit IRC | 15:33 | |
DocScrutinizer05 | whatever that "mechanism", I don't understand it and think it's nonsense | 15:33 |
*** eMHa has joined #maemo | 15:33 | |
sunshavi | n900 is paired with several other devices | 15:34 |
DocScrutinizer05 | this is a classical yet very massive and wird instance of an XY problem | 15:35 |
DocScrutinizer05 | weird* | 15:36 |
DocScrutinizer05 | aiui you do a ping to USB-networked PC host. You as well could do a `ssh notifyuser@PC notify` | 15:38 |
DocScrutinizer05 | or you forget about all USB and send your BT data to the right device and catch any "transmission failed" | 15:39 |
sunshavi | yes that could do the work too but a little insecure. bt is safer | 15:39 |
DocScrutinizer05 | no | 15:39 |
DocScrutinizer05 | this is NOT insecure at all | 15:39 |
DocScrutinizer05 | anyway either BT or USB could do the whole task, you don't need both concurrently | 15:40 |
DocScrutinizer05 | actually THIS is sort of insecure | 15:40 |
sunshavi | i am almost there with my approach. One of your first lines is going to be helpful with the issue. I am going to code that tonight | 15:40 |
*** spiiroin has quit IRC | 15:41 | |
*** SET1 has joined #maemo | 15:41 | |
DocScrutinizer05 | good luck! I'm not going to help implement a flawed broken-by-design "solution" | 15:41 |
DocScrutinizer05 | USB doesn't provide *any* info about what you can expect to find on BT | 15:43 |
*** SET1 has quit IRC | 15:47 | |
DocScrutinizer05 | why do you think BT is more secure than ssh? | 15:48 |
DocScrutinizer05 | actually uploading arbitrary files to your PC via BT sounds damn dangerous, particularly compared to a ssh login that allows only one particular command to execute (add the allowed command to user "notifyuser"'s ~notifyuser/.ssh/authorized_keys line) and needs a proper keypair to do so | 15:55 |
*** spiiroin has joined #maemo | 15:58 | |
DocScrutinizer05 | both BT and ssh are virtually equally uncrackable, and when you lose the N900, then the ssh solution only enables the attacker to trigger a notification on your PC while the disclosed BT pairing key allows attacker to upload arbitrary files aiui - something you definitely want to avoid by all means since such arbitrary file might be a virus or whatever and take over your complete PC | 15:59 |
*** dkg2 has joined #maemo | 16:00 | |
DocScrutinizer05 | even worse, BT allows to do so wireless over the air while the already uncritical exploit of unsolicited SMS notification could only happen when the attacker has physical connection to your PC USB jack (or otherwise log in to your PC), to establish a network and open a ssh session | 16:02 |
DocScrutinizer05 | s/ unsolicited / bogus forged / | 16:08 |
infobot | DocScrutinizer05 meant: even worse, BT allows to do so wireless over the air while the already uncritical exploit of bogus forged SMS notification could only happen when the attacker has physical connection to your PC USB jack (or otherwise log in to your PC), to establish a net... | 16:08 |
*** eMHa has quit IRC | 16:09 | |
*** eMHa has joined #maemo | 16:09 | |
*** eMHa_ has joined #maemo | 16:11 | |
*** eMHa has quit IRC | 16:11 | |
DocScrutinizer05 | sunshavi: man sshd|less -j26 +'/command="uptime"' | 16:24 |
DocScrutinizer05 | for your purposes a command="cat >/tmp/notificationtext && popup_notification" prolly will already do the whole trick | 16:27 |
DocScrutinizer05 | or, for added safety (flood protection): instead of `cat >` use `dd bs=1 count=$INT_MAXCHARS of=` | 16:31 |
DocScrutinizer05 | now, on N900, do `cat SMScontent.txt|ssh notifyuser@neo900` and up pops th notification on your PC. Absolutely no risk except a n900 thief could make offensive notifications pop up on your PC | 16:35 |
DocScrutinizer05 | IF they had access to ssh-login to your PC (unlike BT where they need to be nearby, within RF range, only) | 16:36 |
*** Simonious3 has joined #maemo | 16:38 | |
DocScrutinizer05 | I for one never use USB for networking, WLAN is so much more convenient | 16:40 |
*** Simonious3 has quit IRC | 16:42 | |
*** c4757p20 has joined #maemo | 16:52 | |
*** jurop has joined #maemo | 16:58 | |
*** jurop has left #maemo | 17:00 | |
*** darkSeid has joined #maemo | 17:02 | |
DocScrutinizer05 | actually you better bundle all the "dd bs=1 count=$INT_MAXCHARS of=/tmp/notificationtext && popup_notification" into a bash script mynotify.sh and only hava a command="mynotify.sh" in authorized_keys | 17:04 |
DocScrutinizer05 | if you want to implement this, don't hesitate to ask about details | 17:06 |
*** darkSeid has quit IRC | 17:06 | |
DocScrutinizer05 | actually not even a dedicated new user "notifyuser" is needed, you can run this under your default user account | 17:08 |
DocScrutinizer05 | all you need is a dedicated pk-pair for this, with pubkey on N900 and privkey on your PC | 17:09 |
sunshavi | docscrutinizer05: on the contrary i almost never wlan on n900. Just usb and also bluetooth when needed. Also for consideration both of my n900 have a broken screen. so I access desktop by vnc over usb|bt | 17:32 |
sunshavi | and fyi my pc priv key is on n900 | 17:33 |
sunshavi | so from home i could access and modify the complete phone from any network connection. | 17:35 |
sunshavi | docscrutinizer05: thanks for your help | 17:36 |
*** Konsieur has quit IRC | 17:38 | |
*** VladimirGl7 has joined #maemo | 17:44 | |
*** VladimirGl7 has quit IRC | 17:46 | |
*** Janusz5 has joined #maemo | 17:49 | |
*** Janusz5 has quit IRC | 17:51 | |
DocScrutinizer05 | >>and fyi my pc priv key is on n900<< irrelevant for this situation | 17:57 |
DocScrutinizer05 | err wait. No. This is what already exactly you need. If you had not swapped the meaning of privkey and pubkey. The provjkey is on the originating side, the pubkey on the "server" you log in to | 17:59 |
DocScrutinizer05 | when you log in to N900 from your PC then the privkey is on PC | 18:00 |
DocScrutinizer05 | for the solution I sketched above, you need a dedicated key pair exclusively for this solution, you place the pubkey on PC so the N900 can log in to PC using the privkey on N900, and you modify the pubkey on PC so it only works for exactly one command: mynotify.sh | 18:02 |
sunshavi | my pc can read my phone or exec any ssh cmd on the phone. phone needs pwd when accesing pc | 18:03 |
DocScrutinizer05 | ^^^ | 18:03 |
DocScrutinizer05 | yes, you generally don't want password-less access from mobile devices to your PC, since you could lose the mobile device | 18:04 |
sunshavi | yes a dedicated key pair could be the answer | 18:04 |
DocScrutinizer05 | in this case however the pubkey gets modified so it works for exactly ONE command only | 18:05 |
DocScrutinizer05 | and doesn't need password for executing this one command | 18:05 |
sunshavi | for giving you the complete picture. i do the phone calls from my desktop-contacts app | 18:06 |
sunshavi | also i send sms's from my desktop-contacts app | 18:06 |
DocScrutinizer05 | you can install this keypair on top of whatever is already there, since you can have multipkle authorized_keys lines | 18:06 |
*** bbielsa_ has joined #maemo | 18:08 | |
*** Pali has joined #maemo | 18:10 | |
*** JohnDoe215 has joined #maemo | 18:39 | |
*** JohnDoe215 has quit IRC | 18:42 | |
*** Kabouik_ has joined #maemo | 18:52 | |
*** Kabouik has quit IRC | 18:55 | |
*** wrenny_b has joined #maemo | 18:59 | |
*** wrenny_b has quit IRC | 19:02 | |
*** devlaf0 has joined #maemo | 19:15 | |
*** devlaf0 has quit IRC | 19:19 | |
*** drrty has joined #maemo | 19:22 | |
*** tris9 has joined #maemo | 19:26 | |
*** florian has quit IRC | 19:27 | |
*** tris9 has quit IRC | 19:28 | |
*** c-dog has left #maemo | 19:38 | |
*** klaxa26 has joined #maemo | 19:52 | |
*** ua has joined #maemo | 20:01 | |
*** ua has quit IRC | 20:05 | |
*** xymantec has joined #maemo | 20:06 | |
*** xymantec has quit IRC | 20:11 | |
*** shrifbot has joined #maemo | 20:19 | |
*** shrifbot has quit IRC | 20:21 | |
*** matti__ has joined #maemo | 20:22 | |
*** ravelo has joined #maemo | 20:25 | |
*** go|dfish14 has joined #maemo | 20:25 | |
*** matti__ has quit IRC | 20:27 | |
*** go|dfish14 has quit IRC | 20:30 | |
*** shentey has joined #maemo | 20:41 | |
*** florian_kc has joined #maemo | 20:47 | |
*** Nevolution217 has joined #maemo | 21:14 | |
*** Nevolution217 has quit IRC | 21:18 | |
*** eMHa_ has quit IRC | 21:19 | |
*** sadmac9 has joined #maemo | 21:23 | |
*** jskarvad has quit IRC | 21:23 | |
*** sadmac9 has quit IRC | 21:25 | |
*** Apocalyptic6 has joined #maemo | 21:31 | |
*** ozfalcon has joined #maemo | 21:34 | |
*** Apocalyptic6 has quit IRC | 21:35 | |
*** ozfalcon has quit IRC | 21:36 | |
*** shentey has quit IRC | 21:41 | |
*** shentey has joined #maemo | 21:41 | |
*** eMHa_ has joined #maemo | 21:42 | |
*** Elronnd29 has joined #maemo | 21:56 | |
*** Elronnd29 has quit IRC | 22:00 | |
*** geaaru has quit IRC | 22:03 | |
*** stryngs has quit IRC | 22:29 | |
*** stryngs has joined #maemo | 22:40 | |
*** florian_kc is now known as florian | 22:42 | |
*** shentey has quit IRC | 22:43 | |
*** thc20210 has joined #maemo | 23:04 | |
DocScrutinizer05 | Computrace.LoJack->LoJax :-o | 23:11 |
*** lathiat_ has joined #maemo | 23:23 | |
*** lathiat_ has quit IRC | 23:24 | |
*** florian has quit IRC | 23:25 | |
*** xqb13 has joined #maemo | 23:34 | |
*** angel_killah9 has joined #maemo | 23:36 | |
*** sunshavi has quit IRC | 23:41 | |
*** analogical17 has joined #maemo | 23:41 | |
*** angel_killah9 has quit IRC | 23:41 | |
*** analogical17 has quit IRC | 23:42 | |
*** tacegory15 has joined #maemo | 23:44 | |
*** tacegory15 has quit IRC | 23:46 | |
*** dafox has joined #maemo | 23:49 | |
*** ackjewt0 has joined #maemo | 23:56 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!