/srv/irclogs.ubuntu.com/2014/09/22/#ubuntu-za.txt

bduk1Morning everyone05:44
Squirmmorning05:53
theblazehenHi Squirm bduk1 05:55
Squirm'lo Kilos 06:23
Kilosmorning Squirm  inetpro  and others i dont yet see as online06:23
Kiloskonversation takes its time checking06:24
theblazehenHi Kilos 06:24
Kiloshi theblazehen  06:25
Kiloslol maybe im getting there now, got this pc to ping the server last night06:25
Kilosusing direct cable. no crossover and no added eth card06:26
Kilosmaybe this new m/board does it automatically06:26
theblazehenGreat!06:26
Kilosweird hey06:27
Kilosi went to the game but you were asleep already06:27
theblazehenyeah06:59
theblazehennice game06:59
* theblazehen is in computer class now :)07:00
Kilosenjoy and concentrate07:01
Kilosthey might be able to teach you something07:01
Kilosno playing on fone07:01
theblazehenyeah, just on PC ;)07:01
theblazehenlol, gtg. next class07:02
theblazehenbesides I won't be using office much anyway07:02
Kilosya but you might need to help others so concentrate07:02
theblazehenYeah07:04
theblazehenYay 3g07:04
Kiloshehe07:05
theblazehenSignal at school sucks07:05
* Kilos cries07:06
Kiloshttp://mybroadband.co.za/news/adsl/110302-r1-per-gb-adsl-products-launched.html07:06
Kiloshi ThatGraemeGuy  07:07
Kilosand nlsthzn  and nuvolari_  07:07
Kilosai!07:10
Kiloshttp://mybroadband.co.za/news/security/110316-mass-hacking-of-south-african-websites.html07:11
Kiloshi Spekko  StonedAlchemist  07:43
SpekkoMore more Kilos07:52
* Squirm looks around07:56
* Squirm then goes to find some decent coffee07:56
Kilosooo yay can ping 8.8.8.8 from my server using direct cable and dnsmasg08:06
Kiloshi jrgns  08:08
jrgnshey Kilos08:12
Squirmdnsmasq is a dns server/forwarder08:16
Squirmtry and ping www.google.co.za08:17
Squirmat least afaik08:17
Squirm:P08:17
Kilosisnt 8.8.8.8 google08:20
Squirmyes, but I don't think dnsmasq will have anything to do with you being able to ping 8.8.8.8 08:21
Kilosi need to forward because the server pc must share this 3g connection08:21
Squirmyes you do08:21
Squirmtry and ping www.google.co.za08:21
Squirmor any actualy website address :)08:21
Kilosi cant even ping 8.8.8.8 anymore08:21
Kilosdone something wrong again08:22
Kilossigh08:22
Kilosisnt dnsmasq involved in this command08:23
Kilosiptables -t nat -A POSTROUTING -o ppp+ -j MASQUERADE08:23
Squirm:P08:23
Squirmno08:23
Kilosoh ok08:23
Squirmdnsmasq will be responsible for taking a website address and turning it into an IP address08:24
Kilosoh08:24
theblazehenKilos: you mean ppp0?08:25
Squirmmasquerade, afaik. takes your internal IP address and turns it into the IP address of your 3G connection08:25
Squirmso it'll give your eth0 IP address of your server, the IP address of your ppp+ on your PC with the 3G dongle08:26
Kilosoh well i dont mind what does what as long as i can get the server online08:26
theblazehenYeah it does that08:26
theblazehenKilos said PPP+08:27
Kilosim actually using this command08:27
Kilosiptables -t nat -A POSTROUTING -o wwan+ -j MASQUERADE08:27
Squirmsame thing :)08:27
Squirmjust a different name08:27
theblazehenOoh... 08:27
Kilosya i dunno why the dlink modem shows as wwan0 not ppp008:27
Squirmit's alright08:28
Squirmmaybe an update08:28
Squirmor a different version, they just changed the naming of the 3G dongles08:28
Kilosjust to make things more difficult for me?08:28
Kiloshehe08:28
Squirm:P08:28
Squirmlike I said, just a name08:29
Squirmand you figured it out08:29
Kilosi struggled to get iftop workong08:29
Kilosworking08:29
Kiloslemme try get it to ping www.google.co.za then ill come back to you08:30
Squirmfirst, you do want to be able to ping 8.8.8.808:31
Squirmthen when that works, you want to be able to ping www.google.co.za08:31
theblazehenOr try nslookup Google.com08:33
Kilosit can ping 8.8.8.8 but not www.google.co.za08:33
theblazehenKilos: nslookup?08:33
SquirmKilos: on your server, what have you set the dns server to?08:34
Kilosnope connection timed out08:34
Kilos192.168.1.208:34
Squirmwhich is? 08:34
Squirmthe PC with the 3G?08:35
Kilos192.168.1.5008:35
Kilosserver is the first ip08:35
Squirmyour DNS server must be the computer with your 3G dongle08:35
Kilosya08:35
Kilosnslookup times out08:36
Kilosbut 8.8.8.8 pings lekker fast08:36
Kilosit wont let me ssh in08:37
Squirmusing the IP address?08:37
Kilosthen i can do things from here08:37
Squirmoh08:37
Squirm:P08:37
Kilosit says ssh connection refused and i dunno  how to turn off the firewall08:38
Squirmservice ufw stop08:38
Squirmor08:38
Squirmis ssh running?08:38
Squirmservice ssh start08:38
* Squirm shrugs08:39
Kilosi tried to ssh from here and got the refused thing08:39
Kiloslemme try that08:39
Squirmon the server you're connecting to though08:39
Kilosssh: unrecognised service08:39
Kilosdo i need to install ssh08:40
Squirmyou need to install the ssh server08:40
Squirmif it hasn't been installed08:40
Kiloson this pc or the server pc08:41
Squirmaptitude install openssh-server08:41
Squirmon the server pc08:41
Kiloslets call them pc1 and pc208:41
Squirmthe one your're trying to connect to08:41
Kilosok sec08:41
theblazehenSquirm: apt uses DNS for mirrors?08:43
Squirmbut he might already have it installed and just needs to be started08:43
theblazehenYeah..08:43
theblazehenSquirm: maybe we should " echo nameserver 8.8.8.8 > /etc/resolv.conf" ?08:44
theblazehenOn server08:44
Kilosnope ssh is an unknown service08:45
Squirmproblem is debian and their configuration files :/ as soon as you restart networking it'll probably be overwritten.08:45
Kilosand i cant sudo apt-get update08:45
SquirmKilos: sshd?08:45
theblazehenSquirm: just for temporary08:45
Squirmno08:45
Squirmit is ssh08:45
Squirmmeh08:45
Kilospackage openssh-server has no installation candidate08:47
Kilossigh08:47
SquirmKilos: try change your dns server on your server to 8.8.8.808:47
Kilossjoe08:48
Kiloshow08:48
theblazehenKilos: check what I posted a bit up08:48
theblazehenWill be reset on boot though08:49
Kilosah08:49
Kiloswhen im running between pcs i miss things08:49
Kilossorry08:49
theblazehenGoing to sucky signal, may go afk08:49
theblazehenUsing a bouncer, so won't actually go offline08:50
Kilosit showed nameserver 8.8.8.8 but i still cant apt-get update08:52
Kilosgrrr08:52
Kilosnow it cant ping 8.8.8.8 anymore08:55
theblazehenKilos: "echo nameserver 8.8.8.8 > /etc/resolv.conf"08:55
Kilosoh lemme do that ty08:55
theblazehentraceroute 8.8.8.8 after that08:57
Kiloseish i need to install traceroute but it cant find the package09:00
Kilosneeds update but dunno how we gonna accomplish that09:01
theblazehenCan you ping Google now09:06
Kilosnope09:09
theblazehenAnd 8.8.8.8?09:10
Kilosya that works lekker09:11
theblazehenWhen you try Google does it show a IP?09:11
Kilosnope just shows unknown host www.google.co.za09:12
theblazehenHmm.. And /etc/resolv.conf has "nameserver 8.8.8.8" in it? 09:13
SquirmKilos: do you have dnsmasq installed on your current PC?09:14
Squirmthe one with the 3G09:14
Kilosi ran your command and it said nameserver 8.8.8.809:14
Kilosyessir\09:14
Squirmand from this PC. if you do a nslookup google.com09:16
Squirmit should spit out some stuff09:16
Squirmbut the first two lines, paste those for me please09:16
theblazehenKilos "cat /etc/resolv.conf" has  nameserver 8.8.8.8m09:16
Squirmor the first, "Server: blah blah"09:16
KilosServer:         127.0.0.109:17
KilosAddress:        127.0.0.1#5309:17
Kiloseish that 127 thing again09:17
Squirmok, so dnsmasq is running locally09:17
Squirmthat's good09:17
theblazehenEish..09:17
* ThatGraemeGuy has a strong sense of deja vu... o_O09:18
SquirmI know ThatGraemeGuy 09:18
Squirmok09:18
SquirmKilos: 09:18
Kilosyes Squirm  09:18
theblazehenThatGraemeGuy: haha09:18
Squirmon your OC09:18
SquirmPC09:18
Squirmedit /etc/dnsmasq.cong09:18
Squirmedit /etc/dnsmasq.conf09:18
theblazehenLol, lag to bouncer is 5 seconds here :(09:18
Squirmhmm, seems to not exist on my PC09:19
theblazehenUp to 24 now...09:19
Squirmand the firewall on your PC accepts port 53?09:19
theblazehenThat's seconds. 24 seconds09:19
SquirmxChat says I'm sitting at .4s09:20
ThatGraemeGuydnsmasq is tightly interwoven with NetworkManager09:20
KilosServer:         127.0.0.109:20
KilosAddress:        127.0.0.1#5309:20
Kilossorry09:20
SquirmThatGraemeGuy: so, he has access to the internet. ping works. it's just to get his dns working now...09:20
SquirmKilos: I hope you're keeping note of everything that works09:20
ThatGraemeGuyi'm staying out of it09:21
KilosAddress:        127.0.0.1#5309:21
Kiloswhat editing must i do09:21
theblazehenThatGraemeGuy: good idea...09:21
SquirmUncomment the line and specify which ethernet interface(s) you want it server IPs to. For example, if I want it to listen on eth1 (my DMZ) and eth2 (my local network), then it should look like:09:21
Squirminterface=eth109:21
Squirminterface=eth209:21
Squirmgoogle ftw09:22
* theblazehen is at 63% packet loss...09:22
Squirmso probably09:22
Squirmuncomment the line that says interface=eth009:22
Squirmthis is kind of new to me09:22
* Squirm shrugs09:22
SquirmKilos: without access, I'm pretty stuck09:22
Squirmhmm09:22
SquirmI also need to run now09:22
* Squirm leaves Kilos to ThatGraemeGuy and theblazehen 09:23
Squirm;)09:23
theblazehenSquirm: :(09:23
Kilos /etc/dnsmasq.cong shows Address:        127.0.0.1#5309:23
ThatGraemeGuynope, i'm apparently not helpful enough and impatient and rude so i'll stay out of it09:23
Kilosnothing else09:23
Kiloslol @ ThatGraemeGuy  09:24
Kilosi battle man09:24
theblazehenKilos: you can ssh pc1 -> pc2?09:24
Kilosi cant do stuff fast like you guys09:24
Kilosno i cant ssh09:24
theblazehenOK. But you can ping?09:25
Kilosyes09:25
theblazehenAh, nat...09:25
theblazehenOr wait..09:25
ThatGraemeGuyKilos: i know, but i don't feel like another round of being treated like a toddler by someone who barely spends any time here, so i'll just stfu and everybody stays happy :)09:25
Kilosok09:26
theblazehenThatGraemeGuy: who's that you referring to?09:26
Kilosme09:26
theblazehenKilos: you spend lots of time here...09:27
ThatGraemeGuyno, i got lectured a while ago, summary of "if you aren't going to be helpful to people regardless of skill level then perhaps leave the helping to others"09:27
Kilosno man he says i treat him like a toddler who doesnt spen time here09:27
theblazehenThatGraemeGuy: ah...09:27
Kilosand i apologised too at the time09:28
ThatGraemeGuyi'm not even talking about you o_O09:28
ThatGraemeGuyheh09:28
ThatGraemeGuymaybe i really should STFU09:29
Kilosno man help09:29
Kiloshehe09:29
Kiloskeeps your day interesting09:29
theblazehenKilos: tried #ubuntu?09:29
Kilosi cant keep up there09:30
theblazehenKilos: forum?09:30
Kilosnope they dont understand either09:30
Kilosbut ive googled lots and the info i have saved worked on old ubuntus but not on 14.0409:31
theblazehenThatGraemeGuy: http://i.imgur.com/28l8teD.jpg lol. From #reddit-sysadmin09:37
Kilosw00000t09:54
Kilosits working09:54
Kiloscan ssh to the server too, ty guys09:58
theblazehenKilos: nice! Everything working?10:01
Kilosyeah im so happy ty10:01
Kilosi just scrolled back here and redid everything so not sure what actually helped but have saved the whole days chat from here to a file10:02
Kilosnow if this drive crashes we start all over10:02
Kiloshehe10:02
Kilosty ThatGraemeGuy  you are also included10:02
Kilosand Squirm  10:03
Kilosnow i can go pick meds10:03
Kiloshi gremble  10:16
grembleHello kilos10:21
theblazehenhi gremble10:23
* Squirm looks around10:34
Kiloshehe10:35
* Squirm yawns10:35
Kilossjoe day still long lad10:36
Kilosnot yawning time yet10:37
grembleHey theblazehen 10:38
ThatGraemeGuytheblazehen: they should use quadruple-ROT13 instead of base64_encode, silly amateurs11:02
theblazehenThatGraemeGuy: yeah! And maybe also convert from ASCII to EBCDIC11:08
grembleQuadruple-ROT13 is overkill.  You really only need ROT26 to be secure.11:09
theblazehengremble: double rot26? Lol11:09
grembleROT26! (! is for factorials)11:11
grembleIm typing up my very first latex document. I have no idea what Im doing11:12
theblazehenRot 4.032915e26 ? Ok then...11:14
grembleLol11:18
Kiloshmm...17:30
inetproMaaz: hmm17:39
Maazhmm... is often used to try make others believe one is actually thinking17:39
inetprois he?17:39
Kiloshahaha17:39
Kilosnaand boetie17:39
inetprogood evening17:40
Kilosya man im thinking of what to do with a running server17:40
Kiloswanna work out how to connect to it from outside as well17:40
Kilosthe 3g thing is the bugbear17:41
Kiloswill maybe even try teamviewer on it17:42
inetproai!17:42
Kiloslol17:42
grembleHave you tried catching it?17:44
Kiloscatching?17:44
Kilosthis be a yucky keyboard17:45
grembleYes. If your server is running you aught to catch it I suppose17:45
grembleBefore it gets away17:45
Kiloshahaha17:45
Kilosits tied down17:45
Kiloshi bushtech  hoe gaan dit daar17:50
bushtechKilos: goed, nou net by die huis gekom. Hoe lyk dit jou kant?18:05
Kilosgoed dankie18:05
Kiloshi ThatGraemeGuy  18:19
ThatGraemeGuy'lo18:37
theblazehenHi Kilos ThatGraemeGuy and all18:53
Kiloshi theblazehen  18:53
theblazehenwas at school for 13 hours today...19:01
Kilossjoe19:01
Kilosoh theblazehen  echo nameserver 8.8.8.8 > /etc/resolv.conf is what allowed it to ping www.google.com19:04
theblazehenKilos: yeah, thought so19:04
theblazehenneed to do it every boot19:04
Kilosi rebooted it and had to do that again19:04
Kilosya i added it to what i need to do on reboots19:05
Kilosty19:05
theblazehenNew hardware come in today L)19:21
Kiloswhat?19:21
theblazeheni7-4790K, 64 GB SSD, mouse with 7 buttons19:23
Kilosmy new harddrive is coming tomorrow19:23
theblazehenKilos: nice, how big?19:23
Kilossjoe19:23
Kilos1TB19:23
Kilos2TB too expensive still19:24
theblazehenah19:24
Kilosthen i can do data recovery on my 500G drive that crashed and hopefully save most of what i lost19:25
Kiloscant do it from an 80G there aint place to save stuff19:26
Kiloshehe19:26
Kilosi actually enjoy doing testdisk foremost and scalpel even though its very time consuming19:27
Kilosevening superfly  20:39
Kilosserver updated/upgraded21:15
Kilosnight all. sleep tight21:15

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