=== slank is now known as slank_away [00:58] is there a way to copy a complete directory? i tried cp -r dir1 dir2 but I get the error "target 'dir2' is not a directory" [01:02] nvm, got it working! [01:07] hallyn: done! [01:08] hallyn: pushed to lp:ubuntu/spice and uploaded to raring! enjoy ;-) [02:27] kirkland: thanks! good night. [03:50] Hi. I was trying to change my ssh settings to not permit root login, but I did not find the line PermitRootLogin yes in my ssh_config file. I'm using 12.04 LTS [03:51] reiligha, the file is /etc/ssh/sshd_config [03:52] !cookie|qman__, [03:52] qman__,: Wow! You're such a great helper, you deserve a cookie! [03:52] could somebody please help me troubleshoot my internet connection? here's my ifconfig output here: http://pastebin.com/6FmcVxyn I cannot ping any public IPs or hosts... I am running ubuntu server 12.10, the machine has two physical nics, i've followed all guides on the ubuntu website and still not working. I have set static addresses and other machines on the same subnet are working fine, just not this ubuntu-server...a [03:52] qman__ I didn't find that under etc/ssh, is it somewhere else? [03:52] qman__, now THAT is some impressive cli-fu! [03:53] reiligha, no, that's where it is [03:53] ssh_config contains client settings, sshd_config contains server settings [03:54] #networking [03:55] qman__ I definately do not see it there. I only have two items in etc/ssh [03:55] reiligha, if you installed the ubuntu openssh-server package you would have many more than two, it stores the host keys there as well [03:55] more than likely it's not installed, or the config was removed somehow [03:56] ssh server is not installed by default [03:56] qman__ Thank you. I thought it was installed by default. [03:58] ae86-drifter_, your networking configuration is incredibly complex, but please check to make sure you have one and only one default gateway, and have DNS servers configured [03:58] as of 12.04 ubuntu uses resolvconf out of the box [03:58] so you have to configure your DNS servers in /etc/network/interfaces [03:58] qman__: I cannot even ping DNS servers by IP address [03:59] ae86-drifter_, I've never seen a macvtap interface, what are you running it on? [04:00] also, what is vibr0 bridging to? [04:00] qman__: it's for VMs running on KVM, it's weird because they work fine [04:01] sounds like your default gateway is missing then, what's the output of route -n? [04:01] sorry, "route -n" [04:01] i am actually connected to wifi through a virtualized firewall which is the gateway for all my machines, however the KVM host has no internet, lol, everything else does.. [04:02] the behavior is as though the KVM host does not have a default gateway configured, or its default gateway is otherwise incorrec [04:02] t [04:03] which makes sense, since the guests need only be bridged to the LAN [04:03] and that doesn't require the host to be able to contact anything but the LAN [04:03] the PPPoE connection is bridged on my modem, through to the kvm host, through to a VM running pfSense which has the public IP [04:03] my default gateway reported by route is correct [04:04] the VM on itself is the default gateway [04:04] well, that probably won't work [04:04] qman__: it does [04:04] the KVM host is going to need a default gateway not dependent on its guests [04:05] qman__: once the VM is up, it will be fine [04:05] and it's set to auto-start [04:05] that that it isn't theoretically possible, but I can see lots of trouble with packets going both ways across the same bridges [04:06] could be one of the many layers of virtual networking going wrong [04:06] qman__: i don't understand what you mean [04:06] qman__: the gateway is functioning correctly [04:07] not if you can't ping hosts on the internet, it isn't [04:07] that's what the gateway does, and if the gateway routes traffic fine for other hosts, it's not the gateway's fault [04:07] qman__: I am using it now on my laptop. [04:07] it's that this host can't use it [04:07] for my internet [04:08] yeah, it's just this one ubuntu server host that i need help with that's all [04:08] another question, what sort of wifi are you connected to? [04:09] some kinds of firewalls that universities and corporations use can cause this to not work right [04:09] that's totally irrelevant, but the VM is providing an access point (PCI redirection in AP mode) [04:10] (the gateway) [04:10] what? [04:10] qman__: it's quite complex [04:10] clearly [04:11] but the wifi works fine okay, liek i said, i'm using it on my laptop [04:11] that's not what I mean [04:11] do you own/control the access point/the whole network? [04:11] no weird firewalls? [04:11] yes.. it's in my home, it's mine lol [04:11] ok [04:12] qman__: the "gateway" is a virtualized firewall, "pfSense" [04:12] which is running on the physical KVM host (ubuntu server) with 3 NICs (2x wired & 1x Wifi) [04:12] well, there are a couple things pfsense can do that could break this but I'm guessing you don't have those configured [04:13] one NIC connected to my modem and one connected to a switch and the wifi acting as an AP (by having the PCI slot redirected to the pfSense firewall and being controlled by that) [04:14] ok [04:14] so, new question, your internet connection, does the KVM host have an IP on that interface, or is it also PCI redirected? [04:14] qman__: please imagine that the gateway is doing it's job correctly [04:14] qman__: it's bridged [04:14] I can't do that because the problem being described is that the gateway is not working [04:14] ok [04:15] but no IP configured on the KVM host, i am letting pfSense have the public IP [04:16] I understand the configuration now, but unfortunately all the problems I can think of as the cause are not the case [04:16] the only way I could continue is with a packet capture [04:17] qman__: how would you go about the packet capture? [04:18] I would run a capture on pfsense, and then try to ping an internet host from the kvm host [04:18] and see what happens on both sides of pfsense [04:18] see if traffic makes it to, through, and gets translated correctly [04:18] tcpdump | grep 10.13.37.2 ? [04:19] mm, might be easier if you did a ping specific filter so you can see the whole picture [04:19] I can't remember how to do that off the top of my head [04:20] but I'd capture icmp on all interfaces [04:20] or at least the two relevant ones [04:21] qman__: I'm not sure what you mean, i'm pretty noob [04:21] ping traffic is icmp protocol, and no real traffic is [04:21] oh i see what you mean now [04:21] so you'd want to capture all icmp on the interface KVM connects to, and the WAN interface [04:22] then do a ping and watch how the flow happens [04:22] ok i'll try [04:22] where it stops [04:24] it's not capturing any packets from that address [04:24] i dont think it's even getting there [04:25] ok [04:25] i'm getting random packets from other hosts on the same network, just not this one [04:25] maybe the IP is assigned to the wrong interface then, or not bridged correctly? [04:25] i'm gonna disable ipv6 [04:25] on the KVM host [04:26] qman__: if that were the case, then my other machines wouldn't get an IP and my firewall would get a public IP either [04:26] not exactly [04:26] if the right interface is bridged correctly, they could still work, even if the host has no IP on that interface [04:27] though with all those interfaces it's quite a bear to try and figure out [04:27] wouldn't get a public IP either* [04:27] if the right interfaces are bridged correctly* [04:28] the guests only care about the bridge being done and the interfaces being up, not the host's IP config [04:31] okay.. just not sure how i would confirm that / fix it [04:31] well, it's a bit complicated [04:31] you could run packet captures on the KVM host, on each interface, until you see the traffic in the network you expect [04:31] but the bridging may throw that off [04:32] unfortunately with all the virtual bridging and the wireless, the config isn't all in /etc/network/interfaces, so it's harder to see the whole picture [04:33] the bridges definately work to all VMs (whether they work properly or not, i don't know..), just the internet on the VM host doesn't.. it's really strange because i can plug a physical machine into it's physical interface, get an IP and internet works fine (static or DHCP) [04:34] qman__: but the KVM host only really has one IP on the LAN on interface p4p1 [04:34] so where else would it go? [04:35] i'm a little confused [04:35] what all is p4p1 bridged to? [04:35] also, out of the box [04:35] an interface will not accept traffic that originated from it [04:35] and likewise it will not forward traffic it received back out the same interface [04:36] Hello ppl noob here [04:36] the routing table is very simple - only three lines: http://pastebin.com/ny823BCS [04:37] qman__: okay.. [04:37] need help I just install ubuntu 12.10 and I get the shell instead of the graphis asking me for a log in ?¿? [04:37] so, if your traffic goes out p4p1, does it have to come back in the same interface to get to pfsense? [04:37] it may depending on how the bridges are set up [04:38] nmgsc: did you install the server version? [04:38] qman__: i need to thin kabout that [04:38] hmmmm yep yep [04:38] nmgsc, ubuntu server does not have a GUI [04:38] yes i did [04:38] it's command-line only [04:38] ae86-drifter_: no, it goes to a virtual nic [04:38] looks like Im learning the right way He He He [04:39] pfsense's BOTH wired NIC's are virtual. [04:39] can you give me a link to the one that is not a server plz [04:40] i really think i just need a small config tweak on the ubuntu server/kvm host [04:40] that's likely, it may need an adjustment to the firewall or routing settings, or it may need to be set on a different interface [04:41] trouble is pinpointing it, due to the complexity [04:41] thanks ae86-drifter_ :} [04:41] qman: maybe i should create a "management" virtual network... [04:42] just one thing to consider [04:42] nmgsc: http://www.ubuntu.com/download/desktop [04:42] you said the VMs bridge to p4p1 in order to hit pfsense? [04:42] or do they bridge to virbr0? [04:43] ae86-drifter_ tk bud [04:43] yep [04:43] or rather [04:43] that you plug into p4p1 on the LAN and get internet? [04:43] p4p1 [04:43] yep, correct [04:43] and that's on the same IP range as you're using on the KVM host? [04:43] * nmgsc hands ae86-drifter_ a Pepsi .PEPSI. [04:44] well, it's a switch but yeah, hosts on the switch seem fine [04:44] yeah [04:44] yes, but they use the same 10.13.37.x? [04:45] well, i can ssh to the kvm host fine from my lan using it's LAN ip on that network [04:45] ok [04:45] I have one thing to try, but I need to put the rules together [04:46] hmm, maybe these rules won't work [04:47] here's what I think is happening [04:47] kvm host sends ping out, it goes out p4p1 to the switch [04:47] i cant ping the gateway from the kvm host [04:47] switch points it back to pfsense, which sends it back to p4p1, which then gets dropped [04:47] but every other machine can.. [04:48] okay [04:48] the vms can because the vms are bridged on the same virtual switch as pfsense, but the kvm host is using the physical interface [04:48] this is just a guess, but a packet capture on p4p1 during a ping may reveal the answer [04:50] oaky i'll try, i see what you mean [04:50] if this is the case, I'm not sure how to correct it [04:50] I know how to fix the opposite problem, but not this one [04:55] even if that's wrong I still think that for some reason kvm host's packets are not getting to the virtual switch === stooj_ is now known as stooj [08:20] hi [08:21] setup=> encrypted lvm 12.10 (fresh install). booting now just hangs. it looks like it's trying to boot off my encrypted lvm but unable to do so. [08:21] any help? [08:21] thanks [08:22] not encrypted => /boot is 250mb [08:23] leme livecd it and mount the encrypted lvm [08:24] but this is 12.10! i don't understand why the option exists on the installation if its not supposed to work! [08:24] why the option exists in the debian install process if its not supposed to work straight off [10:43] How can I build Ubuntu 12.04.1 inserting a new Intel driver igb version === IdleOne is now known as CancelOne === CancelOne is now known as IdleOne [11:43] Hey all. Headless server (currently has a monitor attached) not booting but also not giving any error message other than the standard message regarding sparse files not being supported with btrfs. [11:43] How can I get more output about what's really going on? [12:03] hi guys [12:04] guys I created a script for udev that seems to work but RUM+="" which does not execute the command, why? RUN+="/bin/echo a > /opt/nearline.pid" [12:04] what can it be??? [12:04] RUM/RUN ? [12:04] typo? [12:07] zatricky [12:07] what do you mean? [12:08] RUN sorry I meant [12:08] (14:04:02) Diegonat: guys I ... but RUM+="" which ... why? RUN+="/... [12:08] I paste the command [12:08] it does not execute anything [12:08] why? [12:08] it should work [12:09] zatricky [12:09] any idea? [12:11] not really - hopefully someone else has more experience with udev [12:12] can it be apparmor that stops udev form executing commands? [12:13] no its not [12:13] ghghghhg so annoyed === diego_ is now known as Diegonat [12:19] I need help with udev [12:22] with /proc/sys/... there's /etc/sysctl.conf etc - is there a similar thing for things like /sys/block/sdh/device/timeout ? [13:10] Daviey, who else is at FOSDEM :) [13:14] Hi. Ive been foollowing this guide for settting up a ubuntu server with webmin.. Guide from ---> ://woodel.com/ Ive tried to connect to ftp but its not letting me, and i have followed the guide to the letter. Any of you that can help me out find why my ftp is not working as intended? [13:18] !webmin [13:18] webmin is no longer supported in Debian and Ubuntu. It is not compatible with the way that Ubuntu packages handle configuration files, and is likely to cause unexpected issues with your system. [13:21] argh... [13:21] so waht do you people recomend as interface? [13:22] well, the commandline? [13:22] it's not too hard [13:22] it is for a linux newbie ;) [13:22] you'll probably learn quickly [13:23] probably..... not :P Anyways you have some minutes to spare to help me understand why i cant acess my server from another computer on the same network? [13:23] can you ping it? [13:24] yes [13:24] i can access the website from the apachebit [13:26] cmd pong successfull [13:26] typos all over the place [13:26] im on awin7 machine [13:27] and when i use explorer and ftp://myserverip i get the dialog box asking for user and pass, but it dont recognize eighter the suer or the password. [13:27] and im 100% sure on the user and the password [13:28] If you have a good guide for setting up a ubuntu server i would apreciate the help :) [13:39] Ebox. is recomended.... [13:41] !ebox [13:41] zentyal is a web-based GUI interface for administering a server. It is designed to work with Ubuntu/Debian style configuration management. See https://help.ubuntu.com/community/Zentyal (Project formally known as eBox - including in Lucid/10.04). [13:42] Shogoot: really, what I would recommend is learning linux - it doesn't take too long to learn the basics, and doing it manually, gives you full control [13:42] not just asking a fancy gui to please do this or that [13:49] thanks for your help [15:09] Anyone know a good guide for setting up ubuntu server with a static ip? note: i am running it on a virtual machine. [15:11] !guide | bcbrown19 [15:11] bcbrown19: The Ubuntu server guide may be found at http://help.ubuntu.com/12.04/serverguide/C/ [15:11] RoyK: Thanks. I'll check it out. [15:19] hi folks [15:22] is ubuntu server in the factory setting (after install) capable of using Smtp auth + Tls? [15:26] heh? [15:27] no, cause no smtp client/server would be installed [15:27] maybe you should define, capable [15:27] capable of server smtp auth? client smtp auth? php smtp auth? perl smtp auth? [15:28] ok my mistake sorry ;) [15:28] i am trying to set up a postfix server + dovecot + smtp auth (TLS) [15:29] I am talking server smtp auth [15:29] you will need to configure dovecot and then postfix to do that [15:31] ok so I ll try this again ... it is not that easy to find a suitable how to for this cause every how to (also the help.ubuntu.com how tos) are different from what happens in ubuntu server 12.04 ;) [15:31] heh? [15:31] I dunno about that [15:32] cause how you do that in dovecot/postfix hasn't changed in 8years? [15:32] so every howto, including both dovecot and postfix MANUALS will be correct [15:32] the dovecot configs for example are split in many conffiles [15:33] so? [15:33] that doesn't change the way it works, only the file you edit, if you even bother with that [15:34] no problem for a pro, but for a postfixbeginner ... ;) [15:34] there is no beginner email admin though [15:35] email is a pretty complex and can be very evil if not done right [15:35] beginner in "the postfix linux" case [15:35] especially postfix [15:35] coming from evil windowsservers ... ;) [15:36] that is your issue then :) [15:36] stuff in unix land isn't build solutions like windows [15:36] you have to layer [15:36] btw the postfix is in vm for testing (not in the wild) [15:36] makes for annoying setup [15:36] but easy diagnostics [15:38] yesterday I made it that smtp auth + tls for imap login worked [15:38] not smtp auth [15:38] tls for imap i ment [15:39] but no chance to get smtp out + tls working [15:39] auth sorry [15:39] http://wiki2.dovecot.org/HowTo/PostfixAndDovecotSASL [15:39] dunno why not read the manual, it's very very simple [15:41] The SASL is for auth as far as i understood [15:41] and TLS is for encrypting the connection [15:42] so sasl can send plain text passwords [15:42] the whole point of sasl, is it can send ANYTHING [15:42] encrypted, plain, hashed, challenge, .... [15:42] ok [15:43] normally, doing anything more complex than plain is not recommended [15:43] cause then it's required you store the password plain on the server [15:43] if you want to not use plain text passwords on the server, then you have to use plain text passwords for logins (sasl) [15:44] that is why TLS is needed [15:44] ok so far I understood it [15:44] to protect those plain passwords, so you can save the passwords encrypted on the server [15:44] well, encrypted/hashed [15:48] btw. if installing ubuntu server you may tag "Mailserver" [15:49] no idea what it does, I never tag anything other than ssh [15:49] ok [15:49] so I ll try to do it from scratch [15:57] just did a fresh install of postfix... there are TLS Parameters already with smtpd_tls_cert_file and key file [15:58] :q! [16:00] ya, but those tls are generic and untrusted [16:00] they are enough to make a secure connection [16:00] but not enough for you to know you are connecting to *your* mailserver [16:01] for testing its ok [16:04] but what is postfix encrypting at this part of the install...? [16:06] whatever the client asks for it to do [16:06] nothing is encrypted till the client asks for it, then everything after that is encrypted [16:09] ok i see so smtp connectons MAY be encrypted if the mailclient asks for [16:09] in this standardconfiguration [16:20] I have recently set up a ubuntu server box with a mdadm raid 5. For whatever reason the raid is degraded. It boots up and says the raid is degraded and asks if i want to continue to boot anyways and it wont let me type yes or no even though i can type before and after that in the rescue shell it provides. [16:44] the service auth says unix_listener auth-userdb in 10-master.conf [16:44] so i have to change it in unix_listener /var/spool/postfix/private auth ? [16:44] talking of dovecot [17:49] Ìû [17:49] I have recently set up a ubuntu server box with a mdadm raid 5. For whatever reason the raid is degraded. It boots up and says the raid is degraded and asks if i want to continue to boot anyways and it wont let me type yes or no even though i can type before and after that in the rescue shell it provides. [18:17] Ìû === aarcane_ is now known as aarcane [19:31] hi! i am trying to see if i can get opensmtpd running on ubuntu. my cuurent stumbling block is that it seems ubuntu does mail aliasing differently / i can't quite figure out how ubuntu does this === nicekiwi__ is now known as nicekiwi === virusuy_ is now known as virusuy