/srv/irclogs.ubuntu.com/2006/04/04/#ubuntu-server.txt

=== mario_ [n=mario@83-131-254-145.adsl.net.t-com.hr] has joined #ubuntu-server
=== mgalvin [n=mgalvin@ubuntu/member/mgalvin] has joined #ubuntu-server
=== ealden [n=ealden@203.76.211.214] has joined #ubuntu-server
=== alleeHol [n=ach@allee.exgal.mpe.mpg.de] has joined #ubuntu-server
=== alleeHol [n=ach@allee.exgal.mpe.mpg.de] has joined #ubuntu-server
=== ubijtsa2 [n=anders@213.208.70.150] has joined #ubuntu-server
=== maton [n=maton@12-219-201-80.client.mchsi.com] has joined #ubuntu-server
=== bip [n=bip@62.211.210.146] has joined #ubuntu-server
bipanybody has experince with ltsp running on dapper ?10:26
fabbionebip: -> #edubuntu10:37
bipok10:37
bipgrazie fabbione10:37
bipma ho risolto ;-)10:37
bipmaybe ;-)10:37
=== lbm [n=lbm@x1-6-00-13-10-7a-d1-e4.k233.webspeed.dk] has joined #ubuntu-server
=== thefish [n=thefish@unaffiliated/thefish] has joined #ubuntu-server
=== ivoks [n=ivoks@ubuntu/member/ivoks] has joined #ubuntu-server
=== Pygi [n=mario@83-131-253-80.adsl.net.t-com.hr] has joined #ubuntu-server
=== thefish [n=thefish@unaffiliated/thefish] has joined #ubuntu-server
=== ealden [n=ealden@203.76.212.130] has joined #ubuntu-server
=== Bakgat [n=user@myw-stp-196-37-192-140.sentechsa.net] has joined #ubuntu-server
Bakgathi all04:01
Bakgatanyone here well versed in networking on an ubuntu system (interfaces, shorewall, etc)04:02
PygiBakgat: what exactly do you need?04:02
BakgatHi Pygi04:02
PygiHi Bakgat04:02
BakgatI've set up a mail server based on instuctions from http://flurdy.com/docs/postfix/#install_pack04:03
Bakgatvery detailed & helpfull04:03
BakgatEverything seems to have gone ok (took me better part of a whole day to set up). but i ca't seem to access the networks.04:04
BakgatI originally set it up with only a single NIC, detailed in /etc/network/interfaces04:04
Bakgati've atempted to fill in as much detail in /etc/shorewall/* , but i seem to have missed something, cause if i ifconfig, i only c the loopback04:05
=== ivoks [n=ivoks@ubuntu/member/ivoks] has joined #ubuntu-server
Bakgatthis box is going 2 act as mail & web server from a dnz zone. i have a seperate box that acts as a router/firewall/proxy/etc04:06
Bakgatmy firewall will transparrently route traffic & handle security from internet, wired network, wireless network & dmz, but that's a topic 4 another day04:08
Bakgatwhere do we start?04:08
Bakgatthe mail service & some other services seem ok04:09
Bakgati just can't get the nic to gell04:09
=== mgalvin [n=mgalvin@ubuntu/member/mgalvin] has joined #ubuntu-server
BakgatPygi, u still there?04:15
PygiBakgat: not really, and yes :-/04:16
Bakgatso, what do u suggest?04:21
Pygitried restarting "networking"?04:23
Bakgatyip04:24
infinityYou're configureing your network in /etc/network/interfaces?04:24
infinityAnd does "ifup eth0" (or whatever interface) work?04:25
Bakgatyip. will give detail soon04:25
Bakgatnope04:25
infinityDo you get any errors?04:25
Bakgatnetworking/interfaces set to dhcp 4 now04:25
Bakgatchecking log not04:25
Bakgatnow04:26
ivoksifconfig | grep eth004:26
ivokscheck out if kernel recognized your nic as eth004:26
ivoksor maybe some other nic is eth0 (this is not so rare as it seems)04:26
Bakgatok. where/how do i do that?04:26
Bakgatifconfig only lists loopback04:27
ivoksin konsole/terminal04:27
infinity"ifconfig -a" to show interface that aren't up.04:27
Bakgatok. hang on04:27
infinitys/interface/interfaces/04:27
ivoksmay bad...04:27
ivoksdmseg | grep eth004:27
ivoksnot ifconfig :)04:27
Bakgatcool! sees all nic, just not assigning adddr.04:28
Bakgatnot seeing dmseg cmd04:28
infinityKay, then your /etc/network/interfaces is wrong. :)04:28
ivoksmii-tool?04:29
Bakgatmii-tool, check04:29
Bakgateth0: Bad addr, eth1 op not supp04:29
Bakgatno MII interfaces found04:30
Bakgatbad network/interfaces?04:31
ivokseth0: bad addr?04:34
Bakgatwill set interfaces 2 static in interfaces04:34
ivokshuh?04:34
ivoksyour eth0 gets ip from dhcp?04:34
Bakgatmii-tool reports SIOCGMIIPHY on 'eth0' failed: Bad Address04:35
Bakgatfor now04:35
Bakgatwil set to static04:35
ivoksdont04:35
ivoksdo ifdown eth004:35
ivoksand then manually get address from dhcp04:35
ivoksdhclient eth004:35
Bakgatsit0: unknown hardware addr type 77604:36
Bakgatdo u have skype addr? typing's a schlep04:37
ivoksnope04:37
Bakgatok04:38
ivoksforget about sit004:39
ivokswhat did it tell you about eth0?04:39
Bakgatno-go. hardware. let me just reboot with single nic04:39
Bakgatsweet! got a DHCP lease (192.168.0.232), but not I need to set it up as static (192.168.0.100/255.255.255.0 for test & config, but 192.0.0.10/255.255.255.0 in production)04:43
ivoksi told you to run dmsg | grep eth004:44
ivoksthat other nic was eth0, and the second one was eth104:44
Bakgatdisabled eth1 in bios, dmesg picks up on eth0. gives hardware id, mac, irq, link up, no ip6 routers04:46
Bakgati can c the apache server via http, but other services to working (phpmyadmin, squirrelmail)04:47
Bakgat*other services not working*04:47
infinityBakgat: dID YOU JUST SAY 192.0.0.10?04:48
infinityBakgat: Erm, caps lock, sorry.04:48
infinityBakgat: But, I hope that was a typo.  192.0.0.0 is a routable subnet, not a private one.  People own that IP address. :)04:48
ivoksinfinity: people think 192.x.x.x is public :)04:48
ivoksinfinity: i saw one big company with 192.192.x.x for private network :)04:49
Bakgatonce in production i'll change the networkning & shorewall. i'm setting up the server @ home office04:49
infinityivoks: You mean private, I assume. :)04:49
ivoksinfinity: right :)04:49
infinityBakgat: In the 192 space, ONLY 192.168.0.0 is private, no other 192.x subnets.04:49
infinity(If you really need more IPs than a class B, though that seems unlikely, use 10.0.0.0, which is entirely private)04:50
ivoksBakgat: if you need class A, take 10.x.x.x04:50
ivokslol04:50
Bakgati'm planning the networks from my firewall's PoV into 3 seperate network classes. DNZ in class C, wired network class B, wireless class A. have i got it wrong?04:50
infinityAnd I always forget the other one... 172.something?04:50
infinityBakgat: Almost certainly.04:51
ivoksinfinity: that one i froget too...04:51
ivoksBakgat: you need three class C networks04:51
infinityWell, or three much smaller networks.04:51
Bakgatbeen a while since i've done subnetting, so i'm a bit rusty. used a subnet calc to determine networks04:51
infinityclassless subnetting is the future.04:51
ivoksBakgat: for example, 192.168.1.x, 192.168.2.x and 192.168.3.x04:51
ivokswhy bother with subnetting?04:52
ivoksin this case...04:52
Bakgati'd like to seperate networks by subnets so that one network cant accidentaly stumble upon another04:52
ivokssubnetting is ok only for public subnets04:52
maswaninfinity: 172.16 - 172.3104:53
ivoksmaswan: right :)04:53
infinitymaswan: Thanks, you ever-loving fount of useless knowlege. :)04:53
maswanWe use that here, actually04:53
infinitySure, use the one that's hardest to remember.  Makes sense.04:53
ivoks:)04:54
infinityI always use 10.0.0.0, because I'm a lazy typist. :)04:54
maswanSince 10.x is used by the networking people and 192.168 is used alot04:54
maswanOk, as long as the campus networking people do things right, we never notice. But... ;)04:54
Bakgatok. lets assume this server will sit @ 192.168.0.10/255.255.255.004:54
ivoksBakgat: that's ok04:54
Bakgati'd still like to put my other networks on seperate subnets, but that's an exercise for another day04:55
ivoksBakgat: ?04:55
ivoksBakgat: put the other one in 192.168.1.x04:55
ivoksand there you have it04:55
BakgatI'll go mod my networks/interfaces file quiqly. cool?04:56
ivokson different subnets, one can't go to the other04:56
Bakgatthat's the idea04:56
infinityWell, not really true.04:56
infinityIf they're the same physical network, you can easily hop from one to the other.04:56
ivoksinfinity: what's true these days? :)04:56
Bakgatthe router/firewall must handle routing (i use IPCop)04:56
infinityBut, shhh.04:56
ivoksinfinity: nothing can prevent that :)04:56
Bakgati'm looking @ LDAP on a seperate server, but also an exercise for another day04:57
infinityI was rather surprised to discover that my AUD 150 hunk of junk DSL modem/router actually does VLAN switching.04:57
infinityNot that I need VLANs at home, but neat anyway.04:57
ivoksah, i'm using wifi broadband :)04:58
Bakgatok, so I set my networks/interfaces to static as detailed in http://flurdy.com/docs/postfix/#install_pack04:59
=== mgalvin [n=mgalvin@ubuntu/member/mgalvin] has joined #ubuntu-server
Bakgatnow what04:59
Bakgatnet to fix static 2 nic05:00
Bakgatdo I need to set up shorewall next?05:00
Bakgatwould eth0 b net or loc on shorewall in the current stup05:01
Bakgatwould eth0 b 'net' or 'loc' on shorewall in the current setup?05:01
=== ivoks doesn't use wizards :)
Bakgatcool. set up my dhcp server to issue lease to server based on mac (will lock down later)05:10
Bakgatnow, how do I configure my shorewall files (bit confising)05:12
=== lionelp [n=lionel@ip-128.net-82-216-65.rev.numericable.fr] has joined #ubuntu-server
=== ivoks [n=ivoks@ubuntu/member/ivoks] has joined #ubuntu-server
=== Bakgat [n=user@myw-stp-196-34-112-112.sentechsa.net] has joined #ubuntu-server
=== thefish [n=thefish@unaffiliated/thefish] has joined #ubuntu-server
=== mario_ [n=mario@83-131-247-18.adsl.net.t-com.hr] has joined #ubuntu-server
=== infinity [n=adconrad@loki.0c3.net] has joined #ubuntu-server
=== hunger [n=tobias@p54A6216B.dip0.t-ipconnect.de] has joined #ubuntu-server
=== ivoks [n=ivoks@ubuntu/member/ivoks] has joined #ubuntu-server
=== Cturtle [n=Cturtle@a213-84-50-38.adsl.xs4all.nl] has joined #ubuntu-server
=== Pygi [n=mario@83-131-245-103.adsl.net.t-com.hr] has joined #ubuntu-server
=== ivoks [n=ivoks@ubuntu/member/ivoks] has joined #ubuntu-server
=== Pygi [n=mario@83-131-243-104.adsl.net.t-com.hr] has joined #ubuntu-server
=== ivoks [n=ivoks@ubuntu/member/ivoks] has joined #ubuntu-server
=== ivoks_ [n=ivoks@vipnet40-166.mobile.CARNet.hr] has joined #ubuntu-server
=== na7e [n=na7e@205.213.122.126] has joined #ubuntu-server

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