Re: [gentoo-user] Ultramonkey 3 + Gentoo a Match Made in Hell?
On Monday 28 September 2009 04:41:08 Nick Khamis wrote: So no Ultramonkey 3 on Gentoo? Anyone? Looks to me like Ultramonkey is just some documentation, and as kashani said, some skeleton configs for Debian. I do not see any actual ultramonkey software or even special sauce. Quite useful documentation though. I do load balancing on Gentoo to Gentoo, pretty much all I needed to get it going was to install heartbeat with USE=ldirectord, compile the appropriate kernel modules, then setup ldirectord. http://www.linuxvirtualserver.org/Documents.html#manuals is particularly helpful, if a bit out of date. Especially the LVS/* pages. -- Mike Williams
Re: [gentoo-user] /usr/portage/packages/Packages - what for?
On Tuesday 15 September 2009 15:04:23 Fabrice Delliaux wrote: On Tue, 15 Sep 2009 15:21:50 +0200 Frank Steinmetzger wrote: Here it stores alotta info about the binary packages - for instance with what useflags they were compiled. This info is not in the archives, which only contain the files. No, informations about environment are included in tbz2 packages. You can read man xpak for explanations. IMHO, the /usr/portage/packages/Packages file is an index for the package manager to avoid wasting time to open, parse and close each tbz2 file. And it's fetched by machines using a BINHOST, as obviously over HTTP it's not practical to fetch the packages themselves to get the environment info. -- Mike Williams
Re: [gentoo-user] a multi-process browser?
On Sunday 15 February 2009 22:57:24 Sebastian Günther wrote: Which useflag magic do I have to use to achieve that goal? -mysql Seems ebuilds have the ability to turn on use flags for themselves that the user has given no preference to. Turn it off, and it's off. -- Mike Williams
Re: [gentoo-user] Portage wants KDE4, I don't
On Tuesday 25 November 2008 13:08:40 Nikos Chantziaras wrote: I decided to give portage 2.1.6_rc1 a try. Now it wants to upgrade my KDE3 to KDE4. I never unmasked or keyworded any KDE4 stuff. Any options other than removing portage 2.1.6_rc1 again? The KDE4 ebuilds need EAPI 2 support in the package manager, portage 2.1.4.5 does not implement EAPI 2, portage 2.1.6_rc1 proabably does (2.2 certainly does). You either need to mask all the kde4 ebuilds, or keyword only the 3.5 SLOT versions. -- Mike Williams
Re: [gentoo-user] sshd won't restart on remote system
On Wednesday 12 November 2008 17:37:29 Grant wrote: After updating to the latest stable x86 openssh and merging config files on my remote system, I get: # /etc/init.d/sshd restart * Stopping sshd ... [ !! ] There is nothing in /var/log/sshd/current. Does anyone know what I should do? Sometimes ssh won't restart if it's being used, possible after an openssl update I'm not sure. Try this (sleep 5 ; /etc/init.d/sshd restart) then logout, and 5-6 seconds later try to login, if it worked ssh can now be restarted while you're logged in as normal. -- Mike Williams
Re: [gentoo-user] Is an Intel motherboard RAID better or worse thansoftware RAID?
Turn on the write caching, makes a *huge* difference, I believe 3ware speciflcally recommend it with or without a BBU. Even on the onboard Intel adapters performs far far better with write-caching on. I've got a couple of servers with Areca cards in, but their either running Windows or just uses it in JBOD mode. RAID performance (in Windows) is excellent. On Wednesday 15 October 2008 23:53:01 [EMAIL PROTECTED] wrote: Go areca, I have a coworker that raves about his. At my shop we have dozens of systems using 3ware and they have horrible preformance. --Original Message-- From: Pintér Tibor To: gentoo-user@lists.gentoo.org ReplyTo: gentoo-user@lists.gentoo.org Sent: Oct 15, 2008 6:41 AM Subject: Re: [gentoo-user] Is an Intel motherboard RAID better or worse thansoftware RAID? If you want to be sure your data is still readable in the event that your mobo dies and you can't find a replacement with the same fake RAID controller, stick with Linux kernel RAID. or buy a 3ware/areca/adaptec card, which is 100% supported. (but those are heavy bucks) t Sent via BlackBerry from T-Mobile -- Mike Williams
Re: [gentoo-user] Curious emerge behaviour.
On Thursday 03 July 2008 06:40:17 Alan McKinnon wrote: Anyone else having this particular problem? Is it a compatibility issue with either coreutils or mktemp? I'm assuming removing the one will eliminate it, but if it's a needed package I'd rather not chance it. Any info on this one would be greatly appreciated. Pretty standrad blocker - been around for a while on ~arch. coreutils now provides what used to be in mktemp, so emerge -C mktemp ; emerge coreutils will sort it However that will leave you without the mktemp binary while coreutils gets built. Unlikely to be a problem, unless a reboot happens in the middle, and still probably quite recoverable. I've taken to making sure the collision-protect FEATURE is not set (which it isn't by default I believe), then removing the mktemp portage DB entry. # mv /var/db/pkg/sys-apps/mktemp-1.5/ ~ With mktemp apparently not installed, no blocker exists, and you've still got the binary. Portage will complain when it comes to install the new coreutils, but just ignore it's complaint. -- Mike Williams -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] 4 GB and Intel Core 2 Duo
On Thursday 03 July 2008 16:49:45 Pawel K wrote: AFAIK kernel does not need High Memory Support in case of 64 bit CPUs. Correct. What's wrong with my kernel config ? Maybe it does not run as a 64 bit CPU ? The config for an x86_64 kernel doesn't have a high memory support option, you've built a 32bit kernel. a64bitserver linux # make menuconfig scripts/kconfig/mconf arch/x86_64/Kconfig make[1]: *** [menuconfig] Error 1 make: *** [menuconfig] Interrupt -- Mike Williams -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] What version of netscape-flash to use with konqueror?
On Wednesday 07 May 2008 10:43:30 Robin Atwood wrote: Taken, sucessfully, from http://mikearthur.co.uk/2007/12/konqueror-with-latest-adobe-flash-howto/ Thanks for the link. I tried it and although the kmplayer plugin now loads, it makes a hash of playing the flash content; I get a bit of sound but no video. ;( Nice thought though. Oh, works fine for me :) Looks a bit odd with the kmplayer rewind/pause/fastforward button bar appearing then disappearing. -- Mike Williams -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] What version of netscape-flash to use with konqueror?
On Monday 05 May 2008 18:04:42 Robin Atwood wrote: I have just brought my laptop (x86 arch) up to date and so I have KDE 3.5.9 and netscape-flash-9.0.124.0. Now whenever I go to a web page with embedded flash I get a segfault. I seem to remember that something got broken wrt konqueror and my amd64 system is using netscape-flash-9.0.48.0-r1; however, that version now seems to have been removed. So what version are people using? TIA -Robin -- Taken, sucessfully, from http://mikearthur.co.uk/2007/12/konqueror-with-latest-adobe-flash-howto/ KMPlayer is my media player of choice as it allows you to trivially switch between XINE, MPlayer and GStreamer backends and, as of version 0.10.0, has a nifty backend that allows you to use XEmbed-supporting plugins, including Adobe’s Flash plugin, which can then be embedded in Konqueror to allow Flash to work trivially. HOWTO: Install KMPlayer. It is included in all the major distributions I’ve ever used. Ensure it is installed/compiled with the “NPP” backend enabled which allows the playback of Netscape XEmbed plugins Run KMPlayer so it creates its config file. Close it. (This step probably isn’t necessary but it won’t do any harm) Open “~/.kde/share/config/kmplayerrc” in a text editor of your choice. Add the following to the end of the file: [application/x-shockwave-flash] player=npp plugin=/opt/netscape/plugins/libflashplayer.so Change the “plugin=” line depending on where the Adobe Flash plugin was installed on your distribution. The above example is where it is installed on Gentoo. (If people could reply with the location of it on their distribution that would be great, thanks!). Open Konqueror and click “Settings Configure Konqueror…”. In the new window navigate to “File Associations” in the left-hand panel and select “application/x-shockwave-flash“. Click the “Embedding” tab and click “Add..“. Select “Embedded MPlayer for KDE” from the new window. If it is not there then you may need to restart KDE or run “kbuildsycoca” from a terminal. Close all the opened windows. Enjoy a working Flash in Konqueror! === As at least one of the commenters from the blog, I didn't habe an application/x-shockwave-flash association, so had to create it. -- Mike Williams -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Gentoo router: Conntrack table full
On Sunday 23 March 2008 03:16:16 Dan Cowsill wrote: I also understand that its maximum is something on the order of 65000 simultaneous connections. That's a significant understatement. The default limit is based on how much RAM you have, and is set very conservatively. /proc/sys/net/ipv4/netfilter/ip_conntrack_max sets how many connections you can track. You should also drop /proc/sys/net/ipv4/netfilter/ip_conntrack_tcp_timeout_established significantly. Connections can hang around for weeks, unless properly closed. On the production linux firewalls I maintain they were happily handling ~50-60k connections until I dropped ip_conntrack_tcp_timeout_established to 432000 seconds when the conntrack table dropped to ~30k. I could drop it a lot lower, but the machines cope with absolutely no issues. Personally, I'd drop ip_conntrack_tcp_timeout_established to about a day, or even less, as connections won't time out if traffic continues to pass. -- Mike Williams -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Trying to create nessus-bin-3.2.0 ebuild
On Friday 21 March 2008 10:11:30 Vladimir Rusinov wrote: How can I fix this? Sorry, I can't tell you how, but I can concur with your findings. I've tried 3 different 3.2.0 release RPMs and rpmoffset/rpm2targz can't parse any of them. However the 3.0.5 suse10 RPM does work. I'm going to look for a newer rpm2targz. -- Mike Williams -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Trying to create nessus-bin-3.2.0 ebuild
On Friday 21 March 2008 18:27:27 Vladimir Rusinov wrote: Well, I've noticed that rpm.eclass tries to use rpm2cpio first. I've installed rpm package and it unpacks and installs now. I have not yet tested installed packages, but anyway I'll submit the ebuild and comments to bugzilla after few hours. I was going to suggest you check bugzilla for an existing bug on the matter, but I see you've already found it! :) I've taken a slightly different route, going for the debian package. Instead of looking for an eclass to handle the conversion i just did it manually with deb2targz. Handley debian has openssl-0.9.8, so the dependancies are correct without having to resort to ugly symlinks, although nessusd does complain about no version information available in libssl and libcrypto. As you, I haven't done any testing as I don't know how to use it. My job is just to provide servers for those who do. -- Mike Williams -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Fwd: apache vhost issue...
On Sunday 09 March 2008 11:52:16 Elyahou ITTAH wrote: in /etc/conf.d/apache2: APACHE2_OPTS=-D DEFAULT_VHOST -D SSL -D INFO -D LANGUAGE -D PHP5 -D USERDIR # cat /etc/apache2/vhosts.d/01_vhost1.conf VirtualHost *:80 But when I type helpermaster.fr on my browser, i receive the www/localhost pages and no the www/helpermaster.fr pages... Your vhost isn't specific enough to not be matched by the vhost defined by DEFAULT_VHOST (which is _default_:80). Either turn off DEFAULT_VHOST and add Listen *:80 somewhere before your virtualhost, or define it with an IP address. -- Mike Williams -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Fwd: apache vhost issue...
On Sunday 09 March 2008 19:23:49 cypherstrong wrote: Directory /var/www/helpermaster.fr Order Allow, Deny Allow from all /Directory This is all that's necessary, although I'd drop it to just /var/www. Put it before any vhosts, it does not need to be defined inside a one. -- Mike Williams
[gentoo-user] slightly OT, laptop for gentoo
Hey all, I need a laptop. But the requirements are slightly odd. This is for a machine to stay in our colo cage for use as a barcode scanner, serial interface, basic GUI, and ssh server management console, etc. It needs to have USB for an eToken, PS2 for a barcode scanner, serial to manage PDUs KVM etc, on-board ethernet, and not be flimsy, big, or expensive. Obviously we can easily get a USB to serial adapter, meaning we'd need at least 2 USB ports, but a PS2 keyboard port seems a rarity now-a-days. Battery life isn't really important. Doesn't need to be a properly ruggadized, just sturdy. 15 or so screen, with a decent resolution to fit webpages and OO documents etc, 17 is too big. 512-1G of ram, so-so CPU (this P4M 1.8 I'm using is way more than powerful enough). Can anyone recommend a laptop that does all these things, runs Linux happily (Gentoo of course), and isn't a Thinkpad (I was forced to use one a few years ago, and hated it). Thanks -- Mike Williams -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] slightly OT, laptop for gentoo
On Thursday 14 February 2008 22:58:13 David Relson wrote: Have you thought about a PS/2 to USB adapter? I'm presently using a PS/2 keyboard _and_ a PS/2 mouse connected to a single USB port (with a Y adapter -- dual PS/2 inputs and USB output). D'you know what, I didn't even realise such a thing existed! I've probably got dozens of USB to PS2 adaptors, and never imagined the opposite. A dual PS2 to USB could well do the trick, and my local Maplin have some in stock, a bit pricey but the company will pay. Thanks very much. -- Mike Williams -- gentoo-user@lists.gentoo.org mailing list
[gentoo-user] displaying the actual order init scripts will run
Hey all, I'm knocking together an init script that needs to run at a very specific point during startup. Is there a simple way I can see in exactly what order the init scripts would be run? Don't much fancy constant rebooting just to make sure it runs at the correct time! Especially seeing as it's a machine about 110 miles away from me! Cheers -- Mike Williams -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Multiple Routes to the same Subnet
On Thursday 08 November 2007 00:26:18 Dan Farrell wrote: So, let's say I bond the 4 together. Now I have 2 interfaces, a bond and eth0. I still need to route through one or the other, so I still have the problem. So you've got 5 interfaces? Once you've bonded interfaces together the underlying ethX interfaces are not referenced anymore. They do all get the same MAC address, however it's not permenent, the next boot they'll be back (until bonding loads and they're enslaved obviously). -- Mike Williams -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Multiple Routes to the same Subnet
On Wednesday 07 November 2007 18:30:22 kashani wrote: Does anyone have any suggestions, or comments, or criticisms? Anybody konw how to do a thing like that? First off don't assign separate IPs to each port on your four port card, bond them into a single interface. That will simplify your config and perform better. Yup, bonding is really cool, and trivially simple to setup. Enable CONFIG_BONDING as a module, in Network device support. Install ifenslave, then edit /etc/modules.d/bond, like this: alias bond1 bonding options bond1 mode=1 miimon=100 max_bonds=5 You probably want mode 0, I use mode 1 for redundancy only. Then change your net config to something like this: config_eth0=( null ) config_eth4=( null ) RC_NEED_bond1=net.eth0 net.eth4 slaves_bond1=eth0 eth4 config_bond1=( 192.168.1.1/24 ) Then you use bondX from then on (no net.ethX should be in any runlevel). -- Mike Williams -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Raid 1 problems
On Sunday 21 October 2007 19:08:21 Arnau Bria wrote: Hi, following http://gentoo-wiki.com/HOWTO_Gentoo_Install_on_Software_RAID and some other docs, I moved my system to RAID 1. Using gentoo LiveCD, all my config worked fine: I was able to mount md0 and md1 (at this point my only raid devices) and see data. So after ensuring my raid was sync, I decided to boot to my normal system, and I found that my system was not able to boot because it said something about my filesystem in md1, a message like: The filesystem size (according to the superblock) is 104420 blocks The physical size of the device is 104320 blocks Either the superblock or the partition table is likely to be corrupt! Aborty? yes (don't look at block number cause it refers to md0, and original message was about md1). with /dev/md0 unmounted: resize2fs -f /dev/md0 So, I decided to set dump/pass option to 0 in my fstab so fs won't be check at next start. After that, it booted fine, but I'd like to repair my system, and now, md0 complains about fs too... # cat /proc/mdstat Personalities : [raid1] md1 : active raid1 hdf3[0] 8112704 blocks [2/1] [U_] md0 : active raid1 hdh1[1] hdf1[0] 104320 blocks [2/2] [UU] So, anyone could tell what to do for reparing mdX?¿ mdadm --manage /dev/md1 --add /dev/hdh3 Then make sure hdh3's partition type is 'fd' raid autodetect. -- Mike Williams -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Raid 1 problems
On Sunday 21 October 2007 20:29:47 Arnau Bria wrote: with /dev/md0 unmounted: resize2fs -f /dev/md0 If same thing happens with md1, I suppose I must boot with livecd and do the same with md1, am I right? Yeah, you can't reduce the filesystem online. The RAIDing shrinks the space available for the filesystem slightly. I don't know why, but I've had the same problem before. mdadm --manage /dev/md1 --add /dev/hdh3 Then make sure hdh3's partition type is 'fd' raid autodetect. Yes it is. Thanks a lot. Was it before, or did mdadm ignore it/kick it out for some reason? dmesg | grep hdh -- Mike Williams -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Raid 1 problems
On Sunday 21 October 2007 22:03:23 Arnau Bria wrote: Let me ask you one more thing. I have this device: md3 : active raid1 hdh6[1] 98727360 blocks [2/1] [_U] And I'd like to add hdf6, and then sync but against it (I mean, make hdf6 primary and copy its data to hdh6). I'd removed the array and created again with second drive missing. now I have: md3 : active raid1 hdf6[0] 98727360 blocks [2/1] [U_] and will sync. Yeah, that'd work, or you could have created it with both devices, but specifing hdf6 *first*: mdadm -C /dev/md3 -n2 -l1 /dev/hd[fh]6 As for md1, I'm not sure what to make of that. I'd be a little wary of it, once the array is created/started the superblock must be written, so I'm worried about why the kernel thought it wasn't there. Probably nothing though, I've had partitions kicked out of arrays before, even though they go back in fine. -- Mike Williams -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] OT: ssh/scp on XP and gentoo
On Thursday 18 October 2007 20:00:51 James wrote: I'd like to run ssh/scp on XP and Vista. However there seems to be losts of different ideas about how best to do this. [1]. I need to be able to selective scp various files from a windows system to a gentoo system, so I do not want to be limited to the cygwin installation tree of files. [2] cygwin doesn't limit you to the cygwin install. /cygdrive, or something, contains links to the windows filesystem. -- Mike Williams -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Playsound . . . won't!
On Monday 17 September 2007 13:41:37 Alan McKinnon wrote: More like revdep-rebuild doesn't know how to build libOffFLAC anymore as the ebuild that put it there isn't in portage anymore or masked or keyworded or whatevered. I've seen this myself a time or three on my own machines. There's nothing revdep-rebuild can do about this except shrug and leave it alone, but the output could be more informative. Perhaps a feature request in is order here revdep-rebuild doesn't work like that. If a binary is dynamically linked to a library that doesn't exist anymore, the package owning the binary is rebuilt, as portage is unlikely to know what package supplied a file that doesn't exist. The idea being the package will find and link against libraries that do exist. In this case it would seem that revdep-rebuild should be trying to emerge: media-libs/sdl-sound media-plugins/gst-plugins-flac media-plugins/gst-plugins-oss media-libs/akode -- Mike Williams -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Re: Re: SSH won't restart
On Sunday 16 September 2007 18:01:48 Alexander Skwar wrote: Key words in some circumstances. Like? Actually, I never found this to be true. Never? Good for you. Grant, the original poster would disagree (who got himself locked out due to the inability to restart sshd BTW), and so would I as it happened to me today and has done several times in the past (and also got locked out, but not today, well yesterday). -- Mike Williams -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Playsound . . . won't!
On Monday 17 September 2007 15:33:54 Mick wrote: This is how I understood that is should work too. If for what ever reason it doesn't rebuild the above packages itself, it should either say why (e.g. keyword masked, Blocked, not in portage, etc.) and, or pass it on to me to emerge/unmerge manually as required. I thought that invariably this is how portage behave, hence this thread to resolve my confusion. Are we in agreement that there is something wrong on this occasion - should I file a bug? Or a 'feature request? Or wait until it happens again? Reading the full output you posted, I suspect I see the problem. # revdep-rebuild -X -p -v should be # revdep-rebuild -X -- -p -v The revdep-rebuild help doesn't say it does anything with a -p arguement to itself, but it may well do. The -- is a separator between revdep-rebuild arguements, and arguements it passes to emerge. -- Mike Williams -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] SSH won't restart
On Saturday 08 September 2007 16:40:34 Grant wrote: I just upgraded ssh and when I try to restart I get: * Stopping sshd ... [ !! ] I don't see anything about it in '/var/log/sshd/current'. How can I figure out what is wrong? I'm a little nervous because I don't want to shut myself out of this remote server. This thread went on for a long time, which I mostly ignored TBH. However, I think I just found a solution. openssh, in some circumstances (I believe to be openssl changing ABI), will not restart as you found. It will only not restart when it's being actively used, so you can't do so will logged in. To restart it when your logged out on a remote server is simply a matter of doing this: # (sleep 15 /etc/init.d/sshd restart) Then getting all ssh sessions logged out within 15 seconds. I've just done this on a remote system and can now happily log back in, and restart ssh without issue. -- Mike Williams -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Re: SSH won't restart
On Sunday 16 September 2007 16:40:45 Alexander Skwar wrote: openssh, in some circumstances (I believe to be openssl changing ABI), will not restart as you found. It will only not restart when it's being actively used, so you can't do so will logged in. I've just done this on a remote system and can now happily log back in, and restart ssh without issue. Hm? I don't find this to be true. I often restart sshd by doing exactly /etc/init.d/sshd restart. While I'm remote logged in via SSH. I find, that after having done this, new settings/versions are active. Key words in some circumstances. -- Mike Williams -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Cleaning up perl
On Saturday 08 September 2007 16:13:41 Kevin O'Gorman wrote: Can I safely just delete them? Not really. But gentoo provides a tool to sort it. # perl-cleaner reallyall -- Mike Williams -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Re: Internet bridge
On Monday 13 August 2007 21:41:31 Mateus Interciso wrote: Actually, I need a fully transparent bridge, for for instance, correcly using a SIP phone, which even with siproxd, it doesn't work, so, NAT and Masquerade, won't help me. I'm pretty sure I can transform the gentoo box in a transparent bridge router, I just don't know how. ip_conntrack_sip SIP can be NATted. Simply NAT the packets as normal with the module loaded. If you still want to go the bridge route, I believe you need to give the IP addresses to the bridge, not the underlying ethernet interfaces. -- Mike Williams -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Re: boot error
On Tuesday 24 July 2007 02:52:33 James wrote: Any suggestions? Add doscsi to the kernel command line in grub. The 2007.0 liveCD did this as a default option. I'm going back to a traditional (handbook) installation.. When the initrd/ramfs barfs, and lets you type in shell, do so and look for /dev/hda?. This is a kernel/initrd problem, reinstallation is almost certainly not necessary. What kernel did you choose during installation? -- Mike Williams -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] boot error
On Monday 23 July 2007 22:04:53 James wrote: Any suggestions? Add doscsi to the kernel command line in grub. -- Mike Williams -- [EMAIL PROTECTED] mailing list
[gentoo-user] IPv6 troubles
Hey all, I was hoping we've got some IPv6 experts around, as I've got some issues I've been banging my head against for 2 days. Very briefly our network is a gentoo firewall box with 5 interfaces, 1 to the internet, and 4 to private networks (192.168.xxx.0/24). What I would like to do is assign a /64 to each internal network. Our host has assigned us a /48, and added dead:beef:2::1/48 to their router as our gateway. I can add dead:beef:2::11/64 (yes, /64) to the internet side of router/firewall, a default route via dead:beef:2::1 and then happily ping ipv6 things on the internet. Starting on one of the internal networks I add dead:beef:2:136::11/64, run radvd on that interface, and the hosts on that network get v6 addresses. All of them can ping the firewall, but cannot ping our ISPs router. OK, so I figured I try another internal network, 137. Same process as above, but this time radvd won't work: # radvd -d5 -mstderr [Jul 19 12:02:30] radvd: version 1.0 started [Jul 19 12:02:30] radvd: inet_pton returned 1 [Jul 19 12:02:30] radvd: mtu for bond4 is 1500 [Jul 19 12:02:30] radvd: hardware type for bond4 is 1 [Jul 19 12:02:30] radvd: link layer token length for bond4 is 48 [Jul 19 12:02:30] radvd: prefix length for bond4 is 64 [Jul 19 12:02:30] radvd: interface definition for bond4 is ok [Jul 19 12:02:30] radvd: sending RA on bond4 [Jul 19 12:02:30] radvd: sendmsg: Invalid argument [Jul 19 12:02:30] radvd: setting timer: 16.00 secs [Jul 19 12:02:30] radvd: setting timer: 16 secs 0 usecs [Jul 19 12:02:30] radvd: calling schedule_timer from set_timer context [Jul 19 12:02:30] radvd: calling alarm: 15 secs, 29 usecs sendmsg: Invalid argument ?? It's the same definition as for bond2 (136), with the interface and prefix changed. Does the same with or without any other definitions. All but bond2 fail, but I've no idea what's so special about bond2. The machine is amd64, and using radvd-1.0-r1. Anyway, I can add one or two addresses manually. I do so using iproute2 and CIDR notation, so the local route is added for me, and hosts on the 137 network can ping each other, and hosts on the 136 network after I give them a default route via the v6 address on the firewall interface on their network, so the firewall is properly forwarding traffic. However, none of the hosts on the internal networks can ping any of the hosts the firewall can ping. I caught the following traffic with tcpdump on the firewall: # tcpdump -i bond2 ip6 tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on bond2, link-type EN10MB (Ethernet), capture size 96 bytes 12:24:02.204882 IP6 dead:beef:2:136:204:23ff:fed7:e86a beef:dead:1f0:1:20f:3dff:feae:74c1: ICMP6, echo request, seq 1, length 64 12:24:03.208737 IP6 dead:beef:2:136:204:23ff:fed7:e86a beef:dead:1f0:1:20f:3dff:feae:74c1: ICMP6, echo request, seq 2, length 64 # tcpdump -i bond0 ip6 tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on bond0, link-type EN10MB (Ethernet), capture size 96 bytes 12:24:02.205409 IP6 dead:beef:2:136:204:23ff:fed7:e86a beef:dead:1f0:1:20f:3dff:feae:74c1: ICMP6, echo request, seq 1, length 64 12:24:02.516433 IP6 fe80::214:f600:b67e:b4db ff02::1:ffd7:e86a: ICMP6, neighbor solicitation, who has dead:beef:2:136:204:23ff:fed7:e86a, length 32 12:24:03.208748 IP6 dead:beef:2:136:204:23ff:fed7:e86a beef:dead:1f0:1:20f:3dff:feae:74c1: ICMP6, echo request, seq 2, length 64 12:24:03.517294 IP6 fe80::214:f600:b67e:b4db ff02::1:ffd7:e86a: ICMP6, neighbor solicitation, who has dead:beef:2:136:204:23ff:fed7:e86a, length 32 12:24:04.517504 IP6 fe80::214:f600:b67e:b4db ff02::1:ffd7:e86a: ICMP6, neighbor solicitation, who has dead:beef:2:136:204:23ff:fed7:e86a, length 32 bond0 and beef:dead:1f0:1::/64 are the internet side, bond2 and dead:beef:2:136::/64 the internal side. I can't understand why the firewall isn't answering/forwarding the solicitation, it knows who dead:beef:2:136:204:23ff:fed7:e86a is. The firewall has no netfilter rules at all, everything is default accept. Am I just doing something stupid, or have I asked our host to set it up wrong? Would really like to know what radvd is up to too... Cheers -- Mike Williams -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] IPv6 troubles
On Thursday 19 July 2007 13:56:23 Etaoin Shrdlu wrote: Ok, just some shots in the dark: - Do the hosts also get the default router, along with the ipv6 address? You can check with ip -6 route. You should get, among the others, a default route pointing to the ipv6 link local (fe80:) address of the router's interface on the link. Yep, they get a default route via the link local address of the firewall interface local to themselves. Same happens if I subsitute it for the global address (blah:blah:blah:137::11). - Also, although I don't think this is the source of your problems, every internal router interface should recognize (and be configured to use) the subnet router anycast address for that subnet, that is, usually, the plain /64 subnet address (eg, dead:beef:2:136::/64). This anycast address has to be manually configured on the interface (ip addr add dead:beef:2:136::/64 dev bond2). Is this the address that internal hosts are able to ping on the firewall, or did you assign another, or are you referring to the link local address? I hadn't configured the subnet router anycast address, but I can still ping it. Again makes no difference if it's specified or not. - Are you using native ipv6 connectivity with your provider or through a (SIT/6to4) tunnel? This is important because it affects the MTU of the Internet-facing interface. It's native IPv6. Seeing the actual radvd.conf file could help better here. interface bond2 { AdvSendAdvert on; prefix dead:beef:2:136::/64 { AdvOnLink on; AdvAutonomous on; }; }; interface bond4 { AdvSendAdvert on; prefix dead:beef:2:137::/64 { AdvOnLink on; AdvAutonomous on; }; }; interface bond1 { AdvSendAdvert on; prefix dead:beef:2:131::/64 { AdvOnLink on; AdvAutonomous on; }; }; The order makes no difference. sendmsg: Invalid argument ?? It's the same definition as for bond2 (136), with the interface and prefix changed. Does the same with or without any other definitions. All but bond2 fail, but I've no idea what's so special about bond2. The machine is amd64, and using radvd-1.0-r1. Are these bondX regular single ethernet interfaces or are they of some other kind? It's an ethernet link, just not a single one :) Ok, it seems forwarding is enabled then. Are you giving default routes pointing to global addresses? You should try using link-local addresses instead. As above, no difference. I've even tried using the link-local address of the upstream router for the default route out of the firewall. IIUC, icmpv6 echo request packets enter the router/firewall from the bond2 interface, and leave the box using the bond0 interface (confirming that forwarding works). But, the router/firewall is trying to get the link-layer address of the interface whose ipv6 global address is dead:beef:2:136:204:23ff:fed7:e86a (thus an internal host), but for some reason it sends these neighbor solicitation messages out of the Internet interface. Not surprisingly, it gets no answers. Ahh, so I was understanding the output right. Are the internal hosts using ip6tables? They might be blocking icmpv6 messages. Nope, no ip6tables rules anywhere. Try posting more config info (radvd), debug info (ip -6 route and ip -6 neigh on the internal hosts and on the router) and the scripts (if any) you use to handle the connection (Internet side and internal side). radvd config above, routing and neighbour info here: relevant routing info # ip -6 route show dead:beef:2::/64 dev bond0 metric 1 expires 21253232sec mtu 1500 advmss 1440 hoplimit 4294967295 dead:beef:2::/64 dev bond0 metric 256 expires 21254724sec mtu 1500 advmss 1440 hoplimit 4294967295 dead:beef:2:131::/64 dev bond1 metric 256 expires 21256488sec mtu 1500 advmss 1440 hoplimit 4294967295 dead:beef:2:136::/64 dev bond2 metric 256 expires 21252676sec mtu 1500 advmss 1440 hoplimit 4294967295 dead:beef:2:137::/64 dev bond4 metric 256 expires 21255086sec mtu 1500 advmss 1440 hoplimit 4294967295 default via fe80::214:f600:b67e:b4db dev bond0 metric 1 expires 21334235sec mtu 1500 advmss 1440 hoplimit 4294967295 firewall # ip -6 neigh fe80::214:f600:b67e:b4db dev bond0 lladdr 00:14:f6:7e:b4:db router STALE dead:beef:2:136:204:23ff:fed7:e86a dev bond2 lladdr 00:04:23:d7:e8:6a REACHABLE fe80::204:23ff:fed7:e86a dev bond2 lladdr 00:04:23:d7:e8:6a STALE host # ip -6 neigh dead:beef:2:136::11 dev bond0 lladdr 00:04:23:d7:f3:32 router REACHABLE fe80::204:23ff:fed7:f332 dev bond0 lladdr 00:04:23:d7:f3:32 router REACHABLE The host has bonded ethernet connections too. Thanks -- Mike Williams -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] IPv6 troubles
On Thursday 19 July 2007 16:12:18 Etaoin Shrdlu wrote: More precisely, it seems that these neighbor solicitation messages come from the far end router, like it somehow believes that your internal host is on its same subnet, and is trying to resolve its ipv6 address to its link layer address (similar to what ARP does in ipv4). Is fe80::214:f600:b67e:b4db the address of your provider's router? There could be a misconfiguration somewhere. fe80::214:f600:b67e:b4db is the link local address of the upstream router, which is also configured as dead:beef:2::1/48. It is required that all hosts are access via, and get access though, the firewall we control. The upstream router can have changes made to it if required, but it's not good to keep bothering the ISP. Now I think I understand what's wrong. The upstream router needs a route to dead:beef:2:1::/49 (or similar to cover any and all of our internal networks) via dead:beef:2::11, and be configured as dead:beef:2::1/64 instead of /48. Then it would route packets for dead:beef:2:136:204:23ff:fed7:e86a to dead:beef:2::11, rather than soliciting a link-local address for it. Have I got that right? Cheers -- Mike Williams -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] IPv6 troubles
On Thursday 19 July 2007 17:51:32 Etaoin Shrdlu wrote: On Thursday 19 July 2007 18:00, Mike Williams wrote: Etaoin, thanks for you time. I fear I would fail basic routing, which is surprising, seeing how I do similar things with IPv4 networks! These addresses are all supposed to be properly internet routable, as I'm in the very earliest stages of making our services IPv6 available. We're also the first customer to ask the ISP for an IPv6 transit, so this is new to them too. Luckily I've got a direct line to their main man. I think the best way to go is to get a single address from a separate allocation, and have them route our /48 to that. Thanks -- Mike Williams -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Hardware upgrade and Gentoo
On Wednesday 18 July 2007 18:49:00 Alex Schuster wrote: What I want to know is, will my software, compiled with the above settings, run in the new processor? I think this will not work well, because your current system has Athlon-specific CPU instructions which the Intel machine dows not know of. You probably get illegal instruction errors with many binaries. I even had this when I replaced my athlon-something with a just slightly less powerful Sempron CPU. Actually, I'd not be surprised if everything, or at worst a large percentage of everything, works properly. I make large use of binary packages on the production servers I run, and I recently encountered something interesting. Everything was built CHOST=i686-pc-linux-gnu, CFLAGS=--march=opteron, correctly on a dual Opteron. Those packages were then used to build an install on a pair of old dual P4 Xeon boxes (not the current Core Xeons), and everything worked fine (and continues to work fine). It wasn't until I came to use those packages on a P3, where there were loads of illegal instructions, which very nearly forced me to drive 45 miles to go fix it locally. All of these are headless servers though, so naturally have no X or any desktop software. However, you're going the opposite way, an old instruction set, to a new one. Basically, don't jump in to reinstalling, or rebuilding. Try it first, you might be pleasently surprised. -- Mike Williams -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Re: Installation problems
On Tuesday 17 July 2007 17:03:57 Hendrik Boom wrote: It took some trouble -- as of now I only have emerge working in the chroot from Debian -- but after installing lvm2 it is not cheerfully recognising all the LVM paritions at boot. All a good learning process, glad you got it working. Oh and you're right, english sucks, and I'm english. Now for the next problem. emerge doesn't work because the net connexion is down. Presulably it would be OK if I had a local repository, but iI don't. Except for lo (which I can wonder about anon) the most striking difference is that gentoo uses eth0; whereas Debian uses eth1. It's better that lo is there, but obviously isn't necessary as Debian doesn't have it. Now as far as I know, there's only one ethernet interface on this machine. But I could be wrong. I do know that there's just one place to plug the cable into the back. ifconfig -a, will show all recognised interfaces. Running ifconfig to find out more, especially to see if the MAC addresses are different: Now that's a surprise. Quite sone difference! Debian gives ma an ordinary 48-bit hardware address. Gentoo gives a 128-bit hardware address! And the bits of the 48-bit address aren't even recognisable in the 128-bit address. Now I understand that hardware addresses have been getting longer, but O haven't been adding ethernet chips to this machine since I bought it, so they should all be of the same vintage. What gives? Gut reaction, firewire. I've seen exactly the same on my own boxes. Debian is doing the same too, so I'd just go add a net.eth1 symlink change your config and use that instead, just don't remove firewire networking support, or you ethernet interface may become eth0 (udev might save you). Here's the output from gentoo-s lspci -v: 03:00.0 FireWire (IEEE 1394): Agere Systems FW323 (rev 04) (prog-if 10 [OHCI]) Subsystem: ATI Technologies Inc Unknown device 5811 Flags: bus master, medium devsel, latency 32, IRQ 19 Memory at ed00 (32-bit, non-prefetchable) [size=4K] Capabilities: [44] Power Management version 2 Bingo, firewire. -- Mike Williams -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Remote administration of a server
On Monday 14 May 2007 19:42:45 Daniel van Ham Colchete wrote: To solve this, I'm seeing 2 options right now. The first would be buying a KVM-over-IP unit. But, a KVM-over-IP unit with the number of ports I need is expensive, almost as expensive as the servers it will be connected. We use a Belkin KVM-IP box with 2 sets of ports. One set for a local keyboard/monitor/mouse, and one to a 16 port Belkin KVM. The IP box can handle upto 64 KVM ports, and the KVM can daisy chain to an extent I don't know. You don't say how many servers, but 64 is quite a lot. I believe Belkin do a 4 channel IP box too. Total cost was, I think, ~£700. To remotely manage 16 servers, peanuts. Thinking about other options, does anyone have any other tip for me? Am I going in the right direction? For the obvious answer: I know it's better to be closer to the datacenter, but that's not an option for me right now and I know I'll have a remote-hands service, but it can be very time inefficient sometimes and I'm trying to avoid it as much as possible. Remotely managed PDUs? Very very useful to be able to power cycle remotely too! -- Mike Williams -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Add a module post kernel config/build
On Wednesday 18 April 2007 10:15:12 [EMAIL PROTECTED] wrote: Summary: How can I add an additional module once I've configured/built a kernel? Details: After looking thru the handbook, especially section about kernel config, I don't see information about how to add a module once a kernel is built and running. Using `genkernel all' on latest sources (linux-2.6.20-gentoo-r6) I ended up with no `fuse' module. Far as I know I've been getting a fuse module when using `genkernal' on previous kernels. What is proceedure for adding that module now? genkernel --menuconfig all You can also add --no-clean and --no-menuconfig to stop it clearing out already compiled code, but you run the risk to getting symbols messed up (quite unlikely though). -- Mike Williams -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Why is apache 2.2 hard masked?
On Thursday 12 April 2007 06:13:44 Wolfgang Liebich wrote: OK - it is in testing. Has anyone here experiences on how stable it is to run? Maybe I need it b/c of a new auth module which does not seem to be available in apache 2.0.58... Oddly enough... http://archives.gentoo.org/gentoo-server/msg_11696.xml (I've not used the auth modules though) -- Mike Williams -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Kmail and incorrect character encoding
On Saturday 17 March 2007 15:13:59 Daniel D Jones wrote: Anyone have a clue as to why Kmail might be setting the reply to charset: iso-8859-6, which is Arabic? I can't find anything in his emails to cause this. It's the default Fallback Character encoding I believe, Appearance Message Window. -- Mike Williams -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] quick kmail question
On Monday 05 March 2007 20:43:03 Matthew R. Lee wrote: When I click on a URL in an email it opens a new Konqueror window. However I have it set in my Konqueror configuration to Open as tab in existing Konqueror when URL is called externally I've looked through the KMail configuration settings but I can't find anywhere to change this. Is there a way? Matt Konqueror - Settings - Configure Konqueror Web Behaviour - Advanced Options Select Open as tab in existing Konqeuror when URL is called externally. -- Mike Williams -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Redundant / hot-swap server hardware (available in UK).
On Wednesday 14 February 2007 11:15, Stroller wrote: I'm looking to deploy a couple of servers for Gentoo use I'm wondering if anyone has any recommendations. There requirements for each are slightly different, but what is in common is that I want hotswap SATA hard-drives (a simple mirror RAID is probably fine) PSUs. I'm having a pleasant experience with http://www.boston.co.uk Supermicro stuff is really good, and cheap (when it comes to pre-built server style hardware). Boston can supply everything and anything Supermicro make. -- Mike Williams -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Problem installing mod_proxy
On Tuesday 16 January 2007 12:01, Thomas Balthazar wrote: Hello, It seems that it isn't installed for me :-/ ls -l /usr/local/apache/modules total 32 -rw-r--r-- 1 root root 8504 2006-06-14 10:50 httpd.exp -rwxr-xr-x 1 root root 19921 2006-06-12 11:08 mod_suphp.so Why would you expect to see anything in /usr/local/apache? Portage is the package manager, the package manager doesn't put stuff in /usr/local. On 1/16/07, kashani [EMAIL PROTECTED] wrote: Thomas Balthazar wrote: So it looks like I cannot install mod_proxy through emerge. Do I need to recompile Apache? Or is there another way? If I need to recompile Apache, how can I know which options where used for the original installation of Apache? I would like to keep the exact same config + mod_proxy. Any help would be much-much-much appreciated! Thanks in advance, Thomas. ws06 ~ # locate mod_proxy /usr/lib/apache2/modules/mod_proxy.so /usr/lib/apache2/modules/mod_proxy_connect.so /usr/lib/apache2/modules/mod_proxy_ftp.so /usr/lib/apache2/modules/mod_proxy_http.so /usr/include/apache2/mod_proxy.h mod_proxy is part of Apache2 core so it's already installed. kashani -- gentoo-user@gentoo.org mailing list -- Mike Williams -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] bash_completion
On Sunday 07 January 2007 00:03, Jorge Almeida wrote: Always using that much resources? That doesn't sound right. What completions were you trying when it freezes up? Something trivial: less README (it froze at RE) bash itself autocompletes filenames by default. Try turning off bash-completion and try that again, on the exact same file. -- Mike Williams -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] gentoo and proxy variable
On Monday 25 December 2006 12:24, Daniel Iliev wrote: Where is it most appropriate to set ftp_proxy and http_proxy environment variables on Gentoo in order to use a proxy server with wget *when it is used by emerge from a cron job*? I want to make an emerge --fetchonly cron job which downloads through a squid server. Actually the ftp_proxy variable is important in this case because the whole traffic on port 80 is transparently redirected to the proxy. /etc/make.conf It's sourced as a bash script. -- Mike Williams -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] ifconfig - SIOCSIFFLAGS: Cannot assign requested address
On Monday 11 December 2006 17:34, Leandro Melo de Sales wrote: # ifconfig eth0:0 192.168.1.3 SIOCSIFADDR: File exists SIOCSIFFLAGS: Cannot assign requested address My /etc/conf.d/net is correct: config_eth0=( 192.168.1.2 netmask 255.255.255.0 192.168.1.3 netmask 255.255.255.0 192.168.1.6 netmask 255.255.255.0 ) routes_eth0=( default gw 192.168.1.1 ) When I start /etc/init.d/net.eth0 (which is a sym link to net.lo) everything seems to be ok, but when I type ifconfig I can see just eth0 interface. So, I tried to execute the ifconfig command listen above but I got that error. What is wrong? You executed the ifconfig command above. # ip addr list dev eth0 ifconfig can't assign multiple addresses to one interface, but iproute2 can. -- Mike Williams -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] fine grained net dependancies
On Thursday 07 December 2006 01:48, Thomas Rösner wrote: At some point I was sure baselayout supported full runscript depend(){} syntax, in the form depend_${iface}(){}. That'd be nice! I didn't know it ever worked. It would be nice if this could be made to work again. There is support for depend_${iface}(){}, if the function is defined it's executed. I haven't dug deeply enough to see why my before is seemingly ignored. It's probably only effective to net scripts, not run scripts in general. But heartbeat continues to start after the first net service starts, so it fails to start as the interface it needs doesn't exist yet. Why not set RC_NET_STRICT_CHECKING=yes in /etc/conf.d/rc? Another excellent suggestion, thanks! -- Mike Williams -- gentoo-user@gentoo.org mailing list
[gentoo-user] fine grained net dependancies
Hey, At some point I was sure baselayout supported full runscript depend(){} syntax, in the form depend_${iface}(){}. However it's not working quite how I would like it to. I *need* heartbeat to start *after* br0. (My network config is quite complex, br0 is a bridge of bond0 and bond4, bonds 0 and 4 being composed of eths 9, 2, 6, and 1 respectively.) I have tried adding depend_br0(){ before heartbeat } I've used both the old and new depend syntax to make the bonds need/NEED the eth interfaces, and the bridge need/NEED the bonds. But heartbeat continues to start after the first net service starts, so it fails to start as the interface it needs doesn't exist yet. I'd really rather not modify the heartbeat init script if at all possible. Thanks -- Mike Williams -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] fine grained net dependancies
On Wednesday 06 December 2006 20:51, Neil Bothwick wrote: On Wed, 6 Dec 2006 20:18:11 +, Mike Williams wrote: I *need* heartbeat to start *after* br0. You could do his from the postup function in /etc/conf.d/net postup() { [ ${IFACE} == br0 ] /etc/init.d/heartbeat start } And take heartbeat out of the default runlevel, clever. Thanks -- Mike Williams -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Firewall recommendations
On Monday 04 December 2006 14:55, Jon M wrote: Still new when it comes to Gentoo and so I'm stuck when it comes to picking a firewall to use. I know that most (if not all) of them just use iptables to block/allow stuff but I like the simplicity of having it do it automatically. iptables is *the* firewall for linux. Anyway, I've been using APF on CentOS which worked great. Setting it up couldn't have been easier. Unfortunately it doesn't seem to want to play nicely with Gentoo. So now I'm looking for a new firewall. I tried Shorewall but it seems a little too complicated to set up. Is there something as simple as APF that works with Gentoo? I don't know what APF is. But, if you want a GUI, try fwbuilder. Or, emerge -S iptables, there are loads of others. -- Mike Williams -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Gigabit NIC but only 100baseT/Full working
On Monday 04 December 2006 23:30, Daniel van Ham Colchete wrote: I'm going to try that tomorrow. I thought CAT5e cable would support gigabit connections. Cat5e does support gig ethernet. The cable has to be good though. I know I've had at least one cable that looked perfectly fine, worked perfectly at 100meg, but would never auto-negotiate at 1gig. -- Mike Williams -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] kernel config sharing
On Tuesday 28 November 2006 20:41, pat wrote: I'm currently using suspend2-sources-2.6.16-r8 and I want to switch to xen-sources-2.6.16.28 kernel. What I want is to take kernel config from suspend2 and use it with xen kernel. How have I to do that when using genkernel for the kernel compilation/generation ??? --kernel-config=/etc/kernel/blahblah The config created will be save under the proper filename for the kernel being compiled, not the kernel config used. -- Mike Williams -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] subversion 1.4.x still 'unstable'
On Friday 10 November 2006 05:09, Daevid Vincent wrote: The problem I'm running into is that I use the TortoiseSVN 1.4.x on my winXP box which is mounting via samba my SVN checkout on the linux box. That has 1.3.1 on it. When I try to do any svn commands from the command line on linux, it tells me my version is too old. Why don't you just checkout a fresh copy on your XP box? It's not like you can't work on two different working copies at the same time. -- Mike Williams -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] iptables error
On Wednesday 08 November 2006 15:29, Arnau Bria wrote: I get this error: # iptables-restore /etc/iptables.noviembre getsockopt failed strangely: No such file or directory Whenever I get errors like these my first step is to run the command under strace, then follow the reams of output backwards to find the file or directory it's looking for. # emerge strace # strace iptables-restore /etc/iptables.noviembre Not quite sure how it will react to the redirection. -- Mike Williams -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] {OT} dvdrip permissions error, alternative?
On Thursday 05 October 2006 17:57, Grant wrote: When I click on RIP Title in dvdrip, I get a permission denied error regarding Project.pm. All of the other options in the other tabs are grayed out and unmodifiable. If I try to run the program as root, it says it cannot open the display. Does anyone know what's wrong here? I've tried amd64 and ~amd64 versions. What's the error? I've run dvdrip for a long time and don't get any errors. I'm trying to make backups of my DVDs that are smaller than the full 8GB but don't lose any noticeable audio or video quality. I'd be happy to just select the audio and video track I want and rip them without any transcoding. Would anyone recommend a program other than dvdrip for this? I would use mplayer's mencode, but mplayer can't play my The Life of Mammals DVD so I don't think mencode will work. I believe that DVD is copy protected. dvd9to5. If you don't put a blank dvd into the drive it'll leave a DVD image under 4.7GB. I do my DVDs with both dvd9to5 and dvdrip (at 192Kbps MP3 audio, 1500Kbps video) and the quality is all but perfect (1800Kbps video should easily clear up the very very small lose). -- Mike Williams -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] How to connect my analog telephone in to asterisk system
On Friday 29 September 2006 12:18, Suranga Kasthuriarachchi wrote: I going to setup basic Gentoo asterisk system for a testing purpose, i have a X100P FXO PCI card and i'm going to use it to connect it PSTN line to asterisk box. so my problem is how do i connect my other normal anolog phones(FXS) to asterisk box. Either get an FXS card, or an ATA to turn it into a SIP device. -- Mike Williams -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] ASTERISK
On Thursday 28 September 2006 09:44, Suranga Kasthuriarachchi wrote: Please anyone have experience about asterisk setup. and I'm very new to asterisk. so please help me to configure my asterisk server. i need to know like what are the basic requirement for to setup asterisk.. http://www.freepbx.org/ -- Mike Williams -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Router 3rd and 4th net interface problem
On Thursday 28 September 2006 05:19, Grant wrote: I have a Gentoo router with eth0 connected to the WAN (DSL modem/router) and ath0 connected to the LAN. It works perfectly. I've added two ethernet cards and I'm trying to connect from another machine to one of the new cards (eth1 and eth2). ifconfig shows the cards are detected just fine, but dhcp always fails when trying to obtain an IP address. I have the following /etc/conf.d/net: Firstly, you really should look at /etc/conf.d/net.example and upgrade your config to the new format. config_eth0=192.168.1.2 netmask 255.255.255.0 routes_eth0=default via 192.168.1.1 config_ath0=192.168.0.1 broadcast 192.168.0.255 netmask 255.255.255.0 mode_ath0=master essid_ath0=mynetwork config_eth1=192.168.0.1 broadcast 192.168.0.255 netmask 255.255.255.0 config_eth2=192.168.0.1 broadcast 192.168.0.255 netmask 255.255.255.0 Err, you can't assign the same IP to multiple interfaces. You mention DHCP, did you mean that eth1 and eth2 are to get a DHCP leases from another server? If so, do this: config_eth1=( dhcp ) config_eth2=( dhcp ) I've started net.eth1 and net.eth2 (both are links to net.lo) and restarted dnsmasq. I thought it might be a problem with my iptables settings which don't take the new interfaces into account, but stopping iptables doesn't seem to help. What are you using dnsmasq for? -- Mike Williams -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] NTP or chrony?
On Friday 22 September 2006 14:26, Mick wrote: For a laptop . . . What do/would you use and why? I can't be bothered setting my clock manually anymore and thought of moving on with the times (pun intended). :) openntpd, it's easy. Install, run. -- Mike Williams -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] libstdc++.so.6 - another gcc upgrade problem?
On Sunday 03 September 2006 22:42, Mick wrote: Three days later I am still remerging world. Now kmail won't launch: emerge -e ? = $ kmail kmail: /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/libstdc++.so.6: version `CXXABI_1.3.1' not found (required by /usr/kde/3.5/lib/libkhtml.so.4) = Packages are still emerging and will be for the next 24 hrs at least; is there anything I could/should do meanwhile to fix this? I would hazard a guess that kdelibs has been remerged, but kdepim not. Wait until at least kdepim has been merged. -- Mike Williams -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Genkernel doesn't work when module loadable support is disabled
On Friday 01 September 2006 14:29, Xavier MOGHRABI wrote: I'm trying to generate a kernel without module. So I've disabled Enable loadable module support option with genkernel. Genkernel compiles well the bzimage but fails after with the message ERROR: Failed to compile the modules target... (look hereunder log). Do you know how can I generate my kernel w/o module support using Genkernel ? The present kernel configuration has modules disabled. Type 'make config' and enable loadable module support. Then build a kernel with module support enabled. I'm not sure where that error comes from, but it sounds like you do need to heed it. If you *want* a kernel without modules, then enable module loading and make sure all the drivers you need are compiled in. If you *need* to not have module loading, then I'd imagine you have no choice but to compile it manually. p.s. Do you *need* an initrd/initramfs? With no modules I doubt you do, so try genkernel with kernel instead of all. -- Mike Williams -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] vserver/gentoo: experiences, remarks, hints?
On Tuesday 29 August 2006 10:38, [EMAIL PROTECTED] wrote: If someone is running vserver on gentoo, could he please summarise his experiences? After 3 weeks of struggling with chrooted apache (still a lot of thinks broken) I would like to try this vserver-concept for web (apache+mysql+php) and mail (sendmail+uw-imap+clamav +spamassassin), but until last week I did not hear about vserver, I do not know how stable it is, how much cpu/ram overhead it creates, etc... It works great. No obvious memory or CPU overhead. It's not the most secure thing in the world, as all the memory is available to each vserver. That's a good thing for the most efficient memory usage, but does mean one vserver can hog all the RAM if it wants. Xen is a proper virtual server system. However you allocate a fix amount of memory to each VM which is quite wasteful. -- Mike Williams -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] vserver/gentoo: experiences, remarks, hints?
On Tuesday 29 August 2006 11:42, [EMAIL PROTECTED] wrote: It's not the most secure thing in the world, as all the memory is available to each vserver. Well, not worse then having all services running on one server. Very true. BTW, am I wrong if I think one can limit resources for vserver with u/rlimits (settings in /etc/vservers/*/rlimits)? That's what the documentation suggests, the vservers I run are relatively simple affairs for internal use only, so I haven't bothered with any limits. -- Mike Williams -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] ifplugd and netplug annoyance
On Thursday 17 August 2006 00:36, Neil Bothwick wrote: But the interface is never actually brought down, and that's my problem, I *want* the interface brought *down*. in /etc/conf.d/ifplugd: AUTO=yes The latest baselayout ebuild tells you to remove this file. baselayout runs ifplugd now, it shouldn't be run separately. As Richard said, use /etc/conf.d/net for this. Well, that should be fun. I've got it working properly now (I have an e100 nic, which does properly support reading link status when operationally down). I had to remove /lib/rcscripts/net/ifplugd.sh as I could not disable it from conf.d/net I still have this at the top of conf.d/net: modules=( !plug ) modules_eth0=( !plug ) modules=( !ifplugd ) modules_eth0=( !ifplugd ) The postdown function doesn't get executed with ifplugd.sh in place, as the interface is never actually brought down. -- Mike Williams -- gentoo-user@gentoo.org mailing list
[gentoo-user] ifplugd and netplug annoyance
Hey, I installed ifplug a *long* time ago on this laptop, and it worked perfectly. After upgrading to the new baselayout I saw it had built in support for ifplug and netplug. Great I thought, I'll let it handle it. So I reinstalled ifplug to put all the config back to default, and update it. Now it doesn't work very well. Well, it works, dhcpcd is stopped when the cable is unplugged, and started again when it's plugged back in. But the interface is never actually brought down, and that's my problem, I *want* the interface brought *down*. Why? IPv6. If the interface isn't brought up, stateless autoconfiguration doesn't work. For all my fiddling with ifplugd and netplug, I can't get either to work how ifplugd used to. I've tried using ifplugd as both a deamon with modules=( !plug ), and letting baselayout handle it fully. I've messed about with the API ifplugd uses. Nothing. Does anyone know how I can get it to work properly? Ta Oh, and it would be nice if it could pause the interface, rather than stop it, but that's easily hacked in. -- Mike Williams -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] I'm a genkernel user ... Is it OK to manually edit /usr/src/linux/.config with nano?
On Sunday 13 August 2006 09:27, Richard Watson wrote: Hi - I'm a genkernel user ... Is it OK to manually edit /usr/src/linux/.config with nano? It's quicker than going through he --menuconfig menu sets at times. Thanks, Richard Yes. Make sure next time you run genkernel on that kernel source you specify --no-clean and --no-mrproper, or copy the .config to /etc/kernels/kernel-config-version, otherwise it will wipe out your changes. p.s. Don't reply to an old mail just to keep the To:. -- Mike Williams -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Ebuild for a Ruby package
On Tuesday 01 August 2006 16:55, Jose Gonzalez Gomez wrote: I would like to create an ebuild for a Ruby based package. Is there any place with documentation regarding this? The ruby eclass seems to execute the install.rb file included in the source tarball I download, but my first attempt ended with a sanbox violation, so I guess I'm missing something, or maybe I have to create a custom install.rb that installs the package to the sandbox instead of doing it directly to the target directories. http://bugs.gentoo.org/138263 http://bugs.gentoo.org/141730 -- Mike Williams -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] depclean screw up
/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config CONFIG_PROTECT_MASK=/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo CXXFLAGS=-O2 -pipe -mcpu=G4 -fno-strict-aliasing -maltivec -mabi=altivec DISTDIR=/usr/portage/distfiles FEATURES=autoconfig distlocks metadata-transfer sandbox sfperms strict GENTOO_MIRRORS=http://ftp.heanet.ie/pub/gentoo/ http://gentoo.blueyonder.co.uk ftp://gentoo.blueyonder.co.uk/mirrors/gentoo ftp://ftp.gentoo.mesh-solutions.com/gentoo/; PKGDIR=/home/packages PORTAGE_RSYNC_OPTS=--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages' PORTAGE_TMPDIR=/var/tmp PORTDIR=/usr/portage SYNC=rsync://gandalf/gentoo-portage USE=ppc X a52 aac aalib alsa altivec apache2 applet arts artswrappersuid bash-completion berkdb bitmap-fonts bluetooth bootsplash browserplugin bzip2 cddb cdparanoia cdr cli cpudetection crypt cups curl dbus dlloader dri dts dv dvb dvd dvdr dvdread eds emboss encode exif fbcon ffmpeg flac foomaticdb fping gd gif gimpprint gnokii gnome gnome-print gphoto2 gpm gstreamer gtk gtk2 gtkhtml hal idn ieee1394 imagemagick ipv6 irmc isdnlog javascript jpeg kde kdeenablefinal kdehiddenvisibility kig-scripting libcaca libwww live motif mozcalendar mozcalender mozdevelop mozilla mozsvg mp3 mpeg mplayer multiuser mysql mythtv ncurses network nls nptl nptlonly nsplugin nxclient ogg oggvorbis opengl pam pbbuttonsd pci pcre pdf pdflib perl png ppds pppd python qt qt3 quicktime rdesktop readline reflection ruby samba sametime scanner sdl session slp sms spell spl ssl subtitles tcpd theora tidy tiff truetype truetype-fonts type1-fonts udev unicode usb v4l v4l2 vcd vidix visualization vnc vorbis wifi xcomposite xine xml xml2 xmms xorg xscreensaver xv xvid zeroconf zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_evdev kernel_linux userland_GNU video_cards_radeon video_cards_vesa video_cards_fbdev Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY -- Mike Williams -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] depclean screw up
On Sunday 30 July 2006 22:57, Richard Fish wrote: Well I don't see anything obviously wrong. I would probably take a look at the output of emerge --debug --depclean --pretend world, and look for net-libs/libsoup or gnome-base/gail. Both of them should appear as dependancies of something. At the very least, they should appear under gtkhtml. You might save that output (it will be large!), to attach to the bug report if requested. Ha! Got it! Searching over that output, that I had never really thought about before, I found the answer. gimp depends on gtkhtml-2*, which at it's highest stable release (2.6.3) depends on gail if USE=accessibility. dvdrip depends on gtkhtml, which at it's highest stable release (3.10.2) unconditionally depends on gail. I had both gtkhtml (3.10.2) and gtkhtml-2* (2.6.3) installed. media-gfx/gimp-2.2.12 comes before media-video/dvdrip-0.97.10, gimps gtkhtml depstring became a candidate, so dvdrips dependency was being ignored! Removing both versions of gtkhtml, and merging gimp then dvdrip separately has apparently sorted it. depclean has removed gail, libsoup, and their dependencies, and my dynamic linking remains consistant. Thanks -- Mike Williams -- gentoo-user@gentoo.org mailing list
[gentoo-user] depclean screw up
Hi, Check out this wackiness from depclean. This has had me stumped all day, no matter how many merges, depcleans, revdep-rebuilds I try. It's long... But, basically, depclean wants to remove packages that equery says have direct dependencies. If I merge all the packages that directly depend on the packages depclean wants to unmerge, depclean still wants to remove them! If I let depclean remove the packages, then run revdep-rebuild, the packages it finds broken pull in all the packages depclean removed! Help, anyone? minimac ~ # emerge --depclean -p [...] These are the packages that would be unmerged: dev-libs/libtasn1 selected: 0.2.18 protected: none omitted: none gnome-base/gnome-libs selected: 1.4.2 protected: none omitted: none dev-libs/libxml selected: 1.8.17-r2 protected: none omitted: none media-libs/imlib selected: 1.9.14-r3 protected: none omitted: none net-libs/libsoup selected: 2.2.94 protected: none omitted: none net-libs/gnutls selected: 1.2.10 protected: none omitted: none app-crypt/opencdk selected: 0.5.5 protected: none omitted: none dev-libs/lzo selected: 1.08-r1 protected: none omitted: none gnome-base/gail selected: 1.8.11 protected: none omitted: none [...] minimac ~ # for p in $(emerge --depclean -p | grep -v WARNING | grep / | awk '{print $1}') do equery depends ${p} done [ Searching for packages depending on dev-libs/libtasn1... ] net-libs/gnutls-1.2.10 [ Searching for packages depending on gnome-base/gnome-libs... ] gnome-base/libglade-0.17-r6 [ Searching for packages depending on dev-libs/libxml... ] gnome-base/libglade-0.17-r6 [ Searching for packages depending on media-libs/imlib... ] gnome-base/gnome-libs-1.4.2 kde-base/kdegraphics-3.5.2 [ Searching for packages depending on net-libs/libsoup... ] gnome-extra/gtkhtml-3.10.2 [ Searching for packages depending on net-libs/gnutls... ] net-libs/libsoup-2.2.94 gnome-base/gnome-vfs-2.14.2 net-misc/neon-0.26.1 net-misc/curl-7.15.1-r1 net-print/cups-1.1.23-r8 [ Searching for packages depending on app-crypt/opencdk... ] net-libs/gnutls-1.2.10 [ Searching for packages depending on dev-libs/lzo... ] media-video/transcode-1.0.2-r2 [ Searching for packages depending on gnome-base/gail... ] gnome-extra/gtkhtml-2.6.3 gnome-extra/gtkhtml-3.10.2 minimac ~ # emerge --oneshot $(for p in $(emerge --depclean -p | grep -v WARNING | grep / | awk '{print $1}'); do equery depends ${p}; done | grep -v Searching | sed -re's/^(.*)/=\1/') -pv These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] net-libs/gnutls-1.2.10 USE=crypt zlib -doc 0 kB [ebuild R ] gnome-base/libglade-0.17-r6 USE=X nls -bonobo 0 kB [ebuild R ] gnome-base/gnome-libs-1.4.2 USE=kde nls -doc -esd 0 kB [ebuild R ] kde-base/kdegraphics-3.5.2 USE=arts gphoto2 kdeenablefinal kdehiddenvisibility opengl pdf scanner -debug -imlib -openexr -povray -tetex -xinerama 0 kB [ebuild R ] gnome-extra/gtkhtml-3.10.2 USE=-debug 0 kB [ebuild R ] net-libs/libsoup-2.2.94 USE=ssl -debug -doc -static 0 kB [ebuild R ] gnome-base/gnome-vfs-2.14.2 USE=hal ipv6 samba ssl -avahi -debug -doc -gnutls 0 kB [ebuild R ] net-misc/neon-0.26.1 USE=nls ssl zlib -expat -gnutls -socks5 -static 0 kB [ebuild R ] net-misc/curl-7.15.1-r1 USE=idn ipv6 ssl -ares -gnutls -kerberos -krb4 -ldap -test 0 kB [ebuild R ] net-print/cups-1.1.23-r8 USE=nls pam samba slp ssl -gnutls 0 kB [ebuild R ] media-video/transcode-1.0.2-r2 USE=X a52 altivec dv dvdread gtk imagemagick jpeg mp3 mpeg network ogg quicktime sdl theora truetype v4l2 vorbis xml xvid -extrafilters -fame -lzo -mjpeg 0 kB [ebuild R ] gnome-extra/gtkhtml-2.6.3 USE=-accessibility -debug 0 kB Total size of downloads: 0 kB minimac ~ # emerge --oneshot $(for p in $(emerge --depclean -p | grep -v WARNING | grep / | awk '{print $1}'); do equery depends ${p}; done | grep -v Searching | sed -re's/^(.*)/=\1/') [...] minimac ~ # emerge --depclean -p [...] These are the packages that would be unmerged: dev-libs/libtasn1 selected: 0.2.18 protected: none omitted: none gnome-base/gnome-libs selected: 1.4.2 protected: none omitted: none dev-libs/libxml selected: 1.8.17-r2 protected: none omitted: none media-libs/imlib selected: 1.9.14-r3 protected: none omitted: none net-libs/libsoup selected: 2.2.94 protected: none omitted: none net-libs/gnutls selected: 1.2.10 protected: none omitted: none app-crypt/opencdk selected: 0.5.5 protected: none omitted: none dev-libs/lzo selected: 1.08-r1 protected: none omitted: none gnome-base/gail selected: 1.8.11 protected: none omitted: none -- Mike Williams -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] depclean screw up
On Sunday 30 July 2006 01:05, Richard Fish wrote: But, basically, depclean wants to remove packages that equery says have direct dependencies. equery depends is unfortunately broken. It does not consider use flag dependancies. Ahh, now that I didn't know. Examples from your list: - kdegraphics only depends on imlib if you have the imlib USE flag set, which you do not. gnome-libs does directly depend on imlib though. - cups only depends on gnutls if you have the gnutls USE flag set, which you do not. That one I saw, and it did add to the confusion. libsoup does depend on gnutls, and gtkhtml depends on libsoup, and dvdrip depends on a version of gtkhtml that depends on libsoup, and dvdrip is in my world file. minimac ~ # emerge --unmerge gnutls [...] minimac ~ # emerge curl net-libs/libsoup gnome-base/gnome-vfs net-misc/neon net-misc/curl net-print/cups -pvt These are the packages that would be merged, in reverse order: Calculating dependencies... done! [ebuild R ] net-print/cups-1.1.23-r8 USE=nls pam samba slp ssl -gnutls 0 kB [ebuild R ] net-misc/neon-0.26.1 USE=nls ssl zlib -expat -gnutls -socks5 -static 0 kB [ebuild R ] gnome-base/gnome-vfs-2.14.2 USE=hal ipv6 samba ssl -avahi -debug -doc -gnutls 0 kB [ebuild R ] net-libs/libsoup-2.2.94 USE=ssl -debug -doc -static 0 kB [ebuild N] net-libs/gnutls-1.2.10 USE=crypt zlib -doc 0 kB [ebuild R ] net-misc/curl-7.15.1-r1 USE=idn ipv6 ssl -ares -gnutls -kerberos -krb4 -ldap -test 0 kB Total size of downloads: 0 kB minimac ~ # emerge world -Dnupv These are the packages that would be merged, in order: Calculating world dependencies... done! [ebuild N] net-libs/gnutls-1.2.10 USE=crypt zlib -doc 0 kB Total size of downloads: 0 kB minimac ~ # emerge world -Dnupvt These are the packages that would be merged, in reverse order: Calculating world dependencies... done! [nomerge ] media-video/dvdrip-0.97.10 USE=cdr gnome mplayer ogg perl subtitles xvid -minimal [nomerge ] gnome-extra/gtkhtml-3.10.2 USE=-debug [nomerge ] net-libs/libsoup-2.2.94 USE=ssl -debug -doc -static [ebuild N]net-libs/gnutls-1.2.10 USE=crypt zlib -doc 0 kB Total size of downloads: 0 kB If emerge -DNuvp does not want to merge anything, then the depclean list is the list of packages that are not listed in /var/lib/portage/world or system, and are also not a dependancy of something in world or system. Been there so many times. I've worked my own way over the dependencies of these packages, and they aren't in world or system, but *are* dependencies of installed world listed packages. Ta -- Mike Williams -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Unable to mount root fs on uknown - block (0,0)
On Wednesday 26 July 2006 12:03, askar k wrote: It's interesting for me, what the other people do when they install Gentoo 2006.0??? What should I do know??? Install Fedora and copy kernel config file from it? Very sad... Depends. What did you do? Where did you get the kernel config from in the first place? -- Mike Williams -- gentoo-user@gentoo.org mailing list
[gentoo-user] very [OT] PCI-Express
Hey, AGP provide a lot more bandwidth then PCI, but only really for graphics cards. PCI-e also provides a lot more bandwidth than PCI, and can be used for just about anything. However, can one of the 2 x16 slots (be they both fully x16 or sharing 16 lanes) on an SLi board be used for something other than a graphics card, while the other is used for a graphics card? Ta -- Mike Williams -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] interconnecting speeds
On Monday 24 July 2006 17:04, Paul Stear wrote: I am copying files from my gentoo box to an xp box and it is so slow. I have both boxes connected with cable via a router, which connects to my broadband isp. When downloading from the internet to either box I get fast speeds in the 100's of MBs. However transferring box to box I only get about 1MBs. Are there any setting I should look at to enable faster transfers? Try different cables. I've had situtations where traffic in one direction is fast, the other pitifully slow. -- Mike Williams -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] A directory name with spaces in it?
On Friday 21 July 2006 19:34, Alexander Fortwinder wrote: I'm downloading a torrent file which created a directory name with spaces, so when I try to access it in bash, it is reported as not being found. How do I deal with it? For example, /home/This is a some directory Thanks for suggestions. /home/This\ \ is\ a\ \ \ some\ directory /home/This is a some directory /home/This is a some directory /home/Thistab -- Mike Williams -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Which cd player plays copy-controlled cd's?
On Sunday 16 July 2006 09:46, Harald Arnesen wrote: Does someone know which of the dozens of cd-players for gentoo is able to play copy-controlled cd's (the cd's that install a player first under Windows). My discman can play them, my home audioset can play them so i guess there must be a cdplayer for gentoo that can do it. Xmms and xine won't. cdparanoia and cdrdao can rip most of these non-CDs, so you can burn working copy.. Yep, just turn down, or off, the error checking (or paranoia level). Copy protected CDs are just CDs with errors intentionally put in. Ignore the errors, get the music. -- Mike Williams -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Bash query OT
On Sunday 09 July 2006 13:33, Dave S wrote: chkrootkit -q\ | grep -v 'PACKET SNIFFER(/sbin/dhclient3'\ | grep -v '/usr/lib/jvm/.java-gcj.jinfo'\ | grep -v '/usr/lib/realplay-10.0.6/share/default/.realplayerrc'\ | grep -v '/usr/lib/jvm/java-1.5.0-sun-1.5.0.06/.systemPrefs'\ | grep -v '/usr/lib/jvm/.java-1.5.0-sun.jinfo'\ | grep -v '/usr/lib/mindi/rootfs/root/.profile'\ | grep -v '/usr/lib/mindi/rootfs/proc/.keep'\ | $OUTFILE 2 /dev/null You could use egrep -v /usr/lib/jvm/blah|/usr/lib/reaplay/blah|etc|etc val1=$(wc -l $OUTFILE) if [ $val1 -ge 3 ] ; then cat $OUTFILE | mail -s [ckrootkit] Daily run root fi rm -f $OUTFILE All works as expected except the 2 /dev/null appears not to work. I get the following emailed to me ... chrootkit is sending output to STDERR, but you're sending STDERR from the last grep to /dev/null -- Mike Williams -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] coldplug module autoloading, and module options
On Tuesday 20 June 2006 13:31, Neil Bothwick wrote: Can I get coldplug to ignore a single module? Put it in /etc/hotplug/blacklist Oh, now that's beautiful, thanks. -- Mike Williams -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] [OT] Question about duplicate lines in file
On Monday 12 June 2006 18:19, Teresa and Dale wrote: Thanks, read the man page, it was short so it didn't take long. I tried this: sort would be more appropriate. I don't believe uniq will find matches anywhere in the file, i.e. 192 195 192 wouldn't get shortened, but 192 192 195 would. -- Mike Williams -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] EMERGENCY - GCC GONE!
On Thursday 01 June 2006 00:28, Lord Sauron wrote: I had to get rid of all gcc versions 3.4.5 and greater to work with gcc in Cygwin on my desktop to speed up the emerge of KDE 3.5 such that I wouldn't finish when KDE 4.0 was released. I gave it some pretty explicit instructions AFTER emerging gcc-3.4.4-r1. emerge --unmerge gcc-3.4.5 gcc-3.4.5-r1 (the only two greater that 3.4.4 that I had installed). For reasons that I can't fathom, gcc, is now gone. Totally. Completely. Not there. gcc-config -l or poke around in /var/db/pkg I thought libstdc++.so.6 was the gcc 3.4 c++ abi, if it really is gone, you'll need someone to send you a binary package of gcc matching your USE settings. Python will be broken until it can fine the libstdc it's linked against. -- Mike Williams -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] where is synclient?
On Tuesday 30 May 2006 00:38, Iain Buchanan wrote: I was just going back through some archives, and found mention of the command 'synclient' to modify the Synaptic touchpad driver options - but I can't find it anywhere. equery, esearch, and slocate show nothing. Where do I get it? [EMAIL PROTECTED] ~ $ equery belongs $(which synclient ) [ Searching for file(s) /usr/bin/synclient in *... ] x11-drivers/synaptics-0.14.4-r2 (/usr/bin/synclient) -- Mike Williams '95 827 Sterling Coupe - Blue '96 820 Vitesse Coupe - Cayman Blue '97 820 Vitesse Coupe - Burgundy Huddersfield, UK -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] getting somewhere -- was about a bug
On Thursday 18 May 2006 21:34, Richard Fish wrote: It is supposed to have noauto, because /boot does not need to be mounted in the normal course of events. GRUB doesn't use /etc/fstab, it uses grub.conf to find the kernel. The only time you need to mount /boot is when installing a new kernel. I disagree that it is 'supposed' to have noauto. This could make the system more secure, but so could mounting it read-only. Users do forget to mount it before updating the kernel, and they get confused about why the system isn't booting from their freshly compiled kernel. I am sure Maxim is not the only one to do this... noauto was the default. One accident a couple of years ago soon made me change to mounting /boot read-only (and successfully submitting a patch to genkernel to handle that). You can format an un-mounted filesystem. That's bad when it's /dev/sda1, and not in fact the /dev/sdb1 which you actually wanted to format. -- Mike Williams -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Listing portage categories?
On Sunday 14 May 2006 02:43, Vladimir G. Ivanovic wrote: Is there a way of getting a list of Portage categories? I know that I can `ls -s /usr/portage', but that seems like such a hack. Is there some way of getting that information with a Portage tool? With a portage tool? Don't know. From the tree, without an ls? Yes. /usr/portage/profiles/categories /etc/portage/categories -- Mike Williams -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Apache + Per User Directory configuration
On Thursday 04 May 2006 21:17, Ognjen Bezanov wrote: Any tips appreciated, thanks! Yeah, read your email. You got 2 replies to this, one on Monday, one today. -- Mike Williams -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] ip6tables, state matching
On Monday 01 May 2006 17:02, Edwin Kapauni wrote: ip6tables -p tcp -m state --state RELATED,ESTABLISHED -j ACCEPT That's what I am trying to do, but ... ~ # ip6tables -A INPUT -p tcp -m state --state RELATED,ESTABLISHED -j ACCEPT ip6tables v1.3.4: Couldn't load match `state':/lib/iptables/libip6t_state.so: cannot open shared object file: No such file or directory Try `ip6tables -h' or 'ip6tables --help' for more information. Could someone please point me to the right kernel option to search for? ip6tables doesn't do that. It can however match, or not match, on the syn flag, used to initiate a tcp connection. Look for the --syn option. -- Mike Williams -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Apache + Per User Directory configuration
On Monday 01 May 2006 12:22, Ognjen Bezanov wrote: I have spent most of the day getting per user web serving to work (/home/$user/public_html = http://server/~$user) but was constantly getting 401 Forbidden errors with apache2. After lots of hunting I found that you have to set the permissions for the user directories to 755 (a+rx). So now it works, but all the users can see each others home directories, which is unacceptable for this server. So I am here to ask if anyone cen recommend a more secure way of doing this. I want each users home directory readable only by that user (no other users) but that apache can still serve without a Forbidden error. Make all users part of the same group. Allow users (u) rwX, group (g) nothing, and others (o) rX, or u+rwX,g-rwx,o+rX. This allows everyone to read files and enter directories, except those in the same group. -- Mike Williams -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Cron problem
On Monday 24 April 2006 08:21, Uwe Thiem wrote: # check scripts in cron.hourly, cron.daily, cron.weekly and cron.monthly 0 * * * * root rm -f /var/spool/cron/lastrun/cron.hourly This is trying to run the command root which doesn't exist. Yup, with vixie-cron the *system* crontab needs the user specified, any *user* crontab doesn't. -- Mike Williams -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] kgpg error with gpg-agent
On Monday 17 April 2006 18:26, Mick wrote: I seem to have something wrong with the gpg-agent setup on by box. First of all gpg-agent does not start automatically despite the fact that I have added eval $(gpg-agent --daemon) in my ~/.xsession file. gimli ~ # egrep -i gpg.agent /usr/kde/3.5/{env,shutdown}/* /usr/kde/3.5/env/agent-startup.sh:# Uncomment the following lines to start gpg-agent /usr/kde/3.5/env/agent-startup.sh:if [ -x /usr/bin/gpg-agent ]; then /usr/kde/3.5/env/agent-startup.sh: eval $(/usr/bin/gpg-agent --daemon) /usr/kde/3.5/shutdown/agent-shutdown.sh:if [ -n ${GPG_AGENT_INFO} ]; then /usr/kde/3.5/shutdown/agent-shutdown.sh: kill $(echo ${GPG_AGENT_INFO} | cut -d':' -f 2) /dev/null 21 -- Mike Williams -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] libGLU.so.1 missing
On Saturday 08 April 2006 20:23, Robert Walter wrote: glxgears gives the following error glxgears: error while loading shared libraries: libGLU.so.1: cannot open shared object file: No such file or directory how do i find out which package libGLU.so.1 belongs to? equery belongs libGLU.so.1 gives nothing i found that library on a backup but i don't know the corresponding package. You don't. Find out what package glxgears belongs to, and recompile that. -- Mike Williams -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] ssh2 and xover LAN
On Monday 03 April 2006 16:58, maxim wexler wrote: what command did you issue? open sesame Well that's your problem then, there is no open command. How about you just stop being obtuse tell us what command(s) you ran, exactly as you ran them, not an amazingly high debug output, and perhaps we'll be able to help. -- Mike Williams -- gentoo-user@gentoo.org mailing list
Re: nForce chipsets (was: Re: [gentoo-user] VIA K8M890/K8M880 (VT8251) supported?)
On Saturday 25 March 2006 22:26, Boyd Stephen Smith Jr. wrote: I occurs to me that perhaps the Raptors are also only using SATA-I, as well, I really don't know how to check that. They are. WD don't consider SATA-II controllers good enough yet for the Raptors. Plus no drive can max out a SATA-I bus yet, so why bother? -- Mike Williams -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] User mounting
On Thursday 16 March 2006 19:48, JimD wrote: Do I need to do anything special to let users (me) mount an cifs share? I don't want to have to use sudo all the time. I can mount/umount /mnt/cdrom without sudo. Here is my /etc/fstab entry: //kaleb/C$ /mnt/kaleb cifs defaults,noauto,user,credentials=/etc/samba/kaleb.conf,gid=100,file_mode=06 60,dir_mode=0770 0 0 It's the user option. user lets any normal user mount it, but no-one else unmount it. users does the same, but lets a normal user other than the one which mounted it, to unmount it. man mount for more info. -- Mike Williams -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Re-creating an Empty Qmail Queue
On Thursday 16 March 2006 22:53, El Nino wrote: how to re-creating and Empty QMail Queue? 1. i need to delete my existing queue folder due to huge unwanted spam mails. 2. how to re-creating the queue now? stop qmail-send # cd /var/qmail/queue # find info mess remote -type f -exec rm -f -- {} \; start qmail-send. -- Mike Williams -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] resource mapping wrong? pci-x nvidia fails to load
On Tuesday 14 March 2006 15:21, Jimmy Rosen wrote: And in response to the other post by Mike Williams, it is of course a PCI Express card, my whimsical mind... Ohh, the humour :o) I updated to nvidia drivers 8178, which give a slightly different dmesg, but still don't work. dmesg: Thankful for any further suggestions... I'm quite lost as to what to do at the moment. I'd go looking for a BIOS update now. How did this problem start? New card, new motherboard, etc? -- Mike Williams -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Mobo/proc combination
On Tuesday 14 March 2006 04:18, Walter Dnes wrote: HT is being phased out *ACCORDING TO INTEL*. See article at... http://www.theinquirer.net/?article=30087 Err... Never let it be said that facts will get in the way of a fun story - Mike Magee I call bull on that story. -- Mike Williams -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] resource mapping wrong? pci-x nvidia fails to load
On Tuesday 14 March 2006 13:37, Jimmy Rosen wrote: Now, this is an NVidia GeForce 6600 PCI-X card on an Intel SE7525RP2 motherboard with 1GB ram. Kernel 2.6.15 gentoo sources r1, nvidia drivers nvidia-kernel 1.0.6629-r5 and nvidia-glx 1.0.6629-r6. Wow, I never knew Nvidia made a PCI-X graphics card. Perhaps it's a driver issue, 6629-r5 is quite old. I've got a 6600GT PCI-e, and I use the latest nvidia glx and drivers available in the tree. -- Mike Williams -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Mobo/proc combination
On Monday 13 March 2006 04:23, JimD wrote: AMD Athlon 64 3000+ Venice 800MHz HT Socket 754 or Intel Pentium D 805 Smithfield 533MHz FSB 2 x 1MB L2 Cache LGA 775 Dual Core,EM64T Processor I'm very surprised Intel can knock out dual core processors for under $150! I would go for the AMD though, but the socket 939 version. With a good board you should have no problems getting a much faster dual core CPU in X months time and just slotting it in. The next item is a mobo to go with the proc. For the mobo I really want SATA, PCI express, onboard audio and lan. I don't want onboard video, I will get a newer Nvida card to handle video. All the onboard stuff must work under Gentoo, I won't have MS on the new box. I've just got an Asus A8N (SLI version), and an X2 3800, very nice fully working combination. The board supports all currently available socket 939 CPUs too. -- Mike Williams -- gentoo-user@gentoo.org mailing list