[gentoo-ppc-user] help with pcmcia wireless networking not reconnecting after sleep

2007-01-14 Thread Anthony Knittel

Hi, I've tried posting about this on the forums but haven't gotten
anywhere, can anyone help with this problem?

I'm using a Netgear WG511T Atheros pcmcia card for wireless networking
on my G3 Pismo powerbook, i've got the networking set up ok but when
the laptop goes to sleep, eg when the lid is closed, the network card
gets powered down (lights are off when in sleep), and when the
computer is resumed from sleep the card is not connected any more,
when power comes back on it has one light lit on the network card.  I
have to run /etc/init.d/net.ath0 restart as root every time i resume
from sleep.

I think in a previous incarnation of my set up (earlier packages,
earlier kernel) it would resume from sleep and be connected, but not
sure how it was set up at the time (card still on during sleep?).

Does anyone have any suggestions about what the problem is, how it
could be fixed, how its supposed to behave (is the pcmcia card meant
to be off in sleep or not?), or where to start looking for answers?

I'm running pbbuttonsd to handle sleeping, not running pmud (not
installed), there is no /etc/init.d/pcmcia script in my set up (is
there meant to be?).

Its very hard to figure out what the problem is because I have no idea
what is supposed to trigger network connection after resuming from
sleep, is there supposed to be a trigger in one of the scripts in
/etc/power that causes networking to be restarted? or does it
magically set up the connection again some other way?


thanks,
Anthony


--
But I ned tacos! I need them or I will explode! That happens to me
sometimes.

(Gir)
--
gentoo-ppc-user@gentoo.org mailing list



Re: [gentoo-ppc-user] hda/hdc

2007-01-14 Thread Randy Barlow
On Sun, 2007-01-14 at 18:42 -0500, Randy Barlow wrote:
 Thanks to Michael and Nathan for your help so far.  I've
 tried /dev/hda,c and e as being root upon rebooting, and every time I
 get a kernel panic.  I'm not totally sure why, but I've been looking
 into the config to make sure I have things enabled properly (already
 found that I hadn't put support for my IDE interface, but that wasn't
 the only problem)  Any other gotchas?  I'm completely new to the Mac
 hardware, so this is kind of bewildering to me!

Writing in to give more details - I do have the
CONFIG_BLK_DEV_IDE_PMAC_ATA100FIRST set in the kernel, and hda is still
showing up as hda.  I also do not see any lines in the boot reporting
that the hard drive has been detected (though they scroll by pretty
quickly and it's hard to tell - is there a way to see what the dmesg was
for a kernel that didn't finish booting due to a kernel panic?)  The
panic is the famous Cannot open root device hda8 or
unknown-block(0,0).  Well, the cdrom doesn't have an hda8 of course, so
this isn't surprising.  What I'm attempting to discover is what I am
missing in the kernel config to get my hard drive correctly supported.
Further suggestions?

Randy Barlow
http://www.electronsweatshop.com
If there was any justice, my face would be on a bunch of crappy
merchandise! -- Homer Simpson Flaming Moe's

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



Re: [gentoo-user] Re: net.eth0 device initiated services

2007-01-14 Thread Mick
On Thursday 11 January 2007 17:52, »Q« wrote:
 Neil Bothwick [EMAIL PROTECTED] wrote:
  you could emerge ifplugd, then the startup scripts won't try to
  initialise eth0 if no cable is detected.

 Is there something like this which will bring my wireless connection up
 or down depending on whether the device is found?  (My laptop has a
 hardware switch to turn the wireless card on/off).

I have a USB WiFi adaptor which is picked up and initialised by ifplugd 
everytime I plug it in.  I assume that the same will happen when you turn 
your wireless card on/off.

I am not sure what happens when I have both an ethernet cable plugged in and 
the WiFi adaptor.  I guess both will come up but which one is going to be 
used by applications to connect to the Internet?
-- 
Regards,
Mick


pgp4WyoksiDZY.pgp
Description: PGP signature


Re: [gentoo-user] moving to ADSL

2007-01-14 Thread Jorge Almeida

On Sun, 14 Jan 2007, William Kenworthy wrote:


get the device to tell you that its IP has changed?

I use a linux box behind an old DSL300 for the above that extracts the
IP number from the interface connected to the DSL300 every 60 seconds.
If its changed, this triggers an update to dyndns (via ezupdate),
restarts the webserver, firewall, asterisk etc with the new IP and
uploads a simple html file to my webspace on my ISP as a fallback.
dyndns has proven very reliable for changing IP's - basicly just works
- for ~4 years!

I presume OpenWRT can run scripts to do something similar?


I think it can run user-made scripts (that's the point, after all), but
my experience with OpenWRT is nil. I can cook up the script easily
enough, but I don't know about ezupdate in OpenWRT. Anyway, I don't
really need dyndns, just knowing the IP would be enough for my modest
needs.
What seems great about OpenWRT is the possibility of installing
packages. Only debian packages made for OpenWRT. I guess I'll have to
learn about that...




Cheers.
--
Jorge Almeida
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Extracting hashes from MSWindows SAM files

2007-01-14 Thread Mick
On Sunday 14 January 2007 04:47, Ali Polatel wrote:
 * Mick ([EMAIL PROTECTED]) wrote:
  Hi All,
 
  Do you know if Gentoo offers any tool(s) to extract the hash numbers from
  MSWindows SAM files?  I am thinking of the Linux equivalent of e.g.
  pwdump.exe
 
  I need the hashes to be able to run john:
  ==
  # john sam
  No password hashes loaded
  ==
 
  I've looked around but couldn't find anything.
  --
  Regards,
  Mick

 emerge ophcrack ,
 iirc it has pwdump and bkhive to get hash stuff from SAM files

Cool!  Thanks, I didn't know what package to search for.

Meanwhile, googling around I found the Remote Exploit - Auditor Live CD which 
had the pwdump2-linux and bkhive-linux commands:

 http://www.remote-exploit.org/index.php/Auditor_main

-- 
Regards,
Mick


pgpz7GrBqc3Hq.pgp
Description: PGP signature


Re: [gentoo-user] moving to ADSL

2007-01-14 Thread Mick
On Sunday 14 January 2007 09:46, Jorge Almeida wrote:

  I presume OpenWRT can run scripts to do something similar?

 I think it can run user-made scripts (that's the point, after all), but
 my experience with OpenWRT is nil. I can cook up the script easily
 enough, but I don't know about ezupdate in OpenWRT. Anyway, I don't
 really need dyndns, just knowing the IP would be enough for my modest
 needs.
 What seems great about OpenWRT is the possibility of installing
 packages. Only debian packages made for OpenWRT. I guess I'll have to
 learn about that...

Me too.  I would also like to learn how to cross compile packages for the 
router on my desktop.  If I could prepare an embedded Gentoo image for my 
router with the applications of my choice that would be grand.
-- 
Regards,
Mick


pgpxOxk3rof4R.pgp
Description: PGP signature


Re: [gentoo-user] Re: managing 802.11a/b/g

2007-01-14 Thread Neil Bothwick
On Sun, 14 Jan 2007 02:30:48 + (UTC), james wrote:

 If it's ready for testing shouldn't it be (~) masked and not (M) masked?
 If not, what the meaning of masking with (~) versus (M) 

~arch means a testing ebuild. In this case, the package apparently is
considered not ready for general release, but it is available for those
who wish to participate in the testing. The same thing happens with KDE
beta/rc releases: the ebuilds go into portage but are masked, because the
software itself is considered untested (obviously if it is beta).


-- 
Neil Bothwick

Normal people believe that if it ain't broke, don't fix it. Engineers
believe that if it ain't broke, it doesn't have enough features yet.


signature.asc
Description: PGP signature


Re: [gentoo-user] Re: net.eth0 device initiated services

2007-01-14 Thread Neil Bothwick
On Sun, 14 Jan 2007 09:35:04 +, Mick wrote:

 I am not sure what happens when I have both an ethernet cable plugged
 in and the WiFi adaptor.  I guess both will come up but which one is
 going to be used by applications to connect to the Internet?

I use the preup() function in /etc/conf.d/net to take my wireless
interface down when the wired interface is brought up.

preup() {
if [ ${IFACE} == eth0 ]; then
/etc/init.d/net.eth1 --quiet status  /etc/init.d/net.eth1 
pause fi
return 0
}


-- 
Neil Bothwick

KPLA: Warrior's Radio! All the glory, all the time!


signature.asc
Description: PGP signature


Re: [gentoo-user] moving to ADSL

2007-01-14 Thread Hans-Werner Hilse
Hi,

On Sun, 14 Jan 2007 09:59:13 +
Mick [EMAIL PROTECTED] wrote:

  What seems great about OpenWRT is the possibility of installing
  packages. Only debian packages made for OpenWRT. I guess I'll have to
  learn about that...
 
 Me too.  I would also like to learn how to cross compile packages for the 
 router on my desktop.  If I could prepare an embedded Gentoo image for my 
 router with the applications of my choice that would be grand.

I'm currently running a heavily customized OpenWRT (Kamikaze, i.e.
development tree) on my WAP54g, wich only has one ethernet port and
WLAN AP facilities and has only 8MB RAM/2MB Flash and also a damned
broken TFTP boot (doesn't initialize the PHY correctly). But it
works :-)

My suggestion for gentoo-running fellows would be to check out the
development tree (using subversion) and just build the image from
scratch. It's not more complicated than configuring (they use the
buildroot environment from busybox, which is based on Kconf) your
kernel and you have plenty of options. Remember to put your router in a
state where the bootloader looks for an image via TFTP first before
booting the flash root image, and then just experiment happily away.
There's always the option to go back to the original firmware, so no
worries. Don't think, however, that you'll have an easy time to mock up
Gentoo to crosscompile for that environment, though it should be
possible, of course.

If you are happy with what OpenWRT offers by default (and there's
plenty of packages!), just use a ready-made image and install packages
using the ipkg tool.

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



Re: [gentoo-user] usb scanner HP2200c

2007-01-14 Thread Dan

 OK, so it's not a permissions issue. What shows up in your syslog when
 you connect the scannner?
 
 If you use syslog-ng, run tail -f /var/log/message then connect the
 scanner.
here's the output from the system log, i use metalog so
that's /var/log/everything/current.

 Jan 14 10:02:02 [kernel] usb 2-1:
USB disconnect, address 2 Jan 14 10:02:08 [kernel] ohci_hcd
:00:02.0: wakeup Jan 14 10:02:08 [kernel] usb 2-4: new full speed
USB device using ohci_hcd and address 3 Jan 14 10:02:09 [kernel] usb
2-4: configuration #1 chosen from 1 choice

dmesg: 

usb 2-1: USB disconnect, address 2
ohci_hcd :00:02.0: wakeup
usb 2-4: new full speed USB device using ohci_hcd and address 3
usb 2-4: configuration #1 chosen from 1 choice

anything else you think would be helpful? Just ask.  

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



Re: [gentoo-user] OT - Is there a gcc-4.1.1 alternative?

2007-01-14 Thread Dan
On Sun, 14 Jan 2007 02:39:07 -0500
PaulNM [EMAIL PROTECTED] wrote:

 I once experienced something similar on my [i686 Pentium II
 (Klamath)] server. I don't remember exactly what part of gcc was
 compiling at the time of the hang, but I found switching kernel
 versions helped. According to top, kswapd0 was very busy, basically
 using up most of the systems resources. Ssh'ing in was very slow due
 to that and the gcc compile. I stopped and restarted it twice after
 letting it run over night (8+ hrs). Normal compile time is genlop -t
 gcc about 4hrs and 15mins.

sounds like the classic low memory situation to me.  You run real low
on system memory, then swap, and kswapd has to work real hard to (I
assume this one) 'defragment' if you will the memory pages and keep as
much free memory available as possible.  sometimes, this manages to
slow things down so considerably that the program causing the problem
just hangs, trying to get more memory, and the rest of the programs on
the computer vie for limited resources, so things like ssh go real
slow.  

just a thought, in that you're running on a pentium, have you looked
into distributed compiling and crossdev?  It can't get tthe performance
you'd probably like out of your computer, but it might do a decent job
getting compile times down into the realm of tolerability.
Unfortunately, it probably won't help with gcc itself.  
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Firefox 2.0 and gentoo

2007-01-14 Thread Roberto Martinez
On Sat, 13 Jan 2007 20:24:57 -0600, William Kenworthy [EMAIL PROTECTED]  
wrote:



On Thu, 2007-01-11 at 06:34 -0600, Roberto Martinez wrote:
Well, I've done research and found nothing, except that it happens only  
on

gentoo ...

It appears that any mozilla product segfaults on my gentoo box both  
binary

and from source. Firefox, Thunderbird, and Seamonkey.

...

this sort of thing is often due to inconsistent/missing libraries

1. run revdep-rebuild
2. `ldd /usr/bin/firefox` and look for inconsistent/missing libraries
3. `strace /usr/bin/firefox` and see if where it dies gives a clue

BillK



revdep-rebuild came up with some libraries, but I think I might have an  
issue with Portage as I've noticed that /etc/portage does not point  
anywhere... Any ideas where its supposed to symlink ? #gentoo is not very  
helpful ( at least the peers )


Calculating dependencies \
emerge: there are no ebuilds to satisfy =app-office/openoffice-bin-2.0.2.


revdep-rebuild failed to emerge all packages
you have the following choices:

- if emerge failed during the build, fix the problems and re-run  
revdep-rebuild

or
- use -X or --package-names as first argument (trys to rebuild package,  
not exact

  ebuild)
or
- set ACCEPT_KEYWORDS=~your platform and/or /etc/portage/package.unmask
  (and remove /root/.revdep-rebuild.5_order to be evaluated again)
or
- modify the above emerge command and run it manually
or
- compile or unmerge unsatisfied packages manually, remove temporary files  
and

  try again (you can edit package/ebuild list first)

To remove temporary files, please run:
rm /root/.revdep-rebuild*.?_*

Thanks in advance.

--
There is no god but yourself... amen ...

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] usb scanner HP2200c

2007-01-14 Thread Justin Findlay
On AD 2007 January 13 Saturday 12:22:25 PM +, Neil Bothwick wrote:
 Don't apologise, if you know it's wrong, don't do it. Not only do I get
 two copies of your mail, but of every response when someone uses Reply to
 All :(

That's the way some mailing lists work because it's more 'RFC compliant'
and stuff.


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



Re: [gentoo-user] Dual Layer burn program

2007-01-14 Thread Mick
On Monday 18 December 2006 00:30, Dale wrote:
 Luigi Pinna wrote:
  Hi!
  How can I burn a 8.5 GByte iso? I tried with k3b and I receive an error
  and growisofs failed at 99.9% with input/output error.
  I searched in portage but I didn't find a program with dual layer
  support. Nero didn't work (trial version already expired).
  Thanks,
  Luigi

 You may want to check the archives.  I think someone else had this issue
 and found a fix or a program to use.  I don't have a DVD burner so I
 wasn't following to closely.

 Maybe someone can shed some light on this better if you can't find it in
 archives.  Someone with a better memory.

It was probably one of those wild threads of mine?  :))

However, I was trying to burn a Double Layer DVD+R as opposed to a Dual Layer 
DVD-R with what seems to be a low end DVD writer.  After a number of rather 
expensive coasters and days of headache from excessive googling, I came to 
the conclusion that Double Layer burning is as temperamental as CD burning 
was 15 years ago.  From what I ascertained the brand of the DVD media is more 
important than any other parameter that I could I find.  Someone suggested 
using Verbatim, but I haven't yet bought any to try, because I could only 
find them in packs of 10 last time I looked.  By that time I had reached the 
no return point whereby any additional penny would be better spent buying a 
more expensive DVD writer in the hope of it being compatible with more DVD 
brands.  Then HD-DVD and Blue-Ray appeared in the horizon and decided that I 
could wait after all.

Good luck and post back if you find a DVD brand that works with your writer.

PS. K3B should be able to record DL DVD
-- 
Regards,
Mick


pgpeHKllQwo6n.pgp
Description: PGP signature


Re: [gentoo-user] usb scanner HP2200c

2007-01-14 Thread Boyd Stephen Smith Jr.
On Sunday 14 January 2007 11:38, Justin Findlay [EMAIL PROTECTED] wrote 
about 'Re: [gentoo-user] usb scanner HP2200c':
 On AD 2007 January 13 Saturday 12:22:25 PM +, Neil Bothwick wrote:
  Don't apologise, if you know it's wrong, don't do it. Not only do I
  get two copies of your mail, but of every response when someone uses
  Reply to All :(

 That's the way some mailing lists work because it's more 'RFC compliant'
 and stuff.

I'd like to hear what RFC that suggests CCing the author of the email by 
default, please.

From what I understand the recommended default reply behavior is to reply 
to only the Reply-To or, if that header is absent, From 
header.  Reply to all to a feature that all MUAs should have, but it's 
used more often with large multiple TO+CC addresses rather than on lists.

-- 
If there's one thing we've established over the years,
it's that the vast majority of our users don't have the slightest
clue what's best for them in terms of package stability.
-- Gentoo Developer Ciaran McCreesh


pgpShn0O7uqhY.pgp
Description: PGP signature


Re: [gentoo-user] Firefox 2.0 and gentoo

2007-01-14 Thread Devon Miller

On 1/12/07, Roberto Martinez [EMAIL PROTECTED] wrote:

On Sat, 13 Jan 2007 20:24:57 -0600, William Kenworthy [EMAIL PROTECTED]
wrote:

 On Thu, 2007-01-11 at 06:34 -0600, Roberto Martinez wrote:
 this sort of thing is often due to inconsistent/missing libraries

 1. run revdep-rebuild
 2. `ldd /usr/bin/firefox` and look for inconsistent/missing libraries
 3. `strace /usr/bin/firefox` and see if where it dies gives a clue

 BillK


revdep-rebuild came up with some libraries, but I think I might have an
issue with Portage as I've noticed that /etc/portage does not point
anywhere... Any ideas where its supposed to symlink ? #gentoo is not very
helpful ( at least the peers )


/etc/portage should be a directory, not a symlink. This is where you
create package.keywords to enable ~ARCH builds, package.unmask to
enable explicitly masked packages, package.use to set per-package USE
flags, etc.

The symlink you're thinking of is /etc/make.profile and it should
point to something like
/usr/portage/profiles/default-linux/x86/2006.1/desktop.


Calculating dependencies \
emerge: there are no ebuilds to satisfy =app-office/openoffice-bin-2.0.2.


As a general rule, I always run revdep-rebuild with -p and ignore any
gripes about openoffice-bin. Openoffice-bin comes with a lot of
private libraries the supercede those in /usr/lib and reddep-rebuild
doesn't know how to resolve those correctly.

There's no ebuild for openoffice-bin-2.0.2 because that release is no
longer in portage. Running emerge -u openoffice-bin will upgrade you
to 2.1.0 which is currently the only open office binary release in
portage.

Running ldd on /usr/bin/firefox won't give any useful information
since that is just a script that runs mozilla-launcher with the real
binary. Instead, run ldd on /usr/lib/mozilla-firefor/firefox-bin which
is the actual binary. You should not get any 'not found' messages. If
anything is 'not found' then you need to move on to which package
needs to be rebuilt.

dcm

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



[gentoo-user] Asus F3JV AS022P installation tips

2007-01-14 Thread Mihamina Rakotomandimby (R12y)
Hi,
For people intending to buy an Asus F3JV-x:
http://www.asso-polyvalente.fr/workspaces/members/mihamina/public/asus-f3jv-as022p
Cheers

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Firefox 2.0 and gentoo

2007-01-14 Thread Jean-Baptiste Mestelan

On 1/14/07, Devon Miller [EMAIL PROTECTED] wrote:

On 1/12/07, Roberto Martinez [EMAIL PROTECTED] wrote:
 On Sat, 13 Jan 2007 20:24:57 -0600, William Kenworthy [EMAIL PROTECTED]
 wrote:

  On Thu, 2007-01-11 at 06:34 -0600, Roberto Martinez wrote:
  this sort of thing is often due to inconsistent/missing libraries
 
  1. run revdep-rebuild
  2. `ldd /usr/bin/firefox` and look for inconsistent/missing libraries
  3. `strace /usr/bin/firefox` and see if where it dies gives a clue
 
  BillK
 

 revdep-rebuild came up with some libraries, but I think I might have an
 issue with Portage as I've noticed that /etc/portage does not point
 anywhere... Any ideas where its supposed to symlink ? #gentoo is not very
 helpful ( at least the peers )

/etc/portage should be a directory, not a symlink. This is where you
create package.keywords to enable ~ARCH builds, package.unmask to
enable explicitly masked packages, package.use to set per-package USE
flags, etc.

The symlink you're thinking of is /etc/make.profile and it should
point to something like
/usr/portage/profiles/default-linux/x86/2006.1/desktop.

 Calculating dependencies \
 emerge: there are no ebuilds to satisfy =app-office/openoffice-bin-2.0.2.

As a general rule, I always run revdep-rebuild with -p and ignore any
gripes about openoffice-bin. Openoffice-bin comes with a lot of
private libraries the supercede those in /usr/lib and reddep-rebuild
doesn't know how to resolve those correctly.

There's no ebuild for openoffice-bin-2.0.2 because that release is no
longer in portage. Running emerge -u openoffice-bin will upgrade you
to 2.1.0 which is currently the only open office binary release in
portage.

Running ldd on /usr/bin/firefox won't give any useful information
since that is just a script that runs mozilla-launcher with the real
binary. Instead, run ldd on /usr/lib/mozilla-firefor/firefox-bin which
is the actual binary. You should not get any 'not found' messages. If
anything is 'not found' then you need to move on to which package
needs to be rebuilt.

dcm

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



--
gentoo-user@gentoo.org mailing list



[gentoo-user] USE flags and configure-time problems

2007-01-14 Thread Iván Pérez Domínguez
Hi there.

 I just happend to emerge evince and, after half an hour got the
following error:


18:07:32 (44.99 KB/s) - `/usr/portage/distfiles/evince-0.6.1.tar.bz2'
saved [1212271/1212271]

 * checking ebuild checksums ;-) ...
  [ ok ]
 * checking auxfile checksums ;-) ...
  [ ok ]
 * checking miscfile checksums ;-) ...
  [ ok ]
 * checking evince-0.6.1.tar.bz2 ;-) ...
  [ ok ]
 * Please re-emerge app-text/poppler-bindings with the gtk USE flag set

!!! ERROR: app-text/evince-0.6.1 failed.
Call stack:
  ebuild.sh, line 1626:   Called dyn_setup
  ebuild.sh, line 701:   Called qa_call 'pkg_setup'
  ebuild.sh, line 38:   Called pkg_setup
  evince-0.6.1.ebuild, line 67:   Called die

!!! poppler-bindings needs gtk flag set
!!! If you need support, post the topmost build error, and the call
stack if relevant.


I understand why this happend, and I know how to solve it.

My point is: should the RDEPEND and DEPEND syntax in ebuilds be changed
so that this kind of problems can be detected before emerging?

Here's an example. Imagine program A depends on B, and if A is built
with use flag dvi, then it depends on C to be built with use flag
dvi2. The following could be A's DEPEND:

DEPEND=dvi? ([dvi2 C])
B

This is just an example, and I'm sure there's a different syntax that
could be more appropriate.

What do you this of it?

Is there any ongoing implementation to solve it in a different way?

Cheers,

Ivan.


smime.p7s
Description: S/MIME Cryptographic Signature


[gentoo-user] Telling emerge to continue when something goes wrong

2007-01-14 Thread Iván Pérez Domínguez
Hi,

After installing Gentoo in different machines several times, I wonder if
is there any way to tell emerge to keep installing as much as possible
even when something goes wrong.

Here's an example:

 emerge stuff1 stuff2 stuff3


emerge says the following packages will be emerged and so on.

Alright. Then stuff1 fails to compile. I'd like emerge to continue
trying to install stuff2 and stuff3 when possible.

I know I could write several emerges in different lines (something like
emerge stuff1; emerge stuff2; emerge stuff3), I just feel like this
feature should have an option of its own in emerge (i.e.
--keep-going-as-far-as-possible).

This could be very handy when updating world or, in general, when the
emerge is going to take a lot of time and you decide to leave, expecting
everything to be merged when you come back.

I'm posting this here before going to gentoo-portage-dev or other list
to know what you think and to try to write a better suggestion.

Cheers,

Ivan.


smime.p7s
Description: S/MIME Cryptographic Signature


[gentoo-user] Setting up a home router

2007-01-14 Thread Daniel Pielmeier

Hi,

I have a similar problem like Dale in this thread [gentoo-user] Need
help networking two machines, but i think it is not exactly the same.

I was trying to set up a home router following the
gentoo-home-router-guide
http://www.gentoo.org/doc/de/home-router-howto.xml
with shorewall as firewall following the two-interfaces-guide
http://www.shorewall.net/two-interface.htm.

I can connect from the router to the internet.
I can log in from the router to the desktop per ssh and back.
I have set up an rsync on the router and rsync works from the desktop.
I have set up dnsmasq on the server and dns is working on the desktop.
I can ping between router and desktop and from the router to the internet

I have set up an ntp on the router but ntp from the desktop gives me.
14 Jan 20:25:53 ntpdate[31522]: no server suitable for synchronization found

I can't ping from the desktop to the internet.
ping www.gentoo.org
PING www.gentoo.org (38.99.64.202) 56(84) bytes of data.

--- www.gentoo.org ping statistics ---
13 packets transmitted, 0 received, 100% packet loss, time 11999ms

As you can see the address is resolved but i get 100% packet loss.
Until now i have spent much time on this issues, so i hope to solve
these problems with your help.
I have added the configurations which may help you to discover my
problem below. First the router configuration and then the desktop
configuration.
I hope i did not forget anything as it is very much, but if anything
you need is missing please ask for it.

Thanks Daniel




router: gentoo-vdr configuration



lspci

eth0
02:01.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8169
Gigabit Ethernet (rev 10)

eth1
02:06.0 Ethernet controller: Realtek Semiconductor Co., Ltd.
RTL-8139/8139C/8139C+ (rev 10)


ifconfig

eth0  Link encap:Ethernet  HWaddr 00:11:F0:00:0D:96
 inet addr:192.168.0.1  Bcast:192.168.0.255  Mask:255.255.255.0
 UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
 RX packets:198008 errors:0 dropped:0 overruns:0 frame:0
 TX packets:194409 errors:0 dropped:0 overruns:0 carrier:0
 collisions:0 txqueuelen:1000
 RX bytes:50101373 (47.7 Mb)  TX bytes:129993047 (123.9 Mb)
 Interrupt:18 Base address:0xc000

eth1  Link encap:Ethernet  HWaddr 00:10:DC:2B:D4:CF
 UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
 RX packets:77637 errors:0 dropped:0 overruns:0 frame:0
 TX packets:63189 errors:0 dropped:0 overruns:0 carrier:0
 collisions:0 txqueuelen:1000
 RX bytes:93609244 (89.2 Mb)  TX bytes:7282392 (6.9 Mb)
 Interrupt:19

loLink encap:Local Loopback
 inet addr:127.0.0.1  Mask:255.0.0.0
 UP LOOPBACK RUNNING  MTU:16436  Metric:1
 RX packets:1236 errors:0 dropped:0 overruns:0 frame:0
 TX packets:1236 errors:0 dropped:0 overruns:0 carrier:0
 collisions:0 txqueuelen:0
 RX bytes:86198 (84.1 Kb)  TX bytes:86198 (84.1 Kb)

ppp0  Link encap:Point-to-Point Protocol
 inet addr:88.67.24.46  P-t-P:88.67.16.1  Mask:255.255.255.255
 UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1492  Metric:1
 RX packets:163 errors:0 dropped:0 overruns:0 frame:0
 TX packets:118 errors:0 dropped:0 overruns:0 carrier:0
 collisions:0 txqueuelen:3
 RX bytes:12249 (11.9 Kb)  TX bytes:8557 (8.3 Kb)


route

Kernel IP routing table
Destination Gateway Genmask Flags Metric RefUse Iface
dslb-088-067-01 *   255.255.255.255 UH0  00 ppp0
localhost   *   255.255.255.0   U 0  00 eth0
loopback*   255.0.0.0   U 0  00 lo
default dslb-088-067-01 0.0.0.0 UG0  00 ppp0


shorewall-config

/etc/shorewall/interfaces

#ZONE   INTERFACE   BROADCAST   OPTIONS
net ppp0-   tcpflags,norfc1918
loc eth0detect  tcpflags,detectnets


/etc/shorewall/masq

#INTERFACE  SUBNET  ADDRESS PROTO   PORT(S) IPSEC
ppp0eth0


/etc/shorewall/policy

#SOURCE DESTPOLICY  LOG LIMIT:BURST
# Policies for traffic originating from the local LAN (loc)
#
# If you want to force clients to access the Internet via a proxy server
# on your firewall, change the loc to net policy to REJECT info.
loc net ACCEPT
loc $FW REJECT  info
loc all REJECT  info

# Policies for traffic originating from the firewall ($FW)
#
# If you want open access to the Internet from your firewall, change the
# $FW to net policy to ACCEPT and remove the 'info' LOG LEVEL.
# This may be useful if you run a proxy server on the firewall.
$FW net ACCEPT
$FW loc REJECT  info
$FW all REJECT  info

# 

Re: [gentoo-user] usb scanner HP2200c

2007-01-14 Thread Neil Bothwick
On Sun, 14 Jan 2007 10:04:14 -0600, Dan wrote:

 here's the output from the system log, i use metalog so
 that's /var/log/everything/current.
 
  Jan 14 10:02:02 [kernel] usb 2-1:
 USB disconnect, address 2 Jan 14 10:02:08 [kernel] ohci_hcd
 :00:02.0: wakeup Jan 14 10:02:08 [kernel] usb 2-4: new full speed
 USB device using ohci_hcd and address 3 Jan 14 10:02:09 [kernel] usb
 2-4: configuration #1 chosen from 1 choice
 
 dmesg: 
 
 usb 2-1: USB disconnect, address 2
 ohci_hcd :00:02.0: wakeup
 usb 2-4: new full speed USB device using ohci_hcd and address 3
 usb 2-4: configuration #1 chosen from 1 choice

That's it? There would normally be several lines after that showing the
device's identification.


-- 
Neil Bothwick

We are upping our standards - so up yours.


signature.asc
Description: PGP signature


Re: [gentoo-user] Telling emerge to continue when something goes wrong

2007-01-14 Thread Alex Schuster
Iván Pérez Domínguez writes:

 After installing Gentoo in different machines several times, I wonder if
 is there any way to tell emerge to keep installing as much as possible
 even when something goes wrong.

Sure there is. Have a look at the emerge man page, there 's lots uf useful 
information. portage also has a nice man page.


  emerge stuff1 stuff2 stuff3

 emerge says the following packages will be emerged and so on.

 Alright. Then stuff1 fails to compile. I'd like emerge to continue
 trying to install stuff2 and stuff3 when possible.

emerge --resume --skipfirst
This resumes the last emerge, skipping the first package. Leave 
the --skipfirst to try again. I like to use FEATURES=keepwork 
emerge --resume to resume an interrupted emerge without restarting from 
scratch, but this feature seems to be broken at the moment.

 I know I could write several emerges in different lines (something like
 emerge stuff1; emerge stuff2; emerge stuff3), I just feel like this
 feature should have an option of its own in emerge (i.e.
 --keep-going-as-far-as-possible).

Maybe, but on the other hand it's a little bash one-liner.

 This could be very handy when updating world or, in general, when the
 emerge is going to take a lot of time and you decide to leave, expecting
 everything to be merged when you come back.

This will emerge world and continue after every error, skipping that 
package:
emerge world -u || while ! emerge --resume --skipfirst; do :; done

Alex

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Need help networking two machines.

2007-01-14 Thread Mick
Some quick thoughts:

On Friday 12 January 2007 10:09, Dale wrote:
 Hi

 I have done this before.  Maybe something has changed because I can not
 get it to work now.  My main rig is called smoker.  The second rig is
 currently booted off the CD.  I plan to use my main rig to sync and get

 distfiles off of.  This is off smokers /etc/conf.d/net file:
  config_eth0=( 192.168.0.1 netmask 255.255.255.0 broadcast
  192.168.0.255 )

 More info from smoker:
  eth0  Link encap:Ethernet  HWaddr 00:01:53:81:00:E7
inet addr:192.168.0.1  Bcast:192.168.0.255  Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
RX packets:34 errors:0 dropped:0 overruns:0 frame:0
TX packets:205 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:16458 (16.0 Kb)  TX bytes:5670 (5.5 Kb)
Interrupt:10 Base address:0xc000
 
  [EMAIL PROTECTED] / # ping 192.168.0.2
  PING 192.168.0.2 (192.168.0.2) 56(84) bytes of data.
  From 192.168.0.1 icmp_seq=1 Destination Host Unreachable
  From 192.168.0.1 icmp_seq=2 Destination Host Unreachable
  From 192.168.0.1 icmp_seq=3 Destination Host Unreachable
 
  --- 192.168.0.2 ping statistics ---
  5 packets transmitted, 0 received, +3 errors, 100% packet loss, time
  4009ms
  , pipe 3
  [EMAIL PROTECTED] / #

 If it helps any, I see traffic going over the network in gkrellm.

So, we know that packets go out, but we don't know if they are returned.  We 
also don't know if in case they are returned your iptables knock them out.

  [EMAIL PROTECTED] / # iptables -L
  Chain INPUT (policy ACCEPT)
  target prot opt source   destination
  ACCEPT tcp  --  anywhere anywheretcp dpt:http
  DROP   all  --  anywhere anywherestate
  INVALID,NEW
 
  Chain FORWARD (policy ACCEPT)
  target prot opt source   destination
  DROP   all  --  anywhere anywherestate
  INVALID,NEW
 
  Chain OUTPUT (policy ACCEPT)
  target prot opt source   destination
  [EMAIL PROTECTED] / #

Try again after you take iptables down, /etc/init.d/iptables stop, so that you 
eliminate one factor at a time.

 Route returns loopback and that is all.  Looks suspicious to me.  It
 doesn't have iptables installed on the CD.  I guess there are none.

 Oh, to test the cable, I set both to the same address.  When I tried to
 bring up the network, it gave me a error that the address was in use or
 something like that.  It saw it at least.

 Can someone tell me what I am doing wrong?  It has to be me.  It almost
 always is.

What does this give you:

# cat /proc/sys/net/ipv4/icmp_echo_ignore_all

HTH.
-- 
Regards,
Mick


pgprgYrTSdzeP.pgp
Description: PGP signature


Re: [gentoo-user] Re: ATI Radeon 9550

2007-01-14 Thread sean
James and all, thanks much for the help, however I have called it a day 
with this ATI Radeon 9550 card.


I lost several days troubleshooting the thing, and every corner I tuned 
ran into another problem. Torture!


Brought the card back to the store, replaced it with an Nvidia based card.
Emerged Xorg and the Nvidia drivers and have already completed the 
successful test of Xorg and the bright and shinning nvidia logo as it 
started brought a smile!

This was more like it should!

I know Nvidia is not perfect, but they have yet to fail me.
I will stick with them in the future.

Now my son waits anxiously for KDE to build.

Thanks again all,
Sean
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Improvement Request for Install CD

2007-01-14 Thread Matthias Fechner
Hello Avaricen,

* Avaricen [EMAIL PROTECTED] [12-01-07 02:03]:
 I'd suggest reading, start here:
 http://gentoo-wiki.com/HOWTO_Gentoo_LiveCD_and_LiveUSB

thx a lot for your link. The article is very interesting but it is not
what I wanted.

I asked which person or group I should ask that cpio is included into
the normal install CD which is generated by the getoo team.

It really sucks that I must always use a SuSE CD for that.

Best regards
Matthias

-- 

Programming today is a race between software engineers striving to
build bigger and better idiot-proof programs, and the universe trying to
produce bigger and better idiots. So far, the universe is winning. --
Rich Cook


pgpBnywia8uMl.pgp
Description: PGP signature


Re: [gentoo-user] Improvement Request for Install CD

2007-01-14 Thread Neil Bothwick
On Sun, 14 Jan 2007 22:57:54 +0100, Matthias Fechner wrote:

 I asked which person or group I should ask that cpio is included into
 the normal install CD which is generated by the getoo team.

File a request at http://bugs.gentoo.org


-- 
Neil Bothwick

COBOL: (n.) an old computer language, designed to be read and not
   run. Unfortunately, it is often run anyway.


signature.asc
Description: PGP signature


Re: [gentoo-user] Telling emerge to continue when something goes wrong

2007-01-14 Thread Iván Pérez Domínguez
Alex Schuster wrote:
 Iván Pérez Domínguez writes:
 
 After installing Gentoo in different machines several times, I wonder if
 is there any way to tell emerge to keep installing as much as possible
 even when something goes wrong.
 
 Sure there is. Have a look at the emerge man page, there 's lots uf useful 
 information. portage also has a nice man page.

I just read both (and make.conf as well). Maybe I missed something, but
I think that suggestion has not been implemented so far.

 
 
  emerge stuff1 stuff2 stuff3

 emerge says the following packages will be emerged and so on.

 Alright. Then stuff1 fails to compile. I'd like emerge to continue
 trying to install stuff2 and stuff3 when possible.
 
 emerge --resume --skipfirst
 This resumes the last emerge, skipping the first package. Leave 
 the --skipfirst to try again.

This one I already knew.

 I like to use FEATURES=keepwork 
 emerge --resume to resume an interrupted emerge without restarting from 
 scratch, but this feature seems to be broken at the moment.
 
 I know I could write several emerges in different lines (something like
 emerge stuff1; emerge stuff2; emerge stuff3), I just feel like this
 feature should have an option of its own in emerge (i.e.
 --keep-going-as-far-as-possible).
 
 Maybe, but on the other hand it's a little bash one-liner.

I don't get your point here, sorry.

 
 This could be very handy when updating world or, in general, when the
 emerge is going to take a lot of time and you decide to leave, expecting
 everything to be merged when you come back.
 
 This will emerge world and continue after every error, skipping that 
 package:
 emerge world -u || while ! emerge --resume --skipfirst; do :; done
 
   Alex
 

As I said before, the line above (emerge a; emerge b; emerge c;) could
work as well. The main point is that, in my opinion, that feature should
be included in emerge itself.

Your line has a problem: it won't skip the first package in your line,
it will skip only the first package to be emerged, which may be a
required dependency to build another package, propagating an error in
one compilation to later compilations. Even worse, some package could
get installed without one of its dependencies.

   Ivan.


smime.p7s
Description: S/MIME Cryptographic Signature


Re: [gentoo-user] Setting up a home router

2007-01-14 Thread Dale
Daniel Pielmeier wrote:
 Hi,

 I have a similar problem like Dale in this thread [gentoo-user] Need
 help networking two machines, but i think it is not exactly the same.

 I was trying to set up a home router following the
 gentoo-home-router-guide
 http://www.gentoo.org/doc/de/home-router-howto.xml
 with shorewall as firewall following the two-interfaces-guide
 http://www.shorewall.net/two-interface.htm.

 I can connect from the router to the internet.
 I can log in from the router to the desktop per ssh and back.
 I have set up an rsync on the router and rsync works from the desktop.
 I have set up dnsmasq on the server and dns is working on the desktop.
 I can ping between router and desktop and from the router to the internet

 I have set up an ntp on the router but ntp from the desktop gives me.
 14 Jan 20:25:53 ntpdate[31522]: no server suitable for synchronization
 found

 I can't ping from the desktop to the internet.
 ping www.gentoo.org
 PING www.gentoo.org (38.99.64.202) 56(84) bytes of data.

 --- www.gentoo.org ping statistics ---
 13 packets transmitted, 0 received, 100% packet loss, time 11999ms

 As you can see the address is resolved but i get 100% packet loss.
 Until now i have spent much time on this issues, so i hope to solve
 these problems with your help.
 I have added the configurations which may help you to discover my
 problem below. First the router configuration and then the desktop
 configuration.
 I hope i did not forget anything as it is very much, but if anything
 you need is missing please ask for it.

 Thanks Daniel



Hi,

I used this script a long time ago.  It worked until iptables got
changed.  It still worked but it gave a few errors.  Maybe some guru can
look at this and update it for us both.  Then maybe I can get someone to
upgrade the script on the site.  I had to edit the very first bit about
which interface is what.  Here it is:

 #!/bin/bash
  IPTABLES='/sbin/iptables'
 # Set interface values
  EXTIF='ppp0'
  #INTIF0='eth0'
  INTIF1='eth0'
  INTIF2='eth1'
  INTIF3='eth2'

 # enable ip forwarding in the kernel
  /bin/echo 1  /proc/sys/net/ipv4/ip_forward
 # flush rules and delete chains
  $IPTABLES -F
  $IPTABLES -X
 # enable masquerading to allow LAN internet access
  $IPTABLES -t nat -A POSTROUTING -o $EXTIF -j MASQUERADE
 # forward LAN traffic from $INTIF1 to Internet interface $EXTIF
  $IPTABLES -A FORWARD -i $INTIF1 -o $EXTIF -m state --state
 NEW,ESTABLISHED -j ACCEPT
 # forward LAN traffic from $INTIF2 to Internet interface $EXTIF
  $IPTABLES -A FORWARD -i $INTIF2 -o $EXTIF -m state --state
 #NEW,ESTABLISHED -j ACCEPT
  #echo -e- Allowing access to the SSH server
  $IPTABLES -A INPUT --protocol ssh --dport 22 -j ACCEPT
  #echo -e- Allowing access to the HTTP server
  $IPTABLES -A INPUT --protocol tcp --dport 80 -j ACCEPT
 # block out all other Internet access on $EXTIF
  $IPTABLES -A INPUT -i $EXTIF -m state --state NEW,INVALID -j DROP
  $IPTABLES -A FORWARD -i $EXTIF -m state --state NEW,INVALID -j DROP


OK.  Now some guru help us out here.  LOL  I got to redo my install on
my second machine.  I rebooted it and it is in awful shape.  I think
something is wrong with a init script.  It boots the kernel but errors
out trying to enter a run level.  Portage can't complete a compile
either.  It complains about the date not being set, but it is.  I need
to get the rust out anyway on installing.  Yup, the old command line
way.  I boot gentoo nox.  LOL  I have to use the 2005.1 install guide
though.  :-(

Supper time.

Dale

:-)  :-)  :-)  :-)


-- 
www.myspace.com/dalek1967

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] ATI Radeon 9550

2007-01-14 Thread Mark Kirkwood

Mark Kirkwood wrote:


# echo INPUT_DEVICES=\keyboard mouse\  /etc/make.conf
# echo VIDEO_CARDS=\radeon vesa\  /etc/make.conf
# VIDEO_CARDS=radeon emerge x11-drm
# emerge xorg-x11
# env-update
# source /etc/profile
# Xorg -configure   # fails mouse detect
# sed 's/\/dev\/mouse/\/dev\/input\/mice/' xorg.conf.new   xorg.conf.newer
# Xorg -config `pwd`/xorg.conf.newer
# cp xorg.conf.newer /etc/X11/xorg.conf # only if prev works!

Note that Xorg -configure seems to fail to detect the mouse device, but 
gives an otherwise good file.




Purely for completeness (since Sean is switched to a Nvidea card now)... 
Xorg -configure does not enable non-root users to have DRI enabled, so I 
needed to append to xorg.conf:


Section DRI
Mode 0666
EndSection


Best wishes

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



[gentoo-user] [way OT]network drivers for windows xp guest in vmware player?

2007-01-14 Thread b.n.

Hi,
sorry if asking this here but there is always a bit of vmware-related 
activity in this ML, so I guess I can find someone rapidly helping me.


I have successfully installed a WinXP SP2 guest in vmware-player, using 
easyVMX for building the virtual machine config. Everything works well, 
except for networking.


The problem is, Windows complains the ethernet card has no drivers, so 
it refuses to connect.


Googling, searching vmware forums etc. didn't help. Anyone says just 
select NAT in the player and it works.


Any hint?

thanks!
m.
--
gentoo-user@gentoo.org mailing list



[gentoo-user] Problem with kernel 2.6.18-r6

2007-01-14 Thread Iván Pérez Domínguez
I'm having a problem with kernel 2.6.18-r6. My laptop hangs during boot,
right after detecting the mouse and the keyboard. I doesn't matter
whether I enable initrd or not, it dies anyway. No kernel panic, no oops
messages, it simply freezes.

The funny thing is that sometimes it keeps running a little more
(detects the hard disk, sometimes even the dvd drive), and 1 in 100
times, everything works fine and it boots normally.

I'm currently running kernel 2.6.13 and everything works fine (despite
the things that need 2.6.13 to work).

I attach my kernel config, maybe someone knows what I'm doing wrong.

#
# Automatically generated make config: don't edit
# Linux kernel version: 2.6.18-gentoo-r6
# Sun Jan 14 03:03:47 2007
#
CONFIG_X86_32=y
CONFIG_GENERIC_TIME=y
CONFIG_LOCKDEP_SUPPORT=y
CONFIG_STACKTRACE_SUPPORT=y
CONFIG_SEMAPHORE_SLEEPERS=y
CONFIG_X86=y
CONFIG_MMU=y
CONFIG_GENERIC_ISA_DMA=y
CONFIG_GENERIC_IOMAP=y
CONFIG_GENERIC_HWEIGHT=y
CONFIG_ARCH_MAY_HAVE_PC_FDC=y
CONFIG_DMI=y
CONFIG_DEFCONFIG_LIST=/lib/modules/$UNAME_RELEASE/.config

#
# Code maturity level options
#
CONFIG_EXPERIMENTAL=y
CONFIG_BROKEN_ON_SMP=y
CONFIG_LOCK_KERNEL=y
CONFIG_INIT_ENV_ARG_LIMIT=32

#
# General setup
#
CONFIG_LOCALVERSION=
# CONFIG_LOCALVERSION_AUTO is not set
CONFIG_SWAP=y
CONFIG_SYSVIPC=y
# CONFIG_POSIX_MQUEUE is not set
# CONFIG_BSD_PROCESS_ACCT is not set
# CONFIG_TASKSTATS is not set
# CONFIG_AUDIT is not set
CONFIG_IKCONFIG=y
CONFIG_IKCONFIG_PROC=y
# CONFIG_RELAY is not set
CONFIG_INITRAMFS_SOURCE=
# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set
# CONFIG_EMBEDDED is not set
CONFIG_UID16=y
CONFIG_SYSCTL=y
CONFIG_KALLSYMS=y
# CONFIG_KALLSYMS_EXTRA_PASS is not set
CONFIG_HOTPLUG=y
CONFIG_PRINTK=y
CONFIG_BUG=y
CONFIG_ELF_CORE=y
CONFIG_BASE_FULL=y
CONFIG_FUTEX=y
CONFIG_EPOLL=y
CONFIG_SHMEM=y
CONFIG_SLAB=y
CONFIG_VM_EVENT_COUNTERS=y
CONFIG_RT_MUTEXES=y
# CONFIG_TINY_SHMEM is not set
CONFIG_BASE_SMALL=0
# CONFIG_SLOB is not set

#
# Loadable module support
#
CONFIG_MODULES=y
CONFIG_MODULE_UNLOAD=y
# CONFIG_MODULE_FORCE_UNLOAD is not set
# CONFIG_MODVERSIONS is not set
# CONFIG_MODULE_SRCVERSION_ALL is not set
CONFIG_KMOD=y

#
# Block layer
#
# CONFIG_LBD is not set
# CONFIG_BLK_DEV_IO_TRACE is not set
# CONFIG_LSF is not set

#
# IO Schedulers
#
CONFIG_IOSCHED_NOOP=y
CONFIG_IOSCHED_AS=m
CONFIG_IOSCHED_DEADLINE=m
CONFIG_IOSCHED_CFQ=m
# CONFIG_DEFAULT_AS is not set
# CONFIG_DEFAULT_DEADLINE is not set
# CONFIG_DEFAULT_CFQ is not set
CONFIG_DEFAULT_NOOP=y
CONFIG_DEFAULT_IOSCHED=noop

#
# Processor type and features
#
# CONFIG_SMP is not set
CONFIG_X86_PC=y
# CONFIG_X86_ELAN is not set
# CONFIG_X86_VOYAGER is not set
# CONFIG_X86_NUMAQ is not set
# CONFIG_X86_SUMMIT is not set
# CONFIG_X86_BIGSMP is not set
# CONFIG_X86_VISWS is not set
# CONFIG_X86_GENERICARCH is not set
# CONFIG_X86_ES7000 is not set
# CONFIG_M386 is not set
# CONFIG_M486 is not set
# CONFIG_M586 is not set
# CONFIG_M586TSC is not set
# CONFIG_M586MMX is not set
# CONFIG_M686 is not set
# CONFIG_MPENTIUMII is not set
# CONFIG_MPENTIUMIII is not set
CONFIG_MPENTIUMM=y
# CONFIG_MPENTIUM4 is not set
# CONFIG_MK6 is not set
# CONFIG_MK7 is not set
# CONFIG_MK8 is not set
# CONFIG_MCRUSOE is not set
# CONFIG_MEFFICEON is not set
# CONFIG_MWINCHIPC6 is not set
# CONFIG_MWINCHIP2 is not set
# CONFIG_MWINCHIP3D is not set
# CONFIG_MGEODEGX1 is not set
# CONFIG_MGEODE_LX is not set
# CONFIG_MCYRIXIII is not set
# CONFIG_MVIAC3_2 is not set
# CONFIG_X86_GENERIC is not set
CONFIG_X86_CMPXCHG=y
CONFIG_X86_XADD=y
CONFIG_X86_L1_CACHE_SHIFT=6
CONFIG_RWSEM_XCHGADD_ALGORITHM=y
CONFIG_GENERIC_CALIBRATE_DELAY=y
CONFIG_X86_WP_WORKS_OK=y
CONFIG_X86_INVLPG=y
CONFIG_X86_BSWAP=y
CONFIG_X86_POPAD_OK=y
CONFIG_X86_CMPXCHG64=y
CONFIG_X86_GOOD_APIC=y
CONFIG_X86_INTEL_USERCOPY=y
CONFIG_X86_USE_PPRO_CHECKSUM=y
CONFIG_X86_TSC=y
# CONFIG_HPET_TIMER is not set
# CONFIG_PREEMPT_NONE is not set
# CONFIG_PREEMPT_VOLUNTARY is not set
CONFIG_PREEMPT=y
CONFIG_PREEMPT_BKL=y
# CONFIG_X86_UP_APIC is not set
CONFIG_X86_MCE=y
CONFIG_X86_MCE_NONFATAL=y
CONFIG_VM86=y
# CONFIG_TOSHIBA is not set
# CONFIG_I8K is not set
# CONFIG_X86_REBOOTFIXUPS is not set
# CONFIG_MICROCODE is not set
# CONFIG_X86_MSR is not set
# CONFIG_X86_CPUID is not set

#
# Firmware Drivers
#
# CONFIG_EDD is not set
# CONFIG_DELL_RBU is not set
# CONFIG_DCDBAS is not set
# CONFIG_NOHIGHMEM is not set
CONFIG_HIGHMEM4G=y
# CONFIG_HIGHMEM64G is not set
CONFIG_PAGE_OFFSET=0xC000
CONFIG_HIGHMEM=y
CONFIG_ARCH_FLATMEM_ENABLE=y
CONFIG_ARCH_SPARSEMEM_ENABLE=y
CONFIG_ARCH_SELECT_MEMORY_MODEL=y
CONFIG_SELECT_MEMORY_MODEL=y
CONFIG_FLATMEM_MANUAL=y
# CONFIG_DISCONTIGMEM_MANUAL is not set
# CONFIG_SPARSEMEM_MANUAL is not set
CONFIG_FLATMEM=y
CONFIG_FLAT_NODE_MEM_MAP=y
CONFIG_SPARSEMEM_STATIC=y
CONFIG_SPLIT_PTLOCK_CPUS=4
# CONFIG_RESOURCES_64BIT is not set
# CONFIG_HIGHPTE is not set
# CONFIG_MATH_EMULATION is not set
CONFIG_MTRR=y
# CONFIG_EFI is not set
# CONFIG_REGPARM is not set
CONFIG_SECCOMP=y
# CONFIG_HZ_100 is not set
CONFIG_HZ_250=y
# 

[gentoo-user] Problem with kernel 2.6.18-r6

2007-01-14 Thread Iván Pérez Domínguez
Hi there.

I'm having a problem with kernel 2.6.18-r6. My laptop hangs during boot,
right after detecting the mouse and the keyboard. it doesn't matter
whether I enable initrd or not, dies anyway. No kernel panic, no oops
messages, it simply freezes.

The funny thing is that sometimes it keeps running a little more
(detects the hard disk, sometimes even the dvd drive), and 1 in 100
times, everything works fine and it boots normally.

I'm currently running kernel 2.6.13 and everything works fine (despite
the things that need 2.6.13 to work).

I attach my kernel config, maybe someone knows what I'm doing wrong.

Cheers,

  Ivan
#
# Automatically generated make config: don't edit
# Linux kernel version: 2.6.18-gentoo-r6
# Sun Jan 14 03:03:47 2007
#
CONFIG_X86_32=y
CONFIG_GENERIC_TIME=y
CONFIG_LOCKDEP_SUPPORT=y
CONFIG_STACKTRACE_SUPPORT=y
CONFIG_SEMAPHORE_SLEEPERS=y
CONFIG_X86=y
CONFIG_MMU=y
CONFIG_GENERIC_ISA_DMA=y
CONFIG_GENERIC_IOMAP=y
CONFIG_GENERIC_HWEIGHT=y
CONFIG_ARCH_MAY_HAVE_PC_FDC=y
CONFIG_DMI=y
CONFIG_DEFCONFIG_LIST=/lib/modules/$UNAME_RELEASE/.config

#
# Code maturity level options
#
CONFIG_EXPERIMENTAL=y
CONFIG_BROKEN_ON_SMP=y
CONFIG_LOCK_KERNEL=y
CONFIG_INIT_ENV_ARG_LIMIT=32

#
# General setup
#
CONFIG_LOCALVERSION=
# CONFIG_LOCALVERSION_AUTO is not set
CONFIG_SWAP=y
CONFIG_SYSVIPC=y
# CONFIG_POSIX_MQUEUE is not set
# CONFIG_BSD_PROCESS_ACCT is not set
# CONFIG_TASKSTATS is not set
# CONFIG_AUDIT is not set
CONFIG_IKCONFIG=y
CONFIG_IKCONFIG_PROC=y
# CONFIG_RELAY is not set
CONFIG_INITRAMFS_SOURCE=
# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set
# CONFIG_EMBEDDED is not set
CONFIG_UID16=y
CONFIG_SYSCTL=y
CONFIG_KALLSYMS=y
# CONFIG_KALLSYMS_EXTRA_PASS is not set
CONFIG_HOTPLUG=y
CONFIG_PRINTK=y
CONFIG_BUG=y
CONFIG_ELF_CORE=y
CONFIG_BASE_FULL=y
CONFIG_FUTEX=y
CONFIG_EPOLL=y
CONFIG_SHMEM=y
CONFIG_SLAB=y
CONFIG_VM_EVENT_COUNTERS=y
CONFIG_RT_MUTEXES=y
# CONFIG_TINY_SHMEM is not set
CONFIG_BASE_SMALL=0
# CONFIG_SLOB is not set

#
# Loadable module support
#
CONFIG_MODULES=y
CONFIG_MODULE_UNLOAD=y
# CONFIG_MODULE_FORCE_UNLOAD is not set
# CONFIG_MODVERSIONS is not set
# CONFIG_MODULE_SRCVERSION_ALL is not set
CONFIG_KMOD=y

#
# Block layer
#
# CONFIG_LBD is not set
# CONFIG_BLK_DEV_IO_TRACE is not set
# CONFIG_LSF is not set

#
# IO Schedulers
#
CONFIG_IOSCHED_NOOP=y
CONFIG_IOSCHED_AS=m
CONFIG_IOSCHED_DEADLINE=m
CONFIG_IOSCHED_CFQ=m
# CONFIG_DEFAULT_AS is not set
# CONFIG_DEFAULT_DEADLINE is not set
# CONFIG_DEFAULT_CFQ is not set
CONFIG_DEFAULT_NOOP=y
CONFIG_DEFAULT_IOSCHED=noop

#
# Processor type and features
#
# CONFIG_SMP is not set
CONFIG_X86_PC=y
# CONFIG_X86_ELAN is not set
# CONFIG_X86_VOYAGER is not set
# CONFIG_X86_NUMAQ is not set
# CONFIG_X86_SUMMIT is not set
# CONFIG_X86_BIGSMP is not set
# CONFIG_X86_VISWS is not set
# CONFIG_X86_GENERICARCH is not set
# CONFIG_X86_ES7000 is not set
# CONFIG_M386 is not set
# CONFIG_M486 is not set
# CONFIG_M586 is not set
# CONFIG_M586TSC is not set
# CONFIG_M586MMX is not set
# CONFIG_M686 is not set
# CONFIG_MPENTIUMII is not set
# CONFIG_MPENTIUMIII is not set
CONFIG_MPENTIUMM=y
# CONFIG_MPENTIUM4 is not set
# CONFIG_MK6 is not set
# CONFIG_MK7 is not set
# CONFIG_MK8 is not set
# CONFIG_MCRUSOE is not set
# CONFIG_MEFFICEON is not set
# CONFIG_MWINCHIPC6 is not set
# CONFIG_MWINCHIP2 is not set
# CONFIG_MWINCHIP3D is not set
# CONFIG_MGEODEGX1 is not set
# CONFIG_MGEODE_LX is not set
# CONFIG_MCYRIXIII is not set
# CONFIG_MVIAC3_2 is not set
# CONFIG_X86_GENERIC is not set
CONFIG_X86_CMPXCHG=y
CONFIG_X86_XADD=y
CONFIG_X86_L1_CACHE_SHIFT=6
CONFIG_RWSEM_XCHGADD_ALGORITHM=y
CONFIG_GENERIC_CALIBRATE_DELAY=y
CONFIG_X86_WP_WORKS_OK=y
CONFIG_X86_INVLPG=y
CONFIG_X86_BSWAP=y
CONFIG_X86_POPAD_OK=y
CONFIG_X86_CMPXCHG64=y
CONFIG_X86_GOOD_APIC=y
CONFIG_X86_INTEL_USERCOPY=y
CONFIG_X86_USE_PPRO_CHECKSUM=y
CONFIG_X86_TSC=y
# CONFIG_HPET_TIMER is not set
# CONFIG_PREEMPT_NONE is not set
# CONFIG_PREEMPT_VOLUNTARY is not set
CONFIG_PREEMPT=y
CONFIG_PREEMPT_BKL=y
# CONFIG_X86_UP_APIC is not set
CONFIG_X86_MCE=y
CONFIG_X86_MCE_NONFATAL=y
CONFIG_VM86=y
# CONFIG_TOSHIBA is not set
# CONFIG_I8K is not set
# CONFIG_X86_REBOOTFIXUPS is not set
# CONFIG_MICROCODE is not set
# CONFIG_X86_MSR is not set
# CONFIG_X86_CPUID is not set

#
# Firmware Drivers
#
# CONFIG_EDD is not set
# CONFIG_DELL_RBU is not set
# CONFIG_DCDBAS is not set
# CONFIG_NOHIGHMEM is not set
CONFIG_HIGHMEM4G=y
# CONFIG_HIGHMEM64G is not set
CONFIG_PAGE_OFFSET=0xC000
CONFIG_HIGHMEM=y
CONFIG_ARCH_FLATMEM_ENABLE=y
CONFIG_ARCH_SPARSEMEM_ENABLE=y
CONFIG_ARCH_SELECT_MEMORY_MODEL=y
CONFIG_SELECT_MEMORY_MODEL=y
CONFIG_FLATMEM_MANUAL=y
# CONFIG_DISCONTIGMEM_MANUAL is not set
# CONFIG_SPARSEMEM_MANUAL is not set
CONFIG_FLATMEM=y
CONFIG_FLAT_NODE_MEM_MAP=y
CONFIG_SPARSEMEM_STATIC=y
CONFIG_SPLIT_PTLOCK_CPUS=4
# CONFIG_RESOURCES_64BIT is not set
# CONFIG_HIGHPTE is not set
# CONFIG_MATH_EMULATION is not set
CONFIG_MTRR=y
# CONFIG_EFI is not set
# CONFIG_REGPARM is not set
CONFIG_SECCOMP=y
# CONFIG_HZ_100 is not set

Re: [gentoo-user] OT - Question about kernels and kernel patches

2007-01-14 Thread Iain Buchanan
On Wed, 2007-01-10 at 20:21 -0600, Michael Sullivan wrote:
  Is it possible for me to unpack
 the kernel source, apply the Win4Lin patches, and then patch that kernel
 all the way up to 2.6.18?

you could try applying the patches straight to the 2.6.18 kernel.
Depending on how much of the relevant files have changed, the patches
_may_ still work.  patch will tell you whether it fails or not.
-- 
Iain Buchanan iaindb at netspace dot net dot au

Alimony is like buying oats for a dead horse.
-- Arthur Baer

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Telling emerge to continue when something goes wrong

2007-01-14 Thread Boyd Stephen Smith Jr.
On Sunday 14 January 2007 13:22, Iván Pérez Domínguez 
[EMAIL PROTECTED] wrote about '[gentoo-user] Telling emerge 
to continue when something goes wrong':
 After installing Gentoo in different machines several times, I wonder if
 is there any way to tell emerge to keep installing as much as possible
 even when something goes wrong.

No, there's not.  But, there is a way to emerge to restart either from the 
package where it errored out (emerge --resume), or on the next package 
(emerge --resume --skipfirst).

Since emerge is a somewhat well-behaved program, it if fails it will exit 
with a non-zero exit code.  With that knowledge in hand it's easy to have 
your shell restart things.  The following (all one line) should work in 
any POSIX-compliant shell:

emerge --some-options a-bunch/of-packages || while ! 
emerge --resume --skipfirst; do :; done

I've also attached a longer system update script that I use, for reference.

In general, it's best for a program to bail out if it discovers it can't do 
everything you asked, and not do it half-way.  The only program that 
even provides a keep going option is make, and all the uses I've seen of 
that option are abuses.

-- 
If there's one thing we've established over the years,
it's that the vast majority of our users don't have the slightest
clue what's best for them in terms of package stability.
-- Gentoo Developer Ciaran McCreesh


sys-update
Description: application/shellscript


pgp5Oaz38wepe.pgp
Description: PGP signature


Re: [gentoo-user] Setting up a home router

2007-01-14 Thread Daniel Pielmeier

I used this script a long time ago.  It worked until iptables got
changed.  It still worked but it gave a few errors.  Maybe some guru can
look at this and update it for us both.  Then maybe I can get someone to
upgrade the script on the site.  I had to edit the very first bit about
which interface is what.  Here it is:


I have tested your script! Do you get an error like this:
iptables v1.3.5: unknown protocol `ssh' specified

I am not sure if it is right but i have replaced this line

$IPTABLES -A INPUT --protocol ssh --dport 22 -j ACCEPT
by
$IPTABLES -A INPUT --protocol tcp --dport 22 -j ACCEPT

and the error disappears.

For me using this iptable rules didn't work, i still can't ping the
internet rom my desktop and also get the error message by the
ntp-client on my desktop.

Any other suggestions!




Here is how i changed the script to fit my needs!

#!/bin/bash

IPTABLES='/sbin/iptables'

# Set interface values
EXTIF='ppp0'
#INTIF0='eth0'
INTIF1='eth0'
INTIF2='eth1'

# enable ip forwarding in the kernel
/bin/echo 1  /proc/sys/net/ipv4/ip_forward

# flush rules and delete chains
$IPTABLES -F
$IPTABLES -X

# enable masquerading to allow LAN internet access
$IPTABLES -t nat -A POSTROUTING -o $EXTIF -j MASQUERADE

# forward LAN traffic from $INTIF1 to Internet interface $EXTIF
$IPTABLES -A FORWARD -i $INTIF1 -o $EXTIF -m state --state
NEW,ESTABLISHED -j ACCEPT

# forward LAN traffic from $INTIF2 to Internet interface $EXTIF
$IPTABLES -A FORWARD -i $INTIF2 -o $EXTIF -m state --state
NEW,ESTABLISHED -j ACCEPT

#echo -e- Allowing access to the SSH server
$IPTABLES -A INPUT --protocol tcp --dport 22 -j ACCEPT

#echo -e- Allowing access to the HTTP server
$IPTABLES -A INPUT --protocol tcp --dport 80 -j ACCEPT

# block out all other Internet access on $EXTIF
$IPTABLES -A INPUT -i $EXTIF -m state --state NEW,INVALID -j DROP
$IPTABLES -A FORWARD -i $EXTIF -m state --state NEW,INVALID -j DROP
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Telling emerge to continue when something goes wrong

2007-01-14 Thread Iain Buchanan
On Sun, 2007-01-14 at 21:34 +0100, Alex Schuster wrote:
 Iván Pérez Domínguez writes:
 
  After installing Gentoo in different machines several times, I wonder if
  is there any way to tell emerge to keep installing as much as possible
  even when something goes wrong.
 
 Sure there is. Have a look at the emerge man page, there 's lots uf useful 
 information. portage also has a nice man page.

 emerge --resume --skipfirst

--skipfirst requires manual intervention after emerge has failed.  I
think the OP is asking for something that just continues without
intervention.

You would, of course want this command to be nice to dependencies,
otherwise you'll break something.  I've often wondered about such a
feature during emerge world.  Especially when it breaks in the first few
packages.  In a case like this (indent showing dependencies):

pkg-a
 pkg-b
pkg-c
 pkg-d

emerge would build in the order pkg-b pkg-a pkg-d pkg-c.  If emerge
fails during pkg-b, whats to stop it continuing at pkg-d and then pkg-c?

cya,
-- 
Iain Buchanan iaindb at netspace dot net dot au

Never trust anyone who says money is no object.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Telling emerge to continue when something goes wrong

2007-01-14 Thread Iain Buchanan
On Sun, 2007-01-14 at 18:15 -0600, Boyd Stephen Smith Jr. wrote:
 On Sunday 14 January 2007 13:22, Iván Pérez Domínguez 
 [EMAIL PROTECTED] wrote about '[gentoo-user] Telling emerge 
 to continue when something goes wrong':
  After installing Gentoo in different machines several times, I wonder if
  is there any way to tell emerge to keep installing as much as possible
  even when something goes wrong.
 
 No, there's not.  But, there is a way to emerge to restart either from the 
 package where it errored out (emerge --resume), or on the next package 
 (emerge --resume --skipfirst).

I should add that --skipfirst is sometimes bad because it ignores
dependencies.  If you let emerge do it, then you could only resume
packages whose dependencies were satisfied.

cya,
-- 
Iain Buchanan iaindb at netspace dot net dot au

When a fellow says, It ain't the money but the principle of the thing,
it's the money.
-- Kim Hubbard

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] net.eth0 net.eth1 net.eth2 persist in trying to come up even though not in any run level.

2007-01-14 Thread Iain Buchanan
On Wed, 2007-01-10 at 20:39 +, Mick wrote:
 On Tuesday 09 January 2007 23:12, Iain Buchanan wrote:
  On Tue, 2007-01-09 at 19:56 +, Mick wrote:
   On Tuesday 09 January 2007 01:13, Iain Buchanan wrote:
hmm, now I look at it, I have RC_PLUG_SERVICES=!bluetooth, and yet
the bluetooth service is still started automatically (not in any
runlevel).
   
thoughts? thanks,
 
Does it still start if you rc-update del it?  If yes, 
 then I'm thinking that it may be that the device is modprobed by udev and 
 then ifplug, or what-have-you, picks it up?

yes, it starts even though I've 'rc-update del'ed it!  hmm, if it's
modprobed by udev, then who's starting the service?

   I can't really compare with mine because bluetooth won't come up no
   matter what.  :-(
 
  that's what this list is for :-)
 
 I think mine is a hardware problem. I can't see it in lshw  lspci.  I have 
 posted about it in the past and some good souls tried to help but I didn't 
 get far.  Still using the IrDA to spk to my mobile.  :-(

what about lsusb?
-- 
Iain Buchanan iaindb at netspace dot net dot au

Dear Lord:
I just want *one* one-armed manager so I never have to hear On
the other hand, again.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Setting up a home router

2007-01-14 Thread Thomas Lingefelt
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Honestly for making a router ShoreWall really helps out.  Shorewall is
basically a set of scripts that read configuration files that you set up
and then interacts with iptables for you.

http://www.shorewall.net/
http://www.shorewall.net/shorewall_quickstart_guide.htm

Thomas

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFqtFkUej1z0ta0fkRCMMTAKCM61IGDuf4rQZgyQLtHqCRZJfeGgCfRyxA
Az/lP6UnXA8eOQ+M3MS3SEo=
=81WU
-END PGP SIGNATURE-
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Setting up a home router

2007-01-14 Thread Dale
Daniel Pielmeier wrote:
 I used this script a long time ago.  It worked until iptables got
 changed.  It still worked but it gave a few errors.  Maybe some guru can
 look at this and update it for us both.  Then maybe I can get someone to
 upgrade the script on the site.  I had to edit the very first bit about
 which interface is what.  Here it is:

 I have tested your script! Do you get an error like this:
 iptables v1.3.5: unknown protocol `ssh' specified

 I am not sure if it is right but i have replaced this line

 $IPTABLES -A INPUT --protocol ssh --dport 22 -j ACCEPT
 by
 $IPTABLES -A INPUT --protocol tcp --dport 22 -j ACCEPT

 and the error disappears.

 For me using this iptable rules didn't work, i still can't ping the
 internet rom my desktop and also get the error message by the
 ntp-client on my desktop.

 Any other suggestions!




 Here is how i changed the script to fit my needs!

 #!/bin/bash

 IPTABLES='/sbin/iptables'

 # Set interface values
 EXTIF='ppp0'
 #INTIF0='eth0'
 INTIF1='eth0'
 INTIF2='eth1'

 # enable ip forwarding in the kernel
 /bin/echo 1  /proc/sys/net/ipv4/ip_forward

 # flush rules and delete chains
 $IPTABLES -F
 $IPTABLES -X

 # enable masquerading to allow LAN internet access
 $IPTABLES -t nat -A POSTROUTING -o $EXTIF -j MASQUERADE

 # forward LAN traffic from $INTIF1 to Internet interface $EXTIF
 $IPTABLES -A FORWARD -i $INTIF1 -o $EXTIF -m state --state
 NEW,ESTABLISHED -j ACCEPT

 # forward LAN traffic from $INTIF2 to Internet interface $EXTIF
 $IPTABLES -A FORWARD -i $INTIF2 -o $EXTIF -m state --state
 NEW,ESTABLISHED -j ACCEPT

 #echo -e- Allowing access to the SSH server
 $IPTABLES -A INPUT --protocol tcp --dport 22 -j ACCEPT

 #echo -e- Allowing access to the HTTP server
 $IPTABLES -A INPUT --protocol tcp --dport 80 -j ACCEPT

 # block out all other Internet access on $EXTIF
 $IPTABLES -A INPUT -i $EXTIF -m state --state NEW,INVALID -j DROP
 $IPTABLES -A FORWARD -i $EXTIF -m state --state NEW,INVALID -j DROP

Are you on dial-up too?  The EXTIF='ppp0' may need to be eth0 for you if
you are using a DSL or cable connection.

I'm not real sure about any of this stuff really.  I need to get a book
on iptables and a whole lot of other things too.  Because of my health I
can't sit at the puter long enough to learn anything.  I can read a book
in bed then.

I'll see if I can think of something else.  Maybe some guru can help us
both out.  I need that to work too.  hmm, come to think of it, I have a
thread on the forums.  Try this:

http://forums.gentoo.org/viewtopic-t-249167-highlight-iptables.html

That may help.  I tend to ramble a bit.  Sorry.

Dale

:-)  :-)  :-)

-- 
www.myspace.com/dalek1967

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] etc-update automerge-trivial-changes-only flag

2007-01-14 Thread Iván Pérez Domínguez
A few weeks ago I modified etc-update to add a new flag.
This new flag makes etc-update to apply trivial changes
exit without showing the menu.

A bug was filed, but had no response so far.

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

I just wanted to know what you think.

PS. This etc-update could be automatically run after each emerge, so
that trivial changes are auto-merged and you are informed about
non-trivial changes only.



smime.p7s
Description: S/MIME Cryptographic Signature


Re: [gentoo-user] Setting up a home router

2007-01-14 Thread Dale
Thomas Lingefelt wrote:
 Honestly for making a router ShoreWall really helps out.  Shorewall is
 basically a set of scripts that read configuration files that you set up
 and then interacts with iptables for you.

 http://www.shorewall.net/
 http://www.shorewall.net/shorewall_quickstart_guide.htm

 Thomas


If you have webmin installed, webmin can take care of some of this, both
iptables and shorewall.  It's GUI too.  ;-)  Maybe you know enough about
it to figure out to get webmin to do it.  Webmin is pretty cool.  I used
it to set up Samba once.

Dale

:-)  :-)  :-)  :-)



-- 
www.myspace.com/dalek1967

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Setting up a home router

2007-01-14 Thread Daniel Pielmeier

Are you on dial-up too?  The EXTIF='ppp0' may need to be eth0 for you if
you are using a DSL or cable connection.


I use an adsl-modem to connect  to the internet. It is configured over
eth1 but the connection runs over ppp0 so i think this is right, but i
am not sure.
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Telling emerge to continue when something goes wrong

2007-01-14 Thread Boyd Stephen Smith Jr.
On Sunday 14 January 2007 19:08, Iván Pérez Domínguez 
[EMAIL PROTECTED] wrote about 'Re: [gentoo-user] Telling 
emerge to continue when something goes wrong':
 Boyd Stephen Smith Jr. wrote:
  I've also attached a longer system update script that I use, for
  reference.

 I've been taking a look at the script. I wonder why using emerge --sync
 at the beginning and update-eix at the end instead of an eix-sync.

I want the information returned by eix after the script completes to take 
into account the package updates that may occur during the portage or 
world updates.  I also want those updates to take into account the most 
recent portage tree.  So, I need a sync operation before the updates and a 
eix-update after them.  Thus, I can't combine the two operations into a 
single eix-sync.

-- 
If there's one thing we've established over the years,
it's that the vast majority of our users don't have the slightest
clue what's best for them in terms of package stability.
-- Gentoo Developer Ciaran McCreesh


pgpHNhUERry7L.pgp
Description: PGP signature


Re: [gentoo-user] Setting up a home router

2007-01-14 Thread Dale
Daniel Pielmeier wrote:
 Are you on dial-up too?  The EXTIF='ppp0' may need to be eth0 for you if
 you are using a DSL or cable connection.

 I use an adsl-modem to connect  to the internet. It is configured over
 eth1 but the connection runs over ppp0 so i think this is right, but i
 am not sure.

Hmmm, me either.  I'm not sure about what it would be called.  Do you
have gkrellm installed?  Sometimes I use it to see where the traffic
is.  That is how I knew it was iptables in my other thread.  The data
was getting there because gkrellm was seeing it but my system was not. 
No clue how one can see it and the other can't though.

Dale

:-)  :-)  :-)

-- 
www.myspace.com/dalek1967

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: [Xen] How to set or bring up vif interfaces?

2007-01-14 Thread Sven Köhler
 I would like to have Xen to run unmodified OS (Windows, and some other
 Linuces). I know Linux may be ran Xen-aware, but the goal is to
 experiment some kernel packaging, so that I need to use the distribution
 kernel.
 I got the FC5 isos.
 I made a file /etc/xen/fc5-guest.cfg (see attached)
 But the problem is about vifX interfaces.
 Neither http://fr.gentoo-wiki.com/HOWTO_XEN#Windows_XP
 nor http://gentoo-wiki.com/HOWTO_Xen_and_Gentoo tells how to bring up
 such interface.
 In fact I dont see anywhere any documentation on how to setup networking
 for the need of Xen.

Actually, you just have to start xend, and it will setup xenbr0.
But i prefer, to setup xenbr0 manually, by myself. And that's the way i
do it, in /etc/conf.d/net:


bridge_xenbr0=eth0
config_xenbr0=(
a.b.c.d/24
)
routes_xenbr0=(
default via a.b.c.d
)
brctl_xenbr0=(
setfd 0
sethello 0
stp off
)

 When I run Xen, I have:
 
   asus ~ # xm create fc5-guest.cfg
   Using config file /etc/xen/fc5-guest.cfg.
   VNC= 3
   Error: Device 0 (vif) could not be connected. Hotplug 
   scripts not working.
 
 bridge-utils is already emerged.
 vnc is also emerged with USE=server
 
 What didi I do wrong?

Do you have the necessary backend-driver in your dom0 kernel?
Please check CONFIG_XEN_NETDEV_BACKEND.


 
 
 kernel = /usr/lib64/xen/boot/hvmloader
 builder='hvm'
 memory = 512
 name = fc5-guest
 vcpus=1
 vif = [ 'bridge=xenbr0' ]
 disk = 
 ['phy:/dev/sda5,ioemu:hda,w','file:/home/mihamina/downloads/isos/FC-5-i386-disc1.iso,hdc:cdrom,r']
 device_model ='/usr/lib64/xen/bin/qemu-dm'
 boot='d'
 vnc=1
 vncviewer=1
 serial='pty'
 ne2000=0


In my config, it reads:
vif = [ 'bridge=xenbr0' ]


So yes, your config should work.


Greetings,
  Sven



signature.asc
Description: OpenPGP digital signature