Re: [gentoo-user] unable to emerge anything...

2008-01-10 Thread Gerald Lutter
Hello Richard,

Am Donnerstag, 10. Januar 2008 schrieb Richard Torres:
 Thanks for the input.

 I tried it on both of my Gentoo boxes. One worked and the problematic one
 gave me the following output;

 # gcc test.c -o test

 gcc: installation problem, cannot exec `as': No such file or directory

this is because your binutils don't work. If your second machine has the same 
architecture try to quickpkg your binutils on this machine and install it on 
your problem box.

Gerald



 I'm going to try quickpkg again but this time from the working box. The
 first pkg came from an older livecd.



 If you think of anything please let me know. Thanks again.



 -Richard



   _

 From: James Ausmus [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, January 09, 2008 12:22 PM
 To: gentoo-user@lists.gentoo.org
 Subject: Re: [gentoo-user] unable to emerge anything...





 On Jan 9, 2008 9:13 AM, Richard Torres [EMAIL PROTECTED] wrote:

 It's all a blur. It was trying to re-emerge something related to gcc and
 python was blocking it so I unmerged it.
 I've got python back using quickpkg like you suggested. Now I'm working on
 getting gcc to work. I did a quickpkg on gcc but emerge still fails with a
 'C compiler cannot create executables' error.
 I'm pretty sure I'm using a working version.


 It may not be the C compiler at all. To check this copy the following code
 into a file called test.c:



 #include stdio.h

 int main(void)
 {
   printf(Hello World!\n);
   return 0;
 }


 And then run the following commands:

 gcc test.c -o test
 ./test

 If you see a Hello World! output, then your C compiler is working fine. If
 this is the case, then you need to do as the original error message
 specifies - check the config.log file. It should be located at
 /var/tmp/portage/dev-lang/php- 5.2.5-r1/work/php-5.2.5/config.log

 config.log files can be a little confusing to read through if you're not
 used to them, but you'll just want to start at the bottom and work your way
 up, until you find any error messages - or, you can post your config.log
 file, and someone can help you out with it.

 HTH-

 James









 gcc-config -l
  [1] i686-pc-linux-gnu-3.3.4

  [2] i686-pc-linux-gnu-3.4.4 *
  [3] i686-pc-linux-gnu-3.4.4-hardened
  [4] i686-pc-linux-gnu-3.4.4-hardenednopie
  [5] i686-pc-linux-gnu-3.4.4-hardenednopiessp
  [6] i686-pc-linux-gnu-3.4.4-hardenednossp

 Thanks-a-bunch


 -Original Message-
 From: Alan McKinnon [mailto:[EMAIL PROTECTED] ]
 Sent: Sunday, January 06, 2008 1:51 AM
 To: gentoo-user@lists.gentoo.org

 Subject: Re: [gentoo-user] unable to emerge anything...

 On Saturday 05 January 2008, Richard Torres wrote:
  Alan,
  Thanks for that. It's funny you should mention python, I just
  inadvertently unmerged it (doh...). I've got another gentoo box
  running a newer version of gcc and a newer kernel. Do you think I can
  get what I need out of it?

 Yes, you should be able to use that. Python is SLOTted, so even if your
 other box is using a different SLOT, you can emerge the version you
 need, quickpkg it, copy it over to the first machine and unpack it
 there.

 quickpkg's are just tarballs so you can even use good old tar and
 bunzip2 if you managed to go to the next step of dohness and unmerge
 portage as well :-)

 btw, how did you manage to unmerge python? That's in system and portage
 usually goes to great lengths to prevent you doing just that

 alan

  Thanks for your help,
  -Richard
 
  - Original Message 
  From: Alan McKinnon [EMAIL PROTECTED]
  To: gentoo-user@lists.gentoo.org
  Sent: Saturday, January 5, 2008 2:25:52 AM
  Subject: Re: [gentoo-user] unable to emerge anything...
 
  On Saturday 05 January 2008, Richard Torres wrote:
   I'm getting pretty much the same error (C compiler cannot create
   executables). I'm pretty sure it's because gcc-3.3.4 is installed.
   I've tried upgrading gcc by emerging but get the same error
   (catch-22 situation). Here's the last part of the error log which
   is the same with anything I try to emerge.
 
  A quickpkg of gcc might help you out of this, it's about 7M or so so
  small enough to mail to you. Perhaps some kind soul here with similar
  settings to you can send their tbz2 of gcc-3.3.6.x
 
  Alternatively, you might be able to unpack a working gcc tarball from
  a
 
  stage 3 onto your system and use that
 
  It doesn't help you right now, but I've managed to screw up enough
  gentoo systems enough times that I now keep quickpkg copies of known
  good working critical packages in $PKGDIR - minimally gcc, glibc,
  python, portage, tar and a shell
 
  alan
 
  --
  Alan McKinnon
  alan dot mckinnon at gmail dot com

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

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



[gentoo-user] Re: unable to emerge anything...

2008-01-10 Thread reader
 Alan, 
 I'll check the links out. As for as unmerging anything else no. Not yet
 anyway, give me time though.

Richard, I recently had that same problem and I notice you are also
using the hardened profile.  

I don't remember exactly what I did but it involved re-compiling gcc
and making sure the `harened' use flag was cancelled (USE='-hardened')

I think I did something like boot from the minimal install iso and use
the compiler on it to chroot and compile a gcc without the hardened
flag. 

I don't remember now for sure... how I did it, but I am pretty sure
your gcc needs to be recompiled without the `hardened' flag.

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



Re: [gentoo-user] Re: Kernel setting for frame buffer (2.6.23-r5)

2008-01-10 Thread Etaoin Shrdlu
On Wednesday 9 January 2008, Renat Golubchyk wrote:

 If you only want to convert one number (or an arithmetic expression)
 you can write, e.g. :echo 0x31a in vim and be done with it. :-)
[snip]
 Or an even simpler way would be

 $ echo $((0x31a))
 794

 Bash is really cool. It can understand numbers up to base 64. ;-)

Great tips! I did not know them. Especially the bash one is really 
useful!

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



[gentoo-user] Update After A Year

2008-01-10 Thread Tamas Sarga
Hi,

I moved from my flat a year ago, and now I' went back. At my temporary place
I wasn't be able to reach the internet, so I didn't update the system.
Now I'd like to update it. Should I do anything special in addition to an
emerge -e system; emerge -e world? Are there anything I should attend to?

TIA,
Tamas Sarga


Re: [gentoo-user] Update After A Year

2008-01-10 Thread Dale
Tamas Sarga wrote:
 Hi,

 I moved from my flat a year ago, and now I' went back. At my temporary
 place I wasn't be able to reach the internet, so I didn't update the
 system.
 Now I'd like to update it. Should I do anything special in addition to
 an emerge -e system; emerge -e world? Are there anything I should
 attend to?

 TIA,
 Tamas Sarga

emerge --sync then hope for the best with the emerge -uvDN world.  Don't
forget to search the forums for any problems you run into.  Most of them
will be answered by now I would think.  I'm sure you will run into at
least a few issues.

You may want to just update portage after you do the sync up then update
world.  A new portage should update better. 

Hope it goes well.

Dale

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



Re: [gentoo-user] Update After A Year

2008-01-10 Thread Alan McKinnon
On Thursday 10 January 2008, Tamas Sarga wrote:
 Hi,

 I moved from my flat a year ago, and now I' went back. At my
 temporary place I wasn't be able to reach the internet, so I didn't
 update the system. Now I'd like to update it. Should I do anything
 special in addition to an emerge -e system; emerge -e world? Are
 there anything I should attend to?

Generally you can just emerge -uND world and we done with it. But life 
isn't always so simple. I can think of a few updates in the last while 
that were problematic, but I think they were all more than a year ago:

Xorg 6.x - 7.x  - there's wiki pages for that at gentoo-wiki.com
gcc-3.3.x - 3.4.x - check gentoo.org/docs for the full info
glibc-2.3 - 2.4 - there was something about that too, I forget...
The update to python-2.5 had a specific procedure (?)
And there was a portage update as well with a change in on-disk format. 
This one caught me, as an upgrade path was maintained for several 
versions, then dropped. My upgrade fell in that window. But that was 
way back in the early 2.0 versions, I think you will be safe.

Oddly, kde-3.5.7 to 3.5.8 recently was a pain for me. I hadn't updated 
in two months and the first emerge world failed about 8 times, all on 
kde stuff. It felt as if the DEPENDS were evaluated in the wrong order 
as emerge --resume --skipfirst allowed it to continue. Then I would 
emerge world again with less failures, and do it again. IIRC it took 4 
runs thorough, but once it was done everything did seem to work 
correctly.

With long intervals between updates like you have here, I prefer to make 
a quickpkg of vital system stuff (gcc, glibc, python, portage, bash) as 
a safety measure, then run emerge -pvuND system and update those vital 
packages manually - the reason is to force me to look at the portage 
output and not miss important messages. Then emerge the rest of system 
followed by the rest of world. It's the long way round but it gives me 
the warm fuzzy safety net feeling.


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



Re: [gentoo-user] What's with this hald thing and why can't I rip CDs any more?

2008-01-10 Thread Arturo 'Buanzo' Busleiman

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Dale wrote:
| [...] Keep in mind that I have KDE and not gnome here.

Well, something that NEVER happened to me during my Gentoo years on my desktop 
computer (I like
changing distros from time to time, just for the fun of it) was HAL disturbing 
me. (I use kde, btw).

BUT I'm using Kubuntu now, and I can't burn a DVD while with k3b if I don't 
stop hal and dbus before
even executing k3b!

Weird, uh.

- --
Arturo Buanzo Busleiman
BUSCO Baterista para estilo brit-pop Zona Norte BsAs
Independent Security Consultant - SANS - OISSG
http://www.buanzo.com.ar/pro/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHhgIbAlpOsGhXcE0RCp8+AJ9/xAD4EfELbUdGy8SzG+7P0HhAnQCfTRvD
hQLFtMm59WwvZ0S3sHGw9QY=
=cj3S
-END PGP SIGNATURE-
--
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Update After A Year

2008-01-10 Thread Neil Bothwick
On Thu, 10 Jan 2008 12:57:57 +0200, Alan McKinnon wrote:

 Generally you can just emerge -uND world and we done with it. But life 
 isn't always so simple. I can think of a few updates in the last while 
 that were problematic, but I think they were all more than a year ago:

The expat upgrade was less than a year ago for stable systems.

I'd go with emerge -auvDN system and check the output carefully before
opting to proceed. I'd also make sure that ELOG is correctly set up in
make.conf so you don't miss any important massages.

After updating system, it would be prudent to run revdep-rebuild before
moving onto the rest of world.

emerge -e is pointless, portage is quite capable of determining what
needs to be updated, and reemerging everything just creates noise and
confusion that could make it harder to deal with any potential problems.


-- 
Neil Bothwick

Any connection between your reality and mine is purely coincidental.


signature.asc
Description: PGP signature


Re: [gentoo-user] What's with this hald thing and why can't I rip CDs any more?

2008-01-10 Thread Arturo 'Buanzo' Busleiman

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Joerg Schilling wrote:
| - The fork cdrkit is known for not working at all in many cases because
|   of a bad hack in libscg.

Yes, I have to check that.

| - HAL works on Solaris, but it does not work on Linux.
|   It does not work on Linux because it polls the drive the wrong way and
|   acts in an unfriendly way.

That's what I believe is happening, but I have to check cdrkit now that you 
provided that hint.

| Note that you need to disable HAL anyway if you write CDs/DVDs in DAO mode,

I don't use DAO, but I'll verify just in case. Thanks for the hints, most 
generous of you :)


- --
Arturo Buanzo Busleiman
BUSCO Baterista para estilo brit-pop Zona Norte BsAs
Independent Security Consultant - SANS - OISSG
http://www.buanzo.com.ar/pro/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHhhtsAlpOsGhXcE0RCuo7AJoC48UHhWKFrAFfwK9Wq6ZdIajweQCfTGIG
4Ji0Hmn8CP+iPGPw999yIuA=
=DHKn
-END PGP SIGNATURE-
--
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] What's with this hald thing and why can't I rip CDs any more?

2008-01-10 Thread Joerg Schilling
Arturo 'Buanzo' Busleiman [EMAIL PROTECTED] wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA512

 Dale wrote:
 | [...] Keep in mind that I have KDE and not gnome here.

 Well, something that NEVER happened to me during my Gentoo years on my 
 desktop computer (I like
 changing distros from time to time, just for the fun of it) was HAL 
 disturbing me. (I use kde, btw).

 BUT I'm using Kubuntu now, and I can't burn a DVD while with k3b if I don't 
 stop hal and dbus before
 even executing k3b!

I don't know _what_ problems you have

There are several possibilities:

-   You are using a bad medium that does not follow the Red-Book standard
and for this reason confused your drive.

-   The fork cdrkit is known for not working at all in many cases because 
of a bad hack in libscg.

-   HAL works on Solaris, but it does not work on Linux.
It does not work on Linux because it polls the drive the wrong way and
acts in an unfriendly way.

If your problems are caused by the cdrkit bugs, upgrade to a recent original:

ftp://ftp.berlios.de/pub/cdrecord/alpha/

Note that you need to disable HAL anyway if you write CDs/DVDs in DAO mode,
because in this case HAL tries to mount the medium while it is still written
and thus causes a buffer underrun.

Jörg

-- 
 EMail:[EMAIL PROTECTED] (home) Jörg Schilling D-13353 Berlin
   [EMAIL PROTECTED](uni)  
   [EMAIL PROTECTED] (work) Blog: http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/old/private/ ftp://ftp.berlios.de/pub/schily
-- 
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] [OT] stable non-anonymous free http proxy

2008-01-10 Thread Andrew Gaydenko
Can anybody recommend such proxy? Due to routing error between me and a site 
I'm interested in I can no access the site. Of course, ad-free proxy is 
better :-)
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] expat update (was:Update After a Year)

2008-01-10 Thread b.n.
Neil Bothwick ha scritto:
 The expat upgrade was less than a year ago for stable systems.

Sorry if hijacking the thread, but: it's a long time I have expat-1.9.6
and, even if 2.0.1 is in portage, emerge -av world doesn't tell me to
upgrade (I guess emerge -Dav would, but why should I?). Should I do
nonetheless, or can I wait?

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



Re: [gentoo-user] Re: emerge of ksh93 erroring out.. who can interpret

2008-01-10 Thread Matthias B.
On Tue, 08 Jan 2008 20:32:46 -0600 [EMAIL PROTECTED] wrote:

 I'm beginning to think I may just drop ksh93.  Unfortunately, I've
 grown quite accustomed to using `print' instead of `echo -e' so I will
 have to replace that in a couple dozen scripts... otherwise the
 scripts seem to run fine under bash. (so far.. I haven't tested all of
 them yet)

Have you tried zsh? I've found it to be much better for scripting than
bash, especially less buggy. And it has a print builtin :-)

MSB

-- 
When you think you think, you only think that you think. Don't you think?

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



Re: [gentoo-user] expat update (was:Update After a Year)

2008-01-10 Thread Neil Bothwick
On Thu, 10 Jan 2008 20:22:06 +0100, b.n. wrote:

 Sorry if hijacking the thread, but: it's a long time I have expat-1.9.6
 and, even if 2.0.1 is in portage, emerge -av world doesn't tell me to
 upgrade (I guess emerge -Dav would, but why should I?). Should I do
 nonetheless, or can I wait?

If portage isn't forcing you to install it, you don't need it. On the
other hand, it is a bit of a pain to update, so you may as well get it
over with when you know you have the time to deal with it.


-- 
Neil Bothwick

Do you reply to our surveys.?
[X]Never [ ]Always [ ]Sometimes


signature.asc
Description: PGP signature


[gentoo-user] VMware Server Tools

2008-01-10 Thread Sergey Kobzar
Hi.

I can't find vmware-server-tools in layman. Before I used it to
install tools:

# equery list | grep vmware-server-tools
app-emulation/vmware-server-tools-1.0.3.44356


Now I can't find tools:

# layman -l
* vmware[Subversion] (source: http://overlays.gentoo.org...)

# emerge --search vmware-server-tools
Searching...
[ Results for search key : vmware-server-tools ]
[ Applications found : 0 ]

Are they not supported now? Does anybody try to use open-vm-tools
instead? Usually I need tools to sync time with host only.


Thanks for help.


-- 
Sergey

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



[gentoo-user] Enigmail in Thunderbird 2.0.0.9

2008-01-10 Thread Daniel Mendler

Hi

The enigmail plugin isn't found any more in Thunderbird 2.0.0.9. 
Thunderbird is compiled with crypt, Enigmail is installed. Does anyone 
have the same problem?


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



Re: [gentoo-user] Enigmail in Thunderbird 2.0.0.9

2008-01-10 Thread KH
Did you recompile enigmail after upgrading thunderbird?

kons


Daniel Mendler wrote:
 Hi

 The enigmail plugin isn't found any more in Thunderbird 2.0.0.9.
 Thunderbird is compiled with crypt, Enigmail is installed. Does anyone
 have the same problem?

 Best regards,
 Daniel

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



Re: [gentoo-user] Update After A Year

2008-01-10 Thread Hal Martin
It's been much less than a year since I've updated last, however I'm
experiencing problems updating my system. First off, I have Gentoo
2007.0 installed on an AMD64 X2 3800+ (SMP kernel.) I cannot upgrade PAM
from 0.99.8.1-r1 to 0.99.9.0. The output of trying to do so is the
following:

emerge pam
Calculating dependencies... done!
 Verifying ebuild Manifests...

 Emerging (1 of 1) sys-libs/pam-0.99.9.0 to /
 * Linux-PAM-0.99.9.0.tar.bz2 RMD160 SHA1 SHA256 size ;-)
... [ ok ]
 * checking ebuild checksums ;-)
...  [ ok ]
 * checking auxfile checksums ;-)
... [ ok ]
 * checking miscfile checksums ;-)
...[ ok ]
 * checking Linux-PAM-0.99.9.0.tar.bz2 ;-)
...[ ok ]
 *
 * Your current setup is using one or more of the following modules,
 * that are not built or supported anymore:
 * pam_pwdb, pam_radius, pam_timestamp, pam_console
 * If you are in real need for these modules, please contact the maintainers
 * of PAM through http://bugs.gentoo.org/ providing information about its
 * use cases.
 * Please also make sure to read the PAM Upgrade guide at the following URL:
 *   http://www.gentoo.org/proj/en/base/pam/upgrade-0.99.xml
 *

'emerge --search pam' returns the following (I'm only going to include
the actual listing for pam, and not all the other stuff it lists to keep
the list short)

*  sys-libs/pam
  Latest version available: 0.99.9.0
  Latest version installed: 0.99.8.1-r1
  Size of files: 887 kB
  Homepage:  http://www.kernel.org/pub/linux/libs/pam/
  Description:   Linux-PAM (Pluggable Authentication Modules)
  License:   PAM

I've followed the Linux-PAM upgrade guide, which didn't mention what to
do in the event that those modules were used.

http://www.gentoo.org/proj/en/base/pam/upgrade-0.99.xml

There is a forum discussion on this matter, however none of the modules
appear in /etc/pam.d/ files...

I don't know enough about PAM and Gentoo to know if running a PAMless
system would cause problems, I have been using linux for a while, but I
am relatively new to Gentoo (and yes, I realize that PAM is not
exclusive to Gentoo...) I've tried the #gentoo channel on FreeNode and
after an hour of asking and waiting, was unable to receive an answer.

Any help would be appriciated.

Thanks!
Hal Martin


Neil Bothwick wrote:
 On Thu, 10 Jan 2008 12:57:57 +0200, Alan McKinnon wrote:

   
 Generally you can just emerge -uND world and we done with it. But life 
 isn't always so simple. I can think of a few updates in the last while 
 that were problematic, but I think they were all more than a year ago:
 

 The expat upgrade was less than a year ago for stable systems.

 I'd go with emerge -auvDN system and check the output carefully before
 opting to proceed. I'd also make sure that ELOG is correctly set up in
 make.conf so you don't miss any important massages.

 After updating system, it would be prudent to run revdep-rebuild before
 moving onto the rest of world.

 emerge -e is pointless, portage is quite capable of determining what
 needs to be updated, and reemerging everything just creates noise and
 confusion that could make it harder to deal with any potential problems.


   



Re: [gentoo-user] Update After A Year

2008-01-10 Thread Stroller


On 10 Jan 2008, at 23:45, Hal Martin wrote:

...
 * Your current setup is using one or more of the following modules,
 * that are not built or supported anymore:
 * pam_pwdb, pam_radius, pam_timestamp, pam_console
  ...


I'm not sure if I should be replying to this, as it kinda looks like  
a thread hijack, but:


  $ equery b `grep -l -ie pwdb -ie radius -ie timestamp -ie console / 
etc/pam.d/*`

  [ Searching for file(s) /etc/pam.d/login in *... ]
  sys-apps/shadow-4.0.18.1-r1 (/etc/pam.d/login)
  $

Stroller.

[gentoo-user] Routing problem ?

2008-01-10 Thread Holla
Hi,
I think I have a routing problem with network
shown below (hope my ascii art survives)

From PC2, I cannot ping 192.168.1.1  and no internet.
Also cannot ping ISP's DNS servers. But there is full
connectivity between PC1 and PC2.

At PC2,
# traceroute 192.168.1.1
traceroute to 192.168.1.1 (192.168.1.1), 30 hops max, 40 byte packets
 1  * * *
 2  * * *

I reached upto this point by following up the
gentoo howtos, but now stuck. Any pointers ?

thanks
sathish




192.168.1.1
+-+   ++
| |---|  Router1   |=ASDL conn
| |   ++
| |
| |
| |
| |192.168.1.23  +---+  192.168.2.43
| |--|  PC1  |))).
+-+  +---+   .
 .
Passive Hub  .
  192.168.2.1.
 ++  .
 | Router2|--)))..
 ++
|
|
 +--+
 | PC2  |
 +--+
 192.168.2.24

--
Router1 (UTSStarCom ISP supplied) :
 - router IP 192.168.1.1
 - wireless enabled but not used

--
PC1: (gentoo)

 - eth0 (192.168.1.23) and wireless (192.168.2.43)
 - no iptables configuration
 - routing table entries
   Kernel IP routing table
   Destination Gateway Genmask Flags Metric RefUse Iface
   192.168.2.0 *   255.255.255.0   U 0  00 ra0
   192.168.1.0 *   255.255.255.0   U 0  00 eth0
   loopback*   255.0.0.0   U 0  00 lo
   default 192.168.1.1 0.0.0.0 UG0  00 eth0


 # echo 1/proc/sys/net/ipv4/ip_forward


# Kernel Networking options
#
CONFIG_UNIX=y
CONFIG_XFRM=y
CONFIG_INET=y
CONFIG_IP_ADVANCED_ROUTER=y
CONFIG_ASK_IP_FIB_HASH=y
CONFIG_IP_FIB_HASH=y
CONFIG_IP_ROUTE_VERBOSE=y
CONFIG_INET_XFRM_MODE_TRANSPORT=y
CONFIG_INET_XFRM_MODE_TUNNEL=y
CONFIG_INET_XFRM_MODE_TRANSPORT=y
CONFIG_INET_XFRM_MODE_TUNNEL=y
CONFIG_TCP_CONG_BIC=y
--

Router2 (WRT54GL)
 - router IP 192.168.2.1
 - wireless enabled and used
--
PC2 (gentoo)
 - static IP address 192.168.2.24
 - routing table entries

Kernel IP routing table
Destination Gateway Genmask Flags Metric RefUse Iface
192.168.2.43*   255.255.255.255 UH0  00 eth0
192.168.2.0 *   255.255.255.0   U 0  00 eth0
192.168.1.0 192.168.2.43255.255.255.0   UG0  00 eth0
loopback*   255.0.0.0   U 0  00 lo
default 192.168.2.430.0.0.0 UG0  00 eth0
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Update After A Year

2008-01-10 Thread Stroller


On 11 Jan 2008, at 01:17, Stroller wrote:

On 10 Jan 2008, at 23:45, Hal Martin wrote:

...
 * Your current setup is using one or more of the following modules,
 * that are not built or supported anymore:
 * pam_pwdb, pam_radius, pam_timestamp, pam_console
  ...


I'm not sure if I should be replying to this, as it kinda looks  
like a thread hijack, but:


  $ equery b `grep -l -ie pwdb -ie radius -ie timestamp -ie  
console /etc/pam.d/*`

  [ Searching for file(s) /etc/pam.d/login in *... ]
  sys-apps/shadow-4.0.18.1-r1 (/etc/pam.d/login)
  $


Ooops! Pressed send too hastily!

I assumed that there'd be an update available to shadow which would  
fix this, but looking closer at the output of `grep -l -ie pwdb -ie  
radius -ie timestamp -ie console /etc/pam.d/*` it seems that the line  
containg `pam_console.so` is commented out on my system:


  # If you want to enable pam_console, uncomment the following line
  # and read carefully README.pam_console in /usr/share/doc/pam*
  #sessionoptionalpam_console.so

So the question arises, did you uncomment it?
Or is your sys-apps/shadow just older than mine?
What does `grep -l -ie pwdb -ie radius -ie timestamp -ie console /etc/ 
pam.d/* actually say on your machine?


Stroller.



Re: [gentoo-user] Routing problem ?

2008-01-10 Thread kashani

Holla wrote:

192.168.1.1
+-+   ++
| |---|  Router1   |=ASDL conn
| |   ++
| |
| |
| |
| |192.168.1.23  +---+  192.168.2.43
| |--|  PC1  |))).
+-+  +---+   .
 .
Passive Hub  .
  192.168.2.1.
 ++  .
 | Router2|--)))..
 ++
|
|
 +--+
 | PC2  |
 +--+
 192.168.2.24


Yep it's a routing problem.

Router1 needs a route to point back to PC2 so when traffic bound for it 
comes it, it'll know what to do with it.

route add -net 192.168.2.0 netmask 255.255.255.0 gw 192.168.1.23

kashani

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



Re: [gentoo-user] Update After A Year

2008-01-10 Thread Randy Barlow
Stroller wrote:
 Ooops! Pressed send too hastily!
 
 I assumed that there'd be an update available to shadow which would fix
 this, but looking closer at the output of `grep -l -ie pwdb -ie radius
 -ie timestamp -ie console /etc/pam.d/*` it seems that the line containg
 `pam_console.so` is commented out on my system:
 
   # If you want to enable pam_console, uncomment the following line
   # and read carefully README.pam_console in /usr/share/doc/pam*
   #sessionoptionalpam_console.so
 
 So the question arises, did you uncomment it?
 Or is your sys-apps/shadow just older than mine?
 What does `grep -l -ie pwdb -ie radius -ie timestamp -ie console
 /etc/pam.d/* actually say on your machine?

I will also participate on this thread hijack (but Hal, don't hijack
anymore.  It makes your mom angry!)  I would actually check more than
just /etc/pam.d/* if you don't find it there because it's possible for
mail servers or web servers to use these things the old way too!

-- 
Randy Barlow
http://electronsweatshop.com
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Routing problem ?

2008-01-10 Thread Mike Mazur
Hi,

On Jan 11, 2008 12:14 PM, kashani [EMAIL PROTECTED] wrote:
 Holla wrote:
  192.168.1.1
  +-+   ++
  | |---|  Router1   |=ASDL conn
  | |   ++
  | |
  | |
  | |
  | |192.168.1.23  +---+  192.168.2.43
  | |--|  PC1  |))).
  +-+  +---+   .
   .
  Passive Hub  .
192.168.2.1.
   ++  .
   | Router2|--)))..
   ++
  |
  |
   +--+
   | PC2  |
   +--+
   192.168.2.24

 Yep it's a routing problem.

 Router1 needs a route to point back to PC2 so when traffic bound for it
 comes it, it'll know what to do with it.
 route add -net 192.168.2.0 netmask 255.255.255.0 gw 192.168.1.23

Also if you want PC2 to access the net, you would need PC1 to be smart
enough to route/NAT packets from PC2 to Router 1.

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



Re: [gentoo-user] expat update (was:Update After a Year)

2008-01-10 Thread Alan McKinnon
On Thursday 10 January 2008, b.n. wrote:
 Neil Bothwick ha scritto:
  The expat upgrade was less than a year ago for stable systems.

 Sorry if hijacking the thread, but: it's a long time I have
 expat-1.9.6 and, even if 2.0.1 is in portage, emerge -av world
 doesn't tell me to upgrade (I guess emerge -Dav would, but why should
 I?). Should I do nonetheless, or can I wait?

I find emerge -uND world every so often is a good idea, as updates are 
then incremental and I can deal with problems one at a time instead of 
lots all at once.

I don't know of any good reason why you *should* upgrade to expat-2.0.1 
right now, other than simply staying up to date. Be prepared to become 
good friends with revdep-rebuild when you *do* do it, the upgrade 
caused huge numbers of broken linkages to libexpat.so.0

alan


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



Re: [gentoo-user] expat update

2008-01-10 Thread Dale
Alan McKinnon wrote:
 SNIP

 I don't know of any good reason why you *should* upgrade to expat-2.0.1 
 right now, other than simply staying up to date. Be prepared to become 
 good friends with revdep-rebuild when you *do* do it, the upgrade 
 caused huge numbers of broken linkages to libexpat.so.0

 alan


   

+1, Amen and all that other good stuff.  I would recommend running
revdep-rebuild pretty regular anyway, just to be safe.

Dale

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