--- Day changed --- Log opened Mon Aug 11 00:00:01 2003 00:14 -!- pirlouit [~peter@duvel.drunkcoders.com] has quit [Quit: Time to frag!] 00:46 -!- clever_jeff [~clever_je@rrcs-west-24-199-13-10.biz.rr.com] has joined #uml 01:31 -!- pirlouit [~peter@duvel.drunkcoders.com] has joined #uml 01:54 * Jax is away: sleep 02:09 -!- pirlouit [~peter@duvel.drunkcoders.com] has quit [Remote host closed the connection] 02:15 -!- pirlouit [~peter@64.162.195.202] has joined #uml 02:30 -!- clever_jeff [~clever_je@rrcs-west-24-199-13-10.biz.rr.com] has left #uml [] 03:34 -!- clever_jeff [~clever_je@rrcs-west-24-199-13-10.biz.rr.com] has joined #uml 03:39 -!- frediz [~frediz@ALyon-209-1-21-159.w81-51.abo.wanadoo.fr] has joined #uml 03:39 < frediz> Hi 03:40 -!- BB [~chris@home.burtyb.org] has quit [Ping timeout: 501 seconds] 03:42 -!- G2_ [~G2@193.195.148.66] has joined #uml 03:43 < clever_jeff> 'ello frediz 03:46 < frediz> Hi clever_jeff :) 03:46 < frediz> I saw you're trying to use uml with gentoo, is that right ? 03:50 < clever_jeff> yessir 03:51 < clever_jeff> having much success with pre-built kernels, but just can't get my own damn kernel to compile 03:51 < frediz> Ok 03:51 < frediz> version 2.4.* ? 03:51 < clever_jeff> very frustrating...compiled many diff kernels, with many diff patches before, and never had such problems 03:51 < clever_jeff> yeah 03:51 < frediz> huh 03:51 < clever_jeff> you running UML on gentoo host? 03:51 < frediz> I manage to build a 2.6.0 test2 03:51 < frediz> yep 03:52 < frediz> but Im having pb to build a gentoo root_fs 03:52 < clever_jeff> didja just emerge usermode-sources/_whatever_.ebuild ? or did you manually download and patch 03:52 < clever_jeff> they have a tutorial on their site, you seen it? 03:52 < clever_jeff> http://www.omote.com/gentoo/install-in-uml.html 03:53 < clever_jeff> http://www.gentoo.org/doc/en/uml.xml 03:53 < frediz> 2.6.0 hasnt any ebuild 03:53 < frediz> so I dled and patch it myself 03:54 < clever_jeff> ahh, i see...make sense ;-) 03:54 < clever_jeff> hows it running for ya? 03:54 < frediz> fine on prebuilt images from http://user-mode-linux.sf.net 03:55 < frediz> except for the network: I cant ping the gateway 03:55 < frediz> First Id like to make it work with a prebuilt image 03:55 < frediz> Then build my own gentoo root fs 03:55 < clever_jeff> have you set up networking on a 2.4.* kernel? 03:55 < clever_jeff> or is this your first exp. with UML? 03:56 < frediz> No, but Its the same thing 03:56 < frediz> Its my fist time with it :)) 03:56 < frediz> first 03:56 < frediz> lol 03:56 < clever_jeff> does your host kernel have tuntap support built in or as a module? 03:56 < frediz> its a module 03:57 < frediz> ./linux-2.6.0-test2/linux ubd0=Debian-3.0r0.ext2 ubd1=swap_fs root=/dev/ubd/0 eth0=tuntap,,,192.168.1.2 03:57 -!- BB [~chris@home.burtyb.org] has joined #uml 03:57 < clever_jeff> on host, if you ifconfig tap0, it shows up nicely and everything/ 03:57 < clever_jeff> ? 03:58 < frediz> well tap0 comes up in gkrellm 03:58 < frediz> tap0 Link encap:Ethernet HWaddr 00:FF:7A:38:E5:F0 03:58 < frediz> inet addr:192.168.1.2 Bcast:192.168.1.255 Mask:255.255.255.255 03:58 < frediz> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 03:58 < frediz> RX packets:12 errors:0 dropped:0 overruns:0 frame:0 03:58 < frediz> TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 03:58 < frediz> collisions:0 txqueuelen:100 03:58 < frediz> RX bytes:336 (336.0 b) TX bytes:0 (0.0 b) 03:58 < clever_jeff> do "netstat -rn" 03:58 < frediz> in uml ? 03:59 < clever_jeff> on host 03:59 < clever_jeff> RX bytes:336 (336.0 b) TX bytes:0 (0.0 b) <---RCV'ing data, but not sending, possibly routing issue 04:00 < frediz> ok so after 04:00 < frediz> modprobe iptable_nat 04:00 < frediz> iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE 04:00 < frediz> echo 1 > /proc/sys/net/ipv4/ip_forward 04:00 < frediz> I get : 04:00 < frediz> Destination Gateway Genmask Flags MSS Window irtt Iface 04:00 < frediz> 192.168.1.25 0.0.0.0 255.255.255.255 UH 0 0 0 tap0 04:00 < frediz> 192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 04:00 < frediz> 127.0.0.0 127.0.0.1 255.0.0.0 UG 0 0 0 lo 04:00 < frediz> 0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 eth0 04:00 < frediz> on host 04:01 < frediz> .25 is the uml 04:01 < frediz> .2 the host 04:01 < frediz> and .1 is the gw for the host 04:01 < clever_jeff> and ifconfig eth0 on the uml? 04:01 < frediz> eth0 Link encap:Ethernet HWaddr FE:FD:C0:A8:01:19 04:01 < frediz> inet addr:192.168.1.25 Bcast:192.168.1.255 Mask:255.255.255.0 04:01 < frediz> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 04:01 < frediz> RX packets:3 errors:0 dropped:0 overruns:0 frame:0 04:01 < frediz> TX packets:15 errors:0 dropped:0 overruns:0 carrier:0 04:01 < frediz> collisions:0 txqueuelen:100 04:01 < frediz> RX bytes:84 (84.0 b) TX bytes:420 (420.0 b) 04:02 < frediz> Interrupt:5 04:02 < frediz> from the host I cant ping the uml 04:02 < frediz> from the uml it works 04:02 < clever_jeff> hmm... 04:02 < frediz> pinging uml I mean 04:02 < caker> what's your routing table look like in the uml? 04:03 < clever_jeff> hold on, booting it now 04:03 < frediz> 192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 04:03 < frediz> 0.0.0.0 192.168.1.2 0.0.0.0 UG 0 0 0 eth0 04:03 < frediz> Destination Gateway Genmask Flags MSS Window irtt Iface 04:03 < caker> try adding a route to the host end .25 04:04 < caker> err 04:04 < caker> .2 04:04 < frediz> How do you do that caker ? 04:04 < caker> hold a sec... 04:04 < frediz> route add default gw 192.168.1.2 ? 04:05 < clever_jeff> route add -net 192.168.1.2 netmask 255.255.255.255 dev eth0 04:05 -!- stbe [~Nimaj@148.100.220.32] has joined #uml 04:05 < caker> that's not the problem .. 04:06 < caker> why are you using postrouting? 04:06 < frediz> "iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE" ? 04:07 < frediz> well I may have read it somewhere 04:09 -!- G2_ [~G2@193.195.148.66] has quit [Quit: Client exiting] 04:09 < caker> clear your iptables on the host and give it a try .. everything else looks good the way you have it 04:09 < frediz> ok 04:09 < caker> hey try one thing first 04:10 -!- G2_ [~G2@193.195.148.66] has joined #uml 04:10 < frediz> yes ? 04:10 < caker> change the default route inside uml to the host's ip 04:10 < frediz> huh ... command line please sir 04:11 < caker> i think I'm off base again -- it's late and I should go to bed ;-) 04:11 < caker> you could try "route add default gw 192.168.1.1" 04:11 < caker> but clear the iptables first 04:12 < caker> nite 04:12 < frediz> gn 04:12 < frediz> thx 04:12 < clever_jeff> caker : no sense with default gw when he has : 192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 04:12 < frediz> yep same pb 04:12 < frediz> gonna clear iptables 04:13 -!- Jax [~Nimaj@148.100.215.209] has quit [Ping timeout: 501 seconds] 04:13 < clever_jeff> make sure INPUT, and OUTPUT will allow traffic 04:14 < frediz> erf 04:14 < frediz> much complicated for me... man iptables .. 04:15 < clever_jeff> iptables -L OUTPUT 04:17 -!- crash3m [~crash3m@cs6710232-112.houston.rr.com] has joined #uml 04:17 < crash3m> I had a feeling I'd run into mistik1 here 04:20 < clever_jeff> gah...nothing but infomercials and evangelists on TV at this time.... 04:20 < frediz> mmm 04:20 < frediz> always the same 04:21 < clever_jeff> anyone ever heard of someone getting SELinux to run in UML? 04:21 < frediz> nope but lots of people asking for that :) 04:22 < frediz> Chain INPUT (policy ACCEPT) 04:22 < frediz> target prot opt source destination 04:22 < frediz> Chain FORWARD (policy ACCEPT) 04:22 < frediz> Chain OUTPUT (policy ACCEPT) 04:22 < frediz> target prot opt source destination 04:22 < frediz> Chain FORWARD (policy ACCEPT) 04:22 < frediz> target prot opt source destination 04:23 < frediz> is this ok ? 04:24 < crash3m> I'd like to see SELinux or Trustix 04:28 < clever_jeff> yeah 04:28 < clever_jeff> so, host->UML doesn't work, but UML->host does? 04:28 < clever_jeff> correct? 04:29 < frediz> nope, both dont work 04:29 < clever_jeff> oh, i thought you had said one did work 04:29 < frediz> arf no, sorry if I said so 04:30 < clever_jeff> .2 is host, .25 is uml, correct? 04:30 < frediz> right 04:30 < clever_jeff> ok, try this: 04:31 < clever_jeff> host: route add -host 192.168.1.25 dev tap0 04:31 < clever_jeff> uml: route add -host 192.168.1.2 dev eth0 04:33 < frediz> first was already done from what route said "SIOCADDRT: File exists" 04:33 < frediz> second passes 04:34 < frediz> but ping still doesnt work on both side 04:34 < clever_jeff> try: tunctl -u $(getent passwd | cut -f3 -d:) 04:34 < clever_jeff> it should manually create tap1 on the host 04:34 < clever_jeff> (that command is run on host) 04:34 < frediz> username is the user that runs the uml ? 04:34 < clever_jeff> yup 04:35 < frediz> ) missing 04:35 < frediz> :) 04:35 < clever_jeff> didja forget the closing ) 04:35 < frediz> or tunctl -u $(getent passwd frediz | cut -f3 -d:) 04:35 < frediz> Set 'tap1' persistent and owned by uid 1000 04:36 < clever_jeff> k, good 04:36 < frediz> now ? 04:36 < clever_jeff> now halt the uml, and restart it 04:36 < frediz> k 04:36 < clever_jeff> with your normal command 04:36 < crash3m> anyone have information about adding grsecurity to uml? 04:36 < clever_jeff> could be tough, depending on conflict in the patches...haven't seen it done, but could be possible 04:37 < clever_jeff> http://216.239.57.104/search?q=cache:9WwJhAKkivwJ:www.ultraviolet.org/mail-archives/uml.2003/0051.html+grsecurity+uml&hl=en&ie=UTF-8 04:37 < frediz> still the same :\ 04:38 < clever_jeff> that guy seemed to have a little bit of success 04:38 < clever_jeff> umm, if you ifconfig -a on host, does tap1 show? 04:38 < frediz> tap1 Link encap:Ethernet HWaddr 00:FF:13:50:26:56 04:38 < frediz> BROADCAST MULTICAST MTU:1500 Metric:1 04:38 < frediz> RX packets:0 errors:0 dropped:0 overruns:0 frame:0 04:38 < frediz> TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 04:38 < frediz> collisions:0 txqueuelen:100 04:38 < frediz> RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) 04:38 < clever_jeff> hey, it's the "Gazalle" infomercial...my dad bought one of those, and it's sitting in his garage ;-) 04:39 < crash3m> clever_jeff: thanks for the link, but thats a UML kernel running on a grsecurity patched kernel... 04:39 < clever_jeff> try manually setting tap1: ifconfig tap1 192.168.1.2 netmask 255.255.255.0 up 04:39 < clever_jeff> ahh, sorry, first response on google, didn't read the entire thing...it's late ;-) 04:40 < frediz> clever_jeff: tap1 seems up... rebooting 04:40 < crash3m> no problem, I googled first :) 04:41 < frediz> at the boot this is what appears : 04:41 < frediz> Can't open 'tun': No such file or directory 04:41 < frediz> * ifconfig tap0 192.168.1.2 netmask 255.255.255.255 up 04:41 < frediz> * bash -c echo 1 > /proc/sys/net/ipv4/ip_forward 04:41 < frediz> * route add -host 192.168.1.25 dev tap0 04:41 < frediz> * bash -c echo 1 > /proc/sys/net/ipv4/conf/tap0/proxy_arp 04:41 < frediz> * arp -Ds 192.168.1.25 eth0 pub 04:41 < frediz> * arp -Ds 192.168.1.25 tap1 pub 04:41 < clever_jeff> frediz: still doesn't work? 04:41 < frediz> still 04:42 * frediz getting mad 04:42 < frediz> =] 04:42 < crash3m> ewww 04:42 < frediz> %] 04:42 < crash3m> manually merging grsecurity into UML could be a pain....17344 lines :/ 04:42 < clever_jeff> on host what are ifconfig tap0 and ifconfig tap1 04:42 -!- david [~d@207.166.203.138] has quit [Ping timeout: 490 seconds] 04:42 < frediz> tap0 Link encap:Ethernet HWaddr 00:FF:81:54:60:D2 04:42 < frediz> inet addr:192.168.1.2 Bcast:192.168.1.255 Mask:255.255.255.255 04:42 < frediz> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 04:42 < frediz> RX packets:21 errors:0 dropped:0 overruns:0 frame:0 04:42 < frediz> TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 04:43 < frediz> collisions:0 txqueuelen:100 04:43 < frediz> RX bytes:588 (588.0 b) TX bytes:0 (0.0 b) 04:43 < frediz> tap1 Link encap:Ethernet HWaddr 00:FF:13:50:26:56 04:43 < frediz> inet addr:192.168.1.2 Bcast:192.168.1.255 Mask:255.255.255.0 04:43 < frediz> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 04:43 < frediz> RX packets:0 errors:0 dropped:0 overruns:0 frame:0 04:43 < frediz> TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 04:43 < clever_jeff> crash3m: whip up a quick script to look for matching filenames first 04:43 < frediz> collisions:0 txqueuelen:100 04:43 < frediz> RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) 04:43 < frediz> helps ? 04:43 < crash3m> I'm not that clever ;) 04:43 < frediz> Destination Gateway Genmask Flags MSS Window irtt Iface 04:43 < frediz> 192.168.1.25 0.0.0.0 255.255.255.255 UH 0 0 0 tap0 04:43 < frediz> 192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 04:43 < frediz> 192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 tap1 04:43 < frediz> 127.0.0.0 127.0.0.1 255.0.0.0 UG 0 0 0 lo 04:43 < frediz> 0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 eth0 04:43 < frediz> on host 04:44 < frediz> and on uml : 04:44 < frediz> Destination Gateway Genmask Flags MSS Window irtt Iface 04:44 < frediz> 192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 04:44 < frediz> 0.0.0.0 192.168.1.2 0.0.0.0 UG 0 0 0 eth0 04:44 < clever_jeff> frediz: on host 'route add -host 192.168.1.25 dev tap1' 04:45 < frediz> same 04:45 < frediz> :\ 04:45 < clever_jeff> if that doesn't work, try host: 'tunctl -d tap0' and restart uml 04:45 < frediz> ok 04:45 < clever_jeff> that should make it use the tap1 04:46 < frediz> k 04:46 < frediz> seems tap0 was used : 04:46 < frediz> tunctl -d tap0 04:46 < frediz> TUNSETIFF: Device or resource busy 04:46 < frediz> halting 04:46 < clever_jeff> halt then execute it 04:46 < frediz> done 04:46 < frediz> * ifconfig tap0 192.168.1.2 netmask 255.255.255.255 up 04:46 < frediz> * bash -c echo 1 > /proc/sys/net/ipv4/ip_forward 04:46 < frediz> * route add -host 192.168.1.25 dev tap0 04:46 < frediz> * bash -c echo 1 > /proc/sys/net/ipv4/conf/tap0/proxy_arp 04:46 < frediz> * arp -Ds 192.168.1.25 tap1 pub 04:47 < frediz> * arp -Ds 192.168.1.25 eth0 pub 04:47 < frediz> * arp -Ds 192.168.1.25 tap1 pub 04:47 < frediz> still no ping answer 04:48 < clever_jeff> grrr, we want it to use tap1, not tap0 04:51 < wojci> What kernel are you using? 04:51 < clever_jeff> very sorry man, but I gotta get to bed, gotta wake up in 3 hours for work... 04:51 < clever_jeff> good luck though... 04:51 < frediz> wow 04:51 < clever_jeff> night all 04:51 < frediz> gn clever_jeff many thx! 04:51 < crash3m> 'night clever_jeff 04:51 < clever_jeff> np, sure i'll see ya again 04:51 -!- clever_jeff [~clever_je@rrcs-west-24-199-13-10.biz.rr.com] has left #uml [] 04:52 < crash3m> I'm a UML newb else I'd help ya 04:53 < frediz> Im n00b to... so, all the same 04:53 < frediz> +o 04:53 < crash3m> hehe, atleast you have it running 04:53 < frediz> btw I think this a networking issue 04:54 < frediz> crash3m: yours doesnt work ? 04:54 < crash3m> havent attempted it yet 04:54 < frediz> ah ok :) 04:54 < crash3m> I find reading, reading, and more reading helps when it comes time to actual installation 04:56 -!- frediz [~frediz@ALyon-209-1-21-159.w81-51.abo.wanadoo.fr] has quit [Quit: brb] 05:02 -!- frediz [~frediz@81.51.17.159] has joined #uml 05:03 < crash3m> wb 05:03 < frediz> re :) 05:32 -!- pirlouit [~peter@64.162.195.202] has quit [Quit: Time to frag!] 05:35 -!- G2_ [~G2@193.195.148.66] has quit [Quit: Client exiting] 05:36 -!- G2 [~G2@193.195.148.66] has joined #uml 05:36 -!- G2 [~G2@193.195.148.66] has quit [Client Quit] 05:37 -!- G2_ [~G2@193.195.148.66] has joined #uml 06:06 -!- frediz [~frediz@81.51.17.159] has quit [Quit: halt] 06:27 -!- G2_ [~G2@193.195.148.66] has quit [Quit: Client exiting] 06:43 -!- imdigloja [~invi@24.202.206.235] has joined #uml 06:49 -!- imdigloja [~invi@24.202.206.235] has left #uml [] 07:15 -!- frediz [~frediz@ALyon-209-1-29-79.w81-248.abo.wanadoo.fr] has joined #uml 07:30 -!- tomi [~guest@62.253.52.118] has joined #uml 07:33 -!- tomi [~guest@62.253.52.118] has left #uml [] 07:42 -!- stbe is now known as Jax 08:02 -!- G2_ [~G2@193.195.148.66] has joined #uml 09:08 -!- G2_ [~G2@193.195.148.66] has quit [Quit: Client exiting] 09:10 < frediz> newbie question: should the tap0 have the same ip as the host ? 09:15 < desaster> no need 09:15 < desaster> it can be of different network for example 09:17 < frediz> I dont understand how the link is made from the uml, to its eth0, then to tap0 and my host=gw 09:18 < desaster> imagine that tap0 is just another nic and uml is just another box in that network 09:19 < frediz> mmm k 09:20 < frediz> to enable all of this, what particular features should my host have ? 09:20 < frediz> Ive got tun/tap 09:20 < frediz> what else ? 09:24 -!- kkourt [~kkourt@147.102.3.92] has joined #uml 09:28 -!- jax-work [~computer_@148.100.221.148] has joined #uml 09:42 < wojci> frediz: Here is the config I use, where tap devices work. 09:42 < frediz> thx wojci 09:42 < frediz> I writing a mail to the user's mailing list, with all my detailled settings 09:42 < frediz> ... 09:53 -!- stbe [~computer_@148.100.221.148] has joined #uml 09:53 -!- stbe [~computer_@148.100.221.148] has left #uml [] 10:35 < frediz> cool, here it is 10:35 < frediz> the complete summary of my troubles : 10:35 < frediz> http://marc.theaimsgroup.com/?l=user-mode-linux-user&m=106061229201273&w=2 10:35 < frediz> enjoy :)) 11:16 -!- miah [miah@sifl.digivill.net] has joined #uml 11:16 < miah> anybody know who manages filesystem releases? like the rh9 filesystem? 11:22 -!- G2 [~G2@193.195.148.66] has joined #uml 11:32 < green> miah: do one yourself? 11:32 < green> s/do/create/ 11:34 -!- kkourt [~kkourt@147.102.3.92] has quit [Remote host closed the connection] 11:34 < miah> well, i probably will eventually, but redhat looks to be quite a pain 11:35 < miah> im just wondering, with the redhat9 download (which is missing from sourceforge, but found on mirrors) why its setup to use devfsd, but doesn't have devfsd installed.. 11:35 < green> well, it's not that hard as it looks ;) 11:35 < miah> yea 11:35 < green> not sure about their use of devfs, though ;) 11:35 < miah> i'll likely build my own filesystem this week, but some of my developers want their virtual machines now, so im just going to use the test systems on there 11:35 < green> it does not have devfsd because RedHat does not ships devfsd I think 11:35 < miah> yea 11:36 < miah> i didnt see devfsd in rh9's ftp dir, but its strange, that rc.sysinit is still setup to use it 11:36 < miah> and whats stranger is that filesystem is setup to use it, /dev/ isn't populated (well, it is, but its the remains of a devfsd population) 11:37 < green> huh? I hacked that fs a bit so that it can work with devfs, but devfsd is not even implied anywhere, I think 11:37 < miah> -bash-2.05b# ls /dev 11:37 < miah> console initctl loop nbd port pty root shm tty urandom 11:37 < miah> discs kmem mem net ptmx random scsi sound ttys vc 11:38 < miah> total 4 11:38 < miah> drwxr-xr-x 1 root root 0 Dec 31 1969 . 11:38 < miah> drwxr-xr-x 18 root root 4096 Aug 11 12:29 .. 11:38 < miah> crw------- 1 root root 8, 0 Dec 31 1969 .devfsd 11:38 < miah> crw------- 1 root root 5, 1 Aug 11 12:29 console 11:38 < miah> drwxr-xr-x 1 root root 0 Dec 31 1969 discs 11:38 < miah> note the .devfsd 11:38 < green> looks luike typical devfs' /dev ;) 11:38 < miah> yea 11:38 < miah> but there is no devfsd =) 11:38 < green> .devfsd is probably created by devfs kernel driver itself 11:38 < miah> maybe 11:39 < green> so that when devfsd is started, it have a way to communicate to kernel ;) 11:39 < miah> the date is weird on it 11:39 < miah> im booting uml-linux-2.4.19-5 11:41 < green> that's something prehistoric, I guess ;) 11:41 < miah> ah, as far as i can tell, its the latest downloadable uml from sf 11:42 < green> the binary one, but the source releases out there are up to 2.4.20-5um or something like that 11:42 < miah> yea 11:42 < miah> im mainly doing testing right now, getting all my scripts together for quick uml adding/removing 11:42 < miah> and thus haven't went into the custom fs, or kernel yet 11:43 < miah> trying to get it all done asap to get developers off my back 11:43 < frediz> hehe 11:43 < miah> does the newest skas patch work with 2.4.21 ? 11:43 < green> yes 11:43 < miah> ok 11:44 < green> uml-linux-2.4.19-5 does not know anything about skas, though 11:44 < miah> oh 11:44 < miah> so i'll definately have to update that too 11:47 < miah> can anybody lookup ftp.us.kernel.org ? 11:48 < green> 28 addresses ;) 11:48 < miah> dont give me results, just let me know if its working 11:48 < miah> ok 11:48 < miah> thanks 11:48 < miah> must be a firewall issue over here 11:48 < miah> grr 11:48 < miah> we got a new dns admin here, and he's been redoing all the dns infrastructure and its been a mess the last couple of weeks, but he's definately improving things 11:49 < green> hehe. fire him and hire me instead ;) 11:52 < miah> hah 11:53 < miah> i think the problem is that they're firewalling off tcp dns 11:53 < miah> and since ftp.us.kernel.org is a big list, its probably too big for udp 11:54 -!- G2 [~G2@193.195.148.66] has quit [Quit: Client exiting] 11:59 < green> not likely. I am using udp dns myself 11:59 < green> *and* I know the magic rule: If it is not broken, do not fix it! ;) 12:09 -!- ticallion [~ticallion@213.175.160.212] has joined #uml 12:19 -!- aetherios [~aetherios@robocop.valueclick.com] has joined #uml 12:27 -!- ticallion [~ticallion@213.175.160.212] has quit [Ping timeout: 490 seconds] 12:49 < miah> hrm 12:49 < miah> ok 12:49 < miah> strange, thats the only thing i can think that would break it 12:49 < miah> and when i do a dig, i see it hit tcp transport 12:56 < aetherios> miah, whats the problem? 13:01 -!- frediz [~frediz@ALyon-209-1-29-79.w81-248.abo.wanadoo.fr] has quit [Quit: pwet] 13:20 -!- ticallion [~ticallion@213.175.160.10] has joined #uml 13:27 -!- pirlouit [~peter@duvel.drunkcoders.com] has joined #uml 13:38 -!- BB [~chris@home.burtyb.org] has quit [Ping timeout: 501 seconds] 13:58 -!- ticallion [~ticallion@213.175.160.10] has left #uml [Client exiting] 14:05 -!- G2 [~G@212.159.59.85] has joined #uml 14:19 -!- dunc [~dunc@217.79.100.249] has joined #uml 14:20 < dunc> hi folks. should i be experiencing MASSIVELY slow disk access in my UMLs, or have i got a problem? 14:21 < aetherios> how large is your rootfs? and defines MASSIVELY 14:21 < aetherios> grrr, and _what_ defines 14:21 < caker> did you compile "always perform sync IO on ubd devices" in your UML kernel? 14:22 < dunc> rootfs is about 700M of stuff, on a 1G file 14:22 < aetherios> hmm, that's not too bad 14:22 < dunc> i said emerge apache 14:22 < aetherios> dunc, is it during the download or compile? 14:22 < dunc> and it took say 2-3 seconds for each line of the configure script, but my hosts hard drive light was permenantly on 14:23 < caker> use tmpfs for /tmp on the host 14:23 < dunc> i dunno about the sync thing, i didn't really tweak much 14:23 < dunc> y, am using tmpfs 14:23 < caker> were you swapping then? 14:24 < dunc> uml2 root # swapon -s 14:24 < dunc> Filename Type Size Used Priority 14:24 < dunc> /dev/ubd/1 partition 263160 1608 -1 14:24 < aetherios> dunc: were the problems _during_ the emerge? 14:24 < aetherios> or just in general? 14:25 < dunc> i only noticed when emerging 14:25 < dunc> haven't given it that much work yet though, apart from that 14:25 < aetherios> you might wanna try doing another emerge, and watch top in a seperate window, se if it's swapping alot 14:25 < aetherios> s,se,see 14:25 -!- ElectricElf [~david@elf.noc.oftc.net] has quit [Ping timeout: 240 seconds] 14:26 < aetherios> dunc: I assume it's during the compile-part, not the download part, correct? 14:26 < dunc> u mean top in the uml, or the host? 14:26 < aetherios> uml 14:26 < dunc> aetherios: yes 14:26 < dunc> top - 19:27:08 up 35 min, 2 users, load average: 2.25, 1.85, 1.06 14:26 < dunc> Tasks: 43 total, 3 running, 40 sleeping, 0 stopped, 0 zombie 14:26 < dunc> Cpu(s): 0.0% user, 18.1% system, 0.0% nice, 81.9% idle 14:26 < dunc> Mem: 53348k total, 51896k used, 1452k free, 2988k buffers 14:26 < dunc> Swap: 263160k total, 1340k used, 261820k free, 18920k cached 14:26 < aetherios> yeah, my best guess would be you're using your swap alot during the compiles... 14:26 < dunc> (it's still compiling now by the way) 14:27 < aetherios> hmm, not using too much swap...at this time... 14:27 < dunc> hmmm, i'm beginning to wonder if maybe the uml's ram isn't using host ram 14:27 < dunc> maybe the host is swapping a lot 14:28 < aetherios> try watching top on both machines, and see how much swap action there is 14:28 < aetherios> how much physical RAM do you have?> 14:28 < dunc> 256 thats all i'm afraid, i'm giving each uml 56M 14:28 < dunc> (and have 2) 14:29 -!- solarce_ is now known as solarce 14:29 < dunc> there 14:29 < dunc> 's 50M of swap used on host 14:29 < aetherios> yeah, I'd invest in some more RAM ;-) 14:29 < dunc> hehe 14:30 < dunc> on my host, mount says (amongst other things :) ): 14:30 < dunc> none on /dev/shm type tmpfs (rw) 14:30 < aetherios> obviously, it's not a write-issue (the download was fine), it's a matter of high-swapping (the compile sucked) 14:30 < dunc> is that ok then? 14:30 < dunc> oh i see what u mean. if the d/load was ok, then disk access is ok 14:31 < aetherios> it might also be a possibility to move your swap-file to a seperate physical disk...that may _slightly_ improve performance 14:31 < aetherios> ahh, time for a smoke... 14:32 < dunc> yay, good idea 14:32 < dunc> (smoke) 14:32 < dunc> i'll go play with things, cheers for help. i'll probly be back with more questions :) 14:34 < dunc> oh btw, the always sync ubd kernel option, should i have that or not really? 14:43 < miah> ok, strangeness.. when i set con=port:9000, the system boots fine, but then it wont go any further until i telnet to port 9000, after that it will complete booting.. 14:44 < miah> if i dont telnet to port 9000, say for 5minutes, i cant ever telnet too it and have to reboot the system.. 14:44 < miah> what do i need to change con to, to make it just boot up? 14:44 < miah> i dont care if i have telnet enabled console... 14:45 < miah> i'm going to configure all of these, and then need them to launch on boot without any weirdness 14:45 < dunc> i'm not sure being new to this uml lark, but it sounds like they are needing a console to boot properly 14:45 < miah> its seeming that way, more and more 14:46 < miah> maybe setting it to 'none' or 'null' 14:46 < miah> it doesn't seem to do anything though 14:46 < miah> still getting no ping responses 14:47 < miah> oh now i am 14:47 < miah> awesome 14:47 < miah> none does work then 14:47 * miah bounces 14:48 < dunc> can u set the initial console to something else? 14:48 < dunc> like a vterm 14:49 < dunc> (anything that is definately there) 14:49 < dunc> ah, u sorted then miah ? 14:49 < miah> yea 14:50 < dunc> ok my question 14:50 < miah> now i just need to add the skas patch to my host kernel 14:50 < miah> and all should be well 14:50 < miah> ask away 14:50 < dunc> how the fsck, do u stop it opening 8 xterms 14:50 < miah> ah 14:50 < miah> con=port:9000 is handy 14:50 < dunc> i adjusted inittab, but now it opens 8 with no login prompt :) 14:50 < miah> that will stop it oepning xterms, and instead require you to telnet to port 9000 14:50 < dunc> k 14:51 < dunc> whats the skas patch OOI? 14:51 < miah> http://user-mode-linux.sourceforge.net/skas.html 14:51 < dunc> cheers 14:53 < dunc> blimey, sounds like i should be doing that too 15:00 -!- ElectricElf [~david@elf.noc.oftc.net] has joined #uml 15:13 < aetherios> miah, have you tried 'con=null, con0=fd:0,fd:1' ?? 15:14 < aetherios> also, where does it stop booting? 15:14 < dunc> hmm, this skas patch, do i apply it with patch -p1 in /usr/src/linux then? i'm a bit sketchy with patch 15:15 < G2> patch -p21 < patch.patch in src dir 15:15 < G2> patch -p1 < patch.patch in src dir 15:15 < mistik1> sup dunc, playing with uml now are we? 15:15 < dunc> so /usr/src ? or /usr/src/linux 15:15 < mistik1> the latter 15:15 < dunc> mistik1: ello dude :) 15:16 < dunc> hows it going? 15:16 < mistik1> going well 15:16 < dunc> u just do all things linux then it seems ? 15:16 < G2> I do that only 15:16 < G2> :-) 15:16 < dunc> i'm a bit BSDey like. i'm v.v.impressed with gentoo though 15:17 < mistik1> I do BSD but linux us my true love ;-) 15:19 < dunc> hehe 15:19 < dunc> i'm now employed. (wooo) 15:21 < aetherios> dunc, me too, doesn't it suck? ;-) 15:21 < dunc> well y, at least get paid for doing tech for a change though :) 15:23 -!- ElectricElf [~david@elf.noc.oftc.net] has quit [Read error: Connection timed out] 15:23 < aetherios> yeah, however, I'd prefer to be paid to do research...but you need one of them Phd things for that generally ;-) 15:25 -!- ElectricElf [~david@elf.noc.oftc.net] has joined #uml 15:26 -!- aetherios_ [~jeff@robocop.valueclick.com] has joined #uml 15:26 -!- aetherios [~aetherios@robocop.valueclick.com] has left #uml [] 15:26 -!- aetherios_ is now known as aetherios 15:26 < aetherios> ahh, much better 15:26 < aetherios> shitty irc client! 15:29 < miah> aetherios: yea, con=none works great, it keeps booting, everything is happy 15:29 < miah> the only time it stops booting is if i do con=port:9000 15:30 < miah> it seems to wait until i telnet to port 9000 before it will finish the boot 15:30 < miah> if i dont telnet within ~5minutes, then it drops port 9000 and just sits there 15:31 < aetherios> miah, why are you wanting to do a con=port:9000? 15:31 < miah> i hate xterms 15:32 < aetherios> miah : I always run mine in a 'screen' session...you may want to look into that? 15:32 < miah> yea, that might work 15:32 < aetherios> probably better than exposing the console over the network too 15:33 < miah> yea 15:33 < aetherios> :-) 15:33 < miah> well, like i said its tricky 15:33 < miah> im not worried about that really since massive firewall.. 15:33 < aetherios> true this... 15:34 < aetherios> look into screen though, I think you may be even happier with the results than the con=port solution 15:35 < miah> yea 15:35 < miah> probably 15:39 < wojci> Screen is nice. I use it for running umls too. 16:42 -!- jax-work [~computer_@148.100.221.148] has quit [Quit: going home] 17:12 * Jax is back (gone 13:06:40) 17:54 -!- frediz [~frediz@ALyon-209-1-17-65.w81-49.abo.wanadoo.fr] has joined #uml 17:54 < frediz> ergg, please, help : http://marc.theaimsgroup.com/?l=user-mode-linux-user&m=106061229201273&w=2 17:56 < caker> Configuring network interfaces: * insmod tun 17:56 < caker> Can't open 'tun': No such file or directory 17:56 < frediz> yep I was wondering what it could be 17:56 < frediz> but tun module is loaded 17:56 < caker> but you get a tap device on the host, right? 17:56 < frediz> right 17:56 < caker> that's just insmod failing, then 17:56 < frediz> yep think so 17:57 < frediz> btw Hi caker ;) 17:57 < caker> hello frediz :-) 17:58 < caker> Try giving the tap0 on the host's side a different IP than the host 17:59 < caker> also, what is the output of: ls -al /dev/net/tun ? 18:00 < caker> and what user are you running the uml as? 18:00 < frediz> user frediz (not root) 18:00 < frediz> I also tried as root but same pb 18:05 < caker> frediz: have you cleared all your iptable rules? 18:05 < frediz> Yes 18:06 < frediz> Chain INPUT (policy ACCEPT) 18:06 < caker> in all tables, not just filter? 18:06 < frediz> Chain FORWARD (policy ACCEPT) 18:06 < frediz> target prot opt source destination 18:06 < frediz> Chain OUTPUT (policy ACCEPT) 18:06 < frediz> target prot opt source destination 18:06 < frediz> is that ok ? 18:06 < caker> iptables -t mangle -L 18:06 < caker> iptables -t nat -L 18:08 < frediz> still the same 18:08 < caker> those just listed the rules 18:09 < caker> empty? 18:09 < frediz> nothing in all the chains 18:09 < frediz> policy ACCEPT for all 18:10 < aetherios> hey frediz.. 18:10 < aetherios> <--cliever_jeff from last night 18:10 < aetherios> err, clever too! 18:10 < frediz> yo cliever_jeff 18:10 < frediz> :) 18:10 < aetherios> still having same problem? 18:10 < frediz> still 18:11 < aetherios> hmm, did you try doing the tunctl -d tap0 and manually creating tap1 ? 18:11 < aetherios> i know we created tap1, but it was still using tap0 18:11 < frediz> yes thats the procedure described on the network manual 18:12 < frediz> "TUN/TAP with a preconfigured tap device" 18:12 < frediz> didnt solve anything 18:12 < frediz> :\ 18:12 < caker> have ip forwarding on, and support on the host kernel? 18:13 < frediz> cat /proc/sys/net/ipv4/ip_forward 18:13 < frediz> 1 18:13 < caker> can you ping the gateway from inside the uml? 18:13 < dunc> is it possible to combine the bridging bit of the manual with uml_switch, to just bridge uml_switch onto the host? 18:13 < frediz> caker: tap0's ip ? 18:13 < caker> 192.168.1.1 18:14 < frediz> no way 18:14 < frediz> only lo and eth0 18:14 < caker> change the gateway inside the uml to the same gateway as your host, no? 18:14 < caker> at least when using bridge, that's how its done 18:15 < frediz> huh? answering dunc ? 18:15 < caker> frediz: no answering you :-) 18:15 < frediz> erf :) 18:15 * dunc is confused too :) 18:15 < caker> dunc: no 18:15 < frediz> %] 18:15 < frediz> caker: so I didnt understood 18:15 < frediz> caker: so I didnt understand 18:16 < caker> frediz: uml: route del default gw 192.168.1.2 18:16 < aetherios> caker : I'm actually somehow able to do that without using any bridging...very odd 18:16 < caker> frediz: uml: route add default gw 192.168.1.1 18:16 < frediz> caker: both ? 18:16 < aetherios> yes 18:16 < caker> frediz: yes in order 18:16 < frediz> ok 18:16 < caker> aetherios: do what? 18:17 < caker> aetherios: now i'm confused .. got it -- yeah, I'm just suggesting different things at this point 18:17 < aetherios> heh ;-) 18:18 < aetherios> frediz, you got tcpdump installed on the host? 18:18 < frediz> on the uml : 18:18 < frediz> Destination Gateway Genmask Flags MSS Window irtt Iface 18:18 < frediz> 192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 18:18 < frediz> 0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 eth0 18:18 < frediz> and still nothing 18:18 < aetherios> frediz, you got tcpdump installed on the host? 18:19 < frediz> nope, but u just have to hold some seconds :) 18:19 < aetherios> :-) 18:19 < frediz> dling... 18:19 < frediz> compiling... 18:20 < frediz> installing... 18:20 < frediz> done 18:20 < frediz> ok so :) 18:20 < aetherios> 'tcpdump -i tap0' , try pinging uml->host , see if anything shows... 18:20 < frediz> ok 18:20 < aetherios> if that doesn't work, try same thing with 'tcpdump -i tap1' 18:21 < aetherios> if that _still_ doesn't work...try same thing with 'tcpdump host 192.168.1.25' (I think .25 is your uml, right?) 18:21 < frediz> right 18:21 < frediz> sorry for the weird numbers 18:21 < aetherios> you should see ICMP ECHO REQUEST's when you ping 18:22 < frediz> tcpdump: listening on tap0 18:22 < frediz> 00:22:58.513314 0:1:fe:fd:c0:a8 sap a8 > 0:1:8:0:6:4 sap c0 rr (r=12,P) len=10 18:22 < frediz> 00:22:59.612787 0:1:fe:fd:c0:a8 sap a8 > 0:1:8:0:6:4 sap c0 rr (r=12,P) len=10 18:22 < aetherios> n/p, I have {1, 33, 42, 101, 156, 220, 211, 253} on my network ;-) 18:22 < frediz> when pinging uml->host 18:22 < aetherios> hmm, throw a -XX on the tcpdump commandline and try again 18:23 < frediz> tcpdump: listening on tap0 18:23 < frediz> 00:23:46.197823 0:1:fe:fd:c0:a8 sap a8 > 0:1:8:0:6:4 sap c0 rr (r=12,P) len=10 18:23 < frediz> 0x0000 c0a8 0119 0000 0000 0000 c0a8 0102 .............. 18:23 < frediz> 00:23:47.297659 0:1:fe:fd:c0:a8 sap a8 > 0:1:8:0:6:4 sap c0 rr (r=12,P) len=10 18:23 < frediz> 0x0000 c0a8 0119 0000 0000 0000 c0a8 0102 .............. 18:23 < frediz> etc.. 18:23 < caker> what is the output of ls -l /dev/net/tun ? 18:23 < frediz> crw-rw-rw- 1 root users 10, 200 Aug 11 21:36 /dev/net/tun 18:24 < frediz> mmm 18:24 < frediz> aetherios: does the tcpdump -XX -i tap0 helps ? 18:25 < frediz> +output 18:25 < aetherios> well, we can see that pings _are_ getting to the host 18:25 < aetherios> but not returning 18:25 < frediz> exactly 18:25 < frediz> what Ive noticed : http://marc.theaimsgroup.com/?l=user-mode-linux-user&m=106061229201273&w=2 18:25 < aetherios> while running the tcpdump, try pinging the uml from the host...see anything? 18:26 < frediz> tcpdump: listening on tap0 18:26 < frediz> 00:27:19.915887 arp who-has 192.168.1.25 tell 192.168.1.2 18:26 < frediz> 0x0000 0001 0800 0604 0001 00ff 0496 dc6c c0a8 .............l.. 18:26 < frediz> 0x0010 0102 0000 0000 0000 c0a8 0119 ............ 18:26 < frediz> 00:27:19.916010 0:2:fe:fd:c0:a8 sap a8 > 0:1:8:0:6:4 sap c0 rr (r=12,P) len=10 18:26 < frediz> 0x0000 c0a8 0119 00ff 0496 dc6c c0a8 0102 .........l.... 18:26 < frediz> 00:27:20.916694 arp who-has 192.168.1.25 tell 192.168.1.2 18:27 < aetherios> is 192.168.1.2 both tap* and eth* on the host? 18:27 < aetherios> same ip for both interfaces? 18:27 < dunc> is it proxyarp issue then? i had to do it 18:27 < frediz> aetherios: yes sir 18:27 < aetherios> hmm, good point dunc 18:28 < dunc> bash -c 'echo 1 > /proc/sys/net/ipv4/conf/tap1/proxy_arp' 18:28 < dunc> arp -Ds 172.16.5.251 eth0 pub 18:28 < dunc> i did that 18:28 < dunc> oh and a host route 18:29 < dunc> route add -host 172.16.5.251 dev tap1 18:29 < aetherios> frediz: try that, replace IP's with your UML IP 18:30 < frediz> ? 18:30 < aetherios> bash -c 'echo 1 > /proc/sys/net/ipv4/conf/tap1/proxy_arp' 18:30 < dunc> however i assigned an ip to my tap1 which is different to my hosts ip. dunno if that matters 18:30 < frediz> aetherios: which "IP's" ? 18:31 < dunc> frediz: replace my 172.16... with your 192.168.1.25 18:31 < aetherios> wait...172.16.5.251 is your tap1 right? or is it eth0 on uml? 18:31 < dunc> eth0 on uml 18:31 < frediz> tap0 18:31 < frediz> well this was already done ... 18:32 < frediz> by uml_net 18:32 < frediz> * ifconfig tap0 192.168.1.2 netmask 255.255.255.255 up 18:32 < frediz> * bash -c echo 1 > /proc/sys/net/ipv4/ip_forward 18:32 < frediz> * route add -host 192.168.1.25 dev tap0 18:32 < frediz> * bash -c echo 1 > /proc/sys/net/ipv4/conf/tap0/proxy_arp 18:32 < frediz> * arp -Ds 192.168.1.25 eth0 pub 18:32 < dunc> aaah, 18:32 < dunc> i'm not using uml_net sorry 18:32 < frediz> :) 18:32 < dunc> i am usic uml_switch though 18:32 < frediz> well seems manual approach is what uml_net does actually 18:32 < dunc> yep 18:33 < aetherios> frediz: host: tunctl -u $(getent passwd frediz | cut -f3-d: ) -t tap0 18:33 < caker> frediz: did you set your default gw back to the 192.168.1.2 ? 18:33 < frediz> caker: 18:33 < frediz> Destination Gateway Genmask Flags MSS Window irtt Iface 18:33 < frediz> 192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 18:33 < frediz> 0.0.0.0 192.168.1.2 0.0.0.0 UG 0 0 0 eth0 18:34 < aetherios> tunctl -u $(getent passwd frediz | cut -f3-d: ) -t tap0 18:34 < caker> frediz: inside the try: route add -host 192.168.1.25 gw 192.168.1.2 18:34 < dunc> oh frediz, i found that it only works if i tunctl -u user 1st 18:34 < caker> (inside the uml) 18:34 < dunc> and then use the tap device it says, (usually tap1) 18:34 < aetherios> dunc: we tried that, and it create tap1, but still uml_net seems to be using tap0 still 18:34 < frediz> ok so first, while the umls runs, caker's tips 18:34 < frediz> after we restart everything ok guys 18:34 < dunc> aetherios: ah right, well thats the problem surely 18:35 < aetherios> dunc: my assumption is he doesn't have perms to tap0...however, he hasn't had luck as root either, which is odd 18:35 < dunc> hmmmm 18:35 < frediz> caker: Destination Gateway Genmask Flags MSS Window irtt Iface 18:35 < frediz> 192.168.1.25 192.168.1.2 255.255.255.255 UGH 0 0 0 eth0 18:35 < frediz> 192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 18:35 < aetherios> dunc: even after a tunctl -d tap0, uml_net still brings it back 18:35 < frediz> 0.0.0.0 192.168.1.2 0.0.0.0 UG 0 0 0 eth0 18:35 < frediz> still not responding 18:35 < aetherios> tunctl -u $(getent passwd frediz | cut -f3-d: ) -t tap0 18:35 < aetherios> (on host)( 18:35 < dunc> ok y, think this may be why i knocked auto on the head 18:36 < frediz> ok so now 18:36 < dunc> i just have a script now 18:36 < frediz> I stop the uml 18:36 < aetherios> dunc: auto worked fine for me, once i tunctl -u 42 'd and got tap1 18:36 < frediz> and run aetherios command 18:36 < dunc> weird 18:36 < aetherios> dunc: yeah 18:37 < frediz> Set 'tap0' persistent and owned by uid 1000 18:37 < frediz> then ? 18:37 < aetherios> what command are you starting uml with? 18:37 < frediz> before: linux ubd0=Debian-3.0r0.ext2 ubd1=swap_fs root=/dev/ubd/0 eth0=tuntap,,,192.168.1.2 18:37 < frediz> now eth0=tuntap,tap0 ? 18:38 < aetherios> k, start 18:38 < frediz> with eth0=tuntap,,,192.168.1.2 ? 18:38 < aetherios> yup 18:38 < frediz> I dont do much on tap0 (ifconfig or so) ? 18:38 < aetherios> nah...should get done automagically 18:39 < frediz> okay :) 18:39 < frediz> erf 18:39 < aetherios> no luck? 18:39 < frediz> tap1 was created 18:39 < frediz> expected ? 18:39 < aetherios> hehe...that's aight 18:40 < aetherios> does it have the right addy in an ifconfig? 18:40 < frediz> addy ? 18:40 < aetherios> and netstat -rn | grep tap 18:40 < aetherios> address(IP) 18:40 < frediz> tap1 Link encap:Ethernet HWaddr 00:FF:29:B8:E7:7D 18:40 < frediz> inet addr:192.168.1.2 Bcast:192.168.1.255 Mask:255.255.255.255 18:40 < dunc> ooooh 18:40 < aetherios> k, good 18:40 < frediz> netstat -rn | grep tap 18:40 < frediz> 192.168.1.25 0.0.0.0 255.255.255.255 UH 0 0 0 tap1 18:40 < dunc> yay 18:40 < aetherios> good 18:40 < frediz> hehe 18:40 < aetherios> ping work? 18:40 < frediz> nope 18:40 < frediz> lol 18:40 < aetherios> GRRRR 18:40 < frediz> insert coin 18:41 < dunc> arse 18:41 < frediz> same player plays again 18:41 < dunc> maybe uml ip not set properle? 18:41 < frediz> ping uml's ip works 18:41 < aetherios> iptables -L on uml? 18:41 < dunc> oh cool 18:42 < aetherios> REALLY??? brilliant 18:42 < aetherios> it's a start! 18:42 < aetherios> on uml 18:42 < dunc> indeed 18:42 < aetherios> route del -host 192.168.1.25 18:42 < frediz> yep but it worked from the very beginning :)) 18:42 < frediz> iptables v1.2.6a: can't initialize iptables table `filter': iptables who? (do you need to insmod?) 18:42 < aetherios> route add -net 192.168.1.0 netmask 255.255.255.0 dev eth0 18:42 < frediz> Perhaps iptables or your kernel needs to be upgraded. 18:42 < aetherios> ok, np on the iptables 18:42 < frediz> aetherios: both on uml ? 18:42 < aetherios> yup 18:43 < frediz> # route del -host 192.168.1.25 18:43 < frediz> SIOCDELRT: No such process 18:43 < dunc> never mind, do other one 18:43 < aetherios> just do the add 18:43 < frediz> 2nd worked 18:43 < aetherios> it'll be lower in the chain, shoud;n't matter 18:44 < aetherios> ok, now can you ping? 18:44 < frediz> nope 18:44 < frediz> Destination Gateway Genmask Flags MSS Window irtt Iface 18:44 < frediz> 192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 18:44 < frediz> 192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 18:44 < frediz> 0.0.0.0 192.168.1.2 0.0.0.0 UG 0 0 0 eth0 18:44 < aetherios> you have ssh running on host? 18:44 < frediz> sshd yes 18:44 < aetherios> 'telnet 192.168.1.2 22' from uml 18:44 < frediz> k 18:45 < frediz> Trying 192.168.1.2... 18:45 < frediz> telnet: Unable to connect to remote host: No route to host 18:45 < dunc> grrr 18:45 < frediz> :)) 18:45 < frediz> hard one isnit ? 18:45 < aetherios> hmm, was just htinking maybe you had a patch that didn't respond to pings 18:45 < dunc> thats a bit weird innit 18:45 * aetherios steps out to think about it over a smoke.... 18:46 < aetherios> *tags dunc* "you're it" ;-) 18:46 < frediz> mmm 18:46 < dunc> lol 18:46 < dunc> i was thinking tea n smoke 18:46 < dunc> no going outside tho 18:46 < frediz> the gw 192.168.1.1 can ping 192.168.1.2 18:46 < dunc> can it ping 1.25 too? 18:47 < dunc> or, can the uml ping 1.1 either? 18:48 < frediz> .1 cannot ping the uml but packets are shown in tcpdump ... 18:48 < dunc> can't see why they would if uml can't ping 1.2 18:48 < dunc> in which tcpdump? 18:48 < frediz> on .2 18:48 < frediz> the host 18:48 < dunc> of tap? 18:48 < frediz> tap1 18:48 < dunc> can u tcpdump eth0 of the uml? 18:49 < frediz> tcpdump is not in the uml :\ 18:49 < dunc> then ping 1.25 from the host 18:49 < dunc> oh 18:49 < frediz> 1.25 from the host is like from 1.1 18:50 < frediz> ok gts :) 18:50 < frediz> http://marc.theaimsgroup.com/?l=user-mode-linux-user&m=106061229201273&w=2 18:50 < frediz> if u have difficulty to sleep :) 18:50 < frediz> cya 18:50 < frediz> many thanks :) 18:50 < frediz> ++ 18:50 -!- frediz [~frediz@ALyon-209-1-17-65.w81-49.abo.wanadoo.fr] has quit [Quit: Pw3t] 18:54 < aetherios> interesting thing was the "Connection Refused" normally, if it couldn't contact the host, it'd hang for a few..."Connection Refuse" generally means the host responded but the port was closed... 18:54 < aetherios> unless I'm really on drugs 18:55 < dunc> well have just bin out for a smoke 18:55 < dunc> when connection refused? 18:55 < dunc> i thought it said no route 18:55 < aetherios> oh god, i am on drugs ;-) 18:56 < aetherios> srry, tired 18:56 < dunc> hehe 18:56 < aetherios> i spose I could use some caffiene 18:56 < dunc> can't hurt 18:59 -!- G2 [~G@212.159.59.85] has left #uml [Client exiting] 20:18 -!- david [~d@207.166.203.138] has joined #uml 20:47 -!- aetherios [~jeff@robocop.valueclick.com] has quit [Quit: aetherios] 22:47 -!- ticallion [~ticallion@213.175.160.59] has joined #uml 22:51 -!- ticallion [~ticallion@213.175.160.59] has quit [Client Quit] 23:23 -!- Aetherios [~jeff@24.199.13.10] has joined #uml 23:30 -!- kooper [~Click@202.159.4.160] has joined #uml 23:30 < kooper> halo.... 23:34 -!- Aetherios [~jeff@24.199.13.10] has quit [Quit: Computer going to sleep...] 23:41 < kooper> halooo 23:58 < kooper> somebody can help me... 23:59 -!- Aetherios [~jeff@rrcs-west-24-199-13-10.biz.rr.com] has joined #uml --- Log closed Tue Aug 12 00:00:00 2003