[gentoo-user] samba problem
Hi, After installing samba with conf. attached below, I connected from XP Home ed. I can browse the directory public, but when I tried to copy some files in public to my local XP directory, it failed with 'wrong network path'. What happened? /etc/samba/smb.conf [global] workgroup = WORKGROUPserver string = Samba Server %v log file = /var/log/samba/log.%m max log size = 50 socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 interfaces = lo ath0 bind interfaces only = yes security = share guest account = samba guest ok = yes[public] comment = Public Files browseable = yes public = yes create mode = 0766 guest ok = yes path = /home/samba/public Thanks -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] samba problem
On Thu, 2005-05-12 at 16:05 +1000, Zhendong Zhou (Kyle) wrote: Hi, After installing samba with conf. attached below, I connected from XP Home ed. I can browse the directory public, but when I tried to copy some files in public to my local XP directory, it failed with 'wrong network path'. What happened? This sound weird. It's definately not a permission issue as far as I can tell. since you're on the XP box and you're copying to the XP Box. Samba permissions should not have anything to do with it. What about permissions on the XP directory? Are you using the netbios name or the IP address? Try the IP address. /etc/samba/smb.conf [global] workgroup = WORKGROUPserver string = Samba Server %v log file = /var/log/samba/log.%m max log size = 50 socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 interfaces = lo ath0 bind interfaces only = yes security = share guest account = samba guest ok = yes[public] comment = Public Files browseable = yes public = yes create mode = 0766 guest ok = yes path = /home/samba/public Thanks -- Ow Mun Heng Gentoo/Linux on DELL D600 1.4Ghz 98% Microsoft(tm) Free!! Neuromancer 14:13:04 up 15:45, 10 users, load average: 1.59, 1.08, 0.71 -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] samba problem
On Thu, 2005-05-12 at 16:34 +1000, Zhendong Zhou (Kyle) wrote: . My goddess! BTW it's GoodNess :-) -- Ow Mun Heng Gentoo/Linux on DELL D600 1.4Ghz 98% Microsoft(tm) Free!! Neuromancer 15:26:18 up 16:58, 11 users, load average: 1.21, 0.82, 0.77 -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Naming servers on a network with one IP
On Thu, 12 May 2005 02:34:11 -0400, Calvin Spealman wrote: ive got a network question. i have a few machines on my local network, but only one IP. I can congure my router for all the proper port forwarding for my server, but hostnames is giving me some confusion. To run a lot of things properly, such as Apache and Postfix, i need a qualified hostname configured for the server. But, i don't intend to run all the server daemons on one box for long. I can't give the same name to multiple servers, and i want to be able to address the different boxes by unique names from within the network (got a nifty naming scheme and everything), so how can i go about the best set up here? Just name them as you see fit. The names are only applicable to your private network. Externally, all public names will point to your one public IP address and your router will take care of forwarding the requests for each service to the correct box. For example, www.mydomain.org, ftp.mydomain.org and mail.mydomain.org will all resolve to your public IP address, but you may have something like this /etc/hosts setup for your lan 192.168.0.1 box1 www.lan 192.168.0.2 box2 ftp.lan 192.168.0.3 box3 mail.lan As long as your router forwards ports 80, 21 and (25|110) to 192.168.0.1,2,3 respectively, it should all work, with no one on the outside knowing anything about your local network. -- Neil Bothwick Keyboard: (n.) a device used by programmers to write software for a mouse or joystick and by operators for playing games such as 'word processing.' pgp8bCev63FgY.pgp Description: PGP signature
Re: [gentoo-user] Apache2 SSL help
Grant wrote: Hi guys, I've finished moving to the new ~x86 apache2 layout and everything works except SSL. I get a 403 error when trying to access any https page. ssl_error_log says: client denied by server configuration: /var/www/localhost/htdocs/checkout.html I've triple-checked my config and it looks good to me. Any ideas? - Grant Check /etc/conf.d/apache2 to make sure you have APACHE2_OPTS=-D SSL -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] pcHDTV3000 - Anyone installed and use this?
Michael Haan wrote: Pid: 6833, comm: modprobe Tainted: P 2.6.9-gentoo-r14 RIP: 0010:[a0677a00] a0677a00{:dvb_core:dvb_register_frontend+560} RSP: 0018:010034451be8 EFLAGS: 00010246 RAX: RBX: 01003fc72800 RCX: 0001 RDX: RSI: RDI: a067b870 RBP: a0681d90 R08: R09: 01003fc72800 R10: 0100344dae0d R11: R12: 010002366550 R13: 010034472700 R14: R15: 0001 FS: 0060fae0() GS:8057b200() knlGS: CS: 0010 DS: ES: CR0: 8005003b CR2: CR3: 00101000 CR4: 06e0 Process modprobe (pid: 6833, threadinfo 01003445, task 010034905070) Stack: a0681640 a066f53f 01003a1e1800 01003a1e1928 01003a1e1800 01003fc11800 a0692540 0014 a068437b Call Trace:a066f53f{:dvb_core:dvb_register_adapter+239} a068437b{:video_buf_dvb:videobuf_dvb_register+155} a068e9b1{:cx8802:cx8802_init_common+369} a0691476{:cx88_dvb:dvb_probe+646} 8022b526{pci_device_probe+134} 80261fa7{bus_match+71} 802620cb{driver_attach+75} 80262460{bus_add_driver+144} 80262962{driver_register+50} 8022b213{pci_register_driver+99} a0691517{:cx88_dvb:dvb_init+39} 80147924{sys_init_module+6020} 80157f9f{unmap_vmas+1183} 8015ba76{do_munmap+854} 8010f2ba{system_call+126} Code: 8b 30 31 c0 e8 97 9e ab df 49 8b 7c 24 20 48 8d 73 48 41 b8 RIP a0677a00{:dvb_core:dvb_register_frontend+560} RSP 010034451be8 CR2: That's never good :( I have no idea. Does that happen everytime you modprobe the driver, or did it only happen that one time? James -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] XML Editor
Calvin Spealman wrote: Jaxe looks like a promising possibility, over at http://jaxe.sourceforge.net/. It can validate based on a schema, as you need. It is a Java-written project, so it will run on your linux boxes, or anything else, of course. I've had a brief play with Jaxe - but it didn't feel ideal... I found the interface a bit clumsy - though maybe I could configure that better with a little effort. There is a very large list of editors at http://www.xml.com/pub/pt/3 you can look through, as well. I'd found that list... (which was somewhat overwhelming) then realized that the majority of editors are either commercial and/or target WYSIWYG... I've had a look into komodo, and agree that it is sensibly priced... but it looks like severe overkill. If there were to be a gentoo-portage ebuild for a tool (even if it wasn't perfrect) I would prefer that as I'd at least get get the latest version when I emerge update. I think a significant part of my problem is that tool developers seem to all have a particular application in mind - and that application seldom seems to coincide with my ideas about neat interfaces to construct arbitrary XML data files... Thanks for the suggestions... at least it seems I'm not overlooking the obvious? Steve -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] XML Editor
On Thu, 12 May 2005 21:38, Steve [Gentoo] wrote: There is a very large list of editors at http://www.xml.com/pub/pt/3 you can look through, as well. I'd found that list... (which was somewhat overwhelming) then realized that the majority of editors are either commercial and/or target WYSIWYG... I've had a look into komodo, and agree that it is sensibly priced... but it looks like severe overkill. If there were to be a gentoo-portage ebuild for a tool (even if it wasn't perfrect) I would prefer that as I'd at least get get the latest version when I emerge update. I think a significant part of my problem is that tool developers seem to all have a particular application in mind - and that application seldom seems to coincide with my ideas about neat interfaces to construct arbitrary XML data files... Thanks for the suggestions... at least it seems I'm not overlooking the obvious? Steve kxmleditor is a kde application available from portage. From what I can see, it allows you to build an xml file using a natural tree structure, or view the raw text, as you prefer. It's not in that large list as far as I can see. Is this what you want? -- mummy, n.: An Egyptian who was pressed for time. pgpQxaDhWGROZ.pgp Description: PGP signature
[gentoo-user] Postfix problem w/o network
I have a feeling I'm missing something very obvious here, but I'm still at a loss: I have my laptop's ethernet set to use DHCP. Obviously, on the road this will fail. But then the net service that postfix (and a bunch of other stuff like sshd) depends on is not there. Of course I could edit the init.d file, but there must be a cleaner solution, right? After all, everybody on dialup-only systems has to have this problem. I also haven't figured out *how* the net dependency is provided. The postfix iniscript explicitely contains provide mta, but very few scripts use this provide keyword, especially not net.* On my previous SuSE system, if I went someplace networked with the machine running already, I used to say ifup-dhcp eth0, and I could mail and ssh into the laptop without any further ado. I suppose I could do the same with Gentoo's runlevels which I haven't explored yet, but it still doesn't solve the problem that I can't have postfix running and queueing messages I send while offline so they can be delivered once I plug in somewhere. regards Matthias -- I prefer encrypted and signed messages. KeyID: 90CF8389 Fingerprint: 8E 1F 10 81 A4 66 29 46 B9 8A B9 E2 09 9F 3B 91 pgpThQMOdUqup.pgp Description: PGP signature
Re: [gentoo-user] Postfix problem w/o network
Hiya, Take a look in /etc/conf.d/rc --- # Set to yes if the default behaviour of at least one net.* # service starting beside net.lo is NOT enouth to consider # the 'net' dependency up and running. RC_NET_STRICT_CHECKING=no --- Matthias Bethke wrote: I have a feeling I'm missing something very obvious here, but I'm still at a loss: I have my laptop's ethernet set to use DHCP. Obviously, on the road this will fail. But then the net service that postfix (and a bunch of other stuff like sshd) depends on is not there. Of course I could edit the init.d file, but there must be a cleaner solution, right? After all, everybody on dialup-only systems has to have this problem. I also haven't figured out *how* the net dependency is provided. The postfix iniscript explicitely contains provide mta, but very few scripts use this provide keyword, especially not net.* On my previous SuSE system, if I went someplace networked with the machine running already, I used to say ifup-dhcp eth0, and I could mail and ssh into the laptop without any further ado. I suppose I could do the same with Gentoo's runlevels which I haven't explored yet, but it still doesn't solve the problem that I can't have postfix running and queueing messages I send while offline so they can be delivered once I plug in somewhere. regards Matthias -- Jonathan Wright mail at djnauk.co.uk // life has no meaning unless we can enjoy what we've been given // running gentoo ~ 2.6.11-gentoo-r6-djnauk-b2 i686 AMD Athlon XP 2100+ -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Postfix problem w/o network
On Thu, 2005-05-12 at 12:17 +0200, Matthias Bethke wrote: I also haven't figured out *how* the net dependency is provided. The postfix iniscript explicitely contains provide mta, but very few scripts use this provide keyword, especially not net.* On my previous SuSE system, if I went someplace networked with the machine running already, I used to say ifup-dhcp eth0, and I could mail and ssh into the laptop without any further ado. I suppose I could do the same with Gentoo's runlevels which I haven't explored yet, but it still doesn't solve the problem that I can't have postfix running and queueing messages I send while offline so they can be delivered once I plug in somewhere. See RC_NET_STRICT_CHECKING in /etc/conf.d/rc. -- gentoo-user@gentoo.org mailing list
[gentoo-user] Re: libgnomeui
Brian Beattie beattie at beattie-home.net writes: I'm trying to do an emerge -u world and for about the past week it has been failing on libgnomeui with the following error: failed to load ./stock_attach.png: Couldn't recognize the image file format for file './stock_attach.png' Does anybody have a clue? hints? I encountered this today, the way I fixed it is as follows (this may or may not be the same problem you are seeing) After gtk+ is compiled the program gdk-pixbuf-query-loaders is run to write out /etc/gtk-2.0/gdk-pixbuf.loaders. This file tells gtk where to find the different image decode libs. The problem is this step was failing, although emerge didn't report an error, so you end up with gtk being unable to load png files. gdk-pixbuf-query-loaders was looking for libbz2.so.1.0 to run but I didn't have that symlink. After creating it with cd /usr/lib; ln -s libbz2.so.1.0.3 libbz2.so.1.0 , gdk-pixbuf-query-loaders would run. After fixing that I manually created the conf files: gdk-pixbuf-query-loaders /etc/gtk-2.0/gdk-pixbuf.loaders gtk-query-immodules-2.0 /etc/gtk-2.0/gtk.immodules although it would probably be easier to just emerge gtk+ again after creating the libbz2 symlink. Might be worth trying to see if this fixes it for you too. Regards, Steven Houston. -- gentoo-user@gentoo.org mailing list
[gentoo-user] Zoneminder
Hello, Portage lists version 0.9.12. The Zoneminder web site says this version was issued in Jun3 2003. Version 1.21.0 as being available since March 2003. Is it safe to assume that Zoneminder has been orphaned (i.e. no maintainer)? How would I know if a package is not being maintained? Bugzilla did not seem to help in this regard James -- gentoo-user@gentoo.org mailing list
[gentoo-user] Gentoo unattended installation!
List, Is there some unattended installation (ISO's) of Gentoo available? I want to migrated to Gentoo my 21 servers, but, it's very difficult the installation of only one Gentoo Server... I mean, that you have to waste a lot of time in only one server, that's what I am looking for some installation using CDs (ISO's images) Regards, Israel -- gentoo-user@gentoo.org mailing list
[gentoo-user] Users with access to shell!
List, I have users accessing to the bash shell of my Gentoo Server, my question is: How can secure my server with this users accessing to shell? , How can I monitor this server to see what users have done? Is there available tools for that? I'd like to allow every user to access ONLY its home directory, I mean he only can work in his directory... Thanks in advance, Regards, Israel -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] NFS weirdness
I misdiagnosed the problem. My wife's computer (blossom) is running RH9 and she gets faster DNS resolution than baby does. Our ISP assigns all addresses (including DNS) via DHCP. Her /etc/resolv.conf file was being updated by her dhcp client. I emerged dhcpcd and ran it. The problem came from bullet expecting baby to be at 192.168.1.3 It wasn't. dhcpcd had reset baby's IP address to one supplied by the router instead of baby's static address. Is there a way to set baby to get only DNS information from the router via DHCP (the router is set to obtain this information automatically from the ISP) and not to reset baby's IP address? On Thu, 2005-05-12 at 07:21 -0500, Michael Sullivan wrote: My server box is called bullet and my client box is called baby. I use baby to access bullet because bullet doesn't have a reliable monitor. On baby I have a directory called /backup where the nightly backups are recorded to. bullet has the same setup. Within baby:/backup there is a directory called bullet where bullet:/backup is mounted. I do this because the only CDR drive I have is on baby and also because I do maintenance on bullet's backups using file-roller. This setup has worked fine for months. This morning I su - to root and asked for an ls of /backup/bullet. It gave me Permission Denied. I cd over to /backup and do ls. I see my backup files for baby and also listed is the bullet directory: baby backup # ls baby-gentoo-etc-050805.tar.bz2 baby-gentoo-michael-050805.tar.bz2 bullet baby-gentoo-etc-050905.tar.bz2 baby-gentoo-michael-050905.tar.bz2 week1 baby-gentoo-etc-051005.tar.bz2 baby-gentoo-michael-051005.tar.bz2 world baby-gentoo-etc-051105.tar.bz2 baby-gentoo-michael-051105.tar.bz2 baby-gentoo-etc-051205.tar.bz2 baby-gentoo-michael-051205.tar.bz2 (week1 is where I put a single weeksworth of backups to be written to a CD when I have multiple weeksworth of backups) However, when I try ls -l on /backup: baby backup # ls -l ls: bullet: Permission denied total 339636 -rw-r--r-- 1 root root 4483253 May 8 03:17 baby-gentoo-etc-050805.tar.bz2 -rw-r--r-- 1 root root46 May 9 03:00 baby-gentoo-etc-050905.tar.bz2 -rw-r--r-- 1 root root 24488 May 10 03:00 baby-gentoo-etc-051005.tar.bz2 -rw-r--r-- 1 root root 4905 May 11 03:00 baby-gentoo-etc-051105.tar.bz2 -rw-r--r-- 1 root root579531 May 12 03:03 baby-gentoo-etc-051205.tar.bz2 -rw-r--r-- 1 root root 251254105 May 8 03:16 baby-gentoo-michael-050805.tar.bz2 -rw-r--r-- 1 root root 10806118 May 9 03:00 baby-gentoo-michael-050905.tar.bz2 -rw-r--r-- 1 root root 5345970 May 10 03:00 baby-gentoo-michael-051005.tar.bz2 -rw-r--r-- 1 root root 7462564 May 11 03:00 baby-gentoo-michael-051105.tar.bz2 -rw-r--r-- 1 root root 67412455 May 12 03:03 baby-gentoo-michael-051205.tar.bz2 drwxr-xr-x 2 root root 4096 May 7 09:54 week1 -rw-r--r-- 1 root root 3245 May 12 03:03 world I don't understand this. I ssh'd to bullet and did an ls of /backup there from both root and a non-root account and they both work fine. I thought it might be a problem in /etc/exports, but I didn't see one: bullet root # cat /etc/exports # /etc/exports: NFS file systems being exported. See exports(5). /backup baby.espersunited.com(rw,sync,no_root_squash) Has anyone encountered this and/or knows how to fix it? This isn't a problem yet - there's so little traffic on bullet that I only write backups to CD at the end of the month, but if I don't figure out the answer it will be very inconvenient in a couple of weeks... -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] NFS weirdness
On Thu, 12 May 2005, Michael Sullivan wrote: I misdiagnosed the problem. My wife's computer (blossom) is running RH9 and she gets faster DNS resolution than baby does. Our ISP assigns all addresses (including DNS) via DHCP. Her /etc/resolv.conf file was being updated by her dhcp client. I emerged dhcpcd and ran it. The problem came from bullet expecting baby to be at 192.168.1.3 It wasn't. dhcpcd had reset baby's IP address to one supplied by the router instead of baby's static address. Is there a way to set baby to get only DNS information from the router via DHCP (the router is set to obtain this information automatically from the ISP) and not to reset baby's IP address? Why not just use static IPs? -- -- gentoo-user@gentoo.org mailing list
[gentoo-user] Re: Users with access to shell!
On 5/12/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: How can secure my server with this users accessing to shell? , Don't give users physical access to the machine. Don't allow users to use SSH. Don't run a telnet server. I'd like to allow every user to access ONLY its home directory, I mean he only can work in his directory... Access with what? -- David Dorward http://dorward.me.ukhttp://blog.dorward.me.uk -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] XML parsing error when downloading files with F irefox
On Wed, 11 May 2005 14:28:24 +0100, in local.gentoo.users you wrote: 1) if you're specifically talking about vtun, it's in Portage, so you don't even necessarily have to download it separately. I'm building a statically linked version for a remote Redhat box to which I only have ssh access and which has no compilation tools and doesn't have the LZO library installed. Fortunately it seems to work fine - phew! So this is probably one of the ever-popular make sure to create a new profile when upgrading issues. That would be the first thing I would try. Done, and it worked. Many thanks. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Users with access to shell!
On 12/05/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: List, I have users accessing to the bash shell of my Gentoo Server, my question is: How can secure my server with this users accessing to shell? , You can't trust your users. That's the idea. 1. they may use a simple password 2. even if they were given a quality password, how do u know the password didn't end up on a piece of sticker on their monitors? How can I monitor this server to see what users have done? Is there available tools for that? Tripwire can monitor file changes, can't think of other tools, but I'm sure ppl on the list will provide you with a handful. I'd like to allow every user to access ONLY its home directory, I mean he only can work in his directory... Well, this can be done, but in a pretty complex way. Allowing users to see other files isn't that harmful, provided permissions on critical files are correctly set. HTH -- Joe -- Money can't buy everything. Sometimes money can't even buy a gun... -- gentoo-user@gentoo.org mailing list
[gentoo-user] Setting up a route through a point-to-point interface
Scenario: using vtun to build a Lan-to-Lan VPN. One end FreeBSD, one end Linux. On the BSD box I can set up a route directly through the tun0 device without having to assign it an IP address, like this: ifconfig tun0 up mtu 1450 -arp route add 192.168.10.0/24 -interface tun0 and it works just fine. On Linux (I've tried Gentoo and Redhat) it would seem that the following should work: ifconfig tun0 up mtu 1450 pointopoint route add -net 192.168.10.0/24 dev tun0 However I get a: SIOCADDRT: No such device which suggests that the tun device doesn't support the right ioctl variants. Has anyone done this? It's easy enough to do it using throw-away IP addresses for the two ends of the tunnel, but it's neater if they can be avoided. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Gentoo unattended installation!
On 12/05/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: List, Is there some unattended installation (ISO's) of Gentoo available? I want to migrated to Gentoo my 21 servers, but, it's very difficult the installation of only one Gentoo Server... I mean, that you have to waste a lot of time in only one server, that's what I am looking for some installation using CDs (ISO's images) Are they identical in hardware, if so, you can build binary packages. Also, to save network traffic, you can setup local rsync mirrors and stuff. Dig through the list archive and gentoo-wiki, I'm sure you'll find something helpful. -- Joe -- Money can't buy everything. Sometimes money can't even buy a gun... -- gentoo-user@gentoo.org mailing list
RE: [gentoo-user] Users with access to shell!
I'd like to allow every user to access ONLY its home directory, I mean he only can work in his directory... Well, this can be done, but in a pretty complex way. Allowing users to see other files isn't that harmful, provided permissions on critical files are correctly set. Hmm, I suppose you could set up a chroot session for each user. Would limit their access to other people's values, properties, etc... -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] NFS weirdness
I do use static IPs. In my Linux machines. I don't know how to set up static IPs in Windows. bullet, baby and blossom have static IP addresses 192.168.1.2, 192.168.1.3 and 192.168.1.4 respectively, but the DNS information from the ISP changes, so I need a DHCP client to update my /etc/resolv.conf file, and I can't figure out how to do that without resetting the IP address of baby. My entire network communication scheme depends on IP addresses not changing while a PC is booted into Linux. On Thu, 2005-05-12 at 09:13 -0400, A. Khattri wrote: On Thu, 12 May 2005, Michael Sullivan wrote: I misdiagnosed the problem. My wife's computer (blossom) is running RH9 and she gets faster DNS resolution than baby does. Our ISP assigns all addresses (including DNS) via DHCP. Her /etc/resolv.conf file was being updated by her dhcp client. I emerged dhcpcd and ran it. The problem came from bullet expecting baby to be at 192.168.1.3 It wasn't. dhcpcd had reset baby's IP address to one supplied by the router instead of baby's static address. Is there a way to set baby to get only DNS information from the router via DHCP (the router is set to obtain this information automatically from the ISP) and not to reset baby's IP address? Why not just use static IPs? -- -- gentoo-user@gentoo.org mailing list
[gentoo-user] Emerge PHP+ Apache
Hi, I've been messing with gentoo for around 2 years now and still have not learned the full functionality of emerge. I've got 5 systems and I'm building a new one and would like to use the full functionality of emerge. To install apache and PHP i've always manually compiled the two. How does emerge do this and what is the command to type in emerge to get it to do this? Thanks! CR -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Postfix problem w/o network
Edward Catmur wrote: On Thu, 2005-05-12 at 12:17 +0200, Matthias Bethke wrote: I also haven't figured out *how* the net dependency is provided. The postfix iniscript explicitely contains provide mta, but very few scripts use this provide keyword, especially not net.* On my previous SuSE system, if I went someplace networked with the machine running already, I used to say ifup-dhcp eth0, and I could mail and ssh into the laptop without any further ado. I suppose I could do the same with Gentoo's runlevels which I haven't explored yet, but it still doesn't solve the problem that I can't have postfix running and queueing messages I send while offline so they can be delivered once I plug in somewhere. See RC_NET_STRICT_CHECKING in /etc/conf.d/rc. AFAICT, NET_STRICT_CHECKING will not help. If set to yes, it requires all net.* scripts to be successfully started for the net dependancy to be satisifed. If set to no, it requires a single net.* interface, _other than lo_, to satisfy the net dependancy. On a laptop without a network connection, the dependancy will still not be satisfied. My solution, which is probably not the most elegant, was to change all need net to need net.lo in the init.d scripts. BTW, the 'net' dependancy is handled in the /etc/init.d/runscript.sh script. -Richard -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Apache2 SSL help
Hi guys, I've finished moving to the new ~x86 apache2 layout and everything works except SSL. I get a 403 error when trying to access any https page. ssl_error_log says: client denied by server configuration: /var/www/localhost/htdocs/checkout.html I've triple-checked my config and it looks good to me. Any ideas? - Grant Check /etc/conf.d/apache2 to make sure you have APACHE2_OPTS=-D SSL Yeah it's in there. Usually when SSL doesn't work for me it isn't a 403. I don't know why it's doing that. - Grant -- gentoo-user@gentoo.org mailing list
[gentoo-user] How to display documents
Hi, The only access to my server is with a browser on port 8080. Now from work i want to access read ... my documents/archive will zope we a solution for me, or schould i look for another. TIA Patrick -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Postfix problem w/o network
On Thu, 12 May 2005 07:22:48 -0700, Richard Fish wrote: See RC_NET_STRICT_CHECKING in /etc/conf.d/rc. AFAICT, NET_STRICT_CHECKING will not help. If set to yes, it requires all net.* scripts to be successfully started for the net dependancy to be satisifed. If set to no, it requires a single net.* interface, _other than lo_, to satisfy the net dependancy. On a laptop without a network connection, the dependancy will still not be satisfied. yes and no are not the only options, you can also set this to none or lo. The latter could be the solution here. -- Neil Bothwick Behaviorist psychology -- pulling habits out of rats pgpkMp0Ram9Fm.pgp Description: PGP signature
Re: [gentoo-user] Users with access to shell!
[EMAIL PROTECTED] writes: How can secure my server with this users accessing to shell? , If you can't trust your users you always have a problem as shell access and/or compiler-access are the first steps to installing a root-kit if they are really up to this kind of things. Putting them in a changeroot might help in some cases but there are often ways out of the jail. In my opinion: if you can't trust your users you should not give them shell access. At least that is what I am doing with my users on my servers. Just my 2 cents, Martin -- gentoo-user@gentoo.org mailing list
[gentoo-user] DHCPd start / stop problem
Hello, I have chrooted dhcpd setup. If I invoke it without start-stop-daemon from the command line, it starts up normally. If I do run /etc/init.d/dhcp restart, here's what I get (I turned off --quiet in the start script): [EMAIL PROTECTED] init.d # ./dhcp stop * ERROR: dhcp has not yet been started. [EMAIL PROTECTED] init.d # ./dhcp restart * Setting ownership on dhcpd.leases... [ ok ] * Starting chrooted dhcpd... /usr/sbin/dhcpd already running.[ !! ] But, if I 'kill -TERM' the process number from /chroot/dhcp/var/run/dhcp/dhcpd.pid, it says there is No Such Process, and the DHCPd server is not running. Its kind of annoying because I've been making changes to dhcpd.conf. I have to type out the whole command line to restart dhcpd. Does anyone know the solution to this problem or have some relevant experience to share? Thanks, Mike -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Apache2 SSL help
Hi guys, I've finished moving to the new ~x86 apache2 layout and everything works except SSL. I get a 403 error when trying to access any https page. ssl_error_log says: client denied by server configuration: /var/www/localhost/htdocs/checkout.html I've triple-checked my config and it looks good to me. Any ideas? - Grant Check /etc/conf.d/apache2 to make sure you have APACHE2_OPTS=-D SSL Yeah it's in there. Usually when SSL doesn't work for me it isn't a 403. I don't know why it's doing that. Ok, I fixed this by removing these lines from httpd.conf: Directory / AllowOverride None Order Deny,Allow Deny from all /Directory I don't know why I didn't think of that yesterday. I'm even a little hungover. Can anyone tell me why that block worked with the old apache2 layout but not the new? Am I opening any holes by getting rid of it? - Grant -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] pcHDTV3000 - Anyone installed and use this?
On 5/11/05, James Colannino [EMAIL PROTECTED] wrote: Michael Haan wrote: Pid: 6833, comm: modprobe Tainted: P 2.6.9-gentoo-r14 RIP: 0010:[a0677a00] a0677a00{:dvb_core:dvb_register_frontend+560} RSP: 0018:010034451be8 EFLAGS: 00010246 RAX: RBX: 01003fc72800 RCX: 0001 RDX: RSI: RDI: a067b870 RBP: a0681d90 R08: R09: 01003fc72800 R10: 0100344dae0d R11: R12: 010002366550 R13: 010034472700 R14: R15: 0001 FS: 0060fae0() GS:8057b200() knlGS: CS: 0010 DS: ES: CR0: 8005003b CR2: CR3: 00101000 CR4: 06e0 Process modprobe (pid: 6833, threadinfo 01003445, task 010034905070) Stack: a0681640 a066f53f 01003a1e1800 01003a1e1928 01003a1e1800 01003fc11800 a0692540 0014 a068437b Call Trace:a066f53f{:dvb_core:dvb_register_adapter+239} a068437b{:video_buf_dvb:videobuf_dvb_register+155} a068e9b1{:cx8802:cx8802_init_common+369} a0691476{:cx88_dvb:dvb_probe+646} 8022b526{pci_device_probe+134} 80261fa7{bus_match+71} 802620cb{driver_attach+75} 80262460{bus_add_driver+144} 80262962{driver_register+50} 8022b213{pci_register_driver+99} a0691517{:cx88_dvb:dvb_init+39} 80147924{sys_init_module+6020} 80157f9f{unmap_vmas+1183} 8015ba76{do_munmap+854} 8010f2ba{system_call+126} Code: 8b 30 31 c0 e8 97 9e ab df 49 8b 7c 24 20 48 8d 73 48 41 b8 RIP a0677a00{:dvb_core:dvb_register_frontend+560} RSP 010034451be8 CR2: That's never good :( I have no idea. Does that happen everytime you modprobe the driver, or did it only happen that one time? James -- gentoo-user@gentoo.org mailing list In response to your first post - I have ivtv installed b/c I have a pvr-350. You're not saying the hd3000 drivers will run that as well, are you? In response to your second post - yes, everytime I modprobe it I get that. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] next step X
On Wednesday 11 May 2005 18:38, Mark Knecht wrote: Gentlemen: After finishing the installation, I cannot seem to bring the eth0 interface up. When I try to manually ifconfig eth0 addr broadcast netmask up, I get a message of no such device. So, I must have foobarred another incantation along the way. It was working fine in the chroot environment an hour or so ago, so I suspect something in the last stages of the install. What are the sort of things I can do to diagnose this sort of problem. Mostly, I am questing for knowledge right now. Charles lspci to understand what hardware lsmod to understand what modules are loaded modprobe foo to get a module loaded to support the adapter vi /etc/conf.d/net to look at what the system is trying to do with the hardware when the scripts are run post some more info back (if you can) and then folks will help you take the next step. Good luck, Mark Under the liveCD, the network interface is working fine and I was able to emerge kde, albeit with an error at the end with a version mismatch between libtool.m4 (1.5.10) and litmain (1.5), but thats the story after this one. lspci shows the 3com 3c905C Tornado card. lsmod (under liveCD) shows 3c95x is the driver used. In rebooting to the *real* partition, I can see that while init is running there is an error: Bringing eth0 up via DHCP ERROR: Problem starting needed services netmount was not started. I can do a modprobe 3c95x and lsmod shows it is loaded. I can then do an ifconfig eth0 up and the interface is up (ping www.yahoo.com works). The file /etc/conf.d/net has two uncommented lines: iface_eth0=dhcp gateway=eth0/10.10.10.1 I am suspecting that the netmount is the source of my confusion. Since modprobe 3c59x allows the interface to then work just fine, there may be a needed alias to tell the init script the PCI card for the ethernet interface is a 3Com. If I recall, in some other distributions, there is an alias file for modules and perhaps Gentoo is a little different then my previous understanding. Charles p.s Why would emerge vi say no ebuilds. I have nano, but not vi yet. p.p.s. After this step, the emerge kde tells me that libtool.m4 has the wrong version and I need to run libtoolize --copy --force. I run that, and get the error configure.ac does nto exist, run libtoolize --help. Invoking libtoolize --help tells me I need to run it from the toplevel directory, which I assume to be where the source for libtool.m4 would be. Where would the default location for libtool be so I could run libtoolize properly, or should I emerge something_else, or emerge the_same_thing_again p.p.p.s Thanks for the help. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] next step X
On 5/12/05, cfk [EMAIL PROTECTED] wrote: Bringing eth0 up via DHCP ERROR: Problem starting needed services netmount was not started. I can do a modprobe 3c95x and lsmod shows it is loaded. I can then do an ifconfig eth0 up and the interface is up (ping www.yahoo.com works). The file /etc/conf.d/net has two uncommented lines: iface_eth0=dhcp gateway=eth0/10.10.10.1 rc-update show rc-update add net.eth0 default man rc-update for more info if you require it. netmount could be added if necessary. It isn't on my network. p.s Why would emerge vi say no ebuilds. I have nano, but not vi yet. emerge -s vi leads to (among other things) emerge -pv vim p.p.s. After this step, the emerge kde tells me that libtool.m4 has the wrong version and I need to run libtoolize --copy --force. I run that, and get the error configure.ac does nto exist, run libtoolize --help. Invoking libtoolize --help tells me I need to run it from the toplevel directory, which I assume to be where the source for libtool.m4 would be. Where would the default location for libtool be so I could run libtoolize properly, or should I emerge something_else, or emerge the_same_thing_again This sounds strange. (and probably beyond me) Better to post the actual data. p.p.p.s Thanks for the help. You're welcome! - Mark -- gentoo-user@gentoo.org mailing list
[gentoo-user] Coldplug can't find hotplug
Hi. I managed to build a generic kernel to install in heterogeneous hardware of my LAN. I choosed do use aoutoconfig, coldplug hotplug in order to automaticaly find the most unusual HW configurations, but I am getting the folowing weird behavior from coldplug: * Coldplugging input devices... [ ok ] * Coldplugging isapnp devices... [ ok ] * Coldplugging pci devices... /etc/hotplug/pci.rc: line 41: /sbin/hotplug: No such file or directory /etc/hotplug/pci.rc: line 41: /sbin/hotplug: No such file or directory /etc/hotplug/pci.rc: line 41: /sbin/hotplug: No such file or directory /etc/hotplug/pci.rc: line 41: /sbin/hotplug: No such file or directory /etc/hotplug/pci.rc: line 41: /sbin/hotplug: No such file or directory /etc/hotplug/pci.rc: line 41: /sbin/hotplug: No such file or directory /etc/hotplug/pci.rc: line 41: /sbin/hotplug: No such file or directory /etc/hotplug/pci.rc: line 41: /sbin/hotplug: No such file or directory /etc/hotplug/pci.rc: line 41: /sbin/hotplug: No such file or directory /etc/hotplug/pci.rc: line 41: /sbin/hotplug: No such file or directory /etc/hotplug/pci.rc: line 41: /sbin/hotplug: No such file or directory /etc/hotplug/pci.rc: line 41: /sbin/hotplug: No such file or directory [ ok ] * Coldplugging pnp devices... [ ok ] * Coldplugging usb devices... I reemerge hotplug and still there is no /sbin/hotplug executable... Does anyone knows what is happening? Does coldplug needs hotplug? Thanks-- Antonio SoutoLaboratorista e mestrando doPIPCA - Programa Interdisciplinar de Pós-Graduação em Computação AplicadaBacharel em Ciência da ComputaçãoUNISINOS - Universidade do Vale do Rio dos Sinos Fones (0xx51) 590- | 591-1100 | 591-1122 ramal 1658São Leopoldo - RS[The study of non-linear physics is like the study of non-elephant biology.]
Re: [gentoo-user] iptables
thank's, I know it is rare, but I forgot to write that it's not the first time I recompile the kernel, I should've do it at least 8 or 9 times, and it only failed when iptables where added. After the crash I booted from the old kernel and compile it again whitout iptables,boot from the new bzImage, and everything was fine. ...very strange thing --- A. Khattri [EMAIL PROTECTED] escribió: On Wed, 11 May 2005, pepe antartico wrote: I have a very strange and annoying problem, please need help. I added iptables support and recompiled my kernel (is 2.6.11.7), then when rebooting, the startup sequence stops after 10 or 15 seconds and freezes in a blank screen. I tried recompiling the kernel with iptables as modules and got the same result. When booting from my old kernel everything is normal. I even tried several combinations compiling some options as modules an others within the kernel but when booting got stuck again. I really need help on this, any sugestions will be appreciated. iptables probably has nothing to do with this problem. Perhaps you have enabled the console framebuffer but it is the wrong chipset. My advice would be to disable all framebuffers until you get everything else working. You can always go back and fix that later. -- -- gentoo-user@gentoo.org mailing list _ Do You Yahoo!? Información de Estados Unidos y América Latina, en Yahoo! Noticias. Visítanos en http://noticias.espanol.yahoo.com -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Naming servers on a network with one IP
On Thu, 12 May 2005 11:45:47 -0400, Calvin Spealman wrote: This is as I had hoped, and maybe I'm doing something wrong, but if I don't give my boxes a proper domain name, apache and postfix will not start. They complain about the domain name and bail out. You can give them any name you like, including the same name as given to your external interface. Just put www.mydomain.com as an alias in /etc/ hosts. note that both Apache and Postfix require you to specify the server name in their config files, ServerName in /etc/apache2/httpd.conf and mydestination in /etc/postfix/main.cf. -- Neil Bothwick The computer revolution is over. The computers won. pgpLBqLwgjWTg.pgp Description: PGP signature
Re: [gentoo-user] next step X
On Thursday 12 May 2005 10:12, Daniel Drake wrote: cfk wrote: I can do a modprobe 3c95x and lsmod shows it is loaded. I can then do an ifconfig eth0 up and the interface is up (ping www.yahoo.com works). The file /etc/conf.d/net has two uncommented lines: iface_eth0=dhcp gateway=eth0/10.10.10.1 I am suspecting that the netmount is the source of my confusion. Since modprobe 3c59x allows the interface to then work just fine, there may be a needed alias to tell the init script the PCI card for the ethernet interface is a 3Com. If I recall, in some other distributions, there is an alias file for modules and perhaps Gentoo is a little different then my previous understanding. Is there any particular reason why you built 3c59x as a module as opposed to in-kernel? If you had built it in-kernel, you would not be having these problems - the kernel would just sort out the driver loading for you. Anyway, assuming you _do_ have a reason why you want it as a module, then you should add it to /etc/modules.autoload.d/kernel-2.6 assuming you are running a 2.6 kernel. p.s Why would emerge vi say no ebuilds. I have nano, but not vi yet. Try vim p.p.s. After this step, the emerge kde tells me that libtool.m4 has the wrong version and I need to run libtoolize --copy --force. I run that, and get the error configure.ac does nto exist, run libtoolize --help. Invoking libtoolize --help tells me I need to run it from the toplevel directory, which I assume to be where the source for libtool.m4 would be. Where would the default location for libtool be so I could run libtoolize properly, or should I emerge something_else, or emerge the_same_thing_again Run emerge sync and try again. Which package is actually failing? I doubt it is the kde package itself, it is probably one of its dependencies. You are not expected to run libtoolize yourself. The ebuild in question should handle this, but you may be running into a bug. Daniel Dear Daniel, Mark and others; After adding 3c59x to /etc/modules.autoload.d/kernel-2.6, the partition boots fine with networking enabled. To answer the original question on modules, I just ran genkernel and took all the defaults as I am new to Gentoo. I did then emerge --sync followed by emerge kde and I still get the libtoolize version error. On this one, I am not sure which way to go next, perhaps a little more advice ifyou dont mind. Things are progressing, some knowledge is seeping into my little brain, and I appreciate all the help. Charles Krinke -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Users with access to shell!
On May 12, 2005, at 2:34 pm, [EMAIL PROTECTED] wrote: I'd like to allow every user to access ONLY its home directory, I mean he only can work in his directory... My web-hosting provider provides me with ssh access - when I log in the prompt says jailshell $ * app-misc/jail Latest version available: 1.9-r1 Latest version installed: [ Not Installed ] Size of downloaded files: [no/bad digest] Homepage:http://www.jmcresearch.com/projects/jail/ Description: Jail Chroot Project is a tool that builds a chrooted environment and automagically configures and builds all the required files, directories and libraries Might be worth a look. Stroller. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] next step X
On Thursday 12 May 2005 11:49, Mark Knecht wrote: Charles, I'm glad that you now have networking. That's pretty crucial stuff. I want to clarify one thing here. You are now fully booting this new machine using Gentoo, correct? Grub is installed and you're booted up to the command line. You have xorg-x11 emerged correctly and are now attempting to get kde installed? My guess, and it's only a guess, is that you're having some sort of profile problem. do not build kde first, as much as you might like to. If you stay at the command line and do emerge sync (note - not 'emerge --sync') emerge -pv world then what is it telling you about what's installed on your machine and what you need to update? Post the results back, or just work your way through the emerge world operation BEFORE emerging kde. That's pretty important as you will likely update your profile and emerge a number of packages that kde will require anyway. Cheers, Mark Dear Mark: I am fully booting this system using Gentoo. I have a colorful bash prompt right now and I am trying to get X running. Last night I did 'emerge xorg-x11' and it succeeded OK. Grub has incantations that allow the partition with Gentoo to boot. There are other distributions on some other partitions, but I dont think they have any bearing on Gentoo. Here is the result of emerge -pv world on the machine in question. ** These are the packages that I would merge, in order: Calculating world dependencies ...done! [ebuild U ] sys-apps/grep-2.5.1-r7 [2.5.1-r6] -build -debug +nls -pcre -static (-uclibc) 667 kB [ebuild U ] sys-apps/net-tools-1.60-r11 [1.60-r9] -build -debug +nls -static 220 kB [ebuild U ] sys-apps/kbd-1.12-r4 [1.12-r3] +nls 867 kB [ebuild N] sys-devel/binutils-config-1.8-r2 0 kB [ebuild U ] sys-devel/binutils-2.15.92.0.2-r7 [2.15.92.0.2-r1] -debug -multislot -multitarget +nls -test 10,793 kB [ebuild U ] sys-libs/cracklib-2.7-r11 [2.7-r10] -debug -minimal +pam 20 kB [ebuild U ] app-arch/tar-1.15.1 [1.14] -build -debug +nls -static 1,573 kB [ebuild U ] sys-libs/glibc-2.3.4.20041102-r1 [2.3.4.20040808-r1] -build -debug -erandom -hardened (-multilib) +nls -nomalloccheck -nptl -nptlonly -pic -userlocales 17,112 kB [ebuild U ] sys-apps/sed-4.1.4 [4.0.9] -bootstrap -build -debug +nls -static 775 kB [ebuild U ] sys-apps/texinfo-4.8 [4.7-r1] -build -debug +nls -static 1,486 kB [ebuild U ] app-arch/bzip2-1.0.3 [1.0.2-r5] -build -debug -static 653 kB [ebuild U ] sys-libs/ncurses-5.4-r6 [5.4-r5] -bootstrap -build -debug -doc +gpm -minimal -nocxx -unicode 2,103 kB [ebuild U ] net-misc/rsync-2.6.0-r4 [2.6.0-r3] -acl -build -debug -static 458 kB [ebuild U ] sys-devel/automake-1.9.5 [1.9.4] 740 kB [ebuild U ] sys-fs/udev-056 [045] (-selinux) -static 468 kB [ebuild U ] app-arch/cpio-2.6-r3 [2.6-r1] +nls 437 kB [ebuild U ] sys-apps/coreutils-5.2.1-r5 [5.2.1-r4] -acl -build -debug -hardened +nls (-selinux) -static (-uclibc) 4,260 kB [ebuild U ] net-misc/openssh-3.9_p1-r2 [3.9_p1-r1] -X509 -chroot -debug +ipv6 -kerberos -ldap -nocxx +pam (-selinux) -sftplogging -skey -smartcard -static +tcpd 834 kB [ebuild U ] sys-devel/m4-1.4.2-r1 [1.4.1] +nls 337 kB [ebuild U ] app-arch/gzip-1.3.5-r6 [1.3.5-r5] -build -debug +nls -pic -static 323 kB [ebuild U ] net-misc/wget-1.9.1-r3 [1.9-r2] -build -debug +ipv6 +nls -socks5 +ssl -static 1,300 kB [ebuild N] sys-libs/gdbm-1.8.3-r1 +berkdb -debug 223 kB [ebuild U ] dev-lang/perl-5.8.5-r5 [5.8.5-r4] +berkdb -debug -doc +gdbm* -ithreads -perlsuid (-uclibc) 11,651 kB [ebuild U ] sys-apps/diffutils-2.8.7-r1 [2.8.7] -debug +nls -static 1,037 kB [ebuild U ] sys-apps/hdparm-5.9 [5.7-r1] 38 kB [ebuild U ] dev-lang/python-2.3.5 [2.3.4-r1] +X* +berkdb -bootstrap -build -debug -doc +gdbm* +ipv6 +ncurses +readline +ssl -tcltk -ucs2 7,060 kB [ebuild U ] sys-devel/gnuconfig-20050223 [20040214] 34 kB [ebuild U ] sys-devel/gcc-config-1.3.10-r2 [1.3.8-r4] 0 kB [ebuild U ] sys-devel/gcc-3.3.5.20050130-r1 [3.3.5-r1] (-altivec) -bootstrap -boundschecking -build -debug +fortran* -gcj +gtk* -hardened -ip28 (-multilib) -multislot (-n32) (-n64) +nls -nocxx -objc -static (-uclibc) 23,639 kB Total size of downloads: 89,119 kB So, I would assume from this that the next step is to emerge grep, then emerge net-tools and all the rest in this order without any of the version stuff like '2.5.1-r7 [2.5.1-r6]'. With Thanks, Charles Krinke -- gentoo-user@gentoo.org mailing list
[gentoo-user] RE: Users with access to shell!
I have users accessing to the bash shell of my Gentoo Server, my question is: How can secure my server with this users accessing to shell? , You can't trust your users. That's the idea. That's the point, my server is a DataBase Server, I mean, users log in and run a C++ script and then they work with the database files.. THEY HAVE TO LOG IN, so there's only few that has access to the bash shell, because they need it!!!... so, I ask again, there is some tools, command that help me to monitoring, securing this server?? Thanks for your soon answers.. Regards, Israel -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Apache2 SSL help
Grant [EMAIL PROTECTED] writes: Actually all of my pages are either in / or /admin/. If I leave the above I get a 403 when accessing https though. Directory is related to the file-system directory, so you are setting it for your system's root, not your webpage's root. You need to have a Directory /path/to/your/webpage/ /Directory Regards, Martin -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] RE: Users with access to shell!
On Thu, 12 May 2005 [EMAIL PROTECTED] wrote: That's the point, my server is a DataBase Server, I mean, users log in and run a C++ script and then they work with the database files.. THEY HAVE TO LOG IN, so there's only few that has access to the bash shell, because they need it!!!... so, I ask again, there is some tools, command that help me to monitoring, securing this server?? Q: How do you secure a house after giving away the keys? A: You can't. The best you can do is log everything, install logwatch, maybe setup some process accounting, etc. One thing you could do is setup iptables to only allow logins from specific IPs perhaps. -- -- gentoo-user@gentoo.org mailing list
RE: [gentoo-user] Emerge PHP+ Apache
I use the package system for a lot just not everything. I'm beginning to use it for more stuff. I use to work in Redhat a lot so the package system was not the first thing I noticed in gentoo. I really like gentoo a lot, I'm trying to get more familiar with the workstation end of it, and at the the same time clean up the systems, remove the manually compiled programs and use the package system to make them more proficient. -Original Message- From: A. Khattri [mailto:[EMAIL PROTECTED] Sent: Thursday, May 12, 2005 2:33 PM To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Emerge PHP+ Apache On Thu, 12 May 2005, C R. Little wrote: I've been messing with gentoo for around 2 years now and still have not learned the full functionality of emerge. Wow - one wonders why you picked Gentoo if not for the package system??? -- -- gentoo-user@gentoo.org mailing list -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] next step X
On 5/12/05, cfk [EMAIL PROTECTED] wrote: Dear Mark: I am fully booting this system using Gentoo. I have a colorful bash prompt right now and I am trying to get X running. Last night I did 'emerge xorg-x11' and it succeeded OK. Grub has incantations that allow the partition with Gentoo to boot. There are other distributions on some other partitions, but I dont think they have any bearing on Gentoo. Here is the result of emerge -pv world on the machine in question. ** These are the packages that I would merge, in order: Calculating world dependencies ...done! [ebuild U ] sys-apps/grep-2.5.1-r7 [2.5.1-r6] -build -debug +nls -pcre -static (-uclibc) 667 kB [ebuild U ] sys-apps/net-tools-1.60-r11 [1.60-r9] -build -debug +nls -static 220 kB [ebuild U ] sys-apps/kbd-1.12-r4 [1.12-r3] +nls 867 kB [ebuild N] sys-devel/binutils-config-1.8-r2 0 kB [ebuild U ] sys-devel/binutils-2.15.92.0.2-r7 [2.15.92.0.2-r1] -debug -multislot -multitarget +nls -test 10,793 kB [ebuild U ] sys-libs/cracklib-2.7-r11 [2.7-r10] -debug -minimal +pam 20 kB [ebuild U ] app-arch/tar-1.15.1 [1.14] -build -debug +nls -static 1,573 kB [ebuild U ] sys-libs/glibc-2.3.4.20041102-r1 [2.3.4.20040808-r1] -build -debug -erandom -hardened (-multilib) +nls -nomalloccheck -nptl -nptlonly -pic -userlocales 17,112 kB [ebuild U ] sys-apps/sed-4.1.4 [4.0.9] -bootstrap -build -debug +nls -static 775 kB [ebuild U ] sys-apps/texinfo-4.8 [4.7-r1] -build -debug +nls -static 1,486 kB [ebuild U ] app-arch/bzip2-1.0.3 [1.0.2-r5] -build -debug -static 653 kB [ebuild U ] sys-libs/ncurses-5.4-r6 [5.4-r5] -bootstrap -build -debug -doc +gpm -minimal -nocxx -unicode 2,103 kB [ebuild U ] net-misc/rsync-2.6.0-r4 [2.6.0-r3] -acl -build -debug -static 458 kB [ebuild U ] sys-devel/automake-1.9.5 [1.9.4] 740 kB [ebuild U ] sys-fs/udev-056 [045] (-selinux) -static 468 kB [ebuild U ] app-arch/cpio-2.6-r3 [2.6-r1] +nls 437 kB [ebuild U ] sys-apps/coreutils-5.2.1-r5 [5.2.1-r4] -acl -build -debug -hardened +nls (-selinux) -static (-uclibc) 4,260 kB [ebuild U ] net-misc/openssh-3.9_p1-r2 [3.9_p1-r1] -X509 -chroot -debug +ipv6 -kerberos -ldap -nocxx +pam (-selinux) -sftplogging -skey -smartcard -static +tcpd 834 kB [ebuild U ] sys-devel/m4-1.4.2-r1 [1.4.1] +nls 337 kB [ebuild U ] app-arch/gzip-1.3.5-r6 [1.3.5-r5] -build -debug +nls -pic -static 323 kB [ebuild U ] net-misc/wget-1.9.1-r3 [1.9-r2] -build -debug +ipv6 +nls -socks5 +ssl -static 1,300 kB [ebuild N] sys-libs/gdbm-1.8.3-r1 +berkdb -debug 223 kB [ebuild U ] dev-lang/perl-5.8.5-r5 [5.8.5-r4] +berkdb -debug -doc +gdbm* -ithreads -perlsuid (-uclibc) 11,651 kB [ebuild U ] sys-apps/diffutils-2.8.7-r1 [2.8.7] -debug +nls -static 1,037 kB [ebuild U ] sys-apps/hdparm-5.9 [5.7-r1] 38 kB [ebuild U ] dev-lang/python-2.3.5 [2.3.4-r1] +X* +berkdb -bootstrap -build -debug -doc +gdbm* +ipv6 +ncurses +readline +ssl -tcltk -ucs2 7,060 kB [ebuild U ] sys-devel/gnuconfig-20050223 [20040214] 34 kB [ebuild U ] sys-devel/gcc-config-1.3.10-r2 [1.3.8-r4] 0 kB [ebuild U ] sys-devel/gcc-3.3.5.20050130-r1 [3.3.5-r1] (-altivec) -bootstrap -boundschecking -build -debug +fortran* -gcj +gtk* -hardened -ip28 (-multilib) -multislot (-n32) (-n64) +nls -nocxx -objc -static (-uclibc) 23,639 kB Total size of downloads: 89,119 kB So, I would assume from this that the next step is to emerge grep, then emerge net-tools and all the rest in this order without any of the version stuff like '2.5.1-r7 [2.5.1-r6]'. With Thanks, Charles Krinke Charles, When you did the emerge sync did you see any addiitonal messages about updating your profile or did that happen when you were forst doing the install? I suspect it happened then and therefore your profile should be fine. I'm not an expert in profiles so for me that guess wasa stretch. As for proceeding with the emerge world operation I don't think there's any particular order you need to go in. The order shown is the was portage would handle it if you let it do it as one big group. I often opt for doing 5-10 packages instead of kicking off the world operation. In that case I'd do it in the order shown before: emerge -pv --newuse grep net-tools kbd binutils-config binutils Since you're new to Gentoo I'd look very carefully at the USE options being chosen for each package, most especially the nptl/nptlonly flags. It's best to get that stuff set up right very early on so that you do not need to rebuild the packages in just a few days when you decide to change some flags. you haven't said what the purpose of the machine is so I don't know how to recommend any flags. I will share that this is what's on my laptop if that's of any
Re: [gentoo-user] Users with access to shell!
[EMAIL PROTECTED] wrote: I have users accessing to the bash shell of my Gentoo Server, my question is: How can secure my server with this users accessing to shell? , How can I monitor this server to see what users have done? Is there available tools for that? I'd like to allow every user to access ONLY its home directory, I mean he only can work in his directory... This isn't a great situation, but the only thing I can think of that comes close is to use mandatory access controls, such as grsecurity's RBAC. -- [EMAIL PROTECTED]http://www.chemoelectric.org pgptgBvC178K6.pgp Description: PGP signature
[gentoo-user] Getting a core dump with apache2/mod_perl
I'm trying to track down my apache2 segfaults and the mod_perl guys are telling me I need to get my system to dump a core file for analysis. How can I do that? Should I re-emerge apache2 and apr with +debug? - Grant -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] How to display documents
Patrick Marquetecken wrote: The only access to my server is with a browser on port 8080. I assume it's running plain HTTP. Now from work i want to access read ... my documents/archive will zope we a solution for me, or schould i look for another. I have no idea what you want to say, but I assume you want to access your documents over this port. You could make a link from your htdocs to your documents, and enable FollowSymLinks and Indexes to that directory in your apache config. # ln -s /home/user/docs /var/www/localhost/htdocs/docs Directory /var/www/localhost/htdocs/docs Options Indexes FollowSymLinks AllowOverride None Order allow,deny Allow from all /Directory Note that this would mean all your documents accessible by anyone who is able to connect to your port 8080. Using htaccess password authentication won't help much if anybody could sniff your traffic. Christoph -- echo mailto: NOSPAM !#$.'*'|sed 's. ..'|tr * !#:2 [EMAIL PROTECTED] -- gentoo-user@gentoo.org mailing list
[gentoo-user] isdn4k-utils or how to get back my old ebuild
I emerged the isdn4k-utils on my new computer. I have the modules loaded ok I can dial ok,but no connection.No way to find out why. On my old computer it got it installed and working allright so I put the isdncard back in it.I can emerge on the new one through my homenetwork I installed for the occasion,but I want to get rid of the old computer. Well,that's my situation,now the question. The version of the new ebuild emerge used is isdn4k-utils-3.6_pre20041219-r1 and on the old one isdn4k-utils-3.2_p1-r2. I would like to install the old ebuild on my new computer(because I know I can get it to work)but if I do emerge =isdn4k-utils-3.2_p1-r2 it refuses.I tried to copy the old ebuild but made a mess of it.I think this is rather complicated. Anyone can help me? ciao -- jaap -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] isdn4k-utils or how to get back my old ebuild
Jaap van Geffen wrote: I emerged the isdn4k-utils on my new computer. I have the modules loaded ok I can dial ok,but no connection.No way to find out why. On my old computer it got it installed and working allright so I put the isdncard back in it.I can emerge on the new one through my homenetwork I installed for the occasion,but I want to get rid of the old computer. Well,that's my situation,now the question. The version of the new ebuild emerge used is isdn4k-utils-3.6_pre20041219-r1 and on the old one isdn4k-utils-3.2_p1-r2. I would like to install the old ebuild on my new computer(because I know I can get it to work)but if I do emerge =isdn4k-utils-3.2_p1-r2 it refuses.I tried to copy the old ebuild but made a mess of it.I think this is rather complicated. Old ebuilds are avaible from viewcvs: http://www.gentoo.org/cgi-bin/viewcvs.cgi/*checkout*/net-dialup/isdn4k-utils/isdn4k-utils-3.2_p1-r2.ebuild Copy it to /usr/portage/net-dialup/isdn4k-utils/ and run: # /usr/portage/net-dialup/isdn4k-utils/isdn4k-utils-3.2_p1-r2.ebuild digest # emerge isdn4k-utils-3.2_p1-r2 Christoph -- echo mailto: NOSPAM !#$.'*'|sed 's. ..'|tr * !#:2 [EMAIL PROTECTED] -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Apache2 SSL help
Ok, it looks like the new apache2 httpd.conf has these: Directory /var/www/localhost/htdocs Options Indexes FollowSymLinks AllowOverride None Order allow,deny Allow from all /Directory Directory / Options FollowSymLinks AllowOverride None /Directory Is that sufficient considering I serve everything from: /var/www/localhost/htdocs and: /var/www/localhost/htdocs/admin or should I make some changes? I would think the Gentoo devs set these up to be pretty safe. I did add this to the end of the file: Options -Indexes This switches off Directory Indexes which is probabl not what you want... I don't need anyone browsing around in my image directory. I think that's the only thing +Indexes would mean for me. I thought that was a really common config though. A long time ago I read that this would be a good apache config to add: Directory / AllowOverride None Order Deny,Allow Deny from all /Directory so I had it in there until it combined with the new Gentoo apache2 layout to 403 https pages. I don't want to expose my system but removing that block is the only way to make https work. Am I OK without it considering the defaults quoted above, or do I need something like it for security? - Grant -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] iptables
Sure I'd like to try your iptables executable, how can I get it? rgds gaco --- rob3 [EMAIL PROTECTED] escribió: pepe antartico wrote: thank's, I know it is rare, but I forgot to write that it's not the first time I recompile the kernel, I should've do it at least 8 or 9 times, and it only failed when iptables where added. After the crash I booted from the old kernel and compile it again whitout iptables,boot from the new bzImage, and everything was fine. ...very strange thing --- A. Khattri [EMAIL PROTECTED] escribió: On Wed, 11 May 2005, pepe antartico wrote: I have a very strange and annoying problem, please need help. I added iptables support and recompiled my kernel (is 2.6.11.7), then when rebooting, the startup sequence stops after 10 or 15 seconds and freezes in a blank screen. I tried recompiling the kernel with iptables as modules and got the same result. When booting from my old kernel everything is normal. I even tried several combinations compiling some options as modules an others within the kernel but when booting got stuck again. I really need help on this, any sugestions will be appreciated. iptables probably has nothing to do with this problem. Perhaps you have enabled the console framebuffer but it is the wrong chipset. My advice would be to disable all framebuffers until you get everything else working. You can always go back and fix that later. -- -- gentoo-user@gentoo.org mailing list _ Do You Yahoo!? Información de Estados Unidos y América Latina, en Yahoo! Noticias. Visítanos en http://noticias.espanol.yahoo.com Hi all, I have generated a reasonable general purpose iptables executable. You would only need to change eth0 if your internet comes through something different. It opens up ports 1024 and higher to in/out so that its not a pain to run p2p applications, etc. But it is a default block in/out file. Rob. -- gentoo-user@gentoo.org mailing list _ Do You Yahoo!? Información de Estados Unidos y América Latina, en Yahoo! Noticias. Visítanos en http://noticias.espanol.yahoo.com -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Naming servers on a network with one IP
On Thu, 2005-05-12 at 02:34 -0400, Calvin Spealman wrote: ive got a network question. i have a few machines on my local network, but only one IP. But, i don't intend to run all the server daemons on one box for long. i want to be able to address the different boxes by unique names from within the network sounds simple enough. so just give them each their own name within your network (a, b, c); and put it in /etc/hosts of each machine. Then put in /etc/hosts (or leave it up to the DNS) your external host name (x.com) which points to the router. eg /etc/hosts: 192.168.1.1 a 192.168.1.2 b 192.168.1.3 c 216.239.32.10 x.com your router forwards to each machine from the outside based on port. Each box thinks it is only called a, or b, or c, (or a.x.com if you like) but then configure the service on the box to think it is your outside name (x.com). eg in your apache.conf on machine a, you can say the hostname is x.com, in your postfix conf on machine b, you say the hostname is x.com. Internally, any machine can connect to a service on the virtual x.com, which goes to your router and back in to the correct machine (so long as your router is smart enough to do this without sending the traffic to your isp and back). Or, internally, you can connect to the correct machine, by just using a, b, or c, because you set it up and you know which is which. externally, all anyone knows about is x.com, which is listening on multiple ports. I did a similar thing at home with various services (I used to have 3 machines but I scaled back to 1!) HTH, -- Iain Buchanan [EMAIL PROTECTED] -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Gentoo unattended installation!
On Thu, 2005-05-12 at 08:34 -0500, [EMAIL PROTECTED] wrote: Is there some unattended installation (ISO's) of Gentoo available? I want to migrated to Gentoo my 21 servers, but, it's very difficult the installation of only one Gentoo Server... I mean, that you have to waste a lot of time in only one server, that's what I am looking for some installation using CDs (ISO's images) If they're similar (don't have to be identical) you can set up one box, and then just copy the filesystem to the others. Just create the same partitions on each box. (I use the gentoo live cd to boot the second machine, and copy over the network [make sure you do it as root on both sides to preserve permissions]; or alternatively, I've also taken out a hard drive and done a direct hd to hd copy.) All you have to do then on each machine is edit /etc/fstab (maybe), edit /boot/grub/grub.conf (maybe) and install grub. Reboot and you're away! It's not quite an unattended install, but the copy process can go for a while, which leaves you time to go and eat lunch or whatever. I've even set up a DVD with a copy of the filesystem on it, and it wouldn't be too much further from there to write your own install dvd. HTH, -- Iain Buchanan [EMAIL PROTECTED] -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Users with access to shell!
On Thu, 2005-05-12 at 08:34 -0500, [EMAIL PROTECTED] wrote: [stuff] apart from all the other great suggestions, another good trick is to mount the /home partition as noexec which stops users running apps they download and install locally. HTH, -- Iain Buchanan [EMAIL PROTECTED] -- gentoo-user@gentoo.org mailing list
[gentoo-user] gtk+ complie error... where do I start?
Hey everybody! Loving Gentoo! Trying to 'emerge mplayer' and the gtk+ package is complaining with Unpacking source... Unpacking gtk+-1.2.10.tar.gz to /var/tmp/portage/gtk+-1.2.10-r11/work * Applying gtk+-1.2.10-m4.patch ... [ ok ] * Applying gtk+-1.2.10-r8-gentoo.diff.bz2 ... [ ok ] * Applying gtk+-1.2-locale_fix.patch ... [ ok ] * Patching ${S}/ltmain.sh ... * Portage patch failed to apply (ltmain.sh version 1.3.4)! !!! ERROR: x11-libs/gtk+-1.2.10-r11 failed. !!! Function elibtoolize, Line 240, Exitcode 0 !!! Portage patch failed to apply! !!! If you need support, post the topmost build error, NOT this status message. Is this my problem or a bug? Can somebody please point me in the right direction? Any help is appreciated!!! Thanks! Charles -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] gtk+ complie error... where do I start?
Glad to see I'm not the only one having this problem, though I'm having it on gnome-print with a very slightly different output, (ltmain.sh version 1.3.5). Likewise I wouldn't mind finding the root of this, I just haven't had the time to dive into it. On 5/12/05, Charles Read [EMAIL PROTECTED] wrote: Hey everybody! Loving Gentoo! Trying to 'emerge mplayer' and the gtk+ package is complaining with Unpacking source... Unpacking gtk+-1.2.10.tar.gz to /var/tmp/portage/gtk+-1.2.10-r11/work * Applying gtk+-1.2.10-m4.patch ... [ ok ] * Applying gtk+-1.2.10-r8-gentoo.diff.bz2 ... [ ok ] * Applying gtk+-1.2-locale_fix.patch ... [ ok ] * Patching ${S}/ltmain.sh ... * Portage patch failed to apply (ltmain.sh version 1.3.4)! !!! ERROR: x11-libs/gtk+-1.2.10-r11 failed. !!! Function elibtoolize, Line 240, Exitcode 0 !!! Portage patch failed to apply! !!! If you need support, post the topmost build error, NOT this status message. Is this my problem or a bug? Can somebody please point me in the right direction? Any help is appreciated!!! Thanks! Charles -- gentoo-user@gentoo.org mailing list -- gentoo-user@gentoo.org mailing list
[gentoo-user] Strange disk behaviour
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi all: I discovered this while making emerge sync and getting some errors (as root): # tail /var/log/emerge-sync.log recv_generator: mkdir /usr/portage/dev-db/dybase failed: Permission denied stat /usr/portage/dev-db/dybase failed: Permission denied recv_generator: mkdir /usr/portage/dev-db/dybase/files failed: Permission denied stat /usr/portage/dev-db/dybase/files failed: Permission denied recv_generator: mkdir /usr/portage/dev-db/edb failed: Permission denied stat /usr/portage/dev-db/edb failed: Permission denied recv_generator: mkdir /usr/portage/dev-db/edb/files failed: Permission denied stat /usr/portage/dev-db/edb/files failed: Permission denied recv_generator: mkdir /usr/portage/dev-db/fastdb failed: Permission denied stat /usr/portage/dev-db/fastdb failed: Permission denied I try to view the permissions: # ls -l /usr/portage/dev-db/ ls: /usr/portage/dev-db/cdb: Permission denied ls: /usr/portage/dev-db/edb: Permission denied ls: /usr/portage/dev-db/dbdesigner: Permission denied ls: /usr/portage/dev-db/dbbalancer: Permission denied ls: /usr/portage/dev-db/fastdb: Permission denied ls: /usr/portage/dev-db/dybase: Permission denied total 5 drwxr-xr-x 3 root root 200 Apr 17 17:05 c-jdbc drwxr-xr-x 3 root root 240 Mar 1 16:07 firebird drwxr-xr-x 3 root root 168 Apr 24 05:05 firebird-docs drwxr-xr-x 3 root root 168 Jan 9 13:12 framerd drwxr-xr-x 3 root root 168 Jan 3 01:41 freecdb . [Cut the list here, the rest of files in that folder are listed OK] so I look at the kernel log and I found this messages: # tail /var/log/kernel/current May 13 01:36:03 [kernel] Additional sense: Unrecovered read error - - auto reallocate failed May 13 01:36:03 [kernel] ReiserFS: sda3: warning: vs-13070: reiserfs_read_locked_inode: i/o failure occurred trying to find stat data of [41312 41319 0x0 SD] May 13 01:36:05 [kernel] ata1: status=0x51 { DriveReady SeekComplete Error } - Last output repeated 4 times - May 13 01:36:10 [kernel] Additional sense: Unrecovered read error - - auto reallocate failed May 13 01:36:10 [kernel] ReiserFS: sda3: warning: vs-13070: reiserfs_read_locked_inode: i/o failure occurred trying to find stat data of [41312 41317 0x0 SD] May 13 01:36:11 [kernel] ata1: status=0x51 { DriveReady SeekComplete Error } - Last output repeated 4 times - May 13 01:36:17 [kernel] Additional sense: Unrecovered read error - - auto reallocate failed May 13 01:36:17 [kernel] ReiserFS: sda3: warning: vs-13070: reiserfs_read_locked_inode: i/o failure occurred trying to find stat data of [41312 41548 0x0 SD] May 13 01:36:18 [kernel] ata1: status=0x51 { DriveReady SeekComplete Error } - Last output repeated 4 times - May 13 01:36:23 [kernel] Additional sense: Unrecovered read error - - auto reallocate failed May 13 01:36:23 [kernel] ReiserFS: sda3: warning: vs-13070: reiserfs_read_locked_inode: i/o failure occurred trying to find stat data of [41312 41544 0x0 SD] I'm starting to feel this could be a physical issue with one or more of my hard discs but I'm not sure. Maybe has something to do with filesystem corruption? As you can see, I have one ReiserFS partition (sda3) where the system and portage tree are installed. I'm not really sure the file permissions problem is directly related with that kernel messages so I would appreciate to listen any of your advice before I go ahead with other major steps. Regards. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.0 (MingW32) iD8DBQFCg+15LeK4VQI4MkkRAnEvAJ90AUw3xLHVC0C7fpndrv40CQWocgCeLPbb CGWioYWdMlRaLMiZDc+zO20= =0Oy2 -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Gentoo unattended installation!
On Thu, 12 May 2005 08:34:58 -0500 [EMAIL PROTECTED] wrote: | Is there some unattended installation (ISO's) of Gentoo available? | | I want to migrated to Gentoo my 21 servers, but, it's very difficult | the installation of only one Gentoo Server... I mean, that you have to | waste a lot of time in only one server, that's what I am looking for | some installation using CDs (ISO's images) You can make your own using catalyst easily enough. I've done zero keypress sparc install images before now. -- Ciaran McCreesh : Gentoo Developer (Vim, Shell tools, Fluxbox, Cron) Mail: ciaranm at gentoo.org Web : http://dev.gentoo.org/~ciaranm pgprbb5hbJtmt.pgp Description: PGP signature
Re: [gentoo-user] Strange disk behaviour
On Friday 13 May 2005 01:58, Jose Manuel García wrote: I'm starting to feel this could be a physical issue with one or more of my hard discs but I'm not sure. Maybe has something to do with filesystem corruption? As you can see, I have one ReiserFS partition (sda3) where the system and portage tree are installed. I'm not really sure the file permissions problem is directly related with that kernel messages so I would appreciate to listen any of your advice before I go ahead with other major steps. so try reiserfsck and follow the instructions, or better, read the help page first. If this solves your prob, fine, of not, look for a new drive. Glück Auf Volker -- gentoo-user@gentoo.org mailing list
[gentoo-user] installing to VFAT partition
I'm looking at http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=1chap=2#doc_chap3 and have a few simple questions. currently I have a dual boot system, with fedora core 3 and windows 2000. will gentoo show the different partitions and ask which ones to install on? will it show VFAT, NTFS and ext3? thanks, Thufir -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] installing to VFAT partition
Gentoo doesn't ask you what to install anything on. you install Gentoo on the partition of your choice. You can, in practice, install Gentoo on any partition type supported by the installation kernel and run it from any partition type supported by your custom kernel. Hope this helps, Mark On 5/12/05, THUFIR HAWAT [EMAIL PROTECTED] wrote: I'm looking at http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=1chap=2#doc_chap3 and have a few simple questions. currently I have a dual boot system, with fedora core 3 and windows 2000. will gentoo show the different partitions and ask which ones to install on? will it show VFAT, NTFS and ext3? thanks, Thufir -- gentoo-user@gentoo.org mailing list -- gentoo-user@gentoo.org mailing list
[gentoo-user] hdparm HDIO_SET_DMA failed
Hello, I've been setting up hdparm on my systems and 3 out of 4 have returned this when trying to set DMA: HDIO_SET_DMA failed: Operation not permitted but subsequent attempts have executed without error. 'hdparm -i /dev/hda' does show the * character beside a udma mode in each instance. Does anyone know what that error is about? This is pretty minor really. - Grant -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] installing to VFAT partition
Mark Knecht wrote: Gentoo doesn't ask you what to install anything on. you install Gentoo on the partition of your choice. You can, in practice, install Gentoo on any partition type supported by the installation kernel and run it from any partition type supported by your custom kernel. A minor correction to what Mark said: vfat is fully supported by Linux (read, write, edit, create, etc. are all supported and implemented). You can't install onto a vfat partition though because the vfat/FAT32 filesystem does not have the appropriate permissions capabilities. If you have no filesystem preference, a good suggestion is to use Ext3 or ReiserFS. I prefer Ext3, for what it's worth... -- () The ASCII Ribbon Campaign - against HTML Email, /\ vCards, and proprietary formats. --- Peter A. Gordon (codergeek42) E-Mail: [EMAIL PROTECTED] GPG Public Key ID: 0x109DBECE GPG Key Fingerprint (SHA1): E485 E2F7 11CE F9B2 E3D9 C95D 208F B732 109D BECE Encrypted and/or Signed correspondence preffered. GPG Public Key available upon request or from pgp.mit.edu's public key server. --- signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] hdparm HDIO_SET_DMA failed
Grant wrote: HDIO_SET_DMA failed: Operation not permitted Does the kernel you built for those have support for the appropriate IDE controller chipset? You can get this information with `lspci | grep IDE'. (lspci is part of the sys-apps/pciutils package.) For example on my system I have a VIA 82CXXX IDE controller: :00:07.1 IDE interface: VIA Technologies, Inc. \ VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06) So I set CONFIG_BLK_DEV_VIA82CXXX=y in kernel configuration. For the 2.6 kernel series you should choose the appropriate option: Device Drivers - ATA/ATAPI/MFM/RLL support - Enhanced IDE/MFM/RLLdisk/cdrom/tape/floppy support - PCI IDE chipset support - Generic PCI bus-master DMA support - * Your IDE Controller chipset Hope that helps! -- () The ASCII Ribbon Campaign - against HTML Email, /\ vCards, and proprietary formats. --- Peter A. Gordon (codergeek42) E-Mail: [EMAIL PROTECTED] GPG Public Key ID: 0x109DBECE GPG Key Fingerprint (SHA1): E485 E2F7 11CE F9B2 E3D9 C95D 208F B732 109D BECE Encrypted and/or Signed correspondence preffered. GPG Public Key available upon request or from pgp.mit.edu's public key server. --- signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] installing to VFAT partition
On 5/12/05, Peter Gordon [EMAIL PROTECTED] wrote: Mark Knecht wrote: Gentoo doesn't ask you what to install anything on. you install Gentoo on the partition of your choice. You can, in practice, install Gentoo on any partition type supported by the installation kernel and run it from any partition type supported by your custom kernel. A minor correction to what Mark said: vfat is fully supported by Linux (read, write, edit, create, etc. are all supported and implemented). You can't install onto a vfat partition though because the vfat/FAT32 filesystem does not have the appropriate permissions capabilities. If you have no filesystem preference, a good suggestion is to use Ext3 or ReiserFS. I prefer Ext3, for what it's worth... Thanks Peter. While I know that VFAT permissions are far fewer it hadn't occurred to me that you actually couldn't do an install to VFAT due to those differences. (Not that I'd ever try, but it's good to know.) Cheers, Mark -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Setting up a route through a point-to-point interface
On 12/05/05, Jim Hatfield [EMAIL PROTECTED] wrote: {cut} ifconfig tun0 up mtu 1450 pointopoint route add -net 192.168.10.0/24 dev tun0 However I get a: SIOCADDRT: No such device which suggests that the tun device doesn't support the right ioctl variants. Has anyone done this? It's easy enough to do it using throw-away IP addresses for the two ends of the tunnel, but it's neater if they can be avoided. I'd try to use the iproute2 package for that: # ip route show 10.1.1.0/24 dev br0 proto kernel scope link src 10.1.1.2 127.0.0.0/8 via 127.0.0.1 dev lo scope link default via 10.1.1.1 dev br0 # ip route add 10.20.0.0/16 dev br0 # ip route show 10.1.1.0/24 dev br0 proto kernel scope link src 10.1.1.2 10.20.0.0/16 dev br0 scope link 127.0.0.0/8 via 127.0.0.1 dev lo scope link default via 10.1.1.1 dev br0 I guess that it should work the same for the other devices. Before adding routing you should bring the interface up: # ip link set tun0 up regards pshem -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] installing to VFAT partition
On Thu, 2005-05-12 at 23:23, Mark Knecht wrote: Thanks Peter. While I know that VFAT permissions are far fewer it hadn't occurred to me that you actually couldn't do an install to VFAT due to those differences. (Not that I'd ever try, but it's good to know.) There were some distros that would install on vfat, but as you would suspect, they aren't highly recommended and some actually cost money. I notice pfat linux (was that it's name) has disappeared and didn't Linspire install on vfat? Don't expect good results with any of these, though as I seldom saw any good reviews. -- Phil Our 2nd CD: http://www.cdbaby.com/naomisfancy Naomi's Fancy performances: http://naomisfancy.virtualave.net/schedule.html -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Re: nfs export/remote mount problem
On 5/12/05, Walter Dnes [EMAIL PROTECTED] wrote: On Tue, May 10, 2005 at 06:15:21PM -0700, Mark Knecht wrote So it seems like it's the Gentoo client over the network and not the Gentoo server that causes the slowdown? I had a similar situation with once with simply ftp-ing data between two machines at home. Try putting all your home machines in /etc/hosts on all your home machines. That may be a problem if the laptop gets a dynamic IP via dhcp. No, it's something more nefarious than that 1) All machines have the same hosts file. None of the machines are using dhcp. 2) The FC2 client logs into both Gentoo and FC2 hosts fast 3) The Gentoo client logs into both Gentoo and FC2 hosts slow Seems (to me) like it's the Gentoo client. I don't know where to look for any special messages. I've looked in dmesg and /var/log/messages. I do not see any warnings or errors on either the client or the host. I have not yet tried re-emerging with different flags but I'm sort of at that point now. Thanks, Mark -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] next step X
On 5/12/05, cfk [EMAIL PROTECTED] wrote: Well, I have gotten emerge -pv world to where there are no dependencies left. Great! At this point, before I do emerge kde, I tried 'startx' to see what would happen. X fails to start and complains that it cannot find any screens. It complains about framebuffer and related items. So this sounds like you might not have run the xorgconfig program and properly configured your system yet. See the Gentoo install docs for info on doing that. What I did yesterday was 'genkernel' with all defaults. The motherboard I am using is an Intel with the integrated i810 graphics device (Cayman2). So, at this point, I started off a 'make menuconfig' in /usr/src/linux with i810 support (experimental) and frame buffer support (experimental) along with including the ethernet driver in the kernel. I noticed SMP was enabled by default, and I disabled that. So, a 'make clean make bzimage make modules make modules_install make install' is currently going on. If you are using a 2.6 series kernel it's only make make modules_install Am I correct in hoping that will cause X to then start when I reboot tomorrow, or am I missing the boat somewhere along the lane. I think it's just the xorgconfig that you probably need to do. X will start (I hope) after you run that successfully. don't be surprised if X looks pretty bad when you do that but if you get a mouse cursor you're pretty much there. Good luck, Mark -- gentoo-user@gentoo.org mailing list