=== cipi is now known as CiPi === markthomas is now known as markthomas|away === KD7JWC is now known as kd7jwc === tanuki_ is now known as tanuki === neurotus is now known as krsna === Lcawte|Away is now known as Lcawte === CiPi is now known as cipi === cipi is now known as CiPi [08:57] Good morning. [10:45] hello [10:45] I upgraded trusty to vivid and since then dhcp is no longer working correctly [10:45] i'm not sure if it is a problem of the server or the client [10:45] haison ;) [10:46] bekks, :) [10:46] the clients no longer set the default route [11:00] as long as the server sends rfc3442-classless-static-routes, the clients set no default route [11:04] could someone please help me, i'm attempting to install sysv-rc-conf onto my ubuntu server 14.04 32 bit and the message i get is package sysv-rc-conf is not available [11:05] i am able to ping good via url so the server is connected to the internet [11:05] google* [11:05] Tyreal12: what does "apt-cache policy sysv-rc-conf" report? [11:06] installed none , candidate non [11:06] none* [11:06] Tyreal12: Please pastebin the entire output of that command [11:10] sysv-rc-conf : [11:10] Installed: (none) [11:10] Candidate: (none) [11:10] Version table: [11:10] is that what you mean? [11:12] I found the reason: "If the DHCP server returns both a Classless Static Routes option and a Router option, the DHCP client MUST ignore the Router option." [11:12] this restriction is old, but most dhcp clients did not follow it [11:13] Tyreal12: If there are no versions listed that means you didn't correctly install Ubuntu, and there is no valid "/etc/apt/sources.list" [11:14] you're right, hmmmm i guess i shall attempt to reinstall again === Tm_Tr is now known as Guest83949 [11:34] when installing ubuntu server 14.04 do i just want the OpenSSH server? [11:35] who knows what you want Tyreal12? :/ [11:35] you might want LAMP etc... [11:35] all up to you [11:35] u can start with openssh and install others later on manually [11:38] ok cool, that was the question i should've asked [11:38] i went away and thought about it and it was a bit of a silly question [12:05] i would just like to say thankyou for all of your help i have it set up with lamp [12:06] is it possible to install a gui to the ubuntu server 14.04 if so could someone suggest one [12:07] Tyreal12: It's possible but not frequently done. [12:07] Tyreal12: Is that a server on the internet? [12:07] may i ask why [12:07] it is connected to the internet yes [12:07] Tyreal12 sudo apt-get install ubuntu-desktop.... but.... can't recommend it [12:07] Tyreal12: Is it located at your home? [12:07] Tyreal12: Because servers are generally headless. thus the gui would rarely be seen. [12:08] aaahk fair enough [12:08] i was wanting to set up a gui and be able to remote access it [12:08] Tyreal12: Is it located at your home? [12:08] ssh all the way [12:09] yes bekks [12:09] Tyreal12: So just install a desktop environment, and use something like freenx [12:12] i'm getting dependency errors [12:12] Tyreal12: Could you pastebin those? [12:14] i'm not entirely sure on what you mean by pastebin [12:14] !pastebin [12:14] For posting multi-line texts into the channel, please use http://paste.ubuntu.com | To post !screenshots use http://imgur.com/ !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic. [12:20] reading package lists.... done [12:20] building dependency tree [12:20] reading state information... done [12:20] some packages could not be installed. this may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packes have not yet been created or been moved out of incoming. [12:20] the following information may help to resolve the situation: [12:20] ubuntu-desktop : depends: eog but it is not going to be installed [12:20] depends: gedit but it is not going to be installed [12:20] depends: language-selector-gnome but it is not going to be installed [12:20] depends:lightdm [12:20] and it goes on more [12:21] did yand at the end it says unable to correct problems, you have help broken packages [12:24] That is why I asked you to pastebin the output, prevents spamming the channel. (You could install pastebinit for that). [12:25] Tyreal12: Can you install lightdm? [12:27] no i can't [12:28] that is miss libglib2.0-bin [12:29] Tyreal12: Check if that package is available. [12:30] fixed it and its installing now [12:30] Tyreal12: All the problems you're having with these installs suggests there is some much larger problem - none of these issues should or do normally happen [12:30] so will i be able to have the server as an ftp as well as be able to remote access it [12:31] your' [12:31] you're right there, however i'm slowly fixing them TJ however i really do appreciate all of your help [12:33] Tyreal12: You are running Trusty right? How does your /etc/apt/sources.list look like? (Pastebin ;) ) [12:33] i do believe i am, i shall check once lightdm finishes installing [12:34] Tyreal12: I'm wondering if the install media is faulty; the previous install there was no sources.list and no DNS resolution [12:35] Err, wut? That doesn't sound right indeed. [12:35] lordievader: Right, it was very weird. [12:36] yep all trusty [12:38] Tyreal12: Now I'd like to see your sources.list [12:39] Tyreal12: does the PC have full internet connectivity with DNS now? [12:39] it does tj [12:39] i can access the lamp via its domain [12:40] lord that might take be a bit to type [12:40] Tyreal12: Hence the pastebin utility: cat /etc/apt/sources.list | pastebinit [12:40] Tyreal12: If you can "sudo apt-get install pastebinit" that command can send text to a pastebin automatically [12:43] yeah i'm seriously thinking i have a bad disc [12:43] everything i [12:43] download is coming up with errors in it [12:43] Tyreal12: if you cannot install pastebinit due to system problems, you can do it manually with "cat /etc/apt/sources.list | nc termbin.com 9999" [12:44] Tyreal12: I think your network gateway is wrongly configured, or there is some HTTP proxy / MITM [12:45] # [12:45] # deb cdrom:[Ubuntu-Server 14.04.3 LTS _Trusty Tahr_ - Beta i386 (20150805)]/ trusty main restricted [12:45] #deb cdrom:[Ubuntu-Server 14.04.3 LTS _Trusty Tahr_ - Beta i386 (20150805)]/ trusty main restricted [12:45] # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to [12:45] # newer versions of the distribution. [12:45] deb http://au.archive.ubuntu.com/ubuntu/ trusty main restricted [12:45] deb-src http://au.archive.ubuntu.com/ubuntu/ trusty main restricted [12:45] ## Major bug fix updates produced after the final release of the [12:45] ## distribution. [12:45] deb http://au.archive.ubuntu.com/ubuntu/ trusty-updates main restricted [12:45] deb-src http://au.archive.ubuntu.com/ubuntu/ trusty-updates main restricted [12:45] ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu [12:45] ## team. Also, please note that software in universe WILL NOT receive any [12:45] ## review or updates from the Ubuntu security team. [12:45] deb http://au.archive.ubuntu.com/ubuntu/ trusty universe [12:45] deb-src http://au.archive.ubuntu.com/ubuntu/ trusty universe [12:45] deb http://au.archive.ubuntu.com/ubuntu/ trusty-updates universe [12:45] deb-src http://au.archive.ubuntu.com/ubuntu/ trusty-updates universe [12:45] ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu [12:45] ## team, and may not be under a free licence. Please satisfy yourself as to [12:45] ## your rights to use the software. Also, please note that software in [12:45] ## multiverse WILL NOT receive any review or updates from the Ubuntu [12:45] ## security team. [12:45] deb http://au.archive.ubuntu.com/ubuntu/ trusty multiverse [12:45] deb-src http://au.archive.ubuntu.com/ubuntu/ trusty multiverse [12:45] deb http://au.archive.ubuntu.com/ubuntu/ trusty-updates multiverse [12:46] deb-src http://au.archive.ubuntu.com/ubuntu/ trusty-updates multiverse [12:46] ## N.B. software from this repository may not have been tested as [12:46] ## extensively as that contained in the main release, although it includes [12:46] ## newer versions of some applications which may provide useful features. [12:46] ## Also, please note that software in backports WILL NOT receive any review [12:46] ## or updates from the Ubuntu security team. [12:46] deb http://au.archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse [12:46] deb-src http://au.archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse [12:46] deb http://security.ubuntu.com/ubuntu trusty-security main restricted [12:46] deb-src http://security.ubuntu.com/ubuntu trusty-security main restricted [12:46] deb http://security.ubuntu.com/ubuntu trusty-security universe [12:46] deb-src http://security.ubuntu.com/ubuntu trusty-security universe [12:46] deb http://security.ubuntu.com/ubuntu trusty-security multiverse [12:46] deb-src http://security.ubuntu.com/ubuntu trusty-security multiverse [12:46] ## Uncomment the following two lines to add software from Canonical's [12:46] ## 'partner' repository. [12:46] ## This software is not part of Ubuntu, but is offered by Canonical and the [12:46] ## respective vendors as a service to Ubuntu users. [12:46] # deb http://archive.canonical.com/ubuntu trusty partner [12:46] # deb-src http://archive.canonical.com/ubuntu trusty partner [12:46] ## Uncomment the following two lines to add software from Ubuntu's [12:46] ## 'extras' repository. [12:46] ## This software is not part of Ubuntu, but is offered by third-party [12:46] ## developers who want to ship their latest software. [12:46] # deb http://extras.ubuntu.com/ubuntu trusty main [12:46] # deb-src http://extras.ubuntu.com/ubuntu trusty main [12:46] thankyou for that [12:47] *plonk* [12:50] Tyreal12: Please use pastebin next time. [12:50] sorry [12:50] Tyreal12: It might be that your mirror is out of date, you could see if changing to the main mirror solves your problems. [12:51] forgot to pastebin it [12:52] how do i go about changing to main mirror [12:54] Remove the au from all th au.archive.u.c urls. [12:54] the* [12:56] ok cool thats the answer i just found to [12:57] Tyreal12: "sudo sed -i 's/au\.\(archive\)/\1/' /etc/apt/sources.list" [12:58] i just changed them and doing an sudo update now [12:59] looks like its all worked [13:00] yep that did the trick [13:00] If the AU mirror is causing these issues we ought to report it to the mirror team [13:00] thank you so much for all of your help [13:00] thats a really good idea [13:01] Tyreal12: /join #ubuntu-mirrors and report it to the folks in that channel. Tell them the mirror seems to be missing Trusty packages/not responding correctly at all [13:06] and now onto the next step once the desktop is installed, the ftp [13:06] but i shall try not to bother you with it, once again thankyou for your help [13:09] Tyreal12: If you really need FTP, vsftpd, but be sure you actually need it first. There are other ways of moving files such as 'scp' which uses the SSH protocol/client [13:10] oh really? thankyou for that TJ [13:10] i shall look into it [13:11] Tyreal12: if you want to move trees of directories, read up on 'rsync' which also uses SSH under the hood for secure transfer [13:11] Tyreal12: from an infosec perspective, ftp is the devil. :P [13:12] thankyou! TJ also if you wouldn't mind me asking one last thing that you might be able to suggest would be remote access within and outside of the home network [13:12] lol good to know [13:12] Tyreal12: text console or gui? [13:12] Tyreal12: Everyone uses 'ssh' for remote administration, it is THE standard tool [13:12] Tyreal12: console is easy - ssh. gui? that's a bit more involved. [13:13] Tyreal12: You can even forward X sessions over ssh if you insist on a GUI desktop on a 'server' :) [13:13] i would love to set up both to be honest with you [13:13] Tyreal12: what TJ- said. X forwarding over SSH. [13:13] TJ-: since I don't ever use it, what's a good X server for Windows? [13:14] quantic: *shrugs* ... what is this Windows? :D [13:14] TJ-: lol [13:14] Tyreal12: are you using Windows on the remote side? [13:15] lol TJ [13:15] i will be yeah, is that a bit more difficult? quantic [13:15] Tyreal12: nope. see also: PuTTY. [13:15] Tyreal12: http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html [13:16] Tyreal12: pretty much the go-to ssh client for windows. [13:16] that would be 3rd part software correct? [13:16] Tyreal12: and as for getting gui stuff running remotely, you'll need that plus an X server. [13:16] Tyreal12: yes. [13:16] Tyreal12: best x server I've found for windows is VcXsrv. [13:16] Tyreal12: http://sourceforge.net/projects/vcxsrv/ [13:17] Tyreal12: Xming is also highly regarded. [13:17] quantic: is putty a trusted 3rd party? reason why i ask is cause i have recently formatted and gone through hell and back to fix my computer so i only want trusted software on it [13:18] by highly regarded do you mean secure? [13:18] Tyreal12: in the world of ssh clients for windows, it's pretty much "putty or gtfo". [13:19] putty has some companion applications that will do scp for you... winscp [13:19] quantic: good to know lol [13:19] TJ-: or pscp, which comes with putty. [13:19] as for accessing from ubuntu would i use the same program? [13:20] Tyreal12: to level with you about security (its a big part of what I do professionally), the vast majority of security will be made or broken based on your practices, not on the software you use. [13:20] Tyreal12: no, ubuntu (like any Linux/Unix system) has an ssh client built in. it's called "ssh". [13:20] quantic: thankyou for that [13:20] oh right lol duh [13:21] How would I show the the contents of a text file in the shell, with auto numbered paragraphs please? [13:22] tkxxx: im assuming that said paragraphs span multiple lines? [13:22] quantic: Yes, it does. [13:23] tkxxx: how is a paragrpah defined? [13:23] tkxxx: is there a line break in between, does the first line have an indent, etc? [13:24] quantic: aaah lubuntu didn't come with it [13:24] i had to install it [13:24] Tyreal12: ssh? [13:24] TJ-: Yes, it's a line break defining the paragraph split [13:24] quantic: yeah [13:24] tkxxx: something like awk 'BEGIN{P=1} N!=1{print P, $0; N=1} /^$/{N=0}' /path/to/file [13:25] TJ-: Great, so awk is the tool to use for this? Absolutely appreciate this but is this the simplest way of doing it? [13:26] TJ-: I'd also like to print the last paragraph to the shell (in a separate command) [13:27] tkxxx: I see to recall there is a tool that can do it in coreutils [13:29] tkxxx: see 'man fmt' [13:29] gotta say... this is why I use ubuntu, anymore. in order distro channels that shall remain nameless, people are calling each other homophobic names and ranting about systemd. [13:29] s/order/other/ [13:30] tkxxx: That seems to be more about reflowing into paras [13:30] quantic: Oh, I like ranting about systemd too :p [13:30] TJ-: Cool, will have a look into this. [13:31] quantic: with putty do i download the putty.exe? [13:31] Tyreal: http://the.earth.li/~sgtatham/putty/latest/x86/putty-0.65-installer.exe [13:31] Tyreal: that'll get you the whole set. [13:35] quantic: thankyou [13:36] quantic: so using PuTTY and VcXsrv i can move files back and forth from server to the computer i access the server from [13:36] Tyreal: eh, no. [13:37] Tyreal: Putty and X allow you to use GUI programs that are running on the server remotely on the client. [13:37] File transfer is accomplished through scp, like using WinSCP. [13:37] thankyou for clearing that up for me [13:37] It requires no setup beyond that of ssh. It's automatically running as long as an ssh server is running on the server. [13:38] ok! [13:38] which there should be considering that was the one i had ticket when i setup the server initially [14:00] quantic may i ask you assistance one last time [14:01] Tyreal: what's up? [14:04] i've got ubuntu gui set up now. and i've got the PuTTY configuration up to remote access from Lubuntu, so my question is where do i go from here [14:04] i need to find out what my domain name/ip address of the server [14:05] i think i also need to configure the ssh [16:19] hello! what would be the best way to block complete access from some ip or subnet on ubuntu server? i found possibility with ufw, but are there any other, maybe even better ways to do that? [16:22] fnewugfr94: just enable ufw - start with "ufw allow ssh" and "ufw enable" and take it from there. ufw is a frontend for iptables, so it's possible with raw iptables too, but ufw is a bit easier to learn [16:23] RoyK: i already have enabled ufw and few rules for ssh and other services in it. i guess that there is still important order of rules? [16:25] the order is important, yes. if a rule at the top allows for access to something and the ip address in question is blocked further down, it won't help. see ufw insert [16:27] RoyK: and the last question... what if I will need to block new ip addresses or subnets - can the number of deny rules affects response speed? === CiPi is now known as cipi === cipi is now known as CiPi [16:58] fnurl: generally iptables is so fast it won't matter much, but I guess a thousand rules or so may add some microseconds [16:58] fnurl: oops - that was for fnewugfr94 - sorry [17:30] hi friends. Trying to get an NFS mount point set up between two ubuntu servers (14.04). This is my fstab on the client. It keeps saying bad fstab line 14. I can't seem to articulate where the issue is. http://pastebin.com/6edUYh5S [17:31] everything is tabbed by the way [17:31] roasted: [rw]size isn't really necessary [17:31] roasted: but I beleive nfs4 is standard, so you might add sec=sys [17:32] oh, I wonder... [17:32] would I not put nfs4 instead of nfs under type? [17:32] roasted: you should not use manual mountpoint inside /media since that directory is used by the automounter. [17:32] bekks: on desktops, mostly [17:32] bekks: I switched to mnt to test but I got the same error. [17:33] what error? [17:33] the fstab is bad on line 14 error [17:34] as in, no change. [17:34] you have a space and teh word defaults [17:34] remove those [17:35] there are only six fields, you have seven because of that [17:35] right - defaults isn't needed and if you want it anyway, use a comma, not a space [17:35] boom [17:35] that was it [17:35] where do I overnight the beer? :P [17:36] upload it :D [17:36] to my now-working owncloud?? :D [17:38] owncloud is nice ;) [17:40] I dig it. [17:40] I need to look into containers sometime. [17:41] right now I have 14.04 on the hardware, then a 14.04 VM for external stuff (mostly to IP them separately and keep NAS internal and external stuff accessible externally) [17:41] but I didn't want OC data in a virtual disk, so I NFS the mount point back to the RAID on the hardware-based-14.04-instance. === trabbit_ is now known as trabbit