/srv/irclogs.ubuntu.com/2015/10/04/#ubuntu-server.txt

CyborgCygnusOn 14.04.3 how do I change the software sources mirror to an Australian one? Surely there's a way to view the available mirrors from the terminal & then set it?00:00
tewardCyborgCygnus: /etc/apt/sources.list00:02
tewardedit the URLs in there to point to an Australian mirror00:02
CyborgCygnusteward, okay kind of helps, not sure how to add the one I want however :S00:08
tewarddo you know which one you want?00:09
teward(the problem is there's several official mirrors but then many unofficial ones)00:09
tewardand I suck with country codes so I couldn't begin to fathom the mirror you should use for Australia00:09
teward(in theory, http://au.archive.ubuntu.com/ may work)00:10
tewardCyborgCygnus: unfortunately, as far as I know, there's no way to just 'select' mirrors unfortunately, via the terminal...00:11
CyborgCygnusteward, yeah would be nice to see a list but I guess tough for me. http://mirror.aarnet.edu.au/pub/ubuntu/releases/trusty/, hand tryping that in multiple times is a pain00:12
tewardCyborgCygnus: sed is your friend ;)00:12
teward(IMO)00:12
CyborgCygnusteward, what's sed lol?00:12
teward!sed00:13
ubottuThe linux terminal or command-line interface is very powerful. Open a terminal via Applications -> Accessories -> Terminal (Gnome), K-menu -> System -> Konsole (KDE), or Menu -> Accessories -> LXTerminal (LXDE). Guide: https://help.ubuntu.com/community/UsingTheTerminal00:13
tewardbah00:13
tewardyou evil ubottu00:13
tewardlets you find/replace items easier :P00:13
CyborgCygnusteward, oookaay, I'll look on that link & see what it tells me, thanks00:14
tewardCyborgCygnus: ignore it, the problem is that sed is hard to explain from my perspective00:14
tewardgiven i'm also realllly tired :/00:14
CyborgCygnusteward, go to bed mate00:15
tewardabout to00:16
tewardafter i finish uploading some packages to a personal debian repository server :P00:16
CyborgCygnusteward, you're so cheeky00:16
=== ObrienDave2 is now known as ObrienDave
jvwjgamesHi again05:24
jvwjgamesMy internet on my Server went down again >:(05:25
tonyyarussoYou should be more careful if you're hosting the entire Internet on your server.05:25
arooniis leaving password auth over on a stupid idea ?  or an ok idea?  i know obviously removing password logins over ssh is better than not doing it.06:52
arooniover ssh i mean06:53
andolarooni: The short answer is (obviously) that it depends. As everything related to security it's a tradeoff, depends on whatever meassures you have in place, etc.06:54
aroonimy ssh port isnt standard and i have fail2ban and a ufw firewall... but my password isnt very strong06:54
aroonii cant see why id want to allow password ssh logins06:54
arooniand obviously no root login06:55
andolarooni: If you can't see why you would want it, then you don't need it, and then you should obviosly remove the ability to ssh-login by way of password.06:55
aroonii usually connect from the same machines06:55
aroonior if i need to connect from a different one; i can always drop a ssh key in auth'd keys06:56
arooniif it becomes annoying; i can always loosen up security;  better to be safe than sorry06:56
andolThe tradeoffs becomes more complicated in a larger multiuser environment, if you haven't gotten around to a good method of keeping ssh keys in sync, etc.06:56
aroonii'm just a solo developer right now06:56
arooniso its not an issue;  if one of my apps/products takes off it'll be a nice problem to have06:57
andolYeah, then it's an easy choice, just disable password auth.06:57
arooniok i will thanks06:57
aroonialso; ive enabled unattended security updates... does it make sense to have ubuntu do regular software updates unattended as well?06:57
andolarooni: Again, it's a tradeoff. It saves you a bit of work, while potentially increasing the risk of automatic upgrades a bit.07:00
andolYou could really go either way on that one.07:00
aroonii just always forget to do it07:02
=== CiPi is now known as cipi
andolarooni: One decided factor could be whatever you have any extra repository/ppas added. The regular Ubuntu repositories are fairly stable, where also the non-security upgrades being fairly conservative. If you on the other hand have a bunch of 3rd party repositoies added they might be intorducing larger chages, and hence increasing the risk.07:03
=== Lcawte|Away is now known as Lcawte
m1dnightHello guys. I have just installed ubuntu server 14 and Im having locale issues. I have googled a lot and found a lot of solutions but as usual im unsure if all these solutions are "good" (i.e., not hacks)14:27
m1dnightLet me show you the error and what I have done so far. sec.14:27
m1dnighthttp://pastebin.com/QmGywE0D14:28
m1dnightThis is the error.14:28
m1dnighthttp://pastebin.com/Z8LWHU3i That is the output of `locale`14:28
m1dnightand wat I have done so far is `sudo locale-gen "en_US.UTF-8"` followed by `dpkg-reconfigure locales`14:30
m1dnightwhat am I missing here?14:30
virtuapostam1dnight, sudo update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-814:35
virtuapostasee if that helps14:35
m1dnighthmm still the same error.14:35
m1dnightI know I fixed it before :<14:35
m1dnight(on a different installation, that is)14:36
m1dnightis it okay to modify the /etc/default/locale?14:36
m1dnightThose solutions seem like hacks because Im unsure if its "the way to do it"14:36
virtuapostabackup and modify14:36
m1dnightoh it seems to be fixed14:39
m1dnightI did a reboot (which would be a login, I guesS)14:39
m1dnightnow the question is, what did I do :p14:39
virtuapostaif locale is edited then for sure that fixed it.. otherwise good to think about :)14:40
xubuntu20whello, server lost network connectivity after update. Intranet and internet. Looked at network configuration and everything is set up as it should be. Has anyone encountered this problem or have a clue how to solve this? Thank You.15:36
dorkmaybe, ask your question i'm sure someone can help15:42
dorkwoops, wrong channel15:42
dorkxubuntu20w: can you ping any other endpoints?15:43
dorknetwork interfaces showing they're bound to the right ip/subnet?15:43
xubuntu20wdork: guy who set up server made one entry, from provider modem, and one exit point, to switch. Both are correctly configured yet not even intranet is working. Dhcp is correctly assigning everything15:50
xubuntu20wi can ping every assigned ip addresses15:51
xubuntu20wdork: also, switch is not an issue because telephony works just fine, one that is connected through swithc15:54
dorkis the ubuntu server the router too?15:55
dorkrouter/dhcp server?15:55
dorkping the router make sure you can talk to whatever is routing for the local/public intefaces15:56
xubuntu20wreally dont know, it may be. It has autoassign turned on in network config15:56
xubuntu20wwill try jsec15:57
dorktype route -n15:57
dorkfind the route that say 0.0.0.015:57
dorkping the gateway for that15:57
dorkit's called the default route15:57
dorkmake sure you can talk to the router15:57
xubuntu20wdork: pinged incoming ip address with no loss16:01
dorkcan you ping other local hosts like printers/workstations16:02
dorkstuff on the intranet16:02
dorkcan you ping 8.8.8.816:02
dork?16:03
xubuntu20wdork: tried route -n and 169.254.x.x address too is there which is unreachable. 8.8.8.8 is also unreachable16:06
dorksounds like you can not talk to the router16:07
dorkmaybe old network information?16:07
dorkit happened after the reboot?16:07
xubuntu20wyes immediately after updates. It was working fine up to that point16:07
dorkvpn missing?16:08
xubuntu20wAs far as I know, no vpns were set up.16:08
dorkif you can not ping the default gateway you can't route packets16:09
dorkunless it's a direct route16:09
xubuntu20wWait. I did have to use vpn to connect to server remotely16:09
dorkvpn or sshd?16:09
xubuntu20wopenvpn to be precise16:10
dorkintranet might require vpn client16:10
dorkto be started16:10
xubuntu20wlocally it worked without vpn, just when i had to connect from home16:10
m1dnight_Guys, I have some samba server log cruft upon login (sometimes). Aain, I know I fixed it before by disabling some auth method in a purple terminal window but im unsure what it was again.16:49
m1dnight_http://pastebin.com/MdnU2GUb16:50
m1dnight_This is the output i see when I log in16:50
m1dnight_something about libpam or such? I had to uncheck one thing that would make it go away.16:50
m1dnight_Hmm, to be more exact, its when I change to root user.16:54
m1dnight_hmmm anyone about the samba thing? I got d/cd18:35
=== spicypixel_ is now known as spicypixel
=== popey_ is now known as popey
=== swagnemite is now known as xxX_swagnemite42
=== xxX_swagnemite42 is now known as xXswagnemite420X
=== xXswagnemite420X is now known as cz2
xubuntu98wHi, last update messed up my network configuration. DHCP assignation doesnt work as it should and entire network intra and inter not working as consequence. Has someone had this problem or know how to handle this, untangle serves as dhcp server20:23
lordievaderxubuntu98w: Set a static ip then fix your dhcp issues.20:53
xubuntu98wlordievader: where do set static ip?20:56
=== Lcawte is now known as Lcawte|Away
lordievaderxubuntu98w: https://help.ubuntu.com/lts/serverguide/network-configuration.html#ip-addressing20:57
TJ-What the heck is untangle? I don't see it in the package list20:57
xubuntu98wTJ: firewall21:00
lordievaderFirewalls do DHCP nowadays?21:01
lordievaderxubuntu98w: This thing http://www.untangle.com/untangle-ng-firewall/appliances/ ?21:02
xubuntu98wlordievader: will this work, found it as answer on forum interface should be changed to this: auto eth0 iface eth0 inet static     post-up ethtool -s $IFACE speed 100 duplex full autoneg off     address x.x.x.x #Internal IP     netmask 255.255.255.0     gateway x.x.x.y #Gateway IP     dns-nameservers 8.8.8.8 #Google DNS21:02
TJ-xubuntu98w: First thing to do is consult the syslog to discover *why* DHCP client isn't obtaining a lease21:02
lordievader^ is likely a better idea, yeah.21:03
=== kees_ is now known as kees
xubuntu98wtj- & lordievader: lots of unmanaged devices in the syslog21:11
xubuntu98whey are forced into connected state21:12
xubuntu98wthey21:12
TJ-Well that made absolutely zero sense!21:18
=== tanuki_ is now known as tanuki

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