Re: [gentoo-user] {OT} Cable latency Skype

2007-11-13 Thread Mick
On Monday 12 November 2007, Grant wrote:
 I just switched from DSL to cable and I'm noticing a significant delay
 when using Skype, even when nothing else is happening on my network.
 Has anyone else noticed this and had success fixing it?  I'm using a
 Gentoo router so I can try just about anything.

If this is a MTU problem (it may very well not be, see below) I would go about 
it as follows.

Do you know what is the recommended MTU of your ISP?  What MTU your modem is 
set at?  If not and they won't tell you you could try to find out by 
yourself:

Set the MTU of *all* nodes between your PC  your ISP's modem to 1500 (PC, 
router, etc).  Then run something like this:

$ ping -c 3 -v -M do -s 1452 www.yahoo.com  (better if you use the IP address 
of yahoo.com, of even better if you use one of your ISP's gateways, DNS 
servers, etc. to avoid problems with network congestion upstream - in that 
sense ebay on a Sunday afternoon may not be a good choice ;).

Work your way up to greater packet values until you cannot ping anymore 
because packet fragmentation occurs.  Once you find the value at which it 
switches over then add 28 (for the packet headers) to the maximum value at 
which ping works. This should be the value at which your modem is set.

Set all other network components to the same MTU (inc. all PCs in your 
network) and you should be good - BUT only if the modem's MTU was correct in 
the first place.

If your modem has the wrong MTU for the ISPs network assuming they don't tell 
you what that is, then try altering it from 1500 downwards to 1492, 1480, 
1458, 1430, 1400, while you test for maximum line speed.  Set all your 
network components to the same MTU and check with a broadband speed tester 
(e.g. www.speetest.net) to see when you get maximum speed.  Alternatively, 
try downloading some iso image from a main mirror near you (warning -  not 
all mirrors are born equal in terms of bandwidth, so some experimentation is 
required).

Eventually, you'll find some max MTU value at which you get the best 
comparative performance.  For the tests to be meaningful they should be 
better performed during quiet times (see contention below).  BTW, from the 
little I know about cable the MTU is usually set at 1500, but others could 
advise better.

If all that doesn't fix it, then it may have nothing to do with MTU and it 
could be related to faulty components in your network (cables, switches, 
modem, etc.); ISP throttling (is poor performance occurring only some 
times/days or is it universal); busy Skype servers(?), or good old high level 
pipe contention, because the world and his wife are on the Internet these 
days and the infrastructure has not grown enough for it.

HTH.
-- 
Regards,
Mick


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


Re: [gentoo-user] How do I pass options to emerge

2007-11-13 Thread fei huang
On Nov 2, 2007 4:08 AM, Aaron Cordova [EMAIL PROTECTED] wrote:


 The package netqmail allows me to specify the value QMAIL_CONF_SPLIT
 before it compiles. How do I actually set this value? How do I set optional
 flags when I build a package? Do i need to place them in a file somewhere or
 can I export QMAIL_CONF_SPLIT= in my shell prior to invoking emerge?
 --

I think use flags might be what you want, use equery uses netqmail to see
if there's any
fits your needs.

regards
fei


 [EMAIL PROTECTED] mailing list




[gentoo-user] Re: Disk ARchiver command line questions

2007-11-13 Thread Alexander Skwar
Thufir [EMAIL PROTECTED] wrote:

 Disk ARchiver command line questions
 From: Thufir hawat.thufir at gmail.com
 Subject: Disk ARchiver command line questions
 Newsgroups: gmane.linux.redhat.fedora.general
 Date: 2007-10-17 09:09:22 GMT
 
 I've been reading the man pages, but command line stuff isn't my forte :(
 
 I want to backup some data using DAR (Disk ARchive) and here's what I
 have so far:
 
 arrakis ~ #
 arrakis ~ #
 arrakis ~ # ls -alh /mnt/VolGroup00/LogVol00/home/
 total 24K
 drwxr-xr-x  3 root root 4.0K Oct 17 01:55 .
 drwxr-xr-x 24  500  500 4.0K Oct 16 22:47 ..
 drwx-- 30  500  500 4.0K Oct 16 22:47 thufir
 arrakis ~ #
 arrakis ~ # dar --create /mnt/VolGroup00/LogVol00/home/thufir/ --slice
 690M  --tree-format --beep --pause
 
  
  862 inode(s) saved
  with 0 hard link(s) recorded
  0 inode(s) changed at the moment of the backup
  0 inode(s) not saved (no inode/file change)
  0 inode(s) failed to save (filesystem error)
  0 inode(s) ignored (excluded by filters)
  0 inode(s) recorded as deleted from reference backup
  
  Total number of inode considered: 862
  
  EA saved for 0 inode(s)
  
 arrakis ~ #
 arrakis ~ # ls -alh /mnt/VolGroup00/LogVol00/home/total 106M
 drwxr-xr-x  3 root root 4.0K Oct 17 01:57 .
 drwxr-xr-x 24  500  500 4.0K Oct 16 22:47 ..
 drwx-- 30  500  500 4.0K Oct 16 22:47 thufir
 -rw-r--r--  1 root root 106M Oct 17 01:57 thufir.1.dar
 arrakis ~ #
 arrakis ~ # date
 Wed Oct 17 01:58:01 PDT 2007
 arrakis ~ #
 
 Starting with the least important questions and increasing in
 significance:
 
 1.)  How can I change the command so the .dar files are named backup.
 [n].dar instead of thufir.[n].dar?

By using the --create option :) I use:

--create /.backup/2007-11-13

Result: Files named 2007-11-13.1.dar, 2007-11-13.2.dar ... get created 
in the /.backup directory.

 2.)  As it stands, it's going to take 862 slices to backup this data
 without compression?

No. What makes you think that?

 I asked for slices of 690M, why is it only showing 
 as 106M for this particular slice?

Because all of your data is only 106M big, after compression.

 3.)  Do I just burn thufir.1.dar to disc (CD-R) as a regular data disc
 using, for example, the builti-in nautilus burner?

Yes. If you trust CD-R, that is :)

 4.)  How do I get DAR to generate the second slice?

It does it automatically, as soon as the slice reaches the
specified maximum size.

 I know that these questions are answered in the manual, 

Yes.

PS: There's a dar mailing list as well. Dennis, the author of
dar, reads it and very quickly responds there as well; always
very helpful!

Alexander Skwar

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] OT - Need help enabling iptables support in kernel

2007-11-13 Thread Michael Sullivan
On Mon, 2007-11-12 at 23:35 -0500, Walter Dnes wrote:
 On Sat, Nov 10, 2007 at 10:53:52AM -0600, Michael Sullivan wrote
  On Sat, 2007-11-10 at 15:40 +0200, Daniel Iliev wrote:
   
   I believe your problem comes from:
   
# CONFIG_IP_NF_CONNTRACK_SUPPORT is not set
   
   Build this module and try again.
   
  This option isn't even available in my config.  Should I add it?  Will
  it work with the kernel I'm running (2.6.22-hardened-r8)
 
   I'm beginning to long for the good ole days of ipchains.  Is it still
 maintained?  iptables has been scattered all over hell's-half-acre, and
 you need to run around enabling things all over the place to make it
 work.  Here are some things enabled in my setup via make menuconfig.
 Note that this is just for filtering out the bad guys.  I do not do any
 masq/nat/mangling/etc with iptables.  *IMPORTANT NOTE* you *MUST* enable
 the item...  IPv4 connection tracking support (required for NAT) in
 order for state matching to work.  I found this out the hard way.
 
 Networking  ---
 [*] Networking support
   Networking options  ---
   [*] Network packet filtering framework (Netfilter)  ---
 Core Netfilter Configuration  ---
 * Netfilter connection tracking support
 --- Netfilter Xtables support (required for ip_tables)
 *   CLASSIFY target support
 *   MARK target support
 *   NFQUEUE target Support
 NFLOG target support
 TCPMSS target support
 *   comment match support
 connbytes per-connection counter match support
 connmark connection mark match support
 conntrack connection tracking match support
 *   DCCP protocol match support
 DSCP match support
 ESP match support
 helper match support
 *   length match support
 *   limit match support
 *   mac address match support
 *   mark match support
 *   Multiple port match support
 *   pkttype packet type match support
 quota match support
 *   realm match support
 *   sctp protocol match support (EXPERIMENTAL)
 *   state match support
 statistic match support
 *   string match support
 
 IP: Netfilter Configuration  ---
 * IPv4 connection tracking support (required for NAT)
 [*]   proc/sysctl compatibility with old connection tracking
   IP Userspace queueing via NETLINK (OBSOLETE)
 * IP tables support (required for filtering/masq/NAT)
 *   IP range match support
 *   TOS match support
 *   recent match support
 ECN match support
 AH match support
 *   TTL match support
 *   Owner match support
 *   address type match support
 *   Packet filtering
 * REJECT target support
 *   LOG target support
 ULOG target support
 Full NAT
 Packet mangling
 raw table support (required for NOTRACK/TRACE)
   ARP tables support
 
 
 
 -- 
 Walter Dnes [EMAIL PROTECTED] In linux /sbin/init is Job #1
 Q. Mr. Ghandi, what do you think of Microsoft security?
 A. I think it would be a good idea.

I agree, though ipchains was obsolete by the time I started using Linux.
Couldn't we have some package in portage that builds the necessary
modules for iptables, similar to the way I have to emerge ivtv every
time I boot with a new kernel so that my TV card will work?

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] {OT} Cable latency Skype

2007-11-13 Thread Mark Shields
On Nov 12, 2007 6:59 PM, Grant [EMAIL PROTECTED] wrote:

 I just switched from DSL to cable and I'm noticing a significant delay
 when using Skype, even when nothing else is happening on my network.
 Has anyone else noticed this and had success fixing it?  I'm using a
 Gentoo router so I can try just about anything.

 - Grant
 --
 [EMAIL PROTECTED] mailing list


I work for as a cable modem technician.  The first thing to check for when
you're having cable internet problems is the modem.  Call up tech support
and ask them to check the signals on the modem (upstream power, downstream
rcv, downstream SNR, upstream SNR, headend receive) and make sure they're in
range.  Also ask them to ping and (if available) rf ping to check for
latency/packet loss.  Also ask them to check the circuits/backbone.  Also,
can you reproduce this latency in the form of a ping/traceroute?  This will
go a long way with ISPs in determining where the problem is (although
Comcast just blows off high latency on pings as the result of dropping them
due to lower priority).

-- 
- Mark Shields


Re: [gentoo-user] oggenc ogg flac files

2007-11-13 Thread Florian Philipp
On Mon, 2007-11-12 at 13:12 -0500, Willie Wong wrote:
 On Sun, Nov 11, 2007 at 09:25:44PM +0100, Penguin Lover Florian Philipp 
 squawked:
  Can anyone confirm that it is not possible to transcode ogg-flac files
  to ogg-vorbis although the necessary use flags are set (vorbis-tools
  +flac; flac +ogg) and the man page says it's possible?
 
 Yes, I just tried it:
 
 flac-1.1.4
 vorbis-tools-1.1.1-r3
 
 and have the same problem
 
 ERROR: Input file Noise.oga is not a supported format
 
 W
 -- 

Thanks!

Bug is opened and assigned. 


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


Re: [gentoo-user] {OT} Cable latency Skype

2007-11-13 Thread Mick
On Tuesday 13 November 2007, Mark Shields wrote:
 On Nov 12, 2007 6:59 PM, Grant [EMAIL PROTECTED] wrote:
  I just switched from DSL to cable and I'm noticing a significant delay
  when using Skype, even when nothing else is happening on my network.
  Has anyone else noticed this and had success fixing it?  I'm using a
  Gentoo router so I can try just about anything.
 
  - Grant
  --
  [EMAIL PROTECTED] mailing list

 I work for as a cable modem technician.  The first thing to check for when
 you're having cable internet problems is the modem.  Call up tech support
 and ask them to check the signals on the modem (upstream power, downstream
 rcv, downstream SNR, upstream SNR, headend receive) and make sure they're
 in range.  Also ask them to ping and (if available) rf ping to check for
 latency/packet loss.  Also ask them to check the circuits/backbone.  Also,
 can you reproduce this latency in the form of a ping/traceroute?  This will
 go a long way with ISPs in determining where the problem is (although
 Comcast just blows off high latency on pings as the result of dropping them
 due to lower priority).

Interesting to hear this.  The OP will no doubt have a different traceroute to 
show the ISP, but does the comment on dropping pings explain the % loss shown 
below in certain hops, or is it just a matter of overloaded switches?
==
HOST: lappy   Loss%   Snt   Last   Avg  Best  Wrst StDev
  5. 217.41.177.66 0.0%15   17.9  18.0  15.7  22.8   1.7
  6. 217.41.177.1346.7%15   21.0  17.5  15.7  21.0   1.5
  7. 217.41.177.54 0.0%15   17.0  16.6  15.1  20.7   1.4
  8. 217.47.166.1060.0%15   16.0  16.9  15.3  18.9   1.1
  9. core1-pos5-2.faraday.ukcore.  0.0%15   17.0  45.3  15.2 192.3  52.7
 10. core1-pos0-15-0-10.ilford.uk  0.0%15   18.9  18.3  17.1  19.5   0.7
 11. 194.74.77.222 0.0%15   18.1  17.1  15.5  19.1   1.0
 12. t2c1-ge14-0-0.uk-ilf.eu.bt.n  6.7%15   17.9  17.3  15.7  19.1   0.9
 13. t2c1-p4-0-0.us-nyc.eu.bt.net  0.0%15  107.3 108.1 106.1 109.7   1.1
 14. 12.116.102.17 0.0%15  108.3 107.9 105.5 110.0   1.3
 15. tbr1.n54ny.ip.att.net 0.0%15  133.2 133.8 131.2 135.4   1.4
 16. cr2.n54ny.ip.att.net  0.0%15  135.2 133.5 131.6 135.7   1.3
 17. cr2.wswdc.ip.att.net  0.0%15  132.2 132.9 131.3 134.7   1.1
 18. cr1.attga.ip.att.net  0.0%15  134.2 133.6 132.1 135.7   1.2
 19. tbr2.attga.ip.att.net 0.0%15  135.2 134.0 132.0 136.2   1.3
 20. gar4.attga.ip.att.net 0.0%15  132.2 134.1 130.0 159.4   7.1
 21. 12.124.64.62 20.0%15  140.2 138.6 137.0 140.4   1.1
 22. te-9-1-ur01.south.tn.knox.co  6.7%15  141.2 140.4 138.1 141.5   1.0
 23. te-8-3-ur02.west.tn.knox.com  0.0%15  141.2 140.3 139.1 141.2   0.6
 24. ge-1-46-ur01.west.tn.knox.co  0.0%15  138.2 138.6 137.8 140.6   0.9
==

Note some of these are being dropped in the UK, rather than by Comcast.
-- 
Regards,
Mick


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


Re: [gentoo-user] glibc unmerged by accident

2007-11-13 Thread Florian Philipp
On Mon, 2007-11-12 at 18:49 -0500, de Almeida, Valmor F. wrote:
 Hello,
 
 After a successful upgrade from profile 2006.1 to 2007.0, I decided to
 unmerge some unused packages from world and accidentally had glibc on
 the emerge command line from a cut and paste operation.
 
 glibc was unmerged and now I can't use common shell commands such as ls
 or cp to list and copy files from a backup.
 
 I am thinking that to fix this I will have to boot from a cd and emerge
 glibc. 
 
 Is there another way to do this?
 

busybox ash 
Hopefully it's not dynamically linked ...


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


[gentoo-user] Re: glibc unmerged by accident

2007-11-13 Thread Alexander Skwar
Florian Philipp [EMAIL PROTECTED] wrote:
 On Mon, 2007-11-12 at 18:49 -0500, de Almeida, Valmor F. wrote:

 glibc was unmerged and now I can't use common shell commands such as ls
 or cp to list and copy files from a backup.
 
 I am thinking that to fix this I will have to boot from a cd and emerge
 glibc.
[...]
 busybox ash
 Hopefully it's not dynamically linked ...

But even then, he won't have much luck emerging something, as gcc
requires glibc.

Alexander Skwar

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] glibc unmerged by accident

2007-11-13 Thread Dirk Heinrichs
Am Dienstag, 13. November 2007 schrieb ext Florian Philipp:

 busybox ash

And then? I guess Python will still not work - no emerge.

Bye...

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


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


Re: [gentoo-user] glibc unmerged by accident

2007-11-13 Thread Dirk Heinrichs
Am Dienstag, 13. November 2007 schrieb ext de Almeida, Valmor F.:

 glibc was unmerged and now I can't use common shell commands such as ls
 or cp to list and copy files from a backup.

 I am thinking that to fix this I will have to boot from a cd and emerge
 glibc.

 Is there another way to do this?

No.

Bye...

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


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


Re: [gentoo-user] How do I pass options to emerge

2007-11-13 Thread Rumen Yotov
On (13/11/07 17:18) fei huang wrote:
 On Nov 2, 2007 4:08 AM, Aaron Cordova [EMAIL PROTECTED] wrote:
 
 
  The package netqmail allows me to specify the value QMAIL_CONF_SPLIT
  before it compiles. How do I actually set this value? How do I set optional
  flags when I build a package? Do i need to place them in a file somewhere or
  can I export QMAIL_CONF_SPLIT= in my shell prior to invoking emerge?
  --
 
 I think use flags might be what you want, use equery uses netqmail to see
 if there's any
 fits your needs.
 
 regards
 fei
 
 
  [EMAIL PROTECTED] mailing list
 
 
Hi,

There're two ways to make this happen:
1.EXTRA_ECONF=qmail_conf_split emerge qmail -av
2.Hack the ebuild in your local-overlay
(/usr/local/portage/net-mail/netqmail).
HTH. Rumen
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] glibc unmerged by accident

2007-11-13 Thread Florian Philipp
On Tue, 2007-11-13 at 15:35 +0100, Dirk Heinrichs wrote:
 Am Dienstag, 13. November 2007 schrieb ext Florian Philipp:
 
  busybox ash
 
 And then? I guess Python will still not work - no emerge.
 
 Bye...
 
   Dirk

He just wanted to copy over some files from backup. Specifically he
requested common shell commands such as ls or cp


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


Re: [gentoo-user] glibc unmerged by accident

2007-11-13 Thread Dirk Heinrichs
Am Dienstag, 13. November 2007 schrieb ext Florian Philipp:
 On Tue, 2007-11-13 at 15:35 +0100, Dirk Heinrichs wrote:
  Am Dienstag, 13. November 2007 schrieb ext Florian Philipp:
   busybox ash
 
  And then? I guess Python will still not work - no emerge.

 He just wanted to copy over some files from backup. Specifically he
 requested common shell commands such as ls or cp

Hmm, your answer was below the boot from CD and emerge paragraph, so I 
thought it was related to this one. Please place your anwers where the 
question is (see http://learn.to/quote).

Many thanks...

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


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


[gentoo-user] Re: glibc unmerged by accident

2007-11-13 Thread Alexander Skwar
Florian Philipp [EMAIL PROTECTED] wrote:

 He just wanted to copy over some files from backup. Specifically he
 requested common shell commands such as ls or cp

Well, he requested, that he wanted to do a merge:

| I am thinking that to fix this I will have to boot from a cd and emerge
| glibc. 

He also said, that he cannot use common shell commands anymore,
that's true.

Alexander Skwar

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] glibc unmerged by accident

2007-11-13 Thread Neil Bothwick
On Tue, 13 Nov 2007 15:36:09 +0100, Dirk Heinrichs wrote:

  I am thinking that to fix this I will have to boot from a cd and
  emerge glibc.
 
  Is there another way to do this?  
 
 No.

Unless you already have buildpkg in FEATURES, then you can unpack the
tarball from $PKGDIR/All to the root filesystem. You'll still need a live
CD to do this, but it's a lot quicker, then you can re-emerge glibc from
your working system.

Incidentally, how did you miss the big red warning that emerge gives when
you try to unmerge a system package?


-- 
Neil Bothwick

Energize! said Picard and the pink bunny appeared...


signature.asc
Description: PGP signature


Re: [gentoo-user] glibc unmerged by accident

2007-11-13 Thread Graham Murray
de Almeida, Valmor F. [EMAIL PROTECTED] writes:

 I am thinking that to fix this I will have to boot from a cd and emerge
 glibc. 

I do not think it will be that simple. The problem is that once you
chroot to /mnt/gentoo all subsequent commands (including emerge and gcc)
will be looking for /lib/libc.so.6 and /lib/ld-linux.so.2 neither of
which will be present following an unmerge of glibc. 

If you have a binary glibc package, then you could untar it into
/mnt/gentoo while booted from the CD. Otherwise I suspect that you will
either have to find a binary glibc package on the internet or rebuild
your system from a stage3 tarball in the usual way.
-- 
[EMAIL PROTECTED] mailing list



RE: [gentoo-user] glibc unmerged by accident

2007-11-13 Thread de Almeida, Valmor F.
 From: Graham Murray [mailto:[EMAIL PROTECTED]
 
 If you have a binary glibc package, then you could untar it into
 /mnt/gentoo while booted from the CD. Otherwise I suspect that you
will

I think I can do that. I have other machines I can build a binary glibc
package on. Then once I boot from a live cd I should be able to copy to
the machine I messed up.

Thanks,

--
Valmor
--
[EMAIL PROTECTED] mailing list



RE: [gentoo-user] glibc unmerged by accident

2007-11-13 Thread de Almeida, Valmor F.
 From: Neil Bothwick [mailto:[EMAIL PROTECTED]
 
 Incidentally, how did you miss the big red warning that emerge gives
when
 you try to unmerge a system package?
 

I was unlucky and stupid for using cut and paste commands while
distracted looking at another screen. I didn't look back until the
unmerge countdown period was over.

Thanks for all the comments and ideas.

--
Valmor

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] How do I pass options to emerge

2007-11-13 Thread Bo Ørsted Andresen
On Tuesday 13 November 2007 16:15:31 Neil Bothwick wrote:
 On Tue, 13 Nov 2007 16:37:02 +0200, Rumen Yotov wrote:
The package netqmail allows me to specify the value QMAIL_CONF_SPLIT
before it compiles. How do I actually set this value? How do I set
optional flags when I build a package? Do i need to place them in a
file somewhere or can I export QMAIL_CONF_SPLIT= in my shell
prior to invoking emerge? --
 
  There're two ways to make this happen:
  1.EXTRA_ECONF=qmail_conf_split emerge qmail -av
  2.Hack the ebuild in your local-overlay
  (/usr/local/portage/net-mail/netqmail).

 3. In this case, where an env var needs to be set

 ENVVAR=blah emerge -av foo

4. mkdir -pv /etc/portage/env/net-mail  \
   echo 'ENVVAR=blah'  /etc/portage/env/net-mail/netqmail

That way it will be set at every emerge of that one package only..

-- 
Bo Andresen


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


Re: [gentoo-user] glibc unmerged by accident

2007-11-13 Thread Bo Ørsted Andresen
On Tuesday 13 November 2007 15:35:37 Dirk Heinrichs wrote:
 Am Dienstag, 13. November 2007 schrieb ext Florian Philipp:
  busybox ash

 And then? I guess Python will still not work - no emerge.

Then unpack the binpkg (which is needed either way as mentioned in other 
replies) on /. After that put the binpkg in $PKGDIR/All/ and 
`emerge --usepkgonly glibc` to tell portage about the change...

-- 
Bo Andresen


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


Re: [gentoo-user] {OT} Cable latency Skype

2007-11-13 Thread Mark Shields
On Nov 13, 2007 9:15 AM, Mick [EMAIL PROTECTED] wrote:

 On Tuesday 13 November 2007, Mark Shields wrote:
  On Nov 12, 2007 6:59 PM, Grant [EMAIL PROTECTED] wrote:
   I just switched from DSL to cable and I'm noticing a significant delay
   when using Skype, even when nothing else is happening on my network.
   Has anyone else noticed this and had success fixing it?  I'm using a
   Gentoo router so I can try just about anything.
  
   - Grant
   --
   [EMAIL PROTECTED] mailing list
 
  I work for as a cable modem technician.  The first thing to check for
 when
  you're having cable internet problems is the modem.  Call up tech
 support
  and ask them to check the signals on the modem (upstream power,
 downstream
  rcv, downstream SNR, upstream SNR, headend receive) and make sure
 they're
  in range.  Also ask them to ping and (if available) rf ping to check for
  latency/packet loss.  Also ask them to check the circuits/backbone.
  Also,
  can you reproduce this latency in the form of a ping/traceroute?  This
 will
  go a long way with ISPs in determining where the problem is (although
  Comcast just blows off high latency on pings as the result of dropping
 them
  due to lower priority).

 Interesting to hear this.  The OP will no doubt have a different
 traceroute to
 show the ISP, but does the comment on dropping pings explain the % loss
 shown
 below in certain hops, or is it just a matter of overloaded switches?
 ==
 HOST: lappy   Loss%   Snt   Last   Avg  Best  Wrst
 StDev
  5. 217.41.177.66 0.0%15   17.9  18.0  15.7  22.8
 1.7
  6. 217.41.177.1346.7%15   21.0  17.5  15.7  21.0
 1.5
  7. 217.41.177.54 0.0%15   17.0  16.6  15.1  20.7
 1.4
  8. 217.47.166.1060.0%15   16.0  16.9  15.3  18.9
 1.1
  9. core1-pos5-2.faraday.ukcore.  0.0%15   17.0  45.3  15.2 192.3
 52.7
  10. core1-pos0-15-0-10.ilford.uk  0.0%15   18.9  18.3  17.1  19.5
 0.7
  11. 194.74.77.222 0.0%15   18.1  17.1  15.5  19.1
 1.0
  12. t2c1-ge14-0-0.uk-ilf.eu.bt.n  6.7%15   17.9  17.3  15.7  19.1
 0.9
  13. t2c1-p4-0-0.us-nyc.eu.bt.net  0.0%15  107.3 108.1 106.1 109.7
 1.1
  14. 12.116.102.17 0.0%15  108.3 107.9 105.5 110.0
 1.3
  15. tbr1.n54ny.ip.att.net 0.0%15  133.2 133.8 131.2 135.4
 1.4
  16. cr2.n54ny.ip.att.net  0.0%15  135.2 133.5 131.6 135.7
 1.3
  17. cr2.wswdc.ip.att.net  0.0%15  132.2 132.9 131.3 134.7
 1.1
  18. cr1.attga.ip.att.net  0.0%15  134.2 133.6 132.1 135.7
 1.2
  19. tbr2.attga.ip.att.net 0.0%15  135.2 134.0 132.0 136.2
 1.3
  20. gar4.attga.ip.att.net 0.0%15  132.2 134.1 130.0 159.4
 7.1
  21. 12.124.64.62 20.0%15  140.2 138.6 137.0 140.4
 1.1
  22. te-9-1-ur01.south.tn.knox.co  6.7%15  141.2 140.4 138.1 141.5
 1.0
  23. te-8-3-ur02.west.tn.knox.com  0.0%15  141.2 140.3 139.1 141.2
 0.6
  24. ge-1-46-ur01.west.tn.knox.co  0.0%15  138.2 138.6 137.8 140.6
 0.9
 ==

 Note some of these are being dropped in the UK, rather than by Comcast.
 --
 Regards,
 Mick


I would like to mention that while I am not a cable modem field tech, I do
work in an escalated dept (Tier II).  That said, most of the time when you
see packet loss/high latency at one hop, you'll see it at the sequential
hops after that if it's a true packet loss/latency issue and not just the
ICMP packets being given lower priority/dropped.  The packet loss could also
be that hop/ISP dropping the packet because it detected what it might
consider too many pings (flood protection, I assume).  I've seen Comcast
drop on a 3rd hop before.In the case of ICMP packets having lower
priority, it's best to just ping the host you're trying to get to then go
from there - like an average of 100 sequential pings, for example.
Generally speaking, if a basic ping such as this returns latency/packet
loss, there's a problem somewhere along the line, and you can continue with
further testing such as traceroutes, speed tests, and individually pinging
possible problematic hops.  Concerning Comcast, I called them once and
complained about latency; they rebutted with the fact ICMP packets have a
lower priority on their network.

That doesn't make any sense to me, though.  If they're having to drop ICMP
packets, what does that say about the capacity of the network?  Regardless,
the best way to test for packet loss is to run a speed test.  If your speeds
are decently consistent and what you pay for (or close to it), then packet
loss isn't an issue (I recommend speedtest.net).

One last thing:  this thread is way off-topic.  I suggest we take this to
another forum or just e-mail off this mailing list if we wish to continue.

-- 
- Mark Shields


Re: [gentoo-user] grub hell

2007-11-13 Thread Sarpy Sam

   Get easy, one-click access to your favorites.
   Make Yahoo! your homepage.
   http://www.yahoo.com/r/hs
 
 
  do you have a space in between (hd1) and (hd0) in
  map (hd1) (hd0)
?

 space or no space makes no difference.

 The thing is, tab completion finds only hd0 which grub
 doesn't seem to realize is the SECOND drive. Using hd1
 gives error 21: Selected disk does not exist. Although
 it appears in device.map, dmesg, fdisk etc.

 Maybe it's a bug in grub.Gonna send a note to
 [EMAIL PROTECTED] see what happens.


I had something similar happen like this on a box I just recently
built.  I had two hard disks but the system could only see one.  It
turned out I had the jumpers on the hard drive set for cable select
and was using the proper cable but it was not reading right.  Once I
set the hard drives jumpers in a master/slave configuration the
computer could see both hard drives and everything worked fine.  Have
you messed with this stuff at all?  Trying different disc plugged in
using different cables into different points.  I don't know if it will
make a difference but if grub isn't seeing one of the drives I would
suspect the controller.
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] glibc unmerged by accident

2007-11-13 Thread Alan McKinnon
On Tuesday 13 November 2007, de Almeida, Valmor F. wrote:
 Hello,

 After a successful upgrade from profile 2006.1 to 2007.0, I decided
 to unmerge some unused packages from world and accidentally had glibc
 on the emerge command line from a cut and paste operation.

 glibc was unmerged and now I can't use common shell commands such as
 ls or cp to list and copy files from a backup.

 I am thinking that to fix this I will have to boot from a cd and
 emerge glibc.

 Is there another way to do this?

Ouch. Easiest way I can think of is same idea as yours - to boot off a 
CD, chroot into your usual / and emerge glibc. If you have another 
gentoo machine handy with the same or higher version of glibc, you 
could quickpkg it there and simply unpack it into the chroot.

It's a reasonably large binary, 12M on my system.

alan


-- 
Optimists say the glass is half full,
Pessimists say the glass is half empty,
Developers say wtf is the glass twice as big as it needs to be?

Alan McKinnon
alan at linuxholdings dot co dot za
+27 82, double three seven, one nine three five
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] grub hell

2007-11-13 Thread Mick
On Tuesday 13 November 2007, maxim wexler wrote:
 --- Dan Farrell [EMAIL PROTECTED] wrote:
  On Mon, 12 Nov 2007 15:27:55 -0800 (PST)
 
  maxim wexler [EMAIL PROTECTED] wrote:
rootnoverify (hd1,0)
map (hd1)(hd0)
  
   Error 11: Unrecognized device string
  
   Press any key to continue...

 ___
_

   Get easy, one-click access to your favorites.
   Make Yahoo! your homepage.
   http://www.yahoo.com/r/hs
 
  do you have a space in between (hd1) and (hd0) in
  map (hd1) (hd0)
  ?

 space or no space makes no difference.

 The thing is, tab completion finds only hd0 which grub
 doesn't seem to realize is the SECOND drive. Using hd1
 gives error 21: Selected disk does not exist. Although
 it appears in device.map, dmesg, fdisk etc.

 Maybe it's a bug in grub.Gonna send a note to
 [EMAIL PROTECTED] see what happens.

I am not sure if you have tried this or not, but when you map one drive to 
another {say: map (hd0) (hd1)}, you also need to map the second drive to the 
first, instead of leaving it hanging.  So, the complete entry becomes:

map (hd0) (hd1)
map (hd1) (hd0)

If this doesn't work you may want to try the hide command.  Hide all the other 
bootable partitions but the one you intend to boot:

unhide (hd1,0)
hide (hd1,0)
rootnoverify (hd1,0)
map (hd0) (hd1)  --These two may or may not be
map (hd1) (hd0)  --needed with un/hide command
makeactive
chainloader +1

It is also a good idea to only have the bootable flag set with fdisk on the 
WinXP partition (Linux /boot doesn't need it anyway).

Finally, you could also try changing the device map from  (hd1) /dev/hdc to 
(hd2) /dev/hdc.

HTH.
-- 
Regards,
Mick


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


Re: [gentoo-user] CFLAGS for Pentium Dual Core E2160 ?

2007-11-13 Thread Stefan G. Weichinger
Stefan G. Weichinger schrieb:

 Maybe I will give it a try on another hdd and try to do a fresh install
 of x86_64 on that E2160, if the winter is long and boring ;-)

Additional question here:

Would I have to start with the amd64-live-cd when I want to install from
scratch, getting a 64-bit-system with the Core2Duo E6600?

I found some notes on the net amd64 is for x86_64, unsure about that ...

Thanks, Stefan
-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] mouse freeze

2007-11-13 Thread Elyahou ITTAH
Hi,

I have an Elantech touchpad on Compal FL90 laptop. Sometimes, my touchpad
freeze and this is related in dmesg like that:

psmouse.c: Wheel Mouse at isa0060/serio1/input0 lost synchronization,
throwing 1 bytes away.
psmouse.c: resync failed, issuing reconnect request

What's wrong with my configuration ?


Re: [gentoo-user] CFLAGS for Pentium Dual Core E2160 ?

2007-11-13 Thread Neil Bothwick
On Tue, 13 Nov 2007 23:16:37 +0100, Stefan G. Weichinger wrote:

 Would I have to start with the amd64-live-cd when I want to install from
 scratch, getting a 64-bit-system with the Core2Duo E6600?

Yes.
 
 I found some notes on the net amd64 is for x86_64, unsure about
 that ...

That's right, the architecture was originally for the AMD 64-bit chips.


-- 
Neil Bothwick

I know corn oil comes from corn, where does baby oil come from?


signature.asc
Description: PGP signature


Re: [gentoo-user] CFLAGS for Pentium Dual Core E2160 ?

2007-11-13 Thread Stefan G. Weichinger
Neil Bothwick schrieb:
 On Tue, 13 Nov 2007 23:16:37 +0100, Stefan G. Weichinger wrote:
 
 Would I have to start with the amd64-live-cd when I want to install from
 scratch, getting a 64-bit-system with the Core2Duo E6600?
 
 Yes.
  
 I found some notes on the net amd64 is for x86_64, unsure about
 that ...
 
 That's right, the architecture was originally for the AMD 64-bit chips.

Thanks for clearing that, not very intuitive  :)

Stefan

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] CFLAGS for Pentium Dual Core E2160 ?

2007-11-13 Thread Neil Bothwick
On Tue, 13 Nov 2007 23:34:40 +0100, Stefan G. Weichinger wrote:

  I found some notes on the net amd64 is for x86_64, unsure about
  that ...  
  
  That's right, the architecture was originally for the AMD 64-bit
  chips.  
 
 Thanks for clearing that, not very intuitive  :)

It was when the only x86_64 chips were AMD, and changing the name now
would be almost as confusing.


-- 
Neil Bothwick

Light travels faster than sound. This is why some people appear bright
until you hear them speak.


signature.asc
Description: PGP signature


Re: [gentoo-user] CFLAGS for Pentium Dual Core E2160 ?

2007-11-13 Thread Stefan G. Weichinger
Neil Bothwick schrieb:
 On Tue, 13 Nov 2007 23:34:40 +0100, Stefan G. Weichinger wrote:
 
 I found some notes on the net amd64 is for x86_64, unsure about
 that ...  
 That's right, the architecture was originally for the AMD 64-bit
 chips.  
 Thanks for clearing that, not very intuitive  :)
 
 It was when the only x86_64 chips were AMD, and changing the name now
 would be almost as confusing.

Ok, I understand that fact, but it wouldn't hurt to have some info or
even a HOWTO on gentoo.org or the gentoo-Wiki for current CPUs, listing
some kind of table like

CPU |   target system   |
Core2Duo|   32bit   |   64bit   |
livecd/arch |   i686|   amd64   |

or similar.

I tried to find something like that for quite some time, I assume not to
be the most stupid guy out there, but wasn't able to find something
telling me explicitly how to start and which media to use.

Just a minor note ...

Thanks again, Stefan

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] grub hell

2007-11-13 Thread maxim wexler
 I am not sure if you have tried this or not, but
 when you map one drive to 
 another {say: map (hd0) (hd1)}, you also need to map
 the second drive to the 
 first, instead of leaving it hanging.  So, the
 complete entry becomes:
 
 map (hd0) (hd1)
 map (hd1) (hd0)
 
 If this doesn't work you may want to try the hide
 command.  Hide all the other 
 bootable partitions but the one you intend to boot:
 
 unhide (hd1,0)
 hide (hd1,0)
 rootnoverify (hd1,0)
 map (hd0) (hd1)  --These two may or may not be
 map (hd1) (hd0)  --needed with un/hide command
 makeactive
 chainloader +1
 
 It is also a good idea to only have the bootable
 flag set with fdisk on the 
 WinXP partition (Linux /boot doesn't need it
 anyway).
 
 Finally, you could also try changing the device map
 from  (hd1) /dev/hdc to 
 (hd2) /dev/hdc.
 
 HTH.
 -- 
 Regards,
 Mick
 
Thanks for the suggestions, I tried them all, but none
of them worked.

Every attempt at tab completion results in:

Possible disks are: fd0 fd1 fd2 fd3 fd4 fd5 fd6 fd7
hd0

hd1 just doesn't appear(don't know what all those
floppies is about). Any attempt to use it, whether by
tab completion or by just entering it at the prompt,
results in Error 21: Selected disk does not exist.

I know the drive is OK cause it boots when the boot
order in the BIOS starts with the first drive.

I think I'll try that old hack where you dd the boot
sector to a floppy and copy it to C:\ in Windows. Then
you write a .bat file? Details kinda hazy...

-mw


  

Get easy, one-click access to your favorites. 
Make Yahoo! your homepage.
http://www.yahoo.com/r/hs 
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] X forwarding [fixed]

2007-11-13 Thread Billy Holmes
Roger Mason wrote:
 I am assuming that I failed to set up ipv6 routing or something?
 Anyway, the problem is fixed, if not quite solved.
   

ah. I didn't think about that. I actually turn off ipv6 in the
beginning, because I hate for things to run that I'm not using.
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] OT - Need help enabling iptables support in kernel

2007-11-13 Thread Walter Dnes
On Mon, Nov 12, 2007 at 10:55:54PM -0800, Bryan Whitehead wrote
 I don't see what the big deal is - you are choosing to do everything
 manually by running gentoo and compiling your own kernel. If you don't
 like having to learn things like this why not use Ubuntu or Fedora?

  I've been running Gentoo for a few years, and I remember earlier
versions of iptables, where everything was on one page.  Why do we have
to activate the same feature on two separate pages now?

-- 
Walter Dnes [EMAIL PROTECTED] In linux /sbin/init is Job #1
Q. Mr. Ghandi, what do you think of Microsoft security?
A. I think it would be a good idea.
-- 
[EMAIL PROTECTED] mailing list