[gentoo-user] Routing with gentoo...
OK, I admit it, this is more of a Linux networking challenge, but it's one I want to resolve under gentoo. I have two network interfaces - eth0 and tun0 - and both are (somehow) connected to the internet. When I have eth0's IP address as my default route, all my traffic is sent out via my NAT enabled router and is associated with its dynamic IP address... however, while I can receive packets on the tun0 interface, replies are sent via eth0, and that means ping doesn't work and TCP connections to tun0's publicly accessible IP address fail. When I have tun0's IP address as my default route, all my traffic (inbound and outbound TCP connections) are routed over tun0... enabling the previously precluded inbound connections on tun0's publicly accessible IP address, but which is an unnecessarily inefficient use of the (more expensive) tun0 interface for outbound connections. What I really want is for eth0 to be used all the time, except for packets associated with TCP streams that connected from remote hosts to tun0's public facing IP address - when tun0 must be used. I don't need/want to support UDP or other protocols communicating via tun0 - and TCP connections to tun0 will only arrive on a handful of ports which I can determine up front. Should I be using IPTables for this, and - if so - is there a howto addressing this scenario? Is there a better approach than IPTables?
Re: [gentoo-user] Routing with gentoo...
On 17/06/2010 5:03 PM, Steve wrote: OK, I admit it, this is more of a Linux networking challenge, but it's one I want to resolve under gentoo. I have two network interfaces - eth0 and tun0 - and both are (somehow) connected to the internet. When I have eth0's IP address as my default route, all my traffic is sent out via my NAT enabled router and is associated with its dynamic IP address... however, while I can receive packets on the tun0 interface, replies are sent via eth0, and that means ping doesn't work and TCP connections to tun0's publicly accessible IP address fail. When I have tun0's IP address as my default route, all my traffic (inbound and outbound TCP connections) are routed over tun0... enabling the previously precluded inbound connections on tun0's publicly accessible IP address, but which is an unnecessarily inefficient use of the (more expensive) tun0 interface for outbound connections. What I really want is for eth0 to be used all the time, except for packets associated with TCP streams that connected from remote hosts to tun0's public facing IP address - when tun0 must be used. I don't need/want to support UDP or other protocols communicating via tun0 - and TCP connections to tun0 will only arrive on a handful of ports which I can determine up front. Should I be using IPTables for this, and - if so - is there a howto addressing this scenario? Is there a better approach than IPTables? Check out iproute * sys-apps/iproute2 Latest version available: 2.6.31 Latest version installed: 2.6.31 Size of files: 363 kB Homepage: http://www.linuxfoundation.org/collaborate/workgroups/networking/iproute2 Description: kernel routing and traffic control utilities License: GPL-2 This will allow you to control the flow of packets, so packets from Interface 1 will go back out the same interface. This is used in conjunction with iptables, as iptables is the firewall, and iproute is the packet classifyer/handler I was using this when I had 2 Internet accounts, a slow speed ADSL with static IP, and a cable BB one for the usual stuff (dynamic IP)
Re: [gentoo-user] wammu error
On 06/16/2010 09:37 PM, James wrote: hello, I'm trying to get gammu to connect to a motorola razor phone under gentoo (kde4). lsusb shows: Bus 002 Device 008: ID 22b8:2b44 Motorola PCS I get this message when using the guided part of the wizard for initial setup: Error opening device You don't have permissions for /dev/bus/usb/002 Maybe you need to be member of the root group I'm in the many groups including but not limited to: wheel, tty, usb End of dmesg files shows: usb 2-7: new full speed USB device using ohci_hcd and address 7 usb 2-7: configuration #1 chosen from 1 choice usb 2-7: USB disconnect, address 7 usb 2-7: new full speed USB device using ohci_hcd and address 8 usb 2-7: configuration #1 chosen from 1 choice upon connecting and disconnecting usb to cell phone. ls shows /dev/bus/usb/002 crw-rw-r-- 1 root usb 189, 128 Jun 8 23:54 001 crw-rw-r-- 1 root usb 189, 129 Jun 8 23:54 002 crw-rw-r-- 1 root usb 189, 130 Jun 8 23:54 003 crw-rw-r-- 1 root usb 189, 131 Jun 8 23:54 004 crw-rw-r-- 1 root usb 189, 135 Jun 16 15:35 008 So what's the deal? Suggests on this or another software package to access the motorola razor cell phone is appreciated. suggestions? James How was the device node chosen? It appears there is no device connected to /dev/bus/usb/002, but rather /dev/bus/usb/008. Although the software reports a permissions issue, perhaps the problem is related to a bad choice of device node? Hope that helps, Carlos
Re: [gentoo-user] (dual) booting windows kills the ethernet device for linux
Allan Gottlieb writes: The machine seems to have two hardware states determined by whether windows has been run since power on. I _think_ I read about such a problem ages ago, and there was a workaround. Either in the BIOS, or in Windows, some Wake-On-LAN option. If activated, Windows would not shut down the device, so Wake-On-LAN will continue to work. My memory on this is vague, but it might be worth a try to look into that. Wonko
Re: [gentoo-user] Boot hangs after install, no error
Jake, Jake Moe jakesaddr...@gmail.com writes: I've just completed a fresh Gentoo installation on a new laptop, and strangely, after I choose the entry from the Grub screen, all I get is: Booting `Gentoo Linux 2.6.32-r7` root (hd0,1) Filesystem type is ext2fs, partition type 0x83 kernel /kernel-2.6.32-gentoo-r7 root=/dev/sda4 [Linux-bzImage, setup=0x3000, size=0x1ab020] It then sits there. No error, no other messages. The hard drive light stops, and the Num Lock and Caps Lock keys don't respond. If I press the power button, it immediately turns off. The laptop is a HP 8440p and I've installed amd64. I've followed the install guide, and the hard drive has Windows, EXT2 /boot, swap, EXT3 / on it. I've compiled EXT2, EXT3 and SATA AHCI into the kernel. Does anyone have any idea what I've forgotten or missed? If you need more info, let me know. Thanks for any help you can give. I had a similar problem about 6 weeks or so ago. It turned out that the hardware (a Dell Optiplex 320) and Grub were incompatible in some way. I installed Lilo instead, and everything now works fine. So, try searching on your specific hardware to see if this is a known problem. Roger
Re: [gentoo-user] Re: User password scanning on pop3
Does anyone know how to block, or auto programs in Gentoo to limit or stop people scanning for a user/password hacking on your firewall? fail2ban
[gentoo-user] turn on wifi enables also bluetooth
Hello, I have Dell Latitude E4300 notebook where the wifi and bluetooth (BT) is turned on by one HW switch. So, on windows if the switch is turned on there is possible to turn off one of these devices (from windows try stop the device). Is there something similar in Linux? Some application which is opened right after turning on of the switch and the application allow me to choose to turn on wifi or bt or both? Or is there a script which can be used to turn of the device even if the switch is on? In common I don't want to turn on BT when using wifi and vice versa. Thanks to all for help Pat Freehosting PIPNI - http://www.pipni.cz/
Re: [gentoo-user] KDE? Get me out of here!
Before you read specific answers below, you may want to check: $ echo $XDG_DATA_DIRS /usr/local/share:/usr/share in your logs is shows: Environment variable XDG_DATA_DIRS is set to '/usr/share:/usr/local/share:/usr/share' Why is /usr/share in there twice? Could this mess things up? On 17 June 2010 00:23, Alex Schuster wo...@wonkology.org wrote: [snip ...] Mick wrote: On Tuesday 09 March 2010 20:12:09 Alex Schuster wrote: - Kontact. The old address book I had imported fro KDE 3.5 half a year ago showed one address book and many std.vcf (or similar) files, with my data scattered on them. I moved all stuff into the address book, and did not use it for a while Now I wanted to do so, but it did not run due to an error with akonadi. Did you try to create a local resource using your systemsettings and point it to the local KDE3.5 contacts file? If you restart the address book, then akonadi will kick in a carry out the migration - if it does not succeed it will tell you so. In that case you may need to fix things manually (I've posted how in an older thread of mine, where I managed to make akonadi to succeed in its migration from a local resource file using sqlite - I don't have mysql in this box. Let me know if you can't find it.) I just tried that. I first added a dir-resource, as there are several .vcf files in my .kde3.5/share/appes/kabc directory. BTW, I had to copy that directory, as the file chooser did not show directories starting with a dot. Nothing happened when I restarted kontact. I did the same with a file- resource, when I noticed that all the .vcf files were identical. Again, nothing happened. But: There are errors when akonadi is starting up during login. I think it did not do this when I wrote the last mail, but probably this is the problem now for the migration does not work. I attached the error parts of the log. Can you run /etc/init.d/dbus restart before you try again? Your akonadi log complains about dbus (amidst other things). And I looked for your posting, and searched all of my gentoo-user archive, but somehow I did not find it. If you think it would help in my case, and if you still have it at hand, it would be nice if you could direct me to it (the subject would be enough). http://article.gmane.org/gmane.linux.gentoo.user/224044 but this was about me being able to run the akonadi migration without having to install mysql. I used sqlite instead. Have a look at the file I refer to anyway, just in case something is amiss in there. I tried to figure out what this was, and how to get the error message in English, but then I found out that I only have to restart kontact. Fine, now I want to add a contact. First, when I want to edit the location, the country is set to Afghanistan, I always have to change this to Germany. Annoying, why is this so, who would want this behaviour, except for Afghans perhaps. Have you tried to set up your locale in systemsettings to Germany? Yes, it's set like that. Have you set up your local timezone in /etc/conf.d/clock, in case this affects it? - Dolphin can do FTP, but I have to repeat the login process several times until I see the destination files. I've also noticed an error when I try to connect with ftp saying that the connection failed, but then if I click on reload it connects fine. Works sometimes, and sometimes not. Also, sometimes the content is not updated when I dragged files via FTP. Other current dolphin problems: - Opens maximized horizontally every time, except at session startup. - The sorting is strange sometimes: Foo-1.srt, Foo-2.avi, Foo-1.avi, Foo-2.srt - When the KDE session comes up, all dolphins have the same view. I'd like one of them to have a different view, but when I do this, next time the session comes up all dolphins will have this view, too. There is an option to remember every folder's view, but every time I open a new folder, it opens in symbol view first, not in the current view of the upper folder. These could all be bugs with dolphin. I've had different problems with it on 3 Gentoo boxen + 1 Ubuntu. - Of course, Amarok keeps doing weird things. At least I can play music from my collection. But playing a stream sometimes crashes it. And dragging files into Amarok always leads to a crash. Yeah, I know, Amarok is not KDE. Given up on that long ago (and sadly have not found a nice replacement which won't pull in the whole of Gnome or worse) It's getting better. It's more stable, and startup time is now 30 seconds instead of 7 minutes. Have you tried clementine? It has the look of Amarok. I had a go at Clementine, but if I recall correctly it wasn't friendly with shoutcast streams. But at least one bug was fixed, I got a mail from bugzilla about this today. It's the bug that makes password dialogs not work if the password is to be displayed as three bullets. Wow, nearly two months after it had been reported, this serious bug
Re: [gentoo-user] turn on wifi enables also bluetooth
On 17 June 2010 13:43, pat p...@xvalheru.org wrote: Hello, I have Dell Latitude E4300 notebook where the wifi and bluetooth (BT) is turned on by one HW switch. So, on windows if the switch is turned on there is possible to turn off one of these devices (from windows try stop the device). Is there something similar in Linux? Some application which is opened right after turning on of the switch and the application allow me to choose to turn on wifi or bt or both? Or is there a script which can be used to turn of the device even if the switch is on? In common I don't want to turn on BT when using wifi and vice versa. Emerge net-wireless/rfkill and check if there are different switches for your bt (there should be at least one device for the wireless). Alternatively, if you would rather 'switched off' control of wifi/bt at a software level you could run: /etc/init.d/bluetooth stop -- Regards, Mick
Re: [gentoo-user] Re: Unable to emerge kdebase/kfilereplace-4.3.5
On 06/16/2010 05:33 PM, walt wrote: On 06/16/2010 02:29 PM, Thomas Revell wrote: Hi everyone, I've got a bit of a problem with a new Gentoo install that I'm currently trying to install KDE on. The installation of kdebase/kfilereplace-4.3.5 is failing, apparently due to a missing header file in its sources. snip [ 11%] [34m[1mGenerating koptionsdlgs.h snip [0mmoc: /var/tmp/portage/kde-base/kfilereplace-4.3.5/work/kfilereplace-4.3.5_build/kfilereplace/koptionsdlgs.h: No such file I have no idea what's going wrong, but I'm willing to make suggestions anyway :) I have no better suggestion than to change your ricer CFLAGS and see if -O2 -pipe -march=core2 works first. Especially since you have: -mno-align-stringops -minline-stringops-dynamically and kfilereplace.cpp:37 warns about QStringList and further along, it creates kaddstringdlgs.h. BTW, -march=core2 implies -mmmx -msse -msse2 and -msse3 (and -mssse3).
[gentoo-user] Can't boot into X
First, I looked in the archives and didn't find anything relevant - could be my stupidity, but I did try! About 6 days ago, I updated my system and since then, I can't boot into X. My nvidia driver loads okay and it looks like it is going to start X, but then reverts to the command line. I've been sick and haven't really been able to follow this up. Also note that I can't provide any output because I am, obviously, not on my computer. Details are as follows: From my kdm log the last few lines are as follows: (EE) Failed to load module dri (module does not exist, 0) (EE) Failed to load module dri2 (module does not exist, 0) /usr/lib/kde4/libexec/kdm_greet: error while loading shared libraries: libpng12.so.0: cannot open shared object file: No such file or directory I don't have a dri USE flag in my make.conf file The dri line in my xorg.conf file exists, but it is commented I do not build dri into my kernel Yesterday, I decided to try another update to see if there was an ebuild that might have corrected whatever the problem was On attempting to upgrade gtk+, it fails and I get told to run: emerge --info =x11-libs/gtk+-2.18.9 When I do that, there is a USE line which includes dri and I'm not sure where that is being pulled from unless it is global because as stated previously, I don't have a dri USE flag in my make.conf or an active line in my xorg.conf file. Regarding libpng - on my first upgrade 6 days ago, I removed libpng prior to doing the update because the updated libpng file was being blocked by the existing one. I don't know if this makes a difference. Any advice on how to fix this? Regards, Colleen
Re: [gentoo-user] Can't boot into X
The dri messages are normal for nvidia. Run revdep-rebuild to fix the png issue. On 17 Jun 2010 5:59 PM, Colleen Beamer colleen.bea...@gmail.com wrote: First, I looked in the archives and didn't find anything relevant - could be my stupidity, but I did try! About 6 days ago, I updated my system and since then, I can't boot into X. My nvidia driver loads okay and it looks like it is going to start X, but then reverts to the command line. I've been sick and haven't really been able to follow this up. Also note that I can't provide any output because I am, obviously, not on my computer. Details are as follows: From my kdm log the last few lines are as follows: (EE) Failed to load module dri (module does not exist, 0) (EE) Failed to load module dri2 (module does not exist, 0) /usr/lib/kde4/libexec/kdm_greet: error while loading shared libraries: libpng12.so.0: cannot open shared object file: No such file or directory I don't have a dri USE flag in my make.conf file The dri line in my xorg.conf file exists, but it is commented I do not build dri into my kernel Yesterday, I decided to try another update to see if there was an ebuild that might have corrected whatever the problem was On attempting to upgrade gtk+, it fails and I get told to run: emerge --info =x11-libs/gtk+-2.18.9 When I do that, there is a USE line which includes dri and I'm not sure where that is being pulled from unless it is global because as stated previously, I don't have a dri USE flag in my make.conf or an active line in my xorg.conf file. Regarding libpng - on my first upgrade 6 days ago, I removed libpng prior to doing the update because the updated libpng file was being blocked by the existing one. I don't know if this makes a difference. Any advice on how to fix this? Regards, Colleen
Re: [gentoo-user] Can't boot into X
Colleen Beamer writes: First, I looked in the archives and didn't find anything relevant - could be my stupidity, but I did try! Fine :) From my kdm log the last few lines are as follows: (EE) Failed to load module dri (module does not exist, 0) (EE) Failed to load module dri2 (module does not exist, 0) I have this too, when using ati-drivers. I think the nvidia-drivers also have their own dri, so this is okay. /usr/lib/kde4/libexec/kdm_greet: error while loading shared libraries: libpng12.so.0: cannot open shared object file: No such file or directory [...] Regarding libpng - on my first upgrade 6 days ago, I removed libpng prior to doing the update because the updated libpng file was being blocked by the existing one. I don't know if this makes a difference. This is the problem. /usr/lib/kde4/libexec/kdm_greet links to libpng12.so.0, which you removed. It needs to be rebuilt so it links against libpng14.so.0. A simple emerge -1 kde-base/kdm should solve this. Use ldd /usr/lib/kde4/libexec/kdm_greet to verify this, there should be no 'not found' entries. Better use revdep-rebuild, there might be many other things that are still linked to the old libpng. You could also try to emerge media-libs/libpng:1.2, this will install the old libpng in parallel. At least I do have both on my system, but my kdm inks to 1.4. If the revdep-rebuild list is very long, maybe you can get a working system faster this way. Wonko
Re: [gentoo-user] turn on wifi enables also bluetooth
On Thu, Jun 17, 2010 at 02:43:15PM +0200, pat wrote: I have Dell Latitude E4300 notebook where the wifi and bluetooth (BT) is turned on by one HW switch. So, on windows if the switch is turned on there is possible to turn off one of these devices (from windows try stop the device). Is there something similar in Linux? Some application which is opened right after turning on of the switch and the application allow me to choose to turn on wifi or bt or both? Or is there a script which can be used to turn of the device even if the switch is on? Try net-wireless/rfkill You may need to have kernel support compiled (CONFIG_RFKILL, if I remember right). It also depends on rfkill support to have been coded into the drivers for your bluetooth and/or wifi devices. Cheers, W -- Willie W. Wong ww...@math.princeton.edu Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire et vice versa ~~~ I. Newton
Re: [gentoo-user] (dual) booting windows kills the ethernet device for linux
At Thu, 17 Jun 2010 11:27:38 +0200 Alex Schuster wo...@wonkology.org wrote: Allan Gottlieb writes: The machine seems to have two hardware states determined by whether windows has been run since power on. I _think_ I read about such a problem ages ago, and there was a workaround. Either in the BIOS, or in Windows, some Wake-On-LAN option. If activated, Windows would not shut down the device, so Wake-On-LAN will continue to work. My memory on this is vague, but it might be worth a try to look into that. Thanks. I just looked and the google hits I looked were about trouble recovering from hibernation. thanks again, allan
[gentoo-user] Re: wammu error
Carlos skyclan at gmx.net writes: End of dmesg files shows: usb 2-7: new full speed USB device using ohci_hcd and address 7 usb 2-7: configuration #1 chosen from 1 choice usb 2-7: USB disconnect, address 7 usb 2-7: new full speed USB device using ohci_hcd and address 8 usb 2-7: configuration #1 chosen from 1 choice this shows several connection/disconnection cycles with address either /002/007 or .../002/008 crw-rw-r-- 1 root usb 189, 128 Jun 8 23:54 001 crw-rw-r-- 1 root usb 189, 129 Jun 8 23:54 002 crw-rw-r-- 1 root usb 189, 130 Jun 8 23:54 003 crw-rw-r-- 1 root usb 189, 131 Jun 8 23:54 004 crw-rw-r-- 1 root usb 189, 135 Jun 16 15:35 008 These devices have the absolute path of /dev/bus/usb/002/001,002,003,005 or 008 How was the device node chosen? It appears there is no device connected to /dev/bus/usb/002, but rather /dev/bus/usb/008. see above Although the software reports a permissions issue, perhaps the problem is related to a bad choice of device node? I did nothing to create a device node. Kernel config issue? Custom udev rule? dbus trickery? Hal mystery (need dale on this one) Dunno, that's why I posted, as to guidance on using a motorola (razor) phone with wammu, gammu or any other cell based software that works reasonably well with gentoo, are all valid snippets of information, of keen interest to me. James
[gentoo-user] Re: Can't boot into X
Colleen Beamer colleen.beamer at gmail.com writes: First, I looked in the archives and didn't find anything relevant - could be my stupidity, but I did try!About 6 days ago, I updated my system and since then, I can't boot into X. emerge -1 `qlist -I -C x11-drivers` is always a quick test? (shooting from hip, blindly) hth, James
Re: [gentoo-user] Re: Can't boot into X
James wrote: Colleen Beamercolleen.beamerat gmail.com writes: First, I looked in the archives and didn't find anything relevant - could be my stupidity, but I did try!About 6 days ago, I updated my system and since then, I can't boot into X. emerge -1 `qlist -I -C x11-drivers` is always a quick test? (shooting from hip, blindly) hth, James Since this is a common problem, create a set with those packages in it and then just rebuild the set. This is my set up: /etc/portage/sets/xorg-drivers Which contains the following packages: r...@smoker-new / # cat /etc/portage/sets/xorg-drivers x11-drivers/nvidia-drivers x11-drivers/xf86-input-evdev x11-drivers/xf86-input-keyboard x11-drivers/xf86-input-mouse x11-drivers/xf86-video-nv r...@smoker-new / # This way you don't have to remember the command to list them but just re-emerge the set. Your packages may differ so don't copy mine exactly. May not fix the current issue but may be handy in the future. Dale :-) :-)
Re: [gentoo-user] Re: wammu error
James wrote: Carlosskyclanat gmx.net writes: End of dmesg files shows: usb 2-7: new full speed USB device using ohci_hcd and address 7 usb 2-7: configuration #1 chosen from 1 choice usb 2-7: USB disconnect, address 7 usb 2-7: new full speed USB device using ohci_hcd and address 8 usb 2-7: configuration #1 chosen from 1 choice this shows several connection/disconnection cycles with address either /002/007 or .../002/008 crw-rw-r-- 1 root usb 189, 128 Jun 8 23:54 001 crw-rw-r-- 1 root usb 189, 129 Jun 8 23:54 002 crw-rw-r-- 1 root usb 189, 130 Jun 8 23:54 003 crw-rw-r-- 1 root usb 189, 131 Jun 8 23:54 004 crw-rw-r-- 1 root usb 189, 135 Jun 16 15:35 008 These devices have the absolute path of /dev/bus/usb/002/001,002,003,005 or 008 How was the device node chosen? It appears there is no device connected to /dev/bus/usb/002, but rather /dev/bus/usb/008. see above Although the software reports a permissions issue, perhaps the problem is related to a bad choice of device node? I did nothing to create a device node. Kernel config issue? Custom udev rule? dbus trickery? Hal mystery (need dale on this one) Dunno, that's why I posted, as to guidance on using a motorola (razor) phone with wammu, gammu or any other cell based software that works reasonably well with gentoo, are all valid snippets of information, of keen interest to me. James I still have hal on here just not for my keyboard and mouse. I did run into a rules problem one time a good while back, printer I think or maybe my camera. I removed all the rules and then re-emerged hal. I then restarted hal and things worked fine. If you use KDE, I would log out and back in just in case. I would copy them to another location instead of deleting them tho. You may have one that you need or need to reference back to, in case it is a bug and you want to report it or something. Hope that helps. Dale :-) :-)
Re: [gentoo-user] Can't boot into X
On Thursday 17 June 2010 17:54:35 Alex Schuster wrote: Colleen Beamer writes: First, I looked in the archives and didn't find anything relevant - could be my stupidity, but I did try! Fine :) From my kdm log the last few lines are as follows: (EE) Failed to load module dri (module does not exist, 0) (EE) Failed to load module dri2 (module does not exist, 0) I have this too, when using ati-drivers. I think the nvidia-drivers also have their own dri, so this is okay. /usr/lib/kde4/libexec/kdm_greet: error while loading shared libraries: libpng12.so.0: cannot open shared object file: No such file or directory [...] Regarding libpng - on my first upgrade 6 days ago, I removed libpng prior to doing the update because the updated libpng file was being blocked by the existing one. I don't know if this makes a difference. This is the problem. /usr/lib/kde4/libexec/kdm_greet links to libpng12.so.0, which you removed. It needs to be rebuilt so it links against libpng14.so.0. A simple emerge -1 kde-base/kdm should solve this. Use ldd /usr/lib/kde4/libexec/kdm_greet to verify this, there should be no 'not found' entries. Better use revdep-rebuild, there might be many other things that are still linked to the old libpng. You could also try to emerge media-libs/libpng:1.2, this will install the old libpng in parallel. At least I do have both on my system, but my kdm inks to 1.4. If the revdep-rebuild list is very long, maybe you can get a working system faster this way. media-libs/libpng-1.4.2 is still ~amd64 and ~x86, so there shouldn't be a need to emerge it at this stage. Alex's suggestion to emerge -1aDv kde-base/kdm will most likely fix your problem and you can run revdep-rebuild afterwards for good measure. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Cannot copy directories into webdav
On Monday 14 June 2010 03:22:23 Walter Dnes wrote: On Sun, Jun 13, 2010 at 04:06:26PM +0100, Mick wrote Any idea what I'm missing here? The directory I am trying to write into is owned by apache: What user are you when trying to write into the directory? fred, as I have defined in the configuration file: Require user fred -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Re: Unable to emerge kdebase/kfilereplace-4.3.5
On Thu, Jun 17, 2010 at 08:02:25AM -0700, Bill Longman wrote On 06/16/2010 05:33 PM, walt wrote: On 06/16/2010 02:29 PM, Thomas Revell wrote: Hi everyone, I've got a bit of a problem with a new Gentoo install that I'm currently trying to install KDE on. The installation of kdebase/kfilereplace-4.3.5 is failing, apparently due to a missing header file in its sources. snip [ 11%] [34m[1mGenerating koptionsdlgs.h snip [0mmoc: /var/tmp/portage/kde-base/kfilereplace-4.3.5/work/kfilereplace-4.3.5_build/kfilereplace/koptionsdlgs.h: No such file I have no idea what's going wrong, but I'm willing to make suggestions anyway :) I have no better suggestion than to change your ricer CFLAGS and see if -O2 -pipe -march=core2 works first. Especially since you have: -mno-align-stringops -minline-stringops-dynamically and kfilereplace.cpp:37 warns about QStringList and further along, it creates kaddstringdlgs.h. BTW, -march=core2 implies -mmmx -msse -msse2 and -msse3 (and -mssse3). Even better is -march=native, and let the compiler figure out what features are available/safe. I use the following... CFLAGS=-O2 -march=native -mfpmath=sse -fomit-frame-pointer -pipe If you're building 64-bit Gentoo, the -mfpmath=sse gets picked up by -march=native and you can drop the explicit mention. And you wouldn't believe how many weird build problems are solved by... MAKEOPTS=-j1 ...even on multi-core cpus. The *BUILD PROCESS* is a bit slower, but the final binary is identical with -j8 or whatever. And the time you save by a faster build in a tty will be lost the first time you start bashing your head into a brick wall over some weird build problem. -- Walter Dnes waltd...@waltdnes.org
[gentoo-user] Trying to expunge virtualbox
Just recently switched to a backup machine and I notice the following. Some time ago, I had tried Virtualbox, and uninstalled it. I still get the following as the final 2 lines of the bootup process... * Starting VirtualBox kernel module ... * modprobe vboxdrv failed. Please use 'dmesg' to find out why - I've tried dmesg | grep -i box, and it shows nothing. - emerge -pv --depclean | grep -i box only hits on busybox, dosbox, and sandbox - There is no mention of vboxdrv in /etc/modules.autoload.d/kernel-2.6 or in /var/lib/portage/world or in /etc/conf.d/local.start Any more ideas? -- Walter Dnes waltd...@waltdnes.org
Re: [gentoo-user] Trying to expunge virtualbox
On Thu, 17 Jun 2010 21:03:45 -0400 Walter Dnes wrote: Just recently switched to a backup machine and I notice the following. Some time ago, I had tried Virtualbox, and uninstalled it. I still get the following as the final 2 lines of the bootup process... * Starting VirtualBox kernel module ... * modprobe vboxdrv failed. Please use 'dmesg' to find out why - I've tried dmesg | grep -i box, and it shows nothing. - emerge -pv --depclean | grep -i box only hits on busybox, dosbox, and sandbox - There is no mention of vboxdrv in /etc/modules.autoload.d/kernel-2.6 or in /var/lib/portage/world or in /etc/conf.d/local.start Any more ideas? Have you looked in /etc/mod*.conf and /etc/mod*.d/* ??
Re: [gentoo-user] Boot hangs after install, no error
On 17/06/10 20:38, Roger Mason wrote: Jake, Jake Moe jakesaddr...@gmail.com writes: I've just completed a fresh Gentoo installation on a new laptop, and strangely, after I choose the entry from the Grub screen, all I get is: Booting `Gentoo Linux 2.6.32-r7` root (hd0,1) Filesystem type is ext2fs, partition type 0x83 kernel /kernel-2.6.32-gentoo-r7 root=/dev/sda4 [Linux-bzImage, setup=0x3000, size=0x1ab020] It then sits there. No error, no other messages. The hard drive light stops, and the Num Lock and Caps Lock keys don't respond. If I press the power button, it immediately turns off. The laptop is a HP 8440p and I've installed amd64. I've followed the install guide, and the hard drive has Windows, EXT2 /boot, swap, EXT3 / on it. I've compiled EXT2, EXT3 and SATA AHCI into the kernel. Does anyone have any idea what I've forgotten or missed? If you need more info, let me know. Thanks for any help you can give. I had a similar problem about 6 weeks or so ago. It turned out that the hardware (a Dell Optiplex 320) and Grub were incompatible in some way. I installed Lilo instead, and everything now works fine. So, try searching on your specific hardware to see if this is a known problem. Roger I had tried to see if there was anything special about the hardware, but couldn't find anything. I'm still of the opinion that it's something to do with the kernel, but I've given up on amd64 (I'm not sure if I've had an amd64 Gentoo PC before) and switched back to x86, and other than forgetting SCSI disk support in the kernel for my SATA disk (which I *always* do, why can't they make SCSI disk support a requirement for SATA AHCI support?), the install went smoothly. The only other thing of note is that I seem to need to use the unstable ndivia-drivers (195.36.24), as the latest stable one (190.42-r3) produced flickering garbage on my screen when I went into X. Thanks for trying to those that did. Jake Moe
Re: [gentoo-user] Boot hangs after install, no error
On Fri, 2010-06-18 at 13:54 +1000, Jake Moe wrote: I had tried to see if there was anything special about the hardware, but couldn't find anything. I'm still of the opinion that it's something to do with the kernel, but I've given up on amd64 (I'm not sure if I've had an amd64 Gentoo PC before) and switched back to x86, and other than forgetting SCSI disk support in the kernel for my SATA disk (which I *always* do, why can't they make SCSI disk support a requirement for SATA AHCI support?), the install went smoothly. The only other thing of note is that I seem to need to use the unstable ndivia-drivers (195.36.24), as the latest stable one (190.42-r3) produced flickering garbage on my screen when I went into X. Thanks for trying to those that did. Jake Moe Did you compile your own kernel or use genkernel? Did you try using the same kernel config as the live cd (assuming that the livecd boots fine)? -a
Re: [gentoo-user] Boot hangs after install, no error
On 18/06/10 14:05, Albert Hopkins wrote: On Fri, 2010-06-18 at 13:54 +1000, Jake Moe wrote: I had tried to see if there was anything special about the hardware, but couldn't find anything. I'm still of the opinion that it's something to do with the kernel, but I've given up on amd64 (I'm not sure if I've had an amd64 Gentoo PC before) and switched back to x86, and other than forgetting SCSI disk support in the kernel for my SATA disk (which I *always* do, why can't they make SCSI disk support a requirement for SATA AHCI support?), the install went smoothly. The only other thing of note is that I seem to need to use the unstable ndivia-drivers (195.36.24), as the latest stable one (190.42-r3) produced flickering garbage on my screen when I went into X. Thanks for trying to those that did. Jake Moe Did you compile your own kernel or use genkernel? Did you try using the same kernel config as the live cd (assuming that the livecd boots fine)? -a No, I was tempted to try genkernel, but again, OCD got the best of me; I like Gentoo because I tell it what I want and need, and it does that and nothing else. Genkernel, in my understand, does everything (and apparently does it pretty well), but it means that it's bigger than it needs to be. Plus, I hadn't gotten a reply back in a while, and I'm limited on time with this laptop, so I went back to that which I know better. And I thought the Live CD used genkernel; I thought that was where genkernel came from in the first place? Is it different? Jake Moe