[06:17] <andrewlsd> Morning superfly. (just waving hopefully before you go to sleep)
[06:17] <andrewlsd> mornings chesedo MaNI pavlushka paddatrapper theblazehen
[06:17] <pavlushka> Morning andrewlsd :)
[06:34] <andrewlsd> o/
[06:49] <chesedo> morning pavlushka andrewlsd
[06:50] <pavlushka> chesedo: Morning :)
[07:01] <andrewlsd> morning vulcan
[07:14] <theblazehen> Morning andrewlsd, all
[07:27] <vulcan> Morning andrewlsd and everyone else :) :wave:
[07:45] <paddatrapper> Morning andrewlsd, theblazehen, vulcan, chesedo, pavlushka
[07:46] <pavlushka> Morning padda
[07:47] <vulcan> :wave:
[08:12] <theblazehen> hi paddatrapper
[08:19] <chesedo> ola theblazehen vulcan paddatrapper
[08:30] <theblazehen> hi chesedo
[09:03]  * andrewlsd sees paddatrapper over in ZaTech :-)
[09:43] <paddatrapper> andrewlsd: yup. Occasionally I surface
[09:47] <theblazehen> test message - do I exist?
[09:50] <andrewlsd> theblazehen: yes
[09:50] <andrewlsd> you exist
[09:50] <theblazehen> ty andrewlsd
[09:50]  * theblazehen is using the matrix IRC bridge
[09:52] <andrewlsd> oooh. shiny
[09:52] <andrewlsd> with theblazehen.com?
[09:53] <theblazehen> @appservice-irc:matrix.org: Nah, just riot.im
[09:53] <theblazehen> Federation doesn't work with SSL SNI
[09:53] <theblazehen> So won't work with reverse proxy
[09:55] <theblazehen> andrewlsd: Unread count in rambox.pro should work using matrix bridge, rather than quassel web
[09:56] <theblazehen> And can customize notifications per room
[09:56] <andrewlsd> ok, you may need to help me thru that rather slowly. do I need a matrix.org account?
[09:56] <theblazehen> Yeah
[09:56] <theblazehen> So, go to riot.im, register
[09:56] <theblazehen> https://gist.github.com/fstab/ce805d3001600ac147b79d413668770d and covers the rest
[10:00] <andrewlsd> ta
[10:01] <theblazehen> andrewlsd: You can also customize notification levels per room
[10:02] <theblazehen> Have group notifications off for all rooms, but on for eg #ubuntu-za
[10:07] <andrewlsd-matrix> greets from the matrix
[10:09] <andrewlsd-matrix> theblazehen:
[10:09] <theblazehen> hi andrewlsd-matrix
[10:11] <andrewlsd-matrix> ot, I know, but can phone Riot.im app do multiple logins?
[10:12]  * theblazehen doesn't think so
[10:18] <Kilos> hi guys struggling here
[10:18] <Kilos> how can i set a static ip on kde please from cli
[10:18] <Kilos> router and modem keep changing something and i cant get connected
[10:18] <theblazehen> Hi Kilos. Once off, or permanent
[10:19] <Kilos> google shows pages and pages of stuff
[10:19] <Kilos> permanent would be best i spose seeing as i want to stay connected 
[10:19] <andrewlsd-matrix> and, cable or wireless?
[10:20] <Kilos> cable from router throuch a hub
[10:21] <Kilos> i need to be in the 10.0.0.whatever range
[10:21] <andrewlsd-matrix> k. first thing: is hub (switch) reliable and/or are cables healthy too.
[10:21] <Kilos> yip
[10:22] <andrewlsd-matrix> k, then you should be able to right-click your network connections.
[10:22] <Kilos> i have been connected before but when power goes and router restarts i cant get back
[10:22] <andrewlsd-matrix> ^ that's weird
[10:23] <Kilos> and very frustrating
[10:23]  * andrewlsd-matrix wonders whether the problem isn't actually your hub, and not the router.
[10:23] <Kilos> kde nm doesnt show where i can change ip
[10:23] <andrewlsd-matrix> Kilos: do you know if you have an IP address?
[10:23] <andrewlsd-matrix> at the moment
[10:23] <Kilos> yes ill get it
[10:24] <andrewlsd-matrix> assuming you're not using that computer to message now.
[10:25] <Kilos> https://bin.snyman.info/mmmcjqbb
[10:26] <Kilos> thats with 3g in and eth out
[10:26] <andrewlsd-matrix> please post contents of `/etc/network/interfaces`
[10:26] <Kilos> my ip is now that 127.whatever now right
[10:26] <andrewlsd-matrix> to make sure you're not overriding anything there.
[10:26] <Kilos> ok sec
[10:26] <andrewlsd-matrix> so
[10:27] <andrewlsd-matrix> enp0s25 is a wired ethernet
[10:27] <andrewlsd-matrix> not sure what `wwp0s29u1u2` is
[10:27] <andrewlsd-matrix> i always make my system just use `eth0` and `wlan0` notation
[10:28] <Kilos> # interfaces(5) file used by ifup(8) and ifdown(8)
[10:28] <Kilos> auto lo eth0
[10:28] <Kilos> iface lo inet loopback
[10:28] <Kilos> iface eth0 inet static
[10:28] <Kilos>         address 10.0.0.10
[10:28] <Kilos>         netmask 255.255.255.0
[10:28] <Kilos>         gateway 10.0.0.2
[10:28] <Kilos>         dns-nameservers 8.8.8.8
[10:29] <theblazehen> andrewlsd: Wireless attached via usb interface
[10:29] <andrewlsd-matrix> ok, so that interfaces line for eth0 would prevent network-manager activating device `eth0`
[10:29] <andrewlsd-matrix> if you want it _always_ up at boot time, you'd need to add a line `auto eth0`
[10:29] <andrewlsd-matrix> otherwise you'd need to `sudo ifup eth0`
[10:29] <andrewlsd-matrix> now
[10:29] <theblazehen> andrewlsd-matrix:  "auto lo eth0" ?
[10:29] <andrewlsd-matrix> not sure whether that will affect your enp0s25 interface
[10:30] <andrewlsd-matrix> Kilos: do you have a reason to want to keep your interfaces named for the driver they are using?
[10:30] <andrewlsd-matrix> or can we revert you to `eth` names?
[10:30] <Kilos> i just want it to work
[10:30] <andrewlsd-matrix> GRUB_CMDLINE_LINUX="net.ifnames=0 biosdevname=0
[10:31] <Kilos> must i connect the eth here then run ip addr again
[10:31] <andrewlsd-matrix> connect the eth, then run `sudo ifup eth0`
[10:32] <andrewlsd-matrix> suggest you turn off wifi
[10:32] <Kilos> says failed
[10:32] <andrewlsd-matrix> when you do that
[10:32] <andrewlsd-matrix> (sorry, ignore that wifi suggestion)
[10:32] <andrewlsd-matrix> failed with "no such interface" ?
[10:33] <Kilos> that long command runs 
[10:33] <andrewlsd-matrix> you can paste to bin.snyman.info again
[10:33] <Kilos> but doesnt finish
[10:34] <andrewlsd-matrix> that's the output from `grep bios`` from my /etc/default/grub: `GRUB_CMDLINE_LINUX="net.ifnames=0 biosdevname=0"`
[10:34] <andrewlsd-matrix> :-( not a command
[10:34] <Kilos> ai!
[10:35] <Kilos> how do i stop it here
[10:35] <andrewlsd-matrix> ctrl+C
[10:36] <Kilos> # interfaces(5) file used by ifup(8) and ifdown(8)
[10:36] <Kilos> auto lo eth0
[10:36] <Kilos> iface lo inet loopback
[10:36] <Kilos> iface eth0 inet static
[10:36] <Kilos>         address 10.0.0.10
[10:36] <Kilos>         netmask 255.255.255.0
[10:36] <Kilos>         gateway 10.0.0.2
[10:36] <Kilos>         dns-nameservers 8.8.8.8
[10:36] <Kilos> thats with eth in
[10:36] <Kilos> nm shows router connected but no internet
[10:36] <andrewlsd-matrix> ok, so
[10:36] <andrewlsd-matrix> lets try ping that doesn't need DNS
[10:37] <andrewlsd-matrix> ping -n 196.25.1.1
[10:37] <andrewlsd-matrix> ping -c3 -n 196.25.1.1 (if you want to limit number of pings)
[10:37] <Kilos> ping works
[10:37] <andrewlsd-matrix> output of `ip r`
[10:38] <andrewlsd-matrix> (which is ip route show)
[10:38] <Kilos> default via 41.246.67.206 dev wwp0s29u1u2  proto static  metric 700 
[10:38] <Kilos> 10.42.0.0/24 dev enp0s25  proto kernel  scope link  src 10.42.0.1  metric 100 
[10:38] <Kilos> 41.246.67.204/30 dev wwp0s29u1u2  proto kernel  scope link  src 41.246.67.205  metric 700 
[10:38] <Kilos> 169.254.0.0/16 dev wwp0s29u1u2  scope link  metric 1000 
[10:39] <andrewlsd-matrix> cool, so there is no 10.0.0.10 address there
[10:39] <andrewlsd-matrix> enp0s24 is connected to network 10.42.0.0/24
[10:40] <andrewlsd-matrix> please post output of `sudo dhclient enp0s25` followed by output of `ip r` again.
[10:45] <andrewlsd-matrix> I'd like to fix this by reverting to traditional device names. Does anyone here have any reason why that would be bad (specific to Kilos)
[10:46]  * theblazehen doesn't
[10:46] <andrewlsd-matrix> ok.
[10:46] <Kilos> 3g disconnected
[10:46] <andrewlsd-matrix> Kilos: please show me what `/etc/default/grub` currently contains. ie pastebin output of cat /etc/default/grub
[10:49] <andrewlsd-matrix> once that's done, am going to ask you to make a change to /etc/default/grub then run grub-update and then reboot.
[10:50] <andrewlsd-matrix> output after that of "ip addr show" will show devices like eth0, wlan0 and your /etc/network/interfaces entry will then be used since device name will match.
[11:10] <andrewlsd-matrix> I'm guessing Kilos is still fighting with his 3G connection.
[11:14] <Kilos-> ai!
[11:15] <Kilos-> i have taken the router down and brought it here now
[11:15] <Kilos-> ian also battling with a win 7 pc
[11:16] <andrewlsd-matrix> hehe
[11:17] <andrewlsd-matrix> well, not really
[11:17] <Kilos-> now i just want a static ip here in the 10.0.0.whatever range
[11:17] <Kilos-> then ill try get the router going again
[11:17] <Kilos-> ian cant be offline because of work
[11:17] <andrewlsd-matrix> I meant it in the sort of laugh or else I'll cry
[11:17] <andrewlsd-matrix> ok
[11:17] <andrewlsd-matrix> so
[11:17] <andrewlsd-matrix> : please show me what /etc/default/grub currently contains. ie pastebin output of cat /etc/default/grub
[11:17] <andrewlsd-matrix> once that's done, am going to ask you to make a change to /etc/default/grub then run grub-update and then reboot.
[11:17] <andrewlsd-matrix> output after that of "ip addr show" will show devices like eth0, wlan0 and your /etc/network/interfaces entry will then be used since device name will match.
[11:17] <Kilos-> using a 2g mtn signal here now
[11:20] <Kilos-> https://bin.snyman.info/mmm98pve
[11:22] <Kilos-> thats with the eth cable unplugged
[11:22] <Kilos-> head thumpig so slow to follow andrewlsd-matrix sorry
[11:24] <andrewlsd-matrix> np
[11:24] <andrewlsd-matrix> please edit /etc/default/grub so that
[11:24] <andrewlsd-matrix> GRUB_CMDLINE_LINUX=""
[11:25] <andrewlsd-matrix> becomes
[11:25] <andrewlsd-matrix> GRUB_CMDLINE_LINUX="net.ifnames=0 biosdevname=0"
[11:27] <Kilos-> done
[11:28] <Kilos-> now reboot andrewlsd-matrix ?
[11:28] <andrewlsd-matrix> sudo update-grub2
[11:28] <andrewlsd-matrix> please run that to update your grub configs. so set the kernel parameter
[11:28] <andrewlsd-matrix> once the grub update has finished, yip.
[11:29] <andrewlsd-matrix> then you should be able to happily use the router
[11:36] <andrewlsd> andrewlsd-matrix: hello
[11:41] <andrewlsd-matrix> :-( sad face.  Kilos not yet back online.
[12:12] <Kilos> sjoe now i battled. cant connect with 3g anymore but can connect through router if it is right here by mye
[12:12] <Kilos> me as well
[12:14] <andrewlsd-matrix> you using KDE+Network-Manager for the 3G connection?
[12:14] <andrewlsd-matrix> glad  you're online
[12:17] <andrewlsd-matrix> can you pastebin or post here, output of
[12:17] <andrewlsd-matrix> ip r
[12:19]  * andrewlsd has jumped back to quassel
[12:26] <MaNI> blue pill?
[12:38] <andrewlsd> yip
[12:39] <Kilos> what yip?
[12:39] <Kilos> hehe
[12:39] <andrewlsd> phew
[12:39] <Kilos> had to remove that line in grub
[12:39] <Kilos> now using 3g again
[12:39] <andrewlsd> for your 3G device to work?
[12:40] <Kilos> yes
[12:40] <andrewlsd> that is _very_ odd
[12:40] <andrewlsd> in that case. you're left with sudo dhclient enp0s5
[12:41] <Kilos> showed usb modem connected but no internet
[12:41] <andrewlsd> ah
[12:41] <andrewlsd> internet modem probably was connecxted
[12:41] <andrewlsd> but
[12:41] <andrewlsd> default gateway was via ethernet
[12:41] <Kilos> ah
[12:41] <andrewlsd> so 3g connection was "alive" but your computer wasn't routing anything thru it
[12:41] <andrewlsd> ethernet takes precendence over everything else
[12:41] <Kilos> right
[12:41] <andrewlsd> (normally)
[12:42] <andrewlsd> since it is usually the more reliable connection
[12:42] <andrewlsd> I manually "ip route replace dev ppp0"
[12:42] <andrewlsd> or "ip route replace dev 3g"
[12:42] <Kilos> also router worked for 2 mins about then also stopped so i had to get 3g working here again
[12:43] <andrewlsd> you're very unlikely to be able to auto-switch between cable and 3g
[12:43] <Kilos> oh do you do that when you plugin a 3g everytime
[12:43] <andrewlsd> yip
[12:44] <Kilos> cant i set my ip to withing that 10.0.0.2 range
[12:44] <andrewlsd> I manually replace the default route if I want to stay connected to LAN (for stuff like smb shares and printers) but still want internet traffic to go via 3g instead of lan
[12:44] <Kilos> then i can firght the router at least
[12:44] <andrewlsd> sudo ip addr add 10.0.0.10/24 dev enp0s5
[12:45] <andrewlsd> that will add the ip, but not set the default gateway
[12:45] <Kilos> is it permanent?
[12:45] <andrewlsd> no
[12:46] <Kilos> so every rebust run thatoot i m
[12:46] <andrewlsd> you cannot set it permanently if you want to be able to use 3g internet
[12:46] <Kilos> reboot
[12:46] <Kilos> ai!
[12:46] <andrewlsd> permanently was the GRUB line
[12:46] <andrewlsd> but .
[12:46] <andrewlsd> if you want to use ethernet
[12:47] <andrewlsd> you can configure /etc/network/interfaces to *not* set a default gateway
[12:47] <andrewlsd> and then when you use 3g it will *add* a default gateway
[12:47] <Kilos> that sounds good
[12:47] <andrewlsd> (you can do this via "edit connections" in your network manager too)
[12:48] <andrewlsd> so add a # in front of the line in /etc/network/interfaces that contains gateway
[12:48] <Kilos> ok
[12:48] <andrewlsd> put back the stuff from earlier:
[12:48] <Kilos> that long line
[12:48] <andrewlsd> GRUB_CMDLINE_LINUX="net.ifnames=0 biosdevname=0"
[12:49] <andrewlsd> suggest you copy it in
[12:49] <Kilos> ty lemme do that
[12:49] <andrewlsd> and #comment out the previous
[12:49] <andrewlsd> after update-grub2 and reboot
[12:49] <andrewlsd> you won't have a default gateway via LAN
[12:49] <andrewlsd> you will need to use 3G for internet
[12:50] <andrewlsd> unless you manually add the default gateway routing via LAN
[12:50] <andrewlsd> like
[12:50] <andrewlsd> sudo ip r add default via 10.0.0.1
[12:50] <andrewlsd> if it doesn't seem to work
[12:50] <andrewlsd> unplug lan
[12:50] <andrewlsd> disconnect 3g, connect 3g
[12:50] <andrewlsd> and you should be back
[12:51] <Kilos> let me work through that ty andrewlsd 
[12:51] <andrewlsd> try to copy output of "ip r" to text editor
[12:51] <andrewlsd> so you can later pastebin it for comparison
[12:51] <Kilos> now?
[12:51] <andrewlsd> I'll be mostly offline around 15h00
[12:51] <andrewlsd> you can do whenever.
[12:51] <Kilos> or after changes
[12:51] <andrewlsd> before, during and afteer
[12:51] <andrewlsd> before change
[12:51] <Kilos> ok
[12:51] <andrewlsd> after change, with lan
[12:51] <andrewlsd> after change via 3g
[12:52] <Kilos> ok lemme try
[12:52] <andrewlsd> :-)
[12:52] <andrewlsd> :thumbsup: 
[13:04] <Kilos> i go reboot
[13:07] <Kilos> sudo update-grub
[13:07] <Kilos> /usr/sbin/grub-mkconfig: 35: /etc/default/grub: Syntax error: EOF in backquote substitution
[13:08] <Kilos> ai!
[14:47] <pavlushka> Kilos: do a "sudo kate /etc/default/grub"
[14:48] <pavlushka> there is a error in /etc/default/grub file as I presume
[14:48] <pavlushka> *a/an
[14:49] <Kilos> lemme see
[14:50] <pavlushka> Kilos: I can post my /etc/default/grub in a paste and you can copy :p
[14:50] <pavlushka> I have green and yellow ^^
[14:51] <Kilos> ty
[14:52] <pavlushka> Kilos: just curious, have you tinkered the /etc/default/grub ? otherwise....
[14:52] <pavlushka> theblazehen: ping
[14:53] <Kilos> yes we added a command by GRUB_CMDLINE_LINUX="GRUB_CMDLINE_LINUX="net.ifnames=0 biosdevname=0"
[16:14] <superfly> o/
[17:40] <Kilos> hi superfly 
[17:54] <superfly> hi Kilos