/srv/irclogs.ubuntu.com/2011/05/28/#ubuntu-server.txt

=== erichammond1 is now known as erichammond
=== erichammond1 is now known as erichammond
=== erichammond1 is now known as erichammond
=== unreal_ is now known as unreal
=== medberry is now known as med_out
=== erichammond1 is now known as erichammond
digitalstimulusdoes anyone know how to setup a networked update server for apt in ubuntu 10.04?  would it be setup as an apt repository?02:31
qman__digitalstimulus, you can set up an apt repository, but I prefer a squid apt proxy02:47
qman__less maintenance, less disk space02:47
qman__easier to set up clients02:47
qman__no client setup if you do it transparent02:47
=== Krypt0s_ is now known as Krypt0s
Delerium_Hi Guys, I'm looking to install an IRC server for a new project, there is alot of them out there, anyone would have a suggestion of which one to use?05:02
=== Captainkrtek1 is now known as Captainkrtek
dougbi'm having an issue assinging a subdomain in apache2 on ubuntu, i set up a subdomain called showtogo in /etc/apache2/sites-available/ and ran 'a2ensite showtogo' and set up the A record for showtogo, but going to the subdomain showtogo just goes to the main site pointed at the www subdomain05:44
dougbis there a way to troubleshoot this using a utility on ubuntu? i have another subdomain and i pretty much copied the same sites-available file and changed it appropriately, but it doesn't seem to be working05:45
dougbi'm on linode if that makes any difference05:45
SpamapSdougb: the <VirtualHost> tag that a request gets assigned to is determined by the ServerName field.05:50
SpamapSdougb: so did you actually add a <VirtualHost> section with a ServerName of 'showtogo.whatever.domain.com' ?05:50
dougbi did05:51
dougblet me put it in a pastebin05:52
jmarsdendougb:   sudo apache2ctl -S    should get you a summary of currently configurede vhosts on your server... might be quicker? :)05:53
dougbthanks jmarsden and SpamapS , i got it working05:53
dougbidk how i got it working, but it's working now :)05:53
uvirtbotNew bug: #789484 in clamav (main) "package clamav-base 0.97 dfsg-2ubuntu1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 128" [Undecided,New] https://launchpad.net/bugs/78948409:52
uvirtbotNew bug: #789520 in mysql-5.1 (main) "package mysql-server-5.1 (not installed) failed to install/upgrade: subprocess new pre-installation script returned error exit status 1" [Undecided,New] https://launchpad.net/bugs/78952012:21
sw0rdfishhey hey hey12:26
sw0rdfishjust bought a vps with ubuntu 10.04 LTS12:26
sw0rdfishis it possible that nano doesn't exist in it?12:26
sw0rdfishi tried installing it and package cannot be found12:27
RoyKit certainly should be there12:29
RoyKperhaps they're using stripped in-house repositories?12:30
RoyKcheck /etc/apt/sources.list12:30
sw0rdfishwith what?12:33
sw0rdfishwith vi12:33
sw0rdfishdamn i hate it but i guess i have no choice12:34
sw0rdfishvipw is a good command man12:34
sw0rdfishi can create a user right there! right?12:34
sw0rdfishi'm connected through ssh12:38
sw0rdfishit should be there right12:38
RoyKyou'll need to use vi to change it, yes12:40
RoyKbut you can view it with cat or less or more12:40
RoyKor just wget the nano package and install it with dpkg -i12:42
RoyKhttp://packages.ubuntu.com/lucid/nano12:42
* RoyK is a vim addict, but can easily understand that some people might want to use nano12:42
sw0rdfishRoyK, i see12:48
sw0rdfishvi is vim?12:48
sw0rdfishman its complicated for us beginners :)12:48
sw0rdfishwell it turns out i needed the argument13:01
sw0rdfish-y13:01
sw0rdfishwith apt-get install (-y)13:01
sw0rdfishnow adding a user13:01
RoyKsw0rdfish: vim is "vi improved"13:19
RoyKsw0rdfish: run vimtutor :)13:19
RoyKsw0rdfish: thinkgeek.com even has a coffee cup with vim cheat sheet :)13:20
RoyKhttp://www.thinkgeek.com/homeoffice/mugs/7bbe/13:21
RoyK"real sysadmins don't use nano"13:25
sw0rdfishoh!13:26
* RoyK er en EKTE sysadmin :D13:27
=== NG_ is now known as ng_
Refaelhola, am attempting to prove WAN ports open with "Loopback" if anybody can assist por favor14:02
Refaelthe system uses a DSL modem & ufw & the modem & Firewall have already proven configured14:03
sw0rdfishi'm reading the user management chapter in a linux book to handle my 10.04 LTS vps :)14:04
Refaelis there a Ubuntu 11.04 Server users manual?14:06
Refaelor a Networking manual?14:06
RoyK!guide14:07
ubottuThe Ubuntu server guide may be found at http://help.ubuntu.com/10.04/serverguide/C/14:07
RoyKchange the url to 11.04 to get the one for your version14:08
RoyKthat doesn't contain everything about linux, though, and I doubt such a document exist14:08
RoyKRefael: what sort of wan connection?14:09
Refaelwhat do you mean exactly RoyK?14:09
RoyKsw0rdfish: where did you get this VPS?14:09
RoyKRefael: is it a DSL connection?14:10
Refaelsi senor14:10
RoyKpppoe? pppoa? bridged?14:10
Refaelppoe14:10
RoyKso, have you setup pppd to handle it, or does the modem have a router to do this?14:11
Refaelpppd?14:11
Refaelnot certain14:11
RoyKcan you connect to the net from the server?14:11
RoyKif so, never mind :)14:11
Refaelit is a "Loopback" problem within the local network. the exterior IPAddress reflects the WAN is closed14:12
qman__loopback is alocal address and is pretty irrelevant to getting on the internet14:13
qman__maybe you want routeback?14:13
RoyK!routeback14:14
Refaelit is called "Loopback" according to OpenSim Grid developers14:14
Refaelit pertains hosting a Server, not simply surfing the net14:14
* RoyK has no idea what that might be14:15
Refaeland it actually pertains connecting a local Server Instance to a Robust Server Instance14:15
qman__routeback is when you need to route traffic in from one interface, back out that same interface14:15
qman__it's usually used as a workaround for letting applications set for external use work internally14:15
Refaelgo to page http://www.osgrid.org/index.php/regionconnect & you shall see your personal exterior IPAddress14:16
Refaelit is perhaps "Routeback" then14:16
Refaelthough they reference it to be called "Loopback"14:16
qman__for example, I have it set up so that when I ssh my external IP from inside my LAN, it gets routed back to my ssh server, instead of simply ignored14:17
Refaelnot exactly certain what you signify. that is kinda vague14:19
Refaelcan you describe what that is outside a private example?14:20
qman__ok14:20
RoyKRefael: what's your IP address?14:21
qman__so, you have a LAN with hosts, some servers and some clients14:21
Refael192.168.0.2514:21
qman__and then you have a router to the internet, which forwards ports to those servers14:21
uvirtbotNew bug: #789543 in samba (main) "package smbclient 2:3.5.8~dfsg-1ubuntu2.1 failed to install/upgrade: corrupted filesystem tarfile - corrupted package archive" [Undecided,New] https://launchpad.net/bugs/78954314:21
SlybootsIm curious, is there a way to install software in the install enviroemnt on ubuntu14:21
RoyKRefael: heh - you're behind a NATing router, then14:21
Refaelit is actually a modem, though ok14:22
Slybootsim setting up a SSD, heard that its best to use GPT because of partition alignment14:22
qman__and on the client from inside that same LAN, you want to connect to your website hosted on one of those servers14:22
qman__but you don't want to have to go to 192.168.x.x every time, you just want to go to mysite.com14:22
RoyKRefael: what's the IP reported on the server?14:22
RoyKby ifconfig14:22
qman__so you set up rules on the router which re-route the traffic from clients on the LAN back to servers on the LAN14:22
Refaelhttp://www.osgrid.org/index.php/regionconnect?14:22
RoyKRefael: just run 'ifconfig' on the server14:23
RoyKyour own server14:23
Refael76.242.191.014:23
Refael?14:23
RoyK.0?14:23
Refaelis what needs to report WAN14:23
RoyKwhat netmask?14:23
RoyKbut then - I guess your server is doing the NAT magick - iptables or just ufw? btw, does ufw have nat these days?14:24
qman__I think it does14:24
Refaeldoes it?14:24
RoyKit doesn't on 10.04, that's for sure14:24
Refaelperhaps the ufw needs to be configured14:24
qman__I have the routeback rule I use in iptables, but I don't know if/how you could do it in ufw14:24
RoyKyou have to hack that into iptables rules14:24
RoyKRefael: it's simple port forwarding in iptables14:25
Refaelhow is that configured?14:25
qman__$CMD -A FORWARD -o eth1 -d $IP -j ACCEPT14:25
qman__$CMD -A FORWARD -i eth1 -m state --state RELATED,ESTABLISHED -j ACCEPT14:25
qman__where $CMD is /sbin/iptables, $IP is your external IP, and eth1 is your LAN interface14:25
RoyKiirc something like iptables -t nat -I POSTROUTING -d 1.2.3.4 --dport 22 --to 192.168.x.x:2214:26
RoyKqman__: yeah, that's basic NAT setup14:26
RoyKerm - no - it's not :P14:26
Refaelcan you explain that with more clarity por favor?14:26
qman__yeah14:26
qman__it's a hack14:26
qman__but it gets the job done14:26
RoyKqman__: it doesn't do any NATing14:27
qman__nope, just routes14:27
qman__because it already knows how to route from the external IP14:27
RoyKyou'll need something like -j MASQUERADE for that14:27
qman__it just needs to know to do it form inside14:27
RoyKno... you'll need masquerading or some NAT rules14:28
qman__well, I have a standard masquerading setup already14:28
RoyKas in http://billauer.co.il/ipmasq-html.html14:28
qman__that's just the part that enables routeback14:28
RoyKok14:28
RoyKwhat exactly are you trying to achive with this "routeback"?14:29
RoyKjust allowing external machines to connect to your pc?14:29
qman__when I ssh qman.strangled.net from inside my LAN, it works14:29
Refaelam attempting to connect a local to external14:29
SlybootsSo.. anyone know how I can install something like PArted in the install enviroment?14:29
qman__just as it does from the rest of the internet14:29
Refaellocal server instance to external server instance14:29
qman__Slyboots, choose to drop to a shell, apt-get install parted14:30
Refaelthough the external server instance relates what the internal server instance displays & stores14:30
RoyKRefael: so long the connection is initiated from the inside, it shouldn't be a problem14:30
Slybootsqman__, Aye I tried that but it doesnt see apt-get as a valid command14:30
Refaelit needs to be "Routeback"14:30
RoyKthen wtf is routeback?14:30
Refaelwhen doing a nmap to the external address, it returns "closed"14:30
RoyKis it simply port forwarding?14:31
Refaelno14:31
qman__no, it works with port forwarding14:31
qman__but I'm not sure that's what he needs14:31
Refaelit is "looping" local to external to local to external14:31
Refaelit is14:31
qman__masquerading router with port forwards, from the internet you can access the server from one address14:31
Refaelthe OpenSim personelle just call it "Loopback"14:31
RoyKplease elaborate14:31
qman__routeback allows accessing that server from inside with the same address14:32
Refaeljoin OpenSim14:32
qman__something that doesn't normally work14:32
Refael:P14:32
qman__because the router drops the traffic, because it thinks the LAN should just pick it up14:32
Refaelok, a local Server Instance connects to a Exterior Robust Server14:32
Refaelso RoyK doesn't comprehend the scenario though wishes to dispute the resolve?14:33
Refael>.<14:33
qman__Slyboots, that's probably a busybox, choose recovery mode to get a full shell14:33
RoyKRefael: please, I would really like to help, but you haven't really explained how this is supposed to work14:34
Slyboots<, okay14:34
RoyK15:32 < Refael> ok, a local Server Instance connects to a Exterior Robust Server14:34
Refaelcan you research OpenSim a lil RoyK?14:35
RoyKRefael: no, I have more interesting things to do, sorry14:35
Refaelhave already explained the scenario14:35
Refaelwhat is it you do not quite comprehend par example?14:35
uvirtbotNew bug: #789548 in samba (main) "package samba 2:3.5.8~dfsg-1ubuntu2.2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1" [Undecided,New] https://launchpad.net/bugs/78954814:36
=== ng_ is now known as NG_
RoyKif it is routeback you need, it should work well, if not, there's a workaround with either the local hosts file or split-horizon dns14:36
Refaelif "Routeback" has not proven configured & nmap results closed port, then why should it work?14:37
RoyKif nmap results in a closed port, you probably need port forwarding at the router14:38
qman__yeah14:38
Refaelalready established actually14:38
qman__the port should be open from the internet whether or not routeback is configured14:38
Refaelthough am testing nmap on exterior address14:38
RoyKRefael: pastebin the config - iptables-save is good14:38
Refaeloutgoing address14:38
Refaelnot internal address14:38
RoyKRefael: so you nmap the external address from the internal network?14:39
qman__routeback is only a hack for internal access to internal resources from the external address14:39
RoyKif so, you need routeback14:39
Refaelyes, need routeback14:39
Refaelsi14:39
Refael*smiles*14:39
qman__well, the two lines I posted above work on top of a working masquerading, port forwarding firewall14:40
qman__not sure ufw is capable of it14:40
Refaelwhat is a working masquerading?14:40
qman__masquerading is also known as NAT overloading, or just NAT to some14:40
RoyKRefael: you probably have one already, since you can use the network like you do now14:41
qman__it is what allows you to share one internet IP with multiple devices14:41
RoyKRefael: if 76.242.191.0 really is your IP address, then you're not running Linux on that box :P14:42
sw0rdfishok so i want to add user sw0rdfish with admin privileges almost as root, i'd first do: groupadd admin14:42
RoyKsw0rdfish: nope, group admin exists already14:43
RoyKsw0rdfish: useradd -m sw0rdfish14:43
RoyKetc14:43
Refaelthat is what the external shows for14:43
sw0rdfishand then go to /etc/group and make it: admin:x:114:43
sw0rdfishright?14:43
RoyKthen edit /etc/group and add sw0rdfish to that group14:43
Refaelwhere else would external be displayed?14:43
RoyKRefael: pastebin 'ifconfig -'14:44
RoyKRefael: pastebin 'ifconfig -a'14:44
sw0rdfishroyk?14:44
qman__sw0rdfish, or 'useradd sw0rdfish admin'14:44
qman__err14:44
RoyKsw0rdfish: the group 'admin' exists already - installation created it. you just need to add your user to that group14:45
qman__'adduser sw0rdfish admin'14:45
Refaelhttp://pastebin.com/HEN2eSyq14:46
RoyKqman__: man adduser14:46
RoyKRefael: then you have a NAT router in the modem14:46
=== NG_ is now known as ng_
RoyKhttp://paste.ubuntu.com/614183/14:47
sw0rdfishoh14:48
sw0rdfishRoyK, how come adm is set like this: adm:x:414:52
sw0rdfishlevel 4 is high enough?14:52
RoyK4 is the group id14:52
sw0rdfishwhat if i move it to group sys:x:314:52
RoyKand adm is the wrong group, admin is right14:52
sw0rdfishoh right14:52
sw0rdfishi checked /etc/nano there is no "admin"14:52
Slyboots_22 hours to build the array.. jesus x.x14:52
RoyKsw0rdfish: edit /etc/group and add tou username at the end - the syntax is groupname:x:groupid:user1,user2,...14:53
RoyKsw0rdfish: pastebin /etc/sudoers14:53
qman__sw0rdfish, grep admin /etc/group14:53
qman__mine is 11214:53
sw0rdfishyou mean pastebinit14:54
qman__Slyboots_, that's nothing, my last array took three days to build14:54
RoyKsw0rdfish: that works as well14:54
RoyK!pastebin14:54
ubottuFor posting multi-line texts into the channel, please use http://paste.ubuntu.com | To post !screenshots use http://imagebin.org/?page=add | !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic.14:54
Slyboots_qman__, brutal14:54
Slyboots_WEll the reshape would take 5 days..14:54
Slyboots_So its a speed-boost14:55
Refaeldid everybody get the pastebin post?14:55
qman__did you adjust the kernel settings?14:55
RoyKRefael: which one?14:55
Refaelhttp://pastebin.com/HEN2eSyq14:56
Refaelifconfig -a14:56
RoyKRefael: yes, and as I told you, you're behind a NAT router14:56
Refaelyes14:56
Refaelthat is veritable14:56
qman__Slyboots_, /proc/sys/dev/raid/speed_limit_min and /proc/sys/dev/raid/speed_limit_max14:56
RoyKRefael: so you'll need to configure that to do forwarding for you14:56
Refaelit already is supposedly14:57
RoyKwhich port?14:57
qman__the port is closed, so either the router is not set, or your server isn't listening on the port14:57
RoyKmy nmap scan only shows port 113/tcp open14:57
Refaelthe forwarding is 9000 to 9010/tcp & /udp14:57
Refaelthen would not even be in IRC14:58
RoyKRefael: http://paste.ubuntu.com/614191/14:58
Slyboots_qman__, ?14:58
RoyKRefael: the IRC connection is initiated from the inside - no need for port forwarding to do that14:58
sw0rdfishroot ALL=(ALL:admin) ALL14:59
sw0rdfishis that right?14:59
sw0rdfishin /etc/sudoers14:59
qman__Slyboots_, http://www.cyberciti.biz/tips/linux-raid-increase-resync-rebuild-speed.html14:59
qman__of course in ubuntu you'll have to do it a little different, echo 200000 | sudo tee /proc/sys/dev/raid/speed_limit_min15:00
RoyKsw0rdfish: looks good, but then, grep ^admin /etc/group15:00
sw0rdfishok mate15:00
RefaelRoy, what does that signify then?15:01
Refaelalready ascertained the port is not open to the public for reasons not certain15:02
RoyKRefael: possibly that (a) you need a TCP/IP 101, or (b) the router isn't configured to forward those ports to anything that listens15:02
Refaelthought that was udp?15:02
RoyKhow did you configure the router?15:03
sw0rdfishheh i just added the group admin and added my user to it and to sudo and edited /etc/sudoers to have this:    root ALL=(ALL:admin:sudo) ALL15:03
RoyKdoes it have a fancy gui?15:03
RefaelRoyK, yes, it is a guifoo that uses internal address to forward ports, though not external15:04
RoyKsw0rdfish: the admin group should have been there in the first place - if not, add it, add your user to it, either in the file, or with 'usermod -G admin username'15:04
RoyKRefael: try adding a forward to port 22 to your server - so that we can see if that works15:05
sw0rdfish:)15:05
RoyKtcp, that is15:05
Refaelthe answer is right there. it does port forwarding to internal address, not the external15:05
RoyKsw0rdfish: in sudoers, you will want something like this '%admin ALL=(ALL): ALL'15:05
Refaelis the reason that routeback is necessary15:06
RoyKRefael: if so, that's something you'll have to do on the router, which AFAICT, is running OpenBSD15:06
Refael?15:07
Refaelthere really is no router15:07
RoyKRefael: do you know anything about RFC1918 IPs?15:07
RoyKhttp://en.wikipedia.org/wiki/Private_network15:08
Refaelthe modem suggests, "Turn NAT *off *on" & Port Forward "ports = ... to internal address"15:08
RefaelRoyK, not yet15:08
Refaelam willing to learn15:08
RoyKRefael: read up about that15:08
RoyK!rfc191815:08
RoyKread the wikipeda article above15:08
Refaelthe wiki article references such?15:09
RoyKRefael: or google for an introduction in IP addressing - with an address of 192.168.x.x, you will _never_ be able to reach the internet unless some router is doing NAT for you15:11
RoyKbeleive me on that15:11
=== ng_ is now known as NG_
RefaelRoyK, you are suggesting that the issue results from routing the internal IPAddress to .0.25 au lieu the .0.1 for the router?15:14
Refaelthought the result would be a IPAddress "Squatting" effect15:14
Refaelthere is a Router doing NAT15:15
RoyKRefael: it's just a NAT router doing its job15:17
RoyKRefael: you'll need to configure that15:17
RoyKRefael: and the NAT router is _not_ your linux machine15:17
Refaelcan you explain por favor?15:18
RoyKsw0rdfish: did you figure it out?15:18
RoyKRefael: I already did, several times15:18
RoyKRefael: use google - learn a bit about how IP routing works and what private IP addresses are and how they are used15:19
RefaelIt is common for packets originating in private address spaces to be misrouted onto the Internet. Private networks often do not properly configure DNS services for addresses used internally and attempt reverse DNS lookups for these addresses, causing extra traffic to the Internet root nameservers.15:19
RoyKRefael: so?15:19
Refaelis that the problem wherein the situation might be resolved to reconfigure the DHCP to multiple addresses?15:20
Refaelactually thought it would help to limit it to .0.2515:21
RoyKRefael: You have a NATing router in front of your server/pc. Also, keep in mind that you have a NATing router in front of your server/pc. Don't forget the NATing router, it's an OpenBSD thing. And no, you can't reach the internet from a private address, however hard you try15:21
Refaelso used .0.25 for the address, then .0.1 for the Gateway15:21
* RoyK gives up15:21
Refaelam using the internet ahora15:22
RoyKand that's a shame15:22
Refaelpor que?15:23
RoyKsorry, kid, but I can't do an entire IP 101 on IRC - google for it - learn how addressing works - then - when you're done - read it again15:24
Refaelsoy hombre verdadero15:27
Refaelwhat is RFC 1483?15:32
Refaelcould it potentially resolve the situation?15:32
RoyK"Multiprotocol Encapsulation over ATM Adaptation Layer 5" - if that can help you get through an unknown NAT gateway, then go ahead :)15:35
RoyKsw0rdfish: wb15:37
sw0rdfishthanks buddy15:37
RoyKsw0rdfish: where did you get this VPS?15:38
sw0rdfishbtw i'm not sure but i think i got hacked a few minutes ago15:39
sw0rdfishmy laptop shut off by itself and didn't wanna start again, i removed ethernet cable and power and externall hdd cables and then it accepted to power up haha15:39
sw0rdfishRoyK, uhhh15:39
sw0rdfishxchat2 :P15:40
RoyK:)15:40
sw0rdfishis my client version15:40
RoyKyou have to do something rather stupid to get a modern linux distro hacked15:40
RoyKsw0rdfish: download a fresh copy of chkrootkit from http://www.chkrootkit.org/ and compile and run it - it should find irregularities...15:41
RoyKif they exist, that is15:42
sw0rdfish:)15:43
sw0rdfishyes sir,15:43
sw0rdfishbooks like Beginning Linux Command Line15:43
sw0rdfishare good to get me started right?15:44
sw0rdfishto change passwd of a user i just go like passwd sw0rdfish?15:44
sw0rdfishwhile i'm logged in as root that is15:44
RoyKpasswd sw0rdfish15:45
sw0rdfishthen it sais15:45
sw0rdfishEnter new UNIX password15:45
RoyKyes15:45
sw0rdfishthats for sw0rdfish ?15:45
sw0rdfish:)15:45
RoyKyes15:45
sw0rdfishthanks15:45
RoyKit won't echo any characters while you type15:45
RoyKsw0rdfish: the one-liner for downloading and running chkrootkit is15:47
RoyKwget ftp://ftp.pangeia.com.br/pub/seg/pac/chkrootkit.tar.gz ; tar xzf chkrootkit.tar.gz ; cd chkrootkit-0.49/ ; mkae ; sudo ./chkrootkit -q15:47
RoyKwget ftp://ftp.pangeia.com.br/pub/seg/pac/chkrootkit.tar.gz ; tar xzf chkrootkit.tar.gz ; cd chkrootkit-0.49/ ; make ; sudo ./chkrootkit -q15:47
RoyKeven15:47
tohavaQuestion, does CUDA run on the new Amazon EC2 Ubuntu HVM image?15:48
RoyKtohava: I don't see why not - but I guess the best would be to ask Amazon15:50
RoyKHVMs suck, btw, i/o speeds are very low15:50
tohavaRoyK, mmm... any recommended IRC channel where I can ask them? Or should I just use the forum?15:50
RoyKdunno - I don't use Amazon, nor do I use Xen much anymore15:51
RoyKsomeone at ##xen might know15:51
Patrickdkheh? just select one of the gpu instance types15:52
tohavaPatrickdk, we're already using the one with amazon linux15:53
tohavawe are trying to find out if ubuntu works too or not15:53
tohavanaturally, we will be running on GPU instance15:53
Patrickdkshould be no difference15:53
Patrickdkbesides attempting to get the version of cuda you want, installed15:53
tohavaPatrickdk, that is it, the amazon linux comes with CUDA driver installed.15:54
RoyKPatrickdk: it may be a difference - redhat etc runs as PVMs, whereas ubuntu runs as a HWM15:54
tohavaI hope there won't be any problems with Xen when trying to install CUDA driver manually on ubuntu image15:54
PatrickdkI dunno that you can do gpu with pvm15:55
Patrickdklast I looked at it, wasn't possible15:55
RoyKwhy not?15:56
Patrickdkcause pvm doesn't emulate a full machine15:56
Patrickdkwhere with hwm you do pci passthough for the gpu15:56
RoyKyou can easily do pci passthrough with PVMs15:56
Patrickdkhmm? I thought xen didn't support at, atleast in 3.015:56
RoyKsorry - I may be wrong - I don't know Xen that well15:57
Patrickdkit's been awhile since I used xen, since I've been converting away from it15:57
RoyKanyway - I/O with a Xen HWM, tested with Ubuntu, certainly sucks rather badly15:57
Patrickdkbut I thought it was hwm only for passthough, maybe changed these days, but dunno how *updated xen* ec2 uses, doubt it's horribly new15:57
RoyKIMHO the HVM/PVM model is rather outdated16:08
sw0rdfishis should show like sw0rdfish@ip_address when i login to it right16:15
sw0rdfishfrickin weird, what's the big deal with everyone saying16:16
sw0rdfishi shouldn't use it as root16:16
RefaelHola, can a "Loopback" or "Routeback" be configured locally per the Network Connections utility?16:18
RefaelAm looking & referencing the ubuntu forum thread @ http://ubuntuforums.org/showthread.php?t=142903216:19
RoyKRefael: did you read up about IP yet? how it works?16:19
Refaelto a degree, yes16:19
RoyKgo on16:19
RoyKyou won't get anywhere without a router that can be configured16:19
Refaelhave not recieved a certificate for merit yet. Do you hand such out RoyK?16:19
sw0rdfishoh man16:19
sw0rdfishsw0rdfish, is using sh16:20
sw0rdfishi should've made it bash16:20
sw0rdfishright?16:20
RoyKchsh -s16:20
sw0rdfishgot no idea how to16:20
RoyKor vi /etc/passwd16:20
RoyKchsh -s /bin/bash sw0rdfish16:20
Refaeland am considering that the solution could be managed via the Network Connections utility, because the router is configured correctly16:20
Refaelit is the way the Router recieved the Static IPAddress manually configured for it16:21
RoyKRefael: did you get into this OpenBSD router of yours to configure it?16:21
Refaelsi amigo16:21
sw0rdfishheh16:22
sw0rdfishwhat was last thing i said?16:22
RoyKthis routeback must be configured in that router16:22
RoyKnot on linux16:22
RefaelRoyK, did you reference the forum page posted?16:22
RoyKin the router16:22
Refaelno16:22
Refaellook in the forum posting16:22
Refaelit is configured locally within Linux16:22
Refaelposteri or Priori the Router16:22
Refael*smiles*16:22
RoyKthat doesn't match the ifconfig output you posted16:23
sw0rdfishroyk sw0rdfish was set to be under sh shell, is that the reason when i login to it via ssh, i don't see sw0rdfish@ip_address like i did16:23
sw0rdfishwith root16:23
RoyKsw0rdfish: type 'last -10'16:23
RoyKand you should see logins with hostnames16:23
Refael# The loopback network interface16:24
Refaelauto lo eth0 eth116:24
Refaeliface lo inet loopback16:24
Refaelreferences a configuration with the Network Connections Utility16:25
RoyKwell, the pastebin output only showed eth016:25
sw0rdfishRoyK, well, for sw0rdfish its: sw0rdfish pts/0                    Sat May 28....16:25
Refaelit is because it was a ifconfig -a16:25
RoyKsw0rdfish: logging in locally on the console?16:25
sw0rdfishfor root its: root pts/0     226.3.....    Sat May 28......16:25
RoyKRefael: ifconfig -a shows all interfaces, configured or not16:26
sw0rdfishwell basically doing ssh sw0rdfish@ip_address16:26
sw0rdfish-p 2216:26
sw0rdfishbut then again 22 is default but yeah16:26
RoyKsw0rdfish: a typical line in last is like this16:26
RoyKroy      pts/0        140.109-247-20.c Sat May 28 13:29   still logged in16:26
RoyKpts/0 is just the terminal, the hostname follows16:26
sw0rdfishi should change the shell from sh to bash16:27
sw0rdfishright?16:27
RoyKif you want to16:27
RoyKchsh -s /bin/bash sw0rdfish16:27
sw0rdfishyeah for sw0rdfish there is no hostname16:27
Refaelhttp://pastebin.com/HEN2eSyq16:27
Refaelis the pastebin, & it displays lo as well16:27
RoyKthere is no eth1 there16:28
RoyKRefael: do you really have two network cards in this machine?16:28
Refaelwhat you are suggesting is you don't ascertain how to configure Network Connections to reflect a loopback, nor comprehend what a loopback is, since you suggest it is called a "Routeback"16:28
Refael& Ubuntu admin call it a "Loopback"16:29
RoyKRefael: it's a loopback device, distinctively different from the routeback we were talking about earlier16:29
* RoyK sends Refael back to school16:29
Refaelwell, the actual necessity is for a "Loopback" maneuver16:29
sw0rdfishRoAkSoAx, thanks a ton buddy16:30
sw0rdfishall is well :)16:30
sw0rdfishwohoo!16:30
sw0rdfishit was my own stupidity messing around :P16:31
RoyKsw0rdfish: did you mean RoyK ? ;)16:31
sw0rdfishi actually logged in to sw0rdfish from16:31
qman__sw0rdfish, /bin/sh is dash, so you probably want bash anyway16:31
sw0rdfishroot16:31
sw0rdfishand yes i mean RoyK16:31
sw0rdfishxchat getting me in trouble again!16:31
sw0rdfishlol16:31
sw0rdfishwell it didn't say anything, so how do i check if it changed to bash16:32
RoyKfinger username16:32
RoyKor just 'grep ^username /etc/passwd'16:32
sw0rdfishcool16:35
sw0rdfishyep it has been changed, sir16:36
RoyKwtf - trying to install snmpd on 11.0418:44
RoyK snmpd : Depends: libsnmp15 (>= 5.4.2.1~dfsg) but it is not going to be installed18:44
druciferreI am hoping someone can help me figure out why this is flooding my auth log:    CRON[17368]: pam_unix(cron:session): session closed for user root \n CRON[17782]: pam_unix(cron:account): could not identify user (from getpwnam(guest))18:45
uvirtbotNew bug: #789613 in amavisd-new (main) "package amavisd-new-postfix 1:2.6.5-0ubuntu2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1" [Undecided,New] https://launchpad.net/bugs/78961318:46
qronushello, i have a vps server with ubuntu 9.4 and i do not know how to upgrade; in #ubuntu they pointed me to https://help.ubuntu.com/community/EOLUpgrades but it does not seem to work (because of unmet dependencies)18:52
qronusany idea?18:52
sw0rdfishhow do i check the users currently logged in and online18:53
rewtsw0rdfish: sudo w18:54
awantiHi, i need some help to setup firewall for my office (plz. help i am not a linux expert). I am having 4 working pc one ubuntu server 10.04 running FTP and all pc are connected to shared internet.19:13
awantiMy server having 2 NIC card. Now i want to route the internet from my server19:14
qman__while that's not too difficult to do, I very, very strongly recommend against running FTP to the internet on said server19:17
qman__hosting FTP to the internet at all is a bad idea, but on your router it's even worse19:18
JanChosting FTP is okay for anonymous download access (although HTTP is probably a better solution for that)19:19
awantiactually i need to setup firewall and i want to share the internet.19:20
SpaceBassmy 5T eSATA is showing up as a 2T drive on my 11.04 system  ? manufacturer says I need "port multiplier support" enabled ? which doesn't sound right since the only port multipliers I know are hardward devices19:20
JanCfor a linux-newcomer it's probably best to use a specialized gateway distro19:21
qman__yeah19:21
qman__it's not that complicated, but doing it right requires significant knowledge of how IP works and some experience with what you need to guard against19:22
JanCebox/zentyal is an Ubuntu-based solution that can used as a gateway, but OpenWRT might be an option too...19:22
qman__SpaceBass, the device probably uses one eSATA port, and is, itself, a port multiplier19:22
qman__so your disk controller would need multiplier support19:22
SpaceBassqman__, ahhh that would make sense19:23
SpaceBassmy other option is usb 3.0, but when I plug it in, it starts sculling errors about a bad cable (tried 2 cables)19:23
SpaceBassassuming usb 3.0 is fully baked in 11.04, right?19:23
qman__not sure, but if your controller is showing up, probably19:23
qman__I'd look into which kernel versions added USB319:24
qman__and compare19:24
SpaceBassnote to self: using a drobo with linux is miserable19:24
qman__I thought drobo was supposed to be a NAS19:25
qman__with iSCSI or whatever, not eSATA or USB19:25
JanCUSB3 should work in 11.04 and even older versions IIRC19:25
qman__because if it's not, that sort of defeats the whole self-contained redundant storage deal19:25
SpaceBassqman__, thats the "elite" model19:25
qman__and you might as well just get regular boxes and drives19:26
SpaceBassJanC, thanks ? must be some kind of motherboard or device issue then19:26
SpaceBassits self contained and redundant? just not usable on linux19:26
JanCalthough "USB3 support" doesn't mean all USB3 controller chips are supported maybe19:26
qman__yeah, if it's a new USB chip, it may not yet be supported correctly19:27
JanClinux was the first OS to support USB3 BTW  ;)19:27
qman__for practical reasons, ubuntu's kernel lags behind the latest and greatest19:27
SpaceBassfigured what was the case19:27
monaDeveloperHi19:28
SpaceBassits entirely likely that this chipset is too new? although its an intel H6719:28
qman__well, you need the exact USB3 controller model, not just the board chipset19:28
monaDeveloperWhenever I try to login to an ec2 instance I just can do that once and after that I get Permission denied (publickey)19:29
qman__because intel doesn't bundle USB3 controllers in with their chipsets19:29
qman__or at least didn't, they may now19:29
JanC"The Linux kernel has supported USB 3.0 since version 2.6.31, which was released in September 2009." --> from Wikipedia19:29
SpaceBasslooking to see if I can determine which usb controller this thing is using19:33
SpaceBassEtron EJ168A19:34
qman__yep19:35
qman__new chip, no linux support as of 2.6.3819:35
SpaceBassseeing forum posts now19:36
SpaceBasshumm19:36
SpaceBassthinking new motherboard19:36
monaDeveloperhello19:36
monaDeveloperWhenever I try to login to an ec2 instance I just can do that once and after that I get Permission denied (publickey)19:59
monaDeveloperWhenever I try to login to an ec2 instance I just can do that once and after that I get Permission denied (publickey)20:13
annonehi all22:20
annonepeople, I can not choose between Debian and Ubuntu Server, but I am inclined to US. What about stability of US?22:22
annonewho can help me? and sorry for my english, I'm from Ukraine22:23
annoneanybody in there?22:25
annone)22:25
annonehey! peoples!22:27
annoneI NEED HELP!22:28
annonecan u help me?22:28
delinquentmedoes "chmod 400 keypair.pen" change a publickey file to a private?22:32
guntbertdelinquentme: no, certainly not22:32
delinquentmeguntbert, hmmm silly aws tutorials are telling me that it would22:33
guntbertdelinquentme: but it will protect your private key22:34
guntbertand so is a very important step22:35
delinquentmecheck. perhaps im using the wrong argument on my ssh command to specify a particular key?22:36
delinquentme"ssh -i specific_keyfile"22:36
guntbertdelinquentme: does ping work now?22:37
delinquentmeso i checked out the firewalls on AWS to ensure that i've got the correct ports .. however i've only got it spec'd out to use port 2222:38
delinquentmeand yeah pinged .. w 100% loss22:38
guntbertdelinquentme: I usually use ssh-agent on the client: ssh-add <path-to-private-key>, from then on ssh user@server22:39
delinquentmethat works.. asve for its denying me because public key22:41
guntbertdelinquentme: I beg your pardon?22:41
delinquentmeadd key with "ssh-add keyname"  returns "identity added xxx"22:42
delinquentmeand then ssh unf-ubu@aws.server.addy.com22:42
delinquentmeand permission denied (publickey)22:42
guntbertdelinquentme: then you didn't configure your server to accept key-based logins or you didn't place the public key into .ssh/authorized_keys22:43
dbgsterhi, I want to add a value to my /etc/hosts file via the command line, how can I add a record?22:43
delinquentmeguntbert, public key goes into .ssh/authorized_keys of the client ?22:44
guntbertdbgster: sudo <yourfavouriteEditor> /etx/hosts22:44
guntbertdelinquentme: no, on the server22:44
dbgsterguntbert: no I am creating a script to automate this, so I its un-manned22:44
guntbertdbgster: on a running system? that requires root permissions - not good from a script22:46
dbgsterit runs under root actually22:46
dbgsterits using the cloud config22:46
guntbertdbgster: in that case echo "text in the new line" >> /etc/hosts    ( important: >>    not    >   !)22:48
dbgsteri added to my hosts:  1.2.3.4 puppetm22:49
dbgsterwhere 1.2.3.4 is an ec2 ip address (public)22:49
dbgstershoudlnt':  ping puppetm work?22:49
delinquentmeguntbert, http://stackoverflow.com/questions/1454629/aws-ssh-access-permission-denied-publickey-issue  << think i got it22:50
guntbert!yay| delinquentme22:52
ubottudelinquentme: Glad you made it! :-)22:52
delinquentmeMUAHAHAH!22:57
* delinquentme owns amazon now22:57
dbgsterwhy would I use 10.04 lts over say natty?23:14
dbgsterits more stable?23:14
dbgster10.04 versus 11.xx23:14
qman__it's not a matter of stability so much as a matter of not having to upgrade every 6 months23:22
qman__less work, less changes23:22
=== unreal_ is now known as unreal
Slyboots_Hm23:37
Slyboots_Does anyone know if you can create several folders at once using mkdir?23:37
Slyboots_But folders that.. recurse? if thats the correct word23:37
Slyboots_IE, In a empty folder Create \home\user\Folder1\Folder2\Folder323:38
Slyboots_I've tried to google it, but I cant think of the correct way to phrase it23:39
shaunoSlyboots_: you're looking for mkdir -p23:50
Slyboots_Mm23:50
Slyboots_I tried another turn at google-fu, found the {folder,} command.. ish23:51
shauno-p will create the parents if they don't already exist.  so making /foo/bar should fail because /foo doesn't exist; with -p, it'll create /foo, then /foo/bar23:51
Slyboots_Cool, That'll make resetting up my server less of a pain in the ass23:52
shaunoman mkdir may explain it better .. I believe it's about the only option mkdir has :)23:52

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