Re: [gentoo-user] OT software to block IPs automatically?
Hi Heniz, On Fri, February 11, 2005 12:59 am, Heinz Sporn said: Just out of curiousity - have you ever thought of allowing ssh only over a VPN? Like say OpenVPN? No, I haven't played with that idea yet as I haven't yet played with vpn stuff. Will take a shot at it this weekend. Thanks -R'twick -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] OT software to block IPs automatically?
Thanks Stoian I never even thought of this. Will definitely try it. Seems the easiest way. Will also try to implement openvpn as pointed by Heinz. -R'twick On Fri, February 11, 2005 3:59 am, Stoian Ivanov said: You could sing in for a free shell account (www.rootshell.be), and allow access from their ip/network only - when you are away you can hoop via the free account to your machine, adjust firewall and carry on. Shell providers won't allow scanner running on their machines :) -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] OT: squirrelmail and huge message folders
Hi Andreas, On Thu, February 10, 2005 11:43 am, Andreas Vinsander said: Now I have started playin with squirrelmail, and found out that I get a timeout when trying to access folders with many messages (typically this list's folder). Fatal error: Maximum execution time of 30 seconds exceeded in /var/www/localhost/htdocs/squirrelmail/functions/mime.php on line 604 Try to increase the max_execution_time in php.ini. Also, enable server side sorting and threading in squirrelmail config (if your imap server supports it). HTH R'twick -- gentoo-user@gentoo.org mailing list
[gentoo-user] OT software to block IPs automatically?
Hi all, Recently I'm receiving a lot of failed ssh login attempts on my box for user root as well as a whole lot of other users which doesn't even exist. I'm getting tired of blocking these IPs manually everyday. Is there any software that can look in the logs and put these IPs in iptables to drop automatically (either in a daemon mode or via cron)? TIA -R'twick signature.asc Description: This is a digitally signed message part
Re: [gentoo-user] OT software to block IPs automatically?
Hi Micheal, Thanks a lot for the quick response and seems this is pretty much what I really needed. However, just a minor problem and i'm not that strong in sed to fix it. In the /scripts/bad-ips file, I get entries like 222.98.152.130 port 60800 ssh2 222.98.152.130 port 60830 ssh2 222.98.152.130 port 60837 ssh2 222.98.152.130 port 60839 ssh2 and iptables doesn't like it and gives error .iptables v1.2.9: host/network `port' not found Try `iptables -h' or 'iptables --help' for more information. iptables v1.2.9: host/network `port' not found iptables: No chain/target/match by that name Try `iptables -h' or 'iptables --help' for more information. iptables v1.2.9: host/network `port' not found Try `iptables -h' or 'iptables --help' for more information. iptables v1.2.9: host/network `port' not found Try `iptables -h' or 'iptables --help' for more information. .iptables: No chain/target/match by that name iptables: No chain/target/match by that name iptables: No chain/target/match by that name iptables: No chain/target/match by that name .iptables v1.2.9: host/network `ssh2' not found Try `iptables -h' or 'iptables --help' for more information. iptables v1.2.9: host/network `ssh2' not found Try `iptables -h' or 'iptables --help' for more information. iptables v1.2.9: host/network `ssh2' not found Try `iptables -h' or 'iptables --help' for more information. iptables v1.2.9: host/network `ssh2' not found Try `iptables -h' or 'iptables --help' for more information. .iptables: No chain/target/match by that name iptables: No chain/target/match by that name Any recommendations to fix this? Thanks R'twick On Fri, 2005-02-11 at 02:52 +, Michael Thompson wrote: R'twick Niceorgaw wrote: Hi all, Recently I'm receiving a lot of failed ssh login attempts on my box for user root as well as a whole lot of other users which doesn't even exist. I'm getting tired of blocking these IPs manually everyday. Is there any software that can look in the logs and put these IPs in iptables to drop automatically (either in a daemon mode or via cron)? TIA -R'twick Try this #!/bin/bash cat /scripts/bad-ips /scripts/bad-ssh cat /var/log/messages | grep sshd | grep Invalid | sed -e 's/^.*from //g' | sort -u | uniq /scripts/bad-ssh zcat /var/log/messages.[1-25].gz | grep sshd | grep Invalid | sed -e 's/^.*from //g' | sort -u | uniq /scripts/bad-ssh cat /scripts/bad-ssh |sed -e 's/::://g'|sort -u |sort -n | uniq /scripts/bad-ips /sbin/iptables -F BLACKLIST echo Writing IPTables Rulesets for i in `cat /scripts/bad-ips` do /sbin/iptables -A BLACKLIST -p ALL -i eth1 -s $i/32 -j LOG --log-prefix BLACKLISTED: /sbin/iptables -A BLACKLIST -p ICMP -i eth1 -s $i/32 -j DROP /sbin/iptables -A BLACKLIST -p TCP -i eth1 -s $i/32 -j REJECT /sbin/iptables -A BLACKLIST -p UDP -i eth1 -s $i/32 -j REJECT echo -n . done echo echo Done. iptables -A BLACKLIST -j RETURN signature.asc Description: This is a digitally signed message part
Re: [gentoo-user] OT software to block IPs automatically?
Hi Michael, On Fri, 2005-02-11 at 03:02 +, Michael Thompson wrote: Sorry, should have looked before posting! I dont block any more, no point. The IP's change so frequently, I have never seen the same IP in any multiple attempts. Yeah they change but they continue till I block them (lasts couple of days some times). But if you want to use that code, it will search the message logs for Invalid users and add them to a blacklist. You should create the chain first, and call it from your INPUT chain. /sbin/iptables -N BLACKLIST /sbin/iptables -I INPUT 1 -p TCP --dport 22 -j BLACKLIST Did that thanks. Just call it from cron whenever is suitable for you. If you start getting iptables resource unavailable errors, remove the zcat lines, so that it is only searching the current log file. Will keep that in mind. Better than having to run this code, run your SSHD Deamon on a non-standard port, such as 222, the scans will stop immeadiatly. problem here is I usually access it from work and there's hardly any port open on my company firewall.. I can only go outbound on 20, 22,25,80, 443, 110, 143 and all these ports are already in use on my box. So, I have no other option but to run ssh on port 22 only. R'twick signature.asc Description: This is a digitally signed message part
Re: [gentoo-user] OT software to block IPs automatically?
On Fri, 2005-02-11 at 03:16 +, Michael Thompson wrote: R'twick Niceorgaw wrote: Can you post a line from your log so I can see what it looks like. That code works fine on syslog-ng and the latest SSHD. Make sure that you change Your ip address in what you post. Feb 9 10:35:36 konark sshd[4577]: Failed password for illegal user user from :::xxx.xxx.xxx.xxx port 38107 ssh2 Feb 9 10:35:35 konark sshd[4571]: Failed password for root from :::xxx.xxx.xxx.xxx port 38055 ssh2 Thanks again for the help. PS: I just looked at bad-ips and I have 7561 entries there just from todays log. R'twick signature.asc Description: This is a digitally signed message part
Re: [gentoo-user] OT software to block IPs automatically?
Hi Mike, On Thu, 2005-02-10 at 19:22 -0800, Mike Noble wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 R'twick Niceorgaw wrote: | Hi all, | Recently I'm receiving a lot of failed ssh login attempts on my box for | user root as well as a whole lot of other users which doesn't even | exist. I'm getting tired of blocking these IPs manually everyday. | Is there any software that can look in the logs and put these IPs in | iptables to drop automatically (either in a daemon mode or via cron)? | | TIA | -R'twick Your firewall should block all incoming ssh and only allow ssh from address that you allow. This way you do not have to keep a list of all the bad address just a list of all the good ones. In that case, if I ever on the road/ at a friend's house, I will not be able to access my box. If I knew all the addresses that I'll be connecting from, then it would have been the best thing. R'twick signature.asc Description: This is a digitally signed message part
Re: [gentoo-user] OT software to block IPs automatically?
Michael, On Fri, 2005-02-11 at 03:35 +, Michael Thompson wrote: Try running this on your log by hand and see what you get back, if it works Ok, just modify it to fit in to the script. grep Failed password for illegal user /var/log/messages | sed -e 's/.*user [^\ ]\+ from //' -e 's/ port.*//' | sort | uniq That's just perfect :) Thanks a lot for all the help. -R'twick signature.asc Description: This is a digitally signed message part
Re: [gentoo-user] ati-drivers fglrxinfo/glxgears etc hanging
Thanks Heinz, did a emerge sync and found 8.8.5 which is xorg 6.8.0 compatible. Everything looks good now. Just one dissapointment, I had to disable Composite extension to get DRI :( -R'twick On Sun, 2005-01-23 at 11:42 +0100, Heinz Sporn wrote: Just emerge the latest Ati drivers that fully support Xorg 6.8. Although these are still unstable the feedback is quite Ok. Am Sonntag, den 23.01.2005, 01:24 -0500 schrieb R'twick Niceorgaw: H all, my configuration: xorg 6.8.0 gentoo-dev-sources-2.6.10-r5 ati-drivers 3.14.6 no dri support in kernel. agpgart is a module. problem: when I enable dri in xrog.conf, fglrxinfo/glxgears/glxinfo all are just hanging .. no output. If I disable dri, then they are atleast showing something. when dri is enabled, in x.org log it says dri is initialized succesfully. Here's link to my log and xron=g.conf file. http://utkalika.homedns.org/xorg.conf.txt http://utkalika.homedns.org/xorg.log.txt any one else faced the same problem? any pointers to fix this? Thanks -R'twick signature.asc Description: This is a digitally signed message part
Re: [gentoo-user] ati-drivers fglrxinfo/glxgears etc hanging
Tony, On Sun, 2005-01-23 at 17:09 +, Tony Boom wrote: Hello R'twick, Sunday, January 23, 2005, 5:00:39 PM, you wrote: RtN I had to disable RtN Composite extension to get DRI :( How exactly did you do that? I'm having terrible trouble with my 9600xt card. I had a section in xorg.conf like -- Section Extensions options Composite Enable EndSection --- Commented out all three lines and restarted X. HTH R'twick signature.asc Description: This is a digitally signed message part
Re: [gentoo-user] ati-drivers fglrxinfo/glxgears etc hanging
On Sun, 2005-01-23 at 22:01 +, Tony Boom wrote: Hello R'twick, Sunday, January 23, 2005, 9:23:18 PM, you wrote: RtN Commented out all three lines and restarted X. Didn't have them at all but thanks anyway. then you don't have the same problem as mine.. may be posting the erro messages from xorg log will help you -R'twick signature.asc Description: This is a digitally signed message part
[gentoo-user] ati-drivers fglrxinfo/glxgears etc hanging
H all, my configuration: xorg 6.8.0 gentoo-dev-sources-2.6.10-r5 ati-drivers 3.14.6 no dri support in kernel. agpgart is a module. problem: when I enable dri in xrog.conf, fglrxinfo/glxgears/glxinfo all are just hanging .. no output. If I disable dri, then they are atleast showing something. when dri is enabled, in x.org log it says dri is initialized succesfully. Here's link to my log and xron=g.conf file. http://utkalika.homedns.org/xorg.conf.txt http://utkalika.homedns.org/xorg.log.txt any one else faced the same problem? any pointers to fix this? Thanks -R'twick signature.asc Description: This is a digitally signed message part
Re: [gentoo-user] ISP blocking smtp
On Thu, January 20, 2005 12:52 am, Nick Smith said: my ISP just started blocking smtp from any domain not theirs, as per a supervisor @ comcast they are blocking all mail sent from their clients that are running a mail server and their outgoing email address is not a comcast.net address, they say this keeps the spam down. ha. as you can see they haven't shut me down as of yet, but they did shut down one of my clients a legit non-profit organization, we are having to look into alternate methods to get their email out asap. my question is, is there any way around this? i don't think just changing the ports could work. the way we had it set up before was that the smtp address was just relaying through smtp.comcast.net, that is what they are blocking, they can receive mail fine but anything they send is blocked and it doesn't come back to them either as not recieved. am i just screwed and stuck with another feature of comcast? i swear if there was ANYTHING else as fast around here for the same price i would switch, they keep getting worse and worse. any info would be appreciated thanks. nick Earlier I used RCN with dynamic IP and they allow to send mail through their smtp if I authenticate using my rcn.com email address regardless of what my From field says. Will this work for comcast? If so, probably you can setup your mail server to authenticate with comcast server prior to relaying. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Framebuffer background image
Sebastian Bergmann wrote: Hi, I am using gentoo-dev-sources-2.6.1 and the following grub config kernel (hd0,0)/boot/gentoo-dev-sources-2.6.1 root=/dev/hda3 video=vesa:ywrap,mtrr vga=0x317 initrd=/boot/initrd-1024x768 where /boot/initrd-1024x768 was generated using /sbin/splash -f -s config /boot/initrd-1024x768 Now I do not want a silent bootsplash with a progress bar, so I did not rc-update add bootsplash default All I want is a 1024x768 framebuffer console with a background image during boot. The one thing that nags me is that about halfway through the boot process the Booting the system... Press F2 for verbose mode message appears in the center of the screen. The message is overwritten (looks ugly) by subsequent messages. Can this be configured in such a way that the above message gets not displayed? TIA, Sebastian just a guess not sure if this will work... in /etc/conf.d/bootsplash.conf file change PROGRESS_BOOT_MESSAGE to blank HTH R'twick -- [EMAIL PROTECTED] mailing list
[gentoo-user] CUPS printing problem with windows share
Hi All, I'm trying to setup cups printing with a windows printer share. However, I'm getting an error like cli_session_request failed message. I had it setup fine with my laptop running gentoo sometime back but now with my gentoo desktop can not set it up. I have also installed suse 9.0 as well as mandrake 9.2 and having the same problem. I still can print form gentoo laptop fine. Any idea what might be wrong? Thanks in advance for any help R'twick -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] no devfs in basic install
Hi Sumeet, Sumeet Singh Parmar said the following on 11/11/2003 4:24 PM Friends, I am emerging 1.4 RC4, I was pained to see that the stage1 uses MAKEDEV in /dev instead of devfs - what's up with that! I'll be sure to rm -rf /dev/* once emerge is complete. Sheesh. -Sumeet Even though I have no information on this topic, however couple of things ... Please start a new thread (compose a new mail) instead of replying to an existing thread when your mail has nothing to do with that thread. Also, please turn off html to the list. R'twick -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Emerge Binary Packages - Help?
Hi, rd said the following on 11/11/2003 4:50 PM I am supporting 5 gentoo boxes. Presently I emerge to each box independently. Very time consuming -- even though I am using DISTCC for distributed compiles. Is anyone successfully compiling/emerge'ing to one box and then creating binary packages for installation on other boxes? I need help, please. I have tried to do this, but have not been able to get it to work. Detailed directions would be *greatly* appreciated. -rdg I have three boxes with gentoo (one AMD xp, one PII and one P4 ). I don't use much fancy compilr settings just i686. What I do is, keep portage on one machine and NFS export it to other machines. while emerging something, I emerge on the fastest machine first with emerge -b package option. that builds the binary package along with installing it on the same machine. then on othr machines its just emerge -K package and it installs form the binary package. HTH R'twick -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Problems updating
Hi Kevin, [EMAIL PROTECTED] said the following on 11/7/2003 3:37 PM Hi all. I have one system I'm trying to bring up to date via emerge, and am getting the following error. Any suggestions? gcc -o start-stop-daemon start-stop-daemon.o start-stop-daemon.o(.text+0x98): In function `main': : undefined reference to `__builtin_va_start' start-stop-daemon.o(.text+0x415): In function `main': : undefined reference to `__builtin_va_start' start-stop-daemon.o(.text+0x47e): In function `main': : undefined reference to `__builtin_va_start' start-stop-daemon.o(.text+0x4dd): In function `main': : undefined reference to `__builtin_va_start' start-stop-daemon.o(.text+0x693): In function `main': : undefined reference to `__builtin_va_start' start-stop-daemon.o(.text+0x6ef): more undefined references to `__builtin_va_start' follow collect2: ld returned 1 exit status distcc[30555] ERROR: compile on localhost failed make: *** [start-stop-daemon] Error 1 !!! ERROR: sys-apps/baselayout-1.8.6.11 failed. !!! Function src_compile, Line 102, Exitcode 2 !!! problem compiling utilities is it possible that you have different versions of gcc installed on the computers you are using with distcc? I had this problem sometime back and installing same version of gcc on all machines solved the problem. HTH R'twick -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] How to connect broadband automatically at booting
Stephen Liu said the following on 10/20/2003 1:24 PM Hi all folks, Each time after booting I have to issue # adsl-start on Konsole window to connect broadband Kindly advise how to configure the OS to have ISP/broadband connected automatically at booting. Thanks B.R. Stephen Liu put adsl-start in /etc/conf.d/local.start HTH R'twick -- [EMAIL PROTECTED] mailing list
[gentoo-user] OT recover disk after mke2fs -j ?
Hi all, by mistake I did a mke2fs -j on my home partition:( is there any way I can recover the data ? I haven't written anything on it yet. R'twick -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] OT recover disk after mke2fs -j ?
Hi Jeffrey, thanks for the reply. Jeffrey Smelser said the following on 10/17/2003 2:20 PM you might get a few utilities, but I did that not to long ago, and it was just faster to use my backup and restore it, only took about 5-10 mins to get home back since I back the entire thing up.. Btw, I don't think there are any 'linux' utilities for this, you might get some software vender type stuff though. I take it you don't do backups? shame shame.. ;) right I didn't take any backups before. I usually keep my home partition in sync on my laptop as well as desktop.. however, last week I had to format my laptop to install windows as my job required me to have a windows box :( I did bought a new disk to use it as a permanent backup drive and was going to format it .. but instead of formatting it, I formatted the home dir. Don't know what I was thinking at that time. may be because its a friday and my brain stopped working. I found somethig called R-linux from http://www.r-tt.com but not sure if it will work. I'll try to use it and see if I can get anything. luckily enough though all my mails are saved on my work computer(windows) in mozilla thunderbird. Hopefully, I can import them to linux mozilla? apart from the mails, there's not many important stuff lost, just some programs I worte and so I think I can write them again though it will take some time. R'twick -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] OT recover disk after mke2fs -j ?
Jeffrey Smelser said the following on 10/17/2003 3:00 PM yeah, I thought there might be some kind of vendor doing it. I just don't think there are any 'linux' utils native that do it.. I don't know anything above X in linux as I have yet to venture that way besides a few times I have grown balls enough to install x here and there. so someone else will have to help you onthe mozilla thing.. if you have progs on home, you should really be doing a tar -cvf (-j/z) every night on it.. I can't tell you home many times I have restored a prog just because I try to make a big change and realize I got over my head with an idea of mine and needed a backup of it.. OR simply just got to crazy with the rm command that day for some stupid reason. I'll definitely do the backup religeously from now on. Atleast before doing any maintenance work on my box. I have learnt my lession -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Networking setup
Kasper Rönning said the following on 9/25/2003 2:33 PM Hello! I've been an occasional Linux user, and now I've decided to really start learning Linux by installing Gentoo on my Apple iMac. I contemplated writing to either gentoo-ppc-user or gentoo-osx but I'm not sure my problem is platform specific so I wrote to this list instead. The problem is I can ping all addresses on the same network (subnet 255.255.240.0) but I can't reach any hosts outside. My hardware is Apple iMac 15 G4 800MHz TFT w/ SuperDrive. Should I post to another list? I found one discussion that might be related (?): http://www.mail-archive.com/[EMAIL PROTECTED]/msg14363.html Any suggestion would be really appreciated. /Kasper Here are some details (manually copy/pasted): # ifconfig eth0Link encap:Ethernet HWaddr 00:03:93:B1:63:DC inet addr:130.233.30.18 Bcast:130.233.31.255 Mask:255.255.240.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:299064 errors:0 dropped:0 overruns:0 frame:0 TX packets:39 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txquelen:100 RX bytes:39259331 (37.4 Mb) TX bytes:2843 (2.7 Kb) Interrupt:41 Base address:0x2000 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txquelen:0 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) # route (I took out the Ref and Use columns, all were 0) Kernel IP routing table Destination Gateway Genmask Flags Metric Iface 130.233.16.0* 255.255.240.0 U 0 eth0 default trinet-gw.tky.h 0.0.0.0 UG 1 eth0 # cat /etc/conf.d/net (Comments removed) iface_eth0=130.233.30.18 broadcast 130.233.31.255 netmask 255.255.240.0 gateway=eth0/130.233.31.254 # ping 130.233.30.17 PING 130.233.30.17 (130.233.30.17) 56(84) bytes of data. 64 bytes from 130.233.30.17: icmp_seq=1 ttl=128 time=1.4 ms # ping kosh.hut.fi PING kosh.hut.fi (130.233.228.10) 56(84) bytes of data. nothing happens... -- [EMAIL PROTECTED] mailing list do you have a valid nameserver entry in /etc/resolv.conf ? -R'twick -- [EMAIL PROTECTED] mailing list
[gentoo-user] Please discard. Testing subscription
pls discard -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] HDs dying. please save me
mathieu perrenoud said the following on 9/12/2003 8:59 AM I don't have any info on your problem, however, when starting a new topic, please start a new thread (compose a new message) instead of replying to an existing thread and changing the subject line. R'twick -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] HDs dying. please save me
mathieu perrenoud said the following on 9/12/2003 11:50 AM Sorry, my mistake. I didn't know of any header added to the mail that referred to the thread. I tought that threads were followed by title only. I use Mozilla and it has a nice feature to sort by thread (which I believe sorts by In-Reply-To or References headers. So, I see your original message as a reply to the thread Re: [gentoo-user] Making virual hosts appear in someone's directory and breaks my purpose of seeing all mails related to one topic at once. Regards R'twick -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] how can I completely remove gnome ?
On 15 Aug 2003 at 19:52, Spider wrote: begin quote On Fri, 15 Aug 2003 13:02:30 -0400 R'twick Niceorgaw [EMAIL PROTECTED] wrote: Hi all, is there any way I can completely remove gnome form my machine? I use kde always and just to try installed gnome but now unmerged every thing that has any explicit reference to gnome. I even set my USE flag to -gnome but whenever, I try to do an emeger -Up world, it tries to reinstall all gnome stuff. any help is much appreciated emerge -C gnome then if it still lingers and wants updates, emerge -vp depclean. beware of depclean though, things may break. //Spider Thanks Spider and Mark. I tried emerge -Cp gnome and got this result emerge -Cp gnome These are the packages that I would unmerge: !!! Couldn't find match for gnome unmerge: No packages selected for removal. - However, after doing a emerge depclean (made sure not unmerging anything that I knew of being used) there's no more gnome stuff in emerge -Up world. I still might have something broken, will check it later tonight. Regards R'twick May be I have broken something -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] emerge - How do I get around a 'block'?
On 13 Aug 2003 at 10:43, Mark Knecht wrote: Hi, I'm having a problem understanding how to actually handle a blocked package in emerge and move forward. I've attached a portion of what I'm seeing in my xterm, along with the little bit of the man page on emerge that seems to apply, but I don't know how to go forward properly. I hope someone can give me the emerge 101 lesson on blocked package handling. Thanks. From what I see here, emerge wants to update dev-perl/perl to revision -r12. I appear to have r11 installed. emerge would like to do something early in the emerge process (install 3 things including File-Spec? I'm not sure) but cannot move forward. When I look at emerging File-Spec by itself I see that I apparently have version 0.82 installed, and it would like to update to 0.84-r1 but cannot as it's blocked. Why is it 'blocked'? I have tried an 'emerge -pC File-Spec' and it appears the system would remove it, but I don't know what that might break, if anything. The man page snippet seems to imply this is not going to be a problem, but does not tell me what to do when it apparently is a problem. Thanks in advance, Mark Gentoo2 root # emerge -p --update --deep system These are the packages that I would merge, in order: Calculating system dependencies ...done! [ebuild N] sys-devel/gnuconfig-20030708 [blocks B ] dev-perl/ExtUtils-MakeMaker-6.05-r6 (from pkg dev-lang/perl-5.8.0-r12) [blocks B ] dev-perl/Test-Simple-0.47-r1 (from pkg dev-lang/perl-5.8.0-r12) [blocks B ] dev-perl/File-Spec-0.84-r1 (from pkg dev-lang/perl-5.8.0-r12) SNIP [ebuild U ] dev-lang/perl-5.8.0-r12 [5.8.0-r11] SNIP Gentoo2 root # entoo2 root # emerge -p File-Spec These are the packages that I would merge, in order: Calculating dependencies ...done! [blocks B ] dev-perl/ExtUtils-MakeMaker-6.05-r6 (from pkg dev-lang/perl-5.8.0-r12) [blocks B ] dev-perl/Test-Simple-0.47-r1 (from pkg dev-lang/perl-5.8.0-r12) [blocks B ] dev-perl/File-Spec-0.84-r1 (from pkg dev-lang/perl-5.8.0-r12) [ebuild U ] dev-lang/perl-5.8.0-r12 [5.8.0-r11] [ebuild U ] dev-perl/File-Spec-0.84-r1 [0.82] Gentoo2 root # emerge unmerge dev-perl/ExtUtils-MakeMaker dev-perl/Test-Simple dev-perl/File-Spec This has been discussed earlier in the mailing list .. searching the archives may give you more information HTH R'twick -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] OT: Good NFS for laptop?
On 31 Jul 2003 at 9:20, Paul K. Dickson wrote: Or hell, just schedule an rsync push/pull based on time intervals and system events. forget the whole nfs deal. How about using unison ? I use it to sync my home dirs on my desktop and laptop and so far it's serving the purpose :) -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] perl emerge problems
On Tuesday 29 July 2003 10:29 pm, Alberto Bert wrote: Hi, I've update perl but emerge don't want do it. bash-2.05b# emerge -pv perl These are the packages that I would merge, in order: Calculating dependencies ...done! [blocks B] dev-perl/Test-Simple-0.47-r1 (from pkg dev-lang/perl-5.8.0-r12) [blocks B] dev-perl/File-Spec-0.84-r1 (from pkg dev-lang/perl-5.8.0-r12) [ebuildU ] dev-lang/perl-5.8.0-r12 [5.8.0-r10] +berkdb -doc +gdbm -threads bash-2.05b# emerge perl Calculating dependencies ...done! !!! Error: the dev-perl/Test-Simple-0.47-r1 package conflicts with this package and both can't be installed on the same system together. What does it mean and what should I do? Thanks a lot, alb I also had the same problem. unmerging Test-Simple and File-Spec and then emerging perl fixed it HTH R'twick -- [EMAIL PROTECTED] mailing list
[gentoo-user] distcc and openoffice 1.1 now working ?
Hi, has any one managed to compile openoffice 1.1 beta with distcc? I can compile it fine without distcc. However, with distcc on, I always get this error - * * * Checking the platform pre-requisites. * * * checking for gawk... gawk checking for gawk... /bin/gawk checking for sed... /bin/sed checking the operating system... checked (Linux) checking for gcc... distcc /usr/bin/ccache gcc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... configure: error: cannot compute suffix of object files: cannot compile See `config.log' for more details. !!! ERROR: app-office/openoffice-1.1_beta2-r1 failed. !!! Function src_compile, Line 296, Exitcode 1 !!! (no error message) --- I tried it on two machines and got exactly the same error (regardless of where it is trying to compile). Below are portions of various logs. Is there anywhere else I can look at to find the cause? or any work around of this ? Regards R'twick This is what I got in the distcc log distcc[15837] (dcc_retrieve_results) Notice: skipping retrieval of 0 byte object file conftest.o distcc[15837] (dcc_unlock) release lock fd7 distcc[15837] ERROR: compile on 192.168.0.3/2 failed with exit code 1 distcc[15837] elapsed compilation time 0.140080s distcc[15837] (dcc_exit) exit: code 1; self: 0.00 user 0.046992 sys; children: 0.000999 user 0.065989 sys distcc[15837] (dcc_cleanup_tempfiles) deleted 1 temporary files -- and here's what in syslog of the compiling machine -- Jul 24 18:09:25 kharavela distccd[2682]: (dcc_check_client) connection from 192.168.0.3:32851 Jul 24 18:09:25 kharavela distccd[2682]: compile from conftest.c to conftest.o Jul 24 18:09:25 kharavela distccd[2682]: (dcc_r_file_timed) 143 bytes received in 0.000331s, rate 422kB/s Jul 24 18:09:25 kharavela distccd[2682]: (dcc_collect_child) cc times: user 0.00s, system 0.010998s, 16 minflt, 94 majflt Jul 24 18:09:25 kharavela distccd[2682]: /usr/bin/ccache on localhost failed with exit code 1 Jul 24 18:09:25 kharavela distccd[2682]: job complete - -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Spam Query
On 23 Jul 2003 at 22:05, Angel Gabriel wrote: Over the ast few days, I have been getting a lot of messages, which are spam, posted to my lycos email address, the one I use here, adn for other mailing lists. This is begining to annoy me, occasionally, I'd get about two or three a day, now, I get about 60 or 70. I can't run filters on the messages, because the have the correct To: address, and the sender is always diffrent. This is really begining to annoy me. Is there any spam filters out there, that can maybe redflag certain email, which it thinks is spam, so that I can use my mailer to filter it out, and then change the 'spam filter' if it gets it wrong? spamassassin ? -- [EMAIL PROTECTED] mailing list
[gentoo-user] can not start apache - undefined symbol: Perl_Ipatchlevel_ptr
I recently did a emerge -U world and after that I can not start apache (1.3.27) .. it gives me this error Syntax error on line 60 of /etc/apache/conf/apache.conf: Cannot load /etc/apache/extramodules/libperl.so into server: /etc/apache/extramodules/libperl.so: undefined symbol: Perl_Ipatchlevel_ptr How can I fix this ? R'twick -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] can not start apache - undefined symbol: Perl_Ipatchlevel_ptr
On 21 Jul 2003 at 4:12, Ryan Phillips wrote: Most likely reason is that perl was upgraded... try remerging apache. -ryan Tried emerge apache mod_perl same problem emerge unmerge perl emerge perl emerge apache mod_perl Again same problem Any other ideas ? * R'twick Niceorgaw [EMAIL PROTECTED] [2003-07-21 03:15]: I recently did a emerge -U world and after that I can not start apache (1.3.27) .. it gives me this errorSyntax error on line 60 of /etc/apache/conf/apache.conf: Cannot load /etc/apache/extramodules/libperl.so into server: /etc/apache/extramodules/libperl.so: undefined symbol: Perl_Ipatchlevel_ptrHow can I fix this ? R'twick -- [EMAIL PROTECTED] mailing list -- Well, that was a piece of cake, eh K-9? Piece of cake, Master? Radial slice of baked confection ... coefficient of relevance to Key of Time: zero. -- Dr. Who -- [EMAIL PROTECTED] mailing list
[gentoo-user] synaptics driver (tuxmobil) problem with clevo/sager/pro-star etc laptop
Hi all, I have installed the synaptics driver from tuxmobil with 2.4.21-ck3 kernel and xfree 4.3.0 on a prostar 5634 laptop. Now when I start X, mouse just goes to the top left corner and sits there. ANy one using this driver with such a laptop and willing to share their xfree config with me? regards R'twick -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Problem emerging GNOME
On 3 Jul 2003 at 5:09, Sean Bossinger wrote: Good morning (afternoon, evening, or whatever time it may be in your part of the world): I'm attempting to emerge GNOME onto my system, and I'm receiving errors. My system was built using the stage 3 tarball from the Gentoo 1.4 RC4. The emerge errors out when on the step where it is working with avifile-0.7.32.20030219. The error message indicated is: ERROR: media-video/avifile-0.7.32.20030219 failed. Function econf, Line 304, Exitcode 77 econf failed It recommends checking the config.log for more information. I'd append that to this e-mail; however, it is quite large... if needed, I'll go ahead and append it, but it doesn't seem to show ME any info. Of course, I'm not a pro at this, so... read into that what you will. I'd like to use GNOME more than KDE... Has anyone else out there run into this issue? Can anyone point me in the right direction? Please? Thanks! Sean -- [EMAIL PROTECTED] mailing list try to reemerge gcc .. I also had that problem and after reemerging gcc, it worked fine HTH R'twick -- [EMAIL PROTECTED] mailing list
[gentoo-user] modprobe and QM_MODULE: function not implemented
Hi, I have compiled development-sources 2.5.73 but, when ever I try to do a modprobe/insmod/lsmod, I get a QM_MODULE: function not implemented message. Any one faced this? Or has a fix? Thanks R'twick -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] modprobe and QM_MODULE: function not implemented
On 2 Jul 2003 at 12:24, Kurt Bechstein wrote: Yes, if you want to use the development kernel you will need to emerge module-init-tools. Thanks Kurt, I'm emerging it now R'twick -- [EMAIL PROTECTED] mailing list
[gentoo-user] gst-plugins compile problem
Hi all, I'm getting problem in compiling gst-plugins. Compile error is as follows === grep: /usr/lib/gcc-lib/i586-pc-linux-gnu/3.2.2/libstdc++.la: No such file or directory /bin/sed: can't read /usr/lib/gcc-lib/i586-pc-linux-gnu/3.2.2/libstdc++.la: No such file or directory libtool: link: `/usr/lib/gcc-lib/i586-pc-linux-gnu/3.2.2/libstdc++.la' is not a valid libtool archive make[4]: *** [libgstarts.la] Error 1 make[4]: Leaving directory `/var/tmp/portage/gst-plugins- 0.6.1/work/gst-plugins-0.6.1/ext/arts' make[3]: *** [all] Error 2 make[3]: Leaving directory `/var/tmp/portage/gst-plugins- 0.6.1/work/gst-plugins-0.6.1/ext/arts' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/gst-plugins- 0.6.1/work/gst-plugins-0.6.1/ext' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/gst-plugins- 0.6.1/work/gst-plugins-0.6.1' make: *** [all] Error 2 !!! ERROR: media-libs/gst-plugins-0.6.1 failed. !!! Function src_compile, Line 151, Exitcode 2 !!! (no error message) === I have re compiled gcc 3.2.2. Here's my CHOST and CFLAGS CHOST=i686-pc-linux-gnu CFLAGS=-march=pentium3 -O3 -pipe and libstdc++.la is in /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/libstdc++.la I have no idea why it is looking for it in i586 dir. Any one faced this problem or have a soln ? Regards R'twick -- [EMAIL PROTECTED] mailing list
[gentoo-user] Sync KMail dir/address/identity/filter rules between desktop and laptop
Hi all, is there any easy way to keep Kmail (all mail Folders/Filter rules/Address/Identities etc) in sync between two systems (both running gentoo with KDE 3.1.2) apart from copying all folders and rc files across the machines ? Regards R'twick
Re: [gentoo-user] Sync KMail dir/address/identity/filter rules between desktop and laptop
Thanks Arnold and Peter, Here's what i'm thinking of I 'm going to use imap on my laptop, use fetchmail to organize my mails in the desktop machine. That will remove necessity to sync Mail folder and filter. I'll only sync std.vcf file between the machines for addressbook ( and I think by checking last modified date time I can figure out which one is latest and overwrite the older one.) R'twick - Original Message - From: Peter Ruskin [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, June 11, 2003 12:47 PM Subject: Re: [gentoo-user] Sync KMail dir/address/identity/filter rules between desktop and laptop On Wednesday 11 Jun 2003 17:27, Arnold Krille wrote: On Wednesday 11 June 2003 17:58, R'twick Niceorgaw wrote: is there any easy way to keep Kmail (all mail Folders/Filter rules/Address/Identities etc) in sync between two systems (both running gentoo with KDE 3.1.2) apart from copying all folders and rc files across the machines ? Use imap. Or write yourself a little script to exchange $HOME/Mail and $HOME/.kde/share/config/kmailrc. Or decide to use mail only on one pc :-) What I do is delete $HOME/Mail and $HOME/.kde/share/config/kmailrc on one system and link them (ln -s) to the other machine. As long as they're the same major version there's no problem. -- == Gentoo Linux: Gentoo Base System version 1.4.2.9 kernel-2.4.21_rc6-gss i686 AMD Athlon(tm) XP 1600+ == -- [EMAIL PROTECTED] mailing list -- [EMAIL PROTECTED] mailing list
RE: [gentoo-user] Dual boot gentto and W2k form grub ?
You might want to change 'rootnoverify' to just 'root', that's what works for Me Kent I had it just root as specified in gentoo install doc and when it didn't work, I tried to google and found few mentioned to make it rootnoverify. Do you have Windows on NTFS or FAT32 partition ? Thanks R'twick -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] mounting two partitions as one directory
I wanted to work these two as one large single one. I bought parition magic and it managed to merge both partitions without loosing any data :) R'twick - Original Message - From: Sigurd Stordal [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, June 09, 2003 10:40 AM Subject: Re: [gentoo-user] mounting two partitions as one directory -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Friday 06 June 2003 15:59, R'twick Niceorgaw wrote: Hi all, is there any way I can mount two partitions (in two separate disks) as a single directory ? That depends on what you want, If it is to get the to partition to act as one large one, no I don't think so, but if it is to make the to partition mirrors of each other I think it should work with just plain mount of the two partition on same mount point. As far as I can recall it worked for me that way. - -- Sigurd Stordal President of GOGS Experimental Petrologist -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE+5JxZSB4UOs/snOURArgaAJ975Ydt3xRApuJjAZWyQIjB5Te3jQCcD3LW v9AG/bgAhnC+biEuukvYw1w= =wzqY -END PGP SIGNATURE- -- [EMAIL PROTECTED] mailing list -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] mounting two partitions as one directory
Thanks marshal, Tom and rest all I'll try LVM next time if I need it :) At present i solved the problem by merging them into one partition with partition magic R'twick - Original Message - From: Marshal Newrock [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, June 09, 2003 10:52 AM Subject: Re: [gentoo-user] mounting two partitions as one directory On Mon, 9 Jun 2003, Sigurd Stordal wrote: On Friday 06 June 2003 15:59, R'twick Niceorgaw wrote: Hi all, is there any way I can mount two partitions (in two separate disks) as a single directory ? That depends on what you want, If it is to get the to partition to act as one large one, no I don't think so, but if it is to make the to partition mirrors of each other I think it should work with just plain mount of the two partition on same mount point. As far as I can recall it worked for me that way. I wouldn't think mounting two partitions independently on one mount point would work. Only the highest mount (the most recent) would get anything. The one under it would just be supporting the mount. If you wanted two partitions to have the same information, I think you'd have to have a RAID mirror. I believe there is also a form of RAID which merely appends one partition to the other. Also, the Logical Volume Manager (which I've never used, only looked at the description in the kernel config) may be of use for something like that. I believe EVMS is a successor to LVM. -- Marshal Newrock, Simon's Rock College of Bard Caution: product may be hot after heating -- [EMAIL PROTECTED] mailing list -- [EMAIL PROTECTED] mailing list
RE: [gentoo-user] Dual boot gentto and W2k form grub ?
I tried makeactive still no luck. It still says Booting 'Windows 2000 Pro' Root(hd(0,0) Filesystem type unknown, partition type 0x7 Makeactive Chainloader +1 Error 13: Invalid or unsupported executable format Any other idea how to boot NTFS from grub ? Thanks R'twick -Original Message- From: Sven Blumenstein [mailto:[EMAIL PROTECTED] Sent: Monday, June 09, 2003 9:23 AM To: [EMAIL PROTECTED] Subject: Re: [gentoo-user] Dual boot gentto and W2k form grub ? On Mon, 9 Jun 2003 07:37:31 -0400 R'twick Niceorgaw [EMAIL PROTECTED] wrote: Do you have Windows on NTFS or FAT32 partition ? I have Win2K on NTFS. /dev/hda1 NTFS Win2K /dev/hda2 ReiserFS /boot /dev/hda3 SWAP swap /dev/hda4 ReiserFS / My working grub.conf looks like this (notice the makeactive): default 1 timeout 10 splashimage=(hd0,1)/boot/grub/splash.xpm.gz title=Gentoo Linux (2.4.20) root (hd0,1) kernel (hd0,1)/boot/bzImage root=/dev/hda4 vga=775 title=Gentoo Linux (2.5.70) root (hd0,1) kernel (hd0,1)/boot/bzImage_2.5.70 root=/dev/hda4 vga=775 title=Windows 2000 rootnoverify (hd0,0) makeactive chainloader +1 -- .. /V\ [web ] http://0x1337.net | Behind every great // \\ [pgp ] http://0x1337.net/0x1337-pgp.txt | computer sits a /( )\ [geek] http://0x1337.net/0x1337-geek.txt | skinny, little geek. ^'~'^ -- [EMAIL PROTECTED] mailing list -- [EMAIL PROTECTED] mailing list
[gentoo-user] Problem with xinetd / proftpd ?
Hi, my gentoo desktop was working fine for quite sometime. I used to ftp from outside as well as from inside my firewall. But, recently I did an emerge -u world and after that I can not connect via ftp. I'm using proftpd with xinetd. When I run it thru xinetd and try to connect, I get ftp localhost Connected to localhost. 421 Service not available, remote server has closed connection If I disable proftpd from xinetd and run it standalone thru /etc/init.d/proftpd, ftp works fine from within the firewall. However, I can only connect to it from outside but can not do a ls or get or anything. Here's what I get form outside Remote system type is UNIX. Using binary mode to transfer files. ftp ls 227 Entering Passive Mode (192,168,0,3,254,152). ftp: connect: No route to host How can I fix it? thanks for your help Regards R'twick here's my proftpd.conf file if there's something wrong ServerName Gentoo Server @ utkalika.net ServerType standalone DefaultServer on RequireValidShell off AuthPAM on AuthPAMConfig ftp UseReverseDNS off PassivePorts65000 65534 # Port 21 is the standard FTP port. Port21 # Umask 022 is a good standard umask to prevent new dirs and files # from being group and world writable. Umask 022 # To prevent DoS attacks, set the maximum number of child processes # to 30. If you need to allow more than 30 concurrent connections # at once, simply increase this value. Note that this ONLY works # in standalone mode, in inetd mode you should use an inetd server # that allows you to limit maximum number of processes per service # (such as xinetd). MaxInstances30 # Set the user and group under which the server will run. Userproftpd Group proftpd Global IdentLookups off /Global # Normally, we want files to be overwriteable. Directory / AllowOverwriteon /Directory # A basic anonymous configuration, no upload directories. Anonymous ~ftp User ftp Group ftp # We want clients to be able to login with anonymous as well as ftp UserAlias anonymous ftp # Limit the maximum number of anonymous logins MaxClients10 # We want 'welcome.msg' displayed at login, and '.message' displayed # in each newly chdired directory. DisplayLogin welcome.msg DisplayFirstChdir .message # Limit WRITE everywhere in the anonymous chroot Limit WRITE DenyAll /Limit /Anonymous -- [EMAIL PROTECTED] mailing list
[gentoo-user] mounting two partitions as one directory
Hi all, is there any way I can mount two partitions (in two separate disks) as a single directory ? Regards R'twick
[gentoo-user] can I unmerge these duplicate pkgs ?
Hi I just ran qpkg --dup -v and got the following list. Is it safe to unmerge all older versions leaving just the latest version installed or will it give me any problems ? regards R'twick # qpkg --dups -vapp-text/docbook-sgml-dtd-3.0-r1app-text/docbook-sgml-dtd-3.1-r1app-text/docbook-sgml-dtd-4.1-r1app-text/docbook-sgml-dtd-4.0-r1dev-libs/glib-1.2.10-r5dev-libs/glib-2.2.1sys-libs/db-1.85-r1sys-libs/db-3.2.9-r2x11-libs/gtk+-2.2.1x11-libs/gtk+-1.2.10-r10
[gentoo-user] starting sshd while on wireless or ethernet
Hi all, I have a laptop which has a wireless as well as ethernet connection. But most of the times it is connected to net either via wireles sor ethernet. Now when I start sshd, if ethernet is not connected then it tries to start it but when ethernet fails to connect, it doesn't start sshd. I believe the net statement in /etc/init.d/sshd under depends section is what causing this. How can I set it so that sshd will start wheather I'm on wireless or ethernet ? Regards R'twick Nicoergaw
[gentoo-user] GUI for oracle ?
Hi does any one know any free or cheap gui front end thruough which I can connect to a remote oracle server and basically be able to run queries or create/modify /run procedures for oracle like SQl-Programmer or SQL Navigator on windows ? Regards R'twick