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