Re: [gentoo-user] low-level formatting a harddrive

2005-10-18 Thread krzaq
On 10/18/05, maxim wexler [EMAIL PROTECTED] wrote:
 Hello everbody,

 Maxtor suggests I do a low-level format of my flaky
 Diamond 16 drive using their Powermax tool.
 Unfortunately it doesn't give you the option of
 sparing one partition or the other -- it does the
 whole thing.

 I strongly suspect the problem lies on the first half
 of the drive where XP-pro used to reside. Is there a
 way to do a low-level format of part of a drive while
 leaving the rest intact?
If you have the drive partitioned you can

dd if=/dev/zero of=/dev/hdaX

Where hdaX is the partition to zero out. This should
be equivalent to a low level format.

PS:
Have you tried running badblocks on it?

--
Regards
Karol Krzak

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] [OT] DVD-writer testing tool

2005-09-23 Thread krzaq
On 9/23/05, Andrew Gaydenko [EMAIL PROTECTED] wrote:
 Is there some kind of such tool?
There is a tool caled kprobe2 but it only works on LiteON DVDRW and WINDOZE.


--
Regards
Karol Krzak

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] [OT] VPN question

2005-09-07 Thread krzaq
On 9/7/05, Heinz Sporn [EMAIL PROTECTED] wrote:
 Am Mittwoch, den 07.09.2005, 11:39 +0200 schrieb Uwe Thiem:
  On 07 September 2005 09:15, Heinz Sporn wrote:
   Am Dienstag, den 06.09.2005, 08:32 -0700 schrieb gentuxx:
   [snip]
  
Well, as long as you're not trying to establish the VPN tunnel over IPX,
you can tunnel whatever you want.  So, once you've established a VPN
connection with another box, or a concentrator, it shouldn't matter what
type of traffic goes through the tunnel.
  
   Sorry, but that's simply not true. IPX has no glue what to do with a
   TCP/IP based VPN tunnel.
 
  ... and it doesn't need to. Gentuxx's answer above is correct.
 
 Sucessfully creating a VPN tunnel of some sort does really not enable
 IPX traffic automagically. At least you have to establish ethernet
 bridging on both ends of the tunnel. Not that big a deal if you have two
 Linux boxes on both ends of the tunnel and run say OpenVPN. But I was
 under the impression that this is not the scenario here.
Right you are ;)
The other endpoint is supposed to be WinXP box.
I was wondering if there's some magical way to establish an IPX tunnel
inside a TCP based VPN (using openvpn client at one endpoint).
Why does everything besides random clicking have to be so hard in this damn OS..

Thanks for your awnsers. Thread closed.

-- 
Regards
Karol Krzak

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] [OT] VPN question

2005-09-06 Thread krzaq
Hi list!

Is it possible to tunnel IPX protocol inside VPN (for ex. openvpn) ?

-- 
Regards
Karol Krzak

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] [OT] VPN question

2005-09-06 Thread krzaq
On 9/6/05, Bastian Balthazar Bux [EMAIL PROTECTED] wrote:
 krzaq wrote:
  Hi list!
 
  Is it possible to tunnel IPX protocol inside VPN (for ex. openvpn) ?
 
 
 never used it, maybe ayiya ?
 http://unfix.org/~jeroen/archive/drafts/draft-massar-v6ops-ayiya-00.html
hmmm..
I was hoping its possible to connect to VPN with windows client. I
need to run some old
stuff that's using IPX as transport (also old games like RedAlert ;-) ).


-- 
Regards
Karol Krzak

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Slightly OT: favorite window manager/desktop environ?

2005-09-01 Thread krzaq
On 9/1/05, Matt Garman [EMAIL PROTECTED] wrote: 
 Anyway, I was just hoping to start a pub-style conversation on
 what people like/disklike in a window manager.
Xfce4 is really great in my opinion. KDE is just ... too much. I see all tons 
of icons/apps that I never use and get discouraged.

I also use icewm from time to time.
Its very simple, small and has most features you would want from a WM.

-- 
Regards
Karol Krzak

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] fan noise in recent kernels

2005-08-25 Thread krzaq
On 8/25/05, Mark Knecht [EMAIL PROTECTED] wrote:
 Hi,
Maybe I'm imagining things but it seems that all of my machines
 have gotten noticibly noisier with some of the most recent kernels,
 ala 2.6.12-gentoo-r6 or -r9. Has anyone else noticed this? This
 observation comes from both a couple of Pundit-R's running
 mythfrontend as well as an Intel-based backend/general purpose
 machine.
 
What packages would I look at emerging to better monitor control
 that sort of thing?
Have you got an i2c chip on your board?
You can control fan speed from /sys/bus/i2c interface.


-- 
Regards
Karol Krzak

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] fan noise in recent kernels

2005-08-25 Thread krzaq
I couldnt find a good program to do this.
I've rewriten an old piece of code to work with i2c.
It's configurable and works quite well.
If you like I can email the source to you.

On 8/25/05, Mark Knecht [EMAIL PROTECTED] wrote:
 On 8/25/05, krzaq [EMAIL PROTECTED] wrote:
  On 8/25/05, Mark Knecht [EMAIL PROTECTED] wrote:
   Hi,
  Maybe I'm imagining things but it seems that all of my machines
   have gotten noticibly noisier with some of the most recent kernels,
   ala 2.6.12-gentoo-r6 or -r9. Has anyone else noticed this? This
   observation comes from both a couple of Pundit-R's running
   mythfrontend as well as an Intel-based backend/general purpose
   machine.
  
  What packages would I look at emerging to better monitor control
   that sort of thing?
  Have you got an i2c chip on your board?
  You can control fan speed from /sys/bus/i2c interface.
 
 All the machines have i2c chips, but I don't find anything readable
 when I look at /sys/bus/i2c. For instance, on my oldest machine:
 
 [EMAIL PROTECTED] ~ $ ls -al /sys/bus/i2c/devices/
 total 0
 drwxr-xr-x  2 root root 0 Aug 25 11:15 .
 drwxr-xr-x  4 root root 0 Aug 25 08:12 ..
 lrwxrwxrwx  1 root root 0 Aug 25 11:15 1-002d -
 ../../../devices/pci:00/:00:11.0/i2c-1/1-002d
 lrwxrwxrwx  1 root root 0 Aug 25 11:15 1-0048 -
 ../../../devices/pci:00/:00:11.0/i2c-1/1-0048
 lrwxrwxrwx  1 root root 0 Aug 25 11:15 1-0049 -
 ../../../devices/pci:00/:00:11.0/i2c-1/1-0049
 [EMAIL PROTECTED] ~ $
 
 
 [EMAIL PROTECTED] ~ $ ls -al /sys/bus/i2c/drivers/
 dev_driver/  i2c_adapter/ w83781d/ w83l785ts/
 [EMAIL PROTECTED] ~ $ ls -al /sys/bus/i2c/drivers/
 
 Control of this stuff must be application based. Is there an app for
 monitoring temperature and fan speed and then setting it higher or
 lower, either by hand or automatically?
 
 Thanks,
 Mark
 
 --
 gentoo-user@gentoo.org mailing list
 
 


-- 
Regards
Karol Krzak

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] ntp problem

2005-08-23 Thread krzaq
On 8/23/05, Bruno Lustosa [EMAIL PROTECTED] wrote:
 Hello. I'm running ntpd as server on one of my machines, and it keeps
 itself in sync with 6 time servers around the globe. The
 synchronization works very well.
 The problem is when I try to get the other machines on the network to
 sync themselves with this one server. Most of them are running linux
 (kernel 2.6.x), but some are still running windows.
 Some machines can sync fine, and some don't. All of them can reach the
 server (same network), and there is no firewall at all.
 This is the output I get from ntpq on the machines that don't work:
 
 ntpq peers
  remote   refid  st t when poll reach   delay   offset  jitter
 ==
  timeserver 217.160.252.229  3 u   26   64  3770.214  46927.6 716.379
 ntpq assoc
 
 ind assID status  conf reach auth condition  last_event cnt
 ===
   1 15036  9064   yes   yes  nonereject   reachable  6
 
 The only differences between this one and another machines where it's
 working fine are the status code (it varies a bit) and the condition
 (instead of reject, sys.peer).
 The ntp.conf for all machines have just:
 
 server 192.168.7.1
 
 which is the ip address of the time server in question.
 I don't know the internals of ntp. What can be wrong in my configuration?

I am no NTP expert, but there may be nothing wrong with your configuartion.
NTP is a complex protocol. The machine has decided not to sync
with the requested server. It thinks that the provided server is inacurate (the
machine's internal clock is more acurate).

Leave it running a couple of days and then see what happens.

The whole idea is to calculate the drift of the machines internal
clock. NTP will
not trust specified timeservers blindly.

Frankly I think that ntp works best with several timeservers.
If you want your local machines to blindly set the date to your local timeserver
try nptdate instead.

-- 
Regards
Karol Krzak

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] ntp problem

2005-08-23 Thread krzaq
On 8/23/05, Bruno Lustosa [EMAIL PROTECTED] wrote:
 On 8/23/05, kashani [EMAIL PROTECTED] wrote:
  That offset looks rather large. NTP really wants to make constant small
  changes, not a single huge change. This is why the ntpd setup allows for
  an immediate sync via ntpdate before starting the daemon. To fix this
  I'd shut down ntpd, run ntpdate 192.168.7.1, and then start ntpd again.
 
 That's what I did yesterday before leaving work. It synced with
 ntpdate, and I left ntpd running. Today, the offset was like that.
 That's what I don't understand.
H...
If you specify one timeserver, ntp cannot tell which clock is drifting
away (local
or remote). Ntpd trusts the local clock more than the remote one.
Large offsets cause ntpd to discard 192.168.7.1 as reliable timesource.
Try adding on this one machine more time servers and observe what will happen.

-- 
Regards
Karol Krzak

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] [big OT] Export firefox profile

2005-08-22 Thread krzaq
Is there a way to export a whole profile (including bookmarks, saved passwords, extensions, themes) in Mozilla Firefox?

I want to export my Firefox profile to two machines: windowsXP and another gentoo.
Can I just copy the whole profile over?
-- RegardsKarol Krzak


[gentoo-user] distcc liveCD

2005-05-09 Thread krzaq
Hello all!

Does anyone know of a minimalist gentoo LiveCD equiped with DISTCC?
Can it be done in a simple way with catalyst by modifing gentoo
minimal livecd spec?

-- 
Regards
Karol Krzak

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Basic ebuild question

2005-05-06 Thread krzaq
On 5/7/05, Ciaran McCreesh [EMAIL PROTECTED] wrote:
 On Sat, 7 May 2005 01:23:04 +0200 krzaq [EMAIL PROTECTED] wrote:
 | If src_install ( ) is simply
 | make DESTDIR=${D} install || die
 | then i have to emerge it with -sandbox. Otherwise it dies on access
 | voliation when trying
 | to install the python part. This is understandable, since it tires to
 | write to /usr/.. directly.
 |
 | Is there a nice way to get the python part installed thru
 | distutils_src_install ( ) ?
 
 Are there separate make install targets for the c++ parts and the python
 parts? If not, you're probably screwed.

There are separate targets so it's doable the hard way.
The thing is ... well ... it's ugly.

I commented the line:
   make DESTDIR=${D} install || die
and uncommented the:
   einstall || die

and it works flawlessly. The ebuild HOWTO tells to use the first one in favor of
the second one. Why doesn't einstall fail with acces violation?

Im not very comfortable with all gentoo magic yet 'casue this is my
second ebuild.

-- 
Regards
Karol Krzak

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Basic ebuild question

2005-05-06 Thread krzaq
On 5/7/05, Ciaran McCreesh [EMAIL PROTECTED] wrote:
 On Sat, 7 May 2005 02:25:40 +0200 krzaq [EMAIL PROTECTED] wrote:
 | I commented the line:
 |make DESTDIR=${D} install || die
 | and uncommented the:
 |einstall || die
 |
 | and it works flawlessly. The ebuild HOWTO tells to use the first one
 | in favor of the second one. Why doesn't einstall fail with acces
 | violation?
 
 einstall does some extra magic. You can read it in /usr/sbin/ebuild.sh
 if you want the details. Anyway, if it actually works (which I wasn't
 expecting from your description, but oh well), use einstall, with a
well my Enlgish suxx, but hey , what you're gonna do ...
 comment saying that regular make won't work.
I think it must be the libdir setting in EXTRA_EINSTALL.
The important bottom line -- it works! 
Thanks for the help!

Case closed. 
It's 2.50 AM, time to powerdown and go get some sleep.

-- 
Regards
Karol Krzak

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Gentoo installation on an old notebook with a little help from my desktop pc

2005-05-04 Thread krzaq
On 5/4/05, Ezequiel Tolnay [EMAIL PROTECTED] wrote:
 Hi, I have a decent desktop with gentoo, and an old and slow
 Pentium-266Mhz notebook, where I would like to install Gentoo.

 Can anyone suggest me how to use my fast processor to do the
 installation, perhaps mounting a drive using NFS and doing a chroot, so
 the installation does not take a whole month? I'm concerned that if I
 follow the guidelines for the installation like this, the packages might
 be compiled for the current processor (athlon) instead of the old
 pentium (586), or pick some hardware features from the new machine and
 install binaries that will finally not work.
I've done gentoo install on P166 MMX 32RAM notebook. Here's what I did:

1. create a chroot from stageX on my amd64
helpful command: 
mount -o bind /usr/portage /chroot-pentium/usr/portage
2. set CHOST,CFLAGS,USE and bootstrap + build the system
3. compile a kernel for the old laptop
3. tar the whole chroot and copy it over PLIP to running windoze 98
4. copy over the gentoo liveCD
5. fiddle around with loadlin and boot linux from DOS MODE (my piece
of junk doesn't have a CDROM)
6. set up partitions and untar the chroot
7. get it to boot with grub

thats pretty much it. Its been a year or so since I did that so I
don't remember any details :(

I still keep c.a. 300MB of chroot on my amd64 to build upgrades.
There's no /usr/portage on my laptop. Every package gets built by amd64
(emerge -b/-B), the portage tree is exported via samba (not NFS, cause
I need samba anywayz). Every package I install directly is binary
(emerge -K).

Everything went VEEERY SMOOTH thx to all gentoo devs ;)

PS: Take note , I had set up wrong CHOST (i386- instead i586-) and had
little trouble later on with changing it to the corect one.

-- 
Regards
Karol Krzak

-- 
gentoo-user@gentoo.org mailing list