Re: [gentoo-user] Duplicate Flash drive
Am Sonntag 13 September 2009 04:32:43 schrieb James: I guess I should use 'dd' to copy the entire contents of one CF drive to another? Any example syntax with dd is welcome. What about man dd? Should I keep a machine around to run fdisk on a new CF module, or is there a way, I can just plug the CF module into a reader/writer and burn the image onto the CF module directly, and not have to use fdisk to format first? No, just use dd. What about grub and the mbr. Will dd copy over all of that information, or do I have to run grub (grub install) manually to ensure the MBR is set properly. If you create an image of your entire device, then no. However, you will loose the ability to mount and modify the image. But you could easily write a small script for writing the MBR. I've never done this, but I'd bet that fdisk (or one of it's many cousins) can be used in scripts to setup the partitions on the fly. So let's assume your CF card USB stick or whatever is has one partition and is detected as /dev/sda. You can then first take an image of the partition: dd if=/dev/sda1 of=firewall.img This image can then be mounted and modified as needed: mkdir /mnt/firewall mount -t ext2 -oloop firewall.img /mnt/firewall [do modifications inside /mnt/firewall] umount /mnt/firewall then write it back to as many other CF cards you need: dd if=firewall.img of=/dev/sdX1 (replace X as appropriate) There should also be a possibility to copy the MBR with dd, something like dd if=/dev/sda of=mbr.img count=512 (not sure about the count value, though). and write it back with dd if=mbr.img of=/dev/sda. The only thing left is the automatic partitioning. HTH... Dirk
Re: [gentoo-user] Duplicate Flash drive
Am Sonntag 13 September 2009 09:13:21 schrieb Dirk Heinrichs: I've never done this, but I'd bet that fdisk (or one of it's many cousins) can be used in scripts to setup the partitions on the fly. That cousin would be sfdisk. Bye... Dirk
Re: [gentoo-user] 2.6.30 and reiserfs?
In 200909121253.41009.dirk.heinri...@online.de dirk.heinri...@online.de (Dirk Heinrichs) writes: Am Samstag 12 September 2009 12:46:56 schrieb Konstantinos Agouros: I am using reiserfs just for my squid-cache nevertheless after I booted 2.6.30-r4 on an amd64 system, I couldn't create any files on that partition. Is there a way to convert the partition to work or do I really have to change filesystems? What does fsck say? It says: All is good. I tried that. The error message complains about not being able to set times properly. Bye... Dirk -- Dipl-Inf. Konstantin Agouros aka Elwood Blues. Internet: elw...@agouros.de Otkerstr. 28, 81547 Muenchen, Germany. Tel +49 89 69370185 Captain, this ship will not survive the forming of the cosmos. B'Elana Torres
Re: [gentoo-user] 2.6.30 and reiserfs?
In 20090912111909.ga11...@lechuck massimo.gengare...@gmail.com (Massimo Gengarelli) writes: bottom:- On Sat, Sep 12, 2009 at 10:46:56AM +, Konstantinos Agouros wrote: Hi, I am using reiserfs just for my squid-cache nevertheless after I booted 2.6.30-r4 on an amd64 system, I couldn't create any files on that partition. Is there a way to convert the partition to work or do I really have to change filesystems? I'm currently using ReiserFS (along with 2.6.30-r6 but I've also used 2.6.30-r4) for my boot partition and I'm able to write in it, without any kind of problem. Could it be a mountpoint problem? Do I need to change anything in the options when mounting? I fell back to 2.6.29-r5 no problem there. Regards, Konstantin -- _ * Massimo Gengarelli massimo.gengare...@gmail.com ~0 (_| * Computer Science student @ http://www.unibo.it |(_~|^~~| * http://massitm.sohead.org -- my personal, outdated website TT/_ TT * With your bare hands?!? -- Dipl-Inf. Konstantin Agouros aka Elwood Blues. Internet: elw...@agouros.de Otkerstr. 28, 81547 Muenchen, Germany. Tel +49 89 69370185 Captain, this ship will not survive the forming of the cosmos. B'Elana Torres
[gentoo-user] lzma-utils vs xz-utils
Planning to 'emerge -pv eix' for the latest 0.17.1 in testing, I was surprised by Calculating dependencies... done! [ebuild N] app-arch/xz-utils-4.999.9_beta 1,014 kB [uninstall] app-arch/lzma-utils-4.32.7 USE=-nocxx [blocks b ] app-arch/lzma-utils (app-arch/lzma-utils is blocking app-arch/xz-utils-4.999.9_beta) [blocks b ] app-arch/xz-utils (app-arch/xz-utils is blocking app-arch/lzma-utils-4.32.7) [ebuild U ] app-portage/eix-0.17.1 [0.17.0] USE=bzip2%* -deprecated -doc -nls sqlite -tools 470 kB I understand the blocks lines, but am uneasy about uninstalling Lzma-utils, which seems to have many important dependencies: root:503 ~ equery d lzma-utils [ Searching for packages depending on lzma-utils... ] app-arch/rpm2targz-9.0.0.3g (app-arch/lzma-utils) app-portage/eix-0.17.0 (app-arch/lzma-utils) dev-libs/mpfr-2.4.1_p1 (app-arch/lzma-utils) media-libs/libpng-1.2.38 (app-arch/lzma-utils) media-libs/netpbm-10.46.00 (app-arch/lzma-utils) net-misc/netkit-rsh-0.17-r9 (app-arch/lzma-utils) sys-apps/coreutils-7.4 (app-arch/lzma-utils) sys-apps/man-1.6f-r3 (lzma? app-arch/lzma-utils) sys-apps/net-tools-1.60_p20071202044231-r1 (app-arch/lzma-utils) sys-apps/sandbox-2.0 (app-arch/lzma-utils) sys-apps/texinfo-4.13 (app-arch/lzma-utils) sys-devel/m4-1.4.12 (app-arch/lzma-utils) sys-kernel/linux-headers-2.6.27-r2 (app-arch/lzma-utils) sys-libs/gpm-1.20.5 (app-arch/lzma-utils) Can anyone explain what's going on ? -- ,, SUPPORT ___//___, Philip Webb ELECTRIC /] [] [] [] [] []| Cities Centre, University of Toronto TRANSIT`-O--O---' purslowatchassdotutorontodotca
Re: [gentoo-user] 2.6.30 and reiserfs?
Am Sonntag 13 September 2009 10:08:33 schrieb Konstantinos Agouros: It says: All is good. I tried that. The error message complains about not being able to set times properly. What _exactly_ does it say? Bye... Dirk
Re: [gentoo-user] lzma-utils vs xz-utils
Am Sonntag 13 September 2009 10:35:44 schrieb Philip Webb: I understand the blocks lines, but am uneasy about uninstalling Lzma-utils, which seems to have many important dependencies: Just do it. xz-utils is a drop in replacement. Bye... Dirk
Re: [gentoo-user] [OT] In search of a good windowmanager
On Sat, 12 Sep 2009 13:34:27 -0400, Philip Webb purs...@ca.inter.net wrote: 090912 Lars Gustäbel wrote: I've been using fvwm2 for years now ... I have a graphical system monitor on my third desktop ... Can you have multiple desktops with Fvwm ? I couldn't find anything about it in the manual dropped further investigation of Fvwm as a result. Obviously you didn't look too much into fvwm. By default you only have to move the mouse across the screen border to change to another page using the fvwm terminology. This is configurable of course, you have the DesktopSize option which configures the number of pages on each desktop, you can as well define many desktops, each of them with many pages. It's far more powerful than the average WM in that regard, certainly more powerful than xfwm, kwin or metacity (which is the dumbest wm ever in my humble opinion). Fvwm is not for the lazy, though. But it can do *almost* anything, my only complain about it is the xinerama support, I am just one of the xrandr haters out there. Menus also can be defined and accessed using keybindings. Or you could very well use just keybindings and don't use menus, which is what I do. -- Jesús Guerrero
Re: [gentoo-user] [OT] In search of a good windowmanager
On Sat, 12 Sep 2009 22:52:40 -0500, forgottenwizard phrexianrea...@hushmail.com wrote: On Sun, Sep 13, 2009 at 02:55:34AM +0200, meino.cra...@gmx.de wrote: forgottenwizard phrexianrea...@hushmail.com [09-09-13 02:12]: On Sat, Sep 12, 2009 at 01:37:45PM -0500, Paul Hartman wrote: On Sat, Sep 12, 2009 at 8:40 AM, meino.cra...@gmx.de wrote: Hi, for a long time I used IceWM as my windowmanager since I dont want to mimicry other OSses (...) or want session management. One thing, which is a must-have of windowmanagers I want to use is the possibility to control the windowmanager nearly completly with the keyboard (hotkeys configurable) which does *not* imply uncontrollable by mouse ;) Furthermore I should not be a hana-bi or anything else eye-candy like (nothing against hana-bi as hana-bi!) -- most of the time I will use the windowmanager instead of only looking at it -- which does not imply: black anmd white ugly ascii thingy. Since IceWM seems to be gone into hibernation phase I am looking for a replacement which should -- be widely configurable via ascii files -- be as far as possible controllable by keyboard -- be also useable with the mouse -- no eye-candy -- not ugly -- NOT tiling -- FAST! I would like to hear from others what experiences they made with what windowmanagers. Thank you very much in advance for any help! Best regards and have a nice weekend! Meino Cramer try Openbox, tiny but modern Another vote for Openbox. Good little wm. If you want a panel for it, I'd suggest fbpanel. Hi, Currently I am playing aroung with fluxbox. The previously missing feature of a keyboard useable applikation menu is nearly fixed :) I also installed fbpanel -- what I miss are the two mini-graphs of the IceWM-Taskbar, which shows CPU load and net traffic throughput. Can I get this anywhere in a way that it is incorparated into fbpanel? It may be possible, but I don't know how. I used fbpanel as just a panel, though if you scale it down in width you could run conky and get the info you want in the exposed area. You can use the fluxbox slit to embed wmaker applets, there are quite a lot on portage under the category x11-plugins/ but also in many more places. You could as well use gkrellm which does a lot of things in a very reduced space. -- Jesús Guerrero
[gentoo-user] Gnome default file associations broken
Hello List, somehow all default file associations are broken in my gnome installation and seem to point at the KDE applications instead. When right-clicking in nautilus on a pdf file, the default action is kghostview instead of evince (in kde the default is acroread) and the default action for inode/directory even is cervisia which makes gnome desktop unusable like that. When logging in in KDE the right kde applications are offered as default but in Gnome they used to be different. Where are gnome defaults handled? xdg-mime query default inode/directory shows correct app in kde but is empty in gnome. Calling update-mime-database /usr/share/mime and update-desktop-database do not change anything. Does anyone have a hint where to look? What role does gnome-vfs play? Yes, I can change the settings in my user, but since it's a multiuser system, it is important to change the defaults. Thanks, Sascha signature.asc Description: This is a digitally signed message part.
[gentoo-user] Kernel 2.6.30 gets no network
I'm just trying kernel 2.6.30-gentoo-r6 and having the same trouble I had with 2.56.30-r4, so now I need to ask if I'm alone in this. I copied my .config from my 2.6.28-gentoo-r5, did make oldconfig and took the default action on everything (none of which seemed related to this problem). It boots okay and recognizes everything except my network interfaces (on the motherboard, but they're Intel chipset thingies:) Here's what lspci says about them on the good kernel: 07:02.0 Ethernet controller: Intel Corporation 82557/8/9/0/1 Ethernet Pro 100 (rev 0d) 07:03.0 Ethernet controller: Intel Corporation 82557/8/9/0/1 Ethernet Pro 100 (rev 0d) The 2.6.30-gentoo-r6 kernel does not bring them up, and a manual attempt to do so in /etc/init.d errors out with a claim the interfaces do not exist. Anybody else seen this or can give guidance? -- Kevin O'Gorman, PhD
[gentoo-user] Re: Kernel 2.6.30 gets no network
On Sun, Sep 13, 2009 at 3:42 AM, Kevin O'Gorman kogor...@gmail.com wrote: I'm just trying kernel 2.6.30-gentoo-r6 and having the same trouble I had with 2.56.30-r4, so now I need to ask if I'm alone in this. I copied my .config from my 2.6.28-gentoo-r5, did make oldconfig and took the default action on everything (none of which seemed related to this problem). It boots okay and recognizes everything except my network interfaces (on the motherboard, but they're Intel chipset thingies:) Here's what lspci says about them on the good kernel: 07:02.0 Ethernet controller: Intel Corporation 82557/8/9/0/1 Ethernet Pro 100 (rev 0d) 07:03.0 Ethernet controller: Intel Corporation 82557/8/9/0/1 Ethernet Pro 100 (rev 0d) The 2.6.30-gentoo-r6 kernel does not bring them up, and a manual attempt to do so in /etc/init.d errors out with a claim the interfaces do not exist. Anybody else seen this or can give guidance? Umm. I just looked at the .config files, and it appears the interfaces are supported by the config option CONFIG_EEPRO100=y which is not even present in the 2.6.30 file. Eeeek! Is my system now unsupportable? -- Kevin O'Gorman, PhD
[gentoo-user] Re: Kernel 2.6.30 gets no network
On 09/13/2009 01:48 PM, Kevin O'Gorman wrote: On Sun, Sep 13, 2009 at 3:42 AM, Kevin O'Gorman kogor...@gmail.com mailto:kogor...@gmail.com wrote: I'm just trying kernel 2.6.30-gentoo-r6 and having the same trouble I had with 2.56.30-r4, so now I need to ask if I'm alone in this. I copied my .config from my 2.6.28-gentoo-r5, did make oldconfig and took the default action on everything (none of which seemed related to this problem). It boots okay and recognizes everything except my network interfaces (on the motherboard, but they're Intel chipset thingies:) Here's what lspci says about them on the good kernel: 07:02.0 Ethernet controller: Intel Corporation 82557/8/9/0/1 Ethernet Pro 100 (rev 0d) 07:03.0 Ethernet controller: Intel Corporation 82557/8/9/0/1 Ethernet Pro 100 (rev 0d) The 2.6.30-gentoo-r6 kernel does not bring them up, and a manual attempt to do so in /etc/init.d errors out with a claim the interfaces do not exist. Anybody else seen this or can give guidance? Umm. I just looked at the .config files, and it appears the interfaces are supported by the config option CONFIG_EEPRO100=y which is not even present in the 2.6.30 file. Eeeek! Is my system now unsupportable? It's CONFIG_E100: Symbol: E100 Prompt: Intel(R) PRO/100+ support Defined at drivers/net/Kconfig:1462 Depends on: NETDEVICES NET_ETHERNET NET_PCI PCI Location: - Device Drivers - Network device support (NETDEVICES) - Ethernet (10 or 100Mbit) (NET_ETHERNET)
Re: [gentoo-user] Re: Kernel 2.6.30 gets no network
On 9/13/09, Nikos Chantziaras rea...@arcor.de wrote: On 09/13/2009 01:48 PM, Kevin O'Gorman wrote: On Sun, Sep 13, 2009 at 3:42 AM, Kevin O'Gorman kogor...@gmail.com mailto:kogor...@gmail.com wrote: I'm just trying kernel 2.6.30-gentoo-r6 and having the same trouble I had with 2.56.30-r4, so now I need to ask if I'm alone in this. I copied my .config from my 2.6.28-gentoo-r5, did make oldconfig and took the default action on everything (none of which seemed related to this problem). It boots okay and recognizes everything except my network interfaces (on the motherboard, but they're Intel chipset thingies:) Here's what lspci says about them on the good kernel: 07:02.0 Ethernet controller: Intel Corporation 82557/8/9/0/1 Ethernet Pro 100 (rev 0d) 07:03.0 Ethernet controller: Intel Corporation 82557/8/9/0/1 Ethernet Pro 100 (rev 0d) The 2.6.30-gentoo-r6 kernel does not bring them up, and a manual attempt to do so in /etc/init.d errors out with a claim the interfaces do not exist. Anybody else seen this or can give guidance? Umm. I just looked at the .config files, and it appears the interfaces are supported by the config option CONFIG_EEPRO100=y which is not even present in the 2.6.30 file. Eeeek! Is my system now unsupportable? It's CONFIG_E100: Symbol: E100 Prompt: Intel(R) PRO/100+ support Defined at drivers/net/Kconfig:1462 Depends on: NETDEVICES NET_ETHERNET NET_PCI PCI Location: - Device Drivers - Network device support (NETDEVICES) - Ethernet (10 or 100Mbit) (NET_ETHERNET) Yes, a different(?) driver is to be used apparently (code duplication reductions?): e100: add support for 82552 10/100 adapter http://kernelnewbies.org/Linux_2_6_30 -- Arttu V.
Re: [gentoo-user] Re: Kernel 2.6.30 gets no network
Am Sonntag 13 September 2009 13:04:37 schrieb Arttu V.: On 9/13/09, Nikos Chantziaras rea...@arcor.de wrote: On 09/13/2009 01:48 PM, Kevin O'Gorman wrote: On Sun, Sep 13, 2009 at 3:42 AM, Kevin O'Gorman kogor...@gmail.com mailto:kogor...@gmail.com wrote: Umm. I just looked at the .config files, and it appears the interfaces are supported by the config option CONFIG_EEPRO100=y which is not even present in the 2.6.30 file. Eeeek! Is my system now unsupportable? It's CONFIG_E100: Yes, a different(?) driver is to be used apparently (code duplication reductions?): e100: add support for 82552 10/100 adapter Yep. It's these kind of changes that make me go through make menuconfig once after major version upgrades. BTW: There's no need for make oldconfig in this case. Bye... Dirk
Re: [gentoo-user] Re: screen, mc, htop
On Friday 11 September 2009, Nikos Chantziaras wrote: On 09/11/2009 08:08 PM, Paul Hartman wrote: On Fri, Sep 11, 2009 at 11:58 AM, Nikos Chantziarasrea...@arcor.de wrote: On 09/11/2009 07:04 PM, Willie Wong wrote: On Fri, Sep 11, 2009 at 10:38:50AM -0500, Paul Hartman wrote: On Fri, Feb 13, 2009 at 2:35 PM, András, Csányi - Sayusi Ando sayusi.a...@sayusi.hu wrote: I use screen lot of and I like it veery much. Few weeks ago - when I reinstall gentoo, started this weird thing. If I start mc in the screen nothings happen. I can see the cursos is stop before the last line and waiting... Generally first time the mc is start and I can work with. But, random long time later the mc is start doing this stupid behavior what I wrote upper. This thing is independent what I did. Last time is started after I use vim to edit an file. Yesterday started after I write in mc's command line 'df -h' and hit Enter. This is a very old post, but I want to say I am experiencing the same problems with screen and mc (even after I initially replied saying I didn't have it :). Did you ever find a solution? I dunno if my problem is the same as yours, but it may not be just mc. screen has been crapping out on me lately, and also randomly, like described above, when I use some of the shell scripts that I wrote. It only happens with interactive scripts that display a menu using 'dev-util/dialog'. Most of the time it works, sometimes it doesn't: after the previous dialog clears the screen, screen just sits there blinking and not loading the next one. I'd be interested in a solution too, if there is one. If you start screen, then do export TERM=xterm, does that fix the issues? So far that seems to fix it for me! But it's a very random and non-reproducible error so only time will tell. mc froze on startup for me just now (with TERM=screen) 5 times in a row; set TERM=xterm and mc started without problem 5 times in a row. So that's a good sign, I think. Thanks! I use that trick to get mouse support in mc under screen. Just thought it might solve even more issues. I remember fixing a problem which may be related to this, by cp /etc/screenrc ~/.screenrc and then editing ~/.screenrc to add lines like: termcap rxvt hs@:cs=\E[%i%d;%dr:im=\E[4h:ei=\E[4l terminfo rxvt hs@:cs=\E[%i%p1%d;%p2%dr:im=\E[4h:ei=\E[4l under 'xterm tweaks'; this is because echo $TERM shows that my terminal is rxvt - yours may be different. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] 2.6.30 and reiserfs?
On Sunday 13 September 2009, Konstantinos Agouros wrote: In 20090912111909.ga11...@lechuck massimo.gengare...@gmail.com (Massimo Gengarelli) writes: bottom:- On Sat, Sep 12, 2009 at 10:46:56AM +, Konstantinos Agouros wrote: Hi, I am using reiserfs just for my squid-cache nevertheless after I booted 2.6.30-r4 on an amd64 system, I couldn't create any files on that partition. Is there a way to convert the partition to work or do I really have to change filesystems? I'm currently using ReiserFS (along with 2.6.30-r6 but I've also used 2.6.30-r4) for my boot partition and I'm able to write in it, without any kind of problem. Could it be a mountpoint problem? Do I need to change anything in the options when mounting? I fell back to 2.6.29-r5 no problem there. I am using reiserfs on / and /home and have not experienced any problems with the gentoo-sources-2.6.30-r5/6. So unless you've left some reiserfs fs drivers out of the kernel I am not sure why you may be experiencing problems. This is my / mounting entry in fstab: /dev/hda3 / reiserfsnoatime 1 1 HTH. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] KDE4: Constant crashes in conjunction with Konsole
Am Donnerstag 20 August 2009 01:34:43 schrieb Frank Steinmetzger: Hi guys, until now I've been quite a KDE4 hater, but I'm willing to give it a try from time to time. So I installed 4.3 parallel to my beloved 3.5.10 and was quite pleased with it. However, I have repeating crashes of my entire X. Mostly it happens when I open Konsole, the next often occasion is opening a menu (main menu, context menu, you name it), but also only after a Konsole windows was opened. All I see is a quick error message about glibc, then X restarts and I'm back at kdm. I use a laptop with a Geforce 7600 GPU, running on nvidia-drivers-180.60. First I had 4.3.0 installed from main portage tree, but I had a faint hope they would have fixed it by now, so I installed the live slot from kde-testing. I already had this issue with older version. Just for the archive: the problem was solved by disabling BackingStore for nvidia-drivers in xorg.conf. It's a common problem with nvidia, see https://bugs.gentoo.org/show_bug.cgi?id=283331 -- Gruß | Greetings | Qapla' Emacs is a great operating system, which only lacks a good editor. signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Re: Kernel 2.6.30 gets no network
Dirk Heinrichs wrote: Am Sonntag 13 September 2009 13:04:37 schrieb Arttu V.: On 9/13/09, Nikos Chantziaras rea...@arcor.de wrote: On 09/13/2009 01:48 PM, Kevin O'Gorman wrote: On Sun, Sep 13, 2009 at 3:42 AM, Kevin O'Gorman kogor...@gmail.com mailto:kogor...@gmail.com wrote: Umm. I just looked at the .config files, and it appears the interfaces are supported by the config option CONFIG_EEPRO100=y which is not even present in the 2.6.30 file. Eeeek! Is my system now unsupportable? It's CONFIG_E100: Yes, a different(?) driver is to be used apparently (code duplication reductions?): e100: add support for 82552 10/100 adapter Yep. It's these kind of changes that make me go through make menuconfig once after major version upgrades. BTW: There's no need for make oldconfig in this case. Bye... Dirk If it helps, my hard drive chipset changed, gave me a kernel panic the first time, then after that the sound didn't work. It took me two tries to get the kernel working. Like everything else, its just progress. LOL Dale :-) :-)
[gentoo-user] Fluxbox + wmdockapps ?
Hi, I thought that I had understood some informations given by sites of the internet that fluxbox's slit can handle wmdockapps (wmnetload for example). I installed fluxbox and could use slit via ob-mda, wich are openbox dockapps. So slit is working. I can start wmnetload without any error but also without any effect. Do I have the wrong informations or is it generally not working, what I am trying to do? Have a nice sunday! mcc --- Please don't send me any Word- or Powerpoint-Attachments unless it's absolutely neccessary. - Send simply Text. See http://www.gnu.org/philosophy/no-word-attachments.html In a world without fences and walls nobody needs gates and windows.
Re: [gentoo-user] Fluxbox + wmdockapps ?
meino.cra...@gmx.de meino.cra...@gmx.de [09-09-13 16:22]: Hi, I thought that I had understood some informations given by sites of the internet that fluxbox's slit can handle wmdockapps (wmnetload for example). I installed fluxbox and could use slit via ob-mda, wich are openbox dockapps. So slit is working. I can start wmnetload without any error but also without any effect. Do I have the wrong informations or is it generally not working, what I am trying to do? Have a nice sunday! mcc --- Please don't send me any Word- or Powerpoint-Attachments unless it's absolutely neccessary. - Send simply Text. See http://www.gnu.org/philosophy/no-word-attachments.html In a world without fences and walls nobody needs gates and windows. Sorry, wrong alert! :) suddenly it works...why? dont know... Probably there is an error in front of my keyboard... Thanks! mcc -- Please don't send me any Word- or Powerpoint-Attachments unless it's absolutely neccessary. - Send simply Text. See http://www.gnu.org/philosophy/no-word-attachments.html In a world without fences and walls nobody needs gates and windows.
[gentoo-user] Re: Duplicate Flash drive
Dirk Heinrichs dirk.heinrichs at online.de writes: That cousin would be sfdisk. Ok, thanks for the info. Give me a day or 2 to fiddle with this, and I'll post my results (likely more questions) thx, James
Re: [gentoo-user] Duplicate Flash drive
On Sun, 13 Sep 2009 09:13:21 +0200, Dirk Heinrichs wrote: You can then first take an image of the partition: dd if=/dev/sda1 of=firewall.img This image can then be mounted and modified as needed: mkdir /mnt/firewall mount -t ext2 -oloop firewall.img /mnt/firewall [do modifications inside /mnt/firewall] umount /mnt/firewall then write it back to as many other CF cards you need: dd if=firewall.img of=/dev/sdX1 (replace X as appropriate) There should also be a possibility to copy the MBR with dd, something like dd if=/dev/sda of=mbr.img count=512 (not sure about the count value, though). and write it back with dd if=mbr.img of=/dev/sda. The only thing left is the automatic partitioning. Alternatively, set everything up as you need to start with, then dd the entire device, including partitioning and bootloader, with dd if=/dev/sda of=firewall.img If you need to make changes to network or other settings for each setup, do that after you have copied the image to the new disk. -- Neil Bothwick Microbiology: staph only. signature.asc Description: PGP signature
Re: [gentoo-user] Re: Kernel 2.6.30 gets no network
On Sun, Sep 13, 2009 at 4:36 AM, Dirk Heinrichs dirk.heinri...@online.dewrote: Am Sonntag 13 September 2009 13:04:37 schrieb Arttu V.: On 9/13/09, Nikos Chantziaras rea...@arcor.de wrote: On 09/13/2009 01:48 PM, Kevin O'Gorman wrote: On Sun, Sep 13, 2009 at 3:42 AM, Kevin O'Gorman kogor...@gmail.com mailto:kogor...@gmail.com wrote: Umm. I just looked at the .config files, and it appears the interfaces are supported by the config option CONFIG_EEPRO100=y which is not even present in the 2.6.30 file. Eeeek! Is my system now unsupportable? It's CONFIG_E100: Yes, a different(?) driver is to be used apparently (code duplication reductions?): e100: add support for 82552 10/100 adapter Yep. It's these kind of changes that make me go through make menuconfig once after major version upgrades. BTW: There's no need for make oldconfig in this case. Maybe things have changed since the dark ages when I started using Gentoo. Back then, occasional mayhem would ensue if you tried using an old .config. Sometimes. So I'm keeping this habit -- it also gives me a heads-up about new features. Bye... Dirk -- Kevin O'Gorman, PhD
[gentoo-user] Gentoo on an Asus netbook
I'm planning to buy a netbook sometime in the next few weeks. The most likely choice is an Asus 1005HA : http://www.canadacomputers.com/index.php?do=ShowProductcmd=pdpid=025389cid=NBK.862.656 It has a 1600 MHz processor, 1 GB memory a 160 GB hard drive. Asus is a very reliable manufacturer in my experience this version is the cheapest looks as if it would meet my needs. Hopefully, the price will drop a bit more in the near future. My intended use is simply to be able to read, edit make notes on texts, esp books I have downloaded (eg Jane Austen, Gibbon), while lying back in my chair or on my bed, not sitting up at my desk; It may also be useful to take to my office at the UoT to work on my transit archives there occasionally might help at public meetings, making notes or checking documents. My desktop manager wb Fluxbox, my typical app Gvim, other regulars Terminal (Xfce), Xpdf, Feh: no KDE or Gnome; I might install the binary OO for a spreadsheet; I don't see myself using it for wireless Internet, video or sound. Most of the time, I sb able to run it plugged in, not from the battery. It comes with M$ XP installed in the factory (with Firefox), which I may keep in case there's a hardware failure under warranty (I can demonstrate it's not Linux which is causing the problem), but of course I shall use Linux for all my activities above. I thought re other distros to avoid a lot of slow compiling, but the advantage is a mirage: Slackware Arch users have to compile kernels I would have to learn how to do things their way to get anywhere; Mandriva has a version for EEE, but it's likely to default to KDE 4 (ugh!). I see myself using System Rescue to get started, reducing the XP partition, installing the Gentoo system + Kernel 2.6.31 + X , then a sparse set of apps; I might try compiling on my desktop machine, then copying the binary across. There are howto's on the Gentoo Wiki elsewhere, eg http://wiki.eeeuser.com/howto:installgentoo http://en.gentoo-wiki.com/wiki/Asus_Eee_PC_901 http://en.gentoo-wiki.com/wiki/Asus_Eee_PC_1000HA Does anyone have warnings, suggestions or advice ? -- ,, SUPPORT ___//___, Philip Webb ELECTRIC /] [] [] [] [] []| Cities Centre, University of Toronto TRANSIT`-O--O---' purslowatchassdotutorontodotca
Re: [gentoo-user] Gentoo on an Asus netbook
On Sunday 13 September 2009 12:21:26 pm Philip Webb wrote: I'm planning to buy a netbook sometime in the next few weeks. The most likely choice is an Asus 1005HA : http://www.canadacomputers.com/index.php?do=ShowProductcmd=pdpid=025389; cid=NBK.862.656 It has a 1600 MHz processor, 1 GB memory a 160 GB hard drive. Asus is a very reliable manufacturer in my experience this version is the cheapest looks as if it would meet my needs. Hopefully, the price will drop a bit more in the near future. My intended use is simply to be able to read, edit make notes on texts, esp books I have downloaded (eg Jane Austen, Gibbon), while lying back in my chair or on my bed, not sitting up at my desk; It may also be useful to take to my office at the UoT to work on my transit archives there occasionally might help at public meetings, making notes or checking documents. My desktop manager wb Fluxbox, my typical app Gvim, other regulars Terminal (Xfce), Xpdf, Feh: no KDE or Gnome; I might install the binary OO for a spreadsheet; I don't see myself using it for wireless Internet, video or sound. Most of the time, I sb able to run it plugged in, not from the battery. It comes with M$ XP installed in the factory (with Firefox), which I may keep in case there's a hardware failure under warranty (I can demonstrate it's not Linux which is causing the problem), but of course I shall use Linux for all my activities above. I thought re other distros to avoid a lot of slow compiling, but the advantage is a mirage: Slackware Arch users have to compile kernels I would have to learn how to do things their way to get anywhere; Mandriva has a version for EEE, but it's likely to default to KDE 4 (ugh!). I see myself using System Rescue to get started, reducing the XP partition, installing the Gentoo system + Kernel 2.6.31 + X , then a sparse set of apps; I might try compiling on my desktop machine, then copying the binary across. There are howto's on the Gentoo Wiki elsewhere, eg http://wiki.eeeuser.com/howto:installgentoo http://en.gentoo-wiki.com/wiki/Asus_Eee_PC_901 http://en.gentoo-wiki.com/wiki/Asus_Eee_PC_1000HA Does anyone have warnings, suggestions or advice ? I don't see a single problem with that. Compiles may indeed be a bit slow but it will get done. And if you must compile on another machine look into chroots. Another option is Sabayon. I know this is a Gentoo mailing list but Sabayon is a derivative of Gentoo but with Entropy (it's package manager) it doesn't have to compile and it even offers a GUI (though I don't use it much) but it does keep portage and emerge can still be used. A CoreCD may be just what you need (or a Gentoo chroot on a desktop and then transfer it to your laptop). I personally run a Gentoo system after having Sabayon 4.2 and I obviously stuck with Gentoo so... signature.asc Description: This is a digitally signed message part.
[gentoo-user] Re: Duplicate Flash drive
On 2009-09-13, Neil Bothwick n...@digimed.co.uk wrote: Alternatively, set everything up as you need to start with, then dd the entire device, including partitioning and bootloader, with dd if=/dev/sda of=firewall.img That's how we used to do it when we were shipping CF-based products. The one gotcha you have to look out for is that CF cards vary considerably in size (even though they all have identical part numbers and are all labeled as 512MB or whatever). You can't expect to be able to fill up 512MB CF card #1, and then always be able to copy that to 512MB CF card #2. Card #2 might be smaller than card #1. So you might want to check the capacity of a good sized sample of cards and make your image a few percent smaller than the smallest one you find. -- Grant
Re: [gentoo-user] Gnome default file associations broken
On Sun, 2009-09-13 at 12:00 +0200, Sascha Hlusiak wrote: Hello List, somehow all default file associations are broken in my gnome installation and seem to point at the KDE applications instead. When right-clicking in nautilus on a pdf file, the default action is kghostview instead of evince (in kde the default is acroread) and the default action for inode/directory even is cervisia which makes gnome desktop unusable like that. When logging in in KDE the right kde applications are offered as default but in Gnome they used to be different. Where are gnome defaults handled? xdg-mime query default inode/directory shows correct app in kde but is empty in gnome. Calling update-mime-database /usr/share/mime and update-desktop-database do not change anything. Does anyone have a hint where to look? What role does gnome-vfs play? Yes, I can change the settings in my user, but since it's a multiuser system, it is important to change the defaults. Does this happen to all of your users? I mean: does this also happen if you create a new user, and log as it into GNOME? In case it's only a 1-user-problem: take a look at ~/.local/share/applications/mimeapps.list This is where users file associations should be set. Bye, Daniel -- PGP key @ http://pgpkeys.pca.dfn.de/pks/lookup?search=0xBB9D4887op=get # gpg --recv-keys --keyserver hkp://subkeys.pgp.net 0xBB9D4887 signature.asc Description: This is a digitally signed message part
Re: [gentoo-user] Fluxbox + wmdockapps ?
On Sun, 13 Sep 2009 16:46:21 +0200, meino.cra...@gmx.de wrote: meino.cra...@gmx.de meino.cra...@gmx.de [09-09-13 16:22]: Hi, I thought that I had understood some informations given by sites of the internet that fluxbox's slit can handle wmdockapps (wmnetload for example). I installed fluxbox and could use slit via ob-mda, wich are openbox dockapps. So slit is working. I can start wmnetload without any error but also without any effect. Do I have the wrong informations or is it generally not working, what I am trying to do? Have a nice sunday! mcc --- Please don't send me any Word- or Powerpoint-Attachments unless it's absolutely neccessary. - Send simply Text. See http://www.gnu.org/philosophy/no-word-attachments.html In a world without fences and walls nobody needs gates and windows. Sorry, wrong alert! :) suddenly it works...why? dont know... Probably there is an error in front of my keyboard... Hehe, well, some of these plugins are a bit weird. Also, make sure you check the command line options, some of them might need to be launched with a special flag (usually -w) to be in withdrawn/ embeddable mode. -- Jesús Guerrero
[gentoo-user] Re: Gnome default file associations broken
On 09/13/2009 03:00 AM, Sascha Hlusiak wrote: Hello List, Where are gnome defaults handled? xdg-mime query default inode/directory shows correct app in kde but is empty in gnome... I can tell you that I also get an empty response in gnome, but my system is not broken. Doesn't help much, sorry.
Re: [gentoo-user] Gnome default file associations broken
Am Sonntag 13 September 2009 20:02:09 schrieb Daniel Troeder: On Sun, 2009-09-13 at 12:00 +0200, Sascha Hlusiak wrote: Hello List, somehow all default file associations are broken in my gnome installation and seem to point at the KDE applications instead. When right-clicking in nautilus on a pdf file, the default action is kghostview instead of evince (in kde the default is acroread) and the default action for inode/directory even is cervisia which makes gnome desktop unusable like that. When logging in in KDE the right kde applications are offered as default but in Gnome they used to be different. Where are gnome defaults handled? xdg-mime query default inode/directory shows correct app in kde but is empty in gnome. Calling update-mime-database /usr/share/mime and update-desktop-database do not change anything. Does anyone have a hint where to look? What role does gnome-vfs play? Yes, I can change the settings in my user, but since it's a multiuser system, it is important to change the defaults. Does this happen to all of your users? I mean: does this also happen if you create a new user, and log as it into GNOME? Yes, it happens with an empty user as well. In case it's only a 1-user-problem: take a look at ~/.local/share/applications/mimeapps.list This is where users file associations should be set. The file does not exist for my user. When I mount the home on a Debian system, the defaults from that machine work fine, so it's not the user. Where are the global defaults anyway, if you want to change the order, maybe? Where could you globally prefer acroread over evince and gedit over xemacs? - Sascha signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Fluxbox + wmdockapps ?
On Sunday 13 September 2009, Jesús Guerrero wrote: On Sun, 13 Sep 2009 16:46:21 +0200, meino.cra...@gmx.de wrote: meino.cra...@gmx.de meino.cra...@gmx.de [09-09-13 16:22]: Hi, I thought that I had understood some informations given by sites of the internet that fluxbox's slit can handle wmdockapps (wmnetload for example). I installed fluxbox and could use slit via ob-mda, wich are openbox dockapps. So slit is working. I can start wmnetload without any error but also without any effect. Do I have the wrong informations or is it generally not working, what I am trying to do? Sorry, wrong alert! :) suddenly it works...why? dont know... Probably there is an error in front of my keyboard... Hehe, well, some of these plugins are a bit weird. Also, make sure you check the command line options, some of them might need to be launched with a special flag (usually -w) to be in withdrawn/ embeddable mode. This may be irrelevant since you say it works now, but I prefer wmnd. Just add it in ~/.fluxbox/startup like so: wmnd -c orange -I eth0,wlan0,irda0,ppp0 with your relevant ifaces that you want to monnitor. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
[gentoo-user] Re: Gnome default file associations broken
On 09/13/2009 12:32 PM, Sascha Hlusiak wrote: Where are the global defaults anyway, if you want to change the order, maybe? Where could you globally prefer acroread over evince and gedit over xemacs? Try running update-desktop-database, which will generate a new /usr/share/applications/mimeinfo.cache. That's where gnomevfs-info looks for its database.
RE: [gentoo-user] 2.6.30 and reiserfs?
I am using reiserfs just for my squid-cache nevertheless after I booted 2.6.30-r4 on an amd64 system, I couldn't create any files on that partition. Is there a way to convert the partition to work or do I really have to change filesystems? I had some weirdness with .30 and reiser. I was using .30 sucessfully for a few days, then had to hard reset but reiser had problems mounting on reboot. I tried booting .30 twice with no luck. Booted .29 and it worked fine - in fact no messages about the filesystem at all - it just loaded normally. I didn't bother persuing it because I had read about similar issues with .30 (IIRC on this list) and figured it was probably a kernel bug
RE: [gentoo-user] 2.6.30 and reiserfs?
That could have been me - oops in reiserfs slowpath (seen in dmesg or logs) . The good (great news for me) is that the bug has gone away in 2.6.31 ... BillK On Mon, 2009-09-14 at 10:25 +1000, Adam Carter wrote: I am using reiserfs just for my squid-cache nevertheless after I booted 2.6.30-r4 on an amd64 system, I couldn't create any files on that partition. Is there a way to convert the partition to work or do I really have to change filesystems? I had some weirdness with .30 and reiser. I was using .30 sucessfully for a few days, then had to hard reset but reiser had problems mounting on reboot. I tried booting .30 twice with no luck. Booted .29 and it worked fine - in fact no messages about the filesystem at all - it just loaded normally. I didn't bother persuing it because I had read about similar issues with .30 (IIRC on this list) and figured it was probably a kernel bug -- William Kenworthy bi...@iinet.net.au Home in Perth!
[gentoo-user] Screen resolution problem
G'day, I'm running Xorg with a minimal config file (only 15 lines - which provide font paths and set the AllowMouseOpenFail option). When I last restarted my computer (about 3 months ago), X came up in 1280x1024 mode. Today I restarted X (because the shift and control keys were non-responsive) and my computer is in 1024x768 mode. I much prefer the higher resolution. I have the Xorg.0.log files from the reboot 3 months ago and today's X restart. What should I be looking at in them to diagnose what has happened differently? Several obvious questions arise: _Why_ did X select a different resolution today? _How_ can I get to the higher resolution? _What_ can I do to prevent a recurrence of this problem? I'm running a 2.6.28-gentoo-r5 kernel with the following packages: x11-base/xorg-x11-7.2 x11-drivers/ati-drivers-8.552-r2 x11-drivers/xf86-video-ati-6.12.1-r1 Regards, David
Re: [gentoo-user] [OT] In search of a good windowmanager
I used to be partial to E17, too unstable, Xfce4 is nice, not too much overhead. GKRellm is nice, ther are others, but I'm more of a console jockey. 2009/9/13 Jesús Guerrero i92gu...@terra.es On Sat, 12 Sep 2009 22:52:40 -0500, forgottenwizard phrexianrea...@hushmail.com wrote: On Sun, Sep 13, 2009 at 02:55:34AM +0200, meino.cra...@gmx.de wrote: forgottenwizard phrexianrea...@hushmail.com [09-09-13 02:12]: On Sat, Sep 12, 2009 at 01:37:45PM -0500, Paul Hartman wrote: On Sat, Sep 12, 2009 at 8:40 AM, meino.cra...@gmx.de wrote: Hi, for a long time I used IceWM as my windowmanager since I dont want to mimicry other OSses (...) or want session management. One thing, which is a must-have of windowmanagers I want to use is the possibility to control the windowmanager nearly completly with the keyboard (hotkeys configurable) which does *not* imply uncontrollable by mouse ;) Furthermore I should not be a hana-bi or anything else eye-candy like (nothing against hana-bi as hana-bi!) -- most of the time I will use the windowmanager instead of only looking at it -- which does not imply: black anmd white ugly ascii thingy. Since IceWM seems to be gone into hibernation phase I am looking for a replacement which should -- be widely configurable via ascii files -- be as far as possible controllable by keyboard -- be also useable with the mouse -- no eye-candy -- not ugly -- NOT tiling -- FAST! I would like to hear from others what experiences they made with what windowmanagers. Thank you very much in advance for any help! Best regards and have a nice weekend! Meino Cramer try Openbox, tiny but modern Another vote for Openbox. Good little wm. If you want a panel for it, I'd suggest fbpanel. Hi, Currently I am playing aroung with fluxbox. The previously missing feature of a keyboard useable applikation menu is nearly fixed :) I also installed fbpanel -- what I miss are the two mini-graphs of the IceWM-Taskbar, which shows CPU load and net traffic throughput. Can I get this anywhere in a way that it is incorparated into fbpanel? It may be possible, but I don't know how. I used fbpanel as just a panel, though if you scale it down in width you could run conky and get the info you want in the exposed area. You can use the fluxbox slit to embed wmaker applets, there are quite a lot on portage under the category x11-plugins/ but also in many more places. You could as well use gkrellm which does a lot of things in a very reduced space. -- Jesús Guerrero -- Hazen Valliant-Saunders IT/IS Consultant (613) 355-5977
Re: [gentoo-user] Fluxbox + wmdockapps ?
Mick michaelkintz...@gmail.com [09-09-14 04:03]: On Sunday 13 September 2009, Jesús Guerrero wrote: On Sun, 13 Sep 2009 16:46:21 +0200, meino.cra...@gmx.de wrote: meino.cra...@gmx.de meino.cra...@gmx.de [09-09-13 16:22]: Hi, I thought that I had understood some informations given by sites of the internet that fluxbox's slit can handle wmdockapps (wmnetload for example). I installed fluxbox and could use slit via ob-mda, wich are openbox dockapps. So slit is working. I can start wmnetload without any error but also without any effect. Do I have the wrong informations or is it generally not working, what I am trying to do? Sorry, wrong alert! :) suddenly it works...why? dont know... Probably there is an error in front of my keyboard... Hehe, well, some of these plugins are a bit weird. Also, make sure you check the command line options, some of them might need to be launched with a special flag (usually -w) to be in withdrawn/ embeddable mode. This may be irrelevant since you say it works now, but I prefer wmnd. Just add it in ~/.fluxbox/startup like so: wmnd -c orange -I eth0,wlan0,irda0,ppp0 with your relevant ifaces that you want to monnitor. -- Regards, Mick Hi, ...I read it would be sufficient to put those little helpers into ~/.fluxbox/slitlist...but this does not work for me. Furthermore, I have no ~/.fluxbox/startup file. ? Keep hacking! mcc -- Please don't send me any Word- or Powerpoint-Attachments unless it's absolutely neccessary. - Send simply Text. See http://www.gnu.org/philosophy/no-word-attachments.html In a world without fences and walls nobody needs gates and windows.