From etasci at fisek.com.tr Thu May 8 13:46:12 2008 From: etasci at fisek.com.tr (Emre Sururi) Date: Thu, 08 May 2008 12:46:12 +0200 Subject: [Pardus-users] Virtualbox Host Interface Networking and pinging Message-ID: <4822D9F4.6030504@fisek.com.tr> For some application I'm running a guest WinXP via virtualbox. I need to be able to ping so, tried to configure Host Interface Networking: brctl addbr br0 ifconfig eth1 0.0.0.0 brctl addif br0 eth1 dhcpcd br0 chmod 0666 /dev/net/tun But now VirtualBox exists with the error "Failed to initialize Host Interface Networking. VBox status code: -3100 (VERR_HOSTIF_INIT_FAILED)." as soon as I attempt to start the guest OS. I also couldn't find neither tunctl nor VBoxAddIF, VBoxDeleteIF and VBoxTunctl tools on the package repository (btw, not even sure if they are needed) So, is there anybody who have managed to resolve the ping issue within the guest OS using virtualbox and willing to walk me through? Best regards, EST From ekin at pardus.org.tr Thu May 8 14:06:01 2008 From: ekin at pardus.org.tr (Ekin =?utf-8?q?Mero=C4=9Flu?=) Date: Thu, 8 May 2008 14:06:01 +0300 Subject: [Pardus-users] Virtualbox Host Interface Networking and pinging In-Reply-To: <4822D9F4.6030504@fisek.com.tr> References: <4822D9F4.6030504@fisek.com.tr> Message-ID: <200805081406.01393.ekin@pardus.org.tr> Merhaba; Thursday 08 May 2008 tarihinde, Emre Sururi ?unlar? yazm??t?: > For some application I'm running a guest WinXP via virtualbox. I need to > be able to ping so, tried to configure Host Interface Networking: Ping is a special case in Virtualbox, at least in NAT setup - you can not ping the host interface or dhcp-supplied-DNS from guest. I've read it was intentional somewhere on net, but I dont remember where... http://www.virtualbox.org/wiki/User_HOWTOS might give some clues.. > brctl addbr br0 > ifconfig eth1 0.0.0.0 > brctl addif br0 eth1 > dhcpcd br0 > chmod 0666 /dev/net/tun > > But now VirtualBox exists with the error "Failed to initialize Host > Interface Networking. VBox status code: -3100 > (VERR_HOSTIF_INIT_FAILED)." as soon as I attempt to start the guest OS. What is the version of Virtualbox ? (pisi info virtualbox) I remember a recent fix for fost interface networking, might be the same case you're hitting.. I'll update the pacgake to latest stable also but don't hold your breath - it'll be at least a couple of days.. -- ?yi ?al??malar; Ekin Meroglu ... did i listen to pop music because i was miserable, or was i miserable because i listened to pop music?... - rob [nick hornby / hi fi] From etasci at fisek.com.tr Thu May 8 14:24:36 2008 From: etasci at fisek.com.tr (Emre Sururi) Date: Thu, 08 May 2008 13:24:36 +0200 Subject: [Pardus-users] Virtualbox Host Interface Networking and pinging In-Reply-To: <200805081406.01393.ekin@pardus.org.tr> References: <4822D9F4.6030504@fisek.com.tr> <200805081406.01393.ekin@pardus.org.tr> Message-ID: <4822E2F4.4080504@fisek.com.tr> Ekin Mero?lu wrote On 05/08/2008 01:06 PM: > Ping is a special case in Virtualbox, at least in NAT setup - you can not ping > the host interface or dhcp-supplied-DNS from guest. I've read it was > intentional somewhere on net, but I dont remember where... http://www.virtualbox.org/ticket/181 from there and some other site I got the idea that via Host Interface Networking one is able to ping.. > http://www.virtualbox.org/wiki/User_HOWTOS might give some clues.. > >> But now VirtualBox exists with the error "Failed to initialize Host >> Interface Networking. VBox status code: -3100 >> (VERR_HOSTIF_INIT_FAILED)." as soon as I attempt to start the guest OS. > > What is the version of Virtualbox ? (pisi info virtualbox) I remember a recent > fix for fost interface networking, might be the same case you're hitting.. Name: virtualbox, version: 1.5.6, release: 19, build 34 > I'll update the package to latest stable also but don't hold your breath - > it'll be at least a couple of days.. No problem, thank you very much... Yours Faithfully, Emre Marianne > ... did i listen to pop music because i was miserable, or was i miserable > because i listened to pop music?... - rob [nick hornby / hi fi] ... Congratulations Ekin, you've just made it to my top 5.. From ekin at pardus.org.tr Thu May 8 14:30:53 2008 From: ekin at pardus.org.tr (Ekin =?utf-8?q?Mero=C4=9Flu?=) Date: Thu, 8 May 2008 14:30:53 +0300 Subject: [Pardus-users] Virtualbox Host Interface Networking and pinging In-Reply-To: <4822E2F4.4080504@fisek.com.tr> References: <4822D9F4.6030504@fisek.com.tr> <200805081406.01393.ekin@pardus.org.tr> <4822E2F4.4080504@fisek.com.tr> Message-ID: <200805081430.53735.ekin@pardus.org.tr> Merhaba; Thursday 08 May 2008 tarihinde, Emre Sururi ?unlar? yazm??t?: > Name: virtualbox, version: 1.5.6, release: 19, build 34 > > > I'll update the package to latest stable also but don't hold your breath > > - it'll be at least a couple of days.. Test repo has virtualbox-1.5.6.2-20-35 and that package contains the fix I remembered. But it might be necessary to update the kernel with it (don't remember for sure) to install the package from test repo. You can give the test repo a shot if you fell like experimenting :-P -- ?yi ?al??malar; Ekin Meroglu ... did i listen to pop music because i was miserable, or was i miserable because i listened to pop music?... - rob [nick hornby / hi fi] From selimok at gmail.com Thu May 8 19:39:30 2008 From: selimok at gmail.com (selim ok) Date: Thu, 8 May 2008 18:39:30 +0200 Subject: [Pardus-users] Virtualbox Host Interface Networking and pinging In-Reply-To: <4822D9F4.6030504@fisek.com.tr> References: <4822D9F4.6030504@fisek.com.tr> Message-ID: 2008/5/8 Emre Sururi : > I also couldn't find neither tunctl nor VBoxAddIF, VBoxDeleteIF and > VBoxTunctl tools on the package repository (btw, not even sure if they > are needed) > For tunctl you should install usermode-utilities package ( http://paketler.pardus.org.tr/contrib-2007/usermode-utilities-0.0_20060323-1-1.pisi) . As far as i understand, you want to create a virtual network interface on host machine and use this as network adapter on guest. Also you should do following, if above assumption correct: tunctl -t tap0 -u user_name chmod 0666 /dev/net/tun ifconfig tap0 xxx.xxx.xxx.xxx up (or get ip per DHCP client) You should then enable network adapter on Vbox, set to "Attached to Host Interface" and give as "Interface Name" tap0 . If you need bridged network, you have to use brctl. I hope this help. If i misunderstand, sorry :) Cheers, Selim -- ?zg?rl?k icin, ?zg?r isletim sistemi... http://www.pardus.org.tr -------------- next part -------------- An HTML attachment was scrubbed... URL: http://liste.pardus.org.tr/pardus-users/attachments/20080508/65971d53/attachment.htm From etasci at fisek.com.tr Wed May 21 23:42:11 2008 From: etasci at fisek.com.tr (Emre Sururi) Date: Wed, 21 May 2008 22:42:11 +0200 Subject: [Pardus-users] mpi with f90 support Message-ID: <48348923.9070100@fisek.com.tr> Dear All, #mpif90 -------------------------------------------------------------------------- Unfortunately, this installation of Open MPI was not compiled with Fortran 90 support. As such, the mpif90 compiler is non-functional. -------------------------------------------------------------------------- The obvious solution is to build the mpi from source but it is so tedious that I wanted to ask first if there's a practical way out of this problem.. (PiSi SaVe Me) Regards, EST From erdinc at pardus.org.tr Thu May 22 19:42:20 2008 From: erdinc at pardus.org.tr (Ali =?UTF-8?B?RXJkaW7DpyBLw7Zyb8SfbHU=?=) Date: Thu, 22 May 2008 19:42:20 +0300 Subject: [Pardus-users] mpi with f90 support In-Reply-To: <48348923.9070100@fisek.com.tr> References: <48348923.9070100@fisek.com.tr> Message-ID: <20080522194220.6cdd9851.erdinc@pardus.org.tr> On Wed, 21 May 2008 22:42:11 +0200 Emre Sururi wrote: | Dear All, | | #mpif90 | -------------------------------------------------------------------------- | Unfortunately, this installation of Open MPI was not compiled with | Fortran 90 support. As such, the mpif90 compiler is non-functional. | -------------------------------------------------------------------------- | | The obvious solution is to build the mpi from source but it is so | tedious that I wanted to ask first if there's a practical way out of this problem.. (PiSi SaVe Me) *** Fortran 90/95 compiler checking for gfortran... no checking for f95... no checking for fort... no checking for xlf95... no checking for ifort... no checking for ifc... no checking for efc... no checking for pgf95... no checking for lf95... no checking for f90... no checking for xlf90... no checking for pgf90... no checking for epcf90... no checking whether we are using the GNU Fortran compiler... no checking whether accepts -g... no configure: WARNING: *** Fortran 90/95 bindings disabled (could not find compiler) gfortran is included in GCC's official releases from 4.0.0 which we got in 2008 but till that time you can use mpif77 (g77) -- "Errors are not in the art but in the artificers" - Isaac Newton Ali Erdin?? K??ro??lu < erdinc ??? pardus.org.tr > Key ID: 5FF05035 @ pgp.mit.edu Web: http://www.erdinc.info -------------- sonraki b?l?m -------------- Yaz??? olmayan bir eklenti temizlendi... ???sim: kullan???lam???yor T???r: application/pgp-signature Boyut: 197 bayt Tan???m: kullan???lam???yor Url: http://liste.pardus.org.tr/pardus-users/attachments/20080522/f1f030a1/attachment.pgp From etasci at fisek.com.tr Mon May 26 15:06:41 2008 From: etasci at fisek.com.tr (Emre Sururi) Date: Mon, 26 May 2008 14:06:41 +0200 Subject: [Pardus-users] SVN and Apache.. Message-ID: <483AA7D1.3010701@fisek.com.tr> Dear All, I have started using the SVN server and now, would like to be able to access it via http. My adventures in this land are as follows: 1. I tried my luck and just created a symlink in the htdocs dir: > ln -s /home/sururi/svn /var/www/localhost/htdocs/svn > svn checkout http://localhost/svn/project svn: PROPFIND request failed on '/svn/project' svn: PROPFIND of '/svn/project': 405 Method Not Allowed (http://localhost) 2. -Obviously- the other work around didn't work neither: > mkdir /var/www/localhost/htdocs/svn > sshfs sururi at 1.2.3.4:/home/sururi/svn /htdocs/svn > svn checkout http://localhost/svn/project svn: PROPFIND request failed on '/svn/project' svn: PROPFIND of '/svn/project': 403 Forbidden (http://localhost) > fusermount -u /htdocs/svn/ 3. Then I went on to check the references and modified my httpd.conf as follows: /etc/apache2/httpd.conf : LoadModule dav_module modules/mod_dav.so LoadModule dav_svn_module modules/mod_dav_svn.so DAV svn SVNPath /home/sururi/svn > service apache restart Service 'apache' stopped. Service 'apache' started. <-exit from root-> > svn checkout http://localhost/svn/project svn: PROPFIND request failed on '/svn/project' svn: PROPFIND of '/svn/project': 405 Method Not Allowed (http://localhost) Now, could somebody kindly walk me through the necessary steps? My repository is in /home/sururi/svn : sururi at dutsm0175 htdocs $ ll /home/sururi/svn/ total 32K drwxr-xr-x 2 sururi users 4.0K 2008-05-23 15:33 conf drwxr-xr-x 2 sururi users 4.0K 2008-05-23 15:33 dav drwxr-sr-x 5 sururi users 4.0K 2008-05-26 13:04 db -r--r--r-- 1 sururi users 2 2008-05-23 15:33 format drwxr-xr-x 2 sururi users 4.0K 2008-05-23 15:33 hooks -rw-r--r-- 1 sururi users 17 2008-05-26 13:11 index.php drwxr-xr-x 2 sururi users 4.0K 2008-05-23 15:33 locks -rw-r--r-- 1 sururi users 229 2008-05-23 15:33 README.txt sururi at dutsm0175 htdocs $ svn ls file:///home/sururi/svn project/ test/ and the htdocs is located in /var/www/localhost/htdocs/ With my thanks in advance, EST. ====================================================================== Bonus Question : is there a GUI or parameter set that enables me to view the changes with somehow merged version of status and log? What I have in mind is something like: ------------------------------------------------------------------------ r15 | sururi | 2008-05-26 13:04:19 +0200 (Mon, 26 May 2008) | 2 lines Corrected some code to properly include the formatted columns in the output >>U inference.php ------------------------------------------------------------------------ r14 | sururi | 2008-05-26 12:51:57 +0200 (Mon, 26 May 2008) | 5 lines Now accepts "base" parameter as the symbol of the preferred element. If it is not supplied or $elements array does not contain it, then the element on top of $element array (i.e., Ti) is taken as the base. Also, default output file format is changed to include the property number and the base element. >>U inference.php >>A lo.php ------------------------------------------------------------------------ r13 | sururi | 2008-05-26 11:43:12 +0200 (Mon, 26 May 2008) | 2 lines Changed the default fetched property from 38 (lattice parameter a) to 35 (cell volume) >>U inference.php >>D delsil.out ------------------------------------------------------------------------ The output above (without the lines preceded by ">>" are the usual info output but I also want to see the imaginary ">>" lines.. From etasci at fisek.com.tr Mon May 26 15:18:51 2008 From: etasci at fisek.com.tr (Emre Sururi) Date: Mon, 26 May 2008 14:18:51 +0200 Subject: [Pardus-users] more SVN In-Reply-To: <483AA7D1.3010701@fisek.com.tr> References: <483AA7D1.3010701@fisek.com.tr> Message-ID: <483AAAAB.5090809@fisek.com.tr> Emre Sururi wrote On 05/26/2008 02:06 PM: some additions to my previous message: * If possible, I'd prefer to access to SVN via ssh. * I've tried kdesvn but didn't find it very effective (would be much practical if there was a way to keep the CTRL-L pop-up window resident) * Is it possible within SVN to automatically include a description file containing the list of the files AND the modifiable descriptions of them? Thanks again, Your casual buzzer, Sururi. From necmettin.begiter at gmail.com Mon May 26 15:46:40 2008 From: necmettin.begiter at gmail.com (Necmettin Begiter) Date: Mon, 26 May 2008 15:46:40 +0300 Subject: [Pardus-users] SVN and Apache.. In-Reply-To: <483AA7D1.3010701@fisek.com.tr> References: <483AA7D1.3010701@fisek.com.tr> Message-ID: <3787dfa80805260546q9f4ee42p6527a3c2739f4b28@mail.gmail.com> 2008/5/26 Emre Sururi : > sururi at dutsm0175 htdocs $ ll /home/sururi/svn/ > total 32K > drwxr-xr-x 2 sururi users 4.0K 2008-05-23 15:33 conf > drwxr-xr-x 2 sururi users 4.0K 2008-05-23 15:33 dav > drwxr-sr-x 5 sururi users 4.0K 2008-05-26 13:04 db > -r--r--r-- 1 sururi users 2 2008-05-23 15:33 format > drwxr-xr-x 2 sururi users 4.0K 2008-05-23 15:33 hooks > -rw-r--r-- 1 sururi users 17 2008-05-26 13:11 index.php > drwxr-xr-x 2 sururi users 4.0K 2008-05-23 15:33 locks > -rw-r--r-- 1 sururi users 229 2008-05-23 15:33 README.txt You might want to try giving your svn repository directory to apache:apache recursively. From happynoff at free.fr Mon May 26 15:48:55 2008 From: happynoff at free.fr (Simon COURTOIS) Date: Mon, 26 May 2008 14:48:55 +0200 Subject: [Pardus-users] SVN and Apache.. In-Reply-To: <483AA7D1.3010701@fisek.com.tr> References: <483AA7D1.3010701@fisek.com.tr> Message-ID: <483AB1B7.1050207@free.fr> Emre Sururi a ?crit : > Dear All, > > I have started using the SVN server and now, would like to be able to > access it via http. My adventures in this land are as follows: > [...] > > Now, could somebody kindly walk me through the necessary steps? My > repository is in /home/sururi/svn : > and the htdocs is located in /var/www/localhost/htdocs/ > > Hi, When I want a repository to be accessed via http, I do it like this: # edit the concerned vhost file and write something like it ... DAV svn SVNPath /path/to/my/repo AuthType Basic AuthName "My Great Repository" AuthUserFile /path/to/my/passwords/file Require valid-user AuthzSVNAccessFile /path/to/my/permissions/file # verify that you have the dav XX_mod_dav.conf in your /etc/apache2/modules.d directory # then restart your apache # verify the the configured apache user can access to your repository path I hope it will work for you :) The user access part comes from my configuration, it's optional... > ====================================================================== > Bonus Question : is there a GUI or parameter set that enables me to view > the changes with somehow merged version of status and log? What I have > in mind is something like: > > ------------------------------------------------------------------------ > r15 | sururi | 2008-05-26 13:04:19 +0200 (Mon, 26 May 2008) | 2 lines > > Corrected some code to properly include the formatted columns in the output > > >>U inference.php simply use : svn log -v and that's it try : svn help log to find more options ;) -- Simon COURTOIS {EPITECH.} tek4 | (LINAGORA) Developer | [ADITAM] Project Manager 10, rue Brillat-Savarin 75013 Paris | 01 45 42 72 30 - 06 72 44 67 81 http://www.happynoff.fr From etasci at fisek.com.tr Mon May 26 15:50:30 2008 From: etasci at fisek.com.tr (Emre Sururi) Date: Mon, 26 May 2008 14:50:30 +0200 Subject: [Pardus-users] more SVN In-Reply-To: <483AAAAB.5090809@fisek.com.tr> References: <483AA7D1.3010701@fisek.com.tr> <483AAAAB.5090809@fisek.com.tr> Message-ID: <483AB216.5060208@fisek.com.tr> Emre Sururi wrote On 05/26/2008 02:18 PM: > * If possible, I'd prefer to access to SVN via ssh. Hi Emre, I, unfortunately don't know about the resolutions to your other problems but you can connect to your repository using the svn+ssh protocol as in: > svn checkout svn+ssh://sururi at 1.2.3.4/home/sururi/svn/project hope it works for you -- it surely does the trick for me ;) Cheers Yourself. From etasci at fisek.com.tr Mon May 26 16:03:11 2008 From: etasci at fisek.com.tr (Emre Sururi) Date: Mon, 26 May 2008 15:03:11 +0200 Subject: [Pardus-users] SVN and Apache.. In-Reply-To: <3787dfa80805260546q9f4ee42p6527a3c2739f4b28@mail.gmail.com> References: <483AA7D1.3010701@fisek.com.tr> <3787dfa80805260546q9f4ee42p6527a3c2739f4b28@mail.gmail.com> Message-ID: <483AB50F.6000300@fisek.com.tr> Necmettin Begiter wrote On 05/26/2008 02:46 PM: > 2008/5/26 Emre Sururi : >> sururi at dutsm0175 htdocs $ ll /home/sururi/svn/ >> total 32K >> drwxr-xr-x 2 sururi users 4.0K 2008-05-23 15:33 conf >> drwxr-xr-x 2 sururi users 4.0K 2008-05-23 15:33 dav >> drwxr-sr-x 5 sururi users 4.0K 2008-05-26 13:04 db >> -r--r--r-- 1 sururi users 2 2008-05-23 15:33 format >> drwxr-xr-x 2 sururi users 4.0K 2008-05-23 15:33 hooks >> -rw-r--r-- 1 sururi users 17 2008-05-26 13:11 index.php >> drwxr-xr-x 2 sururi users 4.0K 2008-05-23 15:33 locks >> -rw-r--r-- 1 sururi users 229 2008-05-23 15:33 README.txt > > You might want to try giving your svn repository directory to > apache:apache recursively. Dear Necmettin, Thank you very much for your suggestion, but turns out that it doesn't work. The funny thing is, if I'm to create an ordinary directory under the htdocs, it is accessible by the apache (ugo+r by default). The linked svn directory also has the same permissions, but just don't work... Maybe moving the repository there may work, but it seems to me that, there must be a practical way.. :( Regards, ES From etasci at fisek.com.tr Mon May 26 16:17:21 2008 From: etasci at fisek.com.tr (Emre Sururi) Date: Mon, 26 May 2008 15:17:21 +0200 Subject: [Pardus-users] SVN and Apache.. In-Reply-To: <483AB1B7.1050207@free.fr> References: <483AA7D1.3010701@fisek.com.tr> <483AB1B7.1050207@free.fr> Message-ID: <483AB861.5070600@fisek.com.tr> Simon COURTOIS wrote On 05/26/2008 02:48 PM: > When I want a repository to be accessed via http, I do it like this: > > # edit the concerned vhost file and write something like it > > ... > > DAV svn > SVNPath /path/to/my/repo > AuthType Basic > AuthName "My Great Repository" > AuthUserFile /path/to/my/passwords/file > Require valid-user > AuthzSVNAccessFile /path/to/my/permissions/file > > (Checked! and before that sururi at dutsm0175 ~ $ /usr/sbin/htpasswd2 -cm passwords /home/sururi/emre New password: Re-type new password: Adding password for user emre > # verify that you have the dav XX_mod_dav.conf in your > /etc/apache2/modules.d directory LoadModule dav_module modules/mod_dav.so LoadModule dav_svn_module modules/mod_dav_svn.so DAV svn SVNPath /home/sururi/svn AuthType Basic AuthName "Lololo" AuthUserFile /home/sururi/passwords Require valid-user (Checked!) > # then restart your apache (Checked!) > # verify the the configured apache user can access to your repository path > > I hope it will work for you :) sururi at dutsm0175$ svn checkout http://etasci at localhost/svn/project svn: PROPFIND request failed on '/svn/project' svn: PROPFIND of '/svn/project': 405 Method Not Allowed (http://localhost) Sorry... > The user access part comes from my configuration, it's optional... > simply use : svn log -v and that's it wow! bullseye! 8) > try : svn help log to find more options ;) and I thought I already had been there.. now it's evident that I hadn't ;) So, now that I can checkout via SSH -a much better solution for me compared to the http-, I do not need to access via http anymore but for reference purposes (and with that geek curse of obsessive/compulsiveness), I'd like to be able to also fetch it via http even though I won't be using it.. 8) Thank you very much again Simon, take care!