Re: [gentoo-user] (A bit OT) Gentoo on a Dell OptiPlex G1
On Sun, Jun 26, 2005 at 04:36:51PM -0400, Colin wrote Has anyone had any experience with this? Would Gentoo install and run on this machine without any problems? It looks like it will make an ideal server/NAT gateway/distcc node/rsync server/DHCP server/DNS server/wireless AP for my home network. As long as you don't try loading X/gnome/KDE you should be OK. Just to see if it could be done, I got Gentoo working on a 400 mhz PII, Dell Optiplex GX1. There was one weird setting I needed in /etc/make.conf MAKEOPTS=-j1 With the recommended -j2 setting, compiles were blowing up. Other than that, and being a bit slow, it was OK. How large is the hard drive? -- Walter Dnes [EMAIL PROTECTED] My musings on technology and security at http://tech_sec.blog.ca -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] 32 bit pci disk controller - 64 bit pci slot
On Monday 27 June 2005 10:20, Jakub Krajcovic wrote: this is not really a gentoo related question, but could someone please help me anyway? I have an HP tc2120 server, with 64 bit pci slots, and i need to know, if i can stick a 32 bit pci adaptec disk controller (SATA or IDE) into it. I am searching google just now, but i would still like to hear the answer from a real person, who knows for sure. So, if anyone out there can help me with this, i'd greatly appreciate it. thanks in advance It will. 32bit, 64bit, 33MHz, 66MHz, 100MHz, 133MHz, PCI, PCI-X are all electrically, and from a software point, the same. (PCI-e is something entirely different, BTW) The only exclusion is 3.3V and 5V, but a 3.3V only card won't fit into a 5V only slot, as 5V slots have a second key in the slot. The bus will automatically clock itself down to the lowest common denominator, so you'll get a performance hit on other cards on the same bus. -- Mike Williams pgpF7BsBKTsBe.pgp Description: PGP signature
[gentoo-user] /var/log/messages becomes bigger
I noticed that the /var/log/messages file grows. I'm using syslog-ng. Do I have to install logrotate? askar -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] /var/log/messages becomes bigger
I'm using logrotate (and logwatch), and find them both very satisfactory. You could do it manually, or via a script. There is no automatic log rotation in syslog-ng. Bill On 17:11 Mon 27 Jun , askar ... wrote: I noticed that the /var/log/messages file grows. I'm using syslog-ng. Do I have to install logrotate? askar -- gentoo-user@gentoo.org mailing list pgpnlSYdkLzvX.pgp Description: PGP signature
Re: [gentoo-user] /var/log/messages becomes bigger
Thank you for info. askar On 6/27/05, Bill Roberts [EMAIL PROTECTED] wrote: I'm using logrotate (and logwatch), and find them both very satisfactory. You could do it manually, or via a script. There is no automatic log rotation in syslog-ng. Bill On 17:11 Mon 27 Jun , askar ... wrote: I noticed that the /var/log/messages file grows. I'm using syslog-ng. Do I have to install logrotate? askar -- gentoo-user@gentoo.org mailing list -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] 32 bit pci disk controller - 64 bit pci slot
Thanks mike, this is what i needed to know. jakub gmail - the best way to share your privacy with others On jún 27, 2005, at 11:46, Mike Williams wrote: On Monday 27 June 2005 10:20, Jakub Krajcovic wrote: this is not really a gentoo related question, but could someone please help me anyway? I have an HP tc2120 server, with 64 bit pci slots, and i need to know, if i can stick a 32 bit pci adaptec disk controller (SATA or IDE) into it. I am searching google just now, but i would still like to hear the answer from a real person, who knows for sure. So, if anyone out there can help me with this, i'd greatly appreciate it. thanks in advance It will. 32bit, 64bit, 33MHz, 66MHz, 100MHz, 133MHz, PCI, PCI-X are all electrically, and from a software point, the same. (PCI-e is something entirely different, BTW) The only exclusion is 3.3V and 5V, but a 3.3V only card won't fit into a 5V only slot, as 5V slots have a second key in the slot. The bus will automatically clock itself down to the lowest common denominator, so you'll get a performance hit on other cards on the same bus. -- Mike Williams -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] grub failure or something bad about partitions
hi problem solved and it was in mbr. rewrited it and LBA is enabled in BIOS. new fdisk output: Disk /dev/hda: 30.7 GB, 30750031872 bytes 255 heads, 63 sectors/track, 3738 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/hda1 * 1295523728288+ 7 HPFS/NTFS /dev/hda229563738 6289447+ f W95 Ext'd (LBA) /dev/hda529563738 62894167 HPFS/NTFS little howto on fixing this in fedora forum: http://forums.fedoraforum.org/showthread.php?t=22751 Martins On Sunday 26 June 2005 17:44, Richard Fish wrote: Martins Steinbergs wrote: Disk /dev/hda: 30.7 GB, 30750031872 bytes 16 heads, 63 sectors/track, 59582 cylinders Units = cylinders of 1008 * 512 = 516096 bytes Device Boot Start End Blocks Id System /dev/hda1 * 1 4708023728288+ 7 HPFS/NTFS Partition 1 does not end on cylinder boundary. /dev/hda2 47096 59575 6289447+ f W95 Ext'd (LBA) Partition 2 does not end on cylinder boundary. /dev/hda5 47096 59575 62894167 HPFS/NTFS Holly covered all of the major points...I just want to add that these messages may or may not be a problem. They indicate that the windows disk was originally partitioned in 'LBA' mode, which always pretends to have 255 heads. If your BIOS is disabling LBA mode on the primary master disk, then it is possible that the windows boot loader is not able to find some block-mapped files that it needs (ntldr being the critical one). But that error would come after the point where you are currently stuck, so I don't think this is the problem currently. However, you may want to double check the BIOS settings for the PM disk and make sure that LBA is enabled. -Richard -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Cannot route dynamic dns name internally
On 6/27/05, Niklas Herder [EMAIL PROTECTED] wrote: Travis Osterman wrote: I recently switched from a linksys router to a gentoo-based system and have gotten along pretty well with it. One of the last things I have left to figure out is how to get dynamic dns name requests to the correct internal machine on my network. Here's the symptoms: my-dynamic-name.no-ip.com points to my current ip address http://my-server - works internally http://my-dynamic-name.no-ip.com - works from outside my network (through iptables) http://my-dynamic-name.no-ip.com from inside my network returns: connection was refused when attempting to contact my-dynamic-name.no-ip.com. I'm not sure whether this is an iptables issue or dns (or something else) which makes the problem hard to google for. Any leads, tips, or ideas would be much appreciated. -- Travis Osterman You could install dnsmasq and add the dynamic ip:s with their internal addresses to /etc/hosts on your DNS server. That's what I do, works like a charm. /N -- gentoo-user@gentoo.org mailing list I tried adding my-dynamic-name.no-ip.com to the /etc/hosts line that my server is on and still get the same error. This also isn't the ideal solution for me because I would like to route different protocols to different machines. Ideally, I just want all the internal traffic on its way to my-dynamic-name.no-ip.com to route through my WAN interface. -- Travis -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Cannot route dynamic dns name internally
Hi, On Sun, 26 Jun 2005 23:08:35 -0400 Travis Osterman [EMAIL PROTECTED] wrote: http://my-dynamic-name.no-ip.com from inside my network returns: connection was refused when attempting to contact my-dynamic-name.no-ip.com. I'm not sure whether this is an iptables issue or dns (or something else) which makes the problem hard to google for. Any leads, tips, or ideas would be much appreciated. 1.: routing should tend to do the short cut here and never spit out the packets on the WAN side. That's default, AFAIK. 2.: that means that iptables shouldn't block incoming packets (INPUT queue) for the WAN address coming from the LAN interface. 3.: a FORWARD rule may also be needed to allow this, I'm not sure here. You could post your iptables-save output here to allow us to give more specific hints... -hwh -- gentoo-user@gentoo.org mailing list
[gentoo-user] Re: Weirdness emerging pkgconfig
never mind. The next emerge sync cleared up whatever the problem was. On 6/24/05, Kevin O'Gorman [EMAIL PROTECTED] wrote: A new stable ebuild is refusing to emerge for security reasons: pkgconfig! Here's what it says: treat # emerge -aDvu world These are the packages that I would merge, in order: Calculating world dependencies ...done! [ebuild U ] dev-util/pkgconfig-0.17.2-r1 [0.15.0] -debug -hardened 0 kB [ebuild U ] dev-libs/glib-2.6.4 [2.6.3] -debug +doc -hardened -static 2,321 kB Total size of downloads: 2,321 kB Do you want me to merge these packages? [Yes/No] yes emerge (1 of 2) dev-util/pkgconfig-0.17.2-r1 to / !!! Security Violation: A file exists that is not in the manifest. !!! File: files/digest-pkgconfig-0.17.2 treat # ls files What's a person to do? -- Kevin O'Gorman, PhD -- Go back to the top: I almost always top-post Kevin O'Gorman, PhD -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Cannot route dynamic dns name internally
You could post your iptables-save output here to allow us to give more specific hints... -hwh -- gentoo-user@gentoo.org mailing list I cut all port forwarding rules but port 80 and all mac filtering less one and commented as such to keep the length down. Thanks again for any suggestions. -- Travis # iptables-save # Generated by iptables-save v1.2.11 on Mon Jun 27 11:15:50 2005 *nat :PREROUTING ACCEPT [216087:13609285] :POSTROUTING ACCEPT [1770:106027] :OUTPUT ACCEPT [2452:149468] # snipped other DNAT -A PREROUTING -i ppp0 -p tcp -m tcp --dport 80 -j DNAT --to-destination 192.168.1.20 -A PREROUTING -i ppp0 -p udp -m udp --dport 80 -j DNAT --to-destination 192.168.1.20 -A POSTROUTING -o ppp0 -j MASQUERADE COMMIT # Completed on Mon Jun 27 11:15:50 2005 # Generated by iptables-save v1.2.11 on Mon Jun 27 11:15:50 2005 *mangle :PREROUTING ACCEPT [9719337:5380558312] :INPUT ACCEPT [709772:240958250] :FORWARD ACCEPT [98811994:50860885137] :OUTPUT ACCEPT [217470:176831399] :POSTROUTING ACCEPT [99357297:51156775257] COMMIT # Completed on Mon Jun 27 11:15:50 2005 # Generated by iptables-save v1.2.11 on Mon Jun 27 11:15:50 2005 *filter :INPUT DROP [0:0] :FORWARD ACCEPT [0:0] :OUTPUT ACCEPT [217479:176832555] :mac_check - [0:0] -A INPUT -i lo -j ACCEPT -A INPUT -i eth1 -j ACCEPT -A INPUT -i ! eth1 -p udp -m udp --dport 67 -j REJECT --reject-with icmp-port-unreachable -A INPUT -i ! ppp0 -m state --state NEW -j ACCEPT -A INPUT -p udp -m udp --dport 123 -j ACCEPT -A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT -A INPUT -i ppp0 -p tcp -m tcp --dport 22 -j ACCEPT -A INPUT -i ! eth1 -j DROP -A FORWARD -p udp -m udp --sport 123 --dport 123 -j ACCEPT -A FORWARD -s 192.168.1.0/255.255.255.0 -i eth1 -j ACCEPT -A FORWARD -d 192.168.1.0/255.255.255.0 -i ppp0 -j ACCEPT -A OUTPUT -p udp -m udp --sport 123 -j ACCEPT -A mac_check -m mac --mac-source 00:30:BD:B2:49:80 -j ACCEPT # snipped other mac filtering -A mac_check -j DROP COMMIT # Completed on Mon Jun 27 11:15:50 2005 -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Adaptec 1210SA / 1205SA opinions
If you have a SATA controller on your motherboard (i.e., SATA connections), the I would recommend foregoing the SATA controller and just going with software RAID. If you want hardware RAID, spend the money and get 3Ware. Linux software RAID works very well. Bill Roberts On 13:49 Mon 27 Jun , Jakub Krajcovic wrote: Hi guys, i am about to buy an adaptec 1210SA fakeraid controller, or a 1205SA host controller, and 2 SATA disks at about 200GB. Could someone please recommend this, or say something against? I searched the whole net, gentoo forums, gentoo wiki, and so far it looks quite good, but i still am a bit afraid, whether or not this thing will work. (of course i am going to install gentoo on this thing :-)) thanks jakub -- gentoo-user@gentoo.org mailing list pgp8slsAoCt2a.pgp Description: PGP signature
Re: [gentoo-user] driver for 3Com 3c905 100BaseTX [Boomerang]????
Do a search in 'make menuconfig' for CONFIG_E100. That's what you want. I think they call it something like 3c950 series or something that does not match 3c905. Bill Roberts On 21:24 Mon 27 Jun , askar ... wrote: Hello! Is there anybody who knows how to make 3Com 3c905 100BaseTX [Boomerang] work. I'm using gentoo 2005.0, gentoo-sources. In the kernel there is no driver for it. Help me. askar -- gentoo-user@gentoo.org mailing list pgp8DD8yDhbkn.pgp Description: PGP signature
Re: [gentoo-user] javac emerge error
On Fri, Jun 24, 2005 at 03:56:39PM -0700, Zac Medico wrote: Matias Grana wrote: On Wed, Jun 22, 2005 at 04:29:54PM -0700, Zac Medico wrote: Matias Grana wrote: hi; As a result of an 'emerge -uD world', I've run across this error while emerging gnu-classpath. -- Unpacking source... Unpacking classpath-0.14.tar.gz to /var/tmp/portage/gnu-classpath-0.14/work Source unpacked. [ snip ] checking for gcj... no checking for jikes... no checking for kJC... no checking for gcjx... no checking for ecj... no configure: cannot find javac, try --with-gcj, --with-jikes, --with-kjc, or --with-gcjx !!! Please attach the config.log to your bug report: !!! /var/tmp/portage/gnu-classpath-0.14/work/classpath-0.14/config.log !!! ERROR: dev-java/gnu-classpath-0.14 failed. !!! Function econf, Line 485, Exitcode 0 !!! econf failed !!! If you need support, post the topmost build error, NOT this status message. -- The file /var/tmp/portage/gnu-classpath-0.14/work/classpath-0.14/config.log is too large to send it to the list (of course, I can send it if needed). Where should I look for a hint? TIA, Matias You need a java compiler. If you have a jdk like blackdown-jdk or sun-jdk then you can use java-config to choose which one you want. You can emerge jikes to get just a compiler. For gcj, you need to remerge gcc with USE=gcj enabled. Almost any one of these compilers should work. Zac -- gentoo-user@gentoo.org mailing list But I already had blackdown-jdk: mati(rojo)~$ java-config -c /opt/blackdown-jdk-1.4.2.02/bin/javac mati(rojo)~$ java-config -j /opt/blackdown-jdk-1.4.2.02/bin/jar mati(rojo)~$ java-config -O /opt/blackdown-jdk-1.4.2.02 mati(rojo)~$ java-config -o Except that it seems I don't have a JRE configured. Might this be the problem? I have blackdown-jre-1.4.2.01 emerged, but it doesn't appear at the java-config -o command. Thanks for the answer, Zac, Matias The jre isn't useful because it doesn't have the javac compiler. You should only have to run these commands: java-config -S blackdown-jdk-1.4.2.02 source /etc/profile After that, you should have /opt/blackdown-jdk-1.4.2.02/bin in your PATH. which javac /opt/blackdown-jdk-1.4.2.02/bin/javac Zac When I tried $ java-config -S blackdown-jdk-1.4.2.02 I got this error: Cannot find JAVA_HOME in config file /etc/env.d/java/22javacc So I copied the JAVA_HOME line from /etc/env.d/java/20blackdown-jdk-1.4.2.02 and could do the 'java-config -S'. But I still get the same problem when emerging world! Afterwards, I tried changing the JAVA_HOME line by other things (and doing env-update source /etc/profile accordingly), but things don't improve. BTW: I already have /opt/blackdown-jdk-1.4.2.02/bin in my PATH, it doesn't help either. Any clues? Thanks a lot anyway. Matías -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] driver for 3Com 3c905 100BaseTX [Boomerang]????
Bill Roberts wrote: Do a search in 'make menuconfig' for CONFIG_E100. That's what you want. I think they call it something like 3c950 series or something that does not match 3c905. The card comes under Device Drivers - Networking Support - Ethernet (10 or 100Mbit) - 3Com Cards - 3c590/3c900 series (592/595/597) Vortex/Boomerang support It works fine, my old server had 2 of those cards in. Bill Roberts On 21:24 Mon 27 Jun , askar ... wrote: Hello! Is there anybody who knows how to make 3Com 3c905 100BaseTX [Boomerang] work. I'm using gentoo 2005.0, gentoo-sources. In the kernel there is no driver for it. Help me. askar -- gentoo-user@gentoo.org mailing list -- Tim Igoe [EMAIL PROTECTED] http://tim.igoe.me.uk - Personal Site http://tv.igoe.me.uk - UK TV Guide Computers are like Air-con, open windows and they stop working! signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] Alternatives to xdm/gdm?
On 6/21/05, Matthew Cline [EMAIL PROTECTED] wrote: On 6/21/05, Mark Knecht [EMAIL PROTECTED] wrote: On my systems, since they are frontend only, this might work but I don't know how to do it. Can someone point out basically how to try? Also, what user account would be used if mythfrontend was started this way? Maybe that will be apparent when I get a clue about how to do this. Here's the format of the /etc/inittab on my system: # TERMINALS c1:12345:respawn:/sbin/agetty 38400 tty1 linux So try changing it to something like this: c1:12345:respawn:su mythuser -c startx with 'mythuser' being the username you want to run mythfrontend and 'startx' replaced by whatever script or program you want. If X is exited for killed for some reason, then init should respawn it again. Of course, you should also read man inittab for more info. HTH, Matt Thnaks Matt. That seems to have worked without modification. Cheers, Mark -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] qmail-r16 is sending mails to [EMAIL PROTECTED]
Hi Yousef, First thing qmail-1.03-r16 *is* masked (testing in my profile at least) -r15 is the stable version. Maybe (if possible, don't need something from -r16) you should try -r15 first. Now checking and saw there are 24 patches against vanilla qmail-1.03 in -r15 and 28 patches for -r16. You could check them in /var/portage/mail-mta/qmail/qmail-1.03-r1x.ebuild (there are only two 15,16). Also could change/remove some patches by commenting them in an ebuild copy in an overlay dir. As you are already using qmail check and use only these patches which you need. More one point, i like the way gentoo builds/uses qmail, but most ML (qmail-list) require to install it by following LifeWithQmail so as there are some differences you could have problems later. Can't help you more as i use qmail as personal mail-server and don't use much of it's power, a pity. PS: suggest you stop top-posting as it's not very appreciated with this list ;) HTH. Rumen Yousef Raffah wrote: Thanks Rumen for your reply but I had a previous experience with qmail and I read lots of documents on qmail with Gentoo. However, I'm facing an issue with qmail-1.03-r16 after I created the aliases for root, postmasert and mailer-daemon based on (http://www.gentoo.org/doc/en/qmail-howto.xml). Now when I try to send an E-mail to root for example, it is delivering it to the correct alias mailbox but with a failure message about bouncing bounces. Note that I used the USE=logmail flag while emerging this ebuild and I think this is generating the [EMAIL PROTECTED] e-mails...Any idea what is the exact use of this USE flag? is it important? How can I know what is the use of it? Thanks in advance... Sincerely, Yousef Raffah On 6/26/05, Rumen Yotov [EMAIL PROTECTED] wrote: Yousef Raffah wrote: Humm This is my second qmail installation on gentoo, the first one was perfect but this one seems quite different. In this installation I used qmail-r16 and started configuring it based on (http://www.gentoo.org/doc/en/qmail-howto.xml). I stopped at the point where I configured the aliases then send mails to those aliases. By the time I checked my inbox, where I'm suppose to receive three messages, I got about 12 messages, in which , some are bouncing bounces stating that the user [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] doesn't exist or do not have a mailbox! Why is qmail trying to send to [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]? I sent to [EMAIL PROTECTED] mailto:[EMAIL PROTECTED], [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] and [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] only! Thanks in advance for any help... -- -BEGIN GEEK CODE BLOCK- Version: 3.12 GIT d- s: a- C++ UL+++ P L+++ E- W+++ N o-- K- w-- O-- M+ V- PS PE+ Y+ PGP++ t 5 X R- tv-- b+ DI- D+ G e++ h--- r+++ y+++ --END GEEK CODE BLOCK-- Hi, This answer is a little bit by memory only, but true IMHO/experience. Go to http://cr.yp.to/qmail.html (original site, a bit outdated now), www.netqmail.org or qmail.org. There are much docs there, or better search/google for QmailOnGentoo.txt document, it's very good (-r13). In qmail no mail is sent to root - it's always sent to some other account - see the docs in sites above. The setup is done in /var/qmail/alias dir using .qmail-account_name (ex. .qmail-root) in which you put a user account (existing) which gets the [EMAIL PROTECTED] mail. Then in this users .maildir directory you get root mails. As far as i know, one major difference in qmail-1.03-r15 vs qmail-1.03-r13 is changed place for /etc/tcp.smtp* to /etc/tcprules.d/qmail-tcp.smtp* plus some new patches (breaks parts of qmailctl script). Now (in -r15) there are more then 20 patches (this against vanilla qmail-1.03). HTH. Rumen smime.p7s Description: S/MIME Cryptographic Signature
[gentoo-user] gcc 4 and 3.4 in parallel
Hi, I'd like to use gcc 4 to compile some of my own software but still use 3.4 for everything else (all ebuilds etc). Now I simply emerged gcc4 (its slotted) and then as my user I did export the variables a gcc-config -E x86_64-pc-linux-gnu-4.0.1-pre20050616 printed out. This way I successfully compiled and linked my programm with gcc4. Now my problem is that I can't execute it. If I give it a try I'm getting this error: [EMAIL PROTECTED] ~/ $ ./foo ./foo: /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/libstdc++.so.6: version `GLIBCXX_3.4.4' not found (required by ./foo) This is strange since for one its still using something from the 3.4.3 profile and also I've just upgraded (with the gcc upgrade) to glibc 3.5. If I switch my profile with gcc-config to the gcc4 profile everything works. So my querstion now is what else gets changed by gcc-config, and is there a chance to have the 3.4 gcc profile selected but still run programs compiled with gcc 4? kind regards Philip -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Cannot route dynamic dns name internally
On 6/27/05, Hans-Werner Hilse [EMAIL PROTECTED] wrote: Hi, On Mon, 27 Jun 2005 11:20:53 -0400 Travis Osterman [EMAIL PROTECTED] wrote: I cut all port forwarding rules but port 80 and all mac filtering less one and commented as such to keep the length down. Thanks again for any suggestions. I'll comment below... *nat # [...] # snipped other DNAT -A PREROUTING -i ppp0 -p tcp -m tcp --dport 80 -j DNAT --to-destination 192.168.1.20 -A PREROUTING -i ppp0 -p udp -m udp --dport 80 -j DNAT --to-destination 192.168.1.20 Never heard of http-via-udp... But the problem will show up here: The PREROUTING should apply also for packets coming from eth1 (LAN). Otherwise they'll hit the router's own tcp stack - where there's supposedly no http and such the connection would be resetted. The problem atm seems to be, pointed out: 1. both external clients and internal clients can correctly resolve http://my-dynamic-name.no-ip.com to the ppp0's IP. 2.a. external clients' requests hit the router coming from ppp0 2.b. internal clients' requests hit the router coming from eth1 3. nat/PREROUTING: 3.a. The packets from 2.a. get rewritten to dst 192.168.1.20 3.b. The other ones don't get rewritten 4. Routing is performed (filter/FORWARD, nat/POSTROUTING): 4.a. The packets from 2.a. will get routed to 192.168.1.20 and leave the router if allowed by nat/OUTPUT. (it is) WWW server does its job then. 4.b. The packets from 2.b. will hit the router's tcp stack if allowed by filter/INPUT (it is). They'll get RSTed if there's no open port 80. Well, and we have some more problems. Your actual POSTROUTING chain only MASQUERADEs packets leaving through ppp0. With this, and the new rules, www packets from the LAN would get destination rewritten on the router and being routed there. The source address will still be set to the original source address. So the router would answer to that address. Problem here is the client: It expects an answer from the router's IP. So the web server's reply gets dropped at the client. To overcome this, you can setup routing on the web server to generally send packets via the router. I'd suggest placing it in a different subnet, e.g. 192.168.3./24, and have the router use an address in that range to. A little of a DMZ on the LAN wire (not suggested, but not different from you current solution). To-Do: - on the webserver: configure address to 192.168.3.20 - on the router: - configure a second address for eth1 in /etc/conf.d/net (192.168.3.1 assumed here) - modify iptables settings: You need to insert a new rule like the ones above but also for -i eth1. You'll further need to specify -d EXTERNAL_IP (well, of course with that IP instead) to not get all connections to a www port rewritten to that destination. I'd suggest using a new chain for this that you can flush in a script and just place a new rule there if the IP changes. e.g. global skript on boot up: iptables -t nat -A PREROUTING -i ppp0 -p tcp -m tcp --dport 80 -j DNAT --to-destination 192.168.3.20 iptables -t nat -N internalwww iptables -t nat -A PREROUTING -i eth1 -p tcp -m tcp --dport 80 -j internalwww and e.g. in your dhcp-script: iptables -t nat -F internalwww iptables -t nat -A internalwww -d $EXTERNAL_IP -j DNAT --to-destination 192.168.3.20 -hwh -- gentoo-user@gentoo.org mailing list I had to read your reply about seven times until I could really grasp everything you were saying. My only concern is that while this will work for my web server, it appears as though I would have to put all my service-providing machines on different subnets and have rules for each of them ... am I understanding that correctly? Also, sadly, my webserver is doubling as a samba server right now and I'm not overly optimistic that windows will see it on the different subnet. Is there a way to check and see is local traffic is (terminally) destined for ppp0 and set up a chain to filter by port and reroute that traffic to the appropriate lan computer? Could dnsmasq point my-dynamic-name.no-ip.com to the address of eth1 instead of ppp0 to make the routing easier (bypassing NAT)? I'm still really green at network design issues, but this is a fasinating problem to me. Thanks for your input so far. -- Travis -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] driver for 3Com 3c905 100BaseTX [Boomerang]????
Thanks. I will check it out. askar On 6/27/05, Bill Roberts [EMAIL PROTECTED] wrote: Do a search in 'make menuconfig' for CONFIG_E100. That's what you want. I think they call it something like 3c950 series or something that does not match 3c905. Bill Roberts On 21:24 Mon 27 Jun , askar ... wrote: Hello! Is there anybody who knows how to make 3Com 3c905 100BaseTX [Boomerang] work. I'm using gentoo 2005.0, gentoo-sources. In the kernel there is no driver for it. Help me. askar -- gentoo-user@gentoo.org mailing list -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] gcc 4 and 3.4 in parallel
Hi, On Mon, 27 Jun 2005 19:01:01 +0200 Philip Lawatsch [EMAIL PROTECTED] wrote: Now I simply emerged gcc4 (its slotted) and then as my user I did export the variables a gcc-config -E x86_64-pc-linux-gnu-4.0.1-pre20050616 printed out. This way I successfully compiled and linked my programm with gcc4. Now my problem is that I can't execute it. [...] So my querstion now is what else gets changed by gcc-config, and is there a chance to have the 3.4 gcc profile selected but still run programs compiled with gcc 4? LDPATH. Have a look at /etc/env.d/05gcc. -hwh -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] driver for 3Com 3c905 100BaseTX [Boomerang]????
On Mon, 27 Jun 2005, askar ... wrote: I tried this one. It didn't work. Can you run lspci and show us the output? askar The card comes under Device Drivers - Networking Support - Ethernet (10 or 100Mbit) - 3Com Cards - 3c590/3c900 series (592/595/597) Vortex/Boomerang support It works fine, my old server had 2 of those cards in. Bill Roberts On 21:24 Mon 27 Jun , askar ... wrote: Hello! Is there anybody who knows how to make 3Com 3c905 100BaseTX [Boomerang] work. I'm using gentoo 2005.0, gentoo-sources. In the kernel there is no driver for it. Help me. askar -- gentoo-user@gentoo.org mailing list -- Tim Igoe [EMAIL PROTECTED] http://tim.igoe.me.uk - Personal Site http://tv.igoe.me.uk - UK TV Guide Computers are like Air-con, open windows and they stop working! -- RTFAQ /R-T-F-A-Q/ imp. [Usenet: primarily written, by analogy with RTFM] Abbrev. for `Read the FAQ!', an exhortation that the person addressed ought to read the newsgroup's FAQ list before posting questions. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Cannot route dynamic dns name internally
Hi, On Mon, 27 Jun 2005 13:09:44 -0400 Travis Osterman [EMAIL PROTECTED] wrote: My only concern is that while this will work for my web server, it appears as though I would have to put all my service-providing machines on different subnets and have rules for each of them ... am I understanding that correctly? Hm, depends on the service. But I think fairly all could be placed in the same DMZ subnet. Only DNS-dependent access between the machines in the DMZ using the external DNS name wouldn't work. But clean design of the services should not allow to let such a situation arise. Also, sadly, my webserver is doubling as a samba server right now and I'm not overly optimistic that windows will see it on the different subnet. OK, i agree. Probably setting up two networks on the webserver as well could easily solve this. I tend to now call our DMZ just virtual other subnet as there's no clear rule between them. so we have three networks: - WAN (ppp0) - LAN (eth1/192.168.1.x) - virtual other subnet (eth1/192.168.3.x) where the last share the medium. The webserver/samba machine should listen on 192.168.3.x for webserver requests and should serve Samba on the 192.168.1.x address. But it would work if both services listen on both addresses as well. Is there a way to check and see is local traffic is (terminally) destined for ppp0 and set up a chain to filter by port and reroute that traffic to the appropriate lan computer? Hm, local traffic destined for ppp0 would show up on nat/POSTROUTING. Could dnsmasq point my-dynamic-name.no-ip.com to the address of eth1 instead of ppp0 to make the routing easier (bypassing NAT)? Yes, of course. dnsmasq could answer with the _real_ IP address of the webserver. But if all services are to be distributed from the router to various other machines instead of (in the LAN) their real IPs, that wouldn't work as only one IP address can be answered by dnsmasq for one specific domain name. That's actually the problem's core (translated freely from German). You want to separate the traffic from the virtual service provider identified by the domain name transparently to other machines. So you will not only have to provide the way to the real machines hidden behind the router but also the way back. With the iptables approach only, the packets would even be sent back to the requesting machines. But there they wont (probably, maybe another network pro could be more clear on this? But I think we've lost most of the readers down here;-) ) be recognized as correct answers, I think, and such being dropped (because the request was made to $Router_Machine and the answer comes back from $Real_Service). Another possibility would be to setup proxy servers on the Router. But that scales far worser with the number of services. OTOH, this is needed if the service itself is not routable. I'm still really green at network design issues, but this is a fasinating problem to me. Thanks for your input so far. Well, it also is to me. Never thought that much on such issues before. Actually, the approach via routing to a virtual other subnet came to my mind when I finished a reply using only one additional rule in iptables. Only then I thought about the answers from the servers. -hwh -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] gcc 4 and 3.4 in parallel
Philip Lawatsch wrote: So my querstion now is what else gets changed by gcc-config, and is there a chance to have the 3.4 gcc profile selected but still run programs compiled with gcc 4? I haven't verified this (try switching configs back and forth to verify), but I believe the problem is in /etc/ld.so.conf. This file tells the dynamic linker what directories to search for a library. You can do one of two things: 1. Export LD_LIBRARY_PATH to point to the directory where the gcc4 stdc++ library is 2. Add the same directory to /etc/ld.so.conf. The problem with #2 is that I am pretty sure that if you switch gcc-configs too many times, you will end up removing your edits. -Richard -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] gcc 4 and 3.4 in parallel
Luigi Pinna wrote: Have you run the script fix_libtool_files.sh? After a gcc emerge (if it removes an old version) you must use always the command: No, this is only to fix _building_ programs that use libtool, not for run-time dynamic linking issues. -Richard -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] gcc 4 and 3.4 in parallel
Richard Fish wrote: Philip Lawatsch wrote: So my querstion now is what else gets changed by gcc-config, and is there a chance to have the 3.4 gcc profile selected but still run programs compiled with gcc 4? I haven't verified this (try switching configs back and forth to verify), but I believe the problem is in /etc/ld.so.conf. This file tells the dynamic linker what directories to search for a library. You can do one of two things: 1. Export LD_LIBRARY_PATH to point to the directory where the gcc4 stdc++ library is 2. Add the same directory to /etc/ld.so.conf. The problem with #2 is that I am pretty sure that if you switch gcc-configs too many times, you will end up removing your edits. The real problem is not ld.so.conf but that the lib dirs of the selected gcc-profile are first in the list and that the others come later. Now when I manually set ld_library_path as you suggested it works fine. Thanks a bunch! kind regards Philip -- gentoo-user@gentoo.org mailing list
[gentoo-user] OT? Gnome no bzip2 utility
I am starting to play with Gnome, I am trying to install some more icons, I drag my icon file to 'Theme Preferences', it downloads then reports ... Can not install theme. The bzip2 utility is not installed bash-2.05b$ emerge -p bzip2 These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild R ] app-arch/bzip2-1.0.3 bash-2.05b$ So it is there. I have tried comming out and then back into Gnome but with the same result. Any ideas ? Dave -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] OT? Gnome no bzip2 utility
Dave S schreef: I am starting to play with Gnome, I am trying to install some more icons, I drag my icon file to 'Theme Preferences', it downloads then reports ... Can not install theme. The bzip2 utility is not installed bash-2.05b$ emerge -p bzip2 These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild R ] app-arch/bzip2-1.0.3 bash-2.05b$ So it is there. I have tried comming out and then back into Gnome but with the same result. Any ideas ? Dave Where did you get the icon theme from? Have you looked inside the archive? Some themes available on kde-look.org and (less often) art.gnome.org or gnome-look.org need to be compiled first (they're actually source tarballs rather than gnome-installable themes). Plus it would be useful to know if the archive is actually openable in the first place-- and by what program, so open it and look inside to see what's there. Weird error, though-- even for a theme. Holly -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Adaptec 1210SA / 1205SA opinions
Ok, i ditched the whole 12xx thing, and bought a REAL raid controller, the adaptec 2410SA, because i learned that i have a much bigger budget than i previously thought gmail - the best way to share your privacy with others On jún 27, 2005, at 17:25, Bill Roberts wrote: If you have a SATA controller on your motherboard (i.e., SATA connections), the I would recommend foregoing the SATA controller and just going with software RAID. If you want hardware RAID, spend the money and get 3Ware. Linux software RAID works very well. Bill Roberts On 13:49 Mon 27 Jun , Jakub Krajcovic wrote: Hi guys, i am about to buy an adaptec 1210SA fakeraid controller, or a 1205SA host controller, and 2 SATA disks at about 200GB. Could someone please recommend this, or say something against? I searched the whole net, gentoo forums, gentoo wiki, and so far it looks quite good, but i still am a bit afraid, whether or not this thing will work. (of course i am going to install gentoo on this thing :-)) thanks jakub -- gentoo-user@gentoo.org mailing list -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] OT? Gnome no bzip2 utility
Dave S schreef: Holly Bostick wrote: snip cd to the directory bash-2.05b$ ls 36x36 README index.theme makePngFromSvg.sh scalable bash-2.05b$ cat README This is a mostly complete svg icon set based on SGI's Indigo Magic Desktop. snip Some themes available on kde-look.org and (less often) art.gnome.org or gnome-look.org need to be compiled first (they're actually source tarballs rather than gnome-installable themes). I did not know that, but the README does not suggest compiling there is no make file I understand that--- but that script makePngFromSvg.sh must be in there for some reason, mustn't it? If you didn't have to convert the .svg files, why would you need it? Because you were maybe still using GNOME 2.4? Yeah, right. Well, OK, it's possible that the theme has been around for a long time, from before GNOME fully supported SVG. I take it back. Anyway, why don't you just make a folder in your ~/.themes folder, with the name of the theme, and drag the 36x36, index.theme, and scalable items into it. That's all the theme manager does anyway. Alternatively, open a file manager or file-roller as root, and extract the same files to a theme_name folder in /usr/share/icons, which is where the theme would be installed if it was installed as part of the system. One of those two is probably a better idea anyway; the theme manager can be kind of a bear and doesn't usually work well for me anyway. HTH, Holly -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Disk Backup From One Machine To Another
Timo Boettcher wrote: Hi David, I would be very interested in this. Timo Timo (and everyone else) I've posted that script so you can use it, added some documentation. It's available here: http://www.edoceo.com/creo/remote-host-secure-backup.php /djb -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] javac emerge error
Matias Grana wrote: On Fri, Jun 24, 2005 at 03:56:39PM -0700, Zac Medico wrote: Matias Grana wrote: On Wed, Jun 22, 2005 at 04:29:54PM -0700, Zac Medico wrote: Matias Grana wrote: hi; As a result of an 'emerge -uD world', I've run across this error while emerging gnu-classpath. -- Unpacking source... Unpacking classpath-0.14.tar.gz to /var/tmp/portage/gnu-classpath-0.14/work Source unpacked. [ snip ] checking for gcj... no checking for jikes... no checking for kJC... no checking for gcjx... no checking for ecj... no configure: cannot find javac, try --with-gcj, --with-jikes, --with-kjc, or --with-gcjx !!! Please attach the config.log to your bug report: !!! /var/tmp/portage/gnu-classpath-0.14/work/classpath-0.14/config.log !!! ERROR: dev-java/gnu-classpath-0.14 failed. !!! Function econf, Line 485, Exitcode 0 !!! econf failed !!! If you need support, post the topmost build error, NOT this status message. -- The file /var/tmp/portage/gnu-classpath-0.14/work/classpath-0.14/config.log is too large to send it to the list (of course, I can send it if needed). Where should I look for a hint? TIA, Matias You need a java compiler. If you have a jdk like blackdown-jdk or sun-jdk then you can use java-config to choose which one you want. You can emerge jikes to get just a compiler. For gcj, you need to remerge gcc with USE=gcj enabled. Almost any one of these compilers should work. Zac -- gentoo-user@gentoo.org mailing list But I already had blackdown-jdk: mati(rojo)~$ java-config -c /opt/blackdown-jdk-1.4.2.02/bin/javac mati(rojo)~$ java-config -j /opt/blackdown-jdk-1.4.2.02/bin/jar mati(rojo)~$ java-config -O /opt/blackdown-jdk-1.4.2.02 mati(rojo)~$ java-config -o Except that it seems I don't have a JRE configured. Might this be the problem? I have blackdown-jre-1.4.2.01 emerged, but it doesn't appear at the java-config -o command. Thanks for the answer, Zac, Matias The jre isn't useful because it doesn't have the javac compiler. You should only have to run these commands: java-config -S blackdown-jdk-1.4.2.02 source /etc/profile After that, you should have /opt/blackdown-jdk-1.4.2.02/bin in your PATH. which javac /opt/blackdown-jdk-1.4.2.02/bin/javac Zac When I tried $ java-config -S blackdown-jdk-1.4.2.02 I got this error: Cannot find JAVA_HOME in config file /etc/env.d/java/22javacc So I copied the JAVA_HOME line from /etc/env.d/java/20blackdown-jdk-1.4.2.02 and could do the 'java-config -S'. But I still get the same problem when emerging world! Afterwards, I tried changing the JAVA_HOME line by other things (and doing env-update source /etc/profile accordingly), but things don't improve. BTW: I already have /opt/blackdown-jdk-1.4.2.02/bin in my PATH, it doesn't help either. Any clues? Thanks a lot anyway. Matías I think you can safely ignore that message about javacc. That shouldn't affect your blackdown-jdk. If java-config is working properly then all the variables from /etc/env.d/java/20blackdown-jdk-1.4.2.02 should be copied to /etc/env.d/20java and /etc/profile.env. The most important thing is that javac is in your search PATH. When you run which javac it should tell you /opt/blackdown-jdk-1.4.2.02/bin/javac and you should be able to run javac from the shell. Can you? If not then something is wrong with your PATH. Zac -- gentoo-user@gentoo.org mailing list
[gentoo-user] mldonkey previewer
I'm running mldonkey on a remote machine, to administrate it i use the web interface and also kmldonkey. I would like to know how can i preview partial donwloaded files. Someone knows how to do it? thanks in advanced. Currently i'm following those links: http://mldonkey.berlios.de/modules.php?name=Wikipagename=previewer http://mldonkey.berlios.de/modules.php?name=Wikipagename=mldonkey_previewer http://mldonkey.berlios.de/modules.php?name=Wikipagename=PreviewDownload I think mplayer or videolan must be installed on the server, but also can work with mplayer on the client side or maybe with mplayerplug-in, that's tight? someone is using previewer in mldonkey? -- Cualquier hijo de puta sabe lo que darte si tiene que dolerte, pero no cualquier hijo de puta saber lo que darte si tiene que gustarte. Yo soy sIbOk un hijo puta especial...!! -- gentoo-user@gentoo.org mailing list
[gentoo-user] mldonkey previewer
I'm running mldonkey on a remote machine, to administrate it i use the web interface and also kmldonkey. I would like to know how can i preview partial donwloaded files. Someone knows how to do it? thanks in advanced. Currently i'm following those links: http://mldonkey.berlios.de/modules.php?name=Wikipagename=previewer http://mldonkey.berlios.de/modules.php?name=Wikipagename=mldonkey_previewer http://mldonkey.berlios.de/modules.php?name=Wikipagename=PreviewDownload I think mplayer or videolan must be installed on the server, but also can work with mplayer on the client side or maybe with mplayerplug-in, that's tight? someone is using previewer in mldonkey? -- Cualquier hijo de puta sabe lo que darte si tiene que dolerte, pero no cualquier hijo de puta saber lo que darte si tiene que gustarte. Yo soy sIbOk un hijo puta especial...!! -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] (A bit OT) Gentoo on a Dell OptiPlex G1
Walter Dnes wrote: On Sun, Jun 26, 2005 at 04:36:51PM -0400, Colin wrote Has anyone had any experience with this? Would Gentoo install and run on this machine without any problems? It looks like it will make an ideal server/NAT gateway/distcc node/rsync server/DHCP server/DNS server/wireless AP for my home network. As long as you don't try loading X/gnome/KDE you should be OK. Just to see if it could be done, I got Gentoo working on a 400 mhz PII, Dell Optiplex GX1. There was one weird setting I needed in /etc/make.conf MAKEOPTS=-j1 With the recommended -j2 setting, compiles were blowing up. Other than that, and being a bit slow, it was OK. How large is the hard drive? I'm not loading any DE's, just the basic server stuff like OpenSSH, Squid, iptables, dhcpd, dnsmasq, ProFTPd, rsync, distcc, Samba, hardened-sources, etc. This is still in the planning stages. I've read through the Home Server HOWTO on the Gentoo Wiki site, that's where I got this great idea. Taking a guess here: CHOST=i686-pc-linux-gnu CFLAGS=-O2 -march=pentium3 -pipe -fomit-frame-pointer -fstack-protector CPU: Undecided, some flavor of Pentium III RAM: 256 MB Storage: 700 MB IDE (/boot, something else) Storage: 18.2 GB Ultra160 SCSI (on a Series 428 MegaRAID) OS: Windows NT Server... kidding! Gentoo! -- Colin -- gentoo-user@gentoo.org mailing list
[gentoo-user] Install Situation
Hello All, Yesterday, I started my first attempt at installing Gentoo. This was a practice run on a test computer prior to installing on my regular computer. I let the kernel build run overnight and consequently was not able to finish the install before going to work today. Everything was fine. I did couple more steps as outlined in the Handbook when I was home at lunch. I left the computer on because I wasn't finished the install and sometime this afternoon, there was a power blip and the computer rebooted. Of course, my installation CD (Universal) was in the CD drive so, I'm back at the livecd root # prompt. How do I continue from where I left off or do I have to start all over again? Regards, Colleen -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Install Situation
C.Beamer wrote: Hello All, Yesterday, I started my first attempt at installing Gentoo. This was a practice run on a test computer prior to installing on my regular computer. I let the kernel build run overnight and consequently was not able to finish the install before going to work today. Everything was fine. I did couple more steps as outlined in the Handbook when I was home at lunch. I left the computer on because I wasn't finished the install and sometime this afternoon, there was a power blip and the computer rebooted. Of course, my installation CD (Universal) was in the CD drive so, I'm back at the livecd root # prompt. How do I continue from where I left off or do I have to start all over again? I would gather that you are in a pre-bootable stage? Did you emerge lilo or grub yet? All you will need to do at this point then is to mount your filesystems and then chroot like it says in the handbook. Then you should be ready to continue where you left off. -- Noah Roberts St. Martin's University Information Technology Services 486-8814 -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Impress Templates
Justin Hart wrote: Hey, Is there an ebuild out there with a number of impress templates therein? It would seem as though I only have 2 templates to choose from when developing an impress presentation. emerge ooextras Zac -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Impress Templates
Awesome. Justin On 6/27/05, Zac Medico [EMAIL PROTECTED] wrote: Justin Hart wrote: Hey, Is there an ebuild out there with a number of impress templates therein? It would seem as though I only have 2 templates to choose from when developing an impress presentation. emerge ooextras Zac -- gentoo-user@gentoo.org mailing list -- Justin W. Hart -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Adaptec 1210SA / 1205SA opinions
Jakub Krajcovic wrote: i am about to buy an adaptec 1210SA fakeraid controller, or a 1205SA host controller, and 2 SATA disks at about 200GB. Could someone please recommend this, or say something against? I haven't had any problems with my 1205SA. But, I'm only using one channel with a 200GB. I can't say anything about the 1210SA, though. I could tell the difference over my old IDE drive immediately. -- Boyd Stephen Smith Jr. [EMAIL PROTECTED] -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] [OT] Portable Music Player
On Mon, 27 Jun 2005 15:22:34 -0400 Boyd Stephen Smith Jr. [EMAIL PROTECTED] wrote: I'm looking to buy a portable music player, but I'm not sure what to get, so I'm polling for recommendations. Ogg/Vorbis support is a *requirement*, as is a Linux interface to the device. I've used a Neuros, V1, in the past for a few years and it's worked fine until the battery recharge circuitry ate itself. The hard drive is now in one of my Gentoo systems as a system drive. (Definition - after multiple firmware upgrades, it finally started working fine last year.) Downside of the V1 was that it's audio output was pretty crappy by my standards. The V2 and the new model coming out this fall, I can't comment on. I now use an iRiver IFP-999 with the ifp-line driver (it's emergable) and the ifpmanager, a perl script - http://ifp-manager.sourceforge.net/ I'd prefer to be able to simply mount it as a USB device, but as long as I can add/remove/view the contents of the player from Linux it'll be fine. A GPL/BSD firmware and/or Linux interface is a plus. The iriver doesn't act like a USB storage device, but it's easy enough to deal with. Beware, that not all iRiver products support Ogg/Vorbis. Check the specs. I'm not set on hard drive or flash based so feel free to recommend on either or both. Downside to hard drives - fragile, suck power, physically larger, will die sooner. Downside to flash - limited to 1 GB, at the moment, for reasonable costs. (Note, the 1 GB iRiver I bought was actually significantly less at iRiver's online store then their suggested list on their main web site - check the real prices.) Upside of hard drive - Was able to load up all 13 GB of music. For me, 1 GB of Ogg files on the iRiver is approx 120 songs. Upside of flash drive - Really small, lightweight, rugged, and easy to carry. Audio quality of this particular iRiver is very, very good when used with good headphones - the included ear buds suck. Sharp Zaurus - Audio quality out of the C860 or C3000 is outstanding. A bit tricky on the C3000 to get a player to play Ogg files, much easier on the 5600 or C860 - theKompany's $20 music player works ok. Music can be stored on SD or CF and moved in and out. USB network support is outstanding, while sync support still sucks on Linux. Downside is the Sharp's a a bit bulky, but they do include a keyboard and full computer functionality. Bob -- - Are you living in the real world? - -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] [OT] Portable Music Player
On Mon, 27 Jun 2005 15:22:34 -0400, Boyd Stephen Smith Jr. wrote: I'm looking to buy a portable music player, but I'm not sure what to get, so I'm polling for recommendations. Ogg/Vorbis support is a *requirement*, as is a Linux interface to the device. I'd prefer to be able to simply mount it as a USB device, but as long as I can add/remove/view the contents of the player from Linux it'll be fine. A GPL/BSD firmware and/or Linux interface is a plus. I use an iRiver H320, hard drive player. It plays Ogg Vorbis and mounts as a standard USB storage device. There is a Linux program to create playlists for it, but I haven't tried that yet. -- Neil Bothwick If it's tourist season, why can't we shoot them? pgpqBesPt2cfA.pgp Description: PGP signature
[gentoo-user] compile probs in general (tightvnc in particular)
Hi All, Im having trouble emerging tightvnc, I'm running a 2005.0 stage 3 system this is the error im getting: gcc-config error: Could not run/locate i386-pc-linux-gnu-gcc make[2]: *** [vncauth.o] Error 1 make[2]: Leaving directory `/var/tmp/portage/tightvnc-1.3_alpha5/work/vnc_unixsrc/libvncauth' make[1]: *** [all] Error 2 make[1]: Leaving directory `/var/tmp/portage/tightvnc-1.3_alpha5/work/vnc_unixsrc' make: *** [World] Error 2 If anyone could suggest a cause for this i would be greatfull, as a lot of other software i have been trying to install has been failing to compile and im starting to think it could all be related. tia, James -- Oh yeah, can you find your way, show me the way to come. Zugzwang got me in a way, under my opposing thumb. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] compile probs in general (tightvnc in particular)
James Ferguson wrote: Hi All, Im having trouble emerging tightvnc, I'm running a 2005.0 stage 3 system this is the error im getting: gcc-config error: Could not run/locate i386-pc-linux-gnu-gcc make[2]: *** [vncauth.o] Error 1 make[2]: Leaving directory `/var/tmp/portage/tightvnc-1.3_alpha5/work/vnc_unixsrc/libvncauth' make[1]: *** [all] Error 2 make[1]: Leaving directory `/var/tmp/portage/tightvnc-1.3_alpha5/work/vnc_unixsrc' make: *** [World] Error 2 If anyone could suggest a cause for this i would be greatfull, as a lot of other software i have been trying to install has been failing to compile and im starting to think it could all be related. I had the same problem while bootstrapping. After the bootstrap failed, I just ran gcc-config to switch to i686-pc-linux-gnu-gcc-3.3.5, and continued the bootstrap where I left off.. Use gcc-config and select a new compiler. Then env-update; source /etc/profile and emerge again. -- Colin -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] BaseLayout Shutdown not working
On 6/27/05, Peter Karlsson [EMAIL PROTECTED] wrote: On Sun, 26 Jun 2005, Robert Robinson wrote: Well, I don't even have that installed, and don't eremember ever having to install it to get it to work in the first place. But, try everything once I guess. http://gentoo-wiki.com/TIP_Powerdown_on_shutdown_-h Best regards Peter K -- gentoo-user@gentoo.org mailing list the problem wasn't the kernel, it was that it wasn't given enough time to halt before the halt -f command was sent. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] driver for 3Com 3c905 100BaseTX [Boomerang]????
Can you run lspci and show us the output? :02:07.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10) :02:09.0 Ethernet controller: 3Com Corporation 3c905 100BaseTX [Boomerang] kernel's config: CONFIG_NET_ETHERNET=y CONFIG_MII=y CONFIG_NET_VENDOR_3COM=y CONFIG_EL3=y CONFIG_3C515=y CONFIG_VORTEX=y CONFIG_TYPHOON=y CONFIG_NET_PCI=y CONFIG_EEPRO100=y CONFIG_8139TOO=y CONFIG_8139TOO_PIO=y 3Com 3c905 still don't work. askar -- gentoo-user@gentoo.org mailing list
[gentoo-user] can't ping myself when iptables running
Hello! I found out that when I run iptables rule below: #!/bin/bash IPTABLES='/sbin/iptables' # Set interface values EXTIF='eth1' INTIF1='eth0' # enable ip forwarding in the kernel /bin/echo 1 /proc/sys/net/ipv4/ip_forward # flush rules and delete chains $IPTABLES -F $IPTABLES -X # enable masquerading to allow LAN internet access $IPTABLES -t nat -A POSTROUTING -o $EXTIF -j MASQUERADE # forward LAN traffic from $INTIF1 to Internet interface $EXTIF $IPTABLES -A FORWARD -i $INTIF1 -o $EXTIF -m state --state NEW,ESTABLISHED,RELATED -j ACCEPT #echo -e- Allowing access to the SSH server $IPTABLES -A INPUT --protocol tcp --dport 22 -j ACCEPT #echo -e- Allowing access to the HTTP server #$IPTABLES -A INPUT --protocol tcp --dport 80 -j ACCEPT $IPTABLES -I INPUT --protocol tcp --dport smtp -i INTIF1 -j REJECT --- ip address of the nic connected to the modem is not pinged. But I don't set any restriction for icmp??? In thins case I don't use rp-pppoe connection. ADSL modem internally has have to interfaces lan and wan. Modem has its own static ip, and nic has also static ip: modem ip xxx.xxx.xxx.157 modem wan ip xxx.xxx.xxx.71 eth connected with modem xxx.xxx.xxx.158 askar -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] compile probs in general (tightvnc in particular)
i686-pc-linux-gnu-3.3.5 * was already set as default. so I evn-update and source /etc/profile, still got the same error. am I right in assuming that i need to set my default profile to i386-pc-linux-gnu-gcc ? gcc-config -l shows these options: [1] i686-pc-linux-gnu-3.3.5 * [2] i686-pc-linux-gnu-3.3.5-hardened [3] i686-pc-linux-gnu-3.3.5-hardenednopie [4] i686-pc-linux-gnu-3.3.5-hardenednossp how do i create one for i386 or more likely how do i get tightvnc to compile with this profile. On 6/28/05, Colin [EMAIL PROTECTED] wrote: James Ferguson wrote: Hi All, Im having trouble emerging tightvnc, I'm running a 2005.0 stage 3 system this is the error im getting: gcc-config error: Could not run/locate i386-pc-linux-gnu-gcc make[2]: *** [vncauth.o] Error 1 make[2]: Leaving directory `/var/tmp/portage/tightvnc-1.3_alpha5/work/vnc_unixsrc/libvncauth' make[1]: *** [all] Error 2 make[1]: Leaving directory `/var/tmp/portage/tightvnc-1.3_alpha5/work/vnc_unixsrc' make: *** [World] Error 2 If anyone could suggest a cause for this i would be greatfull, as a lot of other software i have been trying to install has been failing to compile and im starting to think it could all be related. I had the same problem while bootstrapping. After the bootstrap failed, I just ran gcc-config to switch to i686-pc-linux-gnu-gcc-3.3.5, and continued the bootstrap where I left off.. Use gcc-config and select a new compiler. Then env-update; source /etc/profile and emerge again. -- Colin -- gentoo-user@gentoo.org mailing list -- Oh yeah, can you find your way, show me the way to come. Zugzwang got me in a way, under my opposing thumb. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] driver for 3Com 3c905 100BaseTX [Boomerang]????
askar ... wrote: Can you run lspci and show us the output? :02:07.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10) :02:09.0 Ethernet controller: 3Com Corporation 3c905 100BaseTX [Boomerang] kernel's config: CONFIG_NET_ETHERNET=y CONFIG_MII=y CONFIG_NET_VENDOR_3COM=y CONFIG_EL3=y CONFIG_3C515=y CONFIG_VORTEX=y CONFIG_TYPHOON=y CONFIG_NET_PCI=y CONFIG_EEPRO100=y CONFIG_8139TOO=y CONFIG_8139TOO_PIO=y 3Com 3c905 still don't work. askar CONFIG_VORTEX=y seems like the right one. Is there anything interesting from dmesg or /var/log/messages? dmesg | grep eth grep eth /var/log/messages Zac config VORTEX tristate 3c590/3c900 series (592/595/597) \Vortex/Boomerang\ support depends on NET_VENDOR_3COM (PCI || EISA) select MII ---help--- This option enables driver support for a large number of 10mbps and 10/100mbps EISA, PCI and PCMCIA 3Com network cards: Vortex(Fast EtherLink 3c590/3c592/3c595/3c597) EISA and PCI Boomerang (EtherLink XL 3c900 or 3c905)PCI Cyclone (3c540/3c900/3c905/3c980/3c575/3c656)PCI and Cardbus Tornado (3c905) PCI Hurricane (3c555/3cSOHO) PCI If you have such a card, say Y and read the Ethernet-HOWTO, available from http://www.tldp.org/docs.html#howto. More specific information is in file:Documentation/networking/vortex.txt and in the comments at the beginning of file:drivers/net/3c59x.c. To compile this support as a module, choose M here and read file:Documentation/networking/net-modules.txt.
Re: [gentoo-user] driver for 3Com 3c905 100BaseTX [Boomerang]????
askar ... wrote: Can you run lspci and show us the output? :02:07.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10) :02:09.0 Ethernet controller: 3Com Corporation 3c905 100BaseTX [Boomerang] Please run again with: lspci -n That will generate output that includes the PCI vendor and device IDs. You can compare that to the listings in vortex_pci_tbl in /usr/src/linux/drivers/net/3c59x.c, and make sure that device ID is listed. If it is, then there should really be no problem getting it recognized. -Richard -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] driver for 3Com 3c905 100BaseTX [Boomerang]????
On 6/27/05, Ted Ozolins [EMAIL PROTECTED] wrote: askar ... wrote: Hello! Is there anybody who knows how to make 3Com 3c905 100BaseTX [Boomerang] work. I'm using gentoo 2005.0, gentoo-sources. In the kernel there is no driver for it. Help me. askar I believe the module for that card is 3c59x and has to be compiled either as a module or in the kernel. You can test that by modprobing the module and see what happens. Once you've done that, follow the network setup as outlined in the Gentoo install guide. Cheers. Thanks, but modprobe 3c59x gave me errror: FATAL: Module 3c59x not found. In kernel there is no option for 3c59x askar -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] driver for 3Com 3c905 100BaseTX [Boomerang]????
CONFIG_VORTEX=y seems like the right one. Is there anything interesting from dmesg or /var/log/messages? dmesg | grep eth grep eth /var/log/messages Zac 3c905 card is eth0 in my case. In /var/log/messages concerning eth0 I have: Dropping NETIF_F_SG since no checksum feature. I'm going to try below. askar config VORTEX tristate 3c590/3c900 series (592/595/597) \Vortex/Boomerang\ support depends on NET_VENDOR_3COM (PCI || EISA) select MII ---help--- This option enables driver support for a large number of 10mbps and 10/100mbps EISA, PCI and PCMCIA 3Com network cards: Vortex(Fast EtherLink 3c590/3c592/3c595/3c597) EISA and PCI Boomerang (EtherLink XL 3c900 or 3c905)PCI Cyclone (3c540/3c900/3c905/3c980/3c575/3c656)PCI and Cardbus Tornado (3c905) PCI Hurricane (3c555/3cSOHO) PCI If you have such a card, say Y and read the Ethernet-HOWTO, available from http://www.tldp.org/docs.html#howto. More specific information is in file:Documentation/networking/vortex.txt and in the comments at the beginning of file:drivers/net/3c59x.c. To compile this support as a module, choose M here and read file:Documentation/networking/net-modules.txt. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] driver for 3Com 3c905 100BaseTX [Boomerang]????
askar ... wrote: On 6/27/05, Ted Ozolins [EMAIL PROTECTED] wrote: askar ... wrote: Hello! Is there anybody who knows how to make 3Com 3c905 100BaseTX [Boomerang] work. I'm using gentoo 2005.0, gentoo-sources. In the kernel there is no driver for it. Help me. askar I believe the module for that card is 3c59x and has to be compiled either as a module or in the kernel. You can test that by modprobing the module and see what happens. Once you've done that, follow the network setup as outlined in the Gentoo install guide. Cheers. Thanks, but modprobe 3c59x gave me errror: FATAL: Module 3c59x not found. In kernel there is no option for 3c59x askar You don't have a module because you did CONFIG_VORTEX=y instead of CONFIG_VORTEX=m. If you had built the driver as a module then modprobe 3c59x would work. What about dmesg | grep eth? Did that turn up anything? Zac Zac -- gentoo-user@gentoo.org mailing list