[00:00] <jmedina> ?
[00:00] <orudie> trying to set up an email account from hom e
[00:14] <orudie> brb
[00:24] <orudie> man... cant establish connection to outgoing smtp server
[00:24] <orudie> it was working fine i dont get it
[00:31] <orudie> how do i tail a log ?
[00:37] <hads> tail /log/file
[00:39] <orudie> http://pastebin.com/m119240e8
[00:39] <orudie> all the sudden getting this error when trying to send mail using outlook
[00:40] <NetSkay> ugh whats up with the lagg
[00:41] <jmedina> orudie: orudie did you change someting in postfix?
[00:41] <orudie> nothing
[00:41] <orudie> 0
[00:41] <orudie> shit...
[00:41] <orudie> sorry for the language
[00:42] <jmedina> orudie: try thunderbird
[00:42] <orudie> i tried
[00:42] <orudie> same thing
[00:42] <jmedina> orudie: paste more lines from the log
[00:42] <orudie> i would really like to observe the tail of the log
[00:43] <orudie> tail mail.log shows a few lines , but rerurns back to bash
[00:43] <orudie> returns
[00:43] <jmedina> orudie:
[00:43] <jmedina> use tail -f /var/log/mail.log
[00:43] <jmedina> and dont close that
[00:44] <orudie> ok
[00:48] <jmedina> orudie: what is your domain name?
[00:48] <jmedina> I cant help you test with telnet :D
[00:51] <orudie> hey
[00:51] <orudie> not telnet
[00:51] <orudie> jmedina, pm
[00:56] <mrbull> managed to remap keys outside of X. can't believe it was so simple and i was overlloking it.
[00:57] <mrbull> if anyone needs to do it, just run "dumpkeys > ~/yourkeymap; vim ~/yourkeymap" and then after that just do a loadkeys yourkeymap
[01:03] <twb> Or sensible-editor :P
[01:08] <mrbull> twb, let's not get into that discussion :P
[01:08] <twb> mrbull: well, on your system it would run vim.
[01:12] <mrbull> twb: well, vim comes as default, even if stripped down...
[01:13] <hads> If you know you want vim then it's much easier to type.
[01:14] <twb> Well, "ed" is even easier, especially on qwerty
[01:16] <chriszf> Question. Is there another way to configure samba besides /etc/samba/smb.conf?
[01:16] <jmedina> chriszf: nop
[01:16] <jmedina> there are graphic interfaces
[01:16] <jmedina> a lot
[01:16] <Alex_21> Is Apache's HTAccess turned on by deafault?
[01:16] <Alex_21> In 8.04?
[01:17] <chriszf> jmedina: I'm just curious what the right click->share folder mechanism uses, because it doesn't do anything in the /etc/samba directory.
[01:17] <jmedina> chriszf: I dont know, dont use ubuntu desktop
[01:18] <jmedina> ubuntu server doesnt have click->share
[01:18] <chriszf> Yeah, I know it's kinda the wrong place, there's just a lot of noise in the #ubuntu channel.
[01:18] <chriszf> Thanks, though.
[01:19] <jmedina> chriszf: so what is the problem?
[01:19] <twb> chriszf: that uses some funky gnome thing that I don't fully understand.
[01:19] <jmedina> it is really easy create shares in samba
[01:19] <jmedina> well that is GNOME :D
[01:19] <chriszf> jmedina: Oh, I used it to make a share initially, then I dropped gnome, and I'm trying to reconfigure it.
[01:21] <mrbull> chriszf: have you checked samba's section in the server guide? http://help.ubuntu.com/community/SettingUpSamba
[01:21] <mrbull> oops, that's actually in the community section, but end result is the same
[01:22] <chriszf> mrbull: yeah, it's the usual 'edit smb.cnf', '/etc/init.d/samba reload' stuff. The mystery here is where my share is actually defined.
[01:22] <chriszf> It's not in smb.conf.
[01:23] <mrbull> chriszf: in the conf itself as a section named as how you want it to appear in the network
[01:23] <mrbull> for example: [all_my_illegal_mp3s]
[01:23] <chriszf> mrbull: Right. I think I didn't explain it correctly.
[01:23] <mrbull> then inside you define its path and permissions.
[01:23] <chriszf> I created a share with the graphical nautilus bit.
[01:23] <mrbull> ok
[01:23] <chriszf> And it exists and serves up files
[01:24] <chriszf> BUT it doesn't put an entry into smb.conf
[01:24] <chriszf> Now I want to change it, and I'm not using nautilus, but I can't find where the heck it's configured.
[01:24] <mrbull> have you tried "locate smb" in the terminal?
[01:25] <mrbull> maybe it's somewhere else
[01:25] <chriszf> Yeah, I haven't tried that yet.
[01:25] <twb> I think you want the nautilus-share package.
[01:25] <twb> Description: Nautilus extension to share folder using Samba Nautilus Share allows you to quickly share a folder from the GNOME Nautilus file manager without requiring root access.
[01:25] <twb> Homepage: http://gentoo.ovibes.net/nautilus-share/
[01:25] <twb> chriszf: have a look at the /usr/share/doc files, and other files (dpkg -L) for that package.
[01:26] <chriszf> Ah, that looks promising.
[01:26] <mrbull> http://ubuntuforums.org/archive/index.php/t-780709
[01:26] <mrbull> ah crap
[01:26] <jmedina> ah it uses net usershare :D
[01:26] <mrbull> my other computer, from which i was copying the link for a discussion on nautilus-share went to sleep on its own
[01:27] <jmedina> it was introduces in 3.0.23
[01:27] <jmedina> introduced
[01:27] <chriszf> Ah, excellent.
[01:27] <jmedina> you can use "net usershare" as normal user
[01:27] <jmedina> and you dont requiere root access
[01:27] <mrbull> http://ubuntuforums.org/archive/index.php/t-780709.html
[01:28] <chriszf> Perfect. That's exactly what I needed. Thanks,  folks.
[01:30] <jmedina> another happy customer
[01:30]  * jmedina goes out, time to real work
[01:31] <mrbull> twb: on the "sensible editor" comment... i just had to reconfigure $EDITOR to vim as hitting v on vi mode for bash was popping nano. nano is NEVER sensible.
[01:31] <jmedina> mrbull: you can use alternatives
[01:32] <mrbull> jmedina: am i about to be preached? :P
[01:32] <mrbull> i'm not joining the church!
[01:32] <chriszf> mrbull: I think he means update-alternatives
[01:32] <jmedina> yeap
[01:32] <mrbull> oh
[01:32] <chriszf> And not.. uhh. emacs.
[01:32] <chriszf> Which is like, a blight on humanity.
[01:32]  * mrbull feels embarrassed
[01:33] <chriszf> Haha.
[01:33] <jmedina> mrbull: dont worry, I dont understand "preached" meaning :S
[01:33] <twb> mrbull: haha, nano is rated higher than vim
[01:33] <mrbull> emacs would probably be great with a foot pedal
[01:33] <twb> mrbull: I didn't know that
[01:33]  * jmedina goes to dictionary
[01:33] <chriszf> mrbull: I think it might also work with a throttle control and maybe some overhead switches.
[01:34] <mrbull> chriszf: and beer goggles or a beer helmet
[01:34] <twb> http://www.emacswiki.org/emacs/FootSwitches
[01:34] <twb> http://www.emacswiki.org/emacs/GamePad
[01:34] <mrbull> twb: GamePad? lol
[01:35] <twb> Specifically, http://www.emacswiki.org/emacs/EmacsVersor is a way to run Emacs using a gamepad or other device with limited inputs.
[01:35] <jmedina> last year I was with Stallman in the same car, he doesnt need a footwitch
[01:35] <jmedina> footswtich
[01:35] <jmedina> neither a gamepad
[01:35] <jmedina> well he doesnt use X at all
[01:35] <twb> jmedina: that's because he is so good
[01:35] <mrbull> i can imagine a power emacs user wearing those datasomething one-per-hand keyboards, foot pedals and beer goggles
[01:35] <twb> datahands
[01:36] <mrbull> yeah
[01:36] <chriszf> Haha. Does he have beard tendrils to handle the key combinations?
[01:36] <twb> I expect his beard is a symbiotic lifeform
[01:36] <mrbull> well, i guess i COULD use footswitches as esc/ctrl for vim
[01:36] <twb> There's also http://www.emacswiki.org/emacs/EmacSpeak
[01:36] <twb> ...which is Emacs for the visually impaired.
[01:38] <TimReichhart> Hi I am needing help on configuring Exim4 using google as smtp
[01:38] <mrbull> honestly i have to say i never did give emcas a try as most ssh sessions i connect to don't have emcas installed. plus, i find it ugly. but the last remark is just to piss twb off :P
[01:38] <mrbull> the emcas typo wasn't though
[01:38] <mrbull> that's bad typing
[01:38] <twb> mrbull: only people who actually know Emacs can truly hate it.  You merely dislike it.
[01:38] <twb> mrbull: /msg fsbot salespitch
[01:39] <goofey> twb: lol
[01:39]  * mrbull is wearing a tinfoil hat
[01:39] <twb> TimReichhart: do you just want to forward mail to an upstream smarthost?
[01:39] <mrbull> twb: you won't convert me
[01:39] <twb> I don't want to
[01:39] <mrbull> i'm shielded
[01:39] <twb> Emacs is like the dark side: powerful and corrupting.
[01:39] <TimReichhart> yes if i can do that twb
[01:40] <hads> And bad.
[01:40] <twb> Slowly it takes over your system, so that one day CTCP VERSION rcirc on GNU Emacs 23.0.91.1
[01:40] <twb> TimReichhart: in that case I recommend you just use msmtp instead of a full-blown MTA.
[01:40] <twb> TimReichhart: an example /etc/msmtprc is http://twb.ath.cx/Preferences/.msmtprc
[01:41] <twb> TimReichhart: note that gmail requires you to supply it a username and password, unlike (probably) your ISP's smarthost.
[01:41] <TimReichhart> so can you please tell me how to use my isp for doing that?
[01:42] <twb> TimReichhart: you just supply your ISP's FQDN instead of mail.gmail.com, or so.
[01:42]  * jmedina has spanish instructions for postfix
[01:42] <TimReichhart> well would it be like this mail.hometowncable.net
[01:42] <twb> TimReichhart: if you look at the file I linked you to, you can see there is "internode" and "internode-nocrypt" there, which are ISP smarthosts.
[01:42] <twb> TimReichhart: that depends on your ISP, you need to ask them
[01:43] <TimReichhart> well that is the outgoing email server address
[01:43] <twb> TimReichhart: that's probably what you want.
[01:43] <TimReichhart> but when I tried that first time I got rejected email
[01:44] <twb> That'll be because you misconfigured things.
[01:44] <TimReichhart> well i am using nagios3 so how would i switch that to what your saying?
[01:45] <twb> nagios3 should just send mail using /usr/sbin/sendmail, which is provided by whatever MTA you are using.
[01:45] <TimReichhart> well nagios3 came with exim
[01:45] <twb> Er, no it doesn't.
[01:46] <twb> Installing nagios3 will probably for *an* MTA to be installed, which *by default* will be exim4.
[01:46] <TimReichhart> yep
[01:46] <TimReichhart> that is what im using
[01:47] <TimReichhart> all i am looking to do is send out email
[01:47] <twb> Regarding the smarthost settings, you should find something like this on your ISP's website: http://www.internode.on.net/support/guides/email/secure_email/
[01:48] <TimReichhart> well I know the my isp email server outgoing email server address
[01:50] <twb> Then the next step is to attempt to inject mail into it directly using netcat.
[01:50] <twb> e.g. "nc mail.foo.com smtp", which will open a connection, then "HELO" and the rest of the protocol.
[01:51] <TimReichhart> so can you guide me how to reconfigure the exim
[01:51] <twb> If it doesn't accept your connection, then you know your connection details are wrong.
[01:51] <twb> TimReichhart: no, because we don't know if your details are right yet.
[01:51] <TimReichhart> what is netcat?
[01:51] <hads> Google will tell you.
[01:52] <TimReichhart> i just did but im not understanding its saying
[01:53] <twb> TimReichhart: do "sudo aptitude install netcat"
[01:54] <TimReichhart> it said its already installed
[01:54] <twb> OK, so what FQDN and port is your ISP's smarthost?
[01:54] <chriszf> netcat is the best tool ever.It will make you feel like a hacker.
[01:54] <twb> chriszf: ahem; socat.
[01:55] <TimReichhart> well its my isp server is mail.hometowncable.net port 25
[01:55] <twb> TimReichhart: OK, so do "nc mail.hometowncable.net smtp"
[01:56] <TimReichhart> I did that and here what I got : 220 mail.hometowncable.net ESMTP IceWarp 9.1.0; Thu, 19 Mar 2009 21:56:08 -0400
[01:57] <twb> TimReichhart: OK, good.
[01:57] <twb> Now into that connection, do "HELO Fred".
[01:58] <twb> It should say helo back.
[01:59] <TimReichhart> i got 500 command unrecognized "HELO Fred"
[01:59] <TimReichhart> 5.5.1*
[01:59] <twb> Hmm, that's odd.
[01:59] <twb> As for me, I get "550 5.7.1 Permission Denied"
[01:59] <TimReichhart> nvm I had "" in there
[02:00] <jmedina> TimReichhart: try with "ehlo domain.com"
[02:00] <twb> jmedina: that's not necessary for a basic test.
[02:00] <jmedina> HELO is for SMTP and EHLO for ESMTP
[02:00] <jmedina> twb: ok
[02:00] <twb> OK, so we have established that there is an MTA there and it's listening to you, and will probably accept mail.
[02:00] <orudie> jmedina, hi
[02:00] <twb> TimReichhart: this is good enough to configure exim4.
[02:01] <twb> TimReichhart: now do "sudo dpkg-reconfigure exim4-config", IIRC.
[02:01] <TimReichhart> so how do I configure the exim then
[02:01] <twb> Note that in general I would recommend postfix or msmtp (according to need) rather than exim4.
[02:01] <twb> For your case I can't be bothered to argue for them, though.
[02:02] <orudie> jmedina, so if i cant telnet from home, that means i cant even work on it ?
[02:02] <TimReichhart> alright what option do i pick? mail sent by smarthost by via stmp or mail sent by smarthost  no local mail
[02:02] <twb> orudie: you really ought to use either ssh or (if you're abusing telnet) netcat, not the telnet protocol.
[02:03] <twb> TimReichhart: the former, I think.
[02:03] <twb> TimReichhart: you want a "satellite", some configuration screens call it
[02:04] <TimReichhart> when i did that reconfigure first comes up with that  mail sent by smarthost by via stmp or mail sent by smarthost  no local mail
[02:09] <TimReichhart> any ideas?
[02:11] <Alex_21> Is Apache's HTAccess turned on by deafault?
[02:11] <Alex_21> In 8.04?
[02:14] <Alex_21> I mean .HTAccess files
[02:15] <Alex_21> In the Apache configuration
[02:15] <TimReichhart> alright i got it resetup and i sent a test message to my account and still didnt get it
[02:19] <TimReichhart> you still there twb?
[02:21] <twb> Yes.
[02:22] <twb> TimReichhart: look in /var/mail for non-zero files, error messages will probably appear there.
[02:25] <TimReichhart> alright twb I dont see any errors in there
[02:26] <TimReichhart> but I dont see the test message when I sent it to my gmail account
[02:26] <twb> Shrug.
[02:27] <twb> There's no much else I can do.  You probably want to talk to your ISP's tech support, and to people who use exim4.
[02:29] <TimReichhart> what should I ask when I speak to my isp tech support?
[02:30] <twb> TimReichhart: you tell them what MTA you're using, how you configured it, the test mail you tried to send, and that it didn't arrive.
[02:30] <twb> TimReichhart: but I expect they will probably tell you to fuck off and install Windows.  YMMV, etc.
[02:31] <twb> I can't really be bothered to help on this anymore.
[02:31] <TimReichhart> what do you mean you cant be bothered to help?
[02:32] <twb> It means you're on your own now.
[02:36] <NetSkay> lol
[02:36] <NetSkay> thats was funny
[02:36] <NetSkay> sorry
[02:44] <orudie> whos around ?
[02:47] <twb> !anyone > orudie
[02:47] <TimReichhart> just remember netskay when he say that to you
[02:47] <TimReichhart> then it would be more funny
[02:47] <twb> TimReichhart: hmm?
[02:54] <orudie> is there a way to change the port number of smtp server ?
[02:55] <twb> orudie: yes.
[02:55] <orudie> twb, is it even wise to do that ?
[02:55] <twb> orudie: generally it is unwinse.
[02:55] <twb> *unwise.
[02:56] <twb> orudie: the most common case I can think of is trying to run an MTA when the ISP specifically blocks port 25 and provides no way to enable it.
[02:56] <orudie> twb, this is exactly my situation
[02:57] <ScottK> orudie: Changing it won't help.  Even if you talk to a different port, no one will be listening.
[02:57] <twb> ScottK: unless you futz things around, which is usually not worth the effort.
[02:57] <twb> orudie: in that case I would normally recommend either getting a business-grade connection (which is good for other reasons), or to farm off your MTA service to a VPS or colo or similar.
[02:58] <twb> The kind of domestic accounts that typically block port 25 aren't the kind you want to run an MX on anyway.
[02:58] <orudie> my MTA is on a VPS
[02:59] <ScottK> If you want to relay via a different port to your MTA on a VPS, that's quite doable.
[02:59] <twb> orudie: if port 25 is blocked on your VPS, then that's almost certainly something you can call your provider and ask to have changed.
[03:00] <orudie> port 25 is blocked by my isp, i installed ubuntu server 8.10 and postfix/dovecot on a VPS
[03:01] <twb> OK, maybe we're using the term "VPS" differently.
[03:01] <orudie> cant authenticate to smtp server on port 25 from my isp which is blocking it
[03:01] <orudie> virtual private server ?
[03:01] <twb> To my mind, a VM is something your run on your own box.  A VPS is something you rent from a company in some datacenter, and you don't deal directly with an ISP.
[03:01] <orudie> yes, i rent a VPS from linode
[03:02] <twb> OK, so the misunderstanding is with regards to what's being blocked.
[03:02] <orudie> port 25 by my home's isp
[03:02] <twb> Are you trying to connect from your home ISP *to* port 25 at linode?
[03:02] <orudie> yeah
[03:03] <twb> OK, then the filthy hack way would just be to use a port forward or tunnel or listen on a different port at linode.
[03:04] <orudie> hmmm
[03:04] <twb> e.g. you configure postfix at linode to listen to port 587 (which it probably already does), and then you configure your MTA or MUA at home to send to that port instead of 25.
[03:05] <twb> I don't know if submission (587) is routinely blocked by jackass ISPs
[03:05] <orudie> i think it is too :(
[03:05] <twb> Obviously a better solution would be to switch to an ISP that is less retarded, thereby punishing your current ISP and rewarding good behaviour.
[03:05] <twb> orudie: OK, so pick something else again
[03:06] <ScottK> I run a mail service and I've only had a customer have 587 blocked once.
[03:06] <ScottK> And that was in a hotel.
[03:06] <twb> For hotels you probably want to just give up and use a VPN anyway
[03:06] <orudie> how can i find out if my server is configured to listen to on port 587 ?
[03:06] <ScottK> The reasons to block 25 don't at all apply to 587, so it's probably OK.
[03:06] <twb> orudie: attempt to connect to it (with netcat).
[03:06] <ScottK> orudie: What MTA?
[03:07] <twb> 14:03 <orudie> port 25 is blocked by my isp, i installed ubuntu server 8.10 and postfix/dovecot on a VPS
[03:07] <ScottK> Postfix it's easy enough.
[03:07] <twb> You can also run "postconf" to see what the settings are.
[03:07] <ScottK> The standard main.cf has a 'submission' service commented out that you just need to uncomment and restart postfix.
[03:08] <twb> I wonder why it's not on by default
[03:08] <orudie> lemmi try something ... where should i start ?
[03:08] <ScottK> You'll also probably want SMTP Auth (which is covered in the Ubuntu Server guide)
[03:08] <twb> submission always struck me as an obvously good idea
[03:08] <ScottK> Look in the server guide.
[03:08] <orudie> ScottK, smtp-auth is set up
[03:08] <orudie> ScottK, i followed the guide entirely
[03:09] <ScottK> Then it should be just a matter of uncommenting the submission service in master.cf.
[03:09] <ScottK> (I mistakenly said main.cf the first time)
[03:09] <ScottK> If you have a firewall you'll need to open that port too.
[03:10] <orudie> postfix/error[2872]: 0970F8049: to=<cdi@mts.net>, relay=none, delay=132641, delays=132641/0/0/0.01, dsn=4.3.0, status=deferred (mail transport unavailable)
[03:13] <orudie> anything on this ?
[03:14] <twb> Sorry, nope
[03:15] <orudie> actually
[03:15] <orudie> uncommenting the submission service in master.cf worked very well :)
[03:17] <orudie> thanx boys
[03:20] <orudie> i was stuck for good amount of hours on this
[03:20] <orudie> :)
[03:20] <orudie> i even called my ISP to tell them WTF they blocking my port 25 for
[03:25] <twb> orudie: there's a good reason to make 25 blocked by default
[03:26] <orudie> so i should block it ?
[03:26] <orudie> i'm talking about the server's side
[03:27] <twb> ISPs block port 25 by default because otherwise their customers can become zombie spammers
[03:27] <orudie> should i make it stop listening on port 25 ?
[03:27] <orudie> oh
[03:27] <twb> But it should still be opt-in, so that smart people like us can say "yes, please let me run postfix on my Debian network"
[03:29] <orudie> my isp unblocks ports 25, 80 if you subscribe to the web hosting package for an additionaly 15/month
[03:30] <twb> BTW, can I make SMTP run over UDP?
[03:31] <ScottK> There's good statistics that blocking port 25 outbound is a win for ISP spam control.
[03:31] <ScottK> twb: No.
[03:31] <orudie> my point is you can unblock it for 15/ month
[03:32] <orudie> i guess thats worth it for spammers ?
[03:33] <twb> orudie: you misunderstand.
[03:33] <twb> orudie: the spammers gain control of Windows users' machines
[03:33] <twb> orudie: the spammers don't actually own the connection they're using, so they can't pay more money to unblock a port
[03:33] <orudie> oh yeah
[03:33] <orudie> thats right
[03:34] <orudie> i know a guy who is an idiot spammer
[03:34] <twb> So basically opting in to having an open port 25 means that you are taking reponsibility for not becoming a spambot.
[03:34] <orudie> imbeds some stupid mailers into the torrents
[03:35] <twb> orudie: you should report him to the appropriate local authorities
[03:35] <orudie> heh
[03:35] <twb> What he's doing amounts to organized crime.
[03:35] <orudie> i know him for very long time
[03:36] <twb> That doesn't stop it being wrong.
[03:36] <orudie> true but i'm not gonna report him
[03:37] <^law^> guys, i have ubuntu server in my laptop vmware n conected to host only( my laptop), my laptop is connected to interned via pcimca modem card, how can i share the internet connection to my ubuntu server, can help me ?
[03:40] <orudie> ^law^, which host OS ?
[03:40] <orudie> ^law^ which guest OS ?
[03:40] <orudie> god damn your nick
[03:40] <^law^> host is winxp
[03:41] <^law^> my laptop os win xp , n i have ubuntu-server in vmware
[03:41]  * ScottK suspects your odds go up with a less annoying nick.
[03:41]  * ScottK is headed to bed anyway.
[03:42] <orudie> did you use bridged networking ?
[03:43] <^law^> no i use host only
[03:43] <twb> ^law^: permaplonk, until you change nick
[03:43] <orudie> ^law^ change your nick will ya ?
[03:43] <orudie> get rid of the ^^
[03:43] <^law^> oh
[03:43] <^law^> ok
[03:44] <^law^> wait
[03:45] <orudie> trying to be creative ?
[03:45] <orudie> :)
[03:47] <achou> yo i changed oledy
[03:47] <achou> my nick
[03:47] <mrbull> achou: lol
[03:48] <achou> hi mrbull
[03:49] <mrbull> hey ^law^
[03:51] <achou> my vmware ubuntuserver connected to my laptop with host only option , n my lptop connected to internet via pcimca modem , then i wanna share the internet connection with my vmware ubuntu server, how to do tat ?
[03:51] <achou> XD
[03:53] <orudie> achou, vmware desktop ?
[03:53] <achou> hmm the 1 i installed is called vmware server
[03:53] <orudie> achou, which version of vmware did you install  ?
[03:54] <achou> 1.04
[03:54] <orudie> achou, were you able to install guest OS ? ubuntu server you said right ?
[03:55] <achou> ya
[03:56] <achou> i oledy installed the ubuntu server in my vmare
[03:57] <orudie> look in the settings of your networking in vmware server
[03:59] <achou> then?
[03:59] <achou> i set it to connect to host only
[04:00] <orudie> what options you see there
[04:00] <orudie> one of them should say bridged
[04:00] <orudie> what do the other say
[04:02] <achou> it has 3 : NAT, bridgeg n host only
[04:02] <orudie> so try NAT
[04:02] <achou> then?
[04:02] <orudie> then restart networking in ubuntu server
[04:03] <orudie> sudo /etc/init.d/networking restart
[04:03] <achou> ok
[04:03] <orudie> ping google.com
[04:03] <achou> wait i try it now
[04:07] <orudie> achou, i have to go now, hope that works out for you. I would also suggest to look into http://www.virtualbox.org/ , its similar to vmware just free open source software . You shouldnt have a problem like this with it.
[04:18] <twitzel> Good evening
[04:18] <twitzel> I have a problem with udev and multipath-tools that I can't get a handle on in ubuntu server 8.04
[04:19] <twitzel> I have configured a Dell MD3000 RAID using multipath, the scsi_dh_rdac and mptsas driver
[04:19] <twitzel> I can see the mapped devices in /dev/mapper/mpath0 .... and I see dm-0 etc in /proc/partitions, but there is no /dev/dm-0 and so devices
[04:20] <twitzel> I can make the /dev/dm-x devices with mknod and then use kpartx to make the partitions visible in /dev/mapper
[04:20] <twitzel> But none of this is done automatically on boot as it appears in other distributions. What am I doing wrong ?
[04:22] <Guest96241> orudie, it's work ican ping google after change it into NAT options in my vmare
[04:22] <Guest96241> Thanx orudie
[04:23] <Guest96241> but i don't really understang wat is NAT is XD
[04:27] <achou> can someone here explain to me wat is it NAT ?
[04:35] <rdw200169> achou, Network Address Translation
[04:36] <rdw200169> achou, its a masking system.  There are too many people and not enough IP addresses for all of them.
[04:36] <rdw200169> achou, in the past, ISP's assigned ranges of IP addresses to subscribers so *more than one* device (router, computer, etc...) could connect to the network.
[04:37] <rdw200169> achou, obviously, that is not possible anymore.  so, NAT was constructed as a means to rectify this problem.
[04:37] <rdw200169> achou, basically, ISP's issue only one IP address that is assumed to be assigned to a router.
[04:37] <achou> then?
[04:38] <rdw200169> achou, the router (doing what a router does) assigns a local network, usually 192.168.1.0/24
[04:38] <rdw200169> achou, so, you have the WAN (the IP issued by the ISP) and the LAN, the local network
[04:38] <rdw200169> achou, now, you need to get a computer on the 192.168.1.0/24 network on the internet
[04:39] <rdw200169> achou, but there's a problem: 192.168.1.0 is a Private network and the ISP will *not* route those IP addresses
[04:39] <rdw200169> achou, this is the axe.
[04:39] <achou> ok so  the router do the NAT stuff
[04:39] <rdw200169> achou, so, the router does *translation* of traffic.
[04:40] <rdw200169> achou, when it receives internet-bound traffic from the LAN, it *translates* the information in that packet such that it *seems* that it is coming from the router's assigned ISP IP address
[04:40] <achou> ic
[04:40] <rdw200169> achou, and it keeps track of all these connections.
[04:41] <rdw200169> achou, so when traffic comes back, it remembers who to send it back to in the LAN
[04:41] <achou> so the network connection between the router to other pc is using NAT?
[04:41] <rdw200169> achou, not really.  it's more like a 'magic' that takes place b/w the LAN and the WAN
[04:41] <rdw200169> achou, in the router
[04:42] <rdw200169> achou, the internet (webservers, ISP, etc...) *thinks* that it is receiving traffic from the WAN IP address assigned by the ISP, NOT the LAN IP address it is actually originating from
[04:42] <achou> hmm i usually c tat the router is connected ti the hub 1st then the others pc connect to routher through the hub
[04:43] <rdw200169> achou, hubs and switches are Layer 2 devices and don't fit into this whole thing
[04:43] <rdw200169> achou, Layer 2 is ethernet, Layer 3 is IP addressing and routing
[04:44] <rdw200169> achou, routers do Layer 3
[04:45] <rdw200169> achou, and NAT is primarily concerned with Layer 3
[04:45] <rdw200169> achou, of the OSI model (wikipedia this)
[04:45] <achou> ya i've read the theory
[04:46] <achou> but don't know wat is the implementation in reall live
[04:46] <rdw200169> achou, of the OSI model?
[04:46] <achou> ya has 7 layer
[04:46] <achou> rite
[04:46] <achou> haha learn it at univ
[04:47] <achou> but i'm newbie so not really understand the wat implementation in reall live
[04:47] <achou> then if i want to make a lan that can connect to internet , i need to make router connect to hub n make all pc connect to hub ?
[04:48] <rdw200169> achou, no.  you can use switches or hubs
[04:48] <rdw200169> achou, its pretty simple.  you just connect one port of the hub/switch to a router switch port.
[04:49] <rdw200169> achou, then you connect your LAN subscribers accordingly to the other ports on the hub/switch
[04:49] <rdw200169> achou, if you need more ports, either get a bigger switch/hub or attach another switch/hub in a daisychain like manner
[04:49] <achou> oo then all the pc tat connected to LAN can acces internet automatically?
[04:49] <rdw200169> achou, the router provides DHCP services (if its turned on, which is usually the default)
[04:50] <rdw200169> achou, generally, you don't have to do anything to get DHCP right, even if you have daisy chained Layer2 devices
[04:50] <rdw200169> achou, just don't go over 3 links in a chain, otherwise things can get slow...
[04:50] <rdw200169> achou, this depends primarily on the quality of the hardware, etc...
[04:51] <achou> hmm
[04:52] <achou> is there any simulator that can be used to simulate this?
[04:52] <rdw200169> achou, sort of.  there's stuff like NetSim which can do it.
[04:52] <rdw200169> achou, but you really don't need them
[04:52] <achou> since i don't have the physical hardware
[04:52] <rdw200169> achou, unless you have some very complicated Cisco configurations, etc...
[04:53] <achou> o so wit netsim i can simulate creating lan that connect to internet ?
[04:53] <rdw200169> achou, sort of.  but that is an extremely basic configuration thats not worth the time spent simulating it
[04:53] <rdw200169> achou, what are you trying to do exaclty?
[04:57] <achou> hmm i just wanna  learn how to build lan tat can connect to internet
[04:58] <achou> but don't have the hardware so i start thinking using vmare to build a lan
[04:58] <rdw200169> achou, all you need is an off the shelf router, like a standard linksys wireless router or something
[04:59] <achou> hmm can i do the stuff i want with simulator?
[05:01] <rdw200169> achou, *sigh* yes
[05:03] <achou> can u tell me how?
[05:04] <achou> or give me so web reference
[05:04] <achou> some
[05:05] <jmarsden> achou: network simulation is not really on topic for #ubuntu-server... for basics of how The Internet works, see http://tldp.org/HOWTO/Unix-and-Internet-Fundamentals-HOWTO/
[05:05] <achou> ok
[05:07] <achou> is there any software can do the simulation?
[05:11] <jmarsden> achou: How would any software simulate the Internet???  To simulate a Cisco router there are some simulators out there, but they need a Cisco IOS image... see http://www.ipflow.utc.fr/index.php/Cisco_7200_Simulator for one example.
[05:12] <achou> ok thx
[09:05] <Noble>  basicly I can do iptables -P FORWARD ACCEPT and iptables --table nat -A POSTROUTING -o eth1 -j MASQUERADE and block incomming traffic on the ports I dont want accesed from internet?
[09:05] <Noble> woudl that be secure?
[09:06] <Noble> *Would
[09:11] <kraut> moin
[10:09] <Tuxist> hi
[10:10] <Tuxist> i have problems with nfs and ubuntu http://pastebin.com/m61aaa0b
[10:10] <Tuxist> anybody knows a solution ?
[11:04] <Jeeves__> Tuxist: Never seen that message
[11:05] <Jeeves__> is that nfsv4?
[11:05] <Tuxist> yes
[11:05] <Tuxist> i use a heimdal kdc with openbsd 4.4
[11:10] <eolo999> hi i'm having weird problems with kvm on hardy... my guestVM shows grub prompt instead of booting; any advice?
[12:29] <domas> are there any utilities to automate post-install fstab editing? :)
[12:30] <stefan_can> not that I know of
[12:34] <rst-uanic> cat, sed?
[12:35] <rst-uanic> awk, grep, bash?
[12:42] <stefan_can> good point rst-uanic those are the tools for the job
[13:06] <oruwork> ScottK, hi
[13:17] <ScottK> oruwork: Hello.
[13:19] <oruwork> ScottK, i need to set up mail filter, you think you can assist me with this while i follow the guide ? i tried it before and mail stopped working , thats why i need some support
[13:22] <ScottK> oruwork: I can probably answer specific questions (as can others here), but I don't have time to walk you through it.
[13:22] <ScottK> I should be around for the next 6 or 7 hours mostly.
[13:23] <oruwork> i'm kinda afraid to touch it because its the middle of the work day
[13:23] <oruwork> its my company's email server
[13:23] <ScottK> I'll be around mostly tomorrow too.
[13:23] <ScottK> if it's a production box, don't mess with it now.
[13:23] <oruwork> k
[13:24] <oruwork> yeah i was thinking to do it during the weekend
[13:24] <mrwes> Will 8.04 support this esata card?  Rosewill RC-210 Silicon Image e-SATA PCI Controller Card - Also includes an additional Low Profile Size PCI Bracket - Retail
[13:26] <oruwork> but i'm sooooo tempted to do this ScottK lol
[13:26] <oruwork> mrwes, do you mean 9.04 ?
[13:26] <ScottK> oruwork: Of course, but be a responsible admin and break the system in off hours.
[13:26] <oruwork> ScottK, :)
[13:27] <mrwes> no, 8.04 LTS Server edition
[13:28] <oruwork> ScottK, i'm glad i was able to convice my boss to ditch ISP's mail server
[13:29] <oruwork> but now he is busting my balls for all the spam
[13:30] <ScottK> Yes.  As he should.
[13:31] <oruwork> damn
[14:14] <phaidros> hi, just to clean my head: grouping of users is only possible with htdigest, not htpasswd, right?
[14:15] <robertj_> ok guys, fun question. Is there a way to see all files on a system that do not match a presently installed package
[14:27] <acicula> well yes, you can use dpkg-query to see the list of installed files per package, match it agains a list of all files and presto
[14:28] <acicula> or use dpkg-query to see if a file is owned by a package or not
[14:28] <Deevz> How can I upload/download files from my server using ebox?
[14:30] <robertj_> acicula: thanks
[14:31] <acicula> dpkg-query -l <package> to list the files owned by a package, dpkg-query -S /path/to/filename to see if it belongs to a package
[14:32] <acicula> robertj_: mind you this just checks the filename/path, if the file was overwritten or modified it will still show up as belonging to the package
[14:32] <acicula> not sure if the hash of the original file is stored so you can check for that
[14:36] <robertj_> acicula: guess I can always extract it and do it that way
[14:40] <acicula> well, i think the hash is stored, i installed my own libflash at some point and after uninstalling the package the file was left
[14:40] <acicula> so it at least seemed to have detected modification
[14:41] <acicula> what do people use to monitor logs and such, i've been using ossec for a bit but it doesnt really aggregate information nicely, there is a webui interface but it needs quite a bit of priviledges to work
[14:46] <Deevz> acicula: ebox?
[14:50] <acicula> nah that looks like a full server managment, just need something that monitors connects, filesystem , heavy load on services, that sort of thing
[14:52] <soren> robertj_: debsums
[15:05] <robertj_> soren: also tantalizing
[15:06] <soren> robertj_: Eh?
[15:06] <robertj_> debsums looks like it does what I need
[15:06] <robertj_> I also just wrote a very ugly python script to figure out what packages have been installed
[15:08] <robertj_> installed: nagios-nrpe-server, ubuntu-standard, installation-report, linux-ubuntu-modules-2.6.24-19-server, backuppc, ubuntu-minimal
[15:08] <robertj_> not sure why installation-report is not a depend of something else htough
[15:13] <bromic94> [Fri Mar 20 11:12:18 2009] [warn] NameVirtualHost *:0 has no VirtualHosts
[15:13] <bromic94> that is what i get when i run /etc/init.d/apache2 start
[15:13] <bromic94> and i can not gain access to my web server either
[15:13] <bromic94> nvm
[15:14] <rst-uanic> bromic94: and if you delete :0 ?
[15:14] <rst-uanic> from the /etc/apache2/sites-available/default
[15:19] <bromic94> u telling me to do taht?
[15:19] <rst-uanic> yes
[15:20] <rst-uanic> either leave NameVirtualHost * or NameVirtualHost *:80
[15:20] <rst-uanic> but not *:0
[15:24] <bromic94> i fixed it
[15:25] <bromic94> thanks!
[15:26] <rst-uanic> welcome)
[16:16] <\sh> moins...
[16:17] <\sh> guys, can somebody confirm, that intrepids grub installer via d-i doesn't work on hp smartarrays? I'm just trying to install intrepid server flavour on one of my hp machines with smartarrays E200i or P400i and it fails..everything is installed, manually I can boot it even from grub boot loader menu...but somehow it fails finding the menu.lst
[16:17] <\sh> and Launchpad doesn't know anything about it
[16:17] <rst-uanic> I have servers with e200i running interpid
[16:19] <\sh> rst-uanic: did you install via CD or netboot? looks like that it strikes me only via netboot
[16:19] <rst-uanic> \sh: via cd
[16:19] <\sh> rst-uanic: ok...that matches with my tryouts..cd works but netboot d-i not
[16:20] <\sh> (only on hps..)
[16:20] <rst-uanic> and netboot never works?
[16:20] <\sh> never...(which means, only grub is not installed correctly)
[16:22] <\sh> but when I enter the root, kernel and initrd lines manually grub boots the kernel et al and after that system is up and running...I'll have to check the installation report or whatever gives me a hint on what goes wrong
[16:22] <rst-uanic> \sh: have you tried jaunty?
[16:22] <\sh> rst-uanic: no..but hardy...and hardy works
[16:23] <rst-uanic> \sh: interesting.. i will try to install one of my hp server using netbook on monday
[16:24] <\sh> rst-uanic: sounds good :)
[16:55] <kraut> http://pastebin.com/m5809a418
[16:55] <kraut> time for happy happy joe joe!
[16:55] <kraut> GAH!
[16:56] <\sh> kraut: reproducable? x86 or x86_64 ? ;)
[16:57] <kraut> \sh: x86 on via epia
[16:58] <kraut> \sh: actually i couldn't say, the system is more or less dead
[16:58] <kraut> looks like a reboot
[17:06] <kraut> bbl, need to reboot :/
[17:14] <Big_Ham> hey guys
[17:15] <Big_Ham> Q about PHP/GD ...
[17:16] <Big_Ham> anyone around?
[17:30] <kraut> re
[17:42] <TimReichhart> hey guys I am having problems sending out email using exim
[18:49] <sparky_> is anyone good with ethtool?  I'm having trouble setting the autoneg to "off".  I have tried it via ssh and it hangs for a while then kicks out the error of  "Host is down" and doing it via the server's screen it seems like it does it but then on further looking at it it is still set to on.  I have also tried restarting /etc/init.d/networking with no success.  I have to reboot the server in order to get acces via ssh agai
[18:53] <Deeps> you might need to set the speed + duplex at the same time
[18:56] <sparky_> trying that now via the server's screen but it looks like it is stalling again
[18:57] <Deeps> are you setting a speed/duplex unsupported by your switch?
[18:57] <sparky_> no, i'm setting them to what they are already set too
[18:58] <sparky_> i can't even ctrl-z to stop the stalling right now
[19:07] <Tarea> if anyone has time can soneome help me with ubuntu 8.10 server  the sound dosent work :)
[19:08] <MianoSM> you need sound for the server?
[19:08] <giovani3> MianoSM: plenty of potential reasons, yeah
[19:08] <Tarea> my woman is bitching she needs the sound
[19:08] <giovani3> what's the sound for though?
[19:08] <MianoSM> odd
[19:09] <giovani3> MianoSM: for example, asterisk
[19:09] <Tarea> she wants to watch video and play om her pc whiles she is farming in darkfall
[19:09] <giovani3> Tarea: that doesn't sound like a server
[19:09] <Tarea> it is but not muuch used :)
[19:11] <Tarea> i dont think anyone can anwser this so i'll just do something else :)
[19:12] <giovani3> I don't think you're in the right channel
[19:12] <Tarea> i've been sent her and there and well if this isint the right channel then wich one is it
[19:12] <giovani3> where were you that you were told to come here?
[19:12] <Tarea> ubuntu
[19:13] <giovani3> well it sounds like you're not running a server
[19:13] <giovani3> so, I doubt they sent you here unless you told them you were
[19:14] <MHS_> where can we check the IP's of the network cards?
[19:15] <giovani3> MHS_: ifconfig
[19:16] <MHS_> on the terminal?
[19:16] <giovani3> yes
[19:16] <giovani3> where else?
[19:16] <giovani3> you're running a server, no?
[19:17] <MHS_> yes. I was 99.9% sure that's what you meant to run it under but I rather be safe then sorry
[19:17] <giovani3> but where else do you interact with your server?
[19:17] <MHS_> We are just starting the server
[19:58] <fevel> how can I share my ethernet internet connection through the wireless on my macbook
[20:00] <fevel> oops sorry... wrong channel
[20:46] <simplexio> hey.. importand question .. what is the file where i define ctrl+alt+del bahior, i dont find /etc/inittab file
[20:46] <soren> simplexio: /etc/event.d/control-alt-delete
[20:47] <simplexio> thanks
[20:47] <simplexio> when that change happened
[20:52] <soren> simplexio: In Edgy.
[20:52] <soren> simplexio: October 2006.
[21:05] <beawesomeinstead> i've read recently about VCS for config files. is it 'good to have in 15.04' or 'should be done soon' feature?
[21:15] <mathiaz> kirkland: if you setup an RAID system in the installer, grub should installed to all the disks right?
[21:15] <kirkland> mathiaz: in most cases, yeah
[21:15] <kirkland> mathiaz: if /boot is on a raid1
[21:16] <kirkland> mathiaz: grub should be installed to each disk serving a copy of /boot
[21:16] <kirkland> mathiaz: i think that's the logic we agreed upon
[21:20] <soren> That sounds reasonable.
[21:54] <ivoks> good blog posts
[22:05] <orudie> ivoks, hi
[22:06] <ivoks> hi
[22:10] <orudie> man i need to set up mail filter ivoks
[22:27] <ivoks> soren: we need to define DIT asap
[22:28] <jmarsden> DIT could be defined as "Do It Tomorrow" ?  But that may not be helpful :)
[22:29] <ivoks> it's just the hardest thing to define
[22:29] <ivoks> but we have to take the bullet and do it
[22:29] <ivoks> after that we can extend everything...
[22:30] <ivoks> mail servers, http authentication...
[22:30] <soren> ivoks: Thanks. I'm glad you like it. :)
[22:31] <ivoks> soren: both you and thierry write about the same stuff i think
[22:31] <chriszf> What's this about now?
[22:31] <ivoks> we should make ubuntu-server a product, not a pool of choices
[22:32] <soren> ivoks: Yeah, I just wanted to jump onto the wave that Thierry started :)
[22:32] <ivoks> and "ubuntu-server-advanced" as a pool of choices
[22:32] <soren> ivoks: And since I had already written min, it was easy :)
[22:32] <ivoks> who's in favour pushing LDAP as default for.... everything? :)
[22:32]  * ivoks o/
[22:33] <ivoks> hehe
[22:33] <soren> \o/
[22:33] <soren> I'm so tired that the first time I tried to type  "\o/", it came out "o/~2". Go figure.
[22:33] <ivoks> hehe
[22:33] <ivoks> it's 23:33
[22:33] <soren> I have no clue how that makes sense.
[22:33] <ivoks> time to kill the lid? :)
[22:34] <soren> Just a few more e-mails and I'm off to bed.
[22:34] <soren> But seeing how badly I'm typing, that might take a while.
[22:37] <ivoks> well, enough for me
[22:37] <ivoks> good night
[22:37] <soren> Good night, ivoks.
[22:37] <soren> Have a good weekend.
[22:37] <ivoks> yeah, a working one :)
[22:38] <ivoks> you too soren
[22:47] <AnArrayfulOfPerl> What do i tell my domain registrar to use as my nameserver? just my ip?
[22:47] <tonyyarusso> I'm looking for a way to have my contacts information stored on a central server so as to avoid discrepancies between computers and for better availability / easier maintenance.  It's just for personal use.  Would an LDAP address book be a good approach for this?  (As an aside, I'd love it if I could define custom fields.)
[22:47] <charlesatlas> Could anyone lend me a hand with how to install Dansguardian?
[22:48] <tonyyarusso> AnArrayfulOfPerl: That depends on how you have things set up.  Usually people will use nameservers offered by their registrar.
[22:49] <AnArrayfulOfPerl> i want to have my own DNS.
[22:49] <AnArrayfulOfPerl> my registrar has shitty DNS servers
[22:49] <jmarsden> AnArrayfulOfPerl: Then run your own DNS servers and tell your domain registrar that your domain uses those servers...
[22:50] <AnArrayfulOfPerl> k
[22:51] <jmarsden> You'll need two separate machines on two different static public IPs ... but you probably already know that.
[22:53] <Deeps> not /need/
[23:11] <charlesatlas> I figured it out....