/srv/irclogs.ubuntu.com/2017/05/05/#ubuntu-za.txt

andrewlsdMorning superfly. (just waving hopefully before you go to sleep)06:17
andrewlsdmornings chesedo MaNI pavlushka paddatrapper theblazehen06:17
pavlushkaMorning andrewlsd :)06:17
andrewlsdo/06:34
chesedomorning pavlushka andrewlsd06:49
pavlushkachesedo: Morning :)06:50
andrewlsdmorning vulcan07:01
theblazehenMorning andrewlsd, all07:14
vulcanMorning andrewlsd and everyone else :) :wave:07:27
paddatrapperMorning andrewlsd, theblazehen, vulcan, chesedo, pavlushka07:45
pavlushkaMorning padda07:46
vulcan:wave:07:47
theblazehenhi paddatrapper08:12
chesedoola theblazehen vulcan paddatrapper08:19
theblazehenhi chesedo08:30
* andrewlsd sees paddatrapper over in ZaTech :-)09:03
paddatrapperandrewlsd: yup. Occasionally I surface09:43
=== theblazehen[m] is now known as theblazehen
theblazehentest message - do I exist?09:47
andrewlsdtheblazehen: yes09:50
andrewlsdyou exist09:50
theblazehenty andrewlsd09:50
* theblazehen is using the matrix IRC bridge09:50
andrewlsdoooh. shiny09:52
andrewlsdwith theblazehen.com?09:52
theblazehen@appservice-irc:matrix.org: Nah, just riot.im09:53
theblazehenFederation doesn't work with SSL SNI09:53
theblazehenSo won't work with reverse proxy09:53
theblazehenandrewlsd: Unread count in rambox.pro should work using matrix bridge, rather than quassel web09:55
theblazehenAnd can customize notifications per room09:56
andrewlsdok, you may need to help me thru that rather slowly. do I need a matrix.org account?09:56
theblazehenYeah09:56
theblazehenSo, go to riot.im, register09:56
theblazehenhttps://gist.github.com/fstab/ce805d3001600ac147b79d413668770d and covers the rest09:56
andrewlsdta10:00
theblazehenandrewlsd: You can also customize notification levels per room10:01
theblazehenHave group notifications off for all rooms, but on for eg #ubuntu-za10:02
andrewlsd-matrixgreets from the matrix10:07
andrewlsd-matrixtheblazehen:10:09
theblazehenhi andrewlsd-matrix10:09
andrewlsd-matrixot, I know, but can phone Riot.im app do multiple logins?10:11
* theblazehen doesn't think so10:12
Kiloshi guys struggling here10:18
Kiloshow can i set a static ip on kde please from cli10:18
Kilosrouter and modem keep changing something and i cant get connected10:18
theblazehenHi Kilos. Once off, or permanent10:18
Kilosgoogle shows pages and pages of stuff10:19
Kilospermanent would be best i spose seeing as i want to stay connected 10:19
andrewlsd-matrixand, cable or wireless?10:19
Kiloscable from router throuch a hub10:20
Kilosi need to be in the 10.0.0.whatever range10:21
andrewlsd-matrixk. first thing: is hub (switch) reliable and/or are cables healthy too.10:21
Kilosyip10:21
andrewlsd-matrixk, then you should be able to right-click your network connections.10:22
Kilosi have been connected before but when power goes and router restarts i cant get back10:22
andrewlsd-matrix^ that's weird10:22
Kilosand very frustrating10:23
* andrewlsd-matrix wonders whether the problem isn't actually your hub, and not the router.10:23
Kiloskde nm doesnt show where i can change ip10:23
andrewlsd-matrixKilos: do you know if you have an IP address?10:23
andrewlsd-matrixat the moment10:23
Kilosyes ill get it10:23
andrewlsd-matrixassuming you're not using that computer to message now.10:24
Kiloshttps://bin.snyman.info/mmmcjqbb10:25
Kilosthats with 3g in and eth out10:26
andrewlsd-matrixplease post contents of `/etc/network/interfaces`10:26
Kilosmy ip is now that 127.whatever now right10:26
andrewlsd-matrixto make sure you're not overriding anything there.10:26
Kilosok sec10:26
andrewlsd-matrixso10:26
andrewlsd-matrixenp0s25 is a wired ethernet10:27
andrewlsd-matrixnot sure what `wwp0s29u1u2` is10:27
andrewlsd-matrixi always make my system just use `eth0` and `wlan0` notation10:27
Kilos# interfaces(5) file used by ifup(8) and ifdown(8)10:28
Kilosauto lo eth010:28
Kilosiface lo inet loopback10:28
Kilosiface eth0 inet static10:28
Kilos        address 10.0.0.1010:28
Kilos        netmask 255.255.255.010:28
Kilos        gateway 10.0.0.210:28
Kilos        dns-nameservers 8.8.8.810:28
theblazehenandrewlsd: Wireless attached via usb interface10:29
andrewlsd-matrixok, so that interfaces line for eth0 would prevent network-manager activating device `eth0`10:29
andrewlsd-matrixif you want it _always_ up at boot time, you'd need to add a line `auto eth0`10:29
andrewlsd-matrixotherwise you'd need to `sudo ifup eth0`10:29
andrewlsd-matrixnow10:29
theblazehenandrewlsd-matrix:  "auto lo eth0" ?10:29
andrewlsd-matrixnot sure whether that will affect your enp0s25 interface10:29
andrewlsd-matrixKilos: do you have a reason to want to keep your interfaces named for the driver they are using?10:30
andrewlsd-matrixor can we revert you to `eth` names?10:30
Kilosi just want it to work10:30
andrewlsd-matrixGRUB_CMDLINE_LINUX="net.ifnames=0 biosdevname=010:30
Kilosmust i connect the eth here then run ip addr again10:31
andrewlsd-matrixconnect the eth, then run `sudo ifup eth0`10:31
andrewlsd-matrixsuggest you turn off wifi10:32
Kilossays failed10:32
andrewlsd-matrixwhen you do that10:32
andrewlsd-matrix(sorry, ignore that wifi suggestion)10:32
andrewlsd-matrixfailed with "no such interface" ?10:32
Kilosthat long command runs 10:33
andrewlsd-matrixyou can paste to bin.snyman.info again10:33
Kilosbut doesnt finish10:33
andrewlsd-matrixthat'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 command10:34
Kilosai!10:34
Kiloshow do i stop it here10:35
andrewlsd-matrixctrl+C10:35
Kilos# interfaces(5) file used by ifup(8) and ifdown(8)10:36
Kilosauto lo eth010:36
Kilosiface lo inet loopback10:36
Kilosiface eth0 inet static10:36
Kilos        address 10.0.0.1010:36
Kilos        netmask 255.255.255.010:36
Kilos        gateway 10.0.0.210:36
Kilos        dns-nameservers 8.8.8.810:36
Kilosthats with eth in10:36
Kilosnm shows router connected but no internet10:36
andrewlsd-matrixok, so10:36
andrewlsd-matrixlets try ping that doesn't need DNS10:36
andrewlsd-matrixping -n 196.25.1.110:37
andrewlsd-matrixping -c3 -n 196.25.1.1 (if you want to limit number of pings)10:37
Kilosping works10:37
andrewlsd-matrixoutput of `ip r`10:37
andrewlsd-matrix(which is ip route show)10:38
Kilosdefault via 41.246.67.206 dev wwp0s29u1u2  proto static  metric 700 10:38
Kilos10.42.0.0/24 dev enp0s25  proto kernel  scope link  src 10.42.0.1  metric 100 10:38
Kilos41.246.67.204/30 dev wwp0s29u1u2  proto kernel  scope link  src 41.246.67.205  metric 700 10:38
Kilos169.254.0.0/16 dev wwp0s29u1u2  scope link  metric 1000 10:38
andrewlsd-matrixcool, so there is no 10.0.0.10 address there10:39
andrewlsd-matrixenp0s24 is connected to network 10.42.0.0/2410:39
andrewlsd-matrixplease post output of `sudo dhclient enp0s25` followed by output of `ip r` again.10:40
andrewlsd-matrixI'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:45
* theblazehen doesn't10:46
andrewlsd-matrixok.10:46
Kilos3g disconnected10:46
andrewlsd-matrixKilos: please show me what `/etc/default/grub` currently contains. ie pastebin output of cat /etc/default/grub10:46
andrewlsd-matrixonce that's done, am going to ask you to make a change to /etc/default/grub then run grub-update and then reboot.10:49
andrewlsd-matrixoutput 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.10:50
andrewlsd-matrixI'm guessing Kilos is still fighting with his 3G connection.11:10
Kilos-ai!11:14
Kilos-i have taken the router down and brought it here now11:15
Kilos-ian also battling with a win 7 pc11:15
andrewlsd-matrixhehe11:16
andrewlsd-matrixwell, not really11:17
Kilos-now i just want a static ip here in the 10.0.0.whatever range11:17
Kilos-then ill try get the router going again11:17
Kilos-ian cant be offline because of work11:17
andrewlsd-matrixI meant it in the sort of laugh or else I'll cry11:17
andrewlsd-matrixok11:17
andrewlsd-matrixso11:17
andrewlsd-matrix: please show me what /etc/default/grub currently contains. ie pastebin output of cat /etc/default/grub11:17
andrewlsd-matrixonce 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-matrixoutput 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 now11:17
Kilos-https://bin.snyman.info/mmm98pve11:20
Kilos-thats with the eth cable unplugged11:22
Kilos-head thumpig so slow to follow andrewlsd-matrix sorry11:22
andrewlsd-matrixnp11:24
andrewlsd-matrixplease edit /etc/default/grub so that11:24
andrewlsd-matrixGRUB_CMDLINE_LINUX=""11:24
andrewlsd-matrixbecomes11:25
andrewlsd-matrixGRUB_CMDLINE_LINUX="net.ifnames=0 biosdevname=0"11:25
Kilos-done11:27
Kilos-now reboot andrewlsd-matrix ?11:28
andrewlsd-matrixsudo update-grub211:28
andrewlsd-matrixplease run that to update your grub configs. so set the kernel parameter11:28
andrewlsd-matrixonce the grub update has finished, yip.11:28
andrewlsd-matrixthen you should be able to happily use the router11:29
andrewlsdandrewlsd-matrix: hello11:36
andrewlsd-matrix:-( sad face.  Kilos not yet back online.11:41
Kilossjoe now i battled. cant connect with 3g anymore but can connect through router if it is right here by mye12:12
Kilosme as well12:12
andrewlsd-matrixyou using KDE+Network-Manager for the 3G connection?12:14
andrewlsd-matrixglad  you're online12:14
andrewlsd-matrixcan you pastebin or post here, output of12:17
andrewlsd-matrixip r12:17
* andrewlsd has jumped back to quassel12:19
MaNIblue pill?12:26
andrewlsdyip12:38
Kiloswhat yip?12:39
Kiloshehe12:39
andrewlsdphew12:39
Kiloshad to remove that line in grub12:39
Kilosnow using 3g again12:39
andrewlsdfor your 3G device to work?12:39
Kilosyes12:40
andrewlsdthat is _very_ odd12:40
andrewlsdin that case. you're left with sudo dhclient enp0s512:40
Kilosshowed usb modem connected but no internet12:41
andrewlsdah12:41
andrewlsdinternet modem probably was connecxted12:41
andrewlsdbut12:41
andrewlsddefault gateway was via ethernet12:41
Kilosah12:41
andrewlsdso 3g connection was "alive" but your computer wasn't routing anything thru it12:41
andrewlsdethernet takes precendence over everything else12:41
Kilosright12:41
andrewlsd(normally)12:41
andrewlsdsince it is usually the more reliable connection12:42
andrewlsdI manually "ip route replace dev ppp0"12:42
andrewlsdor "ip route replace dev 3g"12:42
Kilosalso router worked for 2 mins about then also stopped so i had to get 3g working here again12:42
andrewlsdyou're very unlikely to be able to auto-switch between cable and 3g12:43
Kilosoh do you do that when you plugin a 3g everytime12:43
andrewlsdyip12:43
Kiloscant i set my ip to withing that 10.0.0.2 range12:44
andrewlsdI 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 lan12:44
Kilosthen i can firght the router at least12:44
andrewlsdsudo ip addr add 10.0.0.10/24 dev enp0s512:44
andrewlsdthat will add the ip, but not set the default gateway12:45
Kilosis it permanent?12:45
andrewlsdno12:45
Kilosso every rebust run thatoot i m12:46
andrewlsdyou cannot set it permanently if you want to be able to use 3g internet12:46
Kilosreboot12:46
Kilosai!12:46
andrewlsdpermanently was the GRUB line12:46
andrewlsdbut .12:46
andrewlsdif you want to use ethernet12:46
andrewlsdyou can configure /etc/network/interfaces to *not* set a default gateway12:47
andrewlsdand then when you use 3g it will *add* a default gateway12:47
Kilosthat sounds good12:47
andrewlsd(you can do this via "edit connections" in your network manager too)12:47
andrewlsdso add a # in front of the line in /etc/network/interfaces that contains gateway12:48
Kilosok12:48
andrewlsdput back the stuff from earlier:12:48
Kilosthat long line12:48
andrewlsdGRUB_CMDLINE_LINUX="net.ifnames=0 biosdevname=0"12:48
andrewlsdsuggest you copy it in12:49
Kilosty lemme do that12:49
andrewlsdand #comment out the previous12:49
andrewlsdafter update-grub2 and reboot12:49
andrewlsdyou won't have a default gateway via LAN12:49
andrewlsdyou will need to use 3G for internet12:49
andrewlsdunless you manually add the default gateway routing via LAN12:50
andrewlsdlike12:50
andrewlsdsudo ip r add default via 10.0.0.112:50
andrewlsdif it doesn't seem to work12:50
andrewlsdunplug lan12:50
andrewlsddisconnect 3g, connect 3g12:50
andrewlsdand you should be back12:50
Kiloslet me work through that ty andrewlsd 12:51
andrewlsdtry to copy output of "ip r" to text editor12:51
andrewlsdso you can later pastebin it for comparison12:51
Kilosnow?12:51
andrewlsdI'll be mostly offline around 15h0012:51
andrewlsdyou can do whenever.12:51
Kilosor after changes12:51
andrewlsdbefore, during and afteer12:51
andrewlsdbefore change12:51
Kilosok12:51
andrewlsdafter change, with lan12:51
andrewlsdafter change via 3g12:51
Kilosok lemme try12:52
andrewlsd:-)12:52
andrewlsd:thumbsup: 12:52
Kilosi go reboot13:04
Kilossudo update-grub13:07
Kilos/usr/sbin/grub-mkconfig: 35: /etc/default/grub: Syntax error: EOF in backquote substitution13:07
Kilosai!13:08
pavlushkaKilos: do a "sudo kate /etc/default/grub"14:47
pavlushkathere is a error in /etc/default/grub file as I presume14:48
pavlushka*a/an14:48
Kiloslemme see14:49
pavlushkaKilos: I can post my /etc/default/grub in a paste and you can copy :p14:50
pavlushkaI have green and yellow ^^14:50
Kilosty14:51
pavlushkaKilos: just curious, have you tinkered the /etc/default/grub ? otherwise....14:52
pavlushkatheblazehen: ping14:52
Kilosyes we added a command by GRUB_CMDLINE_LINUX="GRUB_CMDLINE_LINUX="net.ifnames=0 biosdevname=0"14:53
superflyo/16:14
Kiloshi superfly 17:40
superflyhi Kilos17:54

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