Re: [gentoo-ppc-user] Kernel panic booting minimal iso on dual G5
Hello I just picked up a dual G5 (the 2.7 GHz flavor) and I'm interested in running gentoo on it as well as OS X. I've been using x86 and x86_gentoo for quite some time now (back since 1.2). However the ppc64 minimal iso from the mirrors gives a kernel panic during bootup on this hardware, with the call stack indicating a driver probe of some sort. I think that the 2.7 GHz machines need a newer kernel. You might want to look into the ChangeLog of linux-2.6.12-rc5, I know that there are fixes for exactly those machines in it. You can then build such kernel and netboot it. If you can't build one, you can ask in #gentoo-ppc64 on Freenode. Greets, Michael -- Gentoo Linux Developer using m0n0wall | http://hansmi.ch/ I dunno, I dream in Perl sometimes... -- Larry Wall in [EMAIL PROTECTED] pgpW70I3NhB4L.pgp Description: PGP signature
Re: [gentoo-user] cant build gcc on installation emerge --newuse system
[EMAIL PROTECTED] wrote: Thanks for posting and filing this. I just received this error and was sure it was operator error (i.e. my fault). Is there any workaround, even if somewhat unefficient? I'm installing a test system so my main concern is getting a running system, even if it's not optimized in every possible way. PLS do not top post. It is fixed now, just do emerge sync and try again. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Gnome Wave Cleaner question
On Mon, 2005-05-30 at 01:43, Andrew Gaydenko wrote: As for overall installation, more common practice is to disable OSS/ALSA in a kernel and install alsa-[drivers|lib|utils|oss...] and so on. I have tried the gwc few months ago, and it has now alsa support too (you may use oss also, as alsa has oss simulation). Thanks. Here goes another kernel compile! I have downloaded bplay-0.992.tar.gz gwc-0.19-10.tgz gwc-0.20-10b.tgz gwc-lib-0.05.tgz track_rec-0.03.tgz wavlist.tgz Which version are you running? gwc-0.19-10 or gwc-0.20-10b? -- Phil Our 2nd CD: http://www.cdbaby.com/naomisfancy Naomi's Fancy performances: http://naomisfancy.virtualave.net/schedule.html -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Problem with new kernel
Yes ext3 and via_sata are configured in the kernel and not as modules. All the filesystem sections are compiled directly into the kernel and all the device drivers I need for the motherboard. Kevin. On 29/05/05, Bob Sanders [EMAIL PROTECTED] wrote: On Sun, 29 May 2005 21:52:42 +0100 Kevin Philp [EMAIL PROTECTED] wrote: I have been using a 2.6.7 kernel for months quite happily. Recently I decided to upgrade to 2.6.11-r9 but I am having problems. When booting it stalls with VFS: Cannot open root device 2105 or unknown block Googling around I can see its a common problem and I have tried the following without success: 1. Disable devfs 2. Checked I have via sata in the kernel (via sata board with sata hard drive) 3. Checked I have IDE enabled 4. Checked I have ext3 extensions the same as on 2.6.7 kernel 5. Check LILO is correct Forgive the dumb questions - when you mention the via sata modules and ext3 file system - these are not modules but really in the kernel - *, selected? And the VIA SATA is the one under the SCSI low-level drivers - SCSI_SATA_VIA? Bob -- - -- gentoo-user@gentoo.org mailing list -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] EVMS and the LiveCD 2005.0
Am Sonntag, 29. Mai 2005 02:48 schrieb ext Brett I. Holcomb: I have a system with a SCSI hardware RAID - the RAID makes ukp device /dev/sda. I want to use EVMS on it but not use an initrd for it. I created partitions for /boot (/dev/sda1) and / (/dev/sda2) which is /mnt/gentoo at this point. However, EVMS can not handle the fact that /dev/sda already has two partitions. From what I can see looking at the docs and the forums it needs the bd-claim patch applied but that's not done on the LiveCD so how do I set up my EVMS without an initrd? The livecd doesn't give any options for that. Did you create the partitions with fdisk? If yes try removing them again and recreate them using evmsn. It could also be helpful to turn them into EVMS volumes. HTH... Dirk -- Dirk Heinrichs | Tel: +49 (0)162 234 3408 Configuration Manager | Fax: +49 (0)211 47068 111 Capgemini Deutschland | Mail: [EMAIL PROTECTED] Hambornerstraße 55 | Web: http://www.capgemini.com D-40472 Düsseldorf | ICQ#: 110037733 GPG Public Key C2E467BB | Keyserver: www.keyserver.net pgpH0eN7FLmMa.pgp Description: PGP signature
Re: [gentoo-user] pernicious printer problem [SOLVED]
Michael Ulm wrote: For me (and I guess for many others), the main problem with Gentoo is hardware setup. Not that I'm complaining - I knew that when I chose Gentoo for my new computer, and I learned a lot so far. Printer setup however, was a breeze. It just went according to the manual; configuring the paralell port, drivers installed with CUPS and foomatic. No problem at all. Well, just one - the printer does not print. Any print job goes into the printing queue and then moves to the completed printing jobs folder. However, the printer just sits there, doing nothing (not even blinking a led), looking smug. Now, I grant that the printer (a Lexmark Z42) is a POS and in addition, I'm saving a fortune on ink. On the other hand, my wife is starting to make sarcastic comments and reminds me daily that she _could_ print under windows. My system has an MSI K8N Neo2 Platinum, with an AMD64 processor, running Gentoo amd64. CUPS gave no suspicious output (even after setting output to debug2). /var/log/messages told me that /dev/lp0 was successfully created, and lsmod shows that lp, parport, and parport_pc are loaded. Any ideas how to diagnose the problem? Finally, I found the time to track down this one. Owing to some foomatic weirdness the ppd file for the printer was not installed. The really annoying bug however, seems to come from CUPS, which did not complain at all that no ppd file was found, silently did send nothing to the printer, and filed the job as successfully completed. Hooray! At last, I can print (well, I could print if my children hadn't used up all the printer paper for their doodlings). Michael -- Michael Ulm RD Team ISIS Information Systems Austria tel: +43 2236 27551-219, fax: +43 2236 21081 e-mail: [EMAIL PROTECTED] Visit our Website: www.isis-papyrus.com -- gentoo-user@gentoo.org mailing list
[gentoo-user] raid messages at boot time
Hi, This is my first raid, i got it working without problems (i think) but my dmesg contains this: Is this a normal behaviour md: Autodetecting RAID arrays. md: autorun ... md: considering hdb13 ... md: adding hdb13 ... md: hdb12 has different UUID to hdb13 md: hdb11 has different UUID to hdb13 md: hdb10 has different UUID to hdb13 md: hdb9 has different UUID to hdb13 md: hdb8 has different UUID to hdb13 md: hdb7 has different UUID to hdb13 md: hdb6 has different UUID to hdb13 md: hdb5 has different UUID to hdb13 md: hdb1 has different UUID to hdb13 md: adding hda13 ... md: hda12 has different UUID to hdb13 md: hda11 has different UUID to hdb13 md: hda10 has different UUID to hdb13 md: hda9 has different UUID to hdb13 md: hda8 has different UUID to hdb13 md: hda7 has different UUID to hdb13 md: hda6 has different UUID to hdb13 md: hda5 has different UUID to hdb13 md: hda1 has different UUID to hdb13 md: created md9 md: bindhda13 md: bindhdb13 md: running: hdb13hda13 raid1: raid set md9 active with 2 out of 2 mirrors md: considering hdb12 ... md: adding hdb12 ... md: hdb11 has different UUID to hdb12 ... and so on until md: ... autorun DONE my /proc/mdstat Personalities : [raid1] md1 : active raid1 hdb5[1] hda5[0] 1003904 blocks [2/2] [UU] md2 : active raid1 hdb6[1] hda6[0] 1003904 blocks [2/2] [UU] md3 : active raid1 hdb7[1] hda7[0] 3004032 blocks [2/2] [UU] md4 : active raid1 hdb8[1] hda8[0] 3004032 blocks [2/2] [UU] md5 : active raid1 hdb9[1] hda9[0] 505920 blocks [2/2] [UU] md6 : active raid1 hdb10[1] hda10[0] 505920 blocks [2/2] [UU] md7 : active raid1 hdb11[1] hda11[0] 1003904 blocks [2/2] [UU] md8 : active raid1 hdb12[1] hda12[0] 1003904 blocks [2/2] [UU] md9 : active raid1 hdb13[1] hda13[0] 106125248 blocks [2/2] [UU] md0 : active raid1 hdb1[1] hda1[0] 56128 blocks [2/2] [UU] unused devices: none TIA Patrick -- gentoo-user@gentoo.org mailing list
[gentoo-user] Minor bug filed (patch included)
If a developer is listening and has time, look at my bug #94467 for games-simulation/openttd. [I was catching up on my /., found it linked from a discussion about freeciv, and had to try to emerge it.] -- Boyd Stephen Smith Jr. [EMAIL PROTECTED] ICQ: 514984 YM/AIM: DaTwinkDaddy -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Gnome Wave Cleaner question
Try gwc-0.20-10b, ignore others :-) === On Monday 30 May 2005 10:39, Phil Sexton wrote: === On Mon, 2005-05-30 at 01:43, Andrew Gaydenko wrote: As for overall installation, more common practice is to disable OSS/ALSA in a kernel and install alsa-[drivers|lib|utils|oss...] and so on. I have tried the gwc few months ago, and it has now alsa support too (you may use oss also, as alsa has oss simulation). Thanks. Here goes another kernel compile! I have downloaded bplay-0.992.tar.gz gwc-0.19-10.tgz gwc-0.20-10b.tgz gwc-lib-0.05.tgz track_rec-0.03.tgz wavlist.tgz Which version are you running? gwc-0.19-10 or gwc-0.20-10b? -- Phil Our 2nd CD: http://www.cdbaby.com/naomisfancy Naomi's Fancy performances: http://naomisfancy.virtualave.net/schedule.html -- gentoo-user@gentoo.org mailing list -- gentoo-user@gentoo.org mailing list
[gentoo-user] Suspend to Ram not waking up properly!
Hi I am trying to get some for of suspend to ram or suspend to disk working on my notebook. I have got standby working nicely on my notebook. I tried to sleep (suspend to mem) it seems to suspend (shutdown as such) but than I cant seem to bring it out of the sleep state. When I press the power button you hear the harddrive starting and it comes out of sleep mode but the screen does not switch on again. I have a Mercer notebook with ICH4 chipset and 82852/855GM Integrated Graphics Device by Intel as well. My acpi scripts are as follows: - sleep.sh - #!/bin/sh logger Sleep - Going to Standby touch /tmp/was_sleeping #echo -n standby /sys/power/state echo -n mem /sys/power/state - - power.sh - #!/bin/bash if [ ! -f /tmp/was_sleeping ]; then touch /tmp/was_sleeping echo -n mem | /sys/power/state else logger Coming out of Standby rm -f /tmp/was_sleeping /etc/init.d/alsasound restart /etc/init.d/hotplug restart fi - Thanks Rav -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] how to delete messages from server in Kmail
On Sun, 2005-05-29 at 17:18 +0200, Richard Fish wrote: Nick Rout wrote: well it would have been helpful to say from the outset. why are you leaving it on the server in the first place? I can't speak for askar, but I leave mail on the POP server for a few days or until it is deleted from my inbox, so that I make sure I have a backup copy somewhere. If my system dies and I have to do a recovery from a backup made 2 days ago, I will not lose any incoming messages. Get an old pc and set it up as a mail server, then get it via imap from there. -Richard -- Nick Rout [EMAIL PROTECTED] -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Gnome Wave Cleaner question
On Mon, 2005-05-30 at 01:12 -0400, Phil Sexton wrote: Hi list, I just ran across the Gnome Wave Cleaner project: http://gwc.sourceforge.net/ However, it isn't in portage AFAIK. uilleann / # esearch gwc [ Results for search key : gwc ] [ Applications found : 1 ] * app-admin/gwcc Latest version available: 0.9.6-r2 Latest version installed: [ Not Installed ] Size of downloaded files: 179 kB Homepage:http://gwcc.sourceforge.net/ Description: GNOME Workstation Command Center License: GPL-2 Is anyone on the list using it and any problems/hints if so? It requires the OSS drivers and I get problems if I compile my kernel with OSS enabled in the kernel. I haven't tried the drivers as a module. Could that be worked around using a module? what is wrong with alsa's oss emulation? BTW, I haven't been able to download the tarball for it yet to even attempt to get it going. TIA -- Phil Our 2nd CD: http://www.cdbaby.com/naomisfancy Naomi's Fancy performances: http://naomisfancy.virtualave.net/schedule.html -- Nick Rout [EMAIL PROTECTED] -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Squid using 100% CPU
On Sun, 2005-05-29 at 15:00 +0200, vg`Braindead_One wrote: A few days ago i noticed that one of the squid processes is using all available CPU. Killing it manually solves the problem until the next reboot, but this is of course not the most elegant solution ;) I already tried recreating the config from scratch (using squid.conf.default), re-emerging, emerging the ~x86-version, recreating the cache-directory and different kernel-versions, but no change. I am currently using [ebuild R ] net-proxy/squid-2.5.10_rc3 -customlog -debug +ldap -logrotate +pam -sasl (-selinux) +snmp +ssl (-uclibc) -underscores -zero-penalty-hit I dont know what to check now, i think i tried everything :/ Has anyone else encountered this or knows how to fix it? Stab in the dark, Is it using all available memory? About about File-Descriptors? Did the logs mention anything? Heng Gentoo/Linux on DELL D600 1.4Ghz 1.5GB RAM 98% Microsoft(tm) Free!! Neuromancer 16:59:21 up 2 days, 8:44, 8 users, load average: 1.36, 2.00, 1.65 -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] determining who is using a device
On Sun, 2005-05-29 at 11:40 -0700, Mark Knecht wrote: Hi, I've got this problem in a mytht log file when we try to watch TV: error reading from: /dev/v4l/video0 read: Device or resource busy Is lsof the correct way to determine what or who is keeping this device busy? I get this result: What about using fuser? -- Ow Mun Heng Gentoo/Linux on DELL D600 1.4Ghz 1.5GB RAM 98% Microsoft(tm) Free!! Neuromancer 17:01:13 up 2 days, 8:46, 8 users, load average: 1.38, 1.75, 1.59 -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Building and using binary packages with emerge/portage
On Sun, 2005-05-29 at 18:01 -0500, Boyd Stephen Smith Jr. wrote: I want to know what, if any, information about the package's build environment is stored in the package binary and what, if any, of the information is used by portage/emerge to decide when to use a binary package. I've got a suspision that emerge/portage just matches based on package name/version, this makes binary packaging much less useful, IMHO. Based on my experience, the use flag for binaries does not propagate. Hence, if you use a pre-built binary and you don't like the USE flag, used, it's not gonna be helpful to you. Someone correct me if I'm wrong, but I don't think those binary packages propagate into /var/db as well. (IF they do, I think they might not reflect the actual USE flags used to built the binary. -- Ow Mun Heng Gentoo/Linux on DELL D600 1.4Ghz 1.5GB RAM 98% Microsoft(tm) Free!! Neuromancer 17:02:29 up 2 days, 8:47, 8 users, load average: 1.68, 1.84, 1.63 -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] [OT] tips on my 1st try at iptables?
Travis Osterman wrote: I've spent the weekend attempting to mold an old p3 400mHz machine into a firewall/router so I can replace my current linksys box. Basically, I read the howtos at netfilter.org and the gentoo-home-router-howto and put together the following script for loading my rules. This meets the functionality I need at this point in the project (ssh access from inside and outside, port forwarding, and masquerading), but I'm not well versed on security concerns so I'm hoping a few experienced users could point out redundancies and potential security issues. Thanks in advance for taking the time to help. #!/bin/bash IPT=/sbin/iptables WAN_IFACE=eth0 LAN_IFACE=eth1 LAN_ADDY=192.168.0.0/24 # flush and reset rules $IPT -F $IPT -t nat -F $IPT -t mangle -F $IPT -X $IPT -t nat -X $IPT -t mangle -X $IPT -P INPUT ACCEPT $IPT -P FORWARD ACCEPT $IPT -P OUTPUT ACCEPT $IPT -t nat -P PREROUTING ACCEPT $IPT -t nat -P POSTROUTING ACCEPT $IPT -t nat -P OUTPUT ACCEPT $IPT -t mangle -P PREROUTING ACCEPT $IPT -t mangle -P OUTPUT ACCEPT # begin rules $IPT -I INPUT 1 -i $LAN_IFACE -j ACCEPT $IPT -I INPUT 1 -i lo -j ACCEPT $IPT -A INPUT -p UDP --dport bootps -i ! $LAN_IFACE -j REJECT $IPT -A INPUT -p UDP --dport domain -i ! $LAN_IFACE -j REJECT $IPT -A INPUT -m state --state NEW -i ! $WAN_IFACE -j ACCEPT $IPT -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT $IPT -A INPUT --protocol tcp --dport 22 -i $WAN_IFACE -j ACCEPT $IPT -P INPUT DROP $IPT -A INPUT -i ! $LAN_IFACE -j DROP $IPT -A PREROUTING -t nat -p tcp -i $WAN_IFACE --dport 80 \ -j DNAT --to 192.168.0.20 $IPT -A PREROUTING -t nat -p tcp -i $WAN_IFACE --dport 1022 \ -j DNAT --to 192.168.0.20:22 $IPT -I FORWARD -i $LAN_IFACE -d $LAN_ADDY -j DROP $IPT -A FORWARD -i $LAN_IFACE -s $LAN_ADDY -j ACCEPT $IPT -A FORWARD -i $WAN_IFACE -d $LAN_ADDY -j ACCEPT $IPT -P FORWARD DROP $IPT -t nat -A POSTROUTING -o $WAN_IFACE -j MASQUERADE for f in /proc/sys/net/ipv4/conf/*/rp_filter; do echo 1 $f done /etc/init.d/iptables save -- Travis Osterman Personally I found it much easier to use Shorewall, this is a firewall which does all the low-level ip-tables config and gives you more high-level access. Personally since switching i have not used IP-tables rules at all. Search google and have a look, you may find it more flexible then a script. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] [OT] tips on my 1st try at iptables?
On Sun, 2005-05-29 at 20:03 -0500, Travis Osterman wrote: I've spent the weekend attempting to mold an old p3 400mHz machine into a firewall/router so I can replace my current linksys box. Basically, I read the howtos at netfilter.org and the gentoo-home-router-howto and put together the following script for loading my rules. Frankly, I've stopped trying to grok iptables but rather I use a frontend like shorewall. It's much simpler than doing it all by yourself. Perhaps you can take a look , perhaps you will like it? This meets the functionality I need at this point in the project (ssh access from inside and outside, port forwarding, and masquerading), but I'm not well versed on security concerns so I'm hoping a few experienced users could point out redundancies and potential security issues. Thanks in advance for taking the time to help. #!/bin/bash IPT=/sbin/iptables WAN_IFACE=eth0 LAN_IFACE=eth1 LAN_ADDY=192.168.0.0/24 # flush and reset rules $IPT -F $IPT -t nat -F $IPT -t mangle -F $IPT -X $IPT -t nat -X $IPT -t mangle -X $IPT -P INPUT ACCEPT $IPT -P FORWARD ACCEPT $IPT -P OUTPUT ACCEPT $IPT -t nat -P PREROUTING ACCEPT $IPT -t nat -P POSTROUTING ACCEPT $IPT -t nat -P OUTPUT ACCEPT $IPT -t mangle -P PREROUTING ACCEPT $IPT -t mangle -P OUTPUT ACCEPT # begin rules $IPT -I INPUT 1 -i $LAN_IFACE -j ACCEPT $IPT -I INPUT 1 -i lo -j ACCEPT $IPT -A INPUT -p UDP --dport bootps -i ! $LAN_IFACE -j REJECT $IPT -A INPUT -p UDP --dport domain -i ! $LAN_IFACE -j REJECT $IPT -A INPUT -m state --state NEW -i ! $WAN_IFACE -j ACCEPT $IPT -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT $IPT -A INPUT --protocol tcp --dport 22 -i $WAN_IFACE -j ACCEPT $IPT -P INPUT DROP $IPT -A INPUT -i ! $LAN_IFACE -j DROP $IPT -A PREROUTING -t nat -p tcp -i $WAN_IFACE --dport 80 \ -j DNAT --to 192.168.0.20 $IPT -A PREROUTING -t nat -p tcp -i $WAN_IFACE --dport 1022 \ -j DNAT --to 192.168.0.20:22 $IPT -I FORWARD -i $LAN_IFACE -d $LAN_ADDY -j DROP $IPT -A FORWARD -i $LAN_IFACE -s $LAN_ADDY -j ACCEPT $IPT -A FORWARD -i $WAN_IFACE -d $LAN_ADDY -j ACCEPT $IPT -P FORWARD DROP $IPT -t nat -A POSTROUTING -o $WAN_IFACE -j MASQUERADE for f in /proc/sys/net/ipv4/conf/*/rp_filter; do echo 1 $f done /etc/init.d/iptables save -- Travis Osterman -- Ow Mun Heng Gentoo/Linux on DELL D600 1.4Ghz 1.5GB RAM 98% Microsoft(tm) Free!! Neuromancer 17:18:11 up 2 days, 9:03, 8 users, load average: 0.95, 0.78, 1.10 -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] After switching to udev partitions no longer mount automatically
On Sun, 2005-05-29 at 17:39 -0700, Mark Knecht wrote: On 5/29/05, Bob Sanders [EMAIL PROTECTED] wrote: On Sun, 29 May 2005 14:02:03 -0700 Mark Knecht [EMAIL PROTECTED] wrote: Hi, Does udev somehow not support mounting by label? It's needs the device - /dev/hdxx defined somewhere. Normally this is defined in /etc/fstab. I'd guess that somewhere along the way, the labels were defined in a devfs conf file on the system, thus it appeared devfs was auto-magically working with labels. You could probably define labels for udev if you really wanted to. Partition labels are placed on partitions when you make the file system: mke2fs -j -L TVstorage /dev/sdb2 (Assumes a file system that supports labels.) Then you can read the label using e2label /dev/sdb2 When booting if the fstab file has LABEL=TVstorage /TVdata then it mounts the first partition it finds with the lable TVstorage at the mount point /TVdata Just add the partitions to /etc/fstab - /dev/sda3 / (and the rest of the line) /dev/sda8 /home/herb (and the rest of the line) /dev/sda6 /usr/portage (and the rest of the line) /dev/sdb2 /TVstorage (and the rest of the line) Bob This is, unfortunately, a very bad idea for removable media. What was sdb2 today will become sdc2 tomorrow and the suggestion you make will not work. Actually, isn't it a simple thing such that one can write udev rules such that that disk will always be referred as TVstorage no matter if it's sda/sdb/sdc/etc?? It can use for example, the DISK's or partitions ID/Number etc. Also, if you're on Gnome and you not heard of Project Utopia/Gentopia, perhaps it's time for you to visit it and read about it. Ps : Is /dev/sdb2 a removable disk? if so, perhaps gnome-volume-manager can help (along with gamin/inotify/hal/dbus) I'm having a fun time with this machine since I switched to udev. Twice today the partitions did not mount using the LABEL method but 3 times they did. I guess it works, but not always... Thanks for writing back. Cheers, Mark -- Ow Mun Heng Gentoo/Linux on DELL D600 1.4Ghz 1.5GB RAM 98% Microsoft(tm) Free!! Neuromancer 17:23:48 up 2 days, 9:08, 8 users, load average: 0.66, 0.60, 0.90 -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] [OT] tips on my 1st try at iptables?
I tend to agree, I also tried to get a setup similar to what you have or want up and running. I got bout 3/4 of the way there and no further :( I havent had a chance to setup my firewall since than but shorewall is definately going to be my choice when I get round to it :P Its interface is a lot easier to use and to understand. Especially when it comes to forwarding and such. Cheers Rav On 5/30/05, Ow Mun Heng [EMAIL PROTECTED] wrote: On Sun, 2005-05-29 at 20:03 -0500, Travis Osterman wrote: I've spent the weekend attempting to mold an old p3 400mHz machine into a firewall/router so I can replace my current linksys box. Basically, I read the howtos at netfilter.org and the gentoo-home-router-howto and put together the following script for loading my rules. Frankly, I've stopped trying to grok iptables but rather I use a frontend like shorewall. It's much simpler than doing it all by yourself. Perhaps you can take a look , perhaps you will like it? This meets the functionality I need at this point in the project (ssh access from inside and outside, port forwarding, and masquerading), but I'm not well versed on security concerns so I'm hoping a few experienced users could point out redundancies and potential security issues. Thanks in advance for taking the time to help. #!/bin/bash IPT=/sbin/iptables WAN_IFACE=eth0 LAN_IFACE=eth1 LAN_ADDY=192.168.0.0/24 # flush and reset rules $IPT -F $IPT -t nat -F $IPT -t mangle -F $IPT -X $IPT -t nat -X $IPT -t mangle -X $IPT -P INPUT ACCEPT $IPT -P FORWARD ACCEPT $IPT -P OUTPUT ACCEPT $IPT -t nat -P PREROUTING ACCEPT $IPT -t nat -P POSTROUTING ACCEPT $IPT -t nat -P OUTPUT ACCEPT $IPT -t mangle -P PREROUTING ACCEPT $IPT -t mangle -P OUTPUT ACCEPT # begin rules $IPT -I INPUT 1 -i $LAN_IFACE -j ACCEPT $IPT -I INPUT 1 -i lo -j ACCEPT $IPT -A INPUT -p UDP --dport bootps -i ! $LAN_IFACE -j REJECT $IPT -A INPUT -p UDP --dport domain -i ! $LAN_IFACE -j REJECT $IPT -A INPUT -m state --state NEW -i ! $WAN_IFACE -j ACCEPT $IPT -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT $IPT -A INPUT --protocol tcp --dport 22 -i $WAN_IFACE -j ACCEPT $IPT -P INPUT DROP $IPT -A INPUT -i ! $LAN_IFACE -j DROP $IPT -A PREROUTING -t nat -p tcp -i $WAN_IFACE --dport 80 \ -j DNAT --to 192.168.0.20 $IPT -A PREROUTING -t nat -p tcp -i $WAN_IFACE --dport 1022 \ -j DNAT --to 192.168.0.20:22 $IPT -I FORWARD -i $LAN_IFACE -d $LAN_ADDY -j DROP $IPT -A FORWARD -i $LAN_IFACE -s $LAN_ADDY -j ACCEPT $IPT -A FORWARD -i $WAN_IFACE -d $LAN_ADDY -j ACCEPT $IPT -P FORWARD DROP $IPT -t nat -A POSTROUTING -o $WAN_IFACE -j MASQUERADE for f in /proc/sys/net/ipv4/conf/*/rp_filter; do echo 1 $f done /etc/init.d/iptables save -- Travis Osterman -- Ow Mun Heng Gentoo/Linux on DELL D600 1.4Ghz 1.5GB RAM 98% Microsoft(tm) Free!! Neuromancer 17:18:11 up 2 days, 9:03, 8 users, load average: 0.95, 0.78, 1.10 -- gentoo-user@gentoo.org mailing list -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] kde 3.4.1?
Anyone have an idea when this show goes on the road? There is actually no release announcement at kde.org. Strange that there is a ebuild for that. Greets Jan -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] how to delete messages from server in Kmail
askar ... schreef: I see. Very sad. Do other mail clients like sylpheed-claws or thunderbird support this feature? askar Sorry, askar, just got around to checking this. YES, Thunderbird does support this feature: (translated from Dutch, may not be exact, but should be close enough) Edit=Account Preferences=Server Preferences: Check : Leave messages on server and the then-activated sub-checkbox: Until I delete or move them from the Inbox Don't know the effect if you use message filters, but probably not good (since those would move the messages from the Inbox). But still closer than you are, and better than setting up an additional PC to enable IMAP, of all things. Sylpheed-Claws (GTK2) does not seem to support this feature out-of-the-box, but a plugin may-- I'm not too familiar with Sylpheed-Claws yet. Hope this helps, Holly On 5/29/05, Dmitri Vassilenko [EMAIL PROTECTED] wrote: On Saturday May 28 2005 23:26, askar ... wrote: Does anybody know how to delete messages from server when the messages deleted in Kmail ? -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Gnome Wave Cleaner question
On Mon, 2005-05-30 at 04:44, Nick Rout wrote: what is wrong with alsa's oss emulation? My poor memory, perhaps? :) -- Phil Our 2nd CD: http://www.cdbaby.com/naomisfancy Naomi's Fancy performances: http://naomisfancy.virtualave.net/schedule.html -- gentoo-user@gentoo.org mailing list
Re: Re: [gentoo-user] EVMS and the LiveCD 2005.0
Yes, it does. After more reading of the docs I think I'll have to recreate them with EVMS instead of cfdisk. Then I'll have to resign myself to booting with an initrd file. x From: Dirk Heinrichs [EMAIL PROTECTED] Date: 2005/05/30 Mon AM 03:45:26 EDT To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] EVMS and the LiveCD 2005.0 -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] kde 3.4.1?
On Monday 30 May 2005 12:11, Jan Meier wrote: Anyone have an idea when this show goes on the road? There is actually no release announcement at kde.org. Strange that there is a ebuild for that. Greets Jan well, it is usuall, that the ebuilds are ready, before a kde release is out - hardmasked. Maybe he unmasked completly kde3.4.x, or some dev unmasked 3.4.1 by accident, but I would not care too much about it. 3.4.1 should come soon ;) -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Re: OT - Need help setting up Gentoo to access digital camera
On Mon, 30 May 2005 10:50:09 +0800, ZeeGeek wrote: what kind of card reader is supported by linux? Every one I've tried, both single slot and the multi-format types. Card readers all use the standard usb-storage drivers, nothing special is needed. -- Neil Bothwick Excuse for the day: daemons did it pgpGGWw7LPXr2.pgp Description: PGP signature
Re: [gentoo-user] kde 3.4.1?
Volker Armin Hemmann schreef: On Monday 30 May 2005 12:11, Jan Meier wrote: Anyone have an idea when this show goes on the road? There is actually no release announcement at kde.org. Strange that there is a ebuild for that. Greets Jan well, it is usuall, that the ebuilds are ready, before a kde release is out - hardmasked. Maybe he unmasked completly kde3.4.x, or some dev unmasked 3.4.1 by accident, but I would not care too much about it. 3.4.1 should come soon ;) According to /usr/portage/profiles/package.mask, the tarballs aren't available yet (so I didn't bother unmasking). I thought maybe the ebuilds were nonetheless in Portage because the devs have some secret source for preliminary testing or something. Holly -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] [OT] tips on my 1st try at iptables?
Here is my /var/lib/iptables/rules-save # Generated by iptables-save v1.2.11 on Sat May 21 16:58:29 2005 *nat :PREROUTING ACCEPT [29:1670] :POSTROUTING ACCEPT [431:26255] :OUTPUT ACCEPT [0:0] [30:1841] -A POSTROUTING -o eth0 -j MASQUERADE COMMIT # Completed on Sat May 21 16:58:29 2005 # Generated by iptables-save v1.2.11 on Sat May 21 16:58:29 2005 *mangle :PREROUTING ACCEPT [16422:18018799] :INPUT ACCEPT [16422:18018799] :FORWARD ACCEPT [0:0] :OUTPUT ACCEPT [13453:2622146] :POSTROUTING ACCEPT [13453:2622146] COMMIT # Completed on Sat May 21 16:58:29 2005 # Generated by iptables-save v1.2.11 on Sat May 21 16:58:29 2005 *filter :INPUT DROP [0:0] :FORWARD ACCEPT [0:0] :OUTPUT ACCEPT [13453:2622146] [440:320869] -A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT [0:0] -A INPUT -i ! eth0 -m state --state NEW -j ACCEPT [0:0] -A INPUT -p icmp -j ACCEPT [3:180] -A INPUT -p tcp -m tcp --dport 80 -j ACCEPT [0:0] -A INPUT -p tcp -m tcp --dport 21 -j ACCEPT [0:0] -A INPUT -p tcp -m tcp --dport 20 -j ACCEPT COMMIT # Completed on Sat May 21 16:58:29 2005 I followed the guide here and it works great.Simple to set up. http://gentoo-wiki.com/HOWTO_setup_a_home-server -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] kde 3.4.1?
On Monday 30 May 2005 21:56, Holly Bostick wrote: Volker Armin Hemmann schreef: On Monday 30 May 2005 12:11, Jan Meier wrote: Anyone have an idea when this show goes on the road? There is actually no release announcement at kde.org. Strange that there is a ebuild for that. Greets Jan well, it is usuall, that the ebuilds are ready, before a kde release is out - hardmasked. Maybe he unmasked completly kde3.4.x, or some dev unmasked 3.4.1 by accident, but I would not care too much about it. 3.4.1 should come soon ;) According to /usr/portage/profiles/package.mask, the tarballs aren't available yet (so I didn't bother unmasking). I thought maybe the ebuilds were nonetheless in Portage because the devs have some secret source for preliminary testing or something. The kde ebuild maintainers do, yes. This unfortunately does not include me. ;) Regards, Jason Stubbs pgp2Svpk5yVBV.pgp Description: PGP signature
Re: [gentoo-user] how to delete messages from server in Kmail
Thank you. I'll try to install Thunderbird, if it's available in package CD - it's expensive to download from internet here. askar On 5/30/05, Holly Bostick [EMAIL PROTECTED] wrote: askar ... schreef: I see. Very sad. Do other mail clients like sylpheed-claws or thunderbird support this feature? askar Sorry, askar, just got around to checking this. YES, Thunderbird does support this feature: (translated from Dutch, may not be exact, but should be close enough) Edit=Account Preferences=Server Preferences: Check : Leave messages on server and the then-activated sub-checkbox: Until I delete or move them from the Inbox Don't know the effect if you use message filters, but probably not good (since those would move the messages from the Inbox). But still closer than you are, and better than setting up an additional PC to enable IMAP, of all things. Sylpheed-Claws (GTK2) does not seem to support this feature out-of-the-box, but a plugin may-- I'm not too familiar with Sylpheed-Claws yet. Hope this helps, Holly On 5/29/05, Dmitri Vassilenko [EMAIL PROTECTED] wrote: On Saturday May 28 2005 23:26, askar ... wrote: Does anybody know how to delete messages from server when the messages deleted in Kmail ? -- gentoo-user@gentoo.org mailing list -- gentoo-user@gentoo.org mailing list
[gentoo-user] why it takes so long for emerge -B
Hello! I have installed mozilla from source. Now I wanted to build a package to use it in another PC. #emerge -B mozilla took so long time build the package. Is this OK? askar -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] why it takes so long for emerge -B
On Monday 30 May 2005 22:46, askar ... wrote: Hello! I have installed mozilla from source. Now I wanted to build a package to use it in another PC. #emerge -B mozilla took so long time build the package. Is this OK? --buildpkgonly builds it from source again. What you wanted was quickpkg. Regards, Jason Stubbs pgpsMthg7bUAK.pgp Description: PGP signature
Re: [gentoo-user] why it takes so long for emerge -B
Oh yes. How I forgot this. Yes, quickpkg is what I need. Thanks. askar On 5/30/05, Jason Stubbs [EMAIL PROTECTED] wrote: On Monday 30 May 2005 22:46, askar ... wrote: Hello! I have installed mozilla from source. Now I wanted to build a package to use it in another PC. #emerge -B mozilla took so long time build the package. Is this OK? --buildpkgonly builds it from source again. What you wanted was quickpkg. Regards, Jason Stubbs -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Unmerging extra python
Ow Mun Heng schreef: On Thu, 2005-05-26 at 18:07 +0200, Holly Bostick wrote: Jason Stubbs schreef: On Thursday 26 May 2005 23:36, Neil Bothwick wrote: On Thu, 26 May 2005 16:24:28 +0200, Holly Bostick wrote: Now of course I know that Portage depends on Python, and I certainly don't want to mess up Portage, so how do I get rid of this version of Python (or how do I recover if there's no way to get rid of it without breaking anything)? Yes, and I'll be taking that, too. So I should quickpkg 2.3? and Portage? Fair enough. Just for your info, I went down this path like 2 weeks ago when I wanted something new (i can remember what was it but I reckon it was either gdekslets or some other app) and I just unmasked 2.4 and 2.3 stayed back. Of course I was surprised to still see 2.3 there so I promptly unmerge it. Did I see issues? You Bet! Epylog didn't work and so didn't gdekslets. The solution was to re-emerge both of these (revdep-rebuild didn't help at all) and then everything works. That's my experience. Thanks for the tip-- in the case that I want to emerge the newest gDesktlets in order to try that spiffy new RSS tickerbar and get off of KDE finally (I really like having a ticker and specifically a scrolling bar, and Knewsticker doesn't so much like running under other DEs), and so wind up with the same situation again, I'll keep it in mind. In any case, I did quickpkg python-2.3.5 and portage, but it was not necessary to use the backups; the unmerge of Python 2.4.1 went fine and all I had to do was re-emerge pysol and java-config. No other applications were disturbed at all. Thanks, Holly -- gentoo-user@gentoo.org mailing list
[gentoo-user] Re: [gentoo-#!/bin/sh # ###########################################################################
# INET_IFACE=eth0 # # Information pertaining to DHCP over the Internet, if needed. # # Set DHCP variable to no if you don't get IP from DHCP. If you get DHCP # over the Internet set this variable to yes, and set up the proper IP # address for the DHCP server in the DHCP_SERVER variable. # DHCP=yes DHCP_SERVER=192.168.1.1 # # your LAN's IP range and localhost IP. /24 means to only use the first 24 # bits of the 32 bit IP address. the same as netmask 255.255.255.0 # LAN_IP=192.168.1.1 LAN_IP_RANGE=192.168.0.0/16 LAN_IFACE=eth0 # # 1.4 Localhost Configuration. # LO_IFACE=lo LO_IP=127.0.0.1 # # 1.5 IPTables Configuration. # IPTABLES=/sbin/iptables # # Needed to initially load modules # /sbin/depmod -a # # no modules needed as everything compiled into kernel # ### # # 3.1 Required proc configuration # echo 1 /proc/sys/net/ipv4/ip_forward # ### # # 4.1.1 Set policies # $IPTABLES -P INPUT DROP $IPTABLES -P OUTPUT DROP # # Create chain for bad tcp packets # $IPTABLES -N bad_tcp_packets # # Create separate chains for ICMP, TCP and UDP to traverse # $IPTABLES -N tcp_packets $IPTABLES -N udp_packets $IPTABLES -N icmp_packets $IPTABLES -N out_packets # # # Special OUTPUT rules to decide which IP's to allow. # $IPTABLES -A OUTPUT -p ALL -s $LO_IP -j ACCEPT $IPTABLES -A OUTPUT -p ALL -s $LAN_IP -j ACCEPT $IPTABLES -A OUTPUT -p ALL -o $INET_IFACE -j ACCEPT # # Rules for outgoing packets to the internet # $IPTABLES -A out_packets -p tcp -o $INET_IFACE --sport 111 -j DROP $IPTABLES -A out_packets -p tcp -o $INET_IFACE --sport 631 -j DROP $IPTABLES -A out_packets -p tcp -o $INET_IFACE --sport 657 -j DROP $IPTABLES -A out_packets -p tcp -o $INET_IFACE --sport 2049 -j DROP $IPTABLES -A out_packets -p tcp -o $INET_IFACE --sport 3049 -j DROP # $IPTABLES -A out_packets -p udp -o $INET_IFACE --sport 111 -j DROP $IPTABLES -A out_packets -p udp -o $INET_IFACE --sport 631 -j DROP $IPTABLES -A out_packets -p udp -o $INET_IFACE --sport 657 -j DROP $IPTABLES -A out_packets -p udp -o $INET_IFACE --sport 2049 -j DROP $IPTABLES -A out_packets -p udp -o $INET_IFACE --sport 3049 -j DROP # # Let LO_IP input packets # $IPTABLES -A INPUT -p ALL -s $LO_IP -j ACCEPT # # ICMP rules # $IPTABLES -A icmp_packets -p ICMP -s 0/0 --icmp-type 8 -j ACCEPT $IPTABLES -A icmp_packets -p ICMP -s 0/0 --icmp-type 11 -j ACCEPT # # Rules for incoming packets from the internet. # $IPTABLES -A INPUT -p ALL -i $INET_IFACE -m state --state ESTABLISHED,RELATED \ -j ACCEPT $IPTABLES -A INPUT -p TCP -i $INET_IFACE -j tcp_packets $IPTABLES -A INPUT -p UDP -i $INET_IFACE -j udp_packets $IPTABLES -A INPUT -p ICMP -i $INET_IFACE -j icmp_packets # # Bad TCP packets we don't want. # $IPTABLES -A INPUT -p tcp -j bad_tcp_packets # # bad_tcp_packets chain # $IPTABLES -A bad_tcp_packets -p tcp --tcp-flags SYN,ACK SYN,ACK \ -m state --state NEW -j REJECT --reject-with tcp-reset $IPTABLES -A bad_tcp_packets -p tcp ! --syn -m state --state NEW -j LOG \ --log-prefix New not syn: $IPTABLES -A bad_tcp_packets -p tcp ! --syn -m state --state NEW -j DROP $IPTABLES -A OUTPUT -p tcp -j bad_tcp_packets # # TCP RULES # $IPTABLES -A tcp_packets -p TCP --syn -j ACCEPT $IPTABLES -A tcp_packets -p TCP -m state --state ESTABLISHED,RELATED -j ACCEPT $IPTABLES -A tcp_packets -p TCP -j DROP # $IPTABLES -A tcp_packets -p TCP -s 0/0 --dport 22 -j allowed $IPTABLES -A tcp_packets -P TCP -s 0/0 --dport 25 -j allowed $IPTABLES -A tcp_packets -p TCP -s 0/0 --dport 53 -j allowed $IPTABLES -A tcp_packets -p TCP -s 0/0 --dport 80 -j allowed $IPTABLES -A tcp_packets -p TCP -s 0/0 --dport 113 -j allowed $IPTABLES -A tcp_packets -p TCP -s 0/0 --dport 1024: -j allowed $IPTABLES -A tcp_packets -p TCP -s 0/0 --dport 111 -j DROP $IPTABLES -A tcp_packets -p TCP -s 0/0 --dport 631 -j DROP $IPTABLES -A tcp_packets -p TCP -s 0/0 --dport 657 -j DROP $IPTABLES -A tcp_packets -p TCP -s 0/0 --dport 2049 -j DROP $IPTABLES -A
Re: [gentoo-user] Suspend to Ram not waking up properly!
Ryan Viljoen wrote: (shutdown as such) but than I cant seem to bring it out of the sleep state. When I press the power button you hear the harddrive starting and it comes out of sleep mode but the screen does not switch on again. Same problem with my Asus M3000N. Could not find a solution, so I stick with the suspend-to-disk approach. -- gentoo-user@gentoo.org mailing list
[gentoo-user] Re: [gentoo-#!/bin/sh # ###########################################################################
rob3 wrote: # INET_IFACE=eth0 # # Information pertaining to DHCP over the Internet, if needed. # # Set DHCP variable to no if you don't get IP from DHCP. If you get DHCP # over the Internet set this variable to yes, and set up the proper IP # address for the DHCP server in the DHCP_SERVER variable. # DHCP=yes DHCP_SERVER=192.168.1.1 # # your LAN's IP range and localhost IP. /24 means to only use the first 24 # bits of the 32 bit IP address. the same as netmask 255.255.255.0 # LAN_IP=192.168.1.1 LAN_IP_RANGE=192.168.0.0/16 LAN_IFACE=eth0 # # 1.4 Localhost Configuration. # LO_IFACE=lo LO_IP=127.0.0.1 # # 1.5 IPTables Configuration. # IPTABLES=/sbin/iptables # # Needed to initially load modules # /sbin/depmod -a # # no modules needed as everything compiled into kernel # ### # # 3.1 Required proc configuration # echo 1 /proc/sys/net/ipv4/ip_forward # ### # # 4.1.1 Set policies # $IPTABLES -P INPUT DROP $IPTABLES -P OUTPUT DROP # # Create chain for bad tcp packets # $IPTABLES -N bad_tcp_packets # # Create separate chains for ICMP, TCP and UDP to traverse # $IPTABLES -N tcp_packets $IPTABLES -N udp_packets $IPTABLES -N icmp_packets $IPTABLES -N out_packets # # # Special OUTPUT rules to decide which IP's to allow. # $IPTABLES -A OUTPUT -p ALL -s $LO_IP -j ACCEPT $IPTABLES -A OUTPUT -p ALL -s $LAN_IP -j ACCEPT $IPTABLES -A OUTPUT -p ALL -o $INET_IFACE -j ACCEPT # # Rules for outgoing packets to the internet # $IPTABLES -A out_packets -p tcp -o $INET_IFACE --sport 111 -j DROP $IPTABLES -A out_packets -p tcp -o $INET_IFACE --sport 631 -j DROP $IPTABLES -A out_packets -p tcp -o $INET_IFACE --sport 657 -j DROP $IPTABLES -A out_packets -p tcp -o $INET_IFACE --sport 2049 -j DROP $IPTABLES -A out_packets -p tcp -o $INET_IFACE --sport 3049 -j DROP # $IPTABLES -A out_packets -p udp -o $INET_IFACE --sport 111 -j DROP $IPTABLES -A out_packets -p udp -o $INET_IFACE --sport 631 -j DROP $IPTABLES -A out_packets -p udp -o $INET_IFACE --sport 657 -j DROP $IPTABLES -A out_packets -p udp -o $INET_IFACE --sport 2049 -j DROP $IPTABLES -A out_packets -p udp -o $INET_IFACE --sport 3049 -j DROP # # Let LO_IP input packets # $IPTABLES -A INPUT -p ALL -s $LO_IP -j ACCEPT # # ICMP rules # $IPTABLES -A icmp_packets -p ICMP -s 0/0 --icmp-type 8 -j ACCEPT $IPTABLES -A icmp_packets -p ICMP -s 0/0 --icmp-type 11 -j ACCEPT # # Rules for incoming packets from the internet. # $IPTABLES -A INPUT -p ALL -i $INET_IFACE -m state --state ESTABLISHED,RELATED \ -j ACCEPT $IPTABLES -A INPUT -p TCP -i $INET_IFACE -j tcp_packets $IPTABLES -A INPUT -p UDP -i $INET_IFACE -j udp_packets $IPTABLES -A INPUT -p ICMP -i $INET_IFACE -j icmp_packets # # Bad TCP packets we don't want. # $IPTABLES -A INPUT -p tcp -j bad_tcp_packets # # bad_tcp_packets chain # $IPTABLES -A bad_tcp_packets -p tcp --tcp-flags SYN,ACK SYN,ACK \ -m state --state NEW -j REJECT --reject-with tcp-reset $IPTABLES -A bad_tcp_packets -p tcp ! --syn -m state --state NEW -j LOG \ --log-prefix New not syn: $IPTABLES -A bad_tcp_packets -p tcp ! --syn -m state --state NEW -j DROP $IPTABLES -A OUTPUT -p tcp -j bad_tcp_packets # # TCP RULES # $IPTABLES -A tcp_packets -p TCP --syn -j ACCEPT $IPTABLES -A tcp_packets -p TCP -m state --state ESTABLISHED,RELATED -j ACCEPT $IPTABLES -A tcp_packets -p TCP -j DROP # $IPTABLES -A tcp_packets -p TCP -s 0/0 --dport 22 -j allowed $IPTABLES -A tcp_packets -P TCP -s 0/0 --dport 25 -j allowed $IPTABLES -A tcp_packets -p TCP -s 0/0 --dport 53 -j allowed $IPTABLES -A tcp_packets -p TCP -s 0/0 --dport 80 -j allowed $IPTABLES -A tcp_packets -p TCP -s 0/0 --dport 113 -j allowed $IPTABLES -A tcp_packets -p TCP -s 0/0 --dport 1024: -j allowed $IPTABLES -A tcp_packets -p TCP -s 0/0 --dport 111 -j DROP $IPTABLES -A tcp_packets -p TCP -s 0/0 --dport 631 -j DROP $IPTABLES -A tcp_packets -p TCP -s 0/0 --dport 657 -j DROP $IPTABLES -A tcp_packets -p TCP -s 0/0 --dport 2049 -j DROP $IPTABLES -A tcp_packets -p TCP -s 0/0 --dport 3049 -j DROP # # UDP ports # if [ $DHCP
[gentoo-user] dumb Gentoo version Tcsh question\ need UNIX shell guru
I have in my .tcshrc file: (that is symbolically linked to by .tcsh.config and .cshrc) alias ls 'ls -a -l --color=auto' alias du 'du -h --max-depth=1' But when I log in, all I can see is one blue dot, but everything is there. If I type in bash all the files suddenly appear. Argg, I'm tearing out my hair. O'Reilly's Csh and Tcsh book has been no help, neither have been the man page. What am I doing wrong? Thanks, Rob. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Creating RAID devices
Can anybody help me? Scott Storck wrote: Emanuele Morozzi schrieb: You were right, now I have compiled the kernel with CONFIG_BLK_DEV_DM=y, but it's the same as before; there are not peculiar errors, but dmraid continues not to create the devices in /dev/mapper. Richard Fish wrote: This means that you do not have the device mapper driver compiled or loaded. You should have: carcharias linux # grep BLK_DEV_DM /usr/src/linux/.config CONFIG_BLK_DEV_DM=y -Richard Does /dev/mapper/control exist? -Scott ___ Yahoo! Mail: gratis 1GB per i messaggi e allegati da 10MB http://mail.yahoo.it -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] [OT] tips on my 1st try at iptables?
Frankly, I've stopped trying to grok iptables but rather I use a frontend like shorewall. It's much simpler than doing it all by yourself. I installed ipcop briefly (just to have a look) and between my lan network card not being supported and the additional features I wanted to put on the box (squid, local portage mirror, ntp server, etc). The project is actually coming along quite nicely so far, thanks for all the tips. -- Travis -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] kde 3.4.1?
On 5/30/05, Jan Meier [EMAIL PROTECTED] wrote: There is actually no release announcement at kde.org. Strange that there is a ebuild for that. According to what I've read on bugzilla, this is a patch for kde 3.4.0 which hopefully fixes the -fvisibility=hidden mess with gcc 3.4. This is not kde 3.4.1. Julien. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] CFLAGS CPU optim
Hello Andreas, Thanks for the tip. I must admit that the details of the heirarchy of Intel processors since they abondoned the purely numeric naming conventions is something I don't have a complete handle on. Regards, DigbyT On Sun, May 29, 2005 at 10:32:37PM +0200, Andreas Fredriksson wrote: On 5/29/05, Digby Tarvin [EMAIL PROTECTED] wrote: On the subject of CPU flags, anyone tried optimizing gentoo for a Toshiba Libretto (110CT)? model name : Mobile Pentium MMX flags : fpu vme de pse tsc msr mce cx8 mmx This is indeed a classic pentium chip with mmx added. You can use -mcpu=pentium (or -march=pentium), optionally adding the mmx USE flag for those packages that support it. // Andreas -- gentoo-user@gentoo.org mailing list -- Digby R. S. Tarvin [EMAIL PROTECTED] http://www.digbyt.com -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] raid messages at boot time
Christoph Gysin wrote: Patrick wrote: This is my first raid, i got it working without problems (i think) but my dmesg contains this: Is this a normal behaviour md: Autodetecting RAID arrays. md: autorun ... ... The md kernel module is quite verbose. Here is a patch to make the kernel print only the necessary lines: I think a far better option would be to filter them in /etc/syslog-ng/syslog-ng.conf. Then you do not have to re-patch your kernel with every upgrade. I use the following instructions to filter out the PHY reset until link up messages that I get when eth0 is up (required for ifplugd to function), but not connected to anything. It can easily be adapted for the RAID messages. # The eth reset messages also bug me... filter not_eth_reset { not(match(PHY reset until link up)); }; log { source(src); filter(not_eth_reset); destination(messages); }; -Richard -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] how to delete messages from server in Kmail
Nick Rout wrote: Get an old pc and set it up as a mail server, then get it via imap from there. I had a setup like that, but I had to give it up when I started travelling for work. There was no way for me to get access to it through my cable modem (Cox), even using dyndns.org, unless I pay the $100/mo for the 'business' connection. So now I just download it directly to my laptop. -Richard -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] how to delete messages from server in Kmail
host your mailserver on an alternate non-blocked port? On May 30, 2005, at 9:23 AM, Richard Fish wrote: Nick Rout wrote: Get an old pc and set it up as a mail server, then get it via imap from there. I had a setup like that, but I had to give it up when I started travelling for work. There was no way for me to get access to it through my cable modem (Cox), even using dyndns.org, unless I pay the $100/mo for the 'business' connection. So now I just download it directly to my laptop. -Richard -- gentoo-user@gentoo.org mailing list -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] After switching to udev partitions no longer mount automatically
On 5/30/05, Ow Mun Heng [EMAIL PROTECTED] wrote: On Sun, 2005-05-29 at 17:39 -0700, Mark Knecht wrote: This is, unfortunately, a very bad idea for removable media. What was sdb2 today will become sdc2 tomorrow and the suggestion you make will not work. Actually, isn't it a simple thing such that one can write udev rules such that that disk will always be referred as TVstorage no matter if it's sda/sdb/sdc/etc?? It can use for example, the DISK's or partitions ID/Number etc. Well, simple for you maybe. Not so simple for me. ;-) However putting a label on the partition does seem to be working now. I don't know why it didn't mount a couple of times but it did on later reboots so for now I'm just going to chalk it up to electronic gremlins and hope it doesn't return. There is a similar new problem that may be related to this one that I'm going to ask for help in a thread later this morning. Thanks in advance for your help on that one. Also, if you're on Gnome and you not heard of Project Utopia/Gentopia, perhaps it's time for you to visit it and read about it. I will look it up. Thanks. Ps : Is /dev/sdb2 a removable disk? if so, perhaps gnome-volume-manager can help (along with gamin/inotify/hal/dbus) Yes, sdb is an external 1394 hard drive. Practically it's not going to be removed since it's being used for MythTV data storage. However when I add another 1394 drive it may be recognized as sdb or sdc so mounting my device name (/dev/sdX#) doesn't work. I also have to deal with the case where maybe the drive gets turned off and then power applied after the machine is up and booted. Thanks, Mark -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Creating RAID devices
Emanuele Morozzi wrote: Can anybody help me? Sorry, I think you have us stumped. If you run: dmraid ... dmsetup ls and dmsetup reports no devices, then my guess is that dmraid is misconfigured or broken. But I don't know enough about dmraid to help. I will in about 3-4 months, when I upgrade my laptop to a model that supports SATA RAID, but that doesn't help you today. You might also try posting a message to [EMAIL PROTECTED] -Richard -- gentoo-user@gentoo.org mailing list
[gentoo-user] how to install tbz2 file
I'm sorry for the simple question. If we can build a package with quickpkg (creates tbz2 file), how can I install that? Which command should I use? Tried to find info, but no result. Sorry again... asjar -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] grub still broke
maxim wexler wrote: Hello everyone, Don't you just hate it when you repair the mistakes and it STILL don't work. Yes!! grub setup (hd0) Any chance you can post the full output of the setup command? Maybe there is a clue in there... -Richard -- gentoo-user@gentoo.org mailing list
[gentoo-user] HELP! - driver not working after boot but works when modprobed - did emerge -C devfsd cause this?
Hi, I have a Gentoo machine that used to run devfsd but was converted to udev to run MythTV. The conversion seemed to have worked fine. devfsd was disabled and a kernel built that used udev instead. The machine is using a development version of the ivtv driver not available yet from portage due to the PVR capture card choice. The driver was built and installed as per the included instructions. The machine was working fine. It continued to work after many reboots, etc., so everything was fine as far as I could tell. Later, when doing a clean up on the world file, the command emerge -pv --depclean told me that it wanted to remove devfsd. I didn't do it at first but later decided to let it remove devfsd in favor of depending on udev. At first it appeared that there were no problems but recently it seems that the ivtv driver is not loading correctly at boot time. The driver is loaded and I do not see any error messages but when attempting to capture video I get bad audio and a blue screen. After doing an rmmod ivtv modprobe ivtv both the audio and video are perfect. My question is whether the emerge -C devfsd has somehow caused this misoperation or is it more likely that some other update has caused this problem? I have tried re-emerging devfsd and also re-emerging udev but nothing I do so far seems to get it back to where it was. I really do not understand how udev works other than there are some rules that create devices. Is it possible that with udev the required v4l devices are somehow not created and the driver install at boot time doesn't find what it needs thus causing this problem? I hope someone can help shed some light on this. Let me know what sort of info might help about the machine. It's a fully up to date mostly non-~x86 box running 2.6.11-gentoo-r9 and is an Nforce-2 MB. It's been up and running Gentoo since it's birth almost 2 years ago. Thanks, Mark -- gentoo-user@gentoo.org mailing list
[gentoo-user] Re: Building and using binary packages with emerge/portage
This is a shame, for sure. Being able to build binary packages with portage, that can include such meta-information, would be a huge asset to using gentoo as a meta-distribution, as it is so often claimed to be. On 5/30/05, Ow Mun Heng [EMAIL PROTECTED] wrote: On Sun, 2005-05-29 at 18:01 -0500, Boyd Stephen Smith Jr. wrote: I want to know what, if any, information about the package's build environment is stored in the package binary and what, if any, of the information is used by portage/emerge to decide when to use a binary package. I've got a suspision that emerge/portage just matches based on package name/version, this makes binary packaging much less useful, IMHO. Based on my experience, the use flag for binaries does not propagate. Hence, if you use a pre-built binary and you don't like the USE flag, used, it's not gonna be helpful to you. Someone correct me if I'm wrong, but I don't think those binary packages propagate into /var/db as well. (IF they do, I think they might not reflect the actual USE flags used to built the binary. -- Ow Mun Heng Gentoo/Linux on DELL D600 1.4Ghz 1.5GB RAM 98% Microsoft(tm) Free!! Neuromancer 17:02:29 up 2 days, 8:47, 8 users, load average: 1.68, 1.84, 1.63 -- gentoo-user@gentoo.org mailing list -- gentoo-user@gentoo.org mailing list
[gentoo-user] Re: how to install tbz2 file
I didn't write what I'm actually want to do: 1) on one PC by quickpkg I created package of xorg-x11..tbz2. 2) then I just copied this file to another PC and run #emerege xorg-x11tbz2, but this didn't install the package. askar On 5/30/05, askar ... [EMAIL PROTECTED] wrote: I'm sorry for the simple question. If we can build a package with quickpkg (creates tbz2 file), how can I install that? Which command should I use? Tried to find info, but no result. Sorry again... asjar -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] how to install tbz2 file
askar ... wrote: I'm sorry for the simple question. If we can build a package with quickpkg (creates tbz2 file), how can I install that? Which command should I use? Tried to find info, but no result. Sorry again... asjar Hi, By memory try: 'emerge package-name -K' for unconditionally installing a binary package, or use-k (small 'k') to install a binary only if it's available, if not install from source. See man emerge Usually binary packages are in '/usr/portage/packages/All/...' HTH. Rumen smime.p7s Description: S/MIME Cryptographic Signature
Re: [gentoo-user] Re: Building and using binary packages with emerge/portage
On 5/30/05, Ow Mun Heng [EMAIL PROTECTED] wrote: Someone correct me if I'm wrong, but I don't think those binary packages propagate into /var/db as well. (IF they do, I think they might not reflect the actual USE flags used to built the binary. This probably accounts for revdep-rebuild never getting it quite right for binary packages like openoffice-bin and always wanting to re-emerge it again? Cheers, Mark -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] HELP! - driver not working after boot but works when modprobed - did emerge -C devfsd cause this?
Mark Knecht wrote: I really do not understand how udev works other than there are some rules that create devices. Is it possible that with udev the required v4l devices are somehow not created and the driver install at boot time doesn't find what it needs thus causing this problem? Unless someone has a better idea, try turning on udev logging in /etc/udev/udev.conf, and compare the results from booting to what happens when you rmmod/insmod driver. The log message will appear in /var/log/messages. -Richard -- gentoo-user@gentoo.org mailing list
[gentoo-user] firefox sage
Hello everyone, on my former main box, K6-II, 500MHz I've managed to get to startx and, since grokking dialup, am web-surfing. Here's the issue: when Firefox opened up the first time it invited me to upgrade which I did by clicking the link provided. But now when I navigate to Firefox Extensions and click on Sage install, nothing happens. Is there an ebuild I need? On a related note: as I discover other programs I like, what is the procedure for installing them if they are not found among the distfiles or gentoo pkges? Do you just unpack and run the install scripts a la slack-ware? -mw __ Do you Yahoo!? Yahoo! Small Business - Try our new Resources site http://smallbusiness.yahoo.com/resources/ -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] HELP! - driver not working after boot but works when modprobed - did emerge -C devfsd cause this?
On 5/30/05, Richard Fish [EMAIL PROTECTED] wrote: Mark Knecht wrote: I really do not understand how udev works other than there are some rules that create devices. Is it possible that with udev the required v4l devices are somehow not created and the driver install at boot time doesn't find what it needs thus causing this problem? Unless someone has a better idea, try turning on udev logging in /etc/udev/udev.conf, and compare the results from booting to what happens when you rmmod/insmod driver. The log message will appear in /var/log/messages. -Richard Great idea Richard. Even if someone else has a better idea this is a good one. Thanks! - Mark -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] HELP! - driver not working after boot but works when modprobed - did emerge -C devfsd cause this?
On 5/30/05, Richard Fish [EMAIL PROTECTED] wrote: Unless someone has a better idea, try turning on udev logging in /etc/udev/udev.conf, and compare the results from booting to what happens when you rmmod/insmod driver. The log message will appear in /var/log/messages. -Richard OK, here goes. The first batch is the reboot. I'll include the part where the machine is going down in addition to the actual boot up. I captured video after this boot. The video was bad: May 30 10:34:37 [init] Switching to runlevel: 6 May 30 10:34:37 [udev] removing device node '/dev/vcc/2' May 30 10:34:37 [udev] removing device node '/dev/vcc/a2' May 30 10:34:37 [udev] removing device node '/dev/vcc/3' May 30 10:34:37 [udev] removing device node '/dev/vcc/a3' May 30 10:34:37 [udev] removing device node '/dev/vcc/4' May 30 10:34:37 [udev] removing device node '/dev/vcc/a4' May 30 10:34:37 [udev] removing device node '/dev/vcc/5' May 30 10:34:37 [udev] removing device node '/dev/vcc/a5' May 30 10:34:37 [udev] removing device node '/dev/vcc/6' May 30 10:34:37 [udev] removing device node '/dev/vcc/a6' May 30 10:34:39 [su(pam_unix)] session closed for user root May 30 10:34:40 [PAM-env] Unknown PAM_ITEM: DISPLAY May 30 10:34:40 [sshd] PAM pam_putenv: delete non-existent entry; DISPLAY May 30 10:34:40 [PAM-env] Unknown PAM_ITEM: XAUTHORITY May 30 10:34:40 [sshd] PAM pam_putenv: delete non-existent entry; XAUTHORITY May 30 10:34:40 [sshd(pam_unix)] session closed for user mark May 30 10:34:42 [sshd] Received signal 15; terminating. May 30 10:36:13 [kernel] ACPI: PCI interrupt :02:01.0[A] - GSI 5 (level, low) - IRQ 5 May 30 10:36:14 [apcupsd] apcupsd 3.10.15 (04 August 2004) gentoo startup succeeded May 30 10:36:14 [apcupsd] NIS server startup succeeded May 30 10:36:20 [noip2] v2.1.1 daemon started with NAT enabled_ May 30 10:36:21 [ntpd] ntpd [EMAIL PROTECTED] Mon Feb 21 05:44:47 PST 2005 (1) May 30 10:36:21 [ntpd] precision = 1.000 usec May 30 10:36:21 [ntpd] no IPv6 interfaces found May 30 10:36:21 [ntpd] kernel time sync status 0040 May 30 10:36:22 [sshd] Server listening on 0.0.0.0 port 22. May 30 10:36:22 [cron] (CRON) STARTUP (V5.0) May 30 10:36:22 [init] Activating demand-procedures for 'A' May 30 10:36:22 [udev] configured rule in '/etc/udev/rules.d/50-udev.rules[157]' applied, added symlink '%k' May 30 10:36:22 [udev] configured rule in '/etc/udev/rules.d/50-udev.rules[157]' applied, 'vcs6' becomes 'vcc/%n' May 30 10:36:22 [udev] creating device node '/dev/vcc/6' May 30 10:36:22 [udev] configured rule in '/etc/udev/rules.d/50-udev.rules[159]' applied, added symlink '%k' May 30 10:36:22 [udev] configured rule in '/etc/udev/rules.d/50-udev.rules[159]' applied, 'vcsa6' becomes 'vcc/a%n' May 30 10:36:22 [udev] creating device node '/dev/vcc/a6' May 30 10:36:22 [udev] configured rule in '/etc/udev/rules.d/50-udev.rules[157]' applied, added symlink '%k' May 30 10:36:22 [udev] configured rule in '/etc/udev/rules.d/50-udev.rules[157]' applied, 'vcs2' becomes 'vcc/%n' May 30 10:36:22 [udev] creating device node '/dev/vcc/2' May 30 10:36:22 [udev] configured rule in '/etc/udev/rules.d/50-udev.rules[159]' applied, added symlink '%k' May 30 10:36:22 [udev] configured rule in '/etc/udev/rules.d/50-udev.rules[159]' applied, 'vcsa2' becomes 'vcc/a%n' May 30 10:36:22 [udev] creating device node '/dev/vcc/a2' May 30 10:36:22 [udev] configured rule in '/etc/udev/rules.d/50-udev.rules[157]' applied, added symlink '%k' May 30 10:36:22 [udev] configured rule in '/etc/udev/rules.d/50-udev.rules[157]' applied, 'vcs3' becomes 'vcc/%n' May 30 10:36:22 [udev] creating device node '/dev/vcc/3' May 30 10:36:22 [udev] configured rule in '/etc/udev/rules.d/50-udev.rules[159]' applied, added symlink '%k' May 30 10:36:22 [udev] configured rule in '/etc/udev/rules.d/50-udev.rules[159]' applied, 'vcsa3' becomes 'vcc/a%n' May 30 10:36:22 [udev] creating device node '/dev/vcc/a3' May 30 10:36:22 [udev] configured rule in '/etc/udev/rules.d/50-udev.rules[157]' applied, added symlink '%k' May 30 10:36:22 [udev] configured rule in '/etc/udev/rules.d/50-udev.rules[157]' applied, 'vcs4' becomes 'vcc/%n' May 30 10:36:22 [udev] creating device node '/dev/vcc/4' May 30 10:36:22 [udev] configured rule in '/etc/udev/rules.d/50-udev.rules[159]' applied, added symlink '%k' May 30 10:36:22 [udev] configured rule in '/etc/udev/rules.d/50-udev.rules[159]' applied, 'vcsa4' becomes 'vcc/a%n' May 30 10:36:22 [udev] creating device node '/dev/vcc/a4' May 30 10:36:22 [udev] configured rule in '/etc/udev/rules.d/50-udev.rules[157]' applied, added symlink '%k' May 30 10:36:22 [udev] configured rule in '/etc/udev/rules.d/50-udev.rules[157]' applied, 'vcs5' becomes 'vcc/%n' May 30 10:36:22 [udev] creating device node '/dev/vcc/5' May 30 10:36:22 [udev] configured rule in '/etc/udev/rules.d/50-udev.rules[159]' applied, added symlink '%k' May 30 10:36:22 [udev] configured rule in '/etc/udev/rules.d/50-udev.rules[159]' applied, 'vcsa5' becomes 'vcc/a%n' May 30 10:36:22 [udev]
Re: [gentoo-user] firefox sage
maxim wexler schreef: Hello everyone, on my former main box, K6-II, 500MHz I've managed to get to startx and, since grokking dialup, am web-surfing. Here's the issue: when Firefox opened up the first time it invited me to upgrade which I did by clicking the link provided. But now when I navigate to Firefox Extensions and click on Sage install, nothing happens. Is there an ebuild I need? On a related note: as I discover other programs I like, what is the procedure for installing them if they are not found among the distfiles or gentoo pkges? Do you just unpack and run the install scripts a la slack-ware? -mw Hi Maxim, Really, there are very few programs that you (as a general user) might like that are not found within Portage. Certainly Firefox is-- as a precompiled binary as well as a source tarball. So frankly I don't know what has happened when you upgraded some otherwise-installed Firefox via some internal Firefox script to upgrade to some unknown version. Meaning, I don't know what files and folders you actually have, rather than the defaults installed by Portage. Certainly I've had similar problems when my Portage-installed Azureus client updates itself via the update utility (rather than through Portage). It's just not a good idea. That said, the first thing that occurs to me is that the Sage extension (and possibly all of your extensions) may only be installable by root, because the file where this global extension is kept is only writeable by root. Most extensions install to ~/.mozilla/firefox/extensions, but some require being in the application's directory rather than the user directory, due to needing access to internal program functions. In the case of a non-standard install, it's quite possible that all extensions need to be installed by root. What you describe is the behaviour I've sometimes seen when an extension must be installed by root and cannot be installed by a user (depends on extension; some of them try and fail to install, some won't even try). It's also possible that the download has been blocked; the bar that appears on top of a page when Firefox blocks a download from a non-authorized site is easy to miss. If this is the case, it's also easy to fix; the bar tells you where to click and then displays the Reject/Allow dialog, so you can easily allow the site through (if you trust it). By default, the only site allowed is the new https site (Mozilla Update), so if you aren't using that, you probably should be. However, I know of several other semi-official sites, such as Extension Room, which used to be official but are now deprecated by the new site, yet are still useful on occasion. Such sites will be blocked for downloading by the browser until you authorize them, but I see no issue with authorizing them if needed or wanted. So it's probably one of those two things. But if I was you, I would emerge sync and install Firefox through Portage before going any further anyway. Hope this helps. Holly -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Printer setup tool
It no longer tells me that it cannot find tux but it still says that port 631 is aready in use and dies. Creighton I [30/May/2005:13:49:41 -0400] Listening to 7f01:631 I [30/May/2005:13:49:41 -0400] Listening to 0:631 I [30/May/2005:13:49:41 -0400] Loaded configuration file /etc/cups/cupsd.conf I [30/May/2005:13:49:41 -0400] Configured for up to 100 clients. I [30/May/2005:13:49:41 -0400] Allowing up to 100 client connections per host. I [30/May/2005:13:49:41 -0400] Full reload is required. I [30/May/2005:13:49:54 -0400] LoadPPDs: Read /etc/cups/ppds.dat, 16 PPDs... I [30/May/2005:13:49:54 -0400] LoadPPDs: No new or changed PPDs... I [30/May/2005:13:49:54 -0400] Full reload complete. E [30/May/2005:13:49:54 -0400] StartListening: Unable to bind socket for addres$ Sounds like you need to edit /etc/hosts to tell the system that tux is a synonym for localhost: 127.0.0.1 localhost.localdomain localhost tux ought to do it. Hope this helps, Holly -- gentoo-user@gentoo.org mailing list -- gentoo-user@gentoo.org mailing list
[gentoo-user] ssh/scp browser?
Hi, I think there must be some sort of simple GUI-based replacement for what I'm doing all the time with ssh/scp. I first ssh into the machine and then find a file and scp it back here. Seems like there should be some simple app that knows the account/password for certain machines, shows me what's there and then allows drag and drop between the two? I'm looking in the category list but nothing pops up. Thanks, Mark -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Printer setup tool
[EMAIL PROTECTED] schreef: It no longer tells me that it cannot find tux but it still says that port 631 is aready in use and dies. Creighton I would first open the CUPS administration web interface (http://localhost:631 in your web browser) and see if the printer had some stuck jobs in the queue, and stop them if so. If that didn't work, I might even go so far as to remove the installed printer, stop CUPS, restart CUPS, reopen the web interface and reinstall the printer. Hope this helps. Holly -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] ssh/scp browser?
On 11:13 Mon 30 May , Mark Knecht wrote: Hi, I think there must be some sort of simple GUI-based replacement for what I'm doing all the time with ssh/scp. I first ssh into the machine and then find a file and scp it back here. Seems like there should be some simple app that knows the account/password for certain machines, shows me what's there and then allows drag and drop between the two? I'm looking in the category list but nothing pops up. Thanks, Mark -- gentoo-user@gentoo.org mailing list Hello, You could also try sftp. It allows you to connect to the machine, then search for some files (cd and ls) and finally download them to your locale machine (get). -- Nicolas Litchinko BOFH Excuse #38: secretary plugged hairdryer into UPS -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] ssh/scp browser?
On Mon, 2005-05-30 at 11:13 -0700, Mark Knecht wrote: Hi, I think there must be some sort of simple GUI-based replacement for what I'm doing all the time with ssh/scp. I first ssh into the machine and then find a file and scp it back here. Seems like there should be some simple app that knows the account/password for certain machines, shows me what's there and then allows drag and drop between the two? I'm looking in the category list but nothing pops up. Thanks, Mark gftp can do this. -- Tom Wesley [EMAIL PROTECTED] signature.asc Description: This is a digitally signed message part
Re: [gentoo-user] CFLAGS CPU optimization question.
Andreas Fredriksson wrote: On 5/29/05, Digby Tarvin [EMAIL PROTECTED] wrote: On the subject of CPU flags, anyone tried optimizing gentoo for a Toshiba Libretto (110CT)? model name : Mobile Pentium MMX flags : fpu vme de pse tsc msr mce cx8 mmx This is indeed a classic pentium chip with mmx added. You can use -mcpu=pentium (or -march=pentium), optionally adding the mmx USE flag for those packages that support it. Actually, since it has MMX, use {-mcpu/-mtune/-march}=pentium-mmx. Worked for me. -- Colin -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] ssh/scp browser?
Mark Knecht wrote: Hi, I think there must be some sort of simple GUI-based replacement for what I'm doing all the time with ssh/scp. I first ssh into the machine and then find a file and scp it back here. Seems like there should be some simple app that knows the account/password for certain machines, shows me what's there and then allows drag and drop between the two? I'm looking in the category list but nothing pops up. You could use sys-fs/sshfs-fuse. It allows you to mount a remote filesystem via ssh. Peter -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] ssh/scp browser?
On 5/30/05, Neil Bothwick [EMAIL PROTECTED] wrote: On Mon, 30 May 2005 11:13:04 -0700, Mark Knecht wrote: I think there must be some sort of simple GUI-based replacement for what I'm doing all the time with ssh/scp. I first ssh into the machine and then find a file and scp it back here. Seems like there should be some simple app that knows the account/password for certain machines, shows me what's there and then allows drag and drop between the two? If you are using KDE, type fish://[EMAIL PROTECTED] in the location bar or run command dialog. Navigate to the directory you need and bookmark it. Thanks Neil, I run Gnome. Prossibly there is an equivalent there? sftp does connect but it's not gui based. This is to help my wife and kid transfer files back and forth easier and they are not very terminal oriented coming from Windows. (Heck - neither am I really) I tried the gftp app but it didn't connect. Possibly gftp didn't know to use my ssh programs since there's a setup section in the Options section. I'm looking around now for instructions on setting that up. I appreciate your ideas. Cheers, Mark -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] CFLAGS CPU optimization question.
Andreas Fredriksson wrote: On 5/29/05, Digby Tarvin [EMAIL PROTECTED] wrote: On the subject of CPU flags, anyone tried optimizing gentoo for a Toshiba Libretto (110CT)? model name : Mobile Pentium MMX flags : fpu vme de pse tsc msr mce cx8 mmx This is indeed a classic pentium chip with mmx added. You can use -mcpu=pentium (or -march=pentium), optionally adding the mmx USE flag for those packages that support it. Actually, since it has MMX, use {-mcpu/-mtune/-march}=pentium-mmx. Worked for me. Additionally, add the CPU flags to your USE flags (especially mmx). -- Colin -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] ssh/scp browser?
Mark Knecht wrote: [...] I run Gnome. Prossibly there is an equivalent there? sftp does connect but it's not gui based. This is to help my wife and kid transfer files back and forth easier and they are not very terminal oriented coming from Windows. (Heck - neither am I really) I've always been able to do: sftp://[EMAIL PROTECTED]:/dir/I/want in the nautilus location bar in gnome. I then bookmark it in nautilus, easy to get to from then on. -- /*** *Chris Woods || [EMAIL PROTECTED]* *AIM: gnarrlybob || ICQ: 21740987 * *Yahoo: cjwoods || MSN: [EMAIL PROTECTED]* * Jabber: [EMAIL PROTECTED] || http://bitspace.org * **/ -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] ssh/scp browser?
On Mon, 2005-05-30 at 12:20 -0700, Mark Knecht wrote: On 5/30/05, Neil Bothwick [EMAIL PROTECTED] wrote: I tried the gftp app but it didn't connect. Possibly gftp didn't know to use my ssh programs since there's a setup section in the Options section. I'm looking around now for instructions on setting that up. Drop down control in the top right hand corner. Select ssh2 :) -- Tom Wesley [EMAIL PROTECTED] signature.asc Description: This is a digitally signed message part
Re: [gentoo-user] ssh/scp browser?
I run Gnome. Prossibly there is an equivalent there? sftp does connect but it's not gui based. This is to help my wife and kid transfer files back and forth easier and they are not very terminal oriented coming from Windows. (Heck - neither am I really) I've always been able to do: sftp://[EMAIL PROTECTED]:/dir/I/want in the nautilus location bar in gnome. I then bookmark it in nautilus, easy to get to from then on. Game, set and match to Chris Woods. Thanks Chris! Exactly what I wanted. cheers, Mark -- gentoo-user@gentoo.org mailing list
[gentoo-user] basic network
hello list, i'm trying to setup my very first network at home. i have my desktop (gentoo linux) and a recently purchased laptop (still with windows XP) both connected to a switch. the switch is also connected to an adsl cable modem to the internet. both computers connect to the internet using pppoe (the isp masks up to 2 ip addresses). so far so good, but i also want to transfer files from one computer to another. which is the most convenient (meaning fastest and without additional hardware) way to do that? and how can i [learn to] configure both systems accordingly? best, lj -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Creating RAID devices
Emanuele Morozzi schrieb: Can anybody help me? Sorry, but I seem to have deleted this thread, and I can't remember exactly what all you wrote. If I remember correctly, you have a SATA raid controler on which you created a raid over two complete disks, right? -Scott -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] grub still broke
Any chance you can post the full output of the setup command? Maybe there is a clue in there... Yikes! Now I get Error 12: Invalid device requested so much different from grub setup (hd0) Checking if /boot/grub/stage1 exists... yes Checking if /boot/grub/stage2 exists... yes Checking if /boot/grub/e2fs_stage1_5 exists... yes Running embed /boot/grub/e2fs_stage1_5 (hd0)... 22 sectors are embedded. succeeded Running install /boot/grub/stage1 (hd0) (hd0)1+22 p (hd0,1)/boot/grub/stage2 / boot/grub/menu.lst... succeeded Done. of May26, which, I was informed, is also wrong, but obviously for a different reason. But I just checked. I exited out of /bin/bash, did a list /mnt/gentoo, found all as it should be. And when I chroot / is there as if I had booted normally. And so is /boot. Makes no sense. According to one respondent /etc/mtab might be worth a look. livecd / # less /etc/mtab /dev/ROOT / xfs rw,noatime 0 0 /dev/hda2 /boot ext2 rw,noatime 0 0 /dev/fd0 /floppy msdos rw,noexec,nosuid,nodev 0 0 /dev/fd0 /floppy msdos rw,noexec,nosuid,nodev 0 0 hmmm, that's strange; /dev/ROOT(hda4) is not xfs, it should be reiserfs. And when it was mounted the console noted that it *was* reiserfs. But /boot is correct. Or is it that mtab just lists defaults? But I notice that once I've chroot'ed I can mount drives according to the options listed in the fstab I wrote during the install. It's all a darkness. -mw __ Yahoo! Mail Stay connected, organized, and protected. Take the tour: http://tour.mail.yahoo.com/mailtour.html -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] basic network
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 luis jure wrote: hello list, i'm trying to setup my very first network at home. i have my desktop (gentoo linux) and a recently purchased laptop (still with windows XP) both connected to a switch. the switch is also connected to an adsl cable modem to the internet. both computers connect to the internet using pppoe (the isp masks up to 2 ip addresses). so far so good, but i also want to transfer files from one computer to another. which is the most convenient (meaning fastest and without additional hardware) way to do that? and how can i [learn to] configure both systems accordingly? best, lj i think you should make an alias of your network interface for your internal communication and bind samba, nfs or what you plan to use to that interface. look in the /etc/conf.d/net.example for how to make the alias if you don't know how. how to bind your samba, nfs ... to a interface is in the manuals or howto's of the programm you want to use! greetz red -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFCm6SA87VFzvTnEtARAh5BAJsEk3h55NYBH7fiGS3wx7h+BsTNeQCeKUuq D7GCZXgu+pOgAY6QTRizajU= =M+rk -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Printer setup tool
I can't, cupsd dies quickly. [EMAIL PROTECTED] schreef: It no longer tells me that it cannot find tux but it still says that port 631 is aready in use and dies. Creighton I would first open the CUPS administration web interface (http://localhost:631 in your web browser) and see if the printer had some stuck jobs in the queue, and stop them if so. If that didn't work, I might even go so far as to remove the installed printer, stop CUPS, restart CUPS, reopen the web interface and reinstall the printer. Hope this helps. Holly -- gentoo-user@gentoo.org mailing list -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Printer setup tool
[EMAIL PROTECTED] schreef: [EMAIL PROTECTED] schreef: Holly Bostick wrote back: It no longer tells me that it cannot find tux but it still says that port 631 is aready in use and dies. I would first open the CUPS administration web interface (http://localhost:631 in your web browser) and see if the printer had some stuck jobs in the queue, and stop them if so. If that didn't work, I might even go so far as to remove the installed printer, stop CUPS, restart CUPS, reopen the web interface and reinstall the printer. I can't, cupsd dies quickly. Well, that's a problem. At what point does it die (what are you doing when it dies), and what does it say with its dying breath (error message)? Holly -- gentoo-user@gentoo.org mailing list
[gentoo-user] Can't find linux/wrapper.h
Hi. I was trying to emerge the thinkpad package and got this error when it failed: linux/wrapper.h: no such file or directory. I thought perhaps it had something to do with linux-headers; apparently the 2.6.11 linux-headers ebuild has dependency problems and the linux-headers for 2.6.8 that I do have installed don't yield any such filename that I can find on my system. Can somebody tell me what I should be looking for? Tia. -- Cheryl Where your treasure is, there will your heart be also. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Printer setup tool
Yes, that would be a problem G. Check /var.log/cups/ for the log files and see what they say. On Tue, 31 May 2005, Holly Bostick wrote: [EMAIL PROTECTED] schreef: [EMAIL PROTECTED] schreef: Holly Bostick wrote back: It no longer tells me that it cannot find tux but it still says that port 631 is aready in use and dies. I would first open the CUPS administration web interface (http://localhost:631 in your web browser) and see if the printer had some stuck jobs in the queue, and stop them if so. If that didn't work, I might even go so far as to remove the installed printer, stop CUPS, restart CUPS, reopen the web interface and reinstall the printer. I can't, cupsd dies quickly. Well, that's a problem. At what point does it die (what are you doing when it dies), and what does it say with its dying breath (error message)? Holly -- Brett I. Holcomb [EMAIL PROTECTED] Registered Linux User #188143 Remove R777 to email -- gentoo-user@gentoo.org mailing list
[gentoo-user] Compile for another computer
Hi there. I was wondering if there is a way to compile a given program for another computer with different hardware (still x86 though). Can you point me to a help resource or something? Thanks! IanPost your free ad now! Yahoo! Canada Personals
Re: [gentoo-user] grub still broke
On 5/31/05, maxim wexler [EMAIL PROTECTED] wrote: Any chance you can post the full output of the setup command? Maybe there is a clue in there... Yikes! Now I get Error 12: Invalid device requested so much different from grub setup (hd0) Checking if /boot/grub/stage1 exists... yes Checking if /boot/grub/stage2 exists... yes Checking if /boot/grub/e2fs_stage1_5 exists... yes Running embed /boot/grub/e2fs_stage1_5 (hd0)... 22 sectors are embedded. succeeded Running install /boot/grub/stage1 (hd0) (hd0)1+22 p (hd0,1)/boot/grub/stage2 / boot/grub/menu.lst... succeeded Done. of May26, which, I was informed, is also wrong, but obviously for a different reason. But I just checked. I exited out of /bin/bash, did a list /mnt/gentoo, found all as it should be. And when I chroot / is there as if I had booted normally. And so is /boot. Makes no sense. According to one respondent /etc/mtab might be worth a look. livecd / # less /etc/mtab /dev/ROOT / xfs rw,noatime 0 0 /dev/hda2 /boot ext2 rw,noatime 0 0 /dev/fd0 /floppy msdos rw,noexec,nosuid,nodev 0 0 /dev/fd0 /floppy msdos rw,noexec,nosuid,nodev 0 0 hmmm, that's strange; /dev/ROOT(hda4) is not xfs, it should be reiserfs. And when it was mounted the console noted that it *was* reiserfs. But /boot is correct. Or is it that mtab just lists defaults? But I notice that once I've chroot'ed I can mount drives according to the options listed in the fstab I wrote during the install. It's all a darkness. -mw __ Yahoo! Mail Stay connected, organized, and protected. Take the tour: http://tour.mail.yahoo.com/mailtour.html -- gentoo-user@gentoo.org mailing list maybe you can try this, root (hd0,1) setup (hd0) -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] firefox sage
So it's probably one of those two things. But if I was you, I would emerge sync and install Firefox through Portage before going any further anyway. Hope this helps. Holly -- Yes, thanks, emerge --sync is awesome! But must it run so long? I started more than an hour ago and it's still churning away. I noticed it started another server(went from Xeon to P4) and kept on going. Does it know enough to stop? Is it repeating itself? At some point I'm going to need to use the phone; what'll I do then? gentoo-user@gentoo.org mailing list __ Do you Yahoo!? Yahoo! Small Business - Try our new Resources site http://smallbusiness.yahoo.com/resources/ -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Compile for another computer
««Omega21»» wrote: Hi there. I was wondering if there is a way to compile a given program for another computer with different hardware (still x86 though). Can you point me to a help resource or something? The easiest way would be to use distcc. You'll need another Linux installation (preferably Gentoo) to do it, though. http://www.gentoo.org/doc/en/distcc.xml -- Colin -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Compile for another computer
I believe, although I've never done it and don't know much about it, that there is a way to cross-compile from windows, too. Search for it on gentoo-wiki.com... On 5/30/05, Colin [EMAIL PROTECTED] wrote: ««Omega21»» wrote: Hi there. I was wondering if there is a way to compile a given program for another computer with different hardware (still x86 though). Can you point me to a help resource or something? The easiest way would be to use distcc. You'll need another Linux installation (preferably Gentoo) to do it, though. http://www.gentoo.org/doc/en/distcc.xml -- Colin -- gentoo-user@gentoo.org mailing list -- gentoo-user@gentoo.org mailing list
[gentoo-user] OT- NSA Linux
Where do you get this? I couldn't find it on the www.nsa.gov site. What am I missing? Thanks, Rob -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Compile for another computer
Taylor Morrow wrote: I believe, although I've never done it and don't know much about it, that there is a way to cross-compile from windows, too. Search for it on gentoo-wiki.com... Or just use this link: http://gentoo-wiki.com/HOWTO_Distcc_server_on_Windows I might try this. Thanks for finding it. -- Colin -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] OT- NSA Linux
rob3 wrote: Where do you get this? I couldn't find it on the www.nsa.gov site. What am I missing? Do you mean selinux? Try http://www.gentoo.org/proj/en/hardened/selinux/index.xml. -- Andrew Gaffneyhttp://dev.gentoo.org/~agaffney/ Gentoo Linux Developer Installer Project -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] OT- NSA Linux
On Mon, 30 May 2005 19:35:28 -0700 rob3 [EMAIL PROTECTED] wrote: Where do you get this? I couldn't find it on the www.nsa.gov site. What am I missing? It really wasn't that hard to find. http://www.nsa.gov/selinux/code/download0.cfm -- gentoo-user@gentoo.org mailing list
[gentoo-user] When a dependancy built by hand
I want to install emacs-w3m. I have already built an emacs install by hand from cvs emacs tar ball. I always build emacs myself. Running emerge -v -p emacs-w3m shows: These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild N] app-editors/emacs-21.4 +X -Xaw3d -debug +gnome -leim -lesstif +motif +nls -nosendmail 0 kB [ebuild N] dev-libs/boehm-gc-6.3-r1 -c++ 754 kB [ebuild N] media-libs/gdk-pixbuf-0.22.0-r3 -doc -mmx 388 kB [ebuild N] www-client/w3m-0.5.1-r1 +X -async -cjk +gpm +gtk +imlib -imlib2 -lynxkeymap -migemo +nls +ssl -xface 1,852 kB [ebuild N] app-emacs/emacs-w3m-1.4.3 708 kB Emerge wants to install another emacs. How can I tell it I already have emacs installed? One way would be to build it from scratch too, but I'd prefer to stay close to an emerge installed system when possible. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] When a dependancy built by hand
On Tuesday 31 May 2005 12:03, Harry Putnam wrote: I want to install emacs-w3m. I have already built an emacs install by hand from cvs emacs tar ball. I always build emacs myself. Running emerge -v -p emacs-w3m shows: These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild N] app-editors/emacs-21.4 +X -Xaw3d -debug +gnome -leim -lesstif +motif +nls -nosendmail 0 kB [ebuild N] dev-libs/boehm-gc-6.3-r1 -c++ 754 kB [ebuild N] media-libs/gdk-pixbuf-0.22.0-r3 -doc -mmx 388 kB [ebuild N] www-client/w3m-0.5.1-r1 +X -async -cjk +gpm +gtk +imlib -imlib2 -lynxkeymap -migemo +nls +ssl -xface 1,852 kB [ebuild N] app-emacs/emacs-w3m-1.4.3 708 kB Emerge wants to install another emacs. How can I tell it I already have emacs installed? One way would be to build it from scratch too, but I'd prefer to stay close to an emerge installed system when possible. /etc/portage/profile/package.provided Regards, Jason Stubbs pgp5WVvTZH0EC.pgp Description: PGP signature
Re: [gentoo-user] XvMC
On Mon, 2005-05-30 at 12:08 -0400, Michael Haan wrote: I can't tell if my machine is using nVidia's XvMC or some generic version. How can I figure this out? If not mistaken you can check the output of xorg log in /var/log -- Ow Mun Heng Gentoo/Linux on DELL D600 1.4Ghz 1.5GB RAM 98% Microsoft(tm) Free!! Neuromancer 11:23:50 up 13:25, 8 users, load average: 0.80, 0.57, 0.31 -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] After switching to udev partitions no longer mount automatically
On Mon, 2005-05-30 at 09:36 -0700, Mark Knecht wrote: On 5/30/05, Ow Mun Heng [EMAIL PROTECTED] wrote: On Sun, 2005-05-29 at 17:39 -0700, Mark Knecht wrote: This is, unfortunately, a very bad idea for removable media. What was sdb2 today will become sdc2 tomorrow and the suggestion you make will not work. Actually, isn't it a simple thing such that one can write udev rules such that that disk will always be referred as TVstorage no matter if it's sda/sdb/sdc/etc?? It can use for example, the DISK's or partitions ID/Number etc. Well, simple for you maybe. Not so simple for me. ;-) Well. It's simple to talk right :-) (which is what I'm doing) Ps : Is /dev/sdb2 a removable disk? if so, perhaps gnome-volume-manager can help (along with gamin/inotify/hal/dbus) Yes, sdb is an external 1394 hard drive. Practically it's not going to be removed since it's being used for MythTV data storage. However when I add another 1394 drive it may be recognized as sdb or sdc so mounting my device name (/dev/sdX#) doesn't work. I also have to deal with the case where maybe the drive gets turned off and then power applied after the machine is up and booted. I guess here would be where writing udev rules would be good. Perhaps you can also try reading DSD's udev rules writing guide? (I didn't have a use for it (yet) so I'm only going the simple path) :-) -- Ow Mun Heng Gentoo/Linux on DELL D600 1.4Ghz 1.5GB RAM 98% Microsoft(tm) Free!! Neuromancer 11:26:42 up 13:28, 8 users, load average: 0.28, 0.45, 0.30 -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Re: Building and using binary packages with emerge/portage
On Mon, 2005-05-30 at 10:13 -0700, Mark Knecht wrote: On 5/30/05, Ow Mun Heng [EMAIL PROTECTED] wrote: Someone correct me if I'm wrong, but I don't think those binary packages propagate into /var/db as well. (IF they do, I think they might not reflect the actual USE flags used to built the binary. This probably accounts for revdep-rebuild never getting it quite right for binary packages like openoffice-bin and always wanting to re-emerge it again? So.. I'm not the only one who gets that. (and I always thought it was some gremlins) Perhaps one can ask chinstrap.alternating.net since they do host binary packages -- Ow Mun Heng Gentoo/Linux on DELL D600 1.4Ghz 1.5GB RAM 98% Microsoft(tm) Free!! Neuromancer 11:31:16 up 13:33, 8 users, load average: 0.30, 0.32, 0.27 -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] [OT] tips on my 1st try at iptables?
On Mon, 30 May 2005, Ow Mun Heng wrote: Frankly, I've stopped trying to grok iptables but rather I use a frontend like shorewall. It's much simpler than doing it all by yourself. I prefer just plain iptables myself ;-) -- -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Re: Building and using binary packages with emerge/portage
On Mon, 2005-05-30 at 13:34 -0700, Zac Medico wrote: --- Mark Knecht [EMAIL PROTECTED] wrote: On 5/30/05, Ow Mun Heng [EMAIL PROTECTED] wrote: Someone correct me if I'm wrong, but I don't think those binary packages propagate into /var/db as well. (IF they do, I think they might not reflect the actual USE flags used to built the binary. When a binary tbz2 package is built, the /var/db data for that package (USE flags, etc..) is appended onto the end of the tbz2 file. Portage and quickpkg use the tools xpak and tbz2tool to handle this. When a binary package is installed the data goes back into the /var/db database. I'm sorry but I looked inside the content of a tbz2 file and didn't find that it has any references to the /var/db directory. And what does tbz2tool and xpak do? There's not much of a Man page for them. equery belongs `which xpak` [ Searching for file(s) /usr/bin/xpak in *... ] sys-apps/portage-2.0.51.19 (/usr/bin/xpak - ../lib/portage/bin/xpak -- Ow Mun Heng Gentoo/Linux on DELL D600 1.4Ghz 1.5GB RAM 98% Microsoft(tm) Free!! Neuromancer 11:35:37 up 13:37, 9 users, load average: 0.57, 0.39, 0.30 -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] determining who is using a device
On Sun, 29 May 2005, Mark Knecht wrote: However when we look at mythfrontend it doesn't say that the program is recording anything so something seems messed up. Not necessarily - lsof just shows that the process has the device open. Why would that be unusual? -- -- gentoo-user@gentoo.org mailing list
[gentoo-user] Clarification on iso downloads
I have been interested in trying out gentoo for quite a while, but have been having some trouble making out just which files I need. The book seems clear for most everything, but as regards my particular situation it is not so. I want to install in the typical way, from source packages rather than with precompiled binaries. However, I have a lowly dialup, and cannot even imagine trying to download each package at that speed. I do have some indirect access to a computer with a faster connection, just a day or two a month, but I cannot use torrent or be there to watch it and click on a bunch of links. So, what I am having to do is know in advance exactly which iso I need, and then start the download at the beginning of the day and then later burn the disc to bring home. The book mentions a networkless install, but this seems to be a binary package installation. That is the inference I am drawing in regards to the universal install disc and the packages disc. Am I wrong? The day I have access to a faster connection is coming up this Wednesday and I am hoping to clarify what I need so that I can consider trying out a Gentoo install. So, in short, which specific iso images can I use to achieve a reasonably complete non-binary Gentoo installation without any internet access whatsoever? I very much appreciate any help that can be offered. patrick -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Re: Building and using binary packages with emerge/portage
--- Ow Mun Heng [EMAIL PROTECTED] wrote: I'm sorry but I looked inside the content of a tbz2 file and didn't find that it has any references to the /var/db directory. The data not inside the tar archive. It's appended onto the end of the tbz2 file. You know it's there because if you unzip the tbz2 file then bunzip2 says trailing garbage after EOF ignored. And what does tbz2tool and xpak do? There's not much of a Man page for them. They take care of what's needed to handle the appended data. They're not documented because normally they're only used internally by portage. Zac __ Do you Yahoo!? Yahoo! Small Business - Try our new Resources site http://smallbusiness.yahoo.com/resources/ -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Clarification on iso downloads
On Sun, 29 May 2005, cothrige wrote: The book mentions a networkless install, but this seems to be a binary package installation. That is the inference I am drawing in regards to the universal install disc and the packages disc. Am I wrong? Yes, for a networkless install you would normally use the universal CD + packages CD. The day I have access to a faster connection is coming up this Wednesday and I am hoping to clarify what I need so that I can consider trying out a Gentoo install. So, in short, which specific iso images can I use to achieve a reasonably complete non-binary Gentoo installation without any internet access whatsoever? An install from source REQUIRES net access since the bootstrap script downloads and builds each package - so a binary-less install without net access is a contradiction in terms. The one thing you could try is pre-downloading all the tarballs you are likely to need for the bootstrap, kernel and various utils you need, burn them to a CD, then put them in the /usr/portage/distfiles during the install... -- Aj. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Re: Building and using binary packages with emerge/portage
On 5/30/05, Ow Mun Heng [EMAIL PROTECTED] wrote: On Mon, 2005-05-30 at 10:13 -0700, Mark Knecht wrote: On 5/30/05, Ow Mun Heng [EMAIL PROTECTED] wrote: Someone correct me if I'm wrong, but I don't think those binary packages propagate into /var/db as well. (IF they do, I think they might not reflect the actual USE flags used to built the binary. This probably accounts for revdep-rebuild never getting it quite right for binary packages like openoffice-bin and always wanting to re-emerge it again? So.. I'm not the only one who gets that. (and I always thought it was some gremlins) Perhaps one can ask chinstrap.alternating.net since they do host binary packages No, you're not the only one. I wondered a bit about this a few weeks ago and found a number of comments in the forums and Bugzilla that revdep-rebuild doesn't work very well yet for binary packages. I see this with openoffice-bin and thunderbird-bin. It seems logical that if I don't know the flags used for a binary build that somewhere along the way I'm going to miss some dependency on my system. Take care and thanks, Mark -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Clarification on iso downloads
* A. Khattri ([EMAIL PROTECTED]) wrote: On Sun, 29 May 2005, cothrige wrote: The book mentions a networkless install, but this seems to be a binary package installation. That is the inference I am drawing in regards to the universal install disc and the packages disc. Am I wrong? Yes, for a networkless install you would normally use the universal CD + packages CD. The day I have access to a faster connection is coming up this Wednesday and I am hoping to clarify what I need so that I can consider trying out a Gentoo install. So, in short, which specific iso images can I use to achieve a reasonably complete non-binary Gentoo installation without any internet access whatsoever? An install from source REQUIRES net access since the bootstrap script downloads and builds each package - so a binary-less install without net access is a contradiction in terms. Oh, I see. That would explain why I had trouble figuring out what was what in that regard. The one thing you could try is pre-downloading all the tarballs you are likely to need for the bootstrap, kernel and various utils you need, burn them to a CD, then put them in the /usr/portage/distfiles during the install... I may have to look into that. Unfortunately that many individual files is tough to download as I cannot monitor the computer I am using and generally have to go in early, click a download and come back much later to burn it. It is a Windows machine which makes it tougher for me to use things like wget scripts which could be put together for my computer. But perhaps it is an option I can work on. Thanks for the information. patrick -- gentoo-user@gentoo.org mailing list