[05:08] hi superfly inetpro and others [05:43] mornings [05:53] hi thatgraemeguy [05:55] morning everyone [05:55] hi Wolfeyes [06:00] Morning Kilos thatgraemeguy Wolfeyes [06:01] morning all [06:01] hi chesedo [06:02] hi oom Kilos, oom bail gister aand toe vroeg uit... [06:02] * chesedo is suppose to be the old one remember :P [06:02] lol [06:03] ek kan net doen wat die hoofpyn toelaat [06:04] ouch, hoop oom voel vandag better? [06:05] dis daar maar beheerbaar op die oomblik dankie [06:05] sterte oom... [06:06] dankie [06:14] hey chesedo [06:15] hi Wolfeyes, you got the network up [06:16] something interesting happened last night, after resetting the /etc/network/interfaces back to dhcp, when I "ifconfig" it only shows the "lo" and not the "p3p1" [06:16] I am using my spare computer to connect to the net [06:18] hence me not coming back online lol [06:21] Just another question, I understand the "p3p1" is slot 3 port 1, can't this be changed to "eth0" and my "p5p1" to "eth1", or is it correct the way it is? [06:25] * chesedo does not know, they changed from eth* after the 15.04 (or 14.10) release [06:30] morning superfly didn't see that up there, sorry. [06:30] Wolfeyes: something that fusionsparc pointed out last night is to remember to restart the networking service after making changes to the interface file [06:31] I normally restart the pc chesedo [06:31] that can also work, just takes longer [06:31] I also noticed sometimes it keeps a swap file with the old information still in it [06:32] which I removed [06:32] what did you use to edit it? [06:32] gedit [06:32] gedit usually does that [06:32] I looked at it once or twice in vi [06:33] that is a better way to go (when without a GUI) just takes some time to get used to [06:33] which Ubuntu version are you using? [06:33] ubuntu server if I am not mistaken, latest one [06:34] no, i mean the release version [06:34] I added a kde desktop to it as well just for the time being, I will remove it later [06:34] let me see [06:36] use `sudo services restart networking` to restart the networking service [06:36] Trusty 14.04.04 [06:36] ah ty [06:36] good mornings [06:36] if above... ah never mind [06:36] hey inetpro [06:36] moring inetpro [06:37] Wolfeyes: one thing. How did you open gedit to be able to edit the interfaces file? [06:37] sudo gedit /etc/network/interfaces [06:38] * chesedo thought so [06:38] do a quick google search for 'gksudo vs sudo' [06:38] goes to look [06:39] * chesedo has to go for a while... wbb [06:48] typed in, "sudo services restart networking" and I got "sudo:services: command not found" was the reply. [06:48] use nano man [06:49] hi inetpro [07:48] Wolfeyes: sorry sould be service (without the s) [07:49] goes to look [07:51] unrecognised service [07:51] let me just change back to the original file again [07:51] brb [07:53] oh boy, i gave you the wrong ordering. should be `sudo service networking restart` [07:53] * chesedo used to systemd [07:56] lol, goes to look again [08:05] "stop:unknown instance start: Job failed to start" [08:14] Morning [08:16] hey dlPhreak [08:16] Wolfeyes: hello! [08:17] I think everyone is busy currently [08:17] hi dlPhreak [08:33] I think you may be correct, Wolfeyes . [08:33] Morning Kilos [08:37] * chesedo just had to test if the command was correct... ended up having to restart all his services [08:37] ai! [08:37] Wolfeyes: failing to start is prob a config error [08:39] * chesedo thinks syslog should contain the error [08:40] `tail /var/log/syslog` directly after trying to (re)start networking [08:57] chesedo: it's Wolfeyes [08:57] using a network manager to connect now - not the right thing on a server - but it connects at least now [09:00] xsm: it - meaning the clients? [09:00] My company name - X. Services and Maintenance [09:01] lol, i meant do you mean the computers by it? [09:01] internal ones [09:01] what does xsm do? [09:02] it = the clients server. [09:02] Sxuza: prob something eXcellent [09:02] ahhaha [09:02] Biometrics, payroll, time and attendance - experimenting with linux lol [09:03] does anyone here use a Mac? [09:03] Access control as well. [09:03] good stuff xsm [09:03] biometrics... interesting..... [09:46] good morning all [09:47] i have a email sending problem to SARS, i am getting a SPF 553 error, any insight? [09:47] hey magespawn [09:48] hi Wolfeyes [09:50] hi magespawn [09:51] your mailserver is missing a DNS record that some receiving mailservers look for [10:09] hi iqbal [10:20] hi Kilos [11:12] MaNI: thanks i will check that out [11:27] MaNI: spf/dns record only had op of google's ip instead of using v=spf1 include:_spf.google.com ~all [11:27] s/op/one [11:28] sjoe [11:29] hope mine never goes crazy like that. too much thinking work. write the fix down magespawn [11:29] nothing serious, that must have happened when i was fiddeling around earlier, we had some issues with spam [11:30] sjoe spam is a pain , i cleared out my spam today , 300 of which 5 were ubuntu related [11:31] the mailing list stuff seems to get flagged sometimes, seems to depend who is included in the sending and recieving [11:31] others were gambling stuff, viagra adds and other sites that look like interesting stuff like car info, drive and health and they all go to sites that show females that want dates and husbands [11:33] and so many offering credits cards and loans [11:33] sigh [11:34] most of mine have to do with brides, of one sort or another [11:34] lol [11:34] lovely russian ladies looking for husbands [11:34] hehe [13:59] oh my goodness [14:00] enabled so much stuff in d-link router and no 3g internet then let it go directly to register with d-link for a dns and internet now works [14:01] * Kilos scratches head [14:01] must be a female router [14:06] Kilos: jy sĂȘ dit van alles wat jy nie verstaan nie. [14:06] :-P [14:07] hahahaha ja wel tannies is van die moeielikste wesens om te verstaan [15:14] wb Wolfeyes [15:18] oh my, chased him away === Kilos- is now known as Kilos [18:00] good evening [18:00] hi magespawn [18:00] When someone has a moment please can you help me with checking my network, it is dhcp and It needs to be on static, I have a router, with the server connecting to it and all other internal computers connecting to the server, I have tried so much since last night I have no clue where to go from here. [18:00] hey magespawn [18:00] hi Kilos Wolfeyes [18:01] Wolfeyes: do you know much about networks: [18:01] ? [18:01] Wolfeyes explain what exactly you need to do [18:01] and what you are using [18:01] like 2 network cards etc [18:01] I do but not so much with ubuntu [18:02] Wolfeyes: what are you trying to do? [18:02] so let me start.... [18:02] same principles [18:03] evening everyone [18:03] hi Cryterion [18:07] ahh thought he had gone a bit still there [18:15] I have a router, which connects to a server, via onboard motherboard, then from the server on the 2nd network card, it must go out to the internal network computers ( about 20) [18:15] sorry about that [18:15] no worries [18:15] There is Arno's iptables and squid on the server to control the network [18:15] I have tried to set the server to static ip and nothing seems to work. Secondly when booting and shutting down I see a warning of eth0 and eth1 does not exist, I thought by trying to rename p3p1 to eth0 that would solve the problem, it doesn't ( found a bug on launchpad which does this) [18:15] it is still p3p1 and p5p1 respectively. [18:16] why are you going through the server to the network? is that the proxy server? [18:16] yes [18:16] what os? [18:16] trusty [18:16] 14.04 [18:16] just server/ [18:17] with a kde display [18:17] server with a kde desktop [18:17] okay, i would ask why the desktop, but lets leave that [18:18] what is the out put of ifconfig? [18:18] or sudo ifconfig [18:19] http://bin.snyman.info/mmm9zd4h [18:20] before I couldn't even see the p5p1, now at least I see that [18:20] but I had to load network manager to get it there which is kind of defeating the object of a server I know but I was trying to do it without help. [18:21] i assume p3p1 is the one connected to the router [18:22] yes [18:23] there are two ways you can make sure the ip address remains the same, you can set it on the computer or you can have the router assign it to the mac address that come with that network adaptor [18:23] i am not sure why they are called p3p1 and p5p1 though [18:24] I think it would be best to asign it to the computer. [18:24] is the server going to control the rest of the network? [18:24] yeah I know, I been battling all day to change it. [18:24] yes [18:24] i normally try to do both [18:24] ah [18:24] makes notes [18:25] let me see what i can find, that way your network stays up even if the router is down [18:26] interesting theory [18:26] that is assuming you have more than one switch etc, also i have had the dhcp onthe router fail [18:27] oh boy I am sure that can create chaos. [18:27] if the ip and dns are set statically then the router is just the gateway [18:27] I had that with one or two clock machines as well. [18:28] if the router know about the address assignment then if that computer is down for some reason then its address does get given out to another [18:28] have you tried the offical documentation? [18:31] ai! internet very slow tonight [18:31] https://help.ubuntu.com/lts/serverguide/network-configuration.html [18:32] hehe he has looked at that one i think and a few more [18:32] and gone again [18:32] murphy is a strong follower of sharpes [18:34] i have the router connecting with 3g and supplying wireless [18:34] and now the lappy using that connection instead of my 3g modem here [18:34] no wonder iftop stopped showing and wwan0 stuff [18:35] ian is really battling with that setup [18:36] i see that you can name the interfaces there, so that might be a place to start [18:36] networking is not easy for newbies [18:36] is the server online [18:36] ? [18:36] yes i think so [18:36] his hassle comes in with using the 2 network cards i think [18:37] okay, so then he just wants the server ip to stay the same [18:37] and those funny name things to stay as eth0 and eth1 [18:37] the bug talks about that [18:38] why? what difference does that make? [18:38] https://bugs.launchpad.net/ubuntu/+source/biosdevname/+bug/1284043 [18:38] something to do with the funny names [18:38] p3p1 and p5p1 [18:40] here is something else http://askubuntu.com/questions/558387/what-is-the-meaning-of-p3p1-p2p1-p1p1-network-device [18:40] Wolfeyes [18:40] router will be 192.168.1.1, server 192.168.2.1 (due to firewall) and the rest of the computers in the 192.168.2.2/30 range [18:41] http://askubuntu.com/questions/558387/what-is-the-meaning-of-p3p1-p2p1-p1p1-network-device [18:41] hi [18:42] hi iqbal [18:42] hi iqbal you winning? [18:42] ;) [18:43] tried to install Google Earth [18:43] ty Kilos, I saw that today about it being p3 slot 3 and p1 port 1 [18:43] the servers ipon the router side should be in the same range as the router as in 192.168.1.x [18:43] ah [18:44] it currently is [18:44] but the setup mentioned up there was for the full install of the firewall [18:44] everything is currently on 192.168.1.1/30 range [18:45] on the other side it does not really matter, in so much as that the server should control it [18:45] I was told the firewall can change the range for better security [18:45] http://www.webupd8.org/2014/04/install-google-earth-in-ubuntu-1404.html [18:46] and that it where I am trying to get to but can't even setup up the straight range magespawn [18:46] is where* [18:46] Wolfeyes you are essentially making two networks [18:46] true [18:46] the second ip address range can be what ever you want [18:47] did you try this https://help.ubuntu.com/lts/serverguide/network-configuration.html ? [18:47] tell me..... does the firewall currently control the ipranges of the network cards? [18:48] goes to look [18:48] no, that is controlled by the network configuration [18:49] the firewall controls the traffic, open ports and direction of traffic [18:50] http://bin.snyman.info/mmm2czer [18:50] the first command doesn't even go through because it isn't looking for p3p1 but eth0 [18:50] if you have two networks you will have to set it so that the one network is aware of the other or the traffic will not travel out to thenet and back again [18:51] change the command remove eth0and insert p3p1 [18:51] currently I am just trying to get a single range network correct. [18:52] http://bin.snyman.info/mmm8d78j [18:53] http://bin.snyman.info/mmmrf256 [18:54] in the Ethernet Interface Logical Names, I had to go create that file, it didn't exist. [18:55] maybe that was the problem, did you install the server then add the desktop? [18:56] http://bin.snyman.info/mmmvcwm9 [18:56] yes [18:57] i have always had problems when doing that,seems to leave things out === Kilos- is now known as Kilos [18:59] I don't feel so alone now :-P [19:00] http://bin.snyman.info/mmmwcu5g [19:00] I must remind you, network-manager is still running though. [19:01] mmmmm only 100Mb's [19:03] the network will run at the speed of the slowest card [19:04] http://bin.snyman.info/mmmyjg5u [19:05] there is only really mails, and one booking website going through the computer [19:06] okay now we back to static ip [19:07] okay, so what did you do? just use p3p1 instead of ethx? [19:08] I am going to remove the network-manager, and change the interfaces file data to static for the p3p1, if I get thrown off , I will be back if it is longer than 30 minutes then I couldn't get back on. [19:08] I have already done this today many times, it didn't work. But lets give it another go. [19:09] good luck [19:09] yeah heapsa luck [19:10] magespawn what did you guys do i missed something [19:11] One thing I can say this was an enjoyable learning curve coming from the koala days when I started. [19:12] Wolfeyes: has been posting all the time, and doing stuff in the background [19:15] Kilos: that bug on launchpad, describes a different problem [19:17] Wolfeyes: eth0 and eth1 are just arbitrary names. p5p1 is just as good. don't try to change it, you'll only cause more headaches for yourself [19:17] ty superfly [19:18] Wolfeyes/Xsm all good? [19:18] superfly: why the diffrence though? [19:18] but the system when shutting down says eth0 and eth1 not configured [19:18] magespawn: different device driver [19:18] ahh [19:18] not sure magespawn [19:18] magespawn: atheros wifi cards used to be called ath0 and ath1 [19:18] I've seen en0 and ar0 too [19:19] it's really arbitrary what they are called, as long as they work and they are unique [19:19] decided by the driver? [19:19] something like that [19:19] http://bin.snyman.info/mmmvdr9d [19:20] right [19:20] magespawn: you know our devices at work? [19:20] the airtime machines/ [19:20] ? [19:20] yes [19:20] I haven't rebooted, I am sure if I do I will not come back :-P [19:20] so the generation 1 devices (the ones you had/have) are /dev/ttyUSBx [19:20] and our new generation 2 devices are /dev/ttyACMx [19:21] different drivers, different device names [19:21] yay ifdown and ifup seemed to work, goes to check ifconfig [19:21] Xsm that will be because the network manager is not working, just a guess [19:22] Xsm: did you install a Desktop ISO without the desktop, or did you actually install the server ISO ? [19:22] it didn't work all day [19:22] server iso superfly [19:22] hrm [19:22] server doesn't come with network manager [19:22] magespawn: ^^ [19:22] where you using eth or p3p1 [19:23] p3p1 [19:23] did install kde afterwards [19:23] starnge then Xsm [19:23] strange too [19:23] Xsm: did you install the "kde-desktop" package? [19:24] Uuuum not sure [19:24] Kilos was helping with that [19:24] kubuntu-desktop [19:24] I think it was just the desktop display [19:24] yeah that [19:25] i tried that once, made a complete stuff up, borked the system nicely [19:25] lol [19:25] http://bin.snyman.info/mmm9gwvt [19:26] i did try more than desktop too, so that might have something to do with it [19:27] http://bin.snyman.info/mmmvmeda [19:27] ^one [19:27] okay going to reboot and see if I can still login [19:28] progress [19:28] sjoe [19:29] why p5p1 not static as well [19:29] not set yet [19:30] magespawn ty for helping him [19:30] not sure that i did [19:30] rubber duck [19:30] heavy jump into giving linux support to a client [19:30] straight into a server install thats not a standard one even [19:31] but he is learning [19:31] is wolfeyes setting this up for someone else? [19:32] its a hotel client of his [19:32] but in the sticks so no adsl even [19:32] i also think that the proxy server does not need to have two network interfaces [19:33] and they want to only allow a few pcs to have full internet access [19:33] the one interface is just to control who can do what on the net [19:33] wb Wolfeyes [19:33] you just have to define the proxy/gateway on the the client computers [19:34] ty [19:34] too involved for me [19:34] http://bin.snyman.info/mmmvg8m3 [19:35] i have everything allow everything to me [19:35] I have to sort the server first :-P [19:35] and I am back to dynamic [19:35] in order to get on the net [19:36] cant you have static ips on the server and pcs and dynamic on the router side [19:36] then there is something that dynamic is giving the static is not [19:37] they should all be static [19:37] perhaps routing information [19:37] brb going to get charger [19:37] easier to control and manage [19:37] te router only allows the server to connect through it not so? [19:37] only on dynamic [19:37] currently [19:37] i forget how to check gateway [19:37] not static [19:37] ill go silent soon, got a meeting [19:38] where you got a meeting kilos? [19:38] #ubuntu-meeting [19:38] 1 guy applying for ubuntu membership [19:39] he is in bangladesh [19:39] and a loco of about 7 peeps [19:40] http://bin.snyman.info/mmm8zr95 <---- current magespawn [19:40] ah okay Kilos [19:40] and im half asleep already [19:41] Wolfeyes: looks the same as when you were on static [19:41] These things happen to us all. [19:42] exactlly [19:42] so I have no clue what I am doing wrong [19:43] brb making a sandwich the worms are whinning [19:44] cool beans [19:45] okay back [19:45] okay then [19:45] so what do you think this could be? [19:46] oh I was still reading that link [19:47] i struggeled with this before, cannot remember what i did to solve it [19:48] * magespawn gives magespawn a swift kick in the backside [19:48] lol [19:48] lol [19:48] i always tell you to keep notes [19:49] okay the only other thing is dns-search and dnc-nameservers [19:49] indeed [19:49] when on static can you ping 8.8.8.8? [19:50] When in doubt as the Fly :-P [19:50] I would if it could connect but it can't even connect to the net [19:50] not that I have tried but konversation can't connect to Irc [19:50] how do measure whether it is connected or not? [19:51] ^you [19:51] you see me login in or not :-P [19:51] no, but if dns is not working it will not find irc.freenode.com [19:51] or google another page searching for info [19:52] exactly [19:52] you can be on line without dns you just need to know ip of the website [19:53] cannot google for pages by name if dns is broken [19:54] I don't know what else to do..... [19:54] I don't trust google [19:54] Many don't lol [19:55] But kilos loves them :-P [19:55] set the dns in your network config file so that the static setup knows which servers to use [19:55] why on earth does the google earth app require heirloom-mailx package [19:55] Noobie here :) [19:56] Have no clue. magespawn you reffering to dns server etc? [19:56] no prob, see magespawn is helping you out :) [19:57] yes that is what translates www.website.com into the ip address on the net [19:57] I am getting there, doing things today I have not dreamed about and getting results so lets see what happens. [19:57] Goes to work [19:57] if you can ping 8.8.8.8 but not www.googl.co.za then we know your static setup does not have correct dns setup [19:58] Just curious magespawn [19:58] s/www.googl.co.za/www.google.co.za [19:58] Wolfeyes: no worries [19:58] http://bin.snyman.info/mmm8zr95 [19:58] look at that please [19:58] bottom left [19:59] 192.168.1.0 [19:59] and 168.254.0.0 [19:59] what is that? [19:59] sorry 169.254.0.0 [20:00] is that not the destination servers on the net being used from the modem in the router? [20:00] 192.168.1.0 refers to all traffic that is not for your network, i think, stand to be corrected on that though [20:01] 169.x.x.x is usually an autoconfig address, not sure about here though [20:03] after searching, looks as though it's a local link address, got something to do with dhcp on the local network to route only internally, will post link in in a moment [20:04] http://serverfault.com/questions/132657/where-route-to-169-254-0-0-comes-from [20:04] Seems to give some explanation in it [20:06] It does mention it could help resolve failed dchp address allocation, which I understand is happening on 1 of your network cards [20:07] ok magespawn [20:07] it looks like I am connected [20:07] so dns? [20:07] but the minute I am sure if I reboot I will not be able to connect again and have to change the inface file again [20:07] lets see [20:08] dhcp also assigns dns [20:08] http://bin.snyman.info/mmm5yeza [20:09] not sure if that is the correct syntax [20:09] hold on a sec [20:10] lol okay [20:10] got it off the link you gave me but I am willing to change it if it will mean it will work :-P [20:11] looking at the info, have you not allocated a static ip that is within the dynamic ip range on the router? [20:12] yes for now I want it to be in the same range [20:12] I just want to get it working first [20:12] good mornings [20:12] then we can look at splitting it up for the firewalls [20:12] hey inetpro [20:13] wolfeyes <-- here [20:13] eh [20:13] how goes it? [20:13] I've never allocated it that way, I've always allocated outside of it, but am not sure what the effect would be if within the range [20:13] Challanging lol [20:14] hi inetpro [20:14] All networks connect immediately if within the same range, as long as they not the same ip as the other one. [20:14] that should not make a difference, it will if the computer is off and the address get assigned to another [20:15] yes, that what I think [20:15] currently only this server is connected to the router [20:15] might not affect now, but may later [20:16] later I will make the router a different range altogether from the internal network [20:16] the server will divide it [20:17] you could assign the address outside dhcp range or assign it from the router via mac address [20:17] more security. [20:17] problem is I am not using the router currently, that is at the client [20:18] yet it connects the same way as my router is currently connected [20:19] What make of network card and motherboard did you have previously when you had problems magespawn? [20:20] Xsm my one system on centos uses the following DNS1=10.0.0.1 [20:20] DNS2=192.168.1.1 [20:20] that is the two routers on my network [20:21] the routers have static dns set to google [20:22] the router dns must be set or I wouldn't be talking to you now lol [20:23] but how to find what is stopping it going through when it is on static is a whole new ball game [20:23] this is the complete setup http://bin.snyman.info/mmm58uvr [20:24] indeed [20:24] What command did you use to get that? [20:25] Xsm as soon as you change it to static and reboot the computer stops taking the dns from the router, and since it is not set in the network config nothing happens [20:25] that is what the ping of 8.8.8.8 and www.google.co.za will show [20:26] vim /etc/sysconfig/network-scripts/ifcfg-eth0 [20:26] this is on centos though there may be differences [20:27] There was a website today that had that file [20:28] and I searched for the directory of sysconfig [20:28] nothing there [20:28] centos is based on redhat not debian like ubuntu [20:29] http://bin.snyman.info/mmmvupv9 [20:29] i must say you have kept me intrigued, i have forgotten abouttwo cups of coffee [20:29] yet there was an ubuntu site looking for that file [20:29] ha ha ha ha [20:29] lol [20:30] I have given up on coffee and tea [20:30] and trying to keep water intake of ph 7 and higher [20:31] okay well let me reboot [20:31] brb [20:32] systemd/ has taken over most of that functionality i think [20:32] well I am back [20:33] okay, working? [20:33] can't remember if I uninstalled the network manager again [20:33] let me check [20:35] maybe that was all it needed - ty magespawn [20:35] if it works - pleasure [20:36] cool fun [20:36] it is yes [20:36] I love networking. [20:37] Was very sad they stopped the one deal in on eof the mines that would have been an awesome project. [20:37] brb just trying again lol [20:39] Nice- now I have to setup the other network card and see if the other computer links to it. [20:41] the network settings will have to passed through or set up for the internal network too [20:42] there is where when I spoke to the other guys a few weeks back, the two cards could be different ranges and the firewall would link them [20:43] that will control the traffic between the two [20:43] this i have not done before on a computer [20:44] http://bin.snyman.info/mmmjq69v [20:44] i have setup a mikrotik router to do a similar setup [20:44] interesting [20:44] okay lets see if I get kicked off again [20:45] read in an article today the second card gets the gateway etc from the first card and when you put it in it affects boot up time. [20:45] brb [20:46] sjoe [20:50] sjoe [20:50] thats getting like windows [20:51] whats happening Xsm [20:51] http://bin.snyman.info/mmm5e74k [20:51] are you getting somewhere at least [20:51] slowly thanks to magespawn [20:52] it would have taken me forever [20:52] this feels like forever [20:52] where is says not configured I put it not to look for the gateway and dns [20:52] my head keeps toppling over [20:53] upon changing it, it gave the "Failed to bring up p5p1." [20:53] You finished with the meeting kilos? [20:53] yip [20:53] poor guy failed [20:54] eish [20:54] Xsm a problem for tomorrow, my bed is screaming my name [20:54] sorry bro [20:54] ty you very much for your help magespawn [20:54] have a good night sleep [20:54] no worries, i will online tomorrow most of the day [20:55] cool ty [20:55] see you then [20:55] pleasure, been good to help instead of just watch [20:55] night magespawn ty [20:55] night everyone and have a good evening [20:55] good night all [20:55] night boy [20:55] lol @ that [20:55] sleep tight [20:55] night dad [20:55] night all. sleep tight [20:56] superfly bed time [20:56] but ooom! [20:56] lol [20:56] you needyour beauty sleep [22:36] fp [22:36] good night