/srv/irclogs.ubuntu.com/2009/03/20/#ubuntu-server.txt

jmedina?00:00
orudietrying to set up an email account from hom e00:00
orudiebrb00:14
orudieman... cant establish connection to outgoing smtp server00:24
orudieit was working fine i dont get it00:24
orudiehow do i tail a log ?00:31
hadstail /log/file00:37
orudiehttp://pastebin.com/m119240e800:39
orudieall the sudden getting this error when trying to send mail using outlook00:39
NetSkayugh whats up with the lagg00:40
jmedinaorudie: orudie did you change someting in postfix?00:41
orudienothing00:41
orudie000:41
orudieshit...00:41
orudiesorry for the language00:41
jmedinaorudie: try thunderbird00:42
orudiei tried00:42
orudiesame thing00:42
jmedinaorudie: paste more lines from the log00:42
orudiei would really like to observe the tail of the log00:42
orudietail mail.log shows a few lines , but rerurns back to bash00:43
orudiereturns00:43
jmedinaorudie:00:43
jmedinause tail -f /var/log/mail.log00:43
jmedinaand dont close that00:43
orudieok00:44
jmedinaorudie: what is your domain name?00:48
jmedinaI cant help you test with telnet :D00:48
orudiehey00:51
orudienot telnet00:51
orudiejmedina, pm00:51
mrbullmanaged to remap keys outside of X. can't believe it was so simple and i was overlloking it.00:56
mrbullif anyone needs to do it, just run "dumpkeys > ~/yourkeymap; vim ~/yourkeymap" and then after that just do a loadkeys yourkeymap00:57
twbOr sensible-editor :P01:03
mrbulltwb, let's not get into that discussion :P01:08
twbmrbull: well, on your system it would run vim.01:08
mrbulltwb: well, vim comes as default, even if stripped down...01:12
hadsIf you know you want vim then it's much easier to type.01:13
twbWell, "ed" is even easier, especially on qwerty01:14
chriszfQuestion. Is there another way to configure samba besides /etc/samba/smb.conf?01:16
jmedinachriszf: nop01:16
jmedinathere are graphic interfaces01:16
jmedinaa lot01:16
Alex_21Is Apache's HTAccess turned on by deafault?01:16
Alex_21In 8.04?01:16
chriszfjmedina: 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
jmedinachriszf: I dont know, dont use ubuntu desktop01:17
jmedinaubuntu server doesnt have click->share01:18
chriszfYeah, I know it's kinda the wrong place, there's just a lot of noise in the #ubuntu channel.01:18
chriszfThanks, though.01:18
jmedinachriszf: so what is the problem?01:19
twbchriszf: that uses some funky gnome thing that I don't fully understand.01:19
jmedinait is really easy create shares in samba01:19
jmedinawell that is GNOME :D01:19
chriszfjmedina: Oh, I used it to make a share initially, then I dropped gnome, and I'm trying to reconfigure it.01:19
mrbullchriszf: have you checked samba's section in the server guide? http://help.ubuntu.com/community/SettingUpSamba01:21
mrbulloops, that's actually in the community section, but end result is the same01:21
chriszfmrbull: 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
chriszfIt's not in smb.conf.01:22
mrbullchriszf: in the conf itself as a section named as how you want it to appear in the network01:23
mrbullfor example: [all_my_illegal_mp3s]01:23
chriszfmrbull: Right. I think I didn't explain it correctly.01:23
mrbullthen inside you define its path and permissions.01:23
chriszfI created a share with the graphical nautilus bit.01:23
mrbullok01:23
chriszfAnd it exists and serves up files01:23
chriszfBUT it doesn't put an entry into smb.conf01:24
chriszfNow I want to change it, and I'm not using nautilus, but I can't find where the heck it's configured.01:24
mrbullhave you tried "locate smb" in the terminal?01:24
mrbullmaybe it's somewhere else01:25
chriszfYeah, I haven't tried that yet.01:25
twbI think you want the nautilus-share package.01:25
twbDescription: 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
twbHomepage: http://gentoo.ovibes.net/nautilus-share/01:25
twbchriszf: have a look at the /usr/share/doc files, and other files (dpkg -L) for that package.01:25
chriszfAh, that looks promising.01:26
mrbullhttp://ubuntuforums.org/archive/index.php/t-78070901:26
mrbullah crap01:26
jmedinaah it uses net usershare :D01:26
mrbullmy other computer, from which i was copying the link for a discussion on nautilus-share went to sleep on its own01:26
jmedinait was introduces in 3.0.2301:27
jmedinaintroduced01:27
chriszfAh, excellent.01:27
jmedinayou can use "net usershare" as normal user01:27
jmedinaand you dont requiere root access01:27
mrbullhttp://ubuntuforums.org/archive/index.php/t-780709.html01:27
chriszfPerfect. That's exactly what I needed. Thanks,  folks.01:28
jmedinaanother happy customer01:30
* jmedina goes out, time to real work01:30
mrbulltwb: 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
jmedinamrbull: you can use alternatives01:31
mrbulljmedina: am i about to be preached? :P01:32
mrbulli'm not joining the church!01:32
chriszfmrbull: I think he means update-alternatives01:32
jmedinayeap01:32
mrbulloh01:32
chriszfAnd not.. uhh. emacs.01:32
chriszfWhich is like, a blight on humanity.01:32
* mrbull feels embarrassed01:32
chriszfHaha.01:33
jmedinamrbull: dont worry, I dont understand "preached" meaning :S01:33
twbmrbull: haha, nano is rated higher than vim01:33
mrbullemacs would probably be great with a foot pedal01:33
twbmrbull: I didn't know that01:33
* jmedina goes to dictionary01:33
chriszfmrbull: I think it might also work with a throttle control and maybe some overhead switches.01:33
mrbullchriszf: and beer goggles or a beer helmet01:34
twbhttp://www.emacswiki.org/emacs/FootSwitches01:34
twbhttp://www.emacswiki.org/emacs/GamePad01:34
mrbulltwb: GamePad? lol01:34
twbSpecifically, http://www.emacswiki.org/emacs/EmacsVersor is a way to run Emacs using a gamepad or other device with limited inputs.01:35
jmedinalast year I was with Stallman in the same car, he doesnt need a footwitch01:35
jmedinafootswtich01:35
jmedinaneither a gamepad01:35
jmedinawell he doesnt use X at all01:35
twbjmedina: that's because he is so good01:35
mrbulli can imagine a power emacs user wearing those datasomething one-per-hand keyboards, foot pedals and beer goggles01:35
twbdatahands01:35
mrbullyeah01:36
chriszfHaha. Does he have beard tendrils to handle the key combinations?01:36
twbI expect his beard is a symbiotic lifeform01:36
mrbullwell, i guess i COULD use footswitches as esc/ctrl for vim01:36
twbThere's also http://www.emacswiki.org/emacs/EmacSpeak01:36
twb...which is Emacs for the visually impaired.01:36
TimReichhartHi I am needing help on configuring Exim4 using google as smtp01:38
mrbullhonestly 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 :P01:38
mrbullthe emcas typo wasn't though01:38
mrbullthat's bad typing01:38
twbmrbull: only people who actually know Emacs can truly hate it.  You merely dislike it.01:38
twbmrbull: /msg fsbot salespitch01:38
goofeytwb: lol01:39
* mrbull is wearing a tinfoil hat01:39
twbTimReichhart: do you just want to forward mail to an upstream smarthost?01:39
mrbulltwb: you won't convert me01:39
twbI don't want to01:39
mrbulli'm shielded01:39
twbEmacs is like the dark side: powerful and corrupting.01:39
TimReichhartyes if i can do that twb01:39
hadsAnd bad.01:40
twbSlowly it takes over your system, so that one day CTCP VERSION rcirc on GNU Emacs 23.0.91.101:40
twbTimReichhart: in that case I recommend you just use msmtp instead of a full-blown MTA.01:40
twbTimReichhart: an example /etc/msmtprc is http://twb.ath.cx/Preferences/.msmtprc01:40
twbTimReichhart: note that gmail requires you to supply it a username and password, unlike (probably) your ISP's smarthost.01:41
TimReichhartso can you please tell me how to use my isp for doing that?01:41
twbTimReichhart: you just supply your ISP's FQDN instead of mail.gmail.com, or so.01:42
* jmedina has spanish instructions for postfix01:42
TimReichhartwell would it be like this mail.hometowncable.net01:42
twbTimReichhart: 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
twbTimReichhart: that depends on your ISP, you need to ask them01:42
TimReichhartwell that is the outgoing email server address01:43
twbTimReichhart: that's probably what you want.01:43
TimReichhartbut when I tried that first time I got rejected email01:43
twbThat'll be because you misconfigured things.01:44
TimReichhartwell i am using nagios3 so how would i switch that to what your saying?01:44
twbnagios3 should just send mail using /usr/sbin/sendmail, which is provided by whatever MTA you are using.01:45
TimReichhartwell nagios3 came with exim01:45
twbEr, no it doesn't.01:45
twbInstalling nagios3 will probably for *an* MTA to be installed, which *by default* will be exim4.01:46
TimReichhartyep01:46
TimReichhartthat is what im using01:46
TimReichhartall i am looking to do is send out email01:47
twbRegarding 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:47
TimReichhartwell I know the my isp email server outgoing email server address01:48
twbThen the next step is to attempt to inject mail into it directly using netcat.01:50
twbe.g. "nc mail.foo.com smtp", which will open a connection, then "HELO" and the rest of the protocol.01:50
TimReichhartso can you guide me how to reconfigure the exim01:51
twbIf it doesn't accept your connection, then you know your connection details are wrong.01:51
twbTimReichhart: no, because we don't know if your details are right yet.01:51
TimReichhartwhat is netcat?01:51
hadsGoogle will tell you.01:51
TimReichharti just did but im not understanding its saying01:52
twbTimReichhart: do "sudo aptitude install netcat"01:53
TimReichhartit said its already installed01:54
twbOK, so what FQDN and port is your ISP's smarthost?01:54
chriszfnetcat is the best tool ever.It will make you feel like a hacker.01:54
twbchriszf: ahem; socat.01:54
TimReichhartwell its my isp server is mail.hometowncable.net port 2501:55
twbTimReichhart: OK, so do "nc mail.hometowncable.net smtp"01:55
TimReichhartI did that and here what I got : 220 mail.hometowncable.net ESMTP IceWarp 9.1.0; Thu, 19 Mar 2009 21:56:08 -040001:56
twbTimReichhart: OK, good.01:57
twbNow into that connection, do "HELO Fred".01:57
twbIt should say helo back.01:58
TimReichharti got 500 command unrecognized "HELO Fred"01:59
TimReichhart5.5.1*01:59
twbHmm, that's odd.01:59
twbAs for me, I get "550 5.7.1 Permission Denied"01:59
TimReichhartnvm I had "" in there01:59
jmedinaTimReichhart: try with "ehlo domain.com"02:00
twbjmedina: that's not necessary for a basic test.02:00
jmedinaHELO is for SMTP and EHLO for ESMTP02:00
jmedinatwb: ok02:00
twbOK, so we have established that there is an MTA there and it's listening to you, and will probably accept mail.02:00
orudiejmedina, hi02:00
twbTimReichhart: this is good enough to configure exim4.02:00
twbTimReichhart: now do "sudo dpkg-reconfigure exim4-config", IIRC.02:01
TimReichhartso how do I configure the exim then02:01
twbNote that in general I would recommend postfix or msmtp (according to need) rather than exim4.02:01
twbFor your case I can't be bothered to argue for them, though.02:01
orudiejmedina, so if i cant telnet from home, that means i cant even work on it ?02:02
TimReichhartalright what option do i pick? mail sent by smarthost by via stmp or mail sent by smarthost  no local mail02:02
twborudie: you really ought to use either ssh or (if you're abusing telnet) netcat, not the telnet protocol.02:02
twbTimReichhart: the former, I think.02:03
twbTimReichhart: you want a "satellite", some configuration screens call it02:03
TimReichhartwhen i did that reconfigure first comes up with that  mail sent by smarthost by via stmp or mail sent by smarthost  no local mail02:04
TimReichhartany ideas?02:09
Alex_21Is Apache's HTAccess turned on by deafault?02:11
Alex_21In 8.04?02:11
Alex_21I mean .HTAccess files02:14
Alex_21In the Apache configuration02:15
TimReichhartalright i got it resetup and i sent a test message to my account and still didnt get it02:15
TimReichhartyou still there twb?02:19
twbYes.02:21
twbTimReichhart: look in /var/mail for non-zero files, error messages will probably appear there.02:22
TimReichhartalright twb I dont see any errors in there02:25
TimReichhartbut I dont see the test message when I sent it to my gmail account02:26
twbShrug.02:26
twbThere'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:27
TimReichhartwhat should I ask when I speak to my isp tech support?02:29
twbTimReichhart: 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
twbTimReichhart: but I expect they will probably tell you to fuck off and install Windows.  YMMV, etc.02:30
twbI can't really be bothered to help on this anymore.02:31
TimReichhartwhat do you mean you cant be bothered to help?02:31
twbIt means you're on your own now.02:32
NetSkaylol02:36
NetSkaythats was funny02:36
NetSkaysorry02:36
orudiewhos around ?02:44
twb!anyone > orudie02:47
ubottuorudie, please see my private message02:47
TimReichhartjust remember netskay when he say that to you02:47
TimReichhartthen it would be more funny02:47
twbTimReichhart: hmm?02:47
orudieis there a way to change the port number of smtp server ?02:54
twborudie: yes.02:55
orudietwb, is it even wise to do that ?02:55
twborudie: generally it is unwinse.02:55
twb*unwise.02:55
twborudie: 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
orudietwb, this is exactly my situation02:56
ScottKorudie: Changing it won't help.  Even if you talk to a different port, no one will be listening.02:57
twbScottK: unless you futz things around, which is usually not worth the effort.02:57
twborudie: 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:57
twbThe kind of domestic accounts that typically block port 25 aren't the kind you want to run an MX on anyway.02:58
orudiemy MTA is on a VPS02:58
ScottKIf you want to relay via a different port to your MTA on a VPS, that's quite doable.02:59
twborudie: if port 25 is blocked on your VPS, then that's almost certainly something you can call your provider and ask to have changed.02:59
orudieport 25 is blocked by my isp, i installed ubuntu server 8.10 and postfix/dovecot on a VPS03:00
twbOK, maybe we're using the term "VPS" differently.03:01
orudiecant authenticate to smtp server on port 25 from my isp which is blocking it03:01
orudievirtual private server ?03:01
twbTo 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
orudieyes, i rent a VPS from linode03:01
twbOK, so the misunderstanding is with regards to what's being blocked.03:02
orudieport 25 by my home's isp03:02
twbAre you trying to connect from your home ISP *to* port 25 at linode?03:02
orudieyeah03:02
twbOK, then the filthy hack way would just be to use a port forward or tunnel or listen on a different port at linode.03:03
orudiehmmm03:04
twbe.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:04
twbI don't know if submission (587) is routinely blocked by jackass ISPs03:05
orudiei think it is too :(03:05
twbObviously 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
twborudie: OK, so pick something else again03:05
ScottKI run a mail service and I've only had a customer have 587 blocked once.03:06
ScottKAnd that was in a hotel.03:06
twbFor hotels you probably want to just give up and use a VPN anyway03:06
orudiehow can i find out if my server is configured to listen to on port 587 ?03:06
ScottKThe reasons to block 25 don't at all apply to 587, so it's probably OK.03:06
twborudie: attempt to connect to it (with netcat).03:06
ScottKorudie: What MTA?03:06
twb14:03 <orudie> port 25 is blocked by my isp, i installed ubuntu server 8.10 and postfix/dovecot on a VPS03:07
ScottKPostfix it's easy enough.03:07
twbYou can also run "postconf" to see what the settings are.03:07
ScottKThe standard main.cf has a 'submission' service commented out that you just need to uncomment and restart postfix.03:07
twbI wonder why it's not on by default03:08
orudielemmi try something ... where should i start ?03:08
ScottKYou'll also probably want SMTP Auth (which is covered in the Ubuntu Server guide)03:08
twbsubmission always struck me as an obvously good idea03:08
ScottKLook in the server guide.03:08
orudieScottK, smtp-auth is set up03:08
orudieScottK, i followed the guide entirely03:08
ScottKThen 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
ScottKIf you have a firewall you'll need to open that port too.03:09
orudiepostfix/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:10
orudieanything on this ?03:13
twbSorry, nope03:14
orudieactually03:15
orudieuncommenting the submission service in master.cf worked very well :)03:15
orudiethanx boys03:17
orudiei was stuck for good amount of hours on this03:20
orudie:)03:20
orudiei even called my ISP to tell them WTF they blocking my port 25 for03:20
twborudie: there's a good reason to make 25 blocked by default03:25
orudieso i should block it ?03:26
orudiei'm talking about the server's side03:26
twbISPs block port 25 by default because otherwise their customers can become zombie spammers03:27
orudieshould i make it stop listening on port 25 ?03:27
orudieoh03:27
twbBut 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:27
orudiemy isp unblocks ports 25, 80 if you subscribe to the web hosting package for an additionaly 15/month03:29
twbBTW, can I make SMTP run over UDP?03:30
ScottKThere's good statistics that blocking port 25 outbound is a win for ISP spam control.03:31
ScottKtwb: No.03:31
orudiemy point is you can unblock it for 15/ month03:31
orudiei guess thats worth it for spammers ?03:32
twborudie: you misunderstand.03:33
twborudie: the spammers gain control of Windows users' machines03:33
twborudie: the spammers don't actually own the connection they're using, so they can't pay more money to unblock a port03:33
orudieoh yeah03:33
orudiethats right03:33
orudiei know a guy who is an idiot spammer03:34
twbSo basically opting in to having an open port 25 means that you are taking reponsibility for not becoming a spambot.03:34
orudieimbeds some stupid mailers into the torrents03:34
twborudie: you should report him to the appropriate local authorities03:35
orudieheh03:35
twbWhat he's doing amounts to organized crime.03:35
orudiei know him for very long time03:35
twbThat doesn't stop it being wrong.03:36
orudietrue but i'm not gonna report him03:36
^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:37
orudie^law^, which host OS ?03:40
uvirtbotorudie: Error: "law^," is not a valid command.03:40
orudie^law^ which guest OS ?03:40
uvirtbotorudie: Error: "law^" is not a valid command.03:40
orudiegod damn your nick03:40
^law^host is winxp03:40
^law^my laptop os win xp , n i have ubuntu-server in vmware03:41
* ScottK suspects your odds go up with a less annoying nick.03:41
* ScottK is headed to bed anyway.03:41
orudiedid you use bridged networking ?03:42
^law^no i use host only03:43
twb^law^: permaplonk, until you change nick03:43
uvirtbottwb: Error: "law^:" is not a valid command.03:43
orudie^law^ change your nick will ya ?03:43
uvirtbotorudie: Error: "law^" is not a valid command.03:43
orudieget rid of the ^^03:43
^law^oh03:43
^law^ok03:43
^law^wait03:44
=== ^law^ is now known as name
=== name is now known as Guest83465
orudietrying to be creative ?03:45
orudie:)03:45
achouyo i changed oledy03:47
achoumy nick03:47
mrbullachou: lol03:47
achouhi mrbull03:48
mrbullhey ^law^03:49
achoumy 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
achouXD03:51
orudieachou, vmware desktop ?03:53
achouhmm the 1 i installed is called vmware server03:53
orudieachou, which version of vmware did you install  ?03:53
achou1.0403:54
orudieachou, were you able to install guest OS ? ubuntu server you said right ?03:54
achouya03:55
achoui oledy installed the ubuntu server in my vmare03:56
orudielook in the settings of your networking in vmware server03:57
achouthen?03:59
achoui set it to connect to host only03:59
orudiewhat options you see there04:00
orudieone of them should say bridged04:00
orudiewhat do the other say04:00
achouit has 3 : NAT, bridgeg n host only04:02
orudieso try NAT04:02
achouthen?04:02
orudiethen restart networking in ubuntu server04:02
orudiesudo /etc/init.d/networking restart04:03
achouok04:03
orudieping google.com04:03
achouwait i try it now04:03
orudieachou, 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:07
twitzelGood evening04:18
twitzelI have a problem with udev and multipath-tools that I can't get a handle on in ubuntu server 8.0404:18
twitzelI have configured a Dell MD3000 RAID using multipath, the scsi_dh_rdac and mptsas driver04:19
twitzelI 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 devices04:19
twitzelI can make the /dev/dm-x devices with mknod and then use kpartx to make the partitions visible in /dev/mapper04:20
twitzelBut none of this is done automatically on boot as it appears in other distributions. What am I doing wrong ?04:20
=== name is now known as Guest96241
Guest96241orudie, it's work ican ping google after change it into NAT options in my vmare04:22
Guest96241Thanx orudie04:22
Guest96241but i don't really understang wat is NAT is XD04:23
=== Guest96241 is now known as name
achoucan someone here explain to me wat is it NAT ?04:27
rdw200169achou, Network Address Translation04:35
rdw200169achou, its a masking system.  There are too many people and not enough IP addresses for all of them.04:36
rdw200169achou, 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:36
rdw200169achou, obviously, that is not possible anymore.  so, NAT was constructed as a means to rectify this problem.04:37
rdw200169achou, basically, ISP's issue only one IP address that is assumed to be assigned to a router.04:37
achouthen?04:37
rdw200169achou, the router (doing what a router does) assigns a local network, usually 192.168.1.0/2404:38
rdw200169achou, so, you have the WAN (the IP issued by the ISP) and the LAN, the local network04:38
rdw200169achou, now, you need to get a computer on the 192.168.1.0/24 network on the internet04:38
rdw200169achou, but there's a problem: 192.168.1.0 is a Private network and the ISP will *not* route those IP addresses04:39
rdw200169achou, this is the axe.04:39
achouok so  the router do the NAT stuff04:39
rdw200169achou, so, the router does *translation* of traffic.04:39
rdw200169achou, 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 address04:40
achouic04:40
rdw200169achou, and it keeps track of all these connections.04:40
rdw200169achou, so when traffic comes back, it remembers who to send it back to in the LAN04:41
achouso the network connection between the router to other pc is using NAT?04:41
rdw200169achou, not really.  it's more like a 'magic' that takes place b/w the LAN and the WAN04:41
rdw200169achou, in the router04:41
rdw200169achou, 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 from04:42
achouhmm i usually c tat the router is connected ti the hub 1st then the others pc connect to routher through the hub04:42
rdw200169achou, hubs and switches are Layer 2 devices and don't fit into this whole thing04:43
rdw200169achou, Layer 2 is ethernet, Layer 3 is IP addressing and routing04:43
rdw200169achou, routers do Layer 304:44
rdw200169achou, and NAT is primarily concerned with Layer 304:45
rdw200169achou, of the OSI model (wikipedia this)04:45
achouya i've read the theory04:45
achoubut don't know wat is the implementation in reall live04:46
rdw200169achou, of the OSI model?04:46
achouya has 7 layer04:46
achourite04:46
achouhaha learn it at univ04:46
achoubut i'm newbie so not really understand the wat implementation in reall live04:47
achouthen 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:47
rdw200169achou, no.  you can use switches or hubs04:48
rdw200169achou, its pretty simple.  you just connect one port of the hub/switch to a router switch port.04:48
rdw200169achou, then you connect your LAN subscribers accordingly to the other ports on the hub/switch04:49
rdw200169achou, if you need more ports, either get a bigger switch/hub or attach another switch/hub in a daisychain like manner04:49
achouoo then all the pc tat connected to LAN can acces internet automatically?04:49
rdw200169achou, the router provides DHCP services (if its turned on, which is usually the default)04:49
rdw200169achou, generally, you don't have to do anything to get DHCP right, even if you have daisy chained Layer2 devices04:50
rdw200169achou, just don't go over 3 links in a chain, otherwise things can get slow...04:50
rdw200169achou, this depends primarily on the quality of the hardware, etc...04:50
achouhmm04:51
achouis there any simulator that can be used to simulate this?04:52
rdw200169achou, sort of.  there's stuff like NetSim which can do it.04:52
rdw200169achou, but you really don't need them04:52
achousince i don't have the physical hardware04:52
rdw200169achou, unless you have some very complicated Cisco configurations, etc...04:52
achouo so wit netsim i can simulate creating lan that connect to internet ?04:53
rdw200169achou, sort of.  but that is an extremely basic configuration thats not worth the time spent simulating it04:53
rdw200169achou, what are you trying to do exaclty?04:53
achouhmm i just wanna  learn how to build lan tat can connect to internet04:57
achoubut don't have the hardware so i start thinking using vmare to build a lan04:58
rdw200169achou, all you need is an off the shelf router, like a standard linksys wireless router or something04:58
achouhmm can i do the stuff i want with simulator?04:59
rdw200169achou, *sigh* yes05:01
achoucan u tell me how?05:03
achouor give me so web reference05:04
achousome05:04
jmarsdenachou: 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
achouok05:05
achouis there any software can do the simulation?05:07
jmarsdenachou: 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:11
achouok thx05:12
=== Andre_Gondim is now known as Andre_Gondim-afk
=== Jubalizer is now known as Jubez
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
Noblewoudl that be secure?09:05
Noble*Would09:06
krautmoin09:11
=== scfh_ is now known as scfh
Tuxisthi10:09
Tuxisti have problems with nfs and ubuntu http://pastebin.com/m61aaa0b10:10
Tuxistanybody knows a solution ?10:10
Jeeves__Tuxist: Never seen that message11:04
Jeeves__is that nfsv4?11:05
Tuxistyes11:05
Tuxisti use a heimdal kdc with openbsd 4.411:05
eolo999hi i'm having weird problems with kvm on hardy... my guestVM shows grub prompt instead of booting; any advice?11:10
=== mcasadevall is now known as NCommander
domasare there any utilities to automate post-install fstab editing? :)12:29
stefan_cannot that I know of12:30
rst-uaniccat, sed?12:34
rst-uanicawk, grep, bash?12:35
stefan_cangood point rst-uanic those are the tools for the job12:42
oruworkScottK, hi13:06
ScottKoruwork: Hello.13:17
oruworkScottK, 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 support13:19
ScottKoruwork: I can probably answer specific questions (as can others here), but I don't have time to walk you through it.13:22
ScottKI should be around for the next 6 or 7 hours mostly.13:22
oruworki'm kinda afraid to touch it because its the middle of the work day13:23
oruworkits my company's email server13:23
ScottKI'll be around mostly tomorrow too.13:23
ScottKif it's a production box, don't mess with it now.13:23
oruworkk13:23
oruworkyeah i was thinking to do it during the weekend13:24
mrwesWill 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 - Retail13:24
oruworkbut i'm sooooo tempted to do this ScottK lol13:26
oruworkmrwes, do you mean 9.04 ?13:26
ScottKoruwork: Of course, but be a responsible admin and break the system in off hours.13:26
oruworkScottK, :)13:26
mrwesno, 8.04 LTS Server edition13:27
oruworkScottK, i'm glad i was able to convice my boss to ditch ISP's mail server13:28
oruworkbut now he is busting my balls for all the spam13:29
ScottKYes.  As he should.13:30
oruworkdamn13:31
=== Andre_Gondim-afk is now known as Andre_Gondim
phaidroshi, just to clean my head: grouping of users is only possible with htdigest, not htpasswd, right?14:14
robertj_ok guys, fun question. Is there a way to see all files on a system that do not match a presently installed package14:15
aciculawell yes, you can use dpkg-query to see the list of installed files per package, match it agains a list of all files and presto14:27
aciculaor use dpkg-query to see if a file is owned by a package or not14:28
DeevzHow can I upload/download files from my server using ebox?14:28
robertj_acicula: thanks14:30
aciculadpkg-query -l <package> to list the files owned by a package, dpkg-query -S /path/to/filename to see if it belongs to a package14:31
acicularobertj_: mind you this just checks the filename/path, if the file was overwritten or modified it will still show up as belonging to the package14:32
aciculanot sure if the hash of the original file is stored so you can check for that14:32
robertj_acicula: guess I can always extract it and do it that way14:36
aciculawell, i think the hash is stored, i installed my own libflash at some point and after uninstalling the package the file was left14:40
aciculaso it at least seemed to have detected modification14:40
aciculawhat 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 work14:41
Deevzacicula: ebox?14:46
aciculanah that looks like a full server managment, just need something that monitors connects, filesystem , heavy load on services, that sort of thing14:50
sorenrobertj_: debsums14:52
robertj_soren: also tantalizing15:05
sorenrobertj_: Eh?15:06
robertj_debsums looks like it does what I need15:06
robertj_I also just wrote a very ugly python script to figure out what packages have been installed15:06
robertj_installed: nagios-nrpe-server, ubuntu-standard, installation-report, linux-ubuntu-modules-2.6.24-19-server, backuppc, ubuntu-minimal15:08
robertj_not sure why installation-report is not a depend of something else htough15:08
bromic94[Fri Mar 20 11:12:18 2009] [warn] NameVirtualHost *:0 has no VirtualHosts15:13
bromic94that is what i get when i run /etc/init.d/apache2 start15:13
bromic94and i can not gain access to my web server either15:13
bromic94nvm15:13
rst-uanicbromic94: and if you delete :0 ?15:14
rst-uanicfrom the /etc/apache2/sites-available/default15:14
=== hessml|away is now known as hessml|away|away
bromic94u telling me to do taht?15:19
rst-uanicyes15:19
rst-uaniceither leave NameVirtualHost * or NameVirtualHost *:8015:20
rst-uanicbut not *:015:20
bromic94i fixed it15:24
bromic94thanks!15:25
rst-uanicwelcome)15:26
\shmoins...16:16
\shguys, 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.lst16:17
\shand Launchpad doesn't know anything about it16:17
rst-uanicI have servers with e200i running interpid16:17
=== Pici is now known as newnick
\shrst-uanic: did you install via CD or netboot? looks like that it strikes me only via netboot16:19
=== newnick is now known as Pici
rst-uanic\sh: via cd16:19
\shrst-uanic: ok...that matches with my tryouts..cd works but netboot d-i not16:19
\sh(only on hps..)16:20
rst-uanicand netboot never works?16:20
\shnever...(which means, only grub is not installed correctly)16:20
\shbut 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 wrong16:22
rst-uanic\sh: have you tried jaunty?16:22
\shrst-uanic: no..but hardy...and hardy works16:22
rst-uanic\sh: interesting.. i will try to install one of my hp server using netbook on monday16:23
\shrst-uanic: sounds good :)16:24
krauthttp://pastebin.com/m5809a41816:55
krauttime for happy happy joe joe!16:55
krautGAH!16:55
\shkraut: reproducable? x86 or x86_64 ? ;)16:56
kraut\sh: x86 on via epia16:57
kraut\sh: actually i couldn't say, the system is more or less dead16:58
krautlooks like a reboot16:58
krautbbl, need to reboot :/17:06
=== bmwadmin is now known as Big_Ham
Big_Hamhey guys17:14
Big_HamQ about PHP/GD ...17:15
Big_Hamanyone around?17:16
krautre17:30
TimReichharthey guys I am having problems sending out email using exim17:42
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 agai18:49
Deepsyou might need to set the speed + duplex at the same time18:53
sparky_trying that now via the server's screen but it looks like it is stalling again18:56
Deepsare you setting a speed/duplex unsupported by your switch?18:57
sparky_no, i'm setting them to what they are already set too18:57
sparky_i can't even ctrl-z to stop the stalling right now18:58
Tareaif anyone has time can soneome help me with ubuntu 8.10 server  the sound dosent work :)19:07
MianoSMyou need sound for the server?19:08
giovani3MianoSM: plenty of potential reasons, yeah19:08
Tareamy woman is bitching she needs the sound19:08
giovani3what's the sound for though?19:08
MianoSModd19:08
giovani3MianoSM: for example, asterisk19:09
Tareashe wants to watch video and play om her pc whiles she is farming in darkfall19:09
giovani3Tarea: that doesn't sound like a server19:09
Tareait is but not muuch used :)19:09
Tareai dont think anyone can anwser this so i'll just do something else :)19:11
giovani3I don't think you're in the right channel19:12
Tareai've been sent her and there and well if this isint the right channel then wich one is it19:12
giovani3where were you that you were told to come here?19:12
Tareaubuntu19:12
giovani3well it sounds like you're not running a server19:13
giovani3so, I doubt they sent you here unless you told them you were19:13
MHS_where can we check the IP's of the network cards?19:14
giovani3MHS_: ifconfig19:15
MHS_on the terminal?19:16
giovani3yes19:16
giovani3where else?19:16
giovani3you're running a server, no?19:16
MHS_yes. I was 99.9% sure that's what you meant to run it under but I rather be safe then sorry19:17
giovani3but where else do you interact with your server?19:17
MHS_We are just starting the server19:17
=== mcasadevall is now known as NCommander
=== Ethos is now known as SeriousTom
uvirtbotNew bug: #345957 in open-iscsi (main) "iscsid is looking for targets prior to network being available" [Undecided,Incomplete] https://launchpad.net/bugs/34595719:55
fevelhow can I share my ethernet internet connection through the wireless on my macbook19:58
feveloops sorry... wrong channel20:00
simplexiohey.. importand question .. what is the file where i define ctrl+alt+del bahior, i dont find /etc/inittab file20:46
sorensimplexio: /etc/event.d/control-alt-delete20:46
simplexiothanks20:47
simplexiowhen that change happened20:47
=== SeriousTom is now known as Ethos
sorensimplexio: In Edgy.20:52
sorensimplexio: October 2006.20:52
beawesomeinsteadi've read recently about VCS for config files. is it 'good to have in 15.04' or 'should be done soon' feature?21:05
mathiazkirkland: if you setup an RAID system in the installer, grub should installed to all the disks right?21:15
kirklandmathiaz: in most cases, yeah21:15
kirklandmathiaz: if /boot is on a raid121:15
kirklandmathiaz: grub should be installed to each disk serving a copy of /boot21:16
kirklandmathiaz: i think that's the logic we agreed upon21:16
sorenThat sounds reasonable.21:20
ivoksgood blog posts21:54
orudieivoks, hi22:05
ivokshi22:06
orudieman i need to set up mail filter ivoks22:10
ivokssoren: we need to define DIT asap22:27
jmarsdenDIT could be defined as "Do It Tomorrow" ?  But that may not be helpful :)22:28
ivoksit's just the hardest thing to define22:29
ivoksbut we have to take the bullet and do it22:29
ivoksafter that we can extend everything...22:29
ivoksmail servers, http authentication...22:30
sorenivoks: Thanks. I'm glad you like it. :)22:30
ivokssoren: both you and thierry write about the same stuff i think22:31
chriszfWhat's this about now?22:31
ivokswe should make ubuntu-server a product, not a pool of choices22:31
sorenivoks: Yeah, I just wanted to jump onto the wave that Thierry started :)22:32
ivoksand "ubuntu-server-advanced" as a pool of choices22:32
sorenivoks: And since I had already written min, it was easy :)22:32
ivokswho's in favour pushing LDAP as default for.... everything? :)22:32
* ivoks o/22:32
ivokshehe22:33
soren\o/22:33
sorenI'm so tired that the first time I tried to type  "\o/", it came out "o/~2". Go figure.22:33
ivokshehe22:33
ivoksit's 23:3322:33
sorenI have no clue how that makes sense.22:33
ivokstime to kill the lid? :)22:33
sorenJust a few more e-mails and I'm off to bed.22:34
sorenBut seeing how badly I'm typing, that might take a while.22:34
ivokswell, enough for me22:37
ivoksgood night22:37
sorenGood night, ivoks.22:37
sorenHave a good weekend.22:37
ivoksyeah, a working one :)22:37
ivoksyou too soren22:38
AnArrayfulOfPerlWhat do i tell my domain registrar to use as my nameserver? just my ip?22:47
tonyyarussoI'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
charlesatlasCould anyone lend me a hand with how to install Dansguardian?22:47
tonyyarussoAnArrayfulOfPerl: That depends on how you have things set up.  Usually people will use nameservers offered by their registrar.22:48
AnArrayfulOfPerli want to have my own DNS.22:49
AnArrayfulOfPerlmy registrar has shitty DNS servers22:49
jmarsdenAnArrayfulOfPerl: Then run your own DNS servers and tell your domain registrar that your domain uses those servers...22:49
AnArrayfulOfPerlk22:50
jmarsdenYou'll need two separate machines on two different static public IPs ... but you probably already know that.22:51
Deepsnot /need/22:53
charlesatlasI figured it out....23:11
=== asac_ is now known as asac

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