[03:01] <jayjo> is there a way to read a specific line of a file? I want to only look at line 8526
[04:01] <sikun> ugh.. all that much trouble over a very simple/stupid mistake
[06:51] <antipsychiatry> Hi
[08:06] <PCdude> I am having difficulty with installing openstack on ubuntu , when the installer uses JUJU to bootstrap a node it stops and crashes
[08:06] <PCdude> anyone here to help?
[08:34] <fklinguista> Hello everyone!
[08:34] <fklinguista> I'm new to the Ubuntu server scene and I'm trying to make a personal file server in my apartment, here in Thailand.
[08:35] <fklinguista> The server is up and running nicely with webmin and I'm able to ssh when connected directly through a LAN cable
[08:35] <fklinguista> ... from my laptop to the server, that is
[08:35] <fklinguista> But there's one issue.
[08:36] <fklinguista> In most Thai apartments, there is no wired connection available, only wireless
[08:36] <fklinguista> and while I fiddled for an hour with the cmd line, I got my server to recognize a wireless adapter and connect to the ESSID
[08:36] <fklinguista> and then used curl to bypass the login screen
[08:37] <fklinguista> however, when I tried to ping from the device to 8.8.8.8, for example, I still got "Host Unreachable"
[08:37] <fklinguista> I'm also unable to connect to the device through the IP address assigned to it by the server.
[08:37] <fklinguista> **by the apartment complex router
[08:58] <ikonia> froike: sadly webmin is not something we suport
[08:58] <ikonia> oops
[09:01] <sikun> ugh.. webmin
[09:36] <fklinguista> Hello, is anyone online now?
[09:37] <PCdude> yes, I am here also waiting for help
[09:37] <PCdude> what does ur /etc/network/interfaces file says?
[09:37] <PCdude> u configured the gateway?
[09:41] <fklinguista> I think the gateway configuration is the problem
[09:41] <fklinguista> So, I did a little bit of troubleshooting
[09:42] <fklinguista> I can ping my apartment's gateway from the server
[09:42] <fklinguista> But I can't ping the IP assigned to the server from the apartment router
[09:42] <fklinguista> Here's the output of /etc/network/interfaces
[09:42] <fklinguista> # The loopback network interface
[09:42] <fklinguista> auto lo
[09:42] <fklinguista> iface lo inet loopback
[09:42] <fklinguista> # The primary network interface
[09:42] <fklinguista> auto enp2s0
[09:42] <fklinguista> iface enp2s0 inet dhcp
[09:43] <fklinguista> #Edit to see if wifi can connect
[09:43] <fklinguista> auto wlxc412f52e9c14
[09:43] <fklinguista> iface wlxc412f52e9c14 inet dhcp
[09:43] <fklinguista> wireless-essid   SSK-FLoor5-1
[09:43] <fklinguista> wireless-channel 1
[09:43] <fklinguista> wireless-mode    managed
[09:43] <fklinguista> I set up the last bit to allow my wireless device to connect to my apartment's network automatically
[09:48] <PCdude> I think its a firewall problem
[09:48] <PCdude> since the ping from the router to the server does not succeed
[09:48] <PCdude> probably ur server is blocking these and will not respond to them
[09:49] <PCdude> which can be a security measurement on servers sometimes
[09:49] <PCdude> what u can try is disable ur firewall and see if things start to work again
[09:49] <fklinguista> Hmm
[09:49] <PCdude> if that is the case, then u can try to tweak ur firewall so it works like u need to
[09:49] <fklinguista> Yeah, I just pinged the gateway from my router and it works
[09:50] <PCdude> can u ping the server from a different device?
[09:50] <fklinguista> Oh sorry, I meant pinged the gateway from my server
[09:50] <fklinguista> I can ping the server's local IP (I'm connected via SSH through a LAN cable)
[09:50] <fklinguista> But I can't ping the DHCP IP that my router assigned it
[09:50] <fklinguista> from any device
[09:51] <fklinguista> I also put up a test index.html file, which I cannot view by entering the IP assigned by the router
[09:51] <PCdude> uhm, I am not following u there
[09:51] <PCdude> the server has 2 IP addresses?
[09:52] <fklinguista> Well, in order to manage my server, after I installed it (I borrowed a monitor to do it), I connected it to my laptop via SSH to configure it
[09:53] <fklinguista> so, if I were to run ifconfig, it has 1 IP address under the ethernet connection (to my laptop)
[09:53] <fklinguista> and another IP under the wireless connection (to the server)
[09:53] <fklinguista> **router
[09:54] <fklinguista> So, I can access the server from my laptop through the ethernet address assigned to it
[09:54] <fklinguista> but I cannot access the server from any device connected to my apartment's router even though the device is also connected to the router
[09:55] <fklinguista> Does that make sense?
[09:55] <PCdude> ah ok, I get it
[09:55] <PCdude> yes it does
[09:55] <fklinguista> So, I guess the easier question is...
[09:55] <fklinguista> Is it my apartment's router that's blocking me from connecting to my server through the IP assigned to it?
[09:56] <fklinguista> Because if so, then all hope is lost.  Lol
[09:56] <PCdude> no, definitely not
[09:56] <PCdude> ur router can function as a DHCP server
[09:56] <PCdude> and thats all he does
[09:56] <PCdude> he gives ur server an IP and thats it
[09:56] <PCdude> there is no control of who tries to access the servers IP directly
[09:57] <PCdude> the router has no control over that
[09:57] <fklinguista> hmm
[09:57] <PCdude> if u go through the router to the internet then the router can have affect on it
[09:57] <PCdude> but u are capable of pinging the routers IP with ur server from the wireless connection?
[09:57] <fklinguista> Yes
[09:58] <fklinguista> I ran ping -I wlxc412f52e9c14 192.168.2.254
[09:58] <fklinguista> the wl... is the dev ID
[09:58] <fklinguista> and the 192... is the gateway
[09:58] <PCdude> can u ping outside of ur LAN, e.g. can u ping 8.8.8.8 or ping google.com
[09:58] <PCdude> ?
[09:58] <PCdude> with the server
[09:58] <fklinguista> Host Unreachable
[09:59] <PCdude> with both the 8.8.8.8 and google.com?
[09:59] <fklinguista> Well, that's because Thailand has a stupid login system
[09:59] <fklinguista> I could log in and it would work
[09:59] <fklinguista> But it would knock me off of my internet here
[10:00] <fklinguista> Kind of like how coffee shops only allow connection with a log in
[10:00] <fklinguista> but trust me, it works if I log in
[10:00] <PCdude> I am not from thailand, so I have no clue on helping u with that :)
[10:01] <PCdude> but u have to log in with ur router?
[10:01] <fklinguista> Yes
[10:01] <fklinguista> I use curl for that purpose
[10:01] <fklinguista> just curl and send the login information to the .php page
[10:01] <PCdude> and why are u not logged in? maybe a stupid question
[10:01] <fklinguista> If I log in on the server, I wouldn't be able to chat here
[10:01] <fklinguista> haha
[10:01] <fklinguista> I could do it quickly and then come back
[10:02] <fklinguista> Let's see... brb
[10:03] <fklinguista> Okay
[10:03] <fklinguista> I just logged in and back out
[10:03] <fklinguista> pinging google works
[10:03] <fklinguista> I could ping google after I logged in
[10:03] <PCdude> so ur router is normally logged in?
[10:04] <fklinguista> I used ping -I wlxc412f52e9c14 8.8.8.8
[10:04] <fklinguista> to make sure it was pinging from the wireless and not the shared ethernet
[10:04] <fklinguista> Yes
[10:05] <fklinguista> But, to clarify, it's not my router, so I can't control any of it
[10:05] <PCdude> ah ok, but u have internet access on multiple devices?
[10:05] <PCdude> its like u can only have internet on one device at a time?
[10:05] <PCdude> *not
[10:06] <fklinguista> Yes
[10:06] <fklinguista> that's correct
[10:06] <fklinguista> but I still thought I'd be able to connect to my server, even if I don't have www access
[10:06] <fklinguista> because all of my devices are on the same router
[10:07] <PCdude> that is correct
[10:07] <fklinguista> Yeah, so let me clarify...  I can connect to the router with multiple devices
[10:07] <fklinguista> but only 1 device can be on the www at a time
[10:08] <PCdude> I dont want to be a purist here, but for future use I would suggest u refer to "www" as the WAN. I dont care how u call it but some people dont like it
[10:08] <fklinguista> No problem.
[10:08] <PCdude> is ur router also used as a switch?
[10:09] <fklinguista> I'm actually not sure
[10:09] <fklinguista> I'll try to describe the system as best as I know it
[10:09] <PCdude> are all ur wired devices connected to the router itself?
[10:10] <PCdude> and all ur wireless devices are directly connected to the router with a password?
[10:10] <fklinguista> Well, this is the screwed-up part.
[10:10] <fklinguista> The WLAN network here is not up to American standards, I'm afraid.
[10:10] <fklinguista> It's an Open Network in that anyone can connect to it
[10:11] <fklinguista> but one can only connect to WAN by entering the credentials at the login page
[10:11] <PCdude> anyone, as in the whole country shares the same WLAN?
[10:11] <fklinguista> and no, we do not have access to the router for wired devices
[10:11] <fklinguista> Not the whole country, but the whole apartment complex
[10:11] <fklinguista> It's like this...
[10:12] <fklinguista> There is the modem from the ISP, which is connected to a firewall device, which serves as the login manager
[10:12] <fklinguista> then that firewall is connected via LAN cable to many different Wireless routers
[10:12] <fklinguista> each wireless router has a different ESSID
[10:12] <fklinguista> and there are two wireless routers for every floor of each building
[10:13] <fklinguista> 5 floors in this building, 5 in the other building, so 20 wireless routers in total
[10:14] <fklinguista> all connected to 1 firewall, leading to 1 model
[10:14] <fklinguista> **modem
[10:14] <fklinguista> This is one reason why I want a server, because I do not trust the connection to be able to run Dropbox or another cloud
[10:14] <fklinguista> and personally, I'm a bit afraid of someone being able to steal my data due to the nature of this
[10:15] <fklinguista> I was able to very easily clone one of my MAC addresses to log in via a different device
[10:15] <PCdude> uhm ok, well there are a lot of network devices in place there so I think those can block any signal u have.
[10:15] <PCdude> That could be the reason those pings do not succeed
[10:16] <PCdude> As I were u, I would install "pfsense" ,"ipcop" or "ipfire" as an extra firewall
[10:16] <PCdude> those can protect u from alot of horrible things
[10:17] <PCdude> I agree about the cloud part with u
[10:17] <PCdude> I would suggest u make ur own firewall that functions as the login device
[10:17] <PCdude> therefore u can have a bunch of other devices behind that all can have internet
[10:17] <fklinguista> Well, if I had the money, I'd just get my own separate ISP
[10:18] <PCdude> if u make ur own firewall/router u can setup a NAT system
[10:18] <fklinguista> Well, actually, I bought a separate WLAN device and, using my Linux Mint laptop
[10:18] <fklinguista> was able to bridge the connection to another WLAN coming from the laptop's primary WLAN card
[10:18] <PCdude> ah ok ,good
[10:18] <fklinguista> that's how I got multiple devices to log in
[10:19] <fklinguista> but that requires my laptop to always be on and here
[10:19] <PCdude> true, well I think u can solve some of ur problems with an home made router/firewall
[10:20] <fklinguista> Yes, I agree
[10:20] <PCdude> u can even disguish ur VPN network communication as another protocol
[10:20] <fklinguista> I suppose I could use the Ubuntu Server as a half file server half router, couldn't I ?
[10:21] <PCdude> yes, u can, but I would not suggest
[10:21] <PCdude> it
[10:21] <PCdude> if u were u I would install vmware vsphere
[10:21] <PCdude> its free
[10:21] <PCdude> u can install that on ur server
[10:21] <PCdude> as a VM u can install ubuntu server and do what u want with it
[10:21] <PCdude> and also make a seperate firewall VM
[10:21] <PCdude> I would not use ubuntu as a firewall
[10:22] <fklinguista> upon install, I selected to install a VM server
[10:22] <fklinguista> but I don't know much about how to run virtual servers yet
[10:22] <PCdude> first off its harder to do it all urself, if u are a linux and network guru I would say go for it
[10:22] <fklinguista> I'm learning little-by-little
[10:22] <PCdude> but else I would go for pfsense or something like that
[10:22] <PCdude> yes u can run a VM in ubuntu
[10:22] <PCdude> but that is not what u want
[10:23] <PCdude> and well for a very simple reason
[10:23] <PCdude> ubuntu is a good OS, but is leaves a big "footprint" on ur resources
[10:23] <PCdude> instead u want a hypervisor type 1 that has a lot smaller footprint
[10:23] <PCdude> something like vmware esxi, or xen server,
[10:24] <PCdude> what I would suggest that u have enough RAM in ur server
[10:24] <PCdude> as bare minimum 8 GB and 16 or more is desirable
[10:25] <PCdude> is that making sense?
[10:28] <fklinguista> Yes, it does
[10:29] <fklinguista> Would you still know anyway, why I can't ping my server's WLAN IP from other devices connected to the router?
[10:29] <PCdude> yes I think I know what the problem is
[10:29] <fklinguista> for example, my server is 192.168.2.57 and it can't ping 192.168.2.44
[10:29] <PCdude> there is a sub system that is called "device isolation" or something like that
[10:30] <PCdude> what that does is seperate all devices on the network from eachother, this is only done on wireless networks
[10:30] <PCdude> this is a security measurement
[10:30] <PCdude> basically, so u or anyone else will not try to connect or even break in other devices
[10:31] <fklinguista> Oh, well that's actually not a bad thing
[10:31] <fklinguista> It sucks for my situation, but it's not bad
[10:31] <PCdude> the only thing u can do is make ur own WLAN and bridge it to the buildings network
[10:32] <PCdude> then make sure the device isolation is turned off and u can connect ur devices to eachother as much as u like
[10:32] <PCdude> if u wanna learn more about networking I suggest u can take a study called "CCENT" or higher
[10:33] <tomreyn> device isolation can also be an option onyour routers' web admin interface
[10:33] <PCdude> that is indeed correct tomreyn
[10:33] <tomreyn> i.e. you may be anle to switch it on / off there
[10:33] <tomreyn> *aBle
[10:34] <PCdude> tomreyn are u familiar with openstack?
[10:34] <tomreyn> not really, no
[10:35] <PCdude> I am banging my head over it , I just cannot get it to install
[10:35] <tomreyn> i'd like to learn it sometime, but i never really had a need to. and it's still somewhat young. and complex.
[10:36] <PCdude> complex for sure, thats why I decided to use ubuntu with landscape it should make things alot easier and a good opportunity to learn from it
[10:36] <tomreyn> i know of multiple hosting providers which had examination projects running for a year just to see whether they could get it to work and make use of it.
[10:36] <PCdude> I get everything installed until the last step and than it hangs and leaves me hanging
[10:37] <PCdude> I hope someday all the projects are put together on one table and make one project out of it, all those separate projects is killing the robustness of openstack IMHO
[10:37] <tomreyn> :-/ sorry i probably won't be able to help unless it's some commonly used stand-alone components which are not openstack specific.
[10:38] <PCdude> well, the problem is with JUJU for sure, are u familiar with JUJU?
[10:38] <tomreyn> nope ;/
[10:39] <fklinguista> One last question for a temporary solution, PCdude
[10:39] <PCdude> sure fklinguista
[10:39] <fklinguista> Say if I were to use the wireless connection from my USB to connect to WAN on the server
[10:39] <PCdude> to bad tomreyn , u know anyone who could help?
[10:40] <PCdude> directly? fklinguista
[10:40] <fklinguista> how would I manually create a bridge from eth0 so I can broadcast my own router, like you said
[10:40] <tomreyn> PCdude: you could look for a juju channel, or try askubuntu.com.
[10:41] <fklinguista> So Apartment router > Server WLAN > Server LAN > My Router > All of my devices
[10:41] <fklinguista> to be able to connect to everyone and to circumvent the login for multiple devices
[10:41] <PCdude> ah ok, I get it
[10:43] <PCdude> so what u do is install vmware ESXI, then u install pfsense on it. In pfsense u connect it to ur aparment router, with login and everything (the WLAN connection). then u can use the wired connection on ur server as a LAN. that one u connect to a different switch
[10:43] <PCdude> on that switch u connect all ur devices u want
[10:43] <PCdude> u can also connect a Access point on there for ur wireless needs
[10:44] <PCdude> just to clear some confusion if u start to look on the internet for a wireless router
[10:44] <PCdude> a router is for many people a device that connects wireless devices, but its not
[10:44] <PCdude> a router is a device that can separate or combine different networks or subnets
[10:45] <PCdude> what u want to add to the switch is an AP or access point, that is the correct name for a device that connects wireless devices
[10:45] <PCdude> I am trying to keep it brief here, but am I making sense?
[10:45] <fklinguista> Yes, you are
[10:46] <PCdude> tomreyn , yeah I am trying that, but since its so long there are not really people who have been in the business for 10 years or so. u know that real guru's. everyone is basically trying and see if it works, but thanks anyway
[10:46] <PCdude> fklinguista , good :)
[10:48] <fklinguista> But I was thinking, in the meantime, before I install pfsense
[10:48] <fklinguista> what would be a good temporary solution
[10:50] <fklinguista> Since I used Network Manager on Ubuntu, the config is not the same
[10:50] <PCdude> I think u can make it work all in ubuntu or any linux distro, but that can be a pain in the butt. Honestly, I just succeeded the beginner level of a linux guru, so I cant help u do it in there.
[10:50] <tomreyn> you can do routing and traffic filtering on linux, no need for a pfsense VM
[10:51] <tomreyn> but some understanding of networking will be a very useful if not necessary ingredient to setting this up.
[10:52] <fklinguista> I guess what I'm asking (because I've looked on Google and nothing good is coming up), is how would I configure it in /etc/network/interfaces
[10:52] <PCdude> sure u can do it all in linux, but in a pfsense vm its alot easier for usage. plus u can make snapshots and things like that. personally, I would like my router/firewall be the same device as my file server, but yeah sure u can do it
[10:52] <fklinguista> to have my eth0 as the bridge from my wlan0
[10:53] <PCdude> what u want is routing and that will involve alot more than only /etc/network/interfaces
[10:53] <tomreyn> you will need to have multiple interfaces and something like "up /sbin/ip route add ..." in /etc /network/interfaces.
[10:53] <tomreyn> you'll also need to enable ip_forwarding on one of your interfaces.
[10:53] <PCdude> plus u will need to look at iptables
[10:54] <PCdude> tomreyn u were faster :)
[10:54] <tomreyn> you could use shorewall to manage iptables, they also have some examples on how to do routing on their documentation. but the network configuration part is really outside of the firewalling domain
[10:55] <fklinguista> I have webmin installed
[10:55] <tomreyn> i.e. they kind of expect you to have a working network setup before you start adding traffic fitlering on top.
[10:56] <PCdude> plus, u will need a good understanding about networking itself to get it work
[10:56] <fklinguista> ah
[10:56] <tomreyn> this webmin statement suggests to me that you need to read at leats one book on network designs
[10:57] <tomreyn> please don't take it personal, i don't mean it this way.
[10:57] <fklinguista> No problem.
[11:00] <fklinguista> Thank you for all the help and advice!  I have to go eat now
[11:00] <tomreyn> maybe this can be a good start: http://www.tecmint.com/setup-linux-as-router/
[11:00] <fklinguista> Take care!
[11:00] <fklinguista> thank you, tomreyn
[11:00] <tomreyn> good luck
[11:00] <PCdude> good luck
[11:01] <fklinguista> To you as well
[11:02] <PCdude> tomreyn , I tried the juju and openstack channel and have asked on stackexchange, but no luck so far
[11:02] <tomreyn> well give it some more time
[11:03] <tomreyn> where's your stackexchange post?
[11:03] <PCdude> http://askubuntu.com/questions/817572/openstack-fails-to-install-caused-by-juju
[11:04] <PCdude> Even the troubleshooting is pretty fucked up, since in the files that I looked in there are no clear error messages
[11:04] <tomreyn> hehe, awesome error message there
[11:04] <tomreyn> it might point to an incorrect password. or something else entirely.
[11:05] <PCdude> yeah, I know , the kind that makes u pull out ur hair :)
[11:05] <PCdude> yup, and how to find that out is up to god I guees
[11:05] <PCdude> the problem is that JUJU is still in beta, so I know I cant ask to much yet
[11:06] <PCdude> but the JUJU version for 14.04 (the stable one) is giving me errors too
[11:06] <PCdude> thats what happens if openstack, MAAS and JUJU all live in an entirely building and do not communicate....
[11:07] <tomreyn> PCdude: fd stands for floppy disk, so your VM has a virtual floppy disk connected and that causes i/o errors. you could probably just remove the fd
[11:08] <tomreyn> or it could be file descriptor, but i don't think so based on the conext provided
[11:08] <tomreyn> dev fd0, sector 0 sounds a lot like floppy disk
[11:08] <PCdude> that is a good point! I was wondering where fd came from, but makes sense
[11:09] <PCdude> *that
[11:09] <PCdude> I am gonna try that out, its a small VM and VMware just automatically adds the floppy disks
[11:12] <PCdude> that is gonna take some time, coz I have to build some things from the ground up again, how long will u be here tomreyn ?
[11:12] <tomreyn> had you tried http://docs.openstack.org/liberty/install-guide-ubuntu/ or http://docs.openstack.org/liberty/install-guide-ubuntu/ ?
[11:12] <tomreyn> this is poroibably what i would do rather than following some youtube tutorial
[11:14] <tomreyn> i won't be at the keyboard all the time, but i use a bouncer so i remain connected to irc and can read up when i return. but, really, i don'T think i'm the right person to help you with there.
[11:15] <PCdude> yeah true, the problem is that installs only openstack and ubuntu also offers landscape. I am gonna be honest here, but its a pain in the ass to keep all ur servers in sync with only openstack. that is taking me to much time. If it was only the initial setup that is fine, but its not, u will constantly need to go in the CLI and change stuff
[11:16] <PCdude> ah ok, well, I think it constantly fails coz of my to little understanding of linux to fix basic problems here and there.
[11:17] <PCdude> I am learning for my LPIC-1 so I am trying my best to become better
[12:35] <Vacuum_> https://pastebin.mozilla.org/8905569
[13:20] <PCdude> tomreyn , it turns out there is no floppy disk at all in the VM....
[13:22] <tomreyn> strange, i could have sworn this message related to a floppy disk controller
[13:24] <PCdude> I even looked in the VM files, if there was secretly hiding some floppy but no luck, I have to think really hard now what else it could be
[13:27] <PCdude> http://askubuntu.com/questions/213512/buffer-i-o-error-on-device-fd0-logical-block-0-error
[13:27] <PCdude> they also talk about a floppy disk
[15:03] <tdelam> hey guys, I need a specific version of Apache to be installed (PCI compliance annoyances). I am using Ubuntu 14.04LTS. I need Apache version 2.4.23 or later. Is there a way I can target a version like this via apt?
[15:06] <RoyK> tdelam: https://launchpad.net/~ondrej/+archive/ubuntu/apache2 perhaps
[15:08] <tdelam> RoyK: yep, I found my solution. Worked like a charm.
[15:09] <tdelam> sorry to bother :)
[15:11] <RoyK> np
[19:19] <tammy5> what was the solution tdelam
[20:45] <tammy5> what was the solution tdelam
[21:20] <YamakasY> how large are the default mirrors for packages atm ? I have ~425G for 12.04 and 14.04 ?
[21:59] <apb1963_> sarnold: you around?