*** SpeedEvil has quit IRC | 00:08 | |
*** SpeedEvil has joined #maemo | 00:12 | |
*** pagurus has quit IRC | 00:14 | |
*** pagurus has joined #maemo | 00:15 | |
*** bencoh has quit IRC | 00:22 | |
*** sunshavi has quit IRC | 00:24 | |
*** futpib has quit IRC | 00:26 | |
*** ketaran has joined #maemo | 00:27 | |
*** shentey has quit IRC | 00:35 | |
*** disco_stu has quit IRC | 00:41 | |
*** disco_stu_droid has joined #maemo | 00:41 | |
*** disco_stu_droid is now known as disco_stu | 00:42 | |
*** sunshavi has joined #maemo | 00:48 | |
*** DocScrutinizer05 has quit IRC | 01:02 | |
*** DocScrutinizer05 has joined #maemo | 01:02 | |
*** jonwil has joined #maemo | 01:05 | |
*** pagurus has quit IRC | 01:10 | |
*** pagurus has joined #maemo | 01:10 | |
*** sunshavi has quit IRC | 01:36 | |
*** vakkov has quit IRC | 01:45 | |
*** vakkov has joined #maemo | 01:49 | |
*** sunshavi has joined #maemo | 01:54 | |
*** louisdk has joined #maemo | 01:58 | |
*** louisdk has quit IRC | 02:05 | |
*** vakkov has quit IRC | 02:08 | |
*** vakkov has joined #maemo | 02:12 | |
*** louisdk has joined #maemo | 02:17 | |
*** vakkov has quit IRC | 02:31 | |
*** louisdk has quit IRC | 02:45 | |
*** vakkov has joined #maemo | 02:57 | |
*** Kabouik_ has joined #maemo | 02:58 | |
Kabouik_ | Guys, I have an EasyDebian partition on a small SD card and would want to move it to a partition on a larger SD card. Is it possible, or will it fail because of different mmcblk or whatever? Is there a file I can edit to tell the N900 where is the new EasyDebian partition? | 03:08 |
---|---|---|
*** azkay has joined #maemo | 03:22 | |
*** sunshavi has quit IRC | 03:25 | |
*** Kilroo has quit IRC | 03:58 | |
*** Kilroo has joined #maemo | 03:58 | |
*** krnlyng has quit IRC | 04:23 | |
*** Kabouik_ has quit IRC | 04:23 | |
DocScrutinizer05 | Kabouik: use mountpoints | 04:27 |
*** eMHa_ has joined #maemo | 04:36 | |
*** krnlyng has joined #maemo | 04:38 | |
*** eMHa has quit IRC | 04:39 | |
*** robotanarchy has joined #maemo | 04:40 | |
*** florian has quit IRC | 04:40 | |
*** florian has joined #maemo | 04:41 | |
*** robotanarchy_ has quit IRC | 04:43 | |
*** hellekin has quit IRC | 04:44 | |
*** hellekin has joined #maemo | 04:44 | |
*** Pali has quit IRC | 05:15 | |
*** clopez has quit IRC | 05:22 | |
*** phlixi_ has joined #maemo | 05:25 | |
*** phlixi has quit IRC | 05:26 | |
*** clopez has joined #maemo | 05:26 | |
*** phlixi has joined #maemo | 05:48 | |
*** phlixi_ has quit IRC | 05:49 | |
*** Venusaur has quit IRC | 05:50 | |
*** Venusaur has joined #maemo | 05:51 | |
*** sunshavi has joined #maemo | 06:00 | |
*** lxp has joined #maemo | 06:02 | |
*** heroux has quit IRC | 06:03 | |
*** lxp1 has quit IRC | 06:03 | |
*** heroux has joined #maemo | 06:04 | |
*** vahe has joined #maemo | 06:11 | |
*** jonwil has quit IRC | 06:16 | |
*** pagurus has quit IRC | 06:23 | |
*** vakkov has quit IRC | 06:26 | |
*** azkay_ has joined #maemo | 06:26 | |
*** Maxdaman1us has joined #maemo | 06:27 | |
*** enyc_ has joined #maemo | 06:29 | |
*** vakkov has joined #maemo | 06:29 | |
*** Humpelstilzchen has joined #maemo | 06:29 | |
*** ShadowJK_ has joined #maemo | 06:29 | |
*** nslu2-log_ has joined #maemo | 06:29 | |
*** Rassi has joined #maemo | 06:30 | |
*** LjL^ has joined #maemo | 06:30 | |
*** Maxdamantus has quit IRC | 06:32 | |
*** azkay has quit IRC | 06:32 | |
*** LjL has quit IRC | 06:32 | |
*** enyc has quit IRC | 06:32 | |
*** realitygaps has quit IRC | 06:32 | |
*** ShadowJK has quit IRC | 06:32 | |
*** LjL^ is now known as LjL | 06:32 | |
*** valdyn has quit IRC | 06:32 | |
*** Defiant has quit IRC | 06:32 | |
*** sixwheeledbeast^ has quit IRC | 06:32 | |
*** guerby has quit IRC | 06:32 | |
*** xray256_ has quit IRC | 06:32 | |
*** Wizzup_ has joined #maemo | 06:33 | |
*** L29Ah has quit IRC | 06:33 | |
*** Ras_Older has quit IRC | 06:33 | |
*** andril has quit IRC | 06:33 | |
*** nslu2-log has quit IRC | 06:33 | |
*** Wizzup has quit IRC | 06:33 | |
*** Mekkis has quit IRC | 06:33 | |
*** dreamer has quit IRC | 06:33 | |
*** nslu2-log_ is now known as nslu2-log | 06:33 | |
*** dreamer has joined #maemo | 06:33 | |
*** Mekkis has joined #maemo | 06:33 | |
*** xray256_ has joined #maemo | 06:34 | |
*** sixwheeledbeast has joined #maemo | 06:34 | |
*** andril has joined #maemo | 06:34 | |
*** guerby has joined #maemo | 06:35 | |
*** DocScrutinizer05 has quit IRC | 06:36 | |
*** DocScrutinizer05 has joined #maemo | 06:36 | |
*** realitygaps has joined #maemo | 06:36 | |
*** valdyn has joined #maemo | 06:39 | |
*** valdyn has quit IRC | 06:45 | |
*** valdyn has joined #maemo | 06:45 | |
*** vahe has quit IRC | 06:59 | |
*** vahe has joined #maemo | 06:59 | |
*** vahe has quit IRC | 07:10 | |
*** vahe has joined #maemo | 07:11 | |
*** vahe has quit IRC | 07:16 | |
*** vahe has joined #maemo | 07:18 | |
*** vakkov has quit IRC | 07:49 | |
*** sunshavi has quit IRC | 07:54 | |
*** vahe has quit IRC | 08:06 | |
*** vahe has joined #maemo | 08:06 | |
*** SpeedEvil has quit IRC | 08:11 | |
*** vahe has quit IRC | 08:11 | |
*** vahe has joined #maemo | 08:11 | |
*** SpeedEvil has joined #maemo | 08:14 | |
*** vahe has quit IRC | 08:32 | |
*** vahe has joined #maemo | 08:37 | |
*** Maxdaman1us is now known as Maxdamantus | 08:46 | |
*** bencoh has joined #maemo | 09:15 | |
*** Pali has joined #maemo | 09:17 | |
*** azkay_ has quit IRC | 09:23 | |
*** bruce_lee has joined #maemo | 09:35 | |
*** jskarvad has joined #maemo | 10:02 | |
*** jskarvad has quit IRC | 10:02 | |
*** jskarvad has joined #maemo | 10:02 | |
*** tanty_off is now known as tanty | 10:17 | |
*** futpib has joined #maemo | 10:23 | |
*** xorly has joined #maemo | 10:25 | |
*** futpib has quit IRC | 10:44 | |
*** freemangordon has quit IRC | 10:46 | |
*** vahe has quit IRC | 10:58 | |
*** jskarvad has quit IRC | 10:59 | |
*** zGrr has quit IRC | 11:01 | |
*** Avasz has quit IRC | 11:02 | |
*** Avasz has joined #maemo | 11:02 | |
*** xorly has quit IRC | 11:11 | |
*** zGrr has joined #maemo | 11:17 | |
*** jskarvad has joined #maemo | 11:21 | |
*** jskarvad has quit IRC | 11:21 | |
*** jskarvad has joined #maemo | 11:21 | |
*** geaaru has joined #maemo | 11:25 | |
*** N-Mi has joined #maemo | 11:36 | |
*** N-Mi has joined #maemo | 11:36 | |
*** Kabouik_ has joined #maemo | 11:46 | |
*** pagurus has joined #maemo | 11:57 | |
*** bruce_lee has quit IRC | 11:58 | |
*** bruce_lee has joined #maemo | 11:58 | |
*** hashcore has joined #maemo | 12:10 | |
Kabouik_ | Do I have to open Flopswap to make it work, or is there a daemon? | 12:13 |
kerio | just make a bigger swap partition and use it | 12:16 |
kerio | srsly | 12:16 |
Kabouik_ | The wiki says that it will not be as efficient as a swap on the SD card, and then if using SD swap, it seems flopswap is the best option | 12:20 |
Kabouik_ | This is actually impressive: https://vimeo.com/109855151. So I made 2 swaps partitions on the SD, plus the internal, and flopswaps seems to work. Just don't know if I have to manually open it. | 12:21 |
kerio | how big is your swap partition? | 12:22 |
Kabouik_ | About 800 MB | 12:22 |
kerio | yeah i'm talking like | 12:23 |
kerio | 2gb | 12:23 |
kerio | or 4gb | 12:23 |
Kabouik_ | SD or internal? | 12:23 |
kerio | sd | 12:23 |
kerio | to avoid I/O starvation | 12:23 |
Kabouik_ | If I could achieve the result in the video (with flopswap and partitions ~800MB), that'd be perfect for me | 12:24 |
*** hashcore has quit IRC | 12:33 | |
Maxdamantus | There's probably not actually going to be any difference if you use a swap file. | 13:01 |
Maxdamantus | just as long as it doesn't start out heavily fragmented. | 13:01 |
Kabouik_ | Hum, for some reason I can't ssh into my N900 anymore. I just unburried it two days ago so sorry for the numerous questions, it's not easy to get back to it. :) | 13:01 |
Maxdamantus | The filesystem tells Linux where the swap file lives on disk, so Linux bypasses the filesystem from there. | 13:02 |
Kabouik_ | I changed ssh password with "sudo gainroot" and "passwd user" in the N900, but then when I try to ssh to user@ip, the password is incorrect. Do I have to reboot for the password to be taken into account in ssh? | 13:02 |
Maxdamantus | Kabouik_: no. | 13:03 |
Kabouik_ | I have no idea what is wrong then. | 13:03 |
Maxdamantus | Kabouik_: what are the first two characters for the hash in /etc/shadow? | 13:03 |
Kabouik_ | About swap, my question was just whether Flopswap automatically runs in background, or if I have to manually open it | 13:03 |
Maxdamantus | Kabouik_: they should be $1 (bad, insecure) or $5 (slightly better) | 13:03 |
Maxdamantus | wait, that's not right. | 13:04 |
Maxdamantus | $1 is the slightly better one (MD5). | 13:04 |
Kabouik_ | Apparently there's no /etc/shadow on my N900 | 13:04 |
Maxdamantus | Maybe that's why it doesn't work. | 13:04 |
Kabouik_ | And on my computer, there's one but it's empty | 13:05 |
Maxdamantus | oh, right, it's just in /etc/passwd | 13:05 |
Kabouik_ | I don't see any $1 or $5 in /etc/passwd, it starts with "root:blahblah" | 13:06 |
Maxdamantus | Right, so it's probably just DES, which is the insecure one. | 13:06 |
Kabouik_ | What should I do? | 13:07 |
Maxdamantus | Have you sshed in as user before? | 13:07 |
Kabouik_ | Yeah but it was long ago, I don't remember reinstalling either Linux or Maemo since then though | 13:08 |
Maxdamantus | I feel like I might've had to change something in sshd_config to enable it .. or it might've been root. | 13:08 |
Kabouik_ | I even still have a preconfigured Filezilla connection for the N900 @user | 13:08 |
*** azkay_ has joined #maemo | 13:12 | |
Kabouik_ | I'm off to lunch, will check that later. Weird though, using the exact same password as I typed it after "passwd user" on the N900, and I get a "permission denied" when attempting ssh to user | 13:12 |
Maxdamantus | try `mkpasswd -S ..` on some system, where `..` is the first two characters in the hash you saw in /etc/passwd | 13:13 |
Maxdamantus | see if it comes back with the same hash. | 13:13 |
*** hashcore has joined #maemo | 13:21 | |
*** zGrr has quit IRC | 13:35 | |
*** oniongarlic has joined #maemo | 13:36 | |
*** eMHa_ has quit IRC | 13:39 | |
Sicelo | < Kabouik_> Guys, I have an EasyDebian partition on a small SD card and would want to move it to a partition on a larger SD card. Is it possible, or will it fail because of different mmcblk or whatever? Is there a file | 13:40 |
Sicelo | I can edit to tell the N900 where is the new EasyDebian partition? | 13:40 |
Sicelo | Kabouik_: /home/user/.chroot | 13:40 |
Sicelo | flopswap .. do a dpkg -L flopswap which will show you all files that flowswap installs, then you'll know if there's a daemon or not. not using flopswap myself | 13:42 |
*** azkay_ has quit IRC | 13:43 | |
*** hashcore has quit IRC | 13:51 | |
Kabouik_ | Sicelo thanks, but in the end I have had to change my SD card for other reasons so I reinstalled EasyDebian. Was actually about to edit /home/user/.chroot file to check the settings when I faced my ssh issue | 13:54 |
*** Kabouik__ has joined #maemo | 13:55 | |
*** Avasz_ has joined #maemo | 13:55 | |
*** zGrr has joined #maemo | 13:56 | |
*** Kabouik has quit IRC | 13:58 | |
*** Avasz has quit IRC | 14:06 | |
Kabouik_ | Maxdamantus: I confirm the password comes back with the same hash with mkpasswd -S | 14:08 |
*** Avasz_ has quit IRC | 14:08 | |
*** Kabouik_ has quit IRC | 14:10 | |
*** Kabouik has joined #maemo | 14:10 | |
Kabouik | If it is of any help: I'm trying to ssh through usb. usb0 ip is 192.168.2.16 on the N900 and 192.168.2.14 on the computer. | 14:11 |
Kabouik | They cannot ping each other. | 14:11 |
DocScrutinizer05 | Kabouik: what the heck? | 14:12 |
Kabouik | I was mistakenly trying to ssh the wrong ip earlier, hence the wrong password (wrong user name in fact). Was trying to ssh from computer to computer. :< | 14:12 |
Kabouik | So now, with the right ip, the error is: ssh: connect to host 192.168.2.16 port 22: No route to host | 14:12 |
DocScrutinizer05 | ~usbnetworking | 14:14 |
infobot | methinks usbnetworking is http://wiki.maemo.org/USB_networking, or http://wiki.maemo.org/N900_USB_networking | 14:14 |
*** elionne has joined #maemo | 14:16 | |
DocScrutinizer05 | ip route show | 14:17 |
*** elionne has quit IRC | 14:18 | |
*** andril has quit IRC | 14:20 | |
*** Arch-KT has joined #maemo | 14:21 | |
*** hashcore has joined #maemo | 14:22 | |
*** bencoh_ has joined #maemo | 14:22 | |
*** jrayhawk_ has joined #maemo | 14:22 | |
*** amospalla has quit IRC | 14:22 | |
*** Arch-TK has quit IRC | 14:22 | |
*** bencoh has quit IRC | 14:22 | |
*** jrayhawk has quit IRC | 14:22 | |
*** amospalla has joined #maemo | 14:23 | |
*** andril has joined #maemo | 14:23 | |
*** ArGGu^^ has quit IRC | 14:23 | |
*** ArGGu^^ has joined #maemo | 14:29 | |
Kabouik | I was already following the second wiki link | 14:30 |
Kabouik | And remembered I did so in the past | 14:30 |
Kabouik | My /etc/network/interfaces is properly configured for instance | 14:31 |
DocScrutinizer05 | sorry I can't help much, USB networking is way too inconvenient, I use WLAN only | 14:35 |
Maxdamantus | Can you post the relevant output from `ifconfig` on both systems? | 14:36 |
DocScrutinizer05 | when USB then mass storage mode | 14:36 |
* Maxdamantus always has g_eth loaded. | 14:36 | |
Maxdamantus | g_ether* | 14:36 |
Kabouik | WLAN is not very convenient here because I'm at work on a institutional network | 14:36 |
DocScrutinizer05 | I see, fair enough | 14:37 |
Kabouik | http://hastebin.com/miseyoxoco.css for computer Maxdamantus. Let me connect to IRC with N900 for pasting the output here | 14:38 |
Maxdamantus | Octets transmis:0 (0.0 B) | 14:39 |
Wizzup_ | wifi also eats more power and is less stable and latency is worse | 14:40 |
Maxdamantus | If that's after trying ping, it might mean your computer doesn't route through it. | 14:40 |
*** Konsieur has joined #maemo | 14:40 | |
Maxdamantus | try `ip route show` | 14:40 |
Konsieur | usb0 Link encap:Ethernet HWaddr 2E:05:52:76:73:23 | 14:40 |
Konsieur | That's the N900 side | 14:40 |
DocScrutinizer05 | you still could use adhoc WLAN | 14:41 |
*** hashcore has quit IRC | 14:41 | |
Kabouik | Damn, the paste did not work | 14:41 |
Maxdamantus | What does `ip route` look like on the computer side? | 14:43 |
Konsieur | n900 side: http://pastebin.com/ePWG5vru | 14:43 |
Kabouik | Konsieur = Kabouik | 14:43 |
Kabouik | ip route Maxdamantus: http://hastebin.com/tiyerojezo.cpp | 14:44 |
DocScrutinizer05 | this looks good | 14:45 |
Maxdamantus | After doing `ping 192.168.2.16`, does `Octets transmis` in `ifconfig` increase? | 14:45 |
DocScrutinizer05 | as far as I can tell, with a lack of coffee | 14:45 |
Kabouik | From 192.168.2.14 icmp_seq=1 Destination Host Unreachable Maxdamantus | 14:46 |
Kabouik | And still 0 bytes transmitted | 14:46 |
Kabouik | I know it did work in the past, I don't know what has changed | 14:47 |
*** eMHa_ has joined #maemo | 14:47 | |
DocScrutinizer05 | wait, what's your N900 IP? | 14:47 |
Kabouik | 192.168.2.14 | 14:47 |
Kabouik | Sorry | 14:48 |
DocScrutinizer05 | and USB IP on PC? | 14:48 |
Kabouik | 192.168.2.16 | 14:48 |
Kabouik | And computer .14 | 14:48 |
Kabouik | I mixed it just above, right after you asked, forget this line | 14:48 |
DocScrutinizer05 | and on computer you got a route for 16 via interface 14(USB)? | 14:48 |
Kabouik | I honestly don't know how to check that | 14:49 |
Maxdamantus | I think there should be a RUNNING flag. | 14:49 |
DocScrutinizer05 | RX packets:516 errors:0 dropped:0 overruns:0 frame:0 TX packets:9 errors:0 dropped:0 overruns:0 carrier:0 | 14:50 |
DocScrutinizer05 | on your N900, doesn't look too bad | 14:50 |
DocScrutinizer05 | 192.168.2.0/24 dev usb0 proto kernel scope link src 192.168.2.14 on PC also looks good | 14:52 |
DocScrutinizer05 | again with disclaimer "afaict" | 14:52 |
DocScrutinizer05 | though I'm not familiar with ip | 14:53 |
DocScrutinizer05 | I'm still a ifconfig and route guy | 14:53 |
Maxdamantus | I'm mostly concerned that it doesn't list the "RUNNING" flag in ifconfig. | 14:54 |
Maxdamantus | How did you configure the interface? | 14:54 |
Kabouik | What kind of question is that! :< | 14:54 |
Kabouik | (I don't know, don't laugh. Was a long time ago. :p Probably just followed the Maemo wiki). | 14:55 |
Maxdamantus | Hm .. /etc/network/interfaces | 14:55 |
Kabouik | Yeah, that I followed the N900 USB networking wiki page, just change the IP for .16 instead of .15 (.15 is my Jolla) | 14:55 |
Maxdamantus | I'd probably try removing (or commenting out) anything to do with usb0 in there. | 14:56 |
Maxdamantus | then just reconnecting it and doing `ifconfig 192.168.2.14` | 14:56 |
Maxdamantus | er, `ifconfig usb0 192.168.2.14` | 14:56 |
Kabouik | On computer, /etc/network/interfaces is just this: | 14:57 |
Kabouik | auto lo | 14:57 |
Kabouik | iface lo inet loopback | 14:57 |
Maxdamantus | what about interfaces.d? | 14:57 |
Kabouik | On N900, it's as in the wiki, just with 192.168.2.16 instead of 192.168.2.15 | 14:57 |
Kabouik | interfaces.d empty | 14:57 |
Maxdamantus | You should only really need to run one command on the computer, the ifconfig one I said above. | 15:00 |
Maxdamantus | unless you've set up some sort of firewall software like shorewall. | 15:01 |
Maxdamantus | The wiki seems to mostly talk about modifying things in /etc | 15:01 |
DocScrutinizer05 | Kabouik: which is your C system? | 15:08 |
DocScrutinizer05 | PC | 15:08 |
DocScrutinizer05 | Kabouik: and does it use network manager or sth like that? | 15:09 |
DocScrutinizer05 | Kabouik: do you have a firewall set up? | 15:09 |
DocScrutinizer05 | Kabouik: also I noticed several times that my PC side routing got messed up FUBAR, so only a reboot helped | 15:11 |
DocScrutinizer05 | it _really_ got messed up, not just bad configuration but it shown garbage and didn't follow configuration commands anymore | 15:12 |
DocScrutinizer05 | nowadays it seems systemd introduces new problems with interface and route config | 15:13 |
Kabouik | Sorry DocScrutinizer05, had to leave the office | 15:15 |
Kabouik | I'm running Mint 17.3 | 15:15 |
DocScrutinizer05 | can't comment on mint, never touched it | 15:15 |
Kabouik | For some reason, I see the N900 in the network manager indeed. Noticed that just 10 min ago but had to leave before I could tell | 15:15 |
Kabouik | And the N900 appears toggled off. If I tried to toggle it on, it attempts connection, but eventually will revert to off | 15:16 |
DocScrutinizer05 | network manager completely messes up all config you try to do manually | 15:16 |
DocScrutinizer05 | yes, since network manager treats all USB IP devices as a upstream NIC | 15:16 |
DocScrutinizer05 | and your N900 doesn't offer internet connectivity (by default) neither DHCP | 15:17 |
DocScrutinizer05 | so network manager tries to get a new internet connection via USB and that fails, so it takes down the interface | 15:18 |
Kabouik | Ok, so I should not bother about the network manager I guess | 15:18 |
DocScrutinizer05 | (long story short) | 15:18 |
DocScrutinizer05 | you should shut off NM all together | 15:18 |
DocScrutinizer05 | I had to do that | 15:18 |
Maxdamantus | Network management is: ifconfig usb0 192.168.2.14 | 15:18 |
Kabouik | Don't know how to do that :[ | 15:19 |
Maxdamantus | 3 words. | 15:19 |
Kabouik | I did it Maxdamantus, but still can't ping N900 | 15:19 |
Maxdamantus | does ifconfig show both `UP` and`RUNNING` yet? | 15:19 |
Kabouik | Nope. But usb1 does. | 15:20 |
Kabouik | Don't know what is usb1 though, there's not ip in it | 15:20 |
Maxdamantus | if there are multiple usb devices, the highest one is probably the N900.. | 15:20 |
Maxdamantus | unless you've been plugging other ones in recently. | 15:20 |
Kabouik | usb1 might be my ethernet adapter (I have a thin laptop with no RJ45 port) | 15:21 |
Maxdamantus | Could that not be usb0? | 15:21 |
Kabouik | Ah yes you're right, usb1 seems to be the N900. | 15:21 |
Kabouik | So I should try ifconfig usb1 192.168.2.14? | 15:21 |
Maxdamantus | Yes, probably after ifconfig usb0 down | 15:22 |
Kabouik | ! | 15:22 |
Kabouik | Ping! | 15:22 |
DocScrutinizer05 | pong | 15:22 |
Kabouik | Working ssh connection! | 15:23 |
DocScrutinizer05 | hah! | 15:23 |
Kabouik | Great, thanks folks! I am sorry I mixed usb0 and usb1. I'm 100% positive N900 always was usb0 in the past, but I guess I did not use the RJ45 adapter at this time | 15:23 |
DocScrutinizer05 | perfect explanation | 15:24 |
Kabouik | I should have pasted the whole output of ifconfig instead of usb0, you guys would surely have spotted the issue immediately | 15:24 |
DocScrutinizer05 | usb device naming is a mess | 15:24 |
DocScrutinizer05 | yes | 15:25 |
DocScrutinizer05 | :-) | 15:25 |
*** bluto271828 has joined #maemo | 15:26 | |
Kabouik | Should I do ifconfig usb1 192.168.2.14 before every connection Maxdamantus, or will it be stored in a config file on my computer? | 15:27 |
DocScrutinizer05 | for USB naming mess, see init() in http://maemo.cloud-7.de/maemo5/usr/local/bin/u1233-wip | 15:27 |
Maxdamantus | It won't be stored. | 15:27 |
Maxdamantus | You'll need to do it each time you connect the plug. | 15:27 |
Kabouik | No way to make it permanent? | 15:28 |
DocScrutinizer05 | Kabouik: I use a script to do such stuff on PC | 15:28 |
Maxdamantus | Yeah, I prefer just making scripts for these sorts of things. | 15:28 |
DocScrutinizer05 | for 'permanent' you need to mess around with udev-rules | 15:28 |
Maxdamantus | though in this case it's easy enough for me to just invoke ifconfig directly. | 15:28 |
Kabouik | Ok | 15:29 |
Maxdamantus | on the N900 side I just have it load g_ether and configure the interface in rcS-late | 15:29 |
Maxdamantus | (the N900 will remember its configuration until g_ether is unloaded) | 15:29 |
Maxdamantus | or g_nokia if you're using that. | 15:30 |
Kabouik | And I could successfully edit /home/user/.chroot to make EasyDebian work, great. I expected to have another issue with my terrible Linux skills, but it worked. :] | 15:31 |
DocScrutinizer05 | Kabouik: linux is not *that* hard to get right :-) | 15:32 |
Kabouik | I can do basic things, but when you start using your big udev words, I know I'm starting to be lost. :) | 15:32 |
Kabouik | There's still an issue but it might be related to the image I tried. LXDE does not display the menu (start menu equivalent) and the top bar. They actually appear for a fraction of a second when launching LXDE, but then dissapear | 15:41 |
Kabouik | I'm using debian-m5-estel.img.ext3 image | 15:42 |
Kabouik | https://wiki.maemo.org/Easy_Debian#LXDE_Top_Menu_Disappears will investigate this | 15:43 |
Kabouik | They're actually just autohiding and very hard to show again, apparently | 15:45 |
enyc_ | Kabouik: there are now, debian jessie armhf images, better ... was a fiddylr hack to create but they exist =) | 15:59 |
*** enyc_ is now known as enyc | 15:59 | |
*** Konsieur has quit IRC | 16:01 | |
*** Konsieur has joined #maemo | 16:02 | |
*** sunshavi has joined #maemo | 16:04 | |
Kabouik | Ah, interesting enyc! Do you have any link? | 16:15 |
*** Rassi is now known as Ras_Older | 16:16 | |
*** Arch-KT is now known as Arch-TK | 16:25 | |
*** Shapeshifter has quit IRC | 16:30 | |
*** Konsieur has quit IRC | 16:31 | |
*** Konsieur has joined #maemo | 16:33 | |
*** Konsieur has quit IRC | 16:42 | |
*** Konsieur has joined #maemo | 16:42 | |
*** Konsieur has quit IRC | 16:49 | |
*** Konsieur has joined #maemo | 16:49 | |
*** volandet has joined #maemo | 17:13 | |
*** volandet has quit IRC | 17:13 | |
*** Konsieur has quit IRC | 17:20 | |
*** Konsieur has joined #maemo | 17:21 | |
*** sunshavi has quit IRC | 17:23 | |
*** Konsieur has quit IRC | 17:30 | |
*** L29Ah has joined #maemo | 17:40 | |
*** L29Ah has left #maemo | 17:47 | |
*** L29Ah has joined #maemo | 17:52 | |
*** L29Ah has left #maemo | 17:55 | |
*** hashcore has joined #maemo | 17:56 | |
*** bluto271828 has quit IRC | 17:57 | |
*** andril has quit IRC | 17:57 | |
*** vahe has joined #maemo | 18:06 | |
*** vakkov has joined #maemo | 18:14 | |
*** L29Ah has joined #maemo | 18:14 | |
*** zGrr has quit IRC | 18:23 | |
*** vakkov has quit IRC | 18:29 | |
*** vakkov has joined #maemo | 18:33 | |
*** geaaru has quit IRC | 18:42 | |
*** hashcore has quit IRC | 18:47 | |
*** tanty is now known as tanty_off | 18:50 | |
*** eMHa_ has quit IRC | 18:52 | |
*** zGrr has joined #maemo | 18:52 | |
*** freemangordon has joined #maemo | 18:52 | |
*** vakkov has quit IRC | 18:53 | |
*** vakkov has joined #maemo | 19:00 | |
*** sledges has quit IRC | 19:06 | |
*** sledges has joined #maemo | 19:07 | |
*** eMHa_ has joined #maemo | 19:16 | |
*** sledges has quit IRC | 19:17 | |
*** sledges has joined #maemo | 19:17 | |
*** sunshavi has joined #maemo | 19:19 | |
*** zGrr has quit IRC | 19:24 | |
*** Natch has quit IRC | 19:31 | |
*** louisdk has joined #maemo | 19:38 | |
*** Milhouse has quit IRC | 19:46 | |
*** vahe has quit IRC | 19:51 | |
*** futpib has joined #maemo | 19:51 | |
*** Natch has joined #maemo | 20:01 | |
*** Kabouik has quit IRC | 20:02 | |
*** fortytwo has quit IRC | 20:09 | |
*** fortytwo has joined #maemo | 20:10 | |
*** Milhouse has joined #maemo | 20:15 | |
*** LauRoman|Alt has joined #maemo | 20:22 | |
*** LauRoman has quit IRC | 20:22 | |
*** robink has quit IRC | 20:26 | |
*** sunshavi has quit IRC | 20:36 | |
*** robink_ has joined #maemo | 20:37 | |
*** robink_ is now known as robink | 20:52 | |
*** sunshavi has joined #maemo | 20:53 | |
*** bruce_lee has quit IRC | 21:01 | |
*** Oksana has quit IRC | 21:14 | |
*** Oksana has joined #maemo | 21:16 | |
*** bencoh_ is now known as bencoh | 21:27 | |
*** bencoh has joined #maemo | 21:27 | |
*** fk_lx_ has joined #maemo | 21:48 | |
*** xelo has joined #maemo | 21:55 | |
*** netkat has quit IRC | 21:56 | |
*** jskarvad has quit IRC | 21:56 | |
*** alien2003 has joined #maemo | 22:00 | |
alien2003 | HI! Can you pls help me with u-boot? With fat MyDocs it even doesn't show menu with kernels. I switched to ext3 and now it shows different kernels but I can't boot any external kernel because of "unsupported filesystem" | 22:01 |
*** fuz_ has quit IRC | 22:06 | |
*** L29Ah has left #maemo | 22:11 | |
enyc | alien2003: silly question but can you just copy those other kernels onto the ext3 filessytem so u-boot *can* read them ? | 22:14 |
alien2003 | enyc: They are on it. They are everywhere... in /boot, in /opt/boot, in MyDocs... | 22:15 |
alien2003 | I tried to copy them everywhere | 22:15 |
enyc | alien2003: so.. it then boots said kernels ok ??? but they can't then mount a root filesystem where needed? | 22:23 |
*** xelo has quit IRC | 22:25 | |
alien2003 | enyc: it can only boot attached kernel :( | 22:27 |
*** krnlyng has quit IRC | 22:30 | |
*** xorly has joined #maemo | 22:30 | |
*** M4rtinK2 has joined #maemo | 22:34 | |
*** fuz_ has joined #maemo | 22:35 | |
*** L29Ah has joined #maemo | 22:40 | |
*** SpeedEvil has quit IRC | 22:40 | |
*** BitEvil has joined #maemo | 22:42 | |
*** L29Ah has left #maemo | 22:42 | |
*** BitEvil is now known as SpeedEvil | 22:44 | |
*** sunshavi has quit IRC | 22:47 | |
*** krnlyng has joined #maemo | 22:47 | |
*** L29Ah has joined #maemo | 22:48 | |
*** louisdk has quit IRC | 22:50 | |
*** netkat has joined #maemo | 22:52 | |
*** vakkov has quit IRC | 22:53 | |
*** L29Ah has left #maemo | 22:57 | |
*** sunshavi has joined #maemo | 22:57 | |
DocScrutinizer05 | uboot checks existing kernels during post-install | 22:58 |
kerio | and whenever you call u-boot-update-bootmenu | 22:58 |
DocScrutinizer05 | yep | 22:58 |
DocScrutinizer05 | thanks, I forgot the name | 22:58 |
DocScrutinizer05 | now the only name missing is the config files dir | 22:58 |
DocScrutinizer05 | bootmenu( ? | 22:59 |
DocScrutinizer05 | bootmenu/ ? | 22:59 |
kerio | /etc/boot<tab> | 22:59 |
DocScrutinizer05 | :nod: | 22:59 |
DocScrutinizer05 | alien2003: ^^^ | 22:59 |
alien2003 | DocScrutinizer05: I have that folder | 23:00 |
DocScrutinizer05 | yes, and all your kernels need to be configured in there | 23:00 |
*** netkat has quit IRC | 23:01 | |
kerio | however, do note that it's not actually checked by uboot | 23:01 |
DocScrutinizer05 | once that's accomplished, you run the script kerio said# | 23:01 |
kerio | it's only used by the script that builds the actual menu | 23:01 |
alien2003 | bootmenu.img.d, right? | 23:01 |
DocScrutinizer05 | exactly | 23:01 |
kerio | also, do note that pali's uboot doesn't do extfs | 23:01 |
kerio | it'll read uboot.scr or whatever it's called from the first vfat partition on the emmc or on the sd | 23:01 |
Pali | hm? uboot has support for ext2,3,4 | 23:01 |
kerio | :o | 23:02 |
kerio | then what doesn't it support | 23:02 |
DocScrutinizer05 | hehe | 23:02 |
alien2003 | there are my kerbek zInages in that folder | 23:02 |
kerio | why was i convinced that you needed a vfat partition then | 23:02 |
DocScrutinizer05 | ugh, you need config files in that folder | 23:02 |
DocScrutinizer05 | not zImages | 23:02 |
alien2003 | with vfat partition it even doesn't show a menu with kernels | 23:02 |
Pali | http://git.denx.de/?p=u-boot.git;a=blob;f=include/configs/nokia_rx51.h;h=5c4140526dc16ad60338480ce71256715da6f263;hb=HEAD#l347 | 23:02 |
Pali | first try fat, then ext2, then ext4 | 23:03 |
DocScrutinizer05 | pali meant: "first it tries..." | 23:03 |
kerio | on which partition? | 23:03 |
Pali | partition is always first | 23:03 |
*** vakkov has joined #maemo | 23:03 | |
Pali | see linked code | 23:03 |
alien2003 | what about ext3? | 23:04 |
DocScrutinizer05 | I never really liked the idea to use bootmenu*.d/* for configuring uBoot *.scr | 23:05 |
Pali | ext2 driver should have read support for ext3 | 23:05 |
alien2003 | DocScrutinizer05: can you provide me an example of config file for that folder? | 23:05 |
alien2003 | bootmenu.img.d | 23:05 |
DocScrutinizer05 | Pali can | 23:06 |
Pali | bootmenu.scr is uboot boot script (with binary header!) | 23:06 |
DocScrutinizer05 | if you missed that: he's maintainer/author of uBoot-N900 | 23:06 |
Pali | uboot can boot only files in uimage format | 23:06 |
alien2003 | Pali: bootmenu.scr is in MyDocs, not in bootmeny.img.d | 23:07 |
Pali | so boot files (in uimage format) are stored in bootmeny.img.d | 23:07 |
Pali | and referenced by bootmenu.scr | 23:07 |
DocScrutinizer05 | ooh, what? | 23:07 |
Pali | uboot cannot boot directly zImage | 23:07 |
DocScrutinizer05 | the uImage kernels are stored in /etc/* ? | 23:08 |
Pali | so there is script u-boot-update-bootmenu which take all installed zImages and convert them into uboot format | 23:08 |
*** sunshavi has quit IRC | 23:08 | |
DocScrutinizer05 | or is uImage a plain ascii file? | 23:08 |
Pali | and then store them into ~/MyDocs/bootmenu.img.d | 23:08 |
Pali | uimage is uboot binary format | 23:08 |
DocScrutinizer05 | with kernel or with menu? | 23:08 |
Pali | do not understand last question... | 23:09 |
DocScrutinizer05 | what's the typical size of a uimage ? | 23:09 |
Pali | zImage + sizeof(binary_uboot_header) + sizeof(padding) | 23:09 |
alien2003 | Pali: 1,70 MB | 23:10 |
DocScrutinizer05 | so it contains kernel zImage plus some meta info? | 23:10 |
Pali | yes | 23:10 |
DocScrutinizer05 | hmmm | 23:10 |
alien2003 | Pali: I think it's a uImage in my bootmenu.img.d because it appeared there after u-boot-update-menu | 23:11 |
Pali | yes, it should be uimage | 23:11 |
DocScrutinizer05 | so where do I place original zImage and how does script u-boot-update-bootmenu find it? | 23:11 |
Pali | ~uboot | 23:11 |
infobot | N900 uBoot is a siamese twin binary [uBoot+stockMaemoKernel] that resides in kernel NAND partition /dev/mtd3 aka "kernel". You can't uninstall it, rather you'll nuke it when you flash/install another kernel like stock maemo kernel or powerkernel. To start other than stock maemo kernel via uBoot, you have to provide the according kernel image files, or http://talk.maemo.org/showthread.php?t=81613 | 23:11 |
Pali | see section "How to create bootmenu entry for U-Boot:" | 23:11 |
Pali | kernel zImage is stored in /opt/boot (or /boot) | 23:12 |
*** xorly has quit IRC | 23:12 | |
alien2003 | Pali: I use custom partition sizes. My /home is 4 or 5 GB | 23:12 |
Pali | in /etc/bootmenu.d/ is specified config file for boot menu entry | 23:12 |
alien2003 | Maybe that's why u-boot can not boot custom kernels? | 23:13 |
Pali | and u-boot-update-bootmenu take configuration from /etc/bootmenu.d/ and generate ~/MyDocs/bootmenu.scr and ~/MyDocs/bootmenu.img.d/ | 23:13 |
Pali | alien2003: partition size does not matter | 23:14 |
alien2003 | Pali: so what would you recommend me to do with that 'unsupported file system'? I just want to be able to boot NITDroid and Kali | 23:14 |
Pali | you just need to have stored those bootmenu files stored in *first* eMMC parition | 23:14 |
alien2003 | Pali: MyDocs partition is my first partition | 23:15 |
Pali | and that *first* eMMC partition must be either fat, ext2/3 or ext4 | 23:15 |
alien2003 | and it's ext3 | 23:15 |
Pali | which filesystem it is? | 23:15 |
DocScrutinizer05 | *now* we're talking :-) | 23:15 |
alien2003 | with vfat it doesn't even show boot menu | 23:15 |
Pali | what do you mean by that? | 23:16 |
Pali | do not show boot menu? | 23:16 |
Pali | if keyboard is open, there always must be bootmenu | 23:16 |
alien2003 | When I boot phone with opened keyboard slider there is no menu items for custom kernels if I use vfat | 23:16 |
Pali | with vfat there are some problems, when it is incorrectly formatted | 23:16 |
alien2003 | and with ext3 they appear. But still can not boot | 23:16 |
Pali | try to format it as FAT16 (that could help) | 23:17 |
alien2003 | My USB is broken :( | 23:17 |
alien2003 | maybe I should try ext4? or it's a bad idea? | 23:17 |
DocScrutinizer05 | dude, you got cochones ;-D | 23:18 |
Pali | I do not see reason why ext3 does not work... | 23:18 |
alien2003 | and also I don't know how to format as fat16... is it possible to do it directly on my Nokia N900? | 23:18 |
DocScrutinizer05 | df -h|pastebinit | 23:18 |
Pali | mkfs.vfat -F 16? | 23:19 |
DocScrutinizer05 | cat /proc/mounts|pastebinit | 23:19 |
Pali | or try fat32 (-F 32) | 23:19 |
DocScrutinizer05 | you're aware it's pretty risky to format /home ? | 23:20 |
Pali | not /home, but MyDocs | 23:20 |
DocScrutinizer05 | aaah, yep | 23:20 |
*** L29Ah has joined #maemo | 23:20 | |
alien2003 | http://pastebin.com/htqZEwFV | 23:20 |
alien2003 | http://pastebin.com/GKzJbszx | 23:21 |
DocScrutinizer05 | looking ok: /dev/mmcblk0p1 | 23:21 |
DocScrutinizer05 | yep, /dev/mmcblk0p1 /home/user/MyDocs ext3 rw,nosuid,noatime,nodiratime,errors=continue,data=ordered 0 0 | 23:22 |
Pali | I think this is correct | 23:23 |
DocScrutinizer05 | ls -l ~/MyDocs/bootmenu.scr | 23:23 |
Pali | $ cat ~/MyDocs/bootmenu.scr | 23:23 |
alien2003 | ext partition is be better for me than fat anyway | 23:23 |
alien2003 | http://pastebin.com/zPuZFDfs | 23:23 |
DocScrutinizer05 | I leave that to Pali ;-P | 23:24 |
DocScrutinizer05 | I'm supposed to understand it but too lazy now | 23:24 |
Pali | there are just 3 entries: attached kernel, kernel-cssu and kernel-power | 23:25 |
Pali | so what is problem? | 23:25 |
Pali | they are not shown in uboot bootmenu? | 23:25 |
Pali | or what is visible in uboot bootmenu? | 23:26 |
alien2003 | They are shown but when I try to boot kernel-cssu or kernel-power it says "unsupported filesystem" | 23:26 |
Pali | aaaaa, there is problably bug | 23:26 |
alien2003 | attachboot is ok | 23:26 |
Pali | I see it "setenv mmctype fat" | 23:26 |
alien2003 | Pali: so any ways to fix it? :) | 23:26 |
Pali | fixing that u-boot-update-bootmenu script... | 23:26 |
Pali | going to look at it | 23:27 |
alien2003 | Pali: yep... I've seen it. And tried to change to ext3 but it breaks everything at all | 23:27 |
alien2003 | Pali: thank you | 23:27 |
Pali | ext3 does not exist | 23:27 |
Pali | uboot has just ext2 or ext4 driver | 23:27 |
alien2003 | I can switch to ext4 | 23:28 |
Pali | but if you change it, you need also regenerate checksum (that binary header) | 23:28 |
bencoh | uh oO | 23:28 |
alien2003 | Should I? | 23:28 |
alien2003 | I mean tune2fs -j... | 23:28 |
DocScrutinizer05 | nah | 23:28 |
Pali | of that bootmenu.scr file | 23:28 |
DocScrutinizer05 | wait for Pali fixing it, he's fast | 23:28 |
DocScrutinizer05 | :-) | 23:28 |
*** at1as has joined #maemo | 23:31 | |
DocScrutinizer05 | alien2003: actually thanks for bringing it up :-) | 23:33 |
DocScrutinizer05 | however I wnder why it failed with fat fs on MyDocs for alien2003 | 23:36 |
Pali | alien2003: fix should be in my git repo: https://github.com/pali/u-boot-maemo | 23:37 |
alien2003 | Pali: thanks | 23:37 |
Pali | download new version of u-boot-update-bootmenu script | 23:37 |
Pali | and try to use it | 23:37 |
Pali | let me know if it works now, or not | 23:37 |
alien2003 | Pali: really i don't know how to ccompile or install it... | 23:37 |
DocScrutinizer05 | Pali: you're a wizard :-) | 23:37 |
Pali | alien2003: download new version of u-boot-update-bootmenu script and try to use it | 23:38 |
alien2003 | oh thx | 23:38 |
Pali | it is in debian folder | 23:38 |
Pali | u-boot-update-bootmenu is shell script | 23:38 |
Pali | and post output of bootmenu.scr file | 23:39 |
Pali | (before rebooting) | 23:39 |
DocScrutinizer05 | for a start copy it into root's ~ and invoke it like ~/u-boot-update-bootmenu | 23:39 |
alien2003 | Pali: thank you... 5 minutes | 23:40 |
alien2003 | alien2003: flashing u-boot... I have removed it before | 23:41 |
enyc | as far as I could tell the maemo et.c all sopports ext4 wiht no problems, just the included system wasn't using it by default, or so | 23:41 |
*** vakkov has quit IRC | 23:43 | |
alien2003 | wooooow... | 23:46 |
alien2003 | it works! Really! | 23:46 |
alien2003 | Pali: Thank you very much!!! | 23:46 |
alien2003 | will the package in repos be updated? | 23:46 |
Pali | so replace system version of that script with new fixed version | 23:47 |
Pali | I will try to update package in extras-devel repository | 23:47 |
alien2003 | Pali: thank you very much | 23:48 |
alien2003 | Pali: such a great phone should stay alive! | 23:48 |
Pali | have fun! | 23:48 |
alien2003 | I have no reasons to buy Android no | 23:50 |
alien2003 | now* | 23:50 |
DocScrutinizer05 | yep | 23:50 |
alien2003 | btw... Is it possible to run shashlik on Nokia N900? | 23:50 |
bencoh | yummy | 23:51 |
bencoh | now I'm hungry :p | 23:51 |
bencoh | I'd say maybe, but they mention qemu (I guess they use qemu-user in their chroot) | 23:53 |
alien2003 | Shaslik is an QEMU-based Android emulator | 23:53 |
bencoh | I doubt (arm) emulation on our omap3 would be very efficient | 23:54 |
bencoh | even with userland (qemu-user) emulation only | 23:54 |
* DocScrutinizer05 is hungry too now. And shashlik looks promising | 23:54 | |
bencoh | (I'm not even sure that they only use qemu-user, haven't checked their code) | 23:54 |
kerio | i just went full debian on my home server | 23:55 |
DocScrutinizer05 | alien2003: I gather it's for x86 now? | 23:56 |
bencoh | Shashlik will then install the app and you’ll be able to launch it from your desktop’s applications menu. Other APKs may or may not work—if an APK has native code, it must support x86 processors and not just ARM processors, or it won’t work. | 23:57 |
bencoh | http://www.pcworld.com/article/3040093/android/shashlik-brings-android-apps-to-linux-and-you-can-try-it-today.html | 23:57 |
bencoh | hmm | 23:57 |
kerio | why is it that debian supports the sheevaplug but not the n900? :c | 23:57 |
bencoh | now that's funny | 23:57 |
enyc | takling cpu architectures, i was wondering why maemo and debian-chroots were setup as armel and not armhf... | 23:58 |
enyc | now seemingly the debian chroot can be done as armhf instead but... wasn't origianlly this way | 23:58 |
Pali | I added post to u-boot thread about that fs problem: http://talk.maemo.org/showthread.php?p=1502566#post1502566 | 23:58 |
bencoh | kerio: actually ""they"" do, you can run debian on top of mainline (and loose a few drivers that don't work yet) | 23:58 |
*** at1as has quit IRC | 23:59 | |
*** futpib has quit IRC | 23:59 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!