Re: [gentoo-user] What about this eix output?

2008-01-18 Thread Thomas Kahle
Shaochun Wang wrote:
 On Thu, Jan 17, 2008 at 08:50:27PM -0600, forgottenwizard wrote:
 On 19:50 Thu 17 Jan , Kevin wrote:
 according to the man page, there is a mirror restriction on it.
 
 What is mirror restriction ?
 
Mirror Restriction means that the package is not available on the Gentoo
Mirrors and will be fetched from some other source. (Adobe Homepage...)

The availability is usually worse as Adobe chooses to change the
location of the files frequently in a random manner...

cheers
Tom
-- 
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] q: how to make gentoo site sync for greek users

2008-01-18 Thread Δημήτριος Ροπόκης
 plan to make a site sync to gentoo, but with easy download greek  
translations,

my problem is I want to make it like gentoo.org,
Greek users do not participate easy in open source,
I am not programmer, but I can make linux work in most pc's,
so now I am looking for a way to make an Greek Gentoo installer,
I think if I manage the site in next 2 months, I can start sync portage by  
March,

and in summer I maybe have done the basic job,
by then I hope people to help,
of course all this I want to be add to gentoo,
not a fork, or another one distro around,
my problem is the how to start,
any opinions pls welcome.
--
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Where can I find the ebuild for new beagle version 0.3.2?

2008-01-18 Thread Neil Bothwick
On Fri, 18 Jan 2008 11:34:51 +0800, Shaochun Wang wrote:

 As the title.

Bugzilla, of course :)

http://bugs.gentoo.org/show_bug.cgi?id=201093


-- 
Neil Bothwick

The gene pool could use a little chlorine.


signature.asc
Description: PGP signature


[gentoo-user] Java emerge problem

2008-01-18 Thread Helmut Jarausch
Hi,

while doing an emerge --update --deep world

I get the error message
!!! Multiple versions within a single package slot have been 
!!! pulled into the dependency graph:

dev-java/java-config:2

  ('ebuild', '/', 'dev-java/java-config-2.0.33-r1', 'merge') pulled in by
('binary', '/', 'dev-java/sun-jre-bin-1.6.0.03', 'merge')

  ('binary', '/', 'dev-java/java-config-2.1.3', 'merge') pulled in by
('binary', '/', 'dev-java/jsch-0.1.36-r1', 'merge')
('binary', '/', 'dev-java/junit-3.8.2-r1', 'merge')
('binary', '/', 'dev-java/commons-logging-1.1-r4', 'merge')
(and 20 more)


Looking at dev-java/sun-jre-bin-1.6.0.03.ebuild I cannot see where
there is a dependency on dev-java/java-config-2.0.33-r1 .

I had to unmerge dev-java/sun-jre-bin before emerge --update --deep world

Can somebody please explain this to me?

Many thanks,

Helmut Jarausch

Lehrstuhl fuer Numerische Mathematik
RWTH - Aachen University
D 52056 Aachen, Germany
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] loopback mount hard-drive image created with dd?

2008-01-18 Thread आशीष शुक्ल Ashish Shukla
,--[ On Fri, Jan 18, 2008 at 03:19:49AM +, Stroller wrote:

[...]

 I'm fairly confident that there were originally a couple of partitions on 
 the drive, and the one I want to look at will be NTFS, of course. I know 
 that a CD iso I can mount using `mount file.iso /mnt/cdrom -t iso9660 -o 
 loop`, but is there an equivalent for whole partition tables?

How about using your disk image as HD in a VM, and then inspect it from
VM, hmm... Or look out for some tools which allow you to play with hard
disk images, e.g. mtools .

HTH
-- 
Ashish Shukla आशीष शुक्ल  http://wahjava.wordpress.com/
·-- ·-  ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- --


signature.asc
Description: Digital signature


[gentoo-user] SANDBOX - state of the art?

2008-01-18 Thread Helmut Jarausch
Hi,

I have sys-apps/sandbox-1.2.20_alpha2-r1 installed but still
when I install a kernel module I need to disable the sandbox by using
FEATURES='-sandbox' 

I am running kernel 2.6.23-gentoo-r3  and gcc-4.2.2 as standard
C-compiler.

Am I missing something or is the bug not fixed, yet?

Many thanks for a hint,

Helmut Jarausch

Lehrstuhl fuer Numerische Mathematik
RWTH - Aachen University
D 52056 Aachen, Germany
-- 
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] Re: SANDBOX - state of the art?

2008-01-18 Thread Michael Schmarck
Helmut Jarausch [EMAIL PROTECTED] wrote:

 Hi,
 
 I have sys-apps/sandbox-1.2.20_alpha2-r1 installed but still
 when I install a kernel module I need to disable the sandbox by using
 FEATURES='-sandbox'
 
 I am running kernel 2.6.23-gentoo-r3  and gcc-4.2.2 as standard
 C-compiler.
 
 Am I missing something or is the bug not fixed, yet?

Hm. I do not have to disable sandbox when I emerge a kernel module
like cloop or x11-drivers/nvidia-drivers-100.14.19.

--($:~/Desktop)-- emerge --info
Portage 2.1.4 (default-linux/x86/2007.0/desktop, gcc-4.2.2, glibc-2.7-r1, 
2.6.23-gentoo-r5.r08.mit-ide-mod_2 i686)
=
System uname: 2.6.23-gentoo-r5.r08.mit-ide-mod_2 i686 Genuine Intel(R) CPU 
T2400 @ 1.83GHz
Timestamp of tree: Thu, 17 Jan 2008 04:47:01 +
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) 
[disabled]
ccache version 2.4 [enabled]
app-shells/bash: 3.2_p33
dev-java/java-config: 1.3.7, 2.1.3
dev-lang/python: 2.4.4-r4, 2.5.1-r5
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache: 2.4-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS=x86 ~x86
CBUILD=i686-pc-linux-gnu
CFLAGS=-march=pentium-m -O2 -pipe -fomit-frame-pointer
CHOST=i686-pc-linux-gnu
CONFIG_PROTECT=/etc /usr/kde/3.5/env /usr/kde/3.5/share/config 
/usr/kde/3.5/shutdown /usr/share/config
CONFIG_PROTECT_MASK=/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf 
/etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ 
/etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo 
/etc/udev/rules.d
CXXFLAGS=-march=pentium-m -O2 -pipe -fomit-frame-pointer
DISTDIR=/Gentoo/Portage/distfiles
EMERGE_DEFAULT_OPTS=--alphabetical
FEATURES=buildpkg ccache collision-protect distlocks metadata-transfer 
parallel-fetch sandbox sfperms strict unmerge-orphans userfetch
GENTOO_MIRRORS=http://ftp.heanet.ie/pub/gentoo/
http://ftp.gentoo.or.kr/http://distfiles.gentoo.org/
http://www.ibiblio.org/pub/Linux/distributions/gentoo 
LANG=de_CH.UTF-8
LINGUAS=de
MAKEOPTS=-j3
PKGDIR=/Gentoo/Portage/packages
PORTAGE_RSYNC_OPTS=--recursive --links --safe-links --perms --times --compress 
--force --whole-file --delete --stats --timeout=180 --exclude=/distfiles 
--exclude=/local --exclude=/packages --filter=H_**/files/digest-*
PORTAGE_TMPDIR=/Gentoo/Portage/build
PORTDIR=/Gentoo/Portage/tree
PORTDIR_OVERLAY=/Gentoo/Portage/local-tree/misc
SYNC=rsync://winds06:10873/gentoo-portage
USE=X acpi alsa berkdb bitmap-fonts bluetooth cairo cdr cli cracklib crypt 
cups dbus dmi doc dri dvd dvdr dvdread encode fam firefox fortran gdbm gif 
gnome gnutls gpm gstreamer gtk hal iconv isdnlog jpeg kde kdeenablefinal 
kdehiddenvisibility ldap libnotify mad midi mmx mp3 mpeg mudflap ncurses nls 
nptl nptlonly ogg opengl openmp pam pcmcia pcre pdf perl png pppd python qt3 
qt3support qt4 quicktime readline reflection samba sdl session spell spl sse 
sse2 ssl svg tcpd tiff truetype truetype-fonts type1-fonts unicode vorbis wifi 
win32codecs x86 xine xinerama xml xorg xv zlib ALSA_CARDS=hda-intel intel8x0 
intel8x0m usb-audio usb-usx3y ALSA_PCM_PLUGINS=adpcm alaw asym copy dmix 
dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter 
mulaw multi null plug rate route share shm softvol APACHE2_MODULES=actions 
alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default 
authn_file authz_dbm authz_default authz_groupfile authz_host authz_own
 er authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache 
env expires ext_filter file_cache filter headers ident imagemap include info 
log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp 
proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status 
unique_id userdir usertrack vhost_alias APACHE2_MPMS=worker CAMERAS=ptp2 
directory ELIBC=glibc INPUT_DEVICES=evdev keyboard mouse synaptics 
KERNEL=linux LCD_DEVICES=bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 
mtxorb ncurses text LINGUAS=de USERLAND=GNU VIDEO_CARDS=nv nvidia vga 
none
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, 
PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


Michael

-- 
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] how to teach emerge -sync to sync packages?

2008-01-18 Thread Helmut Jarausch
Hi,

I haven't found out how to teach emerge to rsync
/usr/portage/packages
as well.
Both,  /etc/rsyncd.conf on the server and 
/etc/portage/rsync_excludes

only exclude   distfiles.

There is no server problem, since an
rsync on the command line does fetch
packages, too

Many thanks for a hint,

Helmut Jarausch

Lehrstuhl fuer Numerische Mathematik
RWTH - Aachen University
D 52056 Aachen, Germany
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] What about this eix output?

2008-01-18 Thread Shaochun Wang
Thank you for all. Now I think I understand it completely.
The following in the ebuild file sets the mirror restriction:

RESTRICT=strip mirror


-- 
Shaochun Wang [EMAIL PROTECTED]

Jabber: [EMAIL PROTECTED]
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] how to teach emerge -sync to sync packages?

2008-01-18 Thread Daniel Iliev
On Fri, 18 Jan 2008 11:17:32 +0100 (CET)
Helmut Jarausch [EMAIL PROTECTED] wrote:

 Hi,
 
 I haven't found out how to teach emerge to rsync
 /usr/portage/packages
 as well.
 Both,  /etc/rsyncd.conf on the server and 
 /etc/portage/rsync_excludes
 
 only exclude   distfiles.
 
 There is no server problem, since an
 rsync on the command line does fetch
 packages, too
 
 Many thanks for a hint,
 
 Helmut Jarausch
 
 Lehrstuhl fuer Numerische Mathematik
 RWTH - Aachen University
 D 52056 Aachen, Germany


For sure emerge --sync calls rsync with --exclude packages and I
don't know a legal way to change this behaviour.

If all you want is just to compile on one system and distribute
the compiled packages elsewhere through the network, there are two
methods that worked here with no problems:

1) export packages via nfs

2) setup an http server giving access to packages and declare it as
PORTAGE_BINHOST in make.conf at the client(s):

==
PORTAGE_BINHOST=http://example.com/packages/;
EMERGE_DEFAULT_OPTS=-g
==

The second line tells emerge to use binary packages by default and
fallback to compilation if the requested pkg is N/A. This line should be
used in both cases.



HTH

-- 
Best regards,
Daniel
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] how to teach emerge -sync to sync packages?

2008-01-18 Thread Dirk Heinrichs
Am Freitag, 18. Januar 2008 schrieb ext Helmut Jarausch:
 Hi,

 I haven't found out how to teach emerge to rsync
 /usr/portage/packages
 as well.

This is not was emerge -sync is for. If you want to have _all_ distfiles 
available locall, you have to setup a mirror. AFAIK this is also documented 
somewhere.

HTH...

Dirk
-- 
Dirk Heinrichs  | Tel:  +49 (0)162 234 3408
Configuration Manager   | Fax:  +49 (0)211 47068 111
Capgemini Deutschland   | Mail: [EMAIL PROTECTED]
Wanheimerstraße 68  | Web:  http://www.capgemini.com
D-40468 Düsseldorf  | ICQ#: 110037733
GPG Public Key C2E467BB | Keyserver: www.keyserver.net


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] how to teach emerge -sync to sync packages?

2008-01-18 Thread आशीष शुक्ल Ashish Shukla
,--[ On Fri, Jan 18, 2008 at 11:17:32AM +0100, Helmut Jarausch wrote:
| Hi,
| 
| I haven't found out how to teach emerge to rsync
| /usr/portage/packages
| as well.
| Both,  /etc/rsyncd.conf on the server and 
| /etc/portage/rsync_excludes
| 
| only exclude   distfiles.
| 
| There is no server problem, since an
| rsync on the command line does fetch
| packages, too

Hmm..., can you give the command line what you use to sync binary
packages ? AFAIK, binary packages not available on Gentoo, except for
the packages on CD/DVD, hmm...? I tried rsync://rsync.gentoo.org/gentoo-portage/
but there is not 'packages' directory present there :( .

TIA
-- 
Ashish Shukla आशीष शुक्ल  http://wahjava.wordpress.com/
·-- ·-  ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- --


signature.asc
Description: Digital signature


Re: [gentoo-user] how to teach emerge -sync to sync packages?

2008-01-18 Thread Helmut Jarausch
On 18 Jan, Dirk Heinrichs wrote:
 Am Freitag, 18. Januar 2008 schrieb ext Helmut Jarausch:
 Hi,

 I haven't found out how to teach emerge to rsync
 /usr/portage/packages
 as well.
 
 This is not was emerge -sync is for. If you want to have _all_ distfiles 
 available locall, you have to setup a mirror. AFAIK this is also documented 
 somewhere.
 

No, I have a different situation. 
I many several identical machines. 
On the 'main' machine I have
FEATURES=buildpkg
in /etc/make.conf

Then, from time to time I synchronize the other machines.
On these machines, 
SYNC=rsync://my main machine/gentoo-portage

On the 'slaves' I do
rm -f /usr/portage/metadata/timestamp*
emerge --sync

and I'd like this 'sync' to rsync /usr/portage/packages,
as well, since lateron I do

emerge --update --deep --usepkg world

to avoid length compilation of packages on
each machine.

Currently I need
/usr/bin/rsync -avz --delete --exclude-from=/etc/portage/rsync_excludes 
rsync://main machine/gentoo-portage/ .
in addition to
emerge -sync

I just wonder if it's possible to tell emerge somewhere to not exclude
the 'packages' subdirectory.

thanks for all your comments,
Helmut.


-- 
Helmut Jarausch

Lehrstuhl fuer Numerische Mathematik
RWTH - Aachen University
D 52056 Aachen, Germany
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] how to teach emerge -sync to sync packages?

2008-01-18 Thread Helmut Jarausch
On 18 Jan, Alan McKinnon wrote:
 On Friday 18 January 2008, Helmut Jarausch wrote:
 On 18 Jan, Dirk Heinrichs wrote:
  Am Freitag, 18. Januar 2008 schrieb ext Helmut Jarausch:
  Hi,
 
  I haven't found out how to teach emerge to rsync
  /usr/portage/packages
  as well.
 
  This is not was emerge -sync is for. If you want to have _all_
  distfiles available locall, you have to setup a mirror. AFAIK this
  is also documented somewhere.

 No, I have a different situation.
 
 Have you looked at the various PORTAGE_RSYNC_* options in 'man 5 
 make.conf' ?
 

Many thanks, that's it.

It says
PORTAGE_RSYNC_OPTS = ...
Defaults to ...  --exclude='/packages'

So I just have to reset this option or
(hopefully) just say
PORTAGE_RSYNC_EXTRA_OPTS='--include /packages'

in /etc/make.conf

Thanks again
Helmut.


-- 
Helmut Jarausch

Lehrstuhl fuer Numerische Mathematik
RWTH - Aachen University
D 52056 Aachen, Germany
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] DNAT not working

2008-01-18 Thread Konstantinos Agouros
In [EMAIL PROTECTED] [EMAIL PROTECTED] (Konstantinos Agouros) writes:

In [EMAIL PROTECTED] [EMAIL PROTECTED] (Alan McKinnon) writes:

On Wednesday 16 January 2008, Konstantinos Agouros wrote:
 In [EMAIL PROTECTED] 
[EMAIL PROTECTED] (Alan McKinnon) writes:

 Most likely he doesn't have the correct module loaded int he kernel

 As I said, the fact that iptables -L (after a fresh reboot) does not
 do anything puzzles me a bit. What would be the right module in Your
 opinion? Also is there a kernel configuration option I might have
 overseen?

nat needs the following config at least:

Networking - Networking Options - Network packet filtering framework 
(Netfilter) - IP: Netfilter Configuration - Full NAT

and the options below it

the modules that load on my machine after running that same iptbales 
command are:

xt_tcpudp   3712  1
iptable_nat 7812  1
nf_nat 20524  1 iptable_nat
nf_conntrack_ipv4  18952  2 iptable_nat
nf_conntrack   66376  3 iptable_nat,nf_nat,nf_conntrack_ipv4
nfnetlink   6424  3 nf_nat,nf_conntrack_ipv4,nf_conntrack
ip_tables  14284  1 iptable_nat
x_tables   15748  3 xt_tcpudp,iptable_nat,ip_tables

This is what I have:

Module  Size  Used by
iptable_filter  6400  1 
iptable_nat10116  0 
ip_tables  14404  2 iptable_filter,iptable_nat
nf_nat 19116  1 iptable_nat
x_tables   14084  2 iptable_nat,ip_tables
nf_conntrack_ipv4  11908  2 iptable_nat
nf_conntrack   53192  3 iptable_nat,nf_nat,nf_conntrack_ipv4
nfnetlink   8088  3 nf_nat,nf_conntrack_ipv4,nf_conntrack


xt_tcpudp is the difference as it seems
verified it that was the problem. For whatever reason I forgot to
configure module autoloading into the kernel.


alan

-- 
Alan McKinnon
alan dot mckinnon at gmail dot com
-- 
gentoo-user@lists.gentoo.org mailing list

-- 
Dipl-Inf. Konstantin Agouros aka Elwood Blues. Internet: [EMAIL PROTECTED]
Otkerstr. 28, 81547 Muenchen, Germany. Tel +49 89 69370185

Captain, this ship will not survive the forming of the cosmos. B'Elana Torres
-- 
gentoo-user@lists.gentoo.org mailing list

-- 
Dipl-Inf. Konstantin Agouros aka Elwood Blues. Internet: [EMAIL PROTECTED]
Otkerstr. 28, 81547 Muenchen, Germany. Tel +49 89 69370185

Captain, this ship will not survive the forming of the cosmos. B'Elana Torres
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] how to teach emerge -sync to sync packages?

2008-01-18 Thread Dale
Helmut Jarausch wrote:
 On 18 Jan, Dirk Heinrichs wrote:
   
 Am Freitag, 18. Januar 2008 schrieb ext Helmut Jarausch:
 
 Hi,

 I haven't found out how to teach emerge to rsync
 /usr/portage/packages
 as well.
   
 This is not was emerge -sync is for. If you want to have _all_ distfiles 
 available locall, you have to setup a mirror. AFAIK this is also documented 
 somewhere.

 

 No, I have a different situation. 
 I many several identical machines. 
 On the 'main' machine I have
 FEATURES=buildpkg
 in /etc/make.conf

 Then, from time to time I synchronize the other machines.
 On these machines, 
 SYNC=rsync://my main machine/gentoo-portage

 On the 'slaves' I do
 rm -f /usr/portage/metadata/timestamp*
 emerge --sync

 and I'd like this 'sync' to rsync /usr/portage/packages,
 as well, since lateron I do

 emerge --update --deep --usepkg world

 to avoid length compilation of packages on
 each machine.

 Currently I need
 /usr/bin/rsync -avz --delete --exclude-from=/etc/portage/rsync_excludes 
 rsync://main machine/gentoo-portage/ .
 in addition to
 emerge -sync

 I just wonder if it's possible to tell emerge somewhere to not exclude
 the 'packages' subdirectory.

 thanks for all your comments,
 Helmut.


   

I'm not sure this will help but have you checked rsyncd.conf?   Mine has
this little bit in it:

[gentoo-portage]
path = /usr/portage
comment = Gentoo Portage tree
exclude = /distfiles /packages


May want to remove the excludes there.  See if that helps.

Dale

:-)  :-) 
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] loopback mount hard-drive image created with dd?

2008-01-18 Thread Ashish Shukla आशीष शुक्ल
 Stroller == Stroller  [EMAIL PROTECTED] writes:

Stroller Would that work? I've never used VMs - are their drive images 
exactly
Stroller blocky as my `dd` command would produce?
Stroller (`dd if=/dev/sda of=/mnt/sdb1/disk.img`, where /mnt/sdb1 was a
Stroller portable USB hard-drive).

I installed FreeBSD on my box, this way, when I didn't have CD-ROM
drive on my box :) . I've used QEmu (AMD64), and it worked flawlessly :) .

Stroller It looks like mtools is geared towards floppies but will handle a
Stroller hard-drive fine. However the manual http://mtools.linux.lu/
mtools.html suggests no support for NTFS. (??)

Another hack you can try is use to use '--offset' option of
'losetup'. First figure out from which byte, NTFS partition starts in
disk image, and then you create a loopback back device for that image
and the starting offset using 'losetup' and finally 'mount' the
loopback as NTFS partition :) .

Please do post your results, if you're successful :)

HTH
-- 
Ashish Shukla आशीष शुक्ल  http://wahjava.wordpress.com/
·-- ·-  ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- --


pgpomKZbTSbVi.pgp
Description: PGP signature


Re: [gentoo-user] Re: Is GWN dead?

2008-01-18 Thread Alan McKinnon
On Friday 18 January 2008, Thufir wrote:
 On Thu, 17 Jan 2008 10:00:51 +, Neil Bothwick wrote:
  Let's turn this around: if Gentoo were to attract a larger user
  base I posit that this would attract more developers.
 
  How do you draw that conclusion? How would attracting users who are
  unwilling to read documentation and get their hands dirty increase
  the number of potential developers?

 Taken to the extreme, if *all* the ubuntu users (to pick on ubuntu
 for a minute) suddenly switched to gentoo I would expect the ubuntu
 developers to follow.

Nope. The Ubuntu developers would probably just carry on doing what they 
doing now - developing on Ubuntu. What makes you think they'd change?

I'm getting the feeling that you think the whole world works the way you 
work and have yet to realize that other people are different from you. 
And that groups have different priorities to what you have.

alan

-- 
Alan McKinnon
alan dot mckinnon at gmail dot com
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] how to teach emerge -sync to sync packages?

2008-01-18 Thread Dirk Heinrichs
Am Freitag, 18. Januar 2008 schrieb Helmut Jarausch:
 On 18 Jan, Dirk Heinrichs wrote:
  Am Freitag, 18. Januar 2008 schrieb ext Helmut Jarausch:
  Hi,
 
  I haven't found out how to teach emerge to rsync
  /usr/portage/packages
  as well.
 
  This is not was emerge -sync is for. If you want to have _all_ distfiles
  available locall, you have to setup a mirror. AFAIK this is also
  documented somewhere.

 No, I have a different situation.
 I many several identical machines.
 On the 'main' machine I have
 FEATURES=buildpkg
 in /etc/make.conf

 I just wonder if it's possible to tell emerge somewhere to not exclude
 the 'packages' subdirectory.

I wouldn't even use emerge for this. Just export /usr/portage on the main 
machine and mount it on the others via NFS.

HTH...

Dirk


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] how to teach emerge -sync to sync packages?

2008-01-18 Thread Alan McKinnon
On Friday 18 January 2008, Helmut Jarausch wrote:
 On 18 Jan, Dirk Heinrichs wrote:
  Am Freitag, 18. Januar 2008 schrieb ext Helmut Jarausch:
  Hi,
 
  I haven't found out how to teach emerge to rsync
  /usr/portage/packages
  as well.
 
  This is not was emerge -sync is for. If you want to have _all_
  distfiles available locall, you have to setup a mirror. AFAIK this
  is also documented somewhere.

 No, I have a different situation.

Have you looked at the various PORTAGE_RSYNC_* options in 'man 5 
make.conf' ?

Alternatively you could just create a wrapper script (called say 
emerge-world) which does the correct combination of your custom 
commands, then run that from cron on the slaves

alan


 I many several identical machines.
 On the 'main' machine I have
 FEATURES=buildpkg
 in /etc/make.conf

 Then, from time to time I synchronize the other machines.
 On these machines,
 SYNC=rsync://my main machine/gentoo-portage

 On the 'slaves' I do
 rm -f /usr/portage/metadata/timestamp*
 emerge --sync

 and I'd like this 'sync' to rsync /usr/portage/packages,
 as well, since lateron I do

 emerge --update --deep --usepkg world

 to avoid length compilation of packages on
 each machine.

 Currently I need
 /usr/bin/rsync -avz --delete
 --exclude-from=/etc/portage/rsync_excludes rsync://main
 machine/gentoo-portage/ . in addition to
 emerge -sync

 I just wonder if it's possible to tell emerge somewhere to not
 exclude the 'packages' subdirectory.

 thanks for all your comments,
 Helmut.


 --
 Helmut Jarausch

 Lehrstuhl fuer Numerische Mathematik
 RWTH - Aachen University
 D 52056 Aachen, Germany



-- 
Alan McKinnon
alan dot mckinnon at gmail dot com
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] [OT] Online bookmark keeper with good merge routine

2008-01-18 Thread A. Khattri

On Wed, 16 Jan 2008, [EMAIL PROTECTED] wrote:


I've been using sitebar as my online bookmark keeper for quite a while
but seem to have trouble merging in new bookmarks from multiple
machines ... what is supposed to be a merge turns into a replace
operation or so it seems .. but not always.


What about Google Browser Sync?

http://www.google.com/tools/firefox/browsersync/


--
A
--
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Net / dhcp (miss)behaviour

2008-01-18 Thread Kevin
On Jan 18, 2008 12:17 PM, Marko Kocić [EMAIL PROTECTED] wrote:

  I never used cable modem and don't know how it connects to the PC, so I
  might be saying something completely wrong here,

 Regular network cable going directly from cable modem to laptop.

  but can't you sniff the
  traffic directly from the laptop by capturing packets on the interface
  connected to the cable modem?

 I can do that when interface is up is up and running.
 But it is /etc/init.d/net.eth0 that is failing because of dhcp error.

 What should I use? Ethereal? What should I look for?
 --
 gentoo-user@lists.gentoo.org mailing list



You can try Ethereal (which now goes by wireshark).   Question,  when it
fails have you logged in and done a /etc/init.d/net stop / start?Just
curious if it will force itself up.


Re: [gentoo-user] [OT] Online bookmark keeper with good merge routine

2008-01-18 Thread Yahya Mohammad
 What about Google Browser Sync?

 http://www.google.com/tools/firefox/browsersync/


If you're the paranoid type, and have your own server with https and
webdav, this extension will do the job:
https://addons.mozilla.org/en-US/firefox/addon/2367
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] loopback mount hard-drive image created with dd?

2008-01-18 Thread Alan McKinnon
On Friday 18 January 2008, Jerry McBride wrote:
 Stroller wrote:
  Hi there,
 
  Before installing on a new laptop which came with Vista
  pre-installed I took an image of the hard-drive using dd. (ie: `dd
  if=/dev/sda of=/ mnt/sdb1/disk.img`, where /mnt/sdb1 was a portable
  USB hard-drive).
 
  Obviously the intention was that if I b0rked things up I could just
  `dd` the image back onto the laptop and all would work as the
  manufacturer shipped it, but I'd now find it useful to be able to
  take a look inside the image and examine a few files. Is there any
  way to do this, please?
 
  I'm fairly confident that there were originally a couple of
  partitions on the drive, and the one I want to look at will be
  NTFS, of course. I know that a CD iso I can mount using `mount
  file.iso / mnt/cdrom -t iso9660 -o loop`, but is there an
  equivalent for whole partition tables?
 
  Thanks in advance for any suggestions or advices,
 
  Stroller.

 Try this...

 modprobe loop
 modprobe ntfs

 mkdir /mnt/iso

 mount -t ntfs /path/to/your/iso /mnt/iso -o loop,ro

 Assuming the iso is ntfs and you have loop and ntfs as modules...

 Cheers.

Won't work. He already said the .iso is a *disk* image, not a *file 
system* image.

The ntfs driver (or any sane file system driver) will not know what to 
do with a block image complete with partition tables and boot records.

alan


-- 
Alan McKinnon
alan dot mckinnon at gmail dot com
-- 
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] Net / dhcp (miss)behaviour

2008-01-18 Thread Marko Kocić
I'm running gentoo on my dual boot windows laptop.

I use dhcp to connect to the the internet through cable modem.
Sometimes (in the evenings) it just fails to automatically obtain IP
address from dhcp server (timeouts).
I tried different settings in /etc/conf.d/net file (timeout and
different dhcpc options) and switching between dhclient and dhcpd, but
with no luck.

When I reboot to windows it just works. I contacted my ISP, but they
said they don't give support for Linux.

Is there a way to configure dhcp/dhclient to behave exactly like DHCP
in Windows XP?

Regards,
Marko
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] loopback mount hard-drive image created with dd?

2008-01-18 Thread Stroller


On 18 Jan 2008, at 09:04, आशीष शुक्ल Ashish Shukla  
wrote:

,--[ On Fri, Jan 18, 2008 at 03:19:49AM +, Stroller wrote:
[...]

I'm fairly confident that there were originally a couple of  
partitions on
the drive, and the one I want to look at will be NTFS, of course.  
I know
that a CD iso I can mount using `mount file.iso /mnt/cdrom -t  
iso9660 -o

loop`, but is there an equivalent for whole partition tables?


How about using your disk image as HD in a VM, and then inspect it  
from

VM, hmm...


Would that work? I've never used VMs - are their drive images exactly  
blocky as my `dd` command would produce?
(`dd if=/dev/sda of=/mnt/sdb1/disk.img`, where /mnt/sdb1 was a  
portable USB hard-drive).



Or look out for some tools which allow you to play with hard
disk images, e.g. mtools .


It looks like mtools is geared towards floppies but will handle a  
hard-drive fine. However the manual http://mtools.linux.lu/ 
mtools.html suggests no support for NTFS. (??)


Stroller.--
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] Re: [OT] Online bookmark keeper with good merge routine

2008-01-18 Thread reader
Yahya Mohammad [EMAIL PROTECTED] writes:

 From: Yahya Mohammad [EMAIL PROTECTED]
 Subject: Re: [OT] Online bookmark keeper with good merge routine
 Newsgroups: gmane.linux.gentoo.user
 To: gentoo-user@lists.gentoo.org
 Date: Fri, 18 Jan 2008 22:09:39 +0400
 Message-ID: [EMAIL PROTECTED]

 What about Google Browser Sync?

 http://www.google.com/tools/firefox/browsersync/


 If you're the paranoid type, and have your own server with https and
 webdav, this extension will do the job:
 https://addons.mozilla.org/en-US/firefox/addon/2367

Hehe... no if I only knew what ftp/webDav was ...

Googling...

-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] No kernel boot after inserting more ram

2008-01-18 Thread Mike
Just a thought... Did you enable High Memory support in your kernel?

Processor type and features  ---
 High Memory Support  ---
  (X) 4GB


On Jan 18, 2008 4:10 PM, Philip Webb [EMAIL PROTECTED] wrote:

 080118 José Pedro Saraiva wrote:
  Hi all, wise gentoo users!
  I've recently bought an extra GB of RAM for my laptop.
  After inserting it, kernel refuses to boot, hangs at Booting the
 kernel

 The first thing is to re-insert the RAM very carefully,
 then to check that no other connections got dislodged accidentally.
 Just my bit of Gentoo wisdom (smile).

 --
 ,,
 SUPPORT ___//___,  Philip Webb : [EMAIL PROTECTED]
 ELECTRIC   /] [] [] [] [] []|  Centre for Urban  Community Studies
 TRANSIT`-O--O---'  University of Toronto
 --
 gentoo-user@lists.gentoo.org mailing list




-- 
Courage is doing what is right.

Do not be bound to any doctrine, theory or ideology, even Buddhist ones.
All systems of thought are guiding means, not absolute truth.  Thich Nhat
Hanh, Vietnamese monk.


Re: [gentoo-user] No kernel boot after inserting more ram

2008-01-18 Thread Ricardo Saffi Marques
Nothing to do about it...
If he's using amd64 that option doesn't even exist.
And even if he's on x86, if that option is not enabled, it will boot, but
will just not use all the memory phisically available.

On 1/18/08, Mike [EMAIL PROTECTED] wrote:

 Just a thought... Did you enable High Memory support in your kernel?

 Processor type and features  ---
  High Memory Support  ---
   (X) 4GB


 On Jan 18, 2008 4:10 PM, Philip Webb [EMAIL PROTECTED] wrote:

  080118 José Pedro Saraiva wrote:
   Hi all, wise gentoo users!
   I've recently bought an extra GB of RAM for my laptop.
   After inserting it, kernel refuses to boot, hangs at Booting the
  kernel
 
  The first thing is to re-insert the RAM very carefully,
  then to check that no other connections got dislodged accidentally.
  Just my bit of Gentoo wisdom (smile).
 
  --
  ,,
  SUPPORT ___//___,  Philip Webb : [EMAIL PROTECTED]
  ELECTRIC   /] [] [] [] [] []|  Centre for Urban  Community Studies
  TRANSIT`-O--O---'  University of Toronto
  --
  gentoo-user@lists.gentoo.org mailing list
 
 


 --
 Courage is doing what is right.

 Do not be bound to any doctrine, theory or ideology, even Buddhist ones.
 All systems of thought are guiding means, not absolute truth.  Thich Nhat
 Hanh, Vietnamese monk.




-- 
Ricardo Saffi Marques
Laboratório de Administração e Segurança de Sistemas (LAS/IC)
Universidade Estadual de Campinas (UNICAMP)
Cell: +55 (19) 8128-0435
Skype: ricardo_saffi_marques
Website: http://www.rsaffi.com


Re: [gentoo-user] Drafting or simple blue print creation

2008-01-18 Thread b.n.
[EMAIL PROTECTED] ha scritto:
 Searching with `eix -S draw'
 Dredges up a lot of hits I'm looking for something to help me draw
 a simple mechanical drawing.  Just a wooden rack for a 5th wheel flat
 top trailer.
 
 The only linux type tool I've ever used for something like that was
 xfig and that was several yrs ago.  Is xfig still the best thing for
 something like that?
 

Try qcad or inkscape.

m.
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] No kernel boot after inserting more ram

2008-01-18 Thread Philip Webb
080118 José Pedro Saraiva wrote:
 Hi all, wise gentoo users!
 I've recently bought an extra GB of RAM for my laptop.
 After inserting it, kernel refuses to boot, hangs at Booting the kernel

The first thing is to re-insert the RAM very carefully,
then to check that no other connections got dislodged accidentally.
Just my bit of Gentoo wisdom (smile).

-- 
,,
SUPPORT ___//___,  Philip Webb : [EMAIL PROTECTED]
ELECTRIC   /] [] [] [] [] []|  Centre for Urban  Community Studies
TRANSIT`-O--O---'  University of Toronto
-- 
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] Drafting or simple blue print creation

2008-01-18 Thread reader
Searching with `eix -S draw'
Dredges up a lot of hits I'm looking for something to help me draw
a simple mechanical drawing.  Just a wooden rack for a 5th wheel flat
top trailer.

The only linux type tool I've ever used for something like that was
xfig and that was several yrs ago.  Is xfig still the best thing for
something like that?

-- 
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] Re: [OT] Online bookmark keeper with good merge routine

2008-01-18 Thread reader
[EMAIL PROTECTED] writes:


 Hehe... no if I only knew what ftp/webDav was ...
Hehe... now if I only knew what ftp/webDav was ...
^^^

-- 
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] Re: [OT] Online bookmark keeper with good merge routine

2008-01-18 Thread reader
A. Khattri [EMAIL PROTECTED] writes:

 On Wed, 16 Jan 2008, [EMAIL PROTECTED] wrote:

 I've been using sitebar as my online bookmark keeper for quite a while
 but seem to have trouble merging in new bookmarks from multiple
 machines ... what is supposed to be a merge turns into a replace
 operation or so it seems .. but not always.

 What about Google Browser Sync?

 http://www.google.com/tools/firefox/browsersync/

Thanks, yeah that looks interesing.  The intro for anyone who hits
this thread

  Google Browser Sync for Firefox is an extension that continuously
  synchronizes your browser settings – including bookmarks, history,
  persistent cookies, and saved passwords – across your computers. It
  also allows you to restore open tabs and windows across different
  machines and browser sessions. For more info, please visit our FAQ.

Where it says FAQ above is actually a link to here:
http://www.google.com/tools/firefox/browsersync/faq.html

Do you use this now.  If so has it seemed pretty handy to you?


-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Net / dhcp (miss)behaviour

2008-01-18 Thread Marko Kocić
 I never used cable modem and don't know how it connects to the PC, so I
 might be saying something completely wrong here,

Regular network cable going directly from cable modem to laptop.

 but can't you sniff the
 traffic directly from the laptop by capturing packets on the interface
 connected to the cable modem?

I can do that when interface is up is up and running.
But it is /etc/init.d/net.eth0 that is failing because of dhcp error.

What should I use? Ethereal? What should I look for?
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Net / dhcp (miss)behaviour

2008-01-18 Thread Etaoin Shrdlu
On Friday 18 January 2008, Marko Kocić wrote:

  My first diagnostic step would be to get another machine on the
  network and sniff dhcp traffic when using Windows and Gentoo to see
  what the difference is.

 I can't do that, cause I don't have switch/hub, just a cable modem
 directly conencted to laptop.

I never used cable modem and don't know how it connects to the PC, so I 
might be saying something completely wrong here, but can't you sniff the 
traffic directly from the laptop by capturing packets on the interface 
connected to the cable modem?
--
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Re: Is GWN dead?

2008-01-18 Thread Lowe Schmidt

The scenario is a bit bizarre I'd say.

On Jan 18, 2008, at 7:46 PM, Thufir wrote:


On Fri, 18 Jan 2008 16:04:46 +0200, Alan McKinnon wrote:


Nope. The Ubuntu developers would probably just carry on doing  
what they

doing now - developing on Ubuntu. What makes you think they'd change?


They would continue to develop it even if *no-one*, outside of the
developers, used it?  We'll have to agree to disagree on that, even if
it's a bit of hyperbole.


-Thufir

--
gentoo-user@lists.gentoo.org mailing list



--
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Net / dhcp (miss)behaviour

2008-01-18 Thread Marko Kocić
On Jan 18, 2008 6:50 PM, Alan McKinnon [EMAIL PROTECTED] wrote:

 On Friday 18 January 2008, Marko Kocić wrote:
  I'm running gentoo on my dual boot windows laptop.
 
  I use dhcp to connect to the the internet through cable modem.
  Sometimes (in the evenings) it just fails to automatically obtain IP
  address from dhcp server (timeouts).
  I tried different settings in /etc/conf.d/net file (timeout and
  different dhcpc options) and switching between dhclient and dhcpd,
  but with no luck.
 
  When I reboot to windows it just works. I contacted my ISP, but they
  said they don't give support for Linux.
 
  Is there a way to configure dhcp/dhclient to behave exactly like DHCP
  in Windows XP?

 Where is the dhcp server? On the cable provider's network, or on the
 modem itself?

On cable providers network.

 I have found that dhcp can do weird stuff sometimes and Windows client
 don't always follow the standard method. Then again, what else is new?

 My first diagnostic step would be to get another machine on the network
 and sniff dhcp traffic when using Windows and Gentoo to see what the
 difference is.

I can't do that, cause I don't have switch/hub, just a cable modem directly
conencted to laptop.

I was looking for some magic enable windows emulation mode for dhcp.

 alan


Thanks,
Marko
z�b�� z{h���x%�

Re: [gentoo-user] Net / dhcp (miss)behaviour

2008-01-18 Thread Alan McKinnon
On Friday 18 January 2008, Marko Kocić wrote:
 I'm running gentoo on my dual boot windows laptop.

 I use dhcp to connect to the the internet through cable modem.
 Sometimes (in the evenings) it just fails to automatically obtain IP
 address from dhcp server (timeouts).
 I tried different settings in /etc/conf.d/net file (timeout and
 different dhcpc options) and switching between dhclient and dhcpd,
 but with no luck.

 When I reboot to windows it just works. I contacted my ISP, but they
 said they don't give support for Linux.

 Is there a way to configure dhcp/dhclient to behave exactly like DHCP
 in Windows XP?

Where is the dhcp server? On the cable provider's network, or on the 
modem itself?

I have found that dhcp can do weird stuff sometimes and Windows client 
don't always follow the standard method. Then again, what else is new?

My first diagnostic step would be to get another machine on the network 
and sniff dhcp traffic when using Windows and Gentoo to see what the 
difference is.

alan


-- 
Alan McKinnon
alan dot mckinnon at gmail dot com
--
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Net / dhcp (miss)behaviour

2008-01-18 Thread Etaoin Shrdlu
On Friday 18 January 2008, Marko Kocić wrote:

  I never used cable modem and don't know how it connects to the PC,
  so I might be saying something completely wrong here,

 Regular network cable going directly from cable modem to laptop.

  but can't you sniff the
  traffic directly from the laptop by capturing packets on the
  interface connected to the cable modem?

 I can do that when interface is up is up and running.
 But it is /etc/init.d/net.eth0 that is failing because of dhcp error.

 What should I use? Ethereal? What should I look for?

Actually, as long as the interface is up, you can sniff traffic even if 
it does not have an IP address. Emerge wireshark (somehow...), do (as 
root) an ip link set eth0 up (or ifconfig eth0 up) and run 
wireshark. Start capturing packets, run dhcpcd from the command line (or 
whatever DHCP client you use), and see what goes on the wire. You should 
see DHCP discovery/offer/request messages, or maybe not all of them if 
things are not working correctly. For each DHCP packet, look at the DHCP 
payload details from wireshark (you can save the capture for later 
viewing too).

Then, start windows, install wireshark for windows, and do the same. To 
force a DHCP negotiation in windows, open a command prompt and issue 
an ipconfig /release followed by an ipconfig /renew (IIRC). Look at 
the traffic captured after the /renew command, and look for obvious or 
blatant differences between windows and linux in DHCP packets of the 
same kind.
--
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] No kernel boot after inserting more ram

2008-01-18 Thread Statux
On Fri, 2008-01-18 at 22:58 +, José Pedro Saraiva wrote:
 Hi all, wise gentoo users!
 I've recently bought an extra GB of RAM for my laptop. After inserting
 it, kernel refuses to boot, it hangs at Booting the kernel
 I'm sure there's nothing wrong with the RAM, so it must be some other
 issue, perhaps related with my boot options? 
 Any help or ideas are welcome :)

I don't know if you've tried this one already but another idea would be
to enter the system setup (BIOS) and just save the changes, then reboot.
You used to have to do this after any physical changes with RAM, though
I haven't seen it in years.

Just something else to try.

 Here's an extract of my grub.conf:
 
 title  Gentoo 2.6.22-r8
 root (hd0,1)
 kernel /boot/kernel-2.6.22-r8 root=/dev/sda5
 splash=verbose,fadein,theme:emergence fbcon=scrollback:128K
 console=/dev/tty1 combined_mode=libata 
 initrd /boot/fbsplash-emergence-1024x768
 
 
 
 
 Best regards,
 José Pedro
-- 
Statux [EMAIL PROTECTED]

-- 
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] No kernel boot after inserting more ram

2008-01-18 Thread José Pedro Saraiva
Hi all, wise gentoo users!
I've recently bought an extra GB of RAM for my laptop. After inserting it,
kernel refuses to boot, it hangs at Booting the kernel
I'm sure there's nothing wrong with the RAM, so it must be some other issue,
perhaps related with my boot options?
Any help or ideas are welcome :)

Here's an extract of my grub.conf:

title  Gentoo 2.6.22-r8
root (hd0,1)
kernel /boot/kernel-2.6.22-r8 root=/dev/sda5
splash=verbose,fadein,theme:emergence fbcon=scrollback:128K
console=/dev/tty1 combined_mode=libata
initrd /boot/fbsplash-emergence-1024x768



Best regards,
José Pedro


Re: [gentoo-user] No kernel boot after inserting more ram

2008-01-18 Thread Mick
On Friday 18 January 2008, José Pedro Saraiva wrote:
 Hi all, wise gentoo users!
 I've recently bought an extra GB of RAM for my laptop. After inserting it,
 kernel refuses to boot, it hangs at Booting the kernel
 I'm sure there's nothing wrong with the RAM, so it must be some other
 issue, perhaps related with my boot options?

Well, if you haven't changed anything else other than the RAM module since the 
last time you booted the machine, then the problem would not be with your 
Grub configuration . . .  If you have, then revert the change.

 Any help or ideas are welcome :)

Boot a LiveCD and run memtest86.  Sometimes even new memory modules are duff.

 Here's an extract of my grub.conf:

 title  Gentoo 2.6.22-r8
 root (hd0,1)
 kernel /boot/kernel-2.6.22-r8 root=/dev/sda5
 splash=verbose,fadein,theme:emergence fbcon=scrollback:128K
 console=/dev/tty1 combined_mode=libata
 initrd /boot/fbsplash-emergence-1024x768

HTH.
-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Net / dhcp (miss)behaviour

2008-01-18 Thread Mick
On Friday 18 January 2008, Marko Kocić wrote:
  Actually, as long as the interface is up, you can sniff traffic even if
  it does not have an IP address. Emerge wireshark (somehow...), do (as
  root) an ip link set eth0 up (or ifconfig eth0 up) and run
  wireshark. Start capturing packets, run dhcpcd from the command line (or
  whatever DHCP client you use), and see what goes on the wire. You should
  see DHCP discovery/offer/request messages, or maybe not all of them if
  things are not working correctly. For each DHCP packet, look at the DHCP
  payload details from wireshark (you can save the capture for later
  viewing too).
 
  Then, start windows, install wireshark for windows, and do the same. To
  force a DHCP negotiation in windows, open a command prompt and issue
  an ipconfig /release followed by an ipconfig /renew (IIRC). Look at
  the traffic captured after the /renew command, and look for obvious or
  blatant differences between windows and linux in DHCP packets of the
  same kind.

 Thanks for the info. I'll try that.

 Also, I just found by googling that there is dhcp client called
 net-misc/pump which
 have --win-client-ident option. I'll try that too.

I wonder if my similar problem is related to what you report here:  I am using 
dhcpcd and ifplug with my ADSL router, which acts as the dhcp server on my 
LAN.  For some reason ifplug does not always manage to get an IP address from 
the router and I end up with an APIPA address.  /etc/init.d/net.eth0 
stop/start gets it going again.  This problem only occurs if I disconnect and 
then reconnect the ethernet cable.  No such problem exists when I boot the 
machine with the cable already connected to the NIC.  I haven't changed 
timeouts or anything else from the dhcpcd defaults.  I have always attributed 
this problem to a somewhat slow dhcp server on the router.

As a note:  WinXP machines do not have any such problem.  Even though they may 
end up with a APIPA address, they will in minute or so drop it and acquire a 
10.10.10.XXX domain address from the router.  dhcpcpd does not seem to have 
this flexibility.
-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] loopback mount hard-drive image created with dd?

2008-01-18 Thread Mick
On Friday 18 January 2008, Jerry McBride wrote:
 On Friday 18 January 2008 02:19:21 pm Jerry McBride wrote:
  On Friday 18 January 2008 01:54:58 pm Alan McKinnon wrote:
   On Friday 18 January 2008, Jerry McBride wrote:
On Friday 18 January 2008 01:01:18 pm Alan McKinnon wrote:
 Won't work. He already said the .iso is a *disk* image, not a *file
 system* image.

 The ntfs driver (or any sane file system driver) will not know what
 to do with a block image complete with partition tables and boot
 records.

 alan
   
I don't doubt what you wrote, but I've done exactly that many times
and never had a problem. Is this some kind of ntfs support issue?
   
Just this morning, I ran dd to make an image of a usbstick I dearly
love... I just now mounted the image as vfat as stated above and I
have complete access to the data on it... Is the ntfs module that
different? Just curious.
  
   Do you have partitions on that memory stick?
 
  Yes.

 OK... It just got through my dense head! He has multiple partitions in
 his disk image, not one

 What I proposed will fail in that case, but will work with just one
 partition in the image...

 It's a shame too.

 Cheers.

I have mounted through loopback USB stick images that I dd onto my hard drive, 
but had no partition table (like a floppy sort of thing).  I am thinking 
aloud here, could the OP chainload the NTFS image using Grub - 
notwithstanding that Vista is using a slightly different booting scheme than 
the WinXP NTLDR.exe?

http://en.wikipedia.org/wiki/Windows_Vista_Startup_Process

-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] loopback mount hard-drive image created with dd?

2008-01-18 Thread Jerry McBride
On Friday 18 January 2008 01:54:58 pm Alan McKinnon wrote:
 On Friday 18 January 2008, Jerry McBride wrote:
  On Friday 18 January 2008 01:01:18 pm Alan McKinnon wrote:
   Won't work. He already said the .iso is a *disk* image, not a *file
   system* image.
  
   The ntfs driver (or any sane file system driver) will not know what
   to do with a block image complete with partition tables and boot
   records.
  
   alan
 
  I don't doubt what you wrote, but I've done exactly that many times
  and never had a problem. Is this some kind of ntfs support issue?
 
  Just this morning, I ran dd to make an image of a usbstick I dearly
  love... I just now mounted the image as vfat as stated above and I
  have complete access to the data on it... Is the ntfs module that
  different? Just curious.

 Do you have partitions on that memory stick?


Yes.


-- 


From the Desk of: Jerome D. McBride
--
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] loopback mount hard-drive image created with dd?

2008-01-18 Thread Jerry McBride
On Friday 18 January 2008 01:01:18 pm Alan McKinnon wrote:
 On Friday 18 January 2008, Jerry McBride wrote:
  Stroller wrote:
   Hi there,
  
   Before installing on a new laptop which came with Vista
   pre-installed I took an image of the hard-drive using dd. (ie: `dd
   if=/dev/sda of=/ mnt/sdb1/disk.img`, where /mnt/sdb1 was a portable
   USB hard-drive).
  
   Obviously the intention was that if I b0rked things up I could just
   `dd` the image back onto the laptop and all would work as the
   manufacturer shipped it, but I'd now find it useful to be able to
   take a look inside the image and examine a few files. Is there any
   way to do this, please?
  
   I'm fairly confident that there were originally a couple of
   partitions on the drive, and the one I want to look at will be
   NTFS, of course. I know that a CD iso I can mount using `mount
   file.iso / mnt/cdrom -t iso9660 -o loop`, but is there an
   equivalent for whole partition tables?
  
   Thanks in advance for any suggestions or advices,
  
   Stroller.
 
  Try this...
 
  modprobe loop
  modprobe ntfs
 
  mkdir /mnt/iso
 
  mount -t ntfs /path/to/your/iso /mnt/iso -o loop,ro
 
  Assuming the iso is ntfs and you have loop and ntfs as modules...
 
  Cheers.

 Won't work. He already said the .iso is a *disk* image, not a *file
 system* image.

 The ntfs driver (or any sane file system driver) will not know what to
 do with a block image complete with partition tables and boot records.

 alan


I don't doubt what you wrote, but I've done exactly that many times and never 
had a problem. Is this some kind of ntfs support issue? 

Just this morning, I ran dd to make an image of a usbstick I dearly love... I 
just now mounted the image as vfat as stated above and I have complete access 
to the data on it... Is the ntfs module that different? Just curious.

Cheers.



-- 


From the Desk of: Jerome D. McBride
--
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] q: how to make gentoo site sync for greek users

2008-01-18 Thread Mick
On Friday 18 January 2008, Δημήτριος Ροπόκης wrote:
   plan to make a site sync to gentoo, but with easy download greek
 translations,
 my problem is I want to make it like gentoo.org,
 Greek users do not participate easy in open source,
 I am not programmer, but I can make linux work in most pc's,
 so now I am looking for a way to make an Greek Gentoo installer,
 I think if I manage the site in next 2 months, I can start sync portage by
 March,
 and in summer I maybe have done the basic job,
 by then I hope people to help,
 of course all this I want to be add to gentoo,
 not a fork, or another one distro around,
 my problem is the how to start,
 any opinions pls welcome.

I am not sure what you mean by a Greek Gentoo installer.  Do you mean you want 
to translate the installation handbook?  Do you mean you want to add Greek 
language to the GUI installer?  Anyway, there is/was a Greek language mailing 
list for translations of the Gentoo documentation and GWN into Greek.  
Perhaps you want to subscribe to it and ask relevant questions there? To do 
so send an empty message to [EMAIL PROTECTED]  Someone may 
have already done what you are after.

If you want to chat online go to irc.freenode.org in the channel #gentoo-el

Hope this helps.
-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Re: SANDBOX - state of the art?

2008-01-18 Thread Mick
On Friday 18 January 2008, Michael Schmarck wrote:
 Helmut Jarausch [EMAIL PROTECTED] wrote:
  Hi,
 
  I have sys-apps/sandbox-1.2.20_alpha2-r1 installed but still
  when I install a kernel module I need to disable the sandbox by using
  FEATURES='-sandbox'
 
  I am running kernel 2.6.23-gentoo-r3  and gcc-4.2.2 as standard
  C-compiler.
 
  Am I missing something or is the bug not fixed, yet?

 Hm. I do not have to disable sandbox when I emerge a kernel module
 like cloop or x11-drivers/nvidia-drivers-100.14.19.

How strange . . . I thought that one has to disable userpriv, not sandbox for 
this purpose.

-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Once again baffled by portage

2008-01-18 Thread Alan McKinnon
On Friday 18 January 2008, Bo Ørsted Andresen wrote:
 On Thursday 17 January 2008 17:06:28 Alan McKinnon wrote:
  Roll on KDE4 when this monolithic nonsense will go away and there
  will only be -meta ebuilds.

 Actually it was decided to keep monolithics in KDE 4.0.0. Splits are
 now the default which means they are listed first in any-of
 dependency blocks such as e.g. || ( kde-base/kompare:kde-4
 kde-base/kdesdk:kde-4 ) in KDE 4. But monos are still around. There
 is a list of the monos in the url I posted in another mail to this
 thread.

Interesting, I wasn't aware of that. Obviously my most current info is 
out of date.

But why was that decision taken? I understand keeping it for kde-3.5.x 
users, but kde-4 is essentially an entirely different product, and 
the -meta ebuilds do everything the monolithic ones ever did. The 
configure steps do add time though, but other than that everything 
seems to work the same

-- 
Alan McKinnon
alan dot mckinnon at gmail dot com
--
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] Can't emerge apache

2008-01-18 Thread Mike Diehl
Hi all,

I'm building a new machine and I'm having trouble getting apache to emerge.

This is a BRAND NEW BOX, with nothing else done to it, so I expected apache to 
load just fine.

Here is the error message I'm getting.  Any help would be appreciated.
Mike.

---

g++: /usr/lib/gcc/i486-pc-linux-gnu/4.1.1/crtbeginS.o: No such file or 
directory
g++: /usr/lib/gcc/i486-pc-linux-gnu/4.1.1/crtendS.o: No such file or directory
make[1]: *** [libapr-1.la] Error 1
make[1]: Leaving directory 
`/var/tmp/portage/dev-libs/apr-1.2.11/work/apr-1.2.11'
make: *** [all-recursive] Error 1
 *
 * ERROR: dev-libs/apr-1.2.11 failed.
 * Call stack:
 *   ebuild.sh, line 1701:  Called dyn_compile
 *   ebuild.sh, line 1039:  Called qa_call 'src_compile'
 *   ebuild.sh, line   44:  Called src_compile
 *   apr-1.2.11.ebuild, line   68:  Called die
 * The specific snippet of code:
 *  emake || die Make failed
 *  The die message:
 *   Make failed
 *
 * If you need support, post the topmost build error, and the call stack if 
relevant.
 * A complete build log is located 
at '/var/tmp/portage/dev-libs/apr-1.2.11/temp/build.log'.
 *

 * Messages for package dev-libs/apr-1.2.11:

 *
 * ERROR: dev-libs/apr-1.2.11 failed.
 * Call stack:
 *   ebuild.sh, line 1701:  Called dyn_compile
 *   ebuild.sh, line 1039:  Called qa_call 'src_compile'
 *   ebuild.sh, line   44:  Called src_compile
 *   apr-1.2.11.ebuild, line   68:  Called die
 * The specific snippet of code:
 *  emake || die Make failed
 *  The die message:
 *   Make failed
 *
 * If you need support, post the topmost build error, and the call stack if 
relevant.
 * A complete build log is located 
at '/var/tmp/portage/dev-libs/apr-1.2.11/temp/build.log'.

-- 
Mike Diehl
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] DNAT not working

2008-01-18 Thread Alan McKinnon
On Friday 18 January 2008, Konstantinos Agouros wrote:
 xt_tcpudp is the difference as it seems

 verified it that was the problem. For whatever reason I forgot to
 configure module autoloading into the kernel.

Perhaps you used an old .config and that option name has changed?

alan

-- 
Alan McKinnon
alan dot mckinnon at gmail dot com
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Net / dhcp (miss)behaviour

2008-01-18 Thread Marko Kocić
 Actually, as long as the interface is up, you can sniff traffic even if
 it does not have an IP address. Emerge wireshark (somehow...), do (as
 root) an ip link set eth0 up (or ifconfig eth0 up) and run
 wireshark. Start capturing packets, run dhcpcd from the command line (or
 whatever DHCP client you use), and see what goes on the wire. You should
 see DHCP discovery/offer/request messages, or maybe not all of them if
 things are not working correctly. For each DHCP packet, look at the DHCP
 payload details from wireshark (you can save the capture for later
 viewing too).

 Then, start windows, install wireshark for windows, and do the same. To
 force a DHCP negotiation in windows, open a command prompt and issue
 an ipconfig /release followed by an ipconfig /renew (IIRC). Look at
 the traffic captured after the /renew command, and look for obvious or
 blatant differences between windows and linux in DHCP packets of the
 same kind.

Thanks for the info. I'll try that.

Also, I just found by googling that there is dhcp client called
net-misc/pump which
have --win-client-ident option. I'll try that too.

Regards,
Marko
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] loopback mount hard-drive image created with dd?

2008-01-18 Thread Yahya Mohammad
 Another hack you can try is use to use '--offset' option of
 'losetup'. First figure out from which byte, NTFS partition starts in
 disk image, and then you create a loopback back device for that image
 and the starting offset using 'losetup' and finally 'mount' the
 loopback as NTFS partition :) .

Here's more detail on how to do that

# losetup /dev/loop0 /path/to/diskimage
# fdisk -l /dev/loop0
(example)
Disk /dev/sdb: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot  Start End  Blocks   Id  System
/dev/sdb1   *   11044 8385898+   c  W95 FAT32 (LBA)
/dev/sdb21045   19457   147902422+  83  Linux

suppose you want to mount the partition on sdb2, the offset for that
would be 8225280 * 1045 = 8595417600.

detach the disk image
# losetup -d /dev/loop0
and setup the loop for the partiion
# losetup -o8595417600 /dev/loop0 /path/to/diskimage
and mount it
# mount -t fstype /dev/loop0 /path/to/mountdir


 Please do post your results, if you're successful :)

I second that, I'm curious to know if it works

oh, and make a backup just in case :)
-- 
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] Re: Is GWN dead?

2008-01-18 Thread Thufir
On Fri, 18 Jan 2008 16:04:46 +0200, Alan McKinnon wrote:


 Nope. The Ubuntu developers would probably just carry on doing what they
 doing now - developing on Ubuntu. What makes you think they'd change?

They would continue to develop it even if *no-one*, outside of the 
developers, used it?  We'll have to agree to disagree on that, even if 
it's a bit of hyperbole.


-Thufir

-- 
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] loopback mount hard-drive image created with dd?

2008-01-18 Thread Jerry McBride
Stroller wrote:

 Hi there,
 
 Before installing on a new laptop which came with Vista pre-installed
 I took an image of the hard-drive using dd. (ie: `dd if=/dev/sda of=/
 mnt/sdb1/disk.img`, where /mnt/sdb1 was a portable USB hard-drive).
 
 Obviously the intention was that if I b0rked things up I could just
 `dd` the image back onto the laptop and all would work as the
 manufacturer shipped it, but I'd now find it useful to be able to
 take a look inside the image and examine a few files. Is there any
 way to do this, please?
 
 I'm fairly confident that there were originally a couple of
 partitions on the drive, and the one I want to look at will be NTFS,
 of course. I know that a CD iso I can mount using `mount file.iso /
 mnt/cdrom -t iso9660 -o loop`, but is there an equivalent for whole
 partition tables?
 
 Thanks in advance for any suggestions or advices,
 
 Stroller.
 

Try this...

modprobe loop
modprobe ntfs

mkdir /mnt/iso

mount -t ntfs /path/to/your/iso /mnt/iso -o loop,ro

Assuming the iso is ntfs and you have loop and ntfs as modules...

Cheers.











Jerry McBride ([EMAIL PROTECTED])
-- 


From the Desk of: Jerome D. McBride
--
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] loopback mount hard-drive image created with dd?

2008-01-18 Thread Alan McKinnon
On Friday 18 January 2008, Jerry McBride wrote:
 On Friday 18 January 2008 01:01:18 pm Alan McKinnon wrote:

  Won't work. He already said the .iso is a *disk* image, not a *file
  system* image.
 
  The ntfs driver (or any sane file system driver) will not know what
  to do with a block image complete with partition tables and boot
  records.
 
  alan

 I don't doubt what you wrote, but I've done exactly that many times
 and never had a problem. Is this some kind of ntfs support issue?

 Just this morning, I ran dd to make an image of a usbstick I dearly
 love... I just now mounted the image as vfat as stated above and I
 have complete access to the data on it... Is the ntfs module that
 different? Just curious.

Do you have partitions on that memory stick?

-- 
Alan McKinnon
alan dot mckinnon at gmail dot com
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] loopback mount hard-drive image created with dd?

2008-01-18 Thread Jerry McBride
On Friday 18 January 2008 02:19:21 pm Jerry McBride wrote:
 On Friday 18 January 2008 01:54:58 pm Alan McKinnon wrote:
  On Friday 18 January 2008, Jerry McBride wrote:
   On Friday 18 January 2008 01:01:18 pm Alan McKinnon wrote:
Won't work. He already said the .iso is a *disk* image, not a *file
system* image.
   
The ntfs driver (or any sane file system driver) will not know what
to do with a block image complete with partition tables and boot
records.
   
alan
  
   I don't doubt what you wrote, but I've done exactly that many times
   and never had a problem. Is this some kind of ntfs support issue?
  
   Just this morning, I ran dd to make an image of a usbstick I dearly
   love... I just now mounted the image as vfat as stated above and I
   have complete access to the data on it... Is the ntfs module that
   different? Just curious.
 
  Do you have partitions on that memory stick?

 Yes.



OK... It just got through my dense head! He has multiple partitions in his 
disk image, not one

What I proposed will fail in that case, but will work with just one 
partition in the image...

It's a shame too.

Cheers.


-- 


From the Desk of: Jerome D. McBride
--
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] kde 'Lock Sesson' does nothing

2008-01-18 Thread James
Hello,

I/ve tried rebuilding all sorts of stuff. Nothing
get's this working again, in the kde pull down menu.


Any ideas what to rebuild?

revdep-rebuild is clean.


James

-- 
gentoo-user@lists.gentoo.org mailing list