--- Day changed --- Log opened Sun Aug 17 00:00:03 2003 00:29 -!- Aetherios [~jeff@rrcs-west-24-199-13-10.biz.rr.com] has joined #uml 00:45 -!- Aetherios [~jeff@rrcs-west-24-199-13-10.biz.rr.com] has quit [Quit: Computer going to sleep...] 01:00 -!- pirlouit [~peter@duvel.drunkcoders.com] has joined #uml 03:26 -!- desaster [~desaster@dsl-jklgw1o22.dial.inet.fi] has quit [Read error: Connection reset by peer] 03:54 -!- pirlouit [~peter@duvel.drunkcoders.com] has quit [Remote host closed the connection] 04:16 -!- ticallion [~ticallion@213.175.160.49] has joined #uml 04:26 -!- crash3m [~crash3m@67.10.232.112] has joined #uml 04:40 -!- ticallion [~ticallion@213.175.160.49] has quit [Quit: Client exiting] 05:06 < crash3m> yep, I'm gonna have to learn UML pretty darn quick so I can get all my services off of the main box 05:07 < crash3m> just interested in how much space its going to take to get 7 UML's up on the same server 05:10 -!- mortck [~spam@217.226.83.83] has joined #uml 05:10 < mortck> hi folks 05:11 < crash3m> 'lo 05:12 < mortck> quick question: 05:12 < mortck> what would be the right parameters to linux to start the debian image from the uml sf hp? 05:13 < mortck> i am running into some slight respawning troubles ;-) 05:14 < mortck> already changed the /etc/inittab file in the image to one getty with 1:2345:respawn:/sbin/getty 38400 vc/0 05:14 < mortck> started a screen instance 05:15 < BB> mortck might be you need or dont need devfs (devfs=mount or nomount) 05:15 < mortck> and did "linux con=null con0=fd:0,fd:1 devfs=nomount" 05:16 < caker> con0 is tty0 inside the uml. -- sometimes vc's don't work for me 05:16 < mortck> hmm 05:17 < mortck> caker what does your linux line look like? 05:17 < caker> it's huge, but the relevant parts you have the same 05:17 < mortck> what else could i try? 05:17 < caker> con=null con0=fd:0,fd:1 .. start from screen session, set up an getty on tty0 05:21 < mortck> tty0 of the uml machine? 05:21 < caker> yes in inittab 05:22 < mortck> as far as my knowledge goes, the linux kernel needs some place to write his output to 05:22 < caker> co:2345:respawn:/sbin/mingetty tty0, on my redhat distro 05:22 -!- frediz [~frediz@ALyon-209-1-8-186.w80-13.abo.wanadoo.fr] has joined #uml 05:23 < mortck> so the question is, when i do start a um in a screen session, does the upper line make the linux binary send the output to STDIO? 05:23 < caker> more or less, yes 05:24 < frediz> hi all 05:25 < mortck> well caker, you are right, it works 05:25 < mortck> what does con0=fd:0,fd:1 do then? 05:26 < crash3m> what kind of risks would I be looking at using UML on a production server? 05:40 < BB> that depends on the length of your piece of string i would guess 05:53 < crash3m> its pretty long actually 05:58 < BB> then you might be lucky ;) 06:00 -!- mortck [~spam@217.226.83.83] has quit [Ping timeout: 490 seconds] 06:02 < crash3m> hehe 06:08 -!- mortck [~spam@217.226.83.83] has joined #uml 06:11 -!- mids [mids@aprogas.student.utwente.nl] has joined #uml 06:22 -!- desaster [~desaster@dsl-jklgw1o22.dial.inet.fi] has joined #uml 07:00 -!- mortck [~spam@217.226.83.83] has quit [Ping timeout: 490 seconds] 07:07 -!- Michael_ [~chatzilla@213.122.157.251] has joined #uml 07:16 -!- Michael_ [~chatzilla@213.122.157.251] has quit [] 07:52 -!- mistral [mistral@jstevenson.plus.com] has joined #uml 08:04 -!- mistral [mistral@jstevenson.plus.com] has quit [Read error: Connection timed out] 08:17 -!- mids [mids@aprogas.student.utwente.nl] has left #uml [] 08:19 -!- frediz [~frediz@ALyon-209-1-8-186.w80-13.abo.wanadoo.fr] has quit [Ping timeout: 501 seconds] 08:33 -!- frediz [~frediz@ALyon-209-1-24-39.w81-51.abo.wanadoo.fr] has joined #uml 08:34 -!- jks [~jks@0x503e4c12.arcnxx4.adsl-dhcp.tele.dk] has joined #uml 08:43 < jks> anyone have a few minutes to help a UML newbie? -- I can't get networking working properly :-( 08:44 < wojci> jks: Read the howto. Or reread it a few times. 08:44 < jks> this one? http://user-mode-linux.sourceforge.net/UserModeLinux-HOWTO.html 08:45 < jks> been there, done that :-( 08:45 < wojci> jks: Try again. 08:45 < jks> won't work :-) 08:45 < wojci> Why not? 08:45 < jks> anyways, I'll just describe my problem. 08:45 < jks> (because I do not understand it properly to make it work) 08:46 < jks> I use an ethertap, and assign the UML "machine" an IP of it's own. 08:46 < jks> (public ip) 08:46 < wojci> jks: If so, are you sure you want to use linux at all? ;P 08:46 < jks> wojci: I know my way around Linux 08:46 < wojci> jks: Right. 08:46 < jks> anyways, when I for example SSH to that public IP, I just get into the main server 08:48 < jks> also I can't entirely figure out to how to exactly get into the UML machine from the "console" 08:48 < wojci> jks: Can you for example ping the uml from the host machine? 08:48 < jks> yep, ping works fine 08:48 < wojci> jks: Are you sure? run tcpdump inside the uml to be sure. 08:49 < jks> wojci: I can't get into the UML sadly :-/ 08:49 < jks> Get an message like this: 08:49 < jks> redhat72 login: Warning: This program is an suid-root program or is being run by the root user. 08:49 < jks> The full text of the error or warning message cannot be safely formatted 08:49 < jks> in this environment. You may get a more descriptive message by running the 08:49 < jks> program as a non-root user or by removing the suid bit on the executable. 08:49 < jks> xterm Xt error: Can't open display: %s 08:49 < wojci> jks: Your UML is not started? 08:49 < jks> It is started. 08:49 < jks> But I'm not running X... and they all seem to somehow require X? 08:50 < wojci> jks: You can get a console going without X. 08:50 < jks> wojci: I'm using the rh7.2 pristine server root file systems from the page 08:50 < jks> wojci: and when I get to the login prompt, they just give me that error. 08:51 < wojci> jks: First step: loging into the UML, and setup its interface and routing. 08:51 < jks> wojci: okay, but do you have any tips for how to login to the UML ? 08:51 < wojci> jks: If you solve this, I belive your networking is going to work as it should. 08:51 < jks> wojci: okay, well, at least it would give me a prompt where I can actually do something about it ;-) 08:51 < jks> wojci: do you have any ideaS? 08:52 < wojci> Here is what I use to start one of my umls: 08:52 < wojci> root@umlbox:~# uml_cntrl.pl -pretend -start 0 08:52 < wojci> /pack/UML-tools/bin/tunctl -b -u uml0 -t tap0 08:52 < wojci> /sbin/ifconfig tap0 arp mtu 1500 10.0.0.50 up 08:52 < wojci> /sbin/route add -host 10.1.0.50 dev tap0 08:52 < wojci> /usr/sbin/arp -Ds 10.1.0.50 tap0 pub 08:52 < wojci> /usr/bin/screen -S box0:BOXX0 -d -m /bin/su - uml0 -c "/pack/UML-root/kernel/linux-2.4.20/linux-b0rked tty_log_fd=3 ubd0=/pack/UML-root/fs/0/Debian-3.0r0.ext2 ubd1=/pack/UML-root/fs/0/swap.img root=/dev/ubd/0 eth0=tuntap,tap0,fe:fd:0:0:0:50,10.0.0.50 mem=64M umid=0 uml_dir=/pack/UML-root/var/run 3>>/pack/UML-root/var/logs/0.ttylog.log" 08:52 < jks> Okay, hmmm 08:53 < jks> I just started mine like this: linux ubd0=root_fs.cow,root_fs ubd1=swap eth0=ethertap,tap2,C0:FF:EE:C0:FF:EE,192.168.0.1 08:53 < jks> uml_cntrl.pl -- what is that exactly? (I haven't got it here) 08:53 < wojci> Own script. 08:53 < jks> Okay, so what does it do ? 08:53 < wojci> Set up UMLs based on short config files. 08:54 < jks> Okay, so it basically runs those other commands, right? 08:54 < wojci> UMLs, networking, firwalling and QoS. 08:54 < wojci> Yes. 08:54 < wojci> jks: But I do use custom kernels. 08:54 < jks> Okay 08:55 < wojci> Ones that I configured myself. 08:55 < jks> Yes ;-) 08:55 < jks> I gave up custom configuring kernels some years ago 08:55 < jks> Too much work, too little time 08:56 < wojci> from .config: 08:56 < wojci> CONFIG_STDIO_CONSOLE=y 08:56 < wojci> # CONFIG_SSL is not set 08:56 < wojci> CONFIG_FD_CHAN=y 08:56 < wojci> # CONFIG_NULL_CHAN is not set 08:56 < wojci> # CONFIG_PORT_CHAN is not set 08:56 < wojci> # CONFIG_PTY_CHAN is not set 08:56 < wojci> # CONFIG_TTY_CHAN is not set 08:56 < wojci> # CONFIG_XTERM_CHAN is not set 08:56 < wojci> CONFIG_CON_ZERO_CHAN="fd:0,fd:1" 08:56 < wojci> CONFIG_CON_CHAN="xterm" 08:56 < wojci> CONFIG_SSL_CHAN="pty" 08:56 < wojci> CONFIG_UNIX98_PTYS=y 08:56 < wojci> CONFIG_UNIX98_PTY_COUNT=256 08:56 < wojci> # CONFIG_WATCHDOG is not set 08:56 < wojci> # CONFIG_WATCHDOG_NOWAYOUT is not set 08:56 < wojci> # CONFIG_SOFT_WATCHDOG is not set 08:56 < wojci> # CONFIG_UML_WATCHDOG is not set 08:56 < jks> Yep, yep, no problem. 08:56 < wojci> # CONFIG_UML_SOUND is not set 08:56 < wojci> # CONFIG_SOUND is not set 08:56 < wojci> # CONFIG_HOSTAUDIO is not set 08:56 < wojci> CONFIG_TTY_LOG=y 08:56 < jks> I have kernel config done. 08:57 < jks> hmm, you have setup a user called uml0, right? 08:57 < wojci> jks: Hmm .. you should get a console from whatever terminal you run that uml from. 08:57 < wojci> jks: Right. 08:57 < jks> wojci: Yes, I do get that --- but it doesn't respond to my keypresses :-/ 08:58 < jks> Maybe I should try getting a debian image instead of a redhat root filesystem 08:59 < wojci> jks: I have a redhat image, it works. 08:59 < jks> wojci: weird stuff 08:59 < jks> I'll just try debian 08:59 < wojci> I should make my script public .. that would make life easier for some people ;) 08:59 < jks> Good idea! 09:00 < wojci> bash-2.05# uname -a 09:00 < wojci> Linux redhat72.wojci.dk 2.4.20-5um #12 Sat Aug 2 15:59:02 CEST 2003 i686 unknown 09:00 < jks> It's not exactly easy to get working, when I can't get it working ;-) 09:00 < jks> Damn Danes! 09:01 < wojci> jks: Heh .. 0x503e4c12.arcnxx4.adsl-dhcp.tele.dk 09:01 < jks> det er da godt at vi er nogle aalborgensere herinde ;-) 09:01 < wojci> Klart :) 09:01 < jks> hvor arbejder du nu? 09:01 < wojci> Jeg er også på #linux, undernet. 09:01 < wojci> jks: Kender du mig? 09:02 < jks> næh, så bare lige på din hjemmeside 09:02 < wojci> jks: Arbejder? Heh 09:02 < jks> ved bare jeg har set din hjemmeside før 09:02 < jks> du kender ikke reverse / ether / Michael Knudsen, vel ? 09:02 < wojci> Jo. 09:03 < jks> (For noget godt forhåbenligt)... det må vist være ham, der har vist mig din hjemmeside på et tidspunkt så 09:03 < wojci> Fandt du noget spændende? 09:03 < jks> næh, han skulle vist vise mig en eller anden film, der så ikke var der længere ;-) 09:03 < wojci> Hmm .. der har vist aldrig være film på min hjemmeside .. 09:04 < jks> så var det nok et billede 09:04 < jks> hmm, kender du et hurtigt sted man kan downloade debian root fs fra ? 09:04 < wojci> 09:04 < jks> arh, der var et her på uml-pub 09:04 < wojci> jks: En af de der mirrors. 09:04 < wojci> Hvad skal du egentligt bruge UML til? 09:05 < jks> til at lege med :-) 09:05 < jks> og hvis det virker, så måske til at lave nogle hygge servere med 09:05 < jks> http://uml-pub.ists.dartmouth.edu/uml/ kender du et hurtigere mirror end den her? kan kun downloade med 8 kb/s ? :-( 09:06 < wojci> jks: Jeg er lidt imod at udgive software under GPL lige nu .. eftersom jeg ikke tjener penge på det. 09:06 < wojci> Jeg husker at jeg hentede fra tyskland, tror jeg. 09:06 < jks> wojci: hehe, tjah... så sælg da softwaren istedet for? 09:06 < wojci> Den der hoved site er lidt rodet. 09:06 < wojci> jks: Tjah, det er lidt svært at sælge et .pl script. 09:07 < jks> wojci: tjnah, det er da lykkedes for mig? 09:07 < wojci> Ja, sikkert noget on-line bras ;P 09:07 < jks> næh, dog ikke ;-) 09:07 < jks> jeg laver rimeligt meget perl kode hver dag 09:08 < wojci> jks: Jeg er gået over til at kode c++, lige så snart det er noget større. 09:08 < jks> c++ har jeg aldrig rigtigt fundet mig godt til rette i 09:08 < jks> jeg lærte det for tidligt 09:08 < jks> dengang der ikke var STL og templates og den slags pjat 09:08 < jks> så jeg bruger normalt Java hvis det skal være "stort" ellers bare Perl eller C 09:08 < wojci> Heh. Hvorfra kender du reverse fra? 09:08 < jks> er i gruppe med ham ude på uni 09:09 < wojci> s/hvorfra/hvor/ 09:09 < wojci> Jeg kan ikke lide C eller C-kodere ;P 09:09 < wojci> Og java gider jeg ikke, da jeg ikke kan styre hukommelsen. 09:09 < jks> LOL ... så kan du HELT sikkert ikke lide reverse 09:09 < jks> hmm, hvorfor pokker vil du gerne styre hukommelsen? 09:09 < wojci> jks: Jo jeg kan - han er lidt af en undtagelse. 09:10 < wojci> Det er sært, at en som er så sikkerhedsinteresseret, så koder i C. 09:10 < jks> wojci: jeps, helt klart 09:10 < jks> men GC er vel næsten altid et plus i sikkerhedsregnskabet 09:11 < wojci> Tjah. Jeg kan godt finde ud af at rydde op efter mig selv. 09:11 -!- frediz [~frediz@ALyon-209-1-24-39.w81-51.abo.wanadoo.fr] has quit [Ping timeout: 480 seconds] 09:11 < jks> (og nu min favorit kæphest som reverse elsker at sige er en løgn) GC'ede sprog er hurtigere end ikke GC'ede sprog 09:11 < wojci> Jeg koder stadigvæk lidt C i C++, men er i gang med at prøve på at lade være med det. 09:12 < wojci> Ikke, at jeg f.eks. bruger malloc sammen med new -;) 09:12 < jks> hehe ;-) 09:14 < wojci> jks: Hmm .. jeg har faktisk planer om at skrive noget a la uml_cntrl.pl i c++. Men jeg skal lige blive færdig med mit gtkmm projekt. 09:14 < wojci> Og nu skal jeg til at skrive noget. 09:14 < wojci> Vi ses :) 09:14 < jks> Snakkes! 09:19 -!- frediz [~frediz@81.53.69.57] has joined #uml 09:25 * jks is back (gone 13:57:31) 09:47 -!- frediz_ [~frediz@81.53.70.76] has joined #uml 09:51 -!- frediz [~frediz@81.53.69.57] has quit [Ping timeout: 488 seconds] 10:47 -!- ichilton_ is now known as ichilton 10:54 -!- ElectricElf [~david@elf.noc.oftc.net] has quit [Ping timeout: 240 seconds] 10:56 -!- ElectricElf [~david@elf.noc.oftc.net] has joined #uml 11:08 -!- Suidakro [gvdjk@99.Red-80-26-36.pooles.rima-tde.net] has joined #uml 11:09 < Suidakro> hi all 11:09 < Suidakro> I have problems with modules 11:10 < Suidakro> I have read the method for installing kernel modules 11:10 < Suidakro> but it doesnt work for me, I am doing something wrong 11:11 < Suidakro> anyb can help me? 11:11 < BB> no idea, not used modules 11:11 < Suidakro> I am installing in laptop and I need natsemi module for network device 11:12 < BB> you would only need the eth driver in the host kernel 11:13 -!- anon [~anon@200.67.146.73] has quit [Quit: Client Exiting] 11:13 * jks is away: I'm busy 11:15 < Suidakro> putting natsemi.c in /lib/modules/2.4.20 is enough? 11:16 < Suidakro> I need to compile natsemi.c to get natsemi.o no? 11:18 < BB> you put it wherever it normaly goes 11:18 < Suidakro> I did... 11:19 < Suidakro> I thinking if I use the anfitrion filesystem it will works fine.... 11:19 < Suidakro> I currently using a filesystem downloaded from uml site 11:21 -!- Suidakro [gvdjk@99.Red-80-26-36.pooles.rima-tde.net] has quit [Quit: by all] 11:35 -!- ticallion [~ticallion@213.175.160.170] has joined #uml 12:46 -!- ElectricElf [~david@elf.noc.oftc.net] has quit [] 12:46 -!- ElectricElf [~david@elf.noc.oftc.net] has joined #uml 12:57 -!- frediz_ [~frediz@81.53.70.76] has quit [Quit: Pw3t] 13:14 -!- silug [~steve@osiris.silug.org] has quit [Ping timeout: 501 seconds] 13:23 -!- silug [~steve@64.240.156.225] has joined #uml 13:34 -!- ticallion [~ticallion@213.175.160.170] has quit [Quit: Client exiting] 13:48 -!- mortck [~spam@217.226.83.83] has joined #uml 13:51 -!- AquaJo [~torbofh@pD9E4CBE0.dip.t-dialin.net] has joined #uml 14:04 -!- miah [miah@199.201.145.61] has quit [Read error: Connection reset by peer] 14:42 -!- frediz [~frediz@193.252.187.234] has joined #uml 14:47 -!- Rygel [~wir@pD9524918.dip.t-dialin.net] has joined #uml 14:47 < Rygel> hi there 14:48 < Rygel> question: Is there a redhat9 file system downloadable somewhere that works alright? 15:00 < mortck> Rygel: goto usermodelinux.org 15:00 < mortck> scroll down 15:00 < mortck> there is a link on that page to such a fs 15:29 < AquaJo> mortck: do you know which filesystem the redhat images uses? 15:29 < AquaJo> ext2,3, reiser? 15:59 -!- Aetherios [~jeff@24.199.13.10] has joined #uml 15:59 -!- Aetherios [~jeff@24.199.13.10] has quit [Client Quit] 15:59 -!- Aetherios [~jeff@24.199.13.10] has joined #uml 16:00 -!- Aetherios [~jeff@24.199.13.10] has quit [Client Quit] 16:00 -!- Aetherios [~jeff@rrcs-west-24-199-13-10.biz.rr.com] has joined #uml 16:02 -!- mortck [~spam@217.226.83.83] has quit [Ping timeout: 488 seconds] 16:07 -!- frediz_ [~frediz@193.251.93.180] has joined #uml 16:10 -!- frediz [~frediz@193.252.187.234] has quit [Ping timeout: 490 seconds] 16:14 -!- Aetherios [~jeff@rrcs-west-24-199-13-10.biz.rr.com] has quit [Remote host closed the connection] 16:29 -!- jks [~jks@0x503e4c12.arcnxx4.adsl-dhcp.tele.dk] has quit [Quit: Client exiting] 17:06 -!- Aetherios [~jeff@24.199.13.10] has joined #uml 17:28 -!- caker [~null@pcp507591pcs.nash01.tn.comcast.net] has quit [Read error: Connection reset by peer] 17:35 -!- Rygel [~wir@pD9524918.dip.t-dialin.net] has quit [] 17:52 -!- AquaJo [~torbofh@pD9E4CBE0.dip.t-dialin.net] has quit [Quit: Jedenfalls ist es besser, ein eckiges Etwas zu sein als ein rundes Nichts - Friedrich Hebbel] 18:13 -!- coryb [~cory@24.124.36.198] has quit [Quit: good bye irc world, time to upgrade this thingy :D] 18:23 -!- mistral [mistral@jstevenson.plus.com] has joined #uml 18:28 -!- frediz_ [~frediz@193.251.93.180] has quit [Quit: ZzzZ] 18:35 -!- mistral [mistral@jstevenson.plus.com] has quit [Ping timeout: 501 seconds] 20:29 < david> hello 20:30 < Aetherios> lo 20:52 -!- coryb [~cory@24.124.36.198] has joined #uml 22:04 -!- pirlouit [~peter@64.162.195.202] has joined #uml 22:35 -!- Aetherios [~jeff@24.199.13.10] has quit [Quit: Computer going to sleep...] 22:40 -!- Aetherios [~jeff@rrcs-west-24-199-13-10.biz.rr.com] has joined #uml 22:59 -!- Umler [~anon@dsl-200-67-146-73.prodigy.net.mx] has joined #uml --- Log closed Mon Aug 18 00:00:00 2003