*** Timo has quit IRC | 00:12 | |
*** at1as has joined #maemo | 00:13 | |
*** sq-one has quit IRC | 00:15 | |
*** RedW has joined #maemo | 00:27 | |
*** RedM has quit IRC | 00:28 | |
*** sunshavi has joined #maemo | 00:39 | |
*** LauRoman has quit IRC | 00:42 | |
*** pcfe has quit IRC | 00:52 | |
*** pcfe has joined #maemo | 00:55 | |
*** pcfe has quit IRC | 00:55 | |
*** pcfe has joined #maemo | 00:55 | |
*** xorly has quit IRC | 00:59 | |
*** florian has quit IRC | 01:31 | |
*** sunshavi has quit IRC | 01:54 | |
*** at1as has quit IRC | 01:59 | |
*** shamus has quit IRC | 02:05 | |
*** shamus has joined #maemo | 02:05 | |
*** Defiant has quit IRC | 02:10 | |
*** Defiant has joined #maemo | 02:11 | |
*** Kilroo has joined #maemo | 02:12 | |
*** Pali has quit IRC | 02:18 | |
*** jskarvad has quit IRC | 02:32 | |
*** sunshavi has joined #maemo | 02:41 | |
*** sunshavi has quit IRC | 03:04 | |
*** RedM has joined #maemo | 03:48 | |
*** RedW has quit IRC | 03:48 | |
*** robbiethe1st has joined #maemo | 04:16 | |
*** Kabouik has quit IRC | 04:28 | |
*** vakkov has quit IRC | 04:29 | |
*** RedM has quit IRC | 05:03 | |
*** RedW has joined #maemo | 05:03 | |
*** ashley has quit IRC | 05:04 | |
*** vakkov has joined #maemo | 05:06 | |
*** ashley has joined #maemo | 05:08 | |
*** ashley has joined #maemo | 05:08 | |
*** pagurus has quit IRC | 05:10 | |
*** ashley has quit IRC | 05:19 | |
*** vahe has joined #maemo | 05:19 | |
*** at1as has joined #maemo | 05:26 | |
*** Avasz_ has joined #maemo | 05:27 | |
*** ashley has joined #maemo | 05:27 | |
*** ashley has joined #maemo | 05:27 | |
*** Avasz_ has quit IRC | 05:30 | |
*** Avasz_ has joined #maemo | 05:30 | |
*** SpeedEvil has quit IRC | 05:37 | |
*** BitEvil has joined #maemo | 05:38 | |
*** florian__ has joined #maemo | 05:44 | |
*** florian_kc has quit IRC | 05:48 | |
*** RedM has joined #maemo | 05:50 | |
*** RedW has quit IRC | 05:51 | |
*** lxp has joined #maemo | 06:01 | |
*** lxp1 has quit IRC | 06:04 | |
*** robbiethe1st has quit IRC | 06:05 | |
*** RedM has quit IRC | 06:24 | |
*** RedW has joined #maemo | 06:24 | |
*** treaki_ has joined #maemo | 06:38 | |
*** treaki__ has quit IRC | 06:41 | |
*** DocScrutinizer05 has quit IRC | 06:44 | |
*** DocScrutinizer05 has joined #maemo | 06:44 | |
*** jake421 has quit IRC | 06:50 | |
*** jake421 has joined #maemo | 06:50 | |
*** Defiant has quit IRC | 06:51 | |
*** Defiant has joined #maemo | 06:51 | |
*** RedM has joined #maemo | 07:48 | |
*** RedW has quit IRC | 07:48 | |
*** teotwaki has quit IRC | 08:21 | |
*** teotwaki has joined #maemo | 08:21 | |
*** BitEvil is now known as SpeedEvil | 08:52 | |
*** LauRoman has joined #maemo | 08:58 | |
*** eMHa__ has joined #maemo | 09:45 | |
*** robotanarchy has quit IRC | 09:53 | |
*** jskarvad has joined #maemo | 10:10 | |
*** florian__ is now known as florian | 10:15 | |
*** Venusaur has quit IRC | 10:28 | |
*** vahe has quit IRC | 10:30 | |
*** vahe has joined #maemo | 10:31 | |
*** Venusaur has joined #maemo | 10:36 | |
*** eijk_ has joined #maemo | 10:40 | |
*** SpeedEvil has quit IRC | 10:47 | |
*** tanty_off is now known as tanty | 10:50 | |
*** RedM has quit IRC | 10:51 | |
*** RedW has joined #maemo | 10:52 | |
*** jskarvad has quit IRC | 11:06 | |
*** LauRoman has quit IRC | 11:14 | |
*** ecloud has quit IRC | 11:26 | |
*** ecloud has joined #maemo | 11:27 | |
*** Shapeshifter has joined #maemo | 11:30 | |
Shapeshifter | Hi. 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 |
---|---|---|
L29Ah | ifconfig them up ffs | 11:32 |
Shapeshifter | L29Ah: 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 effect | 11:33 |
Shapeshifter | enp0s20u1i8: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state DOWN mode DEFAULT group default qlen 1000 | 11:33 |
*** jskarvad has joined #maemo | 11:34 | |
*** jskarvad has quit IRC | 11:34 | |
*** jskarvad has joined #maemo | 11:34 | |
Maxdamantus | Shapeshifter: you'd need to either bridge the devices or forward them (either through routing or netfilter rules) and probably do NAT somewhere. | 11:35 |
Maxdamantus | er, to be clear, the NAT is probably required in both cases. | 11:36 |
Maxdamantus | I just do: iptables --table nat --append POSTROUTING --out-interface gprs0 -j MASQUERADE && iptables --append FORWARD --in-interface usb0 -j ACCEPT | 11:36 |
L29Ah | Mar 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:4 | 11:37 |
L29Ah | Nokia-N900:~# ifconfig usb0 up 192.168.66.6 | 11:37 |
L29Ah | l29ah-x201 /usr/src/linux/drivers/hid ∞ ifconfig usb0 up 192.168.66.5 | 11:37 |
L29Ah | l29ah-x201 /usr/src/linux/drivers/hid ∞ ping 192.168.66.6 | 11:37 |
L29Ah | PING 192.168.66.6 (192.168.66.6) 56(84) bytes of data. | 11:37 |
L29Ah | 64 bytes from 192.168.66.6: icmp_seq=1 ttl=64 time=1.46 ms | 11:37 |
L29Ah | 64 bytes from 192.168.66.6: icmp_seq=2 ttl=64 time=1.00 ms | 11:37 |
L29Ah | meh | 11:37 |
L29Ah | dunno if n900 calls a dhcp client when it connects to you, you can check it with wireshark | 11:38 |
Maxdamantus | I don't think it does. | 11:38 |
Maxdamantus | but it's not hard to do. | 11:38 |
L29Ah | anyway you can ask your udev to do the proper init when it's connected | 11:39 |
Maxdamantus | Presumably 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 #maemo | 11:48 | |
*** xorly has joined #maemo | 11:55 | |
*** eMHa__ has quit IRC | 11:55 | |
Shapeshifter | When 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 |
L29Ah | no | 11:58 |
Shapeshifter | http://lpaste.net/6600118746759561216 | 11:58 |
L29Ah | also i get only one ethernet | 11:58 |
L29Ah | Mar 09 12:35:55 [kernel] [912041.002204] cdc_acm 1-1.5.4.2:1.6: ttyACM0: USB ACM device | 11:58 |
L29Ah | Mar 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:4e | 11:58 |
Shapeshifter | It says "Gained carrier", then that error, then "Lost carrier". Might be the reason why it stays down | 11:58 |
*** xorly has quit IRC | 12:02 | |
Maxdamantus | Shapeshifter: imo try just using g_ether instead of g_nokia. | 12:03 |
Maxdamantus | Hm. If you've run dhcpcd, it might be hanging around and setting the interface down. | 12:05 |
Maxdamantus | dhcpcd simply isn't going to work though unless you're running a DHCP server on the other end. | 12:06 |
Maxdamantus | Mär 09 10:57:32 tachychineta systemd-networkd[18178]: enp0s20u1i8: Lost carrier | 12:07 |
Maxdamantus | Yeah, that message is coming from something in systemd, probably dhclient. | 12:07 |
DocScrutinizer05 | Shapeshifter: http://paste.opensuse.org/68231912 | 12:09 |
DocScrutinizer05 | ^^^ PC side | 12:09 |
*** eMHa__ has joined #maemo | 12:10 | |
Maxdamantus | That `route` line seems pointless. | 12:12 |
Maxdamantus | 192.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 |
Maxdamantus | 192.168.1.0/24 dev brznet proto kernel scope link src 192.168.1.42 | 12:13 |
*** xorly has joined #maemo | 12:15 | |
Shapeshifter | It's not helping though. I can set a static ip but the interface remains down http://lpaste.net/5433001060979441664 | 12:18 |
Shapeshifter | If 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 something | 12:19 |
DocScrutinizer05 | this 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 ethernet | 12:19 |
DocScrutinizer05 | ooh, and I usually had to stop the damn network manager on PC | 12:21 |
DocScrutinizer05 | network manager tries to act smart and thus actually acts terribly stupid | 12:22 |
Shapeshifter | I'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 |
DocScrutinizer05 | ohmy, systemd | 12:23 |
Maxdamantus | You're using systemd, which does network management. | 12:23 |
Maxdamantus | on my Debian machine at work I have this: https://gist.github.com/Maxdamantus/57c2765f2782c0932986 | 12:24 |
Shapeshifter | Maxdamantus: yeah but I tried it with systemd-networkd disabled as well. | 12:24 |
DocScrutinizer05 | systemd is worse than NM | 12:24 |
Maxdamantus | in /etc/network/interfaces.d/n900usb | 12:24 |
Maxdamantus | I suspect that's a general systemd configuration. | 12:25 |
Shapeshifter | Maxdamantus: I don't think so. systemd-networkd config is in /etc/systemd/network and uses a different format. | 12:26 |
Maxdamantus | Ah, so it does. | 12:26 |
DocScrutinizer05 | isn'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 AVAHI | 12:28 |
Shapeshifter | I'm no fan of systemd either but it's here to stay | 12:28 |
DocScrutinizer05 | like HAL | 12:29 |
DocScrutinizer05 | also see devuan | 12:31 |
Maxdamantus | and Wayland. | 12:31 |
DocScrutinizer05 | http://devuan.org | 12:31 |
DocScrutinizer05 | actually... | 12:31 |
DocScrutinizer05 | ~nosystemd | 12: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 | ~systemd | 12:32 |
infobot | systemd 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 |
DocScrutinizer05 | also note that maemo uses another incompatible concept of cgroups and thus it will be virtually impossible to migrate maemo to systemd | 12:49 |
Maxdamantus | I imagine maemo's uses of cgroups could probably be merged into systemd's uses of cgroups. | 12:50 |
Wizzup | DocScrutinizer05: I hope there are no plans to. | 12:50 |
DocScrutinizer05 | not even get me started about "usr/?bin must live on rootfs" | 12:50 |
Wizzup | Openrc is just fine. | 12:50 |
Maxdamantus | in any case, I wouldn't consider them particularly part of maemo. | 12:51 |
Maxdamantus | not any moreso than Linux 2.6.28 is part of Maemo. | 12:51 |
Maxdamantus | it's just a random implementation detail in how the maemo software is run. | 12:51 |
Wizzup | 'random' | 12:52 |
Maxdamantus | non-maemo-specific. | 12:52 |
DocScrutinizer05 | Wizzup: 'random'? | 12:53 |
Wizzup | you're not seeing what Maxdamantus is saying | 12:53 |
DocScrutinizer05 | ooh, nevermind | 12:53 |
Wizzup | yep. | 12:53 |
DocScrutinizer05 | I guess he disagrees with me as usual | 12:54 |
Maxdamantus | If you ran hildon-desktop, hildon-status-menu, maemo-xinput-sounds, browserd, etc outside of any cgroups, I'd still call it maemo. | 12:54 |
Maxdamantus | just as if you ran all those things on a kernel other than 2.6.28 | 12:54 |
Maxdamantus | Its use of cgroups is only an implementation detail in how it's currently run. | 12:55 |
Maxdamantus | I don't necessarily usually disagree with you, but I'm more likely to voice my opinions about disagreements than agreements. | 12:56 |
DocScrutinizer05 | Wizzup: ((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 openrc | 12:57 |
Maxdamantus | I don't like systemd either, but there isn't much to add by saying that I also dislike it. | 12:57 |
Wizzup | DocScrutinizer05: openrc supports linux cgroups, and I don't think it will be too hard to port it over | 12:57 |
DocScrutinizer05 | hmm, it's quite obscure, and iirc parts of OOM are even closed | 12:58 |
Maxdamantus | parts of OOM? | 12:58 |
Wizzup | Time to compile v4.5-rc5-n900 | 12:59 |
Maxdamantus | I'm sure it's a standard feature of cgroups to make processes in certain cgroups killed first by the OOM killer. | 12:59 |
Maxdamantus | You don't even need cgroups to do it in a way that would be suitable. | 12:59 |
*** SpeedEvil has joined #maemo | 13:00 | |
DocScrutinizer05 | Wizzup: 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 system | 13:00 |
Wizzup | because upstart is dead | 13:00 |
Wizzup | openrc is a very sensible alt. | 13:00 |
DocScrutinizer05 | it works just fine on all my N900 | 13:00 |
Wizzup | I don't want to get into this discussion more fyi | 13:00 |
Wizzup | sure, but many things works well on n900, but they are very outdated | 13:00 |
Maxdamantus | Chromium has been setting something on its child processes that makes them usually the first to be killed. | 13:00 |
Wizzup | and to keep a system up to date and healthy, you cannot maintain all components yourself | 13:01 |
Wizzup | so you have to find upstream that does work for you | 13:01 |
Maxdamantus | (without cgroups, afaik) | 13:01 |
*** disco_stu_droid has joined #maemo | 13:01 | |
DocScrutinizer05 | Wizzup: well, that's maybe true for the usual PC linux system. Maemo is its own upstream | 13:01 |
*** disco_stu has quit IRC | 13:01 | |
Wizzup | DocScrutinizer05: that is a problem :) | 13:02 |
DocScrutinizer05 | and CSSU is what's all about keeping it alive | 13:02 |
*** disco_stu_droid is now known as disco_stu | 13:02 | |
Maxdamantus | echo 300 >/proc/$$/oom_score | 13:02 |
Wizzup | you're not getting my point, I think | 13:02 |
Wizzup | I am simply saying: you cannot, ever, find enough manpower do to that | 13:02 |
DocScrutinizer05 | you even less can find the manpower to migrate | 13:02 |
Wizzup | perhaps | 13:03 |
DocScrutinizer05 | since upstart is designed reasonably decent (unlike systemd), the effort to keep it alive is marginal, there hardly will show up any new flaws or bugs | 13:05 |
Wizzup | ... okay. | 13:05 |
DocScrutinizer05 | the true flaw is apps depending on the init system, I.E. systemd | 13:06 |
DocScrutinizer05 | no app really depends on upstart | 13:06 |
DocScrutinizer05 | except for an occasional "systemcl start lircd" or sth like that | 13:07 |
DocScrutinizer05 | rather "sudo start lircd" | 13:07 |
bencoh | no, the *true* flow is no fact that with no real upstream we'll keep drifting with old ABIs | 13:09 |
bencoh | flaw* | 13:09 |
bencoh | s/no/the/ bleh | 13:09 |
DocScrutinizer05 | well, if you wanna change the ABI, you need a new major release anyway, since all your programs need recompiling | 13:10 |
DocScrutinizer05 | that's maemo7 then ;-) | 13:11 |
bencoh | DocScrutinizer05: recompiling wouldn't be the main issue (it is for closed-source stuff) | 13:12 |
bencoh | APIs change too | 13:12 |
Maxdamantus | usually the ABI compatibility is broken by an API incompatibility. | 13:13 |
DocScrutinizer05 | sure, you can migrate / clone all infra incl extras repio to a maemo7 and recompile everything and hope that nothing breaks from the ABI change | 13:13 |
Wizzup | or rip out closed parts | 13:13 |
Maxdamantus | except maybe libpng. I'm not sure what the problem is with that. | 13:13 |
DocScrutinizer05 | that won't help, you still need to hope that nothing breaks | 13:14 |
DocScrutinizer05 | I think we're quite far already with ripping out the closed bits | 13:15 |
DocScrutinizer05 | the whole linux telephony stack is the major issue afaik | 13:15 |
DocScrutinizer05 | our RE guys boggle from that | 13:16 |
Wizzup | I know | 13:17 |
Wizzup | I have yet to live up to my promise to help out there. | 13:17 |
DocScrutinizer05 | well, luckily most of it is obsolete anyway on Neo900 | 13:18 |
DocScrutinizer05 | it's just the damn API that's not really documented | 13:18 |
DocScrutinizer05 | so operating telephony is no problem on Neo900, integrating it with the rest of the system might be | 13:20 |
DocScrutinizer05 | I 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 pp | 13:22 |
DocScrutinizer05 | dang ISI, I wish they had used ofono or even fsogsmd | 13:28 |
Shapeshifter | Just to be clear, when you set a static ip on the usb0 device, the interface is UP, yes? | 13:30 |
Shapeshifter | i.e. there's no point to any of this if I can't get the interface UP | 13:30 |
*** vakkov has quit IRC | 13:33 | |
DocScrutinizer05 | ask ifconfig if it's UP | 13:33 |
Shapeshifter | DocScrutinizer05: it's not, that's the problem. I can't set it UP | 13:35 |
*** xorly has quit IRC | 13:35 | |
DocScrutinizer05 | on PC? | 13:35 |
Shapeshifter | DocScrutinizer05: yes. | 13:35 |
DocScrutinizer05 | sorry, doesn't work on my PC either, prolly wrong cgroup, thanks systemd | 13:44 |
Shapeshifter | DocScrutinizer05: what does that mean? Can I fix it? | 13:45 |
DocScrutinizer05 | http://paste.opensuse.org/84826295 | 13:45 |
*** vakkov has joined #maemo | 13:45 | |
DocScrutinizer05 | I don't know how, without learning about that damn systemd | 13:45 |
Shapeshifter | I'm not sure how systemd might mess with this though. Could you paste ip l show enp0s29u1 ? | 13:47 |
DocScrutinizer05 | please rephrase | 13:47 |
DocScrutinizer05 | 2nd half | 13:47 |
Shapeshifter | Could you please run ip l show enp0s29u1 and paste the first line in here? | 13:48 |
DocScrutinizer05 | saturn:~ # ip l show enp0s29u1 | 13:48 |
DocScrutinizer05 | Device "enp0s29u1" does not exist. | 13:48 |
Shapeshifter | It's weird though that it appears in ifconfig. | 13:48 |
Shapeshifter | So is it listed in ip l= | 13:48 |
Shapeshifter | ? | 13:48 |
DocScrutinizer05 | 5: enp0s29u1u8i8: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN mode DEFAULT qlen 1000 | 13:49 |
Shapeshifter | Ah | 13:49 |
DocScrutinizer05 | saturn:~ # ip l show enp0s29u1u8i8 | 13:50 |
DocScrutinizer05 | 5: enp0s29u1u8i8: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN mode DEFAULT qlen 1000 | 13:50 |
Shapeshifter | I took the device id from the paste you linked. So does ip l set enp0s29u1u8i8 up work for you? | 13:50 |
Maxdamantus | jove ~ # ip l show usb0 | 13:50 |
Maxdamantus | 192: usb0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000 | 13:50 |
DocScrutinizer05 | ^^^ | 13:50 |
Maxdamantus | jove > saturn | 13:50 |
DocScrutinizer05 | yep | 13:50 |
DocScrutinizer05 | Shapeshifter: I guess ifconfig truncates the name | 13:53 |
DocScrutinizer05 | saturn:~ # ifconfig enp0s29u1u8i8 | 13:53 |
DocScrutinizer05 | enp0s29u1 Link encap:Ethernet HWaddr 2E:66:C8:C5:75:F3 | 13:53 |
DocScrutinizer05 | saturn:~ # ifconfig enp0s29u1u8i8 192.168.0.200 netmask 255.255.255.0 | 13:55 |
DocScrutinizer05 | saturn:~ # ifconfig enp0s29u1u8i8 | 13:55 |
DocScrutinizer05 | enp0s29u1 Link encap:Ethernet HWaddr 2E:66:C8:C5:75:F3 | 13:55 |
DocScrutinizer05 | inet addr:192.168.0.200 Bcast:192.168.0.255 Mask:255.255.255.0 | 13:55 |
DocScrutinizer05 | that's prolly not a ttyACM or USB interface though | 13:56 |
Maxdamantus | after doing: ip addr add 192.168.30.1/24 dev usb0; ip link set dev usb0 up | 13:56 |
Maxdamantus | 64 bytes from 192.168.30.2: icmp_req=2 ttl=64 time=0.323 ms | 13:56 |
Maxdamantus | since it was already configured on the N900 side. | 13:57 |
Maxdamantus | (ifconfig usb0 192.168.30.2 netmask 255.255.255.0) | 13:57 |
DocScrutinizer05 | crw-rw---- 1 root dialout 166, 0 Mar 9 12:39 /dev/ttyACM0 | 13:57 |
DocScrutinizer05 | ttyACM however is not what we need | 13:57 |
Shapeshifter | Maxdamantus: so the usb0 is definitely UP? | 14:01 |
Shapeshifter | Maxdamantus: What do I need to configure on the N900 side? | 14:01 |
*** clopez has quit IRC | 14:04 | |
DocScrutinizer05 | Shapeshifter: you seen http://wiki.maemo.org/N900_USB_networking ? | 14:05 |
Shapeshifter | DocScrutinizer05: yes but in the first sentence it says " to share your PC's internet to N900 via USB" | 14:07 |
Shapeshifter | I need the other way around | 14:07 |
Shapeshifter | http://wiki.maemo.org/N900_USB_router I'm trying this now | 14:07 |
*** clopez has joined #maemo | 14:07 | |
DocScrutinizer05 | you want the N900 internet access to get shared to PC? | 14:07 |
parazyd | what is tethering? | 14:08 |
Shapeshifter | DocScrutinizer05: yes. | 14:08 |
DocScrutinizer05 | parazyd: that :-) | 14:08 |
Shapeshifter | Is this jeopardy? | 14:08 |
DocScrutinizer05 | Shapeshifter: ideally you use NM or something similar to configure N900 as MODEM | 14:08 |
* Wizzup just does /etc/init.d/net.usb0 start | 14:10 | |
DocScrutinizer05 | http://wiki.maemo.org/USB_networking | 14:10 |
Shapeshifter | oh. | 14:11 |
Shapeshifter | So we've been talking about the other thing for the past hour | 14:11 |
Shapeshifter | xD | 14:11 |
DocScrutinizer05 | http://wiki.maemo.org/Debian-Tethering | 14:13 |
DocScrutinizer05 | well, that's for DUN (BT) | 14:14 |
Shapeshifter | Is kernel-power still OK with latest CSSU etc? | 14:15 |
DocScrutinizer05 | yep, afaik | 14:15 |
DocScrutinizer05 | for (usb)tethering you don't need KP though | 14:16 |
Shapeshifter | DocScrutinizer05: the article says that if I use the n900 as a "modem", it won't have internet access itself anymore | 14:16 |
DocScrutinizer05 | tethering actually works in PC-mode | 14:16 |
DocScrutinizer05 | yes, that's true | 14:16 |
DocScrutinizer05 | tehtering completely exports the modem, like mass-storage exposts whole storage partitions | 14:17 |
Shapeshifter | http://wiki.maemo.org/N900_USB_router this looks simple enough, so I'm trying it | 14:17 |
DocScrutinizer05 | sure, sounds ok | 14:17 |
DocScrutinizer05 | see last section on http://wiki.maemo.org/N900_USB_router - it clearly lists the differences between tethering and networking | 14:21 |
Shapeshifter | https://wiki.maemo.org/N900_USB_networking this one says that the N900 provides a default network interface for usb0 | 14:24 |
Shapeshifter | But I don't have such an interface on the N900. | 14:24 |
Shapeshifter | I see the config in /etc/network/interfaces but I only have gprs0, lo, phonet0 in ifconfig on the N900. | 14:25 |
Shapeshifter | and ifub usb0 gives me No such device sure enough | 14:26 |
*** timeless has quit IRC | 14:27 | |
*** juiceme has quit IRC | 14:27 | |
*** joga has quit IRC | 14:27 | |
*** ceene has quit IRC | 14:27 | |
*** mickname has quit IRC | 14:27 | |
*** ceene has joined #maemo | 14:27 | |
*** mickname has joined #maemo | 14:27 | |
*** realitygaps has quit IRC | 14:27 | |
*** timeless_ has joined #maemo | 14:27 | |
*** Vajb has quit IRC | 14:27 | |
*** timeless_ is now known as timeless | 14:28 | |
*** joga has joined #maemo | 14:28 | |
DocScrutinizer05 | Wizzup: /me lols @ cat /etc/init.d/networking | 14:30 |
Shapeshifter | If I set PC Suite mode I also get an upnlink0 | 14:30 |
*** juiceme has joined #maemo | 14:30 | |
Shapeshifter | but no usb0 | 14:30 |
Shapeshifter | oh wait | 14:31 |
*** juiceme is now known as Guest73804 | 14:31 | |
Shapeshifter | I get it. 1) PC Suite mode, 2) ifup usb0 | 14:31 |
*** heroux has quit IRC | 14:31 | |
DocScrutinizer05 | yes, sounds reasonable | 14:31 |
Wizzup | DocScrutinizer05: on what system? | 14:33 |
DocScrutinizer05 | on N900 | 14:34 |
DocScrutinizer05 | it has a few funny details | 14:34 |
DocScrutinizer05 | like >> if ifdown -a; then log_action_end_msg $?; else log_action_end_msg $?; fi << | 14:35 |
*** Vajb has joined #maemo | 14:35 | |
DocScrutinizer05 | or the whole doopt() | 14:35 |
*** realitygaps has joined #maemo | 14:41 | |
*** sunshavi has joined #maemo | 14:43 | |
*** Natch has quit IRC | 14:44 | |
DocScrutinizer05 | rotfl, bug in /lib/lsb/init-functions | 14:45 |
DocScrutinizer05 | [ "x$TERM" != "" ] | 14:45 |
DocScrutinizer05 | could you please check if recent versions of /lib/lsb/init-functions on debian have that fixed already? | 14:46 |
DocScrutinizer05 | it's in log_use_fancy_output () | 14:47 |
DocScrutinizer05 | #Copyright (c) 2002-08 Chris Lawrence | 14:47 |
*** Natch has joined #maemo | 14:48 | |
bencoh | [ "x${TERM:-}" != "x" ] && | 14:49 |
bencoh | [ "x${TERM:-}" != "xdumb" ] && | 14:49 |
bencoh | (weezy) | 14:50 |
bencoh | 3+h | 14:50 |
DocScrutinizer05 | bencoh: ta | 14:51 |
DocScrutinizer05 | Shapeshifter: success? | 14:52 |
*** heroux has joined #maemo | 14:54 | |
*** sunshavi has quit IRC | 15:12 | |
*** vahe has quit IRC | 15:16 | |
*** vahe has joined #maemo | 15:17 | |
Shapeshifter | DocScrutinizer05: 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 N900 | 15:43 |
Shapeshifter | According to http://wiki.maemo.org/N900_USB_router dhcp should work as well but it doesn't | 15:43 |
DocScrutinizer05 | hmm, you don't need a dhcp | 15:44 |
Shapeshifter | DocScrutinizer05: 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 |
DocScrutinizer05 | when you already have a working connection and ip-tables forwarding on N900, you just need a route on your PC | 15:45 |
Shapeshifter | DocScrutinizer05: like the one in your paste? i.e. /sbin/route add -host 192.168.0.202/32 dev $DEV$ | 15:45 |
Shapeshifter | What IP do I need to put there? | 15:45 |
DocScrutinizer05 | similar, yes, however for default route | 15:46 |
DocScrutinizer05 | default 192.168.4.1 0.0.0.0 UG 0 0 0 eth0 | 15:46 |
DocScrutinizer05 | 192.168.4.0 * 255.255.255.0 U 1 0 0 eth0 | 15:47 |
bencoh | Shapeshifter: http://pastebin.notk.org/pastebin.php?show=d39d5e3db | 15:47 |
bencoh | here is what I use on my n900 | 15:47 |
DocScrutinizer05 | I assumed he already has that | 15:48 |
bencoh | oh and, do use mtr on your laptop to try and debug that kind of routing issues:) | 15:48 |
DocScrutinizer05 | first his laptop needs to know that Neo900 is the default gateway | 15:48 |
bencoh | n900* unless I missed something ;) | 15:49 |
DocScrutinizer05 | or he does >> ping 8.8.8.8 $ip-of-N900 | 15:49 |
DocScrutinizer05 | oops yep | 15:49 |
bencoh | dont try to ping n900 | 15:49 |
bencoh | once you connect to cellular data it disables icmp answers | 15:49 |
DocScrutinizer05 | no, $ip-of-N900 is the gateway to use, here | 15:49 |
DocScrutinizer05 | might as well be the NIC name | 15:50 |
bencoh | icmp echo reply* | 15:50 |
DocScrutinizer05 | bencoh: huh? | 15:50 |
DocScrutinizer05 | only with tethering, no? | 15:50 |
Shapeshifter | It works | 15:51 |
Shapeshifter | thanks guys | 15:51 |
DocScrutinizer05 | :-) | 15:51 |
Shapeshifter | ip r add to default via 192.168.2.15 | 15:51 |
DocScrutinizer05 | :-)) | 15:51 |
bencoh | DocScrutinizer05: no | 15:52 |
DocScrutinizer05 | Shapeshifter: 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_all | 15:52 |
bencoh | /etc/network/if-up.d/00_disable_icmp_echo_reply:25:echo 1 > /proc/sys/net/ipv4/icmp_echo_ignore_all | 15:52 |
Shapeshifter | DocScrutinizer05: ping doesn't work | 15:52 |
DocScrutinizer05 | duh! | 15:52 |
bencoh | haha :) | 15:53 |
bencoh | I 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 iirc | 15:54 |
DocScrutinizer05 | ack | 15:54 |
*** Shapeshifter has quit IRC | 15:59 | |
*** Shapeshifter has joined #maemo | 15:59 | |
*** xorly has joined #maemo | 16:08 | |
*** Vajb has quit IRC | 16:22 | |
*** freddd has quit IRC | 16:31 | |
*** sunshavi has joined #maemo | 16:40 | |
*** florian has quit IRC | 16:43 | |
*** freddd has joined #maemo | 16:44 | |
*** sparetire has quit IRC | 16:46 | |
*** vakkov has quit IRC | 16:52 | |
*** RedW has quit IRC | 16:53 | |
*** RedW has joined #maemo | 16:54 | |
*** xorly has quit IRC | 16:54 | |
*** vakkov has joined #maemo | 16:55 | |
*** sparetire has joined #maemo | 16:59 | |
*** KotCzarny has quit IRC | 17:08 | |
*** Vajb has joined #maemo | 17:13 | |
*** eijk_ has quit IRC | 17:35 | |
*** RedM has joined #maemo | 17:56 | |
*** RedW has quit IRC | 17:57 | |
*** KotCzarny has joined #maemo | 17:58 | |
*** robotanarchy has joined #maemo | 18:04 | |
*** xorly has joined #maemo | 18:24 | |
*** eMHa__ has quit IRC | 18:31 | |
*** xorly has quit IRC | 18:33 | |
Sicelo | 15:48 < DocScrutinizer05> first his laptop needs to know that Neo900 is the default gateway | 18:35 |
Sicelo | someone has Neo900? :p | 18:35 |
*** vakkov has quit IRC | 18:39 | |
kerio | neo900 spotted in the wild, turns out it's just a reskinned 3g wifi access point | 18:42 |
parazyd | lol | 18:52 |
*** vahe has quit IRC | 18:52 | |
*** eijk_ has joined #maemo | 19:10 | |
*** SpeedEvil has quit IRC | 19:11 | |
*** SpeedEvil has joined #maemo | 19:14 | |
*** futpib_ has joined #maemo | 19:18 | |
*** vakkov has joined #maemo | 19:25 | |
*** Pali has joined #maemo | 19:37 | |
*** sunshavi has quit IRC | 19:37 | |
*** tanty is now known as tanty_off | 19:40 | |
*** krnlyng has quit IRC | 19:45 | |
*** pagurus has joined #maemo | 19:48 | |
*** vakkov has quit IRC | 19:51 | |
*** eijk_ has quit IRC | 19:54 | |
*** sunshavi has joined #maemo | 20: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 paket | 20:02 |
DocScrutinizer05 | IOW GPRS enables TX even when data is strictly inbound-only | 20:02 |
*** krnlyng has joined #maemo | 20:03 | |
DocScrutinizer05 | which sucks big time since you can't stop a battery drain from 'rogue' inbound pakets, no matter what you do. Unless you disable GPRS completely | 20:04 |
*** jskarvad has quit IRC | 20:07 | |
DocScrutinizer05 | https://github.com/systemd/systemd/issues/2402 | 20:21 |
*** sunshavi has quit IRC | 20:21 | |
DocScrutinizer05 | ECHAN | 20:21 |
*** RedW has joined #maemo | 20:32 | |
*** RedM has quit IRC | 20:33 | |
*** eMHa__ has joined #maemo | 20:41 | |
*** sunshavi has joined #maemo | 20:49 | |
bencoh | DocScrutinizer05: indeed | 20:59 |
*** stryngs is now known as Gandalf | 21:05 | |
*** Gandalf is now known as stryngs | 21:05 | |
*** eijk_ has joined #maemo | 21:08 | |
*** vakkov has joined #maemo | 21:09 | |
*** florian has joined #maemo | 21:10 | |
*** sunshavi has quit IRC | 21:18 | |
*** vakkov has quit IRC | 21:18 | |
*** eijk_ has quit IRC | 21:24 | |
*** krnlyng has quit IRC | 21:35 | |
*** krnlyng has joined #maemo | 21:38 | |
*** xorly has joined #maemo | 21:42 | |
*** krnlyng has quit IRC | 21:44 | |
*** pagurus has quit IRC | 21:46 | |
*** valdyn has joined #maemo | 21:49 | |
*** krnlyng has joined #maemo | 22:00 | |
*** L29Ah has left #maemo | 22:37 | |
*** L29Ah has joined #maemo | 22:37 | |
*** sunshavi has joined #maemo | 22:54 | |
*** florian has quit IRC | 23:01 | |
*** florian has joined #maemo | 23:02 | |
*** futpib_ has quit IRC | 23:03 | |
*** eijk_ has joined #maemo | 23:05 | |
Wizzup | Linux gentoo900 4.5.0-rc5+ #1 PREEMPT Wed Mar 9 18:58:02 CET 2016 armv7l Nokia RX-51 board GNU/Linux | 23:28 |
Wizzup | :) | 23:28 |
ecc3g | emerge -e world | 23:32 |
Pali | oo :-) | 23:50 |
*** freddd has quit IRC | 23:55 | |
*** sunshavi has quit IRC | 23:55 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!