Back to Home / #uml / 2007 / 06 / Prev Day | Next Day
#uml IRC Logs for 2007-06-07

---Logopened Thu Jun 07 00:00:41 2007
00:53|-|cmantito [] has quit [Ping timeout: 480 seconds]
01:02|-|cmantito [] has joined #uml
01:08|-|hfb [~hfb@] has joined #uml
01:08|-|hfb [~hfb@] has left #uml []
01:10|-|kokoko1 [~Slacker@] has quit [Ping timeout: 480 seconds]
01:54|-|Urgleflogue [] has joined #uml
02:21|-|newb_prob [] has joined #uml
02:33|-|motp[hi] [~motp@] has joined #uml
04:02|-|newb_prob [] has quit [Read error: Operation timed out]
04:03|-|newb_prob [] has joined #uml
04:13|-|newb_prob [] has quit [Quit: Ex-Chat]
04:14|-|newb_prob [] has joined #uml
04:18|-|newb_prob [] has quit [Remote host closed the connection]
04:18|-|newb_prob [] has joined #uml
04:19|-|newb_prob [] has quit [Remote host closed the connection]
04:24|-|newb_prob [] has joined #uml
04:31|-|newb_prob [] has quit [Quit: Ex-Chat]
04:34|-|newb_prob [] has joined #uml
04:36|-|newb_prob [] has quit [Remote host closed the connection]
04:56|-|kokoko1 [~Slacker@] has joined #uml
06:40|-|flatronf700B [~flatronf7@] has quit [Ping timeout: 480 seconds]
06:43|-|motp[hi] [~motp@] has quit [Quit: Leaving]
08:47|-|aroscha [] has quit [Quit: aroscha]
09:48|-|jdike [] has joined #uml
09:48<jdike>Hi guys
09:57<peterz>morning jdike
10:06[~]jdike disappears for a while
10:38<peterz>he's afraid of the alien
10:41|-|linux__alien [~linux__al@] has joined #uml
10:41<linux__alien>hello jdike
10:43[~]kokoko1 rofl
10:45<linux__alien>i am stil trying hard to configure my Internet in UML so for that i ve infact configured my PPPOE client in the modem itself but still unable to get my internet working in UML
10:48<linux__alien>could some one here help me ?
10:48<linux__alien>i just have a private IP address and i believe i ve added the routes but still it does not work
10:49<linux__alien>My Private IP is
10:50<linux__alien>and ve my PPPOE Client running in the modem. Now i ve given the following routes in my UML
10:51<linux__alien>Destination Gateway Genmask Flags Metric Ref Use Iface
10:51<linux__alien> UGH 0 0 0 eth0
10:51<linux__alien> UGH 0 0 0 eth0
10:51<linux__alien> * U 0 0 0 eth1
10:51<linux__alien> * U 0 0 0 eth1
10:51<linux__alien> * U 0 0 0 eth0
10:52<linux__alien>This is my routing table in UML
10:52<peterz>you're lacking a default gw
10:54<linux__alien>peterz, when i give this route add default gw
10:54<linux__alien>i get network unreachable
10:54<peterz>and is your host?
10:55<linux__alien>and i am able to ping also
10:55<peterz>does your host do ip_forward?
10:55<peterz>does it nat?
10:55<linux__alien>how do i check that
10:55<linux__alien>whether NAT is enabled
10:55<peterz>iptables -nL -t nat
10:56<linux__alien>infact i had lot of confusion when i had PPPOE Client running in my system and hence removed it and made it run in the modem o
10:56<linux__alien>ok let me check
10:56<linux__alien>Chain PREROUTING (policy ACCEPT)
10:56<linux__alien>target prot opt source destination
10:56<linux__alien>Chain POSTROUTING (policy ACCEPT)
10:56<linux__alien>target prot opt source destination
10:56<linux__alien>Chain OUTPUT (policy ACCEPT)
10:56<linux__alien>target prot opt source destination
10:57<linux__alien>ok so is that the problem?
10:57<peterz>not sure, could be
10:57<peterz>try the NAT howto
10:58<peterz>iptables -t nat -A POSTROUTING -s -d ! -j MASQUERADE
10:58<peterz>might work
10:58<peterz>haven't used it in a while though
10:59<linux__alien>thanks let me try it out
10:59<peterz>assuming the guest ip on your host is in 192.168.1/24
11:01<linux__alien>should i ve the UML eth0 ip in the same subnet?
11:01<linux__alien>i dont have that
11:01<linux__alien>i ve 2 interfaces in UML eth0 and eth1 whose IPs are and
11:01<linux__alien>but still able to ping . The IP address of Host eth0
11:03<peterz>could you stick the output of ifconfig -a and route -n of your host into pastebin or somethign
11:07<linux__alien>peterz, UML Configuration
11:07<linux__alien>ifconfig -a
11:07<linux__alien>eth0 Link encap:Ethernet HWaddr A2:6C:5C:01:77:1D
11:07<linux__alien> inet addr: Bcast: Mask:
11:07<linux__alien> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
11:07<linux__alien> RX packets:38 errors:0 dropped:0 overruns:0 frame:0
11:07<linux__alien> TX packets:156 errors:0 dropped:0 overruns:0 carrier:0
11:07<linux__alien> collisions:0 txqueuelen:1000
11:07<linux__alien> RX bytes:2120 (2.0 KiB) TX bytes:13366 (13.0 KiB)
11:07<linux__alien> Interrupt:5
11:07<linux__alien>eth1 Link encap:Ethernet HWaddr D2:82:EF:50:C8:A2
11:07<linux__alien> inet addr: Bcast: Mask:
11:07<peterz>ohh, please, pastebin
11:08<linux__alien> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
11:08<linux__alien> RX packets:6 errors:0 dropped:0 overruns:0 frame:0
11:08<linux__alien> TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
11:08<linux__alien> collisions:0 txqueuelen:1000
11:08<linux__alien> RX bytes:384 (384.0 b) TX bytes:336 (336.0 b)
11:08<linux__alien> Interrupt:5
11:08<linux__alien>lo Link encap:Local Loopback
11:08<linux__alien> inet addr: Mask:
11:08<linux__alien> UP LOOPBACK RUNNING MTU:16436 Metric:1
11:08<linux__alien> RX packets:1 errors:0 dropped:0 overruns:0 frame:0
11:08<linux__alien> TX packets:1 errors:0 dropped:0 overruns:0 carrier:0
11:08<linux__alien> collisions:0 txqueuelen:0
11:08<linux__alien> RX bytes:112 (112.0 b) TX bytes:112 (112.0 b)
11:08<linux__alien>route -n
11:08<linux__alien>Kernel IP routing table
11:08<linux__alien>Destination Gateway Genmask Flags Metric Ref Use Iface
11:08<linux__alien> UGH 0 0 0 eth0
11:08<linux__alien> UGH 0 0 0 eth0
11:08<linux__alien> U 0 0 0 eth1
11:08<linux__alien> U 0 0 0 eth1
11:08<linux__alien> U 0 0 0 eth0
11:08<linux__alien>Host Configuration
11:08<linux__alien>ifconfig -a
11:08<linux__alien>eth0 Link encap:Ethernet HWaddr 00:13:D4:C5:69:A1
11:08<linux__alien> inet addr: Bcast:192.16
11:08<linux__alien>oops sorry
11:09<linux__alien>i am really sorry
11:09<linux__alien>thats what i ve done actually but ctrl + V had some old contents
11:09<linux__alien>i am really sorry for that
11:09<linux__alien>thats the link
11:09<linux__alien>i desparately need Internet connectivity in UML for compiling and installing a source package
11:10<peterz>can you ping from your guest?
11:11<linux__alien>but can ping
11:11<linux__alien>need to add a route for that
11:11<linux__alien>probably a network route for
11:11<linux__alien>should work
11:12<peterz>yeah, route add -net eth0
11:12<peterz>or something of that kind
11:12<linux__alien>have added but still not able to ping it
11:12<peterz>what does: cat /proc/sys/net/ipv4/ip_forward
11:12<linux__alien>the default gateway should be
11:12<peterz>say on your host?
11:13<peterz>well, what I have here is that the guest has the same default gw as the host
11:14<linux__alien>it says 1
11:14<peterz>another computer around the house that does the actual interwebz connection
11:14<peterz>route -n | grep 192.168 in the guest?
11:15<linux__alien>route -n | grep 192.168
11:15<linux__alien> UGH 0 0 0 eth0
11:15<linux__alien> UG 0 0 0 eth0
11:15<linux__alien>There is a problem here
11:15<linux__alien> 1: ( 1.115ms pmtu 1500
11:15<linux__alien> 1: ( 0.236ms
11:15<linux__alien> 2: no reply
11:16<linux__alien>when i give this it goes to and then to i dont know why it should forward it to
11:16<linux__alien>anything i am missing ?
11:17<peterz>mine look like so: U 0 0 0 eth0
11:17<peterz> UG 0 0 0 eth0
11:17<peterz>that is, I have no gw for the net route
11:18<linux__alien>you want me to remove those entries and recreate it without specifying the gateway
11:18<linux__alien>is it?
11:18<peterz>hmm, who is your host?
11:18<linux__alien>thats the default gateway
11:18<peterz>sure, but is that box under your control?
11:19<linux__alien>its in the ISP's side
11:20<linux__alien>now i ve modified it but still i am able to ping but not
11:21<peterz>ah, ok
11:21[~]peterz thinks
11:25<peterz>linux__alien: on the host: iptables -t nat -F POSTROUTING; iptables -t nat -A POSTROUTING -s -j MASQUERADE
11:26<linux__alien>See the difference from host to Guest
11:26<linux__alien>This is in Guest
11:26<linux__alien> 1: ( 0.640ms pmtu 1500
11:26<linux__alien> 1: ( 0.231ms
11:26<linux__alien> 2: no reply
11:26<linux__alien>it gives the packet to
11:26<linux__alien>in Host
11:26<linux__alien> 1: ( 0.195ms pmtu 1500
11:26<linux__alien> 1: ( 2.904ms reached
11:26<linux__alien> Resume: pmtu 1500 hops 1 back 1
11:26<linux__alien>but why is the packet given to
11:27<peterz>linux__alien: that is the host tap
11:27<linux__alien>yes is that right?
11:27<peterz>linux__alien: do you have that MASQ rule?
11:27<linux__alien>i am adding it
11:28<linux__alien>ve added it
11:28<peterz>try to ping from your guest
11:28<linux__alien>i think now it should work
11:28<peterz>now add a nameserver to your host
11:29<linux__alien>i am able to ping
11:29<linux__alien>Great :-)
11:29<linux__alien>ok ve a doubt here
11:29<linux__alien>so now my host acts as a router and it changes the source of the packet when it recieves it right?
11:29<peterz>it does snat
11:30<linux__alien>now if i i want to establish a TCP Session with and i can do that also right?
11:31<peterz>not sure what you're asking
11:31<linux__alien>or say i want to add more virtual interfaces and have OSPF sessions among those i can do that
11:31<peterz>the tap ip's should not be used for much
11:31[~]peterz has no clue on OSPF
11:31<linux__alien>ok we can leave OSPF i just want to have TCP Sessions among two interfaces
11:31<linux__alien>it should act as if those 2 are different machines
11:32<linux__alien>now i ve a doubt with regards to UML
11:32<peterz>just bind your guest services to tun ip's
11:32<peterz>and use the respective tap ips from the host
11:32<linux__alien>tun ips?
11:33<peterz>oh, ethN on the guest
11:34<peterz>anyway, I've about exhauseted my net knowledge
11:34<linux__alien>Great :-)
11:34<linux__alien>Thanks a lot
11:34<linux__alien>ok now ve a doubt regards to UML . UML by default does not come installed with GCC and G++ and automake so now from yum i am gonna install it so now if i install it the next time i log in to UML how will i have gcc again
11:34<peterz>fully depends on the image you use
11:35<peterz>I always roll my own uml images using a gentoo stage3 tarball
11:35<peterz>most convenient
11:35<linux__alien>i use the Fedora Core 5 image. Now i am trying to install gcc
11:35<peterz>yum install gcc should work I guess
11:35<linux__alien>it does not find the package
11:36<linux__alien>oh sorry does
11:36<linux__alien>typo error
11:36<linux__alien>and an other doubt
11:36<linux__alien>telnet command does not work in UML how do i make that work
11:36<linux__alien>i need telnet to work
11:38<linux__alien>any ideas from where i could get it ?
11:38<peterz>yum install telnetd ?
11:39[~]peterz hasn't used telnet in ages
11:39<peterz>except to manually talk mail protocols
11:42[~]linux__alien is installing automake
11:49<linux__alien>how does UML install everything and how does it maintain it when the user again logs back in and boots into it?
11:49<linux__alien>Does it use the root partition of the host for installation. I mean the /dev/ubda?
11:54<peterz>it uses whatever image you provide
11:55<linux__alien>ok how do i run an other instance of UML
11:55<linux__alien>can i do that ?
11:56<peterz>just copy the image and start it from the copy
11:56<peterz>or use COW
11:56<linux__alien>oh i ll have to copy the same image to an other location is it say into a directory /home/xxx/image2/and run it is it?
11:57<peterz>the disk image only
11:57<peterz>cp my_disk_image my_disk_image2; linux -hda my_disk_image2
11:58<peterz>oh, thats qemu, uml uses ubd0=
11:58<linux__alien>should i give linux -hda ?
11:58<peterz>no, my bad
11:58<linux__alien>i now follow whats given in the website
11:58[~]peterz has all this hidden in aliases and scipts
12:02<linux__alien>by mistake i tried to copy the image when UML was not running
12:02<linux__alien>will it cause any problem?
12:03<linux__alien>cp FedoraCore5-x86-root_fs FedoraCore5_Image2-x86-root_fs
12:06<peterz>just do that while the guest is not running
12:07<linux__alien>ok now i am running two instances of UML . and the second instance has got IP addresses in the same subnet but the host part is different
12:08<peterz>yeah, just change your 2nd guest config if you care
12:15<linux__alien>can i run the same instance of UML parallely ?
12:15<linux__alien>i mean i ve run ./bgpd but i just want an other window in the same UML Instance
12:15<linux__alien>but i cannot run ./bgpd as a background process
12:15<linux__alien>is there any better way of doing it
12:16<linux__alien>just need an other bash shell in the same UML Instance for giving telnet localhost
12:19|-|flatronf700B [~flatronf7@] has joined #uml
12:57|-|linux__alien [~linux__al@] has quit [Quit: Leaving]
12:59|-|aroscha [] has joined #uml
13:08|-|aroscha [] has quit [Quit: aroscha]
13:09|-|aroscha [] has joined #uml
13:45|-|aroscha [] has quit [Quit: aroscha]
13:48|-|ram [] has quit [Read error: Operation timed out]
14:10|-|aroscha [] has joined #uml
14:14<kokoko1>heh, no worries alien is gone :D
14:24<kokoko1>one of our uml is crashing two times in last 3 days, before that it was up for more then 40 days.
14:25<kokoko1>this UML hosting our jabber services.
14:25<kokoko1>Nothing in host or VM logs :-S
14:33|-|newb_prob [] has joined #uml
14:36<jdike>any cores?
14:39<kokoko1>nope :(
14:40<kokoko1> /var/uml/vm3/ directory got no core dump
14:40<kokoko1>ps -ef | grep vm3 on host gives no process running , so all i have to do lunch vm
14:42|-|newb_prob [] has quit [Remote host closed the connection]
14:44|-|newb_prob [] has joined #uml
14:47|-|newb_prob [] has quit [Remote host closed the connection]
14:51<kokoko1>Running on all UMLs
14:52<kokoko1>send some candies :-s
14:53<jdike>why so old?
14:53<jdike>and that doesn't have the coredump on panic code
14:53|-|newb_prob [] has joined #uml
14:54<kokoko1>Hmm last time I remember i dicussed the kernel updating with you, as per our dicussion you told me no need to update if its working fine
14:54<kokoko1>Coz nothing much in new kernels just bug fixes.
14:54<jdike>but if the thing is dying regularly and you can't figure out why, I would that that's not working fine
14:55<kokoko1>True it start doing it from last three days, dies two time
14:55<jdike>also performance improvements
14:55<jdike>dunno how important that is to you
14:56<kokoko1>Ofcourse we should be happy to get performance when using UML in productions environement
14:57<kokoko1>jabber UML down mean our employee no longer talk to each other, yes they can email :)
14:57<kokoko1>and i hate if i can't able to chit chat with company chicks :D
15:08<peterz>kokoko1: you could of course get your self out of your char and physically walk over to the water cooler :-)
15:09<jdike>peterz, I see from my scrollback that alien seems to have had some success
15:09<jdike>with your help
15:09<peterz>jdike: well, after I told him what to type..
15:09<kokoko1>peterz, duno but i am feeling guru not happy with me :(
15:10|-|ram [] has joined #uml
15:10<jdike>took long enough
15:10<peterz>jdike: yeah, waaaay to long
15:11<peterz>I wish such levels of incompetence were rare
15:13<jdike>I fear not
15:13<jdike>high aspirations though
15:13<jdike>determined to play with zebra when he has no clue how to set up static routes
15:14[~]kokoko1 creating ticket for UML kernel updation
15:15<jdike>update the problematic one anyway
15:15<jdike>others that aren't causing trouble you can just leave alone
15:17|-|newb_prob [] has quit [Remote host closed the connection]
15:17<kokoko1>Right, I'll better create rpm for kernel binary and kernel modules and make it avialable in our custom repository, installing it on other will be much easier that way :D
15:17|-|newb_prob [] has joined #uml
15:18|-|newb_prob [] has quit [Remote host closed the connection]
15:18[~]kokoko1 waits for the thunderous applause
15:19[~]peterz claps a little frantic
15:19<peterz>but well ment
15:19<jdike>and badly spelt
15:19<peterz>that would be me
15:19[~]kokoko1 not native either
15:20<jdike>the dutch are well-known for their command of other countrys' languages
15:20|-|newb_prob [] has joined #uml
15:20<peterz>jdike: heh, that used to be
15:21|-|newb_prob [] has quit [Remote host closed the connection]
15:21<peterz>jdike: english is the only other language I'm reasonably comfortable with
15:22|-|newb_prob [] has joined #uml
15:22<kokoko1>jdike, you got pics of your beging visit uploaded any where?
15:23<kokoko1>peterz, and what's your native language?
15:23<peterz>kokoko1: Dutch
15:23<peterz>not that I can spell properly in Dutch either
15:24<kokoko1>and where you learn english, imean you educated in Dutch or english?
15:24<peterz>in Dutch, but I started reading English at 13
15:25<peterz>the MS Basic manual and JRR Tolkien novels
15:25<peterz>well the basic manual was at 11 or so
15:25<peterz>but by 13 I could properly read it
15:25<peterz>at which time I switched over to C
15:25<kokoko1>nice, all i can see ppl from .eu learn english pretty fast
15:26<kokoko1>may be there languages similar to english?
15:26<peterz>yeah, one has to
15:26<peterz>yeah, similar families
15:26<jdike>dutch actually has some surprising similarities to English
15:28<kokoko1>Unfortunately its pretty taugh for us to speak english even tho our education system is in english, mean all higher education language is english here.
15:29<peterz>kokoko1: where is here/
15:29<kokoko1>still we can't speak english well enough even educated in this ... language.
15:30<kokoko1>no worries i am nuke free
15:30<peterz>Just figured out where it is
15:30<peterz>glad to know you guys have interwebz
15:30<kokoko1>Our General is hiding it under his ass.
15:30<jdike>a good place as any for when it goes off
15:30<kokoko1>ahahaha you bet
15:31<kokoko1>damn i forget who last time i created rpms for uml kernel and modules.
15:33<kokoko1>F7 has been released, another task waiting me to upgrade all infra. Duno why we are stick to this distro whom developers even do not recommend it for production enviroment
15:33<kokoko1>I already give up fighting to get rid of Fedora :-S
15:34<kokoko1>peterz, true we got pretty good Internet but still very expensive for nromal user.
15:35<kokoko1>90% still on dialup :D
15:35<peterz>heh, teh good olde days
15:38<kokoko1>jdike, recently I have contributed wiki document after Henrick motivation
15:38<kokoko1>Configuring a Squid Server to authenticate off OpenLDAP
15:38<kokoko1>I'm sure you remember him from old nice days :)
15:39[~]peterz once rewrite openldap
15:39<kokoko1>awesome you did?
15:40<peterz>yeah, but all that disapeared in some fault when the company died
15:40<peterz>Initially we tried to push upstream, but Kurt was being his usual charming self
16:02|-|kos_tom [] has joined #uml
16:09<kokoko1>see ya later
16:17|-|ram [] has quit [Ping timeout: 480 seconds]
16:23|-|newb_prob [] has quit [Remote host closed the connection]
16:32|-|aroscha [] has quit [Quit: aroscha]
16:33|-|ram [] has joined #uml
16:45|-|kos_tom [] has quit [Quit: I like core dumps]
17:26|-|Mind7 [] has joined #uml
17:26<Mind7>WOW! Free calls -
17:26|-|Mind7 [] has left #uml []
17:28|-|jdike [] has quit [Quit: Leaving]
20:16|-|kokoko1 [~Slacker@] has quit [Ping timeout: 480 seconds]
22:58|-|VS_ChanLog [] has left #uml [Rotating Logs]
22:58|-|VS_ChanLog [] has joined #uml
---Logclosed Fri Jun 08 00:00:16 2007