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