[00:08] <djshotglass> aw snap
[00:09] <djshotglass> ubuntu-server doesnt detect either of my wifi cards
[00:10] <giovani> what chipsets are your wifi cards using?
[00:13] <djshotglass> Atheros and RaLink
[00:13] <giovani> uh, both should be detected
[00:13] <giovani> dmesg | grep ath
[00:14] <giovani> and lspci please
[00:14] <giovani> pastebin both
[00:14] <djshotglass> http://pastie.org/614977
[00:15] <giovani> there's no pci-based wireless card pluggedi n
[00:16] <djshotglass> lol there is defintly 2 pci wifi cards in the machine
[00:16] <giovani> djshotglass: there definitely aren't
[00:17] <djshotglass> want a picture?
[00:17] <maxb> 00:09.0 Network controller: RaLink RT2500 802.11g Cardbus/mini-PCI (rev 01)
[00:17] <giovani> the bios is either not presenting them
[00:17] <djshotglass> i just installed wireless tools and i have a wlan0 in iwconfig
[00:17] <giovani> oh, sorry, I was focusing on atheros
[00:17] <djshotglass> Atheros card isnt there though
[00:18] <giovani> isn't where?
[00:18] <djshotglass> in iwconfig
[00:18] <giovani> well that's probably because it's not recognized on your pci bus
[00:18] <djshotglass> :/
[00:18] <giovani> that's not linux's fault
[00:19] <maxb> giovani: check dmesg for anything relevant
[00:19] <maxb> oops
[00:19] <maxb> djshotglass: I mean you
[00:19] <djshotglass> ubuntu detected both cards, i chose ubuntu-server so i didnt have to mess around getting them to work lol
[00:20] <djshotglass> (wanted to move machine to a desktopless os)
[00:20] <giovani> what?
[00:20] <giovani> why would ubuntu-server prevent you from having to "mess around to get them to work"?
[00:20] <djshotglass> because ubuntu did :D
[00:20] <giovani> well the ralink card is working, by your own admission
[00:21] <giovani> I presume either your bios is wonky, the atheros card is dead, or it's not seated properly
[00:21] <giovani> it will show up in lspci if it's on the pci bus, and functioning properly
[00:21] <giovani> this is not an ubuntu/linux problem
[00:21] <djshotglass> so you keep saying
[00:22] <giovani> so you keep ignoring
[00:22] <djshotglass> why do you assume i was ignoring you
[00:22] <giovani> 19:19 < djshotglass> ubuntu detected both cards, i chose ubuntu-server so i didnt have to mess around getting them to work lol
[00:22] <giovani> comments like that imply that you think this is ubuntu-related
[00:23] <djshotglass> k i had ubunto installed everything worked great, installed ubuntu-server and now one card doesnt work
[00:23] <giovani> sigh
[00:23] <djshotglass> and this isnt relevent to ubuntu-server?
[00:23] <giovani> nope
[00:23] <djshotglass> give me some of your crack
[00:23] <giovani> other things happened in between
[00:24] <maxb> There is very little different between Ubuntu Desktop and Ubuntu Server that ought to affect basic hardware support like this
[00:24] <djshotglass> thats what i thought
[00:25] <djshotglass> why i chose it
[00:25] <maxb> What version?
[00:25] <djshotglass> 9.04
[00:25] <maxb> Hmm.
[00:25] <giovani> djshotglass: pastebin lsusb
[00:25] <maxb> I wonder if any of the atheros related modules are even loaded
[00:25] <maxb> lsmod | fgrep ath
[00:26] <giovani> maxb: why would they be? they'd show up in dmesg
[00:26] <maxb> oh, point
[00:26] <giovani> and lspci would have to show the card if it's pci-based and recognized by the system
[00:26] <giovani> there's an easy way to put his mind to rest though
[00:26] <giovani> he can boot the ubuntu livecd and run lspci then
[00:45] <djshotglass> guess pci slot 1 is fooked moved card to 3 and they both showed up
[00:45]  * djshotglass repents
[00:50] <giovani> ohh
[00:50] <giovani> surprise surprise :)
[00:53] <djshotglass> hmm
[00:53] <djshotglass> http://pastie.org/614998
[00:53] <djshotglass> now i cant ping google
[00:54] <djshotglass> im such fail today
[00:54] <djshotglass> eth0 is my lan router, wlan0 is ap1 wlan1 is ap2, ap 1 and 2 belong to friends 1 and 2
[00:55] <djshotglass> i can ping the ap's
[00:57] <djshotglass> if i jump on the aps with my laptop i can ping this machine
[00:58] <djshotglass> and the net works when im on the ap with the latop
[00:58]  * djshotglass grawls
[01:02] <giovani> you need to specify the interface you want ping to use
[01:02] <giovani> or remove some of your default routes
[01:02] <giovani> you shouldn't have 3
[01:03] <djshotglass> i was
[01:03] <djshotglass> ping google.ca -I eth0
[01:04] <djshotglass> ping google.ca -I wlan0
[01:04] <djshotglass> ping google.ca -I wlan1
[01:04] <djshotglass> none work
[01:04] <djshotglass> how do i remote the wlans from default routes
[01:04] <djshotglass> dhclient added them :/
[01:04] <giovani> well what's the error when you run those commands?
[01:06] <djshotglass> root@uber-slurpr:/home/dex# ping google.ca -I eth0
[01:06] <djshotglass> PING google.ca (74.125.91.104) from 10.0.0.5 eth0: 56(84) bytes of data.
[01:06] <djshotglass> just hangs there
[01:06] <djshotglass> foreva
[01:06] <giovani> ok, traceroute a specific ip
[01:06] <giovani> like that one
[01:08] <djshotglass> dont have traceroute installed
[01:08] <giovani> alright, are you sure that your routers allow icmp through?
[01:15] <djshotglass> i know eth0 does
[01:15] <djshotglass> as i am on it right now and can ping
[02:51] <djshotglass> apt doesnt have iproute2 or iproute :/
[02:53] <djshotglass> o nvm apears to already be installed
[02:54] <djshotglass> http://lartc.org/howto/lartc.rpdb.multiple-links.html
[02:54] <djshotglass> trying to do this with my 2 wifi cards
[02:55] <ball> djshotglass: are the links in different directions, or are you trying to use more bandwidth than your LAN supports on a single link?
[02:55] <djshotglass> lol 2 different aps on 2 different modems
[02:56] <ball> modems?
[02:57] <djshotglass> i dont know what it means by IP network ($Pn_NET)
[02:57] <djshotglass> yes, cable modems
[02:59] <ball> ok
[03:10] <ball> djshotglass: are they far apart?
[03:14] <djshotglass> yes
[03:14] <ball> ...in different directions?
[03:14] <djshotglass> yes
[03:14] <ball> That may help
[03:15] <djshotglass> what does it mean by IP network ($Pn_NET)
[03:17] <ball> Looks like an environment variable, but without knowing more about what you're doing, I shouldn't guess.
[03:31] <djshotglass> lol
[03:31] <djshotglass> http://lartc.org/howto/lartc.rpdb.multiple-links.html
[03:31] <djshotglass> i dont know what it means by IP network ($Pn_NET)
[03:49] <djshotglass> or why you asked me 101 questions about my situation when you have no idea either :p
[03:49] <djshotglass> thanks anyway
[04:22] <ball> djshotglass: hang on, I'll have a look at that link.
[04:24] <ball> djshotglass: looks pretty straightforward to me. $Pn_NET means one of $P1_NET or $P2_NET
[04:28] <ball> djshotglass: I've considered a similar arrangement.
[04:30] <ball> ...with satellite Internet to back up a DSL line.
[04:30] <ball> ...ideally I'd route things like file transfers through the satellite link leaving DSL free for VoIP, VNC etc.
[04:30] <ball> ...but have it configured so that if either link goes down, all the traffic can be routed through the one that's working.
[04:32] <djshotglass> I know $Pn_NET means one of $P1_NET or $P2_NET rofl as i made up $Pn_NET refering to $P1_NET and $P2_NET
[04:32] <djshotglass> im asking what a "IP network" is
[04:32] <djshotglass> or what that page means by "IP network"
[04:32] <ball> djshotglass: if you don't know, then you should have someone else set this up... or perhaps sit through a short TCP/IP tutorial.
[04:33] <djshotglass> i know my tcp/i[p
[04:33] <ball> ...basically it's part of (or an implication of) an IP address.
[04:33] <djshotglass> a range?
[04:33] <ball> yes, sort of.
[04:33] <djshotglass> example of a ipnetwork
[04:33] <ball> The workstation I'm sitting in front of is 192.168.2.99
[04:33] <ball> ...with a netmask of 255.255.255.0
[04:34] <djshotglass> 192.168.2.0/8?
[04:34] <ball> The IP network is 192.168.2.0
[04:34] <djshotglass> ah ;0
[04:34] <ball> (not /8)
[04:34] <djshotglass> ic
[04:34] <giovani>  /8? wtf?
[04:34] <djshotglass> 8 bits
[04:34] <djshotglass> a byte
[04:34] <giovani> no ...
[04:34] <djshotglass> (0-155)
[04:34] <ball> djshotglass: no.
[04:34] <djshotglass> 255*
[04:34] <giovani> please don't pretend you know how CIDR notation works
[04:35] <djshotglass> please dont be a fucking ass hole
[04:35] <ball> djshotglass: I could have written 192.168.2.99/24
[04:35] <giovani> a netmask of 255.255.255.0 is a /24 network
[04:35] <djshotglass> im asking a question
[04:35] <ScottK> giovani: There are more appropriate ways to make the point.
[04:35] <ball> (24 bits of *this* IP address is for the network)
[04:35] <giovani> you said "i know my tcp/i[p"
[04:35] <ball> *but*
[04:35] <ball> the Network itself is 192.168.2.0
[04:35] <ball> (with no /24)
[04:36] <ball> 99 is the node portion of my IP address.
[04:36] <djshotglass> http://pastie.org/607132
[04:36] <djshotglass> the extent of my tcp/ip knowledge
[04:36] <djshotglass> wrote that the other night
[04:36] <djshotglass> i didnt say i was a fucking guru
[04:37] <ball> Can we stop cussing at each other and get on with the job in hand?
[04:37] <giovani> I suggest you read up on CIDR notation
[04:37] <ball> Sorry giovani, I don't think you cussed.
[04:37] <ball> anyway.
[04:38] <djshotglass> anyway. thats all i needed to know
[04:38] <djshotglass> ty
[04:38] <ball> You're welcome.
[04:38] <ball> I'll extend your question though.
[04:39] <ball> On Linux, what software would I use to achieve the traffic shaping that I described?
[04:39] <ball> (and the failover)
[04:40] <giovani> technically nothing other than the built-in routing functions in linux for the failover
[04:40] <ball> giovani: does the built-in routing software have a name?
[04:41] <giovani> no
[04:41] <giovani> it's not software
[04:41] <giovani> it's part of the kernel
[04:41] <ball> Everything that's in the kernel is software ;-)
[04:41] <giovani> i.e. the tcp/ip stack, that is used to handle the routing of your packets to interfaces normally
[04:41] <giovani> ball: it's not (add-on) software
[04:41] <giovani> it's part of the linux kernel
[04:42] <giovani> you can set multiple routes
[04:42] <ball> Does it have the ability to route traffic to a given interface depending on its type?
[04:42] <giovani> and then set timeout values
[04:43] <ball> s/to a/through a/
[04:43] <djshotglass> iptables probably does
[04:43] <ball> djshotglass: thanks.
[04:45] <djshotglass> where you live to be cursed with sat net
[04:46] <giovani> actually I think the Qos stuff isn't handled by iptables/netfilter
[04:46] <giovani> it's handled in-kernel though
[04:46] <giovani> you can configure it using tc
[04:46] <ball> djshotglass: I'm not, yet, but I have considered it as a fall-back to DSL
[04:46] <ball> (if I'm ever in a position where I need a redundant link)
[04:46] <djshotglass> i had to use it in camp when i was drilling in mayo yukon
[04:46] <djshotglass> 100kb/s, 1gb a month limit
[04:46] <djshotglass> 2000ms ping
[04:47] <djshotglass> shit was epic fail
[04:47] <ball> djshotglass: you can see why I wouldn't want VoIP or VNC going out over that
[04:47] <djshotglass> impressive for what it was
[04:47] <ball> ...the round trip to space ;-)
[04:47] <djshotglass> but not ideal home conneciton :P
[04:48] <giovani> yeah, the traffic classifier isn't part of netfilter
[04:48] <giovani> (i.e. iptables)
[04:49] <djshotglass> http://www.ssi.bg/~ja/nano.txt i didnt get to read it all yet nor do i understant what i did read completely, was taking a shot in the dark with iptables as i seen some of it used there
[04:50] <djshotglass> bed
[04:50] <djshotglass> night
[04:50] <djshotglass> thx again
[06:56] <cemc> if I were to use virtual_transport = dovecot, do I have implicit support for quota in postfix too ? without patching postfix ?
[10:03] <drurew> Im looking for a command similar to "scp" however different in function, I need to a push file, anyone have any ideas
[10:04] <drurew> *to push a file
[10:36] <erichammond> drurew: scp and rsync can both pull and push.
[10:52] <ghostlines> anyone know any good c/c++ programming channels?
[11:33] <domas> ghostlines: #c is awesome for C :)
[11:33] <domas> anyone is doing profile-guided package rebuilds?
[12:54] <roodyk> hello . How to make shell user with process Limit? in ubuntu server. help pliz. I need make user with 2 bg process
[12:56] <twb> roodyk: edit /etc/security/limits.conf ?
[12:58] <roodyk> like: @student        hard    nproc           20
[12:58] <roodyk> like: student        hard    nproc           20
[12:58] <twb> I don't know.
[12:58] <twb> There should be a manpage.
[12:58] <roodyk> ok thanks
[12:59] <domas> crap, ubuntu php5 package removes ./configure line from phpinfo output
[13:00] <twb> domas: apt-get source php5?
[13:05] <domas> twb: of course, but we're running custom package with custom ./configure line ;-)
[13:06] <twb> Ah, well.
[13:06] <domas> I'm rebuilding now to use gcov profiles
[13:07] <domas> have to backtrack all the changes others did, commit to our svn, and then get back to my custom build
[13:08] <IRConan> hi there. I have a machine running ubuntu-server, I want to make it get everything except DNS servers from DHCP, how do I do this?
[13:10] <domas> I guess you can set that up in dhclient configuration
[13:17] <twb> Correct.
[13:17] <twb> Tell /etc/dhcp3/dhclient.conf to supersede the name-servers.
[13:17] <twb> Or, of course, tell your DHCP server not to supply that field
[13:18] <cemc> I'm playing aroud with ipv6 autoconfiguration and radvd. are there any ipv6 tools to see who's on the network? or some good howto
[13:19] <twb> cemc: that's probably outside the scope of this channel... maybe there's a networking channel that knows all about ipv6
[13:53] <cemc> twb: good point ;)
[15:09] <heath|otg> Hello, can quotas work over NFS shares?
[15:10] <domas> at server-side, yes
[15:10] <giovani> well the quota is handled on the file server
[15:12] <heath|otg> I'm running virtualmin and would like to put the /home dir on my nfs server but keep quotas.
[15:12] <heath|otg> I'm just having a hard time finding docs on the subject
[15:13] <giovani> I'm unclear on what you want documentation for exactly
[15:13] <giovani> the NFS server maintains the quotas on its filesystem ... the files are just exported over NFS
[15:13] <giovani> there's no configuration
[15:13] <giovani> other than setting up the quotas as normal
[15:14] <heath|otg> giovani: the quotas will be set up through Virtualmin, not the nfs server if I have read everything correctly. Maybe I need a custom script to push the quota commands to the nfs server?
[15:16] <giovani> heath|otg: you're not being clear, I don't know what virtualmin is ... nor how it relates to quotas, nor what "pushing quota commands to the nfs server" is
[15:19] <heath|otg> giovani: I'm really just trying to figure out how other systems now what there quota limits are from the NFS server
[15:19] <heath|otg> I found it: rpc.rquotad
[15:19] <giovani> ok, finding out your quota limits is not the same thing as setting them, and where they apply -- the latter is what you originally asked about
[15:20] <giovani> but yes, rquotad is the daemon used for that
[15:21] <heath|otg> thanks
[15:33] <DizzyDoo> Hi, setting up my new Ubuntu Server installation to connect statically, rather than by using DHCP. I've made what I think are the correct changes in /etc/network/interfaces and ifconfig works okay, but I'm not sure what to put under 'nameservers' in /etc/resolv.conf, anyone tell me, I'm quite the networking-newbie
[15:50] <DizzyDoo> no matter what I seem to set it to, typing ping www.google.com gets me nowhere
[15:52] <pmatulis> DizzyDoo: put in your ISP's nameserver
[16:22] <cemc> how do i add an ipv6 address to an existing eth0 which also has an ipv4 address, how do I edit /etc/network/interfaces?
[16:36] <RoyK> cemc: vi /etc/network/interfaces is a good way to edit that file
[16:39] <cemc> RoyK: :) I ment what do I need to put in the file so I get both ip addresses on the same interface
[16:49] <domas> hehe, sysadmin quiz: would 80M-sized /usr/bin/php with all debugging symbols be slower than stripped 6M binary? :)
[16:53] <ScottK> domas: Yes.  The question is will it be enough to make a difference.
[16:54] <domas> meh, ScottK has been sane before as well :)
[16:54] <domas> scottk: no difference, to be exact
[16:55] <domas> kernel doesn't read dwarf section
[16:55] <ScottK> Well it'll be slower to start at the very least.
[16:55] <domas> scottk: it won't
[16:55] <ScottK> Likely not enough to care.
[16:56] <ScottK> It doesn't all get read off of disk once?
[16:56] <domas> loader/kernel doesn't read debug section at all
[16:56] <domas> nope, it doesn't
[16:56] <domas> ;-)
[16:56] <ScottK> Interesting.
[16:59] <domas> hmmm, should try to get my packages compiled in 32-bit-pointer-size mode, using additional x86_64 registers
[17:07] <diogo_79> hi guys
[17:07] <diogo_79> i have gopenvpn install
[17:07] <diogo_79> i have configured the dnmasq.conf nameservers
[17:08] <diogo_79> but when the update-resolv-conf file is call the resolv.conf file is not update
[17:08] <diogo_79> i dont know why
[17:08] <diogo_79> can some one help me
[17:08] <diogo_79> ?
[19:19] <dawkirst> Double post from #ubuntu: I'm running Ubuntu server 8.04 in a virtual machine (VirtualBox) and I'm trying to install lamp-server with sudo tasksel install lamp-server, the tasksel configuration remains at 0%. Any clues?
[20:01] <mm__202> Question, Im setting up a new server with RAID1, should the swap partition be logical or primary? :S
[20:01] <mm__202> Or does it even matter?
[20:02] <jmarsden> mm__202: It won't really matter, but if you have the choice, keep it simple and make it a primary partition
[20:02] <ikonia> mm__202: doesn't matter
[20:02] <mm__202> okay, thanks guys.  I figured as much, but just wanted to make sure.
[20:03] <graphic> Yo, I'm using the package "webcam" but I dont want it to use FTP or SSH, just stick the files in a directory locally, the man page is really really unhelpful
[20:04] <ikonia> ok
[20:05] <jmarsden> graphic: webcam is specifically intended for use where you want to upload the images... you could probably set it to upload to localhost as a workaround :)
[20:06] <mm__202> Guys, one more question, it is worth setting up a swap partition in RAID1?  The only reason I ask is if its being used on the two seperate drives and one of the fails than that swap data is gone.
[20:06] <graphic> Thats what I was doing, but I would want to do it through SSH since I'm forcing everyone who uses this server to use SFTP and dont have FTP set up any way. The problem with that is it prompts for a password every time it uploads a new image
[20:08] <graphic> And I want it to run as a daemon - I have the daemon script set up and it works fine except for always prompting for a password.
[20:09] <graphic> is there another package I could use? I like this one because it has very few dependencies and doesn't come with a lot of extra junk I don't need
[20:09] <jmarsden> graphic: Set up a special account for it and an ssh keypair with an empty passphrase
[20:09] <jmarsden> For alternatives see what   apt-cache search webcam     shows up... it's not an area I know much about to be honest :)
[20:10] <graphic> jmarsden: I tried that but I must have fowled up the process somehow do you know a good tut for the keypair thing?
[20:10] <graphic> jmarsden: I have a "webcam" user already set up for that
[20:11] <mm__202> jmarsden / ikonia:  The swap partition, should it be part of the RAID (1)?  Or what is the usual rule-of-thumb for that?
[20:12] <jmarsden> graphic: Just do it :)    Log in as webcam, and run     ssh-keygen
[20:12] <graphic> okay, but don't I need to more than just that?
[20:13] <jmarsden> mm__202: I don't know if there is a convention for that, either way (part of RAI1 or not) will work fine.  Put it inside the RAID1 if you have the disk space, I suppose, so swap can work even if one disk dies.
[20:13] <mm__202> jmarsden: okay, thank you.
[20:13] <jmarsden> graphic: The usual thing, copy the ~/.ssh/id_dsa.pub into ~/.ssh/authorised_keys (hope I got all the filenames right there)
[20:15] <graphic> huh
[20:16] <jmarsden> graphic: Here is a forum post, but I've never used a tutorial for that :)
[20:17] <jmarsden> http://ubuntuforums.org/archive/index.php/t-30709.html
[20:17] <jmarsden> graphic: You can test whether it works by doing ssh webcam@localhost
[20:18] <graphic> jmarsden: I did that, it works if I'm logged in already as webcam but not from any other user - plus this has to run as a daemon so really shouldn't I need to copy the key somewhere else?
[20:21] <jmarsden> If the daemon is running as webcam, you are all set.  if it is running as root you could copy  ~/.ssh/id_dsa to (for example) /root/.ssh/id_dsa as long as root has no existing keypair
[20:21] <graphic> how do I switch what user is running webcam?
[20:21] <graphic> Im using the init.d script
[20:21] <graphic> skeleton
[20:21] <jmarsden> graphic: How are you starting the daemon..
[20:21] <jmarsden> OK.  Let me look at that...
[20:22] <garymc> anyone in th euk here?
[20:22] <garymc> the uk *
[20:22] <garymc> Ive got a BT hgv2700 business router and the udp ports dont seem to be working to well
[20:23] <jmarsden> graphic: Hmm, webcam doesn't actually come as a daemon... did you create your own init script?  if so can you pastebin it somewhere so i can see it?
[20:23] <garymc> ive opened all the ports i need but my sip device doesnt seem to work and when i use nmap to check the ports they say closed?
[20:23] <graphic> yeah 'ang on
[20:24] <jmarsden> garymc: I'm not in the UK but do the relevant ports appear open if you nmap scan them from inside the firewall/router?
[20:24] <garymc> no
[20:24] <garymc> tcp ports work well but udp show as closed?
[20:25] <garymc> could it be these routers?
[20:25] <jmarsden> Then by definition they won't show up as open via the router's port redirection either :)
[20:25] <jmarsden> if you are scanning within the local LAN, the router is not in the picture...
[20:25] <garymc> so how can you tell if the ports are open?
[20:25] <garymc> im ssh ing to my servers from home
[20:25] <garymc> ssh works great but the UDP ports required for SIP calls dont seem to work
[20:26] <graphic> jmarsden: http://pastebin.com/d6b8d26d7
[20:26] <jmarsden> nmap scan the SIP server device, from a machine that is inside the router/firewall device you are trying to configure.
[20:27] <garymc> yeah i just need to check the ports are open on the router
[20:27] <garymc> i think
[20:29] <garymc> so will portforward check website not check the ports correctly?
[20:29] <garymc> I put the ip addy in i want to check the ports on
[20:29] <garymc> It tells me my port 80 22 and 21 are open
[20:29] <jmarsden> garymc: I have no idea what portforward website might do.  You have a Ubuntu machine on that subnet, so use it to test with :)
[20:29] <garymc> as soon as i put in 5060
[20:29] <garymc> im a newbie and not sure how to do that
[20:30] <jmarsden> graphic: That script has no obvious way to run the daemon as anything other than root.
[20:30] <garymc> not sure of the best way
[20:30] <graphic> Yeah thats what I figured
 garymc: I'm not in the UK but do the relevant ports appear open if you nmap scan them from inside the firewall/router?
 no
[20:30] <jmarsden> Did you actually do this, or did you just guess "no" ??
[20:31] <ftherese> hello, I am in a situation where one of my users on one server cannot access the internet
[20:31] <graphic>  jmarsden: I think the best way would be to just copy that key to the roots keys, however I do not know where that is, since everything on Ubuntu is sudo done
[20:31] <garymc> i used an Nmap -v -o ip addy port unumber thingy
[20:31] <garymc> in the CLI
[20:31] <graphic> there's no "root" in /home/
[20:31] <jmarsden> graphic: the home dir for root is /root
[20:31] <graphic> os
[20:32] <ftherese> why would one single username be blocked from the internal network and from the internet?
[20:32] <jmarsden> graphic: so sudo cp -p ~webcam/.ssh/id_dsa /root/.ssh/id_dsa     # should do it
[20:33] <jmarsden> ftherese: Seems unlikely unless you have a router/firewall that can talk to the server and determine who owns which connections... which is rare.
[20:33] <jmarsden> ftherese: If you create a new user on that same server the same commands (wget or lynx or whatever) work fine?
[20:34] <ftherese> Jmarsden: the old users work fine, but I haven't tried creating a new user
[20:34] <aubre> I'm trying out karmic's version of Eucalyptus, I'll be testing images tomorrow
[20:34] <guntbert> ftherese: do you have access to that account? so we could do some testing?
[20:34] <jmarsden> ftherese: OK... so then this comes down to what is different about the one blocked user.
[20:35] <ftherese> jmarsden: I have also deleted the user account that was problematic and recreated it and still no dice
[20:35] <ftherese> jmarsden: I have universal access
[20:35] <aubre> anyone going to Atlanta Linux Fest / Ubucon ? hope to meet some server-oriented people there
[20:35] <graphic> jmarsden: haha that worked but I don't think that webcam was meant to be run as a daemon
[20:35] <ftherese> jmarsden: I am setting up the servers and working towards deployment
[20:35] <jmarsden> ftherese: OK.  What is the command you are trying to check for Internet access?  wget http://example.com
[20:37] <ftherese> jmarsden: Connection to example.com| 208.77.188.166|:80
[20:37] <ftherese> jmarsden: and it sits there
[20:38] <jmarsden> But the exact same thing as user users is fine?  This is very odd behaviour...
[20:38] <jmarsden> *as other users
[20:38] <ftherese> jmarsden: I had installed and deleted a squid proxy server, and I am afraid that there is a piece hanging aound
[20:38] <jmarsden> Ah... OK.  We need to check all the proxy variables... wait a sec...
[20:39] <ftherese> jmarsden: but the problem is on a different computer from the server where the proxy was installed...
[20:39] <ftherese> jmarsden:  The setup is 4 servers
[20:39] <ftherese> jmarsden:  Serving ltsp
[20:39] <jmarsden> ftherese: At some point did you set up the server with the user account on it to use the proxy?
[20:40] <ftherese> jmarsden: all four servers have a "user" account login and a "salledelectures" login, besides the admin login that is proper to each one
[20:40] <jmarsden> ftherese: See whether  (as the user with the issue)    set | grep proxy    shows any proxy-related environment variables set
[20:41] <ftherese> jmarsden: I had intenede to set up a proxy server to block internet access
[20:41] <ftherese> jmarsden: to only the user salledelectures
[20:41] <ftherese> jmarsden: and after deleting that, salledelectures is able to acces the network and internet on three out of four
[20:42] <ftherese> jmarsden: the set |grep proxy returns nothing
[20:42] <jmarsden> So on the fourth, it seems, something is configured to still try to use the (now nonexistent) proxy... I am guessing.
[20:42] <jmarsden> OK.
[20:42] <ftherese> jmarsden: right
[20:42] <ftherese> jmarsden: the other users are fine on that computer
[20:42] <ftherese> jmarsden: I have even wiped completely the offending account and recreated it
[20:43] <ftherese> jmarsden: with the same problem
[20:43] <ftherese> jmarsden: Once, when recreating the account I changed the uid to 1003 when it was originally 1002
[20:43] <ftherese> jmarsden: and it started working
[20:44] <ftherese> jmarsden: and then just as suddenly stopped again
[20:44] <jmarsden> then it could be something in a config file that has that username in it?  Does    grep -r salldelectures /etc  show you anything relevant -- any unexpected config files with the name in it?
[20:45] <heath|otg> I have enabled quotas on a NFS server. How do I view and set the quota information from a client computer?
[20:45] <ftherese> jmarsden: that's it I think
[20:46] <ftherese> jmarsden: there was a moment when I was trying to use linux firewall
[20:46] <jmarsden> heath|otg: ssh to the NFS server and use edquota ?
[20:46] <ftherese> jmarsden: and there is a pre-up entry that I must have left there in/etc/network/interfaces
[20:47] <ftherese> jmarsden: oops
[20:47] <jmarsden> ftherese: OK, sounds like we found it :)
[20:47] <guntbert> jmarsden, ftherese: I still suspect a proxy setting - to rule that out ftherese please try telnet www.whatever.you.want 80 please - it should give "connected to..."
[20:47] <guntbert> ftherese: forget me then :-)
[20:48] <ftherese> guntbert: good suggestion, somebody tried to help me yesterday and gave that suggestion
[20:48] <ftherese> guntbert: what happens there is that iptables just drops the requests made by the user
[20:49] <ftherese> guntbert: but since I only verified the clearing of iptables by looking at webmin, the setting I had added by hand was not visible
[20:49] <jmarsden> ftherese: And your pre-up entry was adding those firewall rules?
[20:49] <guntbert> ftherese: :-) - yes that seems to be clear
[20:50] <ftherese> jmarsden: Yeah, I guess I just assumed that clearing it through webmin and seeing it cleared would have done the trick
[20:50] <jmarsden> ftherese: OK.  I'd trust the command line tools far more than I'd trust a web based app for system administration...  Anyway, we found it and it is now all fixed, right?
[20:51] <ftherese> jmarsden: yup iptalbles -F and I am back on track
[20:51] <jmarsden> Good :)
[20:51] <guntbert> ftherese: 2 points though: 1) webmin is no longer supported on unbuntu; 2) if you use it for firewall settings you can tell it to display the actual working config instead of that from some file
[20:52] <ftherese> guntbert: yeah, I noticed that it is no longer supported by ubuntu, but it helped me psychologically when I had to face the monolith of configuration options
[20:53] <ftherese> But I actually had another problem with squid, and I finally gave up
[20:53] <guntbert> ftherese: thats why I made point (2) :-)
[20:53] <ftherese> guntbert: good point
[20:53] <ftherese> guntbert: :)
[20:53] <guntbert> !info fwbuilder if you want a GUI for your firewall
[20:54] <guntbert> !info fwbuilder  | ftherese  if you want a GUI for your firewall
[20:54] <ftherese> guntbert: thanks, I'll take a look
[20:54] <ftherese> !info fwbuilder
[20:55] <graphic> Hey does & force a process into the background?
[20:56] <guntbert> graphic: yes (but no force is applied)
[20:57] <graphic> okay so if I did &webcams /path/to/conf I'd get my console back while webcam does its thing?
[20:57] <heath|otg> jmarsden: thanks
[20:57] <giovani> graphic: you append "&" with a space to the end of the command
[20:58] <giovani> i.e. "/path/to/application --some --switches /and/a/config &"
[20:58] <graphic> ohs
[20:58] <graphic> Alrighty then
[21:05] <ftherese> guntbert: it says there is a new version available... and the version of fwbuilder I have in front of me looks a little rough
[21:06] <guntbert> ftherese: let me look
[21:06] <ftherese> guntbert: should I download the newest version, or does the default one in the repository work jsut fine?
[21:06] <graphic> whats the command to open another terminal in linux?
[21:07] <ftherese> graphic: what kind? a graphical one?
[21:07] <graphic> Oh no I mean if you have an SSH session open
[21:08] <graphic> hmph it used to be like Alt+1 or Alt+F1 on minix
[21:08] <ftherese> graphic: ok, sorry, I don't know
[21:09] <guntbert> ftherese: 3.0.2 seems fairly recent - you can have a look at http://www.fwbuilder.org/docs/firewall_builder_packages.html and http://ubuntulinuxhelp.com/getting-started-with-firewall-builder/
[21:09] <ftherese> guntbert: I triple clicked on it, and it crashed
[21:09] <ftherese> guntbert: I'm going to take a look at the newer version if there is one
[21:10] <guntbert> graphic: if you have only ssh access there is no GUI, but you can tunnel X for (single) apps
[21:11] <guntbert> ftherese: I never used it on #ubuntu, but it takes a little reading... (rather than installing the latest, I guess :-))
[21:12] <jmarsden> graphic: On a linux desktop, ctrl-alt-f1 gets a text mode console, up to ctrl-alt-f6.  ctrl-alt-f7 gets you back to the GUI (if there is one).  Inside an ssh session, I would use screen to get multiple shell sessions.
[21:12] <mdz> graphic, I think you're looking for byobu or screen
[21:12] <ftherese> guntbert: is it centered around iptables?
[21:13] <guntbert> ftherese: it is able to manage several filter/firewall backends, one of them is iptables
[21:14] <ftherese> guntbert: nice, ok
[21:14] <guntbert> ftherese: have fun :-)
[21:14] <killemall> good afternoon
[21:15] <killemall> do you know a freenode channel where I might get some advice on recovering a partition
[21:15] <mushroomblue> killemall: probably ask in your distro's channel.
[21:17] <killemall> this is my distros channel :) I used clonezilla, and accidently clone sda1 to sda2, instead of sda1 to sdb1
[21:17] <killemall> maybe i should post at the clonezilla forums, and go from there
[21:29] <soren> killemall: If it copied everything from sda1 to sda2, you're not going to get what was on sda2 before back.
[21:29] <killemall> hi thanks for the reply
[21:29] <killemall> sda1  was 35GB parition, with only 5 GB of data on it
[21:30] <killemall> sda2 was 100GB parition, with 90GB of data on it
[21:30] <killemall> i dont 'think' clonezilla uses dd for this action, becuase the cloning of the parititon process with really quite fast
[21:31] <killemall> i wondered if maybe i should just do a quick format of sda2 and then try some recovery software? man im so lost on this one
[21:31] <killemall> i just posted over at the clonezilla forums as well,
[21:32] <soren> You're going to get much more qualified help over there, I imagine.
[22:24] <graphic> Hey if I start a process in the back ground like "make something-that-will-take-four-days &" how can I log out and have that task continue?
[22:24] <heath|otg> um... that should do it I think
[22:24] <soren> graphic: "nohup make something-that-will-take-four-days &"
[22:25] <graphic> Yes but then if I log out it will kill the task no?
[22:25] <soren> graphic: And then log out.
[22:25] <graphic> awesome
[22:25] <soren> graphic: some things don't need it, but adding nohup will make sure it keeps running after you log out.
[22:26] <graphic> got nohup: ignoring input and appending output to `nohup.out'
[22:27] <soren> Yup.
[22:30] <graphic> soren: Another question, does anyone know a good command linen tool that can just take a snap shot from a webcam if given a specified device like "camcmd /dev/video0"?
[22:32] <soren> "apt-cache search" suggests vggrabj
[22:32] <soren> Sorry, vgrabbj
[22:35] <graphic> cool, do you know how hard it would be to write something in C++ to grab an Image from a webcam? Got a school project, using a web cam to determine if there are open parking spaces in one of the parking lots behind my school. I'm writing what actually analyzes the two images in C++ with a alittle help from Magick++ but I dunno how to take the snap shot in C++ cant really find good info on it
[22:38] <graphic> (parking is an annoying problem at my school)
[22:39] <soren> The interface is called v4l, but it's not really on-topic for this channel.
[22:40] <graphic> Oh hmm guess I should look there
[22:40] <graphic> Know a good channel about Linux Programming?
[22:43] <soren> Not really.
[22:43] <soren> Not a general one.
[22:43] <soren> I'd find one that deals with v4l.
[22:43] <soren> like #v4l
[22:46] <graphic> thats true
[22:47] <graphic> I might just wimp out on that part until the more important stuff is taken care of
[22:56] <heath|otg> Anyone ever used quota remote commands?
[22:56] <graphic> THE HALLOWEENIES
[22:57] <graphic> no I haven't though heath|otg
[23:19] <SineDeviance> hi, i want to run ubuntu server 9.04 and i want to set it up with a basic gui (like lxde) and have it autologin so i can admin it entirely through vnc. is this possible?
[23:24] <tsrk> SineDeviance, you shouldn't need autologin for that
[23:24] <tsrk> just use a vnc that creates a new session
[23:25] <SineDeviance> tsrk, i can do that? cause yeah i'd need to admin this system entirely over remote. it's a laptop with a busted keyboard/touchpad, and a cracked screen. the only thing that works is the power button :D so yeah i don't want to have to hook up a keyboard and mouse every time i need to change something
[23:26] <tsrk> well generally you'd want ssh for that, but if you want a gui vnc should work fine
[23:26] <SineDeviance> eh sorry about that
[23:26] <tsrk> or if you can do *some* shell, you could "ssh -X" which will let you type things like "gedit" to get the window locally but running remotely
[23:27] <SineDeviance> okay. well, assume i install ubuntu server and setup a gui how i want. how would i setup vncserver to make a new session?
[23:28] <SineDeviance> uh, for reference right now i'm running this server on winxp pro and using winvnc to admin it. yeah, don't laugh :D
[23:28] <SineDeviance> i have it set to autologin so i don't even have to type my pass
[23:29] <tsrk> https://help.ubuntu.com/community/VNC/Servers#tightvncserver
[23:29] <tsrk> TightVNC creates a new session by default
[23:29] <tsrk> that's what i've used
[23:29] <SineDeviance> tsrk, ahh, cool. thanks!
[23:29] <tsrk> you shouldn't need any of the extra configuration stuff
[23:30] <SineDeviance> okay
[23:30] <SineDeviance> one more question
[23:31] <SineDeviance> in the ubuntu-server repos, will i still have access to packages for gui stuff? like xubuntu or blackbox or somesuch?
[23:35] <jmarsden> SineDeviance: The repos are the same.
[23:36] <jmarsden> SineDeviance: However, once you add a GUI to a Ubuntu Server install, you don't really have a Ubuntu Server any more, so asking for help on the GUI aspect of your custom setup here in #ubuntu-server is unlikely to get you a lot of help.
[23:36] <jmarsden> Ah, he left already?