IRC log of #maemo for Wednesday, 2016-03-09

*** Timo has quit IRC00:12
*** at1as has joined #maemo00:13
*** sq-one has quit IRC00:15
*** RedW has joined #maemo00:27
*** RedM has quit IRC00:28
*** sunshavi has joined #maemo00:39
*** LauRoman has quit IRC00:42
*** pcfe has quit IRC00:52
*** pcfe has joined #maemo00:55
*** pcfe has quit IRC00:55
*** pcfe has joined #maemo00:55
*** xorly has quit IRC00:59
*** florian has quit IRC01:31
*** sunshavi has quit IRC01:54
*** at1as has quit IRC01:59
*** shamus has quit IRC02:05
*** shamus has joined #maemo02:05
*** Defiant has quit IRC02:10
*** Defiant has joined #maemo02:11
*** Kilroo has joined #maemo02:12
*** Pali has quit IRC02:18
*** jskarvad has quit IRC02:32
*** sunshavi has joined #maemo02:41
*** sunshavi has quit IRC03:04
*** RedM has joined #maemo03:48
*** RedW has quit IRC03:48
*** robbiethe1st has joined #maemo04:16
*** Kabouik has quit IRC04:28
*** vakkov has quit IRC04:29
*** RedM has quit IRC05:03
*** RedW has joined #maemo05:03
*** ashley has quit IRC05:04
*** vakkov has joined #maemo05:06
*** ashley has joined #maemo05:08
*** ashley has joined #maemo05:08
*** pagurus has quit IRC05:10
*** ashley has quit IRC05:19
*** vahe has joined #maemo05:19
*** at1as has joined #maemo05:26
*** Avasz_ has joined #maemo05:27
*** ashley has joined #maemo05:27
*** ashley has joined #maemo05:27
*** Avasz_ has quit IRC05:30
*** Avasz_ has joined #maemo05:30
*** SpeedEvil has quit IRC05:37
*** BitEvil has joined #maemo05:38
*** florian__ has joined #maemo05:44
*** florian_kc has quit IRC05:48
*** RedM has joined #maemo05:50
*** RedW has quit IRC05:51
*** lxp has joined #maemo06:01
*** lxp1 has quit IRC06:04
*** robbiethe1st has quit IRC06:05
*** RedM has quit IRC06:24
*** RedW has joined #maemo06:24
*** treaki_ has joined #maemo06:38
*** treaki__ has quit IRC06:41
*** DocScrutinizer05 has quit IRC06:44
*** DocScrutinizer05 has joined #maemo06:44
*** jake421 has quit IRC06:50
*** jake421 has joined #maemo06:50
*** Defiant has quit IRC06:51
*** Defiant has joined #maemo06:51
*** RedM has joined #maemo07:48
*** RedW has quit IRC07:48
*** teotwaki has quit IRC08:21
*** teotwaki has joined #maemo08:21
*** BitEvil is now known as SpeedEvil08:52
*** LauRoman has joined #maemo08:58
*** eMHa__ has joined #maemo09:45
*** robotanarchy has quit IRC09:53
*** jskarvad has joined #maemo10:10
*** florian__ is now known as florian10:15
*** Venusaur has quit IRC10:28
*** vahe has quit IRC10:30
*** vahe has joined #maemo10:31
*** Venusaur has joined #maemo10:36
*** eijk_ has joined #maemo10:40
*** SpeedEvil has quit IRC10:47
*** tanty_off is now known as tanty10:50
*** RedM has quit IRC10:51
*** RedW has joined #maemo10:52
*** jskarvad has quit IRC11:06
*** LauRoman has quit IRC11:14
*** ecloud has quit IRC11:26
*** ecloud has joined #maemo11:27
*** Shapeshifter has joined #maemo11:30
ShapeshifterHi. I'm trying to use tethering via USB with my N900 (providing the laptop with a 3G internet connection). I don't have NetworkManager. I connected the N900 via USB and set it to PC Suite Mode. Two network devices show up in ip link: usbpn0 and enp0s20u1i8. I tried using dhcpcd on both but it's not working, I get a time out.11:31
L29Ahifconfig them up ffs11:32
ShapeshifterL29Ah: I tried it. ip link set usbpn0 up has no effect. It stays in "UNKNOWN" mode. usbpn0: <POINTOPOINT,NOARP,UP,LOWER_UP> mtu 65541 qdisc fq_codel state UNKNOWN mode DEFAULT group default qlen 3. The other device, enp0s20u1i8 stays in DOWN mode, i.e. ip link set enp0s20u1i8 up has no effect11:33
Shapeshifter enp0s20u1i8: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state DOWN mode DEFAULT group default qlen 100011:33
*** jskarvad has joined #maemo11:34
*** jskarvad has quit IRC11:34
*** jskarvad has joined #maemo11:34
MaxdamantusShapeshifter: you'd need to either bridge the devices or forward them (either through routing or netfilter rules) and probably do NAT somewhere.11:35
Maxdamantuser, to be clear, the NAT is probably required in both cases.11:36
MaxdamantusI just do: iptables --table nat --append POSTROUTING --out-interface gprs0 -j MASQUERADE && iptables --append FORWARD --in-interface usb0 -j ACCEPT11:36
L29AhMar 09 12:35:55 [kernel] [912041.004420] cdc_ether 1-1.5.4.2:1.8 usb0: register 'cdc_ether' at usb-0000:00:1a.0-1.5.4.2, CDC Ethernet Device, ea:82:70:48:30:411:37
L29AhNokia-N900:~# ifconfig usb0 up 192.168.66.611:37
L29Ahl29ah-x201 /usr/src/linux/drivers/hid ∞ ifconfig usb0 up 192.168.66.511:37
L29Ahl29ah-x201 /usr/src/linux/drivers/hid ∞ ping 192.168.66.611:37
L29AhPING 192.168.66.6 (192.168.66.6) 56(84) bytes of data.11:37
L29Ah64 bytes from 192.168.66.6: icmp_seq=1 ttl=64 time=1.46 ms11:37
L29Ah64 bytes from 192.168.66.6: icmp_seq=2 ttl=64 time=1.00 ms11:37
L29Ahmeh11:37
L29Ahdunno if n900 calls a dhcp client when it connects to you, you can check it with wireshark11:38
MaxdamantusI don't think it does.11:38
Maxdamantusbut it's not hard to do.11:38
L29Ahanyway you can ask your udev to do the proper init when it's connected11:39
MaxdamantusPresumably in that situation though you're running a DHCP server on the device it's tethered to.11:39
Maxdamantus(or have the usb network interface bridged to something that does)11:39
*** LauRoman has joined #maemo11:48
*** xorly has joined #maemo11:55
*** eMHa__ has quit IRC11:55
ShapeshifterWhen you plug in the n900 in PC Suite mode, do you also get a message in dmesg saying "cdc_ether 1-1:1.8 enp0s20u1i8: kevent 12 may have been dropped" ?11:57
L29Ahno11:58
Shapeshifterhttp://lpaste.net/660011874675956121611:58
L29Ahalso i get only one ethernet11:58
L29AhMar 09 12:35:55 [kernel] [912041.002204] cdc_acm 1-1.5.4.2:1.6: ttyACM0: USB ACM device11:58
L29AhMar 09 12:35:55 [kernel] [912041.004420] cdc_ether 1-1.5.4.2:1.8 usb0: register 'cdc_ether' at usb-0000:00:1a.0-1.5.4.2, CDC Ethernet Device, ea:82:70:48:30:4e11:58
ShapeshifterIt says "Gained carrier", then that error, then "Lost carrier". Might be the reason why it stays down11:58
*** xorly has quit IRC12:02
MaxdamantusShapeshifter: imo try just using g_ether instead of g_nokia.12:03
MaxdamantusHm. If you've run dhcpcd, it might be hanging around and setting the interface down.12:05
Maxdamantusdhcpcd simply isn't going to work though unless you're running a DHCP server on the other end.12:06
MaxdamantusMär 09 10:57:32 tachychineta systemd-networkd[18178]: enp0s20u1i8: Lost carrier12:07
MaxdamantusYeah, that message is coming from something in systemd, probably dhclient.12:07
DocScrutinizer05Shapeshifter: http://paste.opensuse.org/6823191212:09
DocScrutinizer05^^^ PC side12:09
*** eMHa__ has joined #maemo12:10
MaxdamantusThat `route` line seems pointless.12:12
Maxdamantus192.168.0.202/32 is already part of the 192.168.0.0/24 subnet, which Linux normally adds a route for by default when you configure the interface using that `ifconfig` command.12:13
Maxdamantus192.168.1.0/24 dev brznet  proto kernel  scope link  src 192.168.1.4212:13
*** xorly has joined #maemo12:15
ShapeshifterIt's not helping though. I can set a static ip but the interface remains down http://lpaste.net/543300106097944166412:18
ShapeshifterIf I plug it in, the very first time I run ip link set usb0 up I get the messages "Gained carrier", "kevent 12 may have been dropped", "Lost carrier". I think it may be a driver bug or something12:19
DocScrutinizer05this script is like 7 years old and eventually got adapted to new interface naming once (usb0 -> eth4). Otherwise it always worked, given the network doesn't collide with your regular PC ethernet12:19
DocScrutinizer05ooh, and I usually had to stop the damn network manager on PC12:21
DocScrutinizer05network manager tries to act smart and thus actually acts terribly stupid12:22
ShapeshifterI'm not using NM. I tried it manually and with systemd-networkd and udev rules. Anyway, I don't think it's a config issue at this point. The interface just can't go up.12:23
DocScrutinizer05ohmy, systemd12:23
MaxdamantusYou're using systemd, which does network management.12:23
Maxdamantuson my Debian machine at work I have this: https://gist.github.com/Maxdamantus/57c2765f2782c093298612:24
ShapeshifterMaxdamantus: yeah but I tried it with systemd-networkd disabled as well.12:24
DocScrutinizer05systemd is worse than NM12:24
Maxdamantusin /etc/network/interfaces.d/n900usb12:24
MaxdamantusI suspect that's a general systemd configuration.12:25
ShapeshifterMaxdamantus: I don't think so. systemd-networkd config is in /etc/systemd/network and uses a different format.12:26
MaxdamantusAh, so it does.12:26
DocScrutinizer05isn't it nice how the never actually seen problems that systemd "solves" are creating new problems all over the place, in stuff that worked before? Dang, what does that remind me to... AAH PolypAudio, and AVAHI12:28
ShapeshifterI'm no fan of systemd either but it's here to stay12:28
DocScrutinizer05like HAL12:29
DocScrutinizer05also see devuan12:31
Maxdamantusand Wayland.12:31
DocScrutinizer05http://devuan.org12:31
DocScrutinizer05actually...12:31
DocScrutinizer05~nosystemd12:31
infobot[nosystemd] https://devuan.org http://without-systemd.org/wiki/index.php/Arguments_against_systemd http://blog.darknedgy.net/technology/2015/10/11/0/12:31
DocScrutinizer05~systemd12:32
infobotsystemd cabal: a bunch of people (Lennart Poettering, Kay Sievers, H. Hoyer, D. Mack, T. Gundersen, D. Herrmann) who want to turn linux into their wet dream perverted version of windows-me-too: http://0pointer.net/blog/revisiting-how-we-put-together-linux-systems.html -- Rumor has it that 2016 systemd will have replaced kernel. See ~nosystemd"12:32
DocScrutinizer05also note that maemo uses another incompatible concept of cgroups and thus it will be virtually impossible to migrate maemo to systemd12:49
MaxdamantusI imagine maemo's uses of cgroups could probably be merged into systemd's uses of cgroups.12:50
WizzupDocScrutinizer05: I hope there are no plans to.12:50
DocScrutinizer05not even get me started about "usr/?bin must live on rootfs"12:50
WizzupOpenrc is just fine.12:50
Maxdamantusin any case, I wouldn't consider them particularly part of maemo.12:51
Maxdamantusnot any moreso than Linux 2.6.28 is part of Maemo.12:51
Maxdamantusit's just a random implementation detail in how the maemo software is run.12:51
Wizzup'random'12:52
Maxdamantusnon-maemo-specific.12:52
DocScrutinizer05Wizzup: 'random'?12:53
Wizzupyou're not seeing what Maxdamantus is saying12:53
DocScrutinizer05ooh, nevermind12:53
Wizzupyep.12:53
DocScrutinizer05I guess he disagrees with me as usual12:54
MaxdamantusIf you ran hildon-desktop, hildon-status-menu, maemo-xinput-sounds, browserd, etc outside of any cgroups, I'd still call it maemo.12:54
Maxdamantusjust as if you ran all those things on a kernel other than 2.6.2812:54
MaxdamantusIts use of cgroups is only an implementation detail in how it's currently run.12:55
MaxdamantusI don't necessarily usually disagree with you, but I'm more likely to voice my opinions about disagreements than agreements.12:56
DocScrutinizer05Wizzup: ((openrc)) well, iirc OOM (with PA etc) use cgroups in maemo, so you have a szable implementation of phonecalls etc. You don't want to port all that stuff to openrc12:57
MaxdamantusI don't like systemd either, but there isn't much to add by saying that I also dislike it.12:57
WizzupDocScrutinizer05: openrc supports linux cgroups, and I don't think it will be too hard to port it over12:57
DocScrutinizer05hmm, it's quite obscure, and iirc parts of OOM are even closed12:58
Maxdamantusparts of OOM?12:58
WizzupTime to compile v4.5-rc5-n90012:59
MaxdamantusI'm sure it's a standard feature of cgroups to make processes in certain cgroups killed first by the OOM killer.12:59
MaxdamantusYou don't even need cgroups to do it in a way that would be suitable.12:59
*** SpeedEvil has joined #maemo13:00
DocScrutinizer05Wizzup: I din't really like upstart but it's waaaaay better than systemd, and I don't see why we should migrate maemo to any other init system13:00
Wizzupbecause upstart is dead13:00
Wizzupopenrc is a very sensible alt.13:00
DocScrutinizer05it works just fine on all my N90013:00
WizzupI don't want to get into this discussion more fyi13:00
Wizzupsure, but many things works well on n900, but they are very outdated13:00
MaxdamantusChromium has been setting something on its child processes that makes them usually the first to be killed.13:00
Wizzupand to keep a system up to date and healthy, you cannot maintain all components yourself13:01
Wizzupso you have to find upstream that does work for you13:01
Maxdamantus(without cgroups, afaik)13:01
*** disco_stu_droid has joined #maemo13:01
DocScrutinizer05Wizzup: well, that's maybe true for the usual PC linux system. Maemo is its own upstream13:01
*** disco_stu has quit IRC13:01
WizzupDocScrutinizer05: that is a problem :)13:02
DocScrutinizer05and CSSU is what's all about keeping it alive13:02
*** disco_stu_droid is now known as disco_stu13:02
Maxdamantusecho 300 >/proc/$$/oom_score13:02
Wizzupyou're not getting my point, I think13:02
WizzupI am simply saying: you cannot, ever, find enough manpower do to that13:02
DocScrutinizer05you even less can find the manpower to migrate13:02
Wizzupperhaps13:03
DocScrutinizer05since upstart is designed reasonably decent (unlike systemd), the effort to keep it alive is marginal, there hardly will show up any new flaws or bugs13:05
Wizzup... okay.13:05
DocScrutinizer05the true flaw is apps depending on the init system, I.E. systemd13:06
DocScrutinizer05no app really depends on upstart13:06
DocScrutinizer05except for an occasional "systemcl start lircd" or sth like that13:07
DocScrutinizer05rather "sudo start lircd"13:07
bencohno, the *true* flow is no fact that with no real upstream we'll keep drifting with old ABIs13:09
bencohflaw*13:09
bencohs/no/the/ bleh13:09
DocScrutinizer05well, if you wanna change the ABI, you need a new major release anyway, since all your programs need recompiling13:10
DocScrutinizer05that's maemo7 then ;-)13:11
bencohDocScrutinizer05: recompiling wouldn't be the main issue (it is for closed-source stuff)13:12
bencohAPIs change too13:12
Maxdamantususually the ABI compatibility is broken by an API incompatibility.13:13
DocScrutinizer05sure, you can migrate / clone all infra incl extras repio to a maemo7 and recompile everything and hope that nothing breaks from the ABI change13:13
Wizzupor rip out closed parts13:13
Maxdamantusexcept maybe libpng. I'm not sure what the problem is with that.13:13
DocScrutinizer05that won't help, you still need to hope that nothing breaks13:14
DocScrutinizer05I think we're quite far already with ripping out the closed bits13:15
DocScrutinizer05the whole linux telephony stack is the major issue afaik13:15
DocScrutinizer05our RE guys boggle from that13:16
WizzupI know13:17
Wizzup I have yet to live up to my promise to help out there.13:17
DocScrutinizer05well, luckily most of it is obsolete anyway on Neo90013:18
DocScrutinizer05it's just the damn API that's not really documented13:18
DocScrutinizer05so operating telephony is no problem on Neo900, integrating it with the rest of the system might be13:20
DocScrutinizer05I could write a bare bones dialer-ui in just 2 days or less. However that won't integrate nicely with phonebook, messaging, status bar, flight mode settings, 911-calls even from lockscreen, etc pp13:22
DocScrutinizer05dang ISI, I wish they had used ofono or even fsogsmd13:28
ShapeshifterJust to be clear, when you set a static ip on the usb0 device, the interface is UP, yes?13:30
Shapeshifteri.e. there's no point to any of this if I can't get the interface UP13:30
*** vakkov has quit IRC13:33
DocScrutinizer05ask ifconfig if it's UP13:33
ShapeshifterDocScrutinizer05: it's not, that's the problem. I can't set it UP13:35
*** xorly has quit IRC13:35
DocScrutinizer05on PC?13:35
ShapeshifterDocScrutinizer05: yes.13:35
DocScrutinizer05sorry, doesn't work on my PC either, prolly wrong cgroup, thanks systemd13:44
ShapeshifterDocScrutinizer05: what does that mean? Can I fix it?13:45
DocScrutinizer05http://paste.opensuse.org/8482629513:45
*** vakkov has joined #maemo13:45
DocScrutinizer05I don't know how, without learning about that damn systemd13:45
ShapeshifterI'm not sure how systemd might mess with this though. Could you paste ip l show enp0s29u1 ?13:47
DocScrutinizer05please rephrase13:47
DocScrutinizer052nd half13:47
ShapeshifterCould you please run ip l show enp0s29u1 and paste the first line in here?13:48
DocScrutinizer05saturn:~ # ip l show enp0s29u113:48
DocScrutinizer05Device "enp0s29u1" does not exist.13:48
ShapeshifterIt's weird though that it appears in ifconfig.13:48
ShapeshifterSo is it listed in ip l=13:48
Shapeshifter?13:48
DocScrutinizer055: enp0s29u1u8i8: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN mode DEFAULT qlen 100013:49
ShapeshifterAh13:49
DocScrutinizer05saturn:~ # ip l show enp0s29u1u8i813:50
DocScrutinizer055: enp0s29u1u8i8: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN mode DEFAULT qlen 100013:50
ShapeshifterI took the device id from the paste you linked. So does ip l set enp0s29u1u8i8 up work for you?13:50
Maxdamantusjove ~ # ip l show usb013:50
Maxdamantus192: usb0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 100013:50
DocScrutinizer05^^^13:50
Maxdamantusjove > saturn13:50
DocScrutinizer05yep13:50
DocScrutinizer05Shapeshifter: I guess ifconfig truncates the name13:53
DocScrutinizer05saturn:~ # ifconfig enp0s29u1u8i813:53
DocScrutinizer05enp0s29u1 Link encap:Ethernet  HWaddr 2E:66:C8:C5:75:F313:53
DocScrutinizer05saturn:~ # ifconfig enp0s29u1u8i8 192.168.0.200 netmask 255.255.255.013:55
DocScrutinizer05saturn:~ # ifconfig enp0s29u1u8i813:55
DocScrutinizer05enp0s29u1 Link encap:Ethernet  HWaddr 2E:66:C8:C5:75:F313:55
DocScrutinizer05          inet addr:192.168.0.200  Bcast:192.168.0.255  Mask:255.255.255.013:55
DocScrutinizer05that's prolly not a ttyACM or USB interface though13:56
Maxdamantusafter doing: ip addr add 192.168.30.1/24 dev usb0; ip link set dev usb0 up13:56
Maxdamantus64 bytes from 192.168.30.2: icmp_req=2 ttl=64 time=0.323 ms13:56
Maxdamantussince it was already configured on the N900 side.13:57
Maxdamantus(ifconfig usb0 192.168.30.2 netmask 255.255.255.0)13:57
DocScrutinizer05crw-rw---- 1 root dialout 166,  0 Mar  9 12:39 /dev/ttyACM013:57
DocScrutinizer05ttyACM however is not what we need13:57
ShapeshifterMaxdamantus: so the usb0 is definitely UP?14:01
ShapeshifterMaxdamantus: What do I need to configure on the N900 side?14:01
*** clopez has quit IRC14:04
DocScrutinizer05Shapeshifter: you seen http://wiki.maemo.org/N900_USB_networking ?14:05
ShapeshifterDocScrutinizer05: yes but in the first sentence it says " to share your PC's internet to N900 via USB"14:07
ShapeshifterI need the other way around14:07
Shapeshifterhttp://wiki.maemo.org/N900_USB_router I'm trying this now14:07
*** clopez has joined #maemo14:07
DocScrutinizer05you want the N900 internet access to get shared to PC?14:07
parazydwhat is tethering?14:08
ShapeshifterDocScrutinizer05: yes.14:08
DocScrutinizer05parazyd: that :-)14:08
ShapeshifterIs this jeopardy?14:08
DocScrutinizer05Shapeshifter: ideally you use NM or something similar to configure N900 as MODEM14:08
* Wizzup just does /etc/init.d/net.usb0 start14:10
DocScrutinizer05http://wiki.maemo.org/USB_networking14:10
Shapeshifteroh.14:11
ShapeshifterSo we've been talking about the other thing for the past hour14:11
ShapeshifterxD14:11
DocScrutinizer05http://wiki.maemo.org/Debian-Tethering14:13
DocScrutinizer05well, that's for DUN (BT)14:14
ShapeshifterIs kernel-power still OK with latest CSSU etc?14:15
DocScrutinizer05yep, afaik14:15
DocScrutinizer05for (usb)tethering you don't need KP though14:16
ShapeshifterDocScrutinizer05: the article says that if I use the n900 as a "modem", it won't have internet access itself anymore14:16
DocScrutinizer05tethering actually works in PC-mode14:16
DocScrutinizer05yes, that's true14:16
DocScrutinizer05tehtering completely exports the modem, like mass-storage exposts whole storage partitions14:17
Shapeshifterhttp://wiki.maemo.org/N900_USB_router this looks simple enough, so I'm trying it14:17
DocScrutinizer05sure, sounds ok14:17
DocScrutinizer05see last section on http://wiki.maemo.org/N900_USB_router - it clearly lists the differences between tethering and networking14:21
Shapeshifterhttps://wiki.maemo.org/N900_USB_networking this one says that the N900 provides a default network interface for usb014:24
ShapeshifterBut I don't have such an interface on the N900.14:24
ShapeshifterI see the config in /etc/network/interfaces but I only have gprs0, lo, phonet0 in ifconfig on the N900.14:25
Shapeshifterand ifub usb0 gives me No such device sure enough14:26
*** timeless has quit IRC14:27
*** juiceme has quit IRC14:27
*** joga has quit IRC14:27
*** ceene has quit IRC14:27
*** mickname has quit IRC14:27
*** ceene has joined #maemo14:27
*** mickname has joined #maemo14:27
*** realitygaps has quit IRC14:27
*** timeless_ has joined #maemo14:27
*** Vajb has quit IRC14:27
*** timeless_ is now known as timeless14:28
*** joga has joined #maemo14:28
DocScrutinizer05Wizzup: /me lols @ cat /etc/init.d/networking14:30
ShapeshifterIf I set PC Suite mode I also get an upnlink014:30
*** juiceme has joined #maemo14:30
Shapeshifterbut no usb014:30
Shapeshifteroh wait14:31
*** juiceme is now known as Guest7380414:31
ShapeshifterI get it. 1) PC Suite mode, 2) ifup usb014:31
*** heroux has quit IRC14:31
DocScrutinizer05yes, sounds reasonable14:31
WizzupDocScrutinizer05: on what system?14:33
DocScrutinizer05on N90014:34
DocScrutinizer05it has a few funny details14:34
DocScrutinizer05like >>         if ifdown -a; then             log_action_end_msg $?;         else             log_action_end_msg $?;         fi   <<14:35
*** Vajb has joined #maemo14:35
DocScrutinizer05or the whole doopt()14:35
*** realitygaps has joined #maemo14:41
*** sunshavi has joined #maemo14:43
*** Natch has quit IRC14:44
DocScrutinizer05rotfl, bug in /lib/lsb/init-functions14:45
DocScrutinizer05[ "x$TERM" != "" ]14:45
DocScrutinizer05could you please check if recent versions of /lib/lsb/init-functions on debian have that fixed already?14:46
DocScrutinizer05it's in log_use_fancy_output ()14:47
DocScrutinizer05#Copyright (c) 2002-08 Chris Lawrence14:47
*** Natch has joined #maemo14:48
bencoh    [ "x${TERM:-}" != "x" ] &&14:49
bencoh    [ "x${TERM:-}" != "xdumb" ] &&14:49
bencoh(weezy)14:50
bencoh3+h14:50
DocScrutinizer05bencoh: ta14:51
DocScrutinizer05Shapeshifter: success?14:52
*** heroux has joined #maemo14:54
*** sunshavi has quit IRC15:12
*** vahe has quit IRC15:16
*** vahe has joined #maemo15:17
ShapeshifterDocScrutinizer05: not really. I can get a working connection between the laptop and N900 via USB if I configure a static address on the laptop, but so far I can't get an internet connection on the laptop via the N90015:43
ShapeshifterAccording to http://wiki.maemo.org/N900_USB_router dhcp should work as well but it doesn't15:43
DocScrutinizer05hmm, you don't need a dhcp15:44
ShapeshifterDocScrutinizer05: I don't need one, true. Static ip works, dhcp would be convenient I guess. But I haven't figured out yet hot to get internet access on the laptop.15:44
DocScrutinizer05when you already have a working connection and ip-tables forwarding on N900, you just need a route on your PC15:45
ShapeshifterDocScrutinizer05: like the one in your paste? i.e. /sbin/route add -host 192.168.0.202/32 dev $DEV$15:45
ShapeshifterWhat IP do I need to put there?15:45
DocScrutinizer05similar, yes, however for default route15:46
DocScrutinizer05default         192.168.4.1     0.0.0.0         UG    0      0        0 eth015:46
DocScrutinizer05192.168.4.0     *               255.255.255.0   U     1      0        0 eth015:47
bencohShapeshifter: http://pastebin.notk.org/pastebin.php?show=d39d5e3db15:47
bencohhere is what I use on my n90015:47
DocScrutinizer05I assumed he already has that15:48
bencohoh and, do use mtr on your laptop to try and debug that kind of routing issues:)15:48
DocScrutinizer05first his laptop needs to know that Neo900 is the default gateway15:48
bencohn900* unless I missed something ;)15:49
DocScrutinizer05or he does >> ping 8.8.8.8 $ip-of-N90015:49
DocScrutinizer05oops yep15:49
bencohdont try to ping n90015:49
bencohonce you connect to cellular data it disables icmp answers15:49
DocScrutinizer05no, $ip-of-N900 is the gateway to use, here15:49
DocScrutinizer05might as well be the NIC name15:50
bencohicmp echo reply*15:50
DocScrutinizer05bencoh: huh?15:50
DocScrutinizer05only with tethering, no?15:50
ShapeshifterIt works15:51
Shapeshifterthanks guys15:51
DocScrutinizer05:-)15:51
Shapeshifterip r add to default via 192.168.2.1515:51
DocScrutinizer05:-))15:51
bencohDocScrutinizer05: no15:52
DocScrutinizer05Shapeshifter: could you check >> ping 192.168.2.15 << now?15:52
bencoh/etc/network/if-post-down.d/zz_enable_icmp_echo_reply:19:echo 0 > /proc/sys/net/ipv4/icmp_echo_ignore_all15:52
bencoh/etc/network/if-up.d/00_disable_icmp_echo_reply:25:echo 1 > /proc/sys/net/ipv4/icmp_echo_ignore_all15:52
ShapeshifterDocScrutinizer05: ping doesn't work15:52
DocScrutinizer05duh!15:52
bencohhaha :)15:53
bencohI think they didnt want to do it through netfilter at first, but that lead them to do it system-wide because linux doesn't provide a way to do it per-interface without netfilter iirc15:54
DocScrutinizer05ack15:54
*** Shapeshifter has quit IRC15:59
*** Shapeshifter has joined #maemo15:59
*** xorly has joined #maemo16:08
*** Vajb has quit IRC16:22
*** freddd has quit IRC16:31
*** sunshavi has joined #maemo16:40
*** florian has quit IRC16:43
*** freddd has joined #maemo16:44
*** sparetire has quit IRC16:46
*** vakkov has quit IRC16:52
*** RedW has quit IRC16:53
*** RedW has joined #maemo16:54
*** xorly has quit IRC16:54
*** vakkov has joined #maemo16:55
*** sparetire has joined #maemo16:59
*** KotCzarny has quit IRC17:08
*** Vajb has joined #maemo17:13
*** eijk_ has quit IRC17:35
*** RedM has joined #maemo17:56
*** RedW has quit IRC17:57
*** KotCzarny has joined #maemo17:58
*** robotanarchy has joined #maemo18:04
*** xorly has joined #maemo18:24
*** eMHa__ has quit IRC18:31
*** xorly has quit IRC18:33
Sicelo15:48 < DocScrutinizer05> first his laptop needs to know that Neo900 is the default gateway18:35
Sicelosomeone has Neo900? :p18:35
*** vakkov has quit IRC18:39
kerioneo900 spotted in the wild, turns out it's just a reskinned 3g wifi access point18:42
parazydlol18:52
*** vahe has quit IRC18:52
*** eijk_ has joined #maemo19:10
*** SpeedEvil has quit IRC19:11
*** SpeedEvil has joined #maemo19:14
*** futpib_ has joined #maemo19:18
*** vakkov has joined #maemo19:25
*** Pali has joined #maemo19:37
*** sunshavi has quit IRC19:37
*** tanty is now known as tanty_off19:40
*** krnlyng has quit IRC19:45
*** pagurus has joined #maemo19:48
*** vakkov has quit IRC19:51
*** eijk_ has quit IRC19:54
*** sunshavi has joined #maemo20:01
DocScrutinizer05((<bencoh> once you connect to cellular data it disables icmp answers)) alas this helps only marginally, since even with ICMP answers disabled, the GPRS afaik still ACKs the ICMP ping inbound data paket20:02
DocScrutinizer05IOW GPRS enables TX even when data is strictly inbound-only20:02
*** krnlyng has joined #maemo20:03
DocScrutinizer05which sucks big time since you can't stop a battery drain from 'rogue' inbound pakets, no matter what you do. Unless you disable GPRS completely20:04
*** jskarvad has quit IRC20:07
DocScrutinizer05https://github.com/systemd/systemd/issues/240220:21
*** sunshavi has quit IRC20:21
DocScrutinizer05ECHAN20:21
*** RedW has joined #maemo20:32
*** RedM has quit IRC20:33
*** eMHa__ has joined #maemo20:41
*** sunshavi has joined #maemo20:49
bencohDocScrutinizer05: indeed20:59
*** stryngs is now known as Gandalf21:05
*** Gandalf is now known as stryngs21:05
*** eijk_ has joined #maemo21:08
*** vakkov has joined #maemo21:09
*** florian has joined #maemo21:10
*** sunshavi has quit IRC21:18
*** vakkov has quit IRC21:18
*** eijk_ has quit IRC21:24
*** krnlyng has quit IRC21:35
*** krnlyng has joined #maemo21:38
*** xorly has joined #maemo21:42
*** krnlyng has quit IRC21:44
*** pagurus has quit IRC21:46
*** valdyn has joined #maemo21:49
*** krnlyng has joined #maemo22:00
*** L29Ah has left #maemo22:37
*** L29Ah has joined #maemo22:37
*** sunshavi has joined #maemo22:54
*** florian has quit IRC23:01
*** florian has joined #maemo23:02
*** futpib_ has quit IRC23:03
*** eijk_ has joined #maemo23:05
WizzupLinux gentoo900 4.5.0-rc5+ #1 PREEMPT Wed Mar 9 18:58:02 CET 2016 armv7l Nokia RX-51 board GNU/Linux23:28
Wizzup:)23:28
ecc3gemerge -e world23:32
Palioo :-)23:50
*** freddd has quit IRC23:55
*** sunshavi has quit IRC23:55

Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!