Re: [gentoo-user] Re: What *-sources for laptop
James pisze: Neil Bothwick neil at digimed.co.uk writes: http://dev.gentoo.org/~dsd/genpatches http://www.tuxonice.net Those are two quite functional URLs Must have been some transient error. Now I find it. Thanks James Although these sources have some potential, I still am unable to boot into linux when running on battery, on AC everything works fine. -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] How to don't autoload a module
On Tuesday 05 February 2008 06:20:25 pm Elyahou ITTAH wrote: What i can do so that the kernel module iwl3945 don't be autoload at the boot ? He is not on module.autoload.d/kernel ... I have many modules (Alsa,nvidia,uvcvideo) which are loaded automaticaly but i don't know why... I am interested to remove this autoload only for iwl3945 thx As root: echo blacklist iwl3945 /etc/modprobe.d/blacklist http://gentoo-wiki.com/HOWTO_prevent_udev_from_loading_certain_modules For additional info signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Sound jack isolations
On Tuesday 29 January 2008 12:58:19 pm Marzan, Richard non Unisys wrote: I tried googling around but no helpful content so far. I have a laptop with built-in sound. It uses the HDA_intel kernel module. My problem is that I can't silence the onboard/built-in speakers when I plug in the headphones to the machine. Muting sound would lead to all jacks and audio ports to be silenced -- not just the built-in speakers, which I intend to mute solely leaving sound alive on the headphone jacks. There are no channels readily observable to differentiate where sound goes and to which port with alsa-mixer. The behavior I would like to achieve is one that will allow me to mute onboard speakers while continuing to have the headphones receive audio signals. Has anyone ever done this? Any pointers to documentation will be appreciated. I had an issue very similiar to this when I purchased my Acer Extensa 5620. After looking around for a long time I found out that the version of alsa that was being used in my kernel at the time didn't well support my sound card. I'm not sure about what alsa version is being used in the latest kernel now but it doesn't hurt to give it a go. Also, I had to modprobe snd_hda_intel with model=acer. Before inserting the module with the model param I was at the same exact spot you are at now. hope this helps -- Dan Dexter signature.asc Description: This is a digitally signed message part.
[gentoo-user] Slow network performance
Hello I have a serious problem with network performance. I have 4 different vlan-s invisible to each other. On each of the vlan-s there are windows clients with file shareing enabled. There are some directories that need to be accessible from all vlan-s, so I've deployed a gentoo based proxy server. It's a Core2Duo with 5 ethernet adapters, one for every vlan + one for internet connection. On this proxy machine I have mounted mentioned directories using cifs, and shared them on all ethernet cards using samba. Here is my problem When I copy a file from any of the hosts to a local file system of proxy machine i get transfers of about 40 MB/s so it's ok. When I copy a file from proxy local file system to any of the hosts on any of the vlans I get very similar results. Unfortunatelly when I access proxy and try to copy a file from samba-shared directory from other vlan than I get 14 MB/s I'm quite confused and don't know what can be the problem, all NIC's are 1 GBit/s Two of them are Intel Pro 1000 (PCIExpress x1) One if integrated on motherboard (nvidia 5XX series chipset) Two are Dlink NIC's on regular PCI -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Samba basics
Mick pisze: Thanks Stroller, On Thursday 22 November 2007, Stroller wrote: On 22 Nov 2007, at 08:43, Mick wrote: ... My experience is that stuff like this is not completely-obvious-to- newcomers in Samba, and I wouldn't rely on it working just like you might expect. Hmm, I know what you mean! :) You might consider posting on the Samba mailing lists, which are quite busy. Thanks, I'll look into it. The Windows file manager still displays the (Linux) user home directory and a file called printers. Is there a way of removing these two items from the Windows client view? The easy way to do this is to remove the [homes] [printers] sections of your smb.conf (NOT smb.cfg, on my system), but of course that also prevents access to them. Is there a way to do this selectively for different users? Some cannot be trusted to even look after their own linux home directories and leaving them visible will give rise to unnecessary queries. I remember that there is an option to include selective config files based on conditions - it's been some time since my last samba installation (a complex one) but it looked something like this include /etc/samba/hostname.cfg It's just of the to of my head, but You should get the idea, in the example above, if a host with certain hostname was connecting to samba server, a specific file was included. Unfortunatelly I don't remeber exact syntax, and tons of other things - I just suggest looking in this direction regards dexter -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] recover log file
Mick pisze: On Tuesday 16 October 2007, Duane Griffin wrote: On 15/10/2007, Neil Bothwick [EMAIL PROTECTED] wrote: On Mon, 15 Oct 2007 23:26:02 +0200, dexter wrote: While tar-ing it I've messed up the command and file got deleted - I need it back desperately emerge testdisk and run photorec. But be sure it doesn't compile on the same partition that contained the lost data! Suggest you try testdisk with a LiveCD and stop messing about with the drive in question in case you overwrite the disk space in question. Unfortunatelly it is impossible to use live cd, so is not messing with hard drive - there are services on it that must remain online I've asked around, and found pretty cool solution on another system I do: nc -l -p 21 drive_image.dd on server with deleted file I do: dd if=/dev/hda1 | nc -q 2 ip of another system 21 after that I can play around with drive_image.dd using for example autopsy -- [EMAIL PROTECTED] mailing list
[gentoo-user] recover log file
Hello - I have a problem regarding apache log file. While tar-ing it I've messed up the command and file got deleted - I need it back desperately The file was 655887455 bytes long, I can not remove the drive that stored it from the server, and I suppose the time is of the esence. The file was created during experiment with apache load balancing, and if I won't get it I have to go all over again. Please advise. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] OT: how do I kick a MAC address off my hostapd WiFi network?
Your iptables rule is almost ok, if I were you i'd do something like this: iptables -t nat -A PREROUTING -m mac --mac-source 00:19:7E:C5:02:AB -j DROP and iptables -A INPUT -m mac --mac-source 00:19:7E:C5:02:AB -j DROP That should do the job Daevid Vincent pisze: I have my WiFi network on a hostapd controlled 10.10.10.* range and my wired LAN on a 192.168.1.* range. I try to be a nice guy and leave the WiFi 'open' (no WEP) as it's segregated and I use some proper shorewall rules to route things nicely for my various privileged devices. Also, some WiFi devices I have just don't support WEP, and it's a real hassle to get others working with WEP. I don't mind the occasional person jumping on to check movie times or traffic or get email or whatever. I think bandwidth should be free for everyone and it is sure a life saver when you need to quickly get online for something. Anyways, sometimes I have stupid neighbors who don't quite get it and will just blindly let their computers connect to my WAP. UGH! They sit on it for hours and days and generally piss me off. How can I boot someone off my network? I usually add them to my shorewall blacklist file, and then: /etc/init.d/dhcp restart /etc/init.d/shorewall restart But I still see them on there it seems. http://daevid.com/examples/dhcp (essentially it's doing an 'arp -n' and then I parse that info and make it pretty) daevid dhcp # arp -n Address HWtype HWaddress Flags Mask Iface 10.10.10.7 ether 00:06:25:12:4A:D8 C wlan0 10.10.10.27 ether 00:19:7E:C5:02:AB C wlan0 67.168.160.1 ether 00:01:5C:23:D7:02 C eth0 10.10.10.69 ether 00:02:6F:21:DF:5C C wlan0 192.168.1.18 ether 00:0C:F1:A8:F7:F3 C eth1 I googled and found this little nugget that I thought would work: http://www.linuxforums.org/forum/linux-newbie/5752-dhcpd-iptables-deny-m ac-addresses.html # iptables -A FORWARD -m mac --mac-source 00:19:7E:C5:02:AB -j DROP But I still see this squatter. And I can feel my network being sluggish as they're probably downloading a lot of stuff. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] emerge kdesktop fails
Did all these - none helped. I've tracked the problem to a missing file during compilation, if I run the last working line manually, or I try to do ./configure manually, the command ends saying that it is missing a libqt-mt.so.3 Could it be an bug ? I'm still unable to emerge kdesktop or kde or anything that requires qt-3 compilation Regards Krzysztof Kent Fredric pisze: On 6/18/07, dexter [EMAIL PROTECTED] wrote: This is from emerge --info Portage 2.1.2.7 (default-linux/x86/2007.0, gcc-4.1.2, glibc-2.5-r3, 2.6.20-gentoo-r8 i686) = System uname: 2.6.20-gentoo-r8 i686 AMD Athlon(tm) XP 2900+ Gentoo Base System release 1.12.9 Timestamp of tree: Fri, 15 Jun 2007 07:50:01 + dev-java/java-config: 1.3.7, 2.0.32 dev-lang/python: 2.4.4-r4 dev-python/pycrypto: 2.0.1-r5 sys-apps/sandbox:1.2.17 sys-devel/autoconf: 2.61 sys-devel/automake: 1.6.3, 1.7.9-r1, 1.9.6-r2, 1.10 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.14 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r2 ACCEPT_KEYWORDS=x86 AUTOCLEAN=yes CBUILD=i686-pc-linux-gnu CFLAGS=-march=athlon-xp -mtune=athlon-xp -O2 -pipe -mfpmath=sse CHOST=i686-pc-linux-gnu CONFIG_PROTECT=/etc CONFIG_PROTECT_MASK=/etc/env.d /etc/env.d/java/ /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/terminfo CXXFLAGS=-march=athlon-xp -mtune=athlon-xp -O2 -pipe -mfpmath=sse DISTDIR=/usr/portage/distfiles FEATURES=distlocks metadata-transfer sandbox sfperms strict GENTOO_MIRRORS=http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo; PKGDIR=/usr/portage/packages PORTAGE_RSYNC_OPTS=--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-* PORTAGE_TMPDIR=/var/tmp PORTDIR=/usr/portage SYNC=rsync://rsync.europe.gentoo.org/gentoo-portage USE=3dnow X a52 aac acl acpi alsa apache2 arts berkdb bitmap-fonts bluetooth bzip2 cdr clamav cli cracklib crypt ctype cups curl dbus dga dri dts dvd dvdr encode exif firefox flac fortran ftp gd gdbm gif gphoto2 gpm hal iconv ieee1394 ipv6 isdnlog java javascript jpeg jpeg2k kde libg++ libnotify lm_sensors mad midi mmx mozilla mp3 mpeg mudflap mysql ncurses nls nptl nptlonly ogg opengl openmp pam pcre pdf perl php png pppd python qt4 quicktime readline reflection samba session slang spl sse ssl tcpd tiff truetype-fonts type1-fonts unicode usb x.264 x86 xine xorg xvid zlib ALSA_CARDS=emu10k1 intel8x0 ALSA_PCM_PLUGINS=adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol ELIBC=glibc INPUT_DEVICES=keyboard mouse evdev KERNEL=linux LCD_DEVICES=bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text USERLAND=GNU VIDEO_CARDS=nvidia Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY 1: -march=cpu-type Generate instructions for the machine type cpu-type. The choices for cpu-type are the same as for -mtune. Moreover, specifying -march=cpu-type implies -mtune=cpu-type. [ man gcc ] So -march=athlon-xp implies -mtune=athlon-xp 2: try without -mfpmath=sse. In theory, -march=athlon-xp should intelligently turn that on. ( Im guessing here that illegal instruction means that the assembler tried to write something that wasn't possible, possibly because of that flag ) -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] emerge kdesktop fails
Hi The funny thing is that I'm actually emerging qt-3.3.8-r2, which is a part of dependency for kdesktop, qt-3.3.8-r2 fails to compile properly due to (i think) lack of mentioned file - libqt-mt.so.3 Dale pisze: dexter wrote: Did all these - none helped. I've tracked the problem to a missing file during compilation, if I run the last working line manually, or I try to do ./configure manually, the command ends saying that it is missing a libqt-mt.so.3 Could it be an bug ? I'm still unable to emerge kdesktop or kde or anything that requires qt-3 compilation Regards Krzysztof According to this: [EMAIL PROTECTED] / # equery belongs libqt-mt.so.3 [ Searching for file(s) libqt-mt.so.3 in *... ] x11-libs/qt-3.3.8-r2 (/usr/qt/3/lib/libqt-mt.so.3 - libqt-mt.so.3.3) [EMAIL PROTECTED] / # That file belongs to qt-3.3.8-r2. Do you have that installed? If not, you may have to emerge it first. If you do, where did it go would be my next question? Dale :-) :-) -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] emerge kdesktop fails
reflection samba session slang spl sse ssl tcpd tiff truetype-fonts type1-fonts unicode usb x.264 x86 xine xorg xvid zlib ALSA_CARDS=emu10k1 intel8x0 ALSA_PCM_PLUGINS=adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol ELIBC=glibc INPUT_DEVICES=keyboard mouse evdev KERNEL=linux LCD_DEVICES=bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text USERLAND=GNU VIDEO_CARDS=nvidia Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY If You still require require more info please let me know Regards Krzysztof Bo Ørsted Andresen pisze: On Tuesday 19 June 2007 01:12:56 dexter wrote: Did all these - none helped. I've tracked the problem to a missing file during compilation, if I run the last working line manually, or I try to do ./configure manually, the command ends saying that it is missing a libqt-mt.so.3 Could it be an bug ? I'm still unable to emerge kdesktop or kde or anything that requires qt-3 compilation Do *NOT* post html to this list. I've refrained from answering this thread till now because your original mail didn't contain enough context to include the real error message. But since the thread is still alive... Thus far you've provided almost no usefull information whatsoever so on this basis it's impossible to say if it's a bug.. As Dale showed you libqt-mt.so.3 belongs to qt which is pretty useless since that's the package you're trying to compile.. ;) S.. you need to show us more context. It must include the actual error message and at least 5-10 lines above that... -- [EMAIL PROTECTED] mailing list
[gentoo-user] emerge kdesktop fails
I've already posted to gentoo forums, but it didn't do me any good. I'm trying to install gentoo on my desktop computer, and emerge kdesktop fails on compiling qt. Build log from qt compilation is as follows /var/tmp/portage/x11-libs/qt-3.3.8-r2/work/qt-x11-free-3.3.8/bin/moc mainwindow.h -o .moc/release-shared-mt/moc_mainwindow.cpp make[3]: *** [qmake_image_collection.cpp] Illegal instruction make[3]: *** Deleting file `qmake_image_collection.cpp' make[3]: *** Waiting for unfinished jobs make[3]: Leaving directory `/var/tmp/portage/x11-libs/qt-3.3.8-r2/work/qt-x11-free-3.3.8/tools/designer/designer' make[2]: *** [sub-designer] Error 2 make[2]: Leaving directory `/var/tmp/portage/x11-libs/qt-3.3.8-r2/work/qt-x11-free-3.3.8/tools/designer' make[1]: *** [sub-designer] Error 2 make[1]: Leaving directory `/var/tmp/portage/x11-libs/qt-3.3.8-r2/work/qt-x11-free-3.3.8/tools' make: *** [sub-tools] Error 2 !!! ERROR: x11-libs/qt-3.3.8-r2 failed. Call stack: ebuild.sh, line 1615: Called dyn_compile ebuild.sh, line 972: Called qa_call 'src_compile' ebuild.sh, line 44: Called src_compile qt-3.3.8-r2.ebuild, line 215: Called die !!! (no error message) !!! If you need support, post the topmost build error, and the call stack if relevant. !!! A complete build log is located at '/var/tmp/portage/x11-libs/qt-3.3.8-r2/temp/build.log'. I was advised to upgrade to newest gcc - I did, and I also have the latest binutils avaluable in the portage. None of those thing helped. I'm quite stuck - I've installed gentoo on several other machines, but never had such a problem. Please advise Regards Krzysztof. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] emerge kdesktop fails
This is from emerge --info Portage 2.1.2.7 (default-linux/x86/2007.0, gcc-4.1.2, glibc-2.5-r3, 2.6.20-gentoo-r8 i686) = System uname: 2.6.20-gentoo-r8 i686 AMD Athlon(tm) XP 2900+ Gentoo Base System release 1.12.9 Timestamp of tree: Fri, 15 Jun 2007 07:50:01 + dev-java/java-config: 1.3.7, 2.0.32 dev-lang/python: 2.4.4-r4 dev-python/pycrypto: 2.0.1-r5 sys-apps/sandbox:1.2.17 sys-devel/autoconf: 2.61 sys-devel/automake: 1.6.3, 1.7.9-r1, 1.9.6-r2, 1.10 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.14 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r2 ACCEPT_KEYWORDS=x86 AUTOCLEAN=yes CBUILD=i686-pc-linux-gnu CFLAGS=-march=athlon-xp -mtune=athlon-xp -O2 -pipe -mfpmath=sse CHOST=i686-pc-linux-gnu CONFIG_PROTECT=/etc CONFIG_PROTECT_MASK=/etc/env.d /etc/env.d/java/ /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/terminfo CXXFLAGS=-march=athlon-xp -mtune=athlon-xp -O2 -pipe -mfpmath=sse DISTDIR=/usr/portage/distfiles FEATURES=distlocks metadata-transfer sandbox sfperms strict GENTOO_MIRRORS=http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo; PKGDIR=/usr/portage/packages PORTAGE_RSYNC_OPTS=--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-* PORTAGE_TMPDIR=/var/tmp PORTDIR=/usr/portage SYNC=rsync://rsync.europe.gentoo.org/gentoo-portage USE=3dnow X a52 aac acl acpi alsa apache2 arts berkdb bitmap-fonts bluetooth bzip2 cdr clamav cli cracklib crypt ctype cups curl dbus dga dri dts dvd dvdr encode exif firefox flac fortran ftp gd gdbm gif gphoto2 gpm hal iconv ieee1394 ipv6 isdnlog java javascript jpeg jpeg2k kde libg++ libnotify lm_sensors mad midi mmx mozilla mp3 mpeg mudflap mysql ncurses nls nptl nptlonly ogg opengl openmp pam pcre pdf perl php png pppd python qt4 quicktime readline reflection samba session slang spl sse ssl tcpd tiff truetype-fonts type1-fonts unicode usb x.264 x86 xine xorg xvid zlib ALSA_CARDS=emu10k1 intel8x0 ALSA_PCM_PLUGINS=adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol ELIBC=glibc INPUT_DEVICES=keyboard mouse evdev KERNEL=linux LCD_DEVICES=bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text USERLAND=GNU VIDEO_CARDS=nvidia Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY Vladimir Rusinov pisze: On 6/17/07, *dexter* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: I was advised to upgrade to newest gcc - I did, and I also have the latest binutils avaluable in the portage. None of those thing helped. I'm quite stuck - I've installed gentoo on several other machines, but never had such a problem. Please advise May be overtuned CFLAGS? Please, show emerge --info -- Vladimir Rusinov GreenMice Solutions: IT-решения на базе Linux http://greenmice.info/ -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] courier-pop3d problem
kashani pisze: dexter wrote: Hello I have a strange problem with curier-pop3d service I can connect to server, then I input username and password - I'm granted access, I receive +OK logged in. When I want to do LIST command, I get +OK POP3 clients that break here, they violate STD53. I'm unable to list any messages with putty or receive any mail with Thunderbird 2.0 I'm quite confused - few weeks ago it worked like a charm. Regards Krzysztof Marciszewski Anything useful info in your logs? kashani Hi Debuging was completly disabled - after enabling debuging I was quite surprised to find, that upgrading courier-imap with emerge, changed my email server configuration, folder containing user mail was changed, and location of directive defining it was moved to other file. Before upgrade - MYSQL_MAILDIR_FIELDMaildir - was defined in /etc/courier/authlib/authmysqlrc After upgrade my /etc/courier-imap/pop3d-ssl configuration has changed (the following was added): # Hardwire a value for ${MAILDIR} MAILDIR=.maildir MAILDIRPATH=.maildir The curios thing is, that only /etc/courier-imap/pop3d-ssl was affected, /etc/courier-imap/pop3d was untouched - so unencrypted mail was working. Problem is currently solved - but I wonder, did I really miss such a thing doing etc-update ? It didn't happen before - I think :) Regards Krzysztof Marciszewski -- [EMAIL PROTECTED] mailing list
[gentoo-user] courier-pop3d problem
Hello I have a strange problem with curier-pop3d service I can connect to server, then I input username and password - I'm granted access, I receive +OK logged in. When I want to do LIST command, I get +OK POP3 clients that break here, they violate STD53. I'm unable to list any messages with putty or receive any mail with Thunderbird 2.0 I'm quite confused - few weeks ago it worked like a charm. Regards Krzysztof Marciszewski -- [EMAIL PROTECTED] mailing list