prompt stringlengths 1 63.6k | completion stringlengths 1 53.1k |
|---|---|
seems i have one that tries to run an old cron job every minute.. according to this http://www.linuxsa.org.au/tips/zombies.html it's no big deal, but it does bother me.. this came out of my cron.lg ( sometimes it's error 127) - Jul 31 17:00:01 me /USR/SBIN/CRON[9212]: (root) CMD (/etc/gadmin-rsync/scripts/gadmin-rsync-photo.sh) Jul 31 17:00:01 me /USR/SBIN/CRON[9211]: (CRON) error (grandchild #9212 failed with exit status 126) the script no longer exists, it's been gone for a couple of months (the cron job was stopped before i deleted it) part of the problem is it has no pid to kill $ps PID TTY TIME CMD 27644 pts/1 00:00:00 su 27661 pts/1 00:00:00 bash 27678 pts/1 00:00:00 ps rebooting doesn't cure it, i'm thinking i'm gonna have to live with it. just discovered it today, but it's been going on for a couple of months.. | If you kill whatever the parent process is then a zombie will die. If it is coming back through reboots then it is being called and dying again each time. You gotta track down where it's being called and remove the call. The crontab entry must still be there. Check crontab -e as root. However are you sure there is actually a zombie process? Your ps output looks normal. Use "ps x" and look for Z flags. No reason to live with it! |
I am using Squeeze. I've been trying to change the name server my computer uses for dns lookups but I'm not sure if it'd working. I've added the following lines to my /etc/dhcp3/dhclient.conf Code: Select allsupersede domain-name-servers 8.8.8.8, 8.8.4.4; prepend domain-name-servers 8.8.8.8, 8.8.4.4; which results in my /etc/resolv.conf.auto looking like Code: Select allnameserver 8.8.8.8 nameserver 8.8.4.4 but my /etc/resolv.conf still looks like Code: Select alldomain cable.virginmedia.net search cable.virginmedia.net nameserver 194.168.4.100 nameserver 194.168.8.100 (i.e. it is still showing my ISP's nameservers). | Where does resolv.conf.auto come from? There are so many applications controlling the same things that I can not keep track of all of them. I expect it is installed by some package that is intended to make your life easier. Personally I think it is easier to know the old way of doing things that can be carried from one system to another and does not change with the latest fad. Sorry for the mini-rant. Code: Select alldpkg -S /etc/resolv.conf.auto should tell you which package installed that. Then you can figure out if you are using that, although it appears that you are not. It might be that network-manager is installed and you are using /etc/network/interfaces or wicd or something like that. |
Hi everybody I'm having some trouble getting Miro updated. The package in Stable is 1.2.3-2, and I can't see all the online content because I don't have the 2.0 version. The thing is thar actually Miro is in its 3.0.1-2 version! I searched the package and is only found on testing (It's not in backports). I was wondering if I can install a package from testing in stable... So I downloaded the .deb file from Miro's web page and I tried. This was the output: Code: Select alldebian:/home/hernan/Programas# dpkg -i miro_3.0.1-2_amd64.deb (Reading database ... 141722 files and directories currently installed.) Preparing to replace miro 1.2.3-2 (using miro_3.0.1-2_amd64.deb) ... Unpacking replacement miro ... dpkg: dependency problems prevent configuration of miro: miro depends on python2.6; however: Package python2.6 is not installed. miro depends on python-support (>= 0.90.0); however: Version of python-support on system is 0.8.4lenny2. miro depends on python-gconf; however: Package python-gconf is not installed. miro depends on python-libtorrent (>= 0.14.10-2); however: Package python-libtorrent is not installed. miro depends on gstreamer0.10-plugins-bad (>= 0.10.0); however: Package gstreamer0.10-plugins-bad is not installed. miro depends on xulrunner-1.9.1; however: Package xulrunner-1.9.1 is not installed. miro depends on miro-data (>= 3.0.1-1); however: Version of miro-data on system is 1.2.3-2. dpkg: error processing miro (--install): dependency problems - leaving unconfigured Processing triggers for python-support ... Processing triggers for menu ... Processing triggers for man-db ... Errors were encountered while processing: miro debian:/home/hernan/Programas# I don't really know what to make of this. Help anyone?... | You have a few choices. 1) backport it yourself First, check for a backport on <backports.org>. If unavailable: 1) Add ONLY a "deb-src ..." line for sid to your sources.list 2) enable backports.org (see <bpo>) 3) aptitude update; aptitude install build-essential; aptitude build-dep packagename; apt-get -b source packagename; 4) install the resultant debs. 2) try building it from source. 3)upgrade to Squeeze |
Hi I'm trying to use module-assistant to add the vboxdrv using instructions also found here in the debian forum. However, m-a can't find the linux-headers because it looks for the package linux-headers-2.6.32-5-trunk-686. I attempted to specifify were the headers were by using: Code: Select allm-a prepare --kernel-dir /usr/src/linux-headers-2.6.32-5-686/ but also doesn't work. Instead, I get the error: Code: Select allBad kernel version specification at /usr/bin/m-a line 566. Anyone knows how to work around this? By the way, the reason I am doing this is because when I installed virtualbox (following the instructions in debian wiki) there's no vboxdrv. When I try to modprobe it, I get: Code: Select allFATAL: Module vboxdrv not found. Any help is appreciated. Thanks in advance | First, find out what kernel you are running with one of these commands. Code: Select alluname -r Code: Select allcat /proc/version You will almost certainly find that it includes trunk in the name. Make sure you have another version, probably linux-image-2.6.32-5-686 installed. Code: Select alldpkg -l | grep linux-im Then boot into that kernel and remove the -trunk- version. At this point things will work as you expect. |
Hello guys. I just installed Debian 5 in my pc. I have made all the updates but my screen is a bit bright and the resolution isn't very good. I think that i need to install the graphic card driver but all the solution i find in google didn't work . My laptop is Toshiba satellite pro u400 and my card is Intel GMA 4500 MHD. Any suggestions? | InstallingDebianOn/Thinkpad/T400/lenny - Debian Wiki - http://wiki.debian.org/InstallingDebian ... T400/lenny Not the same laptop but the graphics part of that page should help. |
Hello again. When i open applications which need su or gksu commands sometimes a string "Granting rights" appears in the window. I just find this http://www.mail-archive.com/debian-bugs ... 28423.html. Anyone who can help me? edit: It happens mostly when i use desktop launchers to run these applications. | Have you kept up with your upgrades? I wonder if you have a mis-match somewhere. Gksu and su cause me no problems. |
hi guyz my first post here , last two days i deal with something that i cannot figure out... during startup it loads up a terminal and a pdf that i had opened before two days. The pdf doesn't exist any more ,i have deleted it. maybe it has to do with my startup services or something else i don't know. i have debian lenny. thanks in advance | Did you log off with those open one day? If so, it's your session manager's fault; look in kcontrol if you use KDE(I don't know where GNOME keeps that setting). |
Hello, I bought a laptop : Samsung R580 and when i want to install Debian Squeeze with NetInstall, it's impossible because ma Ethernet Card isn't recognized. These are the caracteristics of my card : Code: Select allPCI ID : 11ab4381 Supporté : Yes Fabricant : Marvell Technology Group Ltd. Matériel : 88E8059 PCI-E Gigabit Ethernet Controller Pilote : sky2 The driver is not in the kernel 2.6.32 and i must to wait a new kernel version in Debian? Thanks | For Debian Lenny installers with up-to-date kernels, see http://kmuto.jp/debian/d-i/ sky2 is the Marvell Yukon 2 Gigabit Ethernet driver, supported devices are listed at http://wiki.debian.org/sky2 |
Hey, I'm running Testing on this AMD64 and after a dist-upgrade this morning, the max screen resolution I can set is 800x600. Just curious if any one else is having trouble. At this point I'm not sure if it is a HAL, X or nVidia problem. lspci reports: 01:00.0 VGA compatible controller: nVidia Corporation G98 [GeForce 8400 GS] (rev a1) I'm going back to searching the web.... Rich | Ok, so I start out with this tutorial: http://www.debiantutorials.org/module-a ... idia-lenny And after Code: Select allm-a a-i nvidia The following errors occur. ┌────────────────┤ module-assistant, error message ├─────────────────┐ │ Bad luck, the kernel headers for the target kernel version could │ not be found and you did │ not specify other valid kernel headers to use. ┌────────────────┤ module-assistant, error message ├─────────────────┐ │ If the running kernel has been shipped with the Debian │ distribution, please install the package │ linux-headers-2.6.32-trunk-amd64. If your kernel source tree (or │ headers) is located in some non-usual location, please set the │ KERNELDIRS environment variable to the path of this directory, or │ (alternatively) specify the source directory we build for with │ the --kernel-dir option in module-assistant calls. │ Package nvidia-kernel-source was not built successfully, see │ /var/cache/modass/nvidia-kernel-source*buildlog* for details! Code: Select allramack@debian64:~$ sudo apt-get install linux-headers-2.6.32-trunk-amd64 Reading package lists... Done Building dependency tree Reading state information... Done E: Couldn't find package linux-headers-2.6.32-trunk-amd64 ramack@debian64:~$ And there is not a build log... Do I need to boot with a non-trunk kernel and repeat the above steps? Rich |
Hey, folks, I need some help and I hope you can provide it. As you can see in the picture I've got unused space in /dev/sda2 (wich is my extended partition) after sda5 and sda7. I want to install windows but I somehow need to merge the unused space and create a primary partition. Can anyone tell me how I go about doing this and if it's at all possible? | I think you can move the logical partitions using gparted.right click on "/dev/sda6"(as per your screensot) name and use "Resize/Move" Option.Later You Can Move the Partition by grab with the Mouse towards the right?Later to Move Swap as well ,so that Free Space is available in the end region .see for eg(regarding moving partition): Right Click on the partition: gparted right click resize menu Screenshot--dev-sda - GParted.png (59.22 KiB) Viewed 853 times Resize By Grabbing with Mouse towards the region partition is intended to be moved: gparted resize Screenshot-Resize-Move -dev-sda7.png (22.74 KiB) Viewed 853 times I think it's not possible to move extended partition to Free Space?Instead ,You can create a Primary partition(upto 4 no.s).I'm not sure if windows will install on any primary partition.try your luck. |
I don't print much, but tonight needed to print and found that none of the printers were listed in Okular or Openoffice, then when I tried to open Cups Administration http://localhost:631/ I got the error message Connection to Server Refused I looked at jheaton5's advice http://forums.debian.net/viewtopic.php? ... te#p306515 got one error message Checking for dependency: CUPS image - CUPS image development files... error: NOT FOUND! This is a REQUIRED/COMPILE TIME ONLY dependency. Please make sure that this dependency is installed before installing or running HPLIP. To install this dependency, execute this command: su -c "apt-get install --force-yes -y libcupsys2-dev cupsys-bsd"[/quote] tried that and got this Code: Select allme@squeeze:~$ su -c "apt-get install --force-yes -y libcupsys2-dev cupsys-bsd" Password: Reading package lists... Done Building dependency tree Reading state information... Done E: Couldn't find package libcupsys2-dev me@squeeze:~$ Any ideas please? | These are all of the cups/hp/foomatic packages I have installed: Code: Select allii cups 1.4.4-1 Common UNIX Printing System(tm) - server ii cups-bsd 1.4.4-1 Common UNIX Printing System(tm) - BSD comman ii cups-client 1.4.4-1 Common UNIX Printing System(tm) - client pro ii cups-common 1.4.4-1 Common UNIX Printing System(tm) - common fil ii cups-driver-gutenprint 5.2.5-1 printer drivers for CUPS ii cups-pdf 2.5.0-16 PDF printer for CUPS ii cups-ppdc 1.4.4-1 Common UNIX Printing System(tm) - PPD manipu ii cupsddk 1.4.4-1 Common UNIX Printing System (transitional pa ii ghostscript-cups 8.71~dfsg2-3 The GPL Ghostscript PostScript/PDF interpret ii hplip-cups 3.10.5-4 HP Linux Printing and Imaging - CUPS Raster ii libcups2 1.4.4-1 Common UNIX Printing System(tm) - Core libra ii libcupscgi1 1.4.4-1 Common UNIX Printing System(tm) - CGI librar ii libcupsdriver1 1.4.4-1 Common UNIX Printing System(tm) - Driver lib ii libcupsimage2 1.4.4-1 Common UNIX Printing System(tm) - Raster ima ii libcupsmime1 1.4.4-1 Common UNIX Printing System(tm) - MIME libra ii libcupsppdc1 1.4.4-1 Common UNIX Printing System(tm) - PPD manipu ii hpijs 3.10.5-4 HP Linux Printing and Imaging - gs IJS drive ii hpijs-ppds 3.10.5-4 HP Linux Printing and Imaging - HPIJS PPD fi ii hplip 3.10.5-4 HP Linux Printing and Imaging System (HPLIP) ii hplip-cups 3.10.5-4 HP Linux Printing and Imaging - CUPS Raster ii hplip-data 3.10.5-4 HP Linux Printing and Imaging - data files ii hplip-gui 3.10.5-4 HP Linux Printing and Imaging - GUI utilitie ii libhpmud0 3.10.5-4 HP Multi-Point Transport Driver (hpmud) run- ii foomatic-db 20100630-1 OpenPrinting printer support - database ii foomatic-db-engine 4.0.4-1 OpenPrinting printer support - programs ii foomatic-db-gutenprint 5.2.5-1 OpenPrinting printer support - database for ii foomatic-filters 4.0-20090509-1 OpenPrinting printer support - filters Printing works just fine here. |
Since I got the liquorix kernel installed on my machine I got an error of setting kernel variable error. net.ipv6.bindv6only at boot time, since it wasnt a big deal I never looked further into it, but now that I had some spare time and I didnt want to see any errors on my machine I found a solution for it, with a little googling all we need to do is read the /usr/share/doc/procps/README.Debian and bingo no more error i hope this help anyone else with the same problem. I did the 3rd suggestion on that file to load the module in /etc/modules cheers | Noticed that for a while now. Its in the kernel, asked damentz about the error he said he didn't have it on his systems. The $64,000 question, would putting ipv6 in /etc/modules conflict with disabling ipv6 by having GRUB_CMDLINE_LINUX="ipv6.disable=1" |
I recently upgraded to debian kernel 2.6.35' when booting the screen seems for gone into Frame buffer or a very small type font in console. I run console mostly and when I need a GUI i load X. I have a Nvidia MX440 card and do not want a console frame buffer. I cannot find the changes I have to make in recompiling a kernel from source. I know how to recompile the debian way. | What exactly is your goal? It isn't clear from your post what you want to do. My guess is that you can no longer start X because you haven't built an nvidia module for your new kernel. |
Hello there, I just installed debian on my laptop. In the install it asked me if I wanted to set up the wireless network, but I only had the choice of entering WEP authentication (who in the world uses that anyways), and I have WPA2 on my wireless access point, so I chose to set it up manually after the install. The network card is intel PRO/Wireless 3945ABG, and I've read somewhere, that it should be supported by the kernel. For simplicity, I've disabled WPA2 for now, so the net is completely open - I just want to be able to connect for a start. So I do the usual stuff: Code: Select alliwconfig wlan0 essid linksys However, it seems that it hasn't really found the access point, since iwconfig yields this: Code: Select allmartin@martin-debian:~$ sudo iwconfig lo no wireless extensions. eth0 no wireless extensions. irda0 no wireless extensions. wmaster0 no wireless extensions. wlan0 IEEE 802.11 ESSID:"linksys" Mode:Managed Frequency:2.412 GHz Access Point: Not-Associated Tx-Power=0 dBm Retry min limit:7 RTS thr:off Fragment thr=2352 B Encryption key:off Link Quality:0 Signal level:0 Noise level:0 Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0 Tx excessive retries:0 Invalid misc:0 Missed beacon:0 Trying the dhlient command gives the following: Code: Select allmartin@martin-debian:~$ sudo dhclient wlan0 Internet Systems Consortium DHCP Client V3.1.1 Copyright 2004-2008 Internet Systems Consortium. All rights reserved. For info, please visit http://www.isc.org/sw/dhcp/ wmaster0: unknown hardware address type 801 SIOCSIFFLAGS: No such file or directory SIOCSIFFLAGS: No such file or directory wmaster0: unknown hardware address type 801 Listening on LPF/wlan0/00:19:d2:b3:e0:74 Sending on LPF/wlan0/00:19:d2:b3:e0:74 Sending on Socket/fallback receive_packet failed on wlan0: Network is down DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 3 send_packet: Network is down DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 8 send_packet: Network is down ^C Does anyone have any experience with this? Martin --edit-- Btw, I tried Code: Select allmodprobe iwl3945 and Code: Select all/etc/init.d/networking restart which didn't work. | Debian doesn't include the firmware on an initial install since it is non-free. You need to download it manually. Its called firmware-iwlwifi Then modprobe etc. |
When i want to configure my touchpad on my dell inspiron 1525 with debian lenny then i got this message: gsynaptics couldnt initialize you have to set 'shmconfig' 'true' in xorg.conf or xf86config to use gsynaptics My touchpad is an alps and not a synaptics so far i can see. My xorg.conf is this: http://pastebin.com/enWzRpVe i hope some one can help me | kruijf76 wrote: My xorg.conf is this: http://pastebin.com/enWzRpVe i hope some one can help me Try adding this to xorg.conf Code: Select allOption "SHMConfig" "true" Something like this then: Code: Select allSection "InputDevice" Identifier "Synaptics Touchpad" Driver "synaptics" Option "SHMConfig" "true" Option "SendCoreEvents" "true" Option "Device" "/dev/psaux" Option "Protocol" "auto-dev" Option "HorizScrollDelta" "0" Option "AccelFactor" "0.5" EndSection An alternative xorg.conf - note the InputDevice section http://forums.debian.net/viewtopic.php? ... ig#p300645 |
I'm trying to install Kamailio DEB repository. (see http://www.kamailio.org/dokuwiki/doku.php/packages:debs) These are the steps I've done(as explained on the web site): 1. First download and add our GPG key to your apt key list: Code: Select allwget http://deb.kamailio.org/kamailiodebkey.gpg apt-key add kamailiodebkey.gpg 2.Then add the repository lines to your /etc/apt/sources.list file depending on the Kamailio version of your choice: Code: Select alldeb http://deb.kamailio.org/kamailio lenny main deb-src http://deb.kamailio.org/kamailio lenny main To install the packege I did: Code: Select allmedion:~# apt-get install kamailio Reading package lists... Done Building dependency tree Reading state information... Done E: Couldn't find package kamailio <------------- ????? medion:~# Q: Why do I get E: Couldn't find package kamailio | apt-get update then you can do apt-get install. You always have to run apt-get update any time you change sources.list. |
I have a netgear wg111t that is running with ndiswrapper. It has an atheros chipset, but calling it ath0 didn't work. heres /etc/network/interface : # This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5). # The loopback network interface auto lo iface lo inet loopback auto ath0 iface ath0 inet dhcp address 192.168.1.2 network 192.168.0.0 #guess netmask 255.255.255.0 broadcast 192.168.0.255 #guess gateway 192.168.1.1 wpa-driver wext wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf heres /etc/wpasupplicant/wpasupplicant.conf (there may be some typos in this path ) ctrl_interface=/var/run/wpa_supplicant network={ ssid="KYAH1" key_mgmt=NONE wep_key0=<hexKeyThatImNotSaying> } And here is the error message: wpa_supplicant: /sbin/wpa_supplicant daemon failed to start run-parts: /etc/network/if-pre-up.d/wpasupplicant exited with return code 1 Internet Systems Consortium DHCP Client V3.1.1 Copyright 2004-2008 Internet Systems Consortium. All rights reserved. For info, please visit http://www.isc.org/sw/dhcp/ SIOCSIFADDR: No such device ath0: ERROR while getting interface flags: No such device ath0: ERROR while getting interface flags: No such device Bind socket to interface: No such device Failed to bring up ath0. I could also use some help in the /etc/network/wireless syntax. Heres my info on the network:Physical Address: 00-19-E0-67-E8-96 IP Address: 192.168.1.3 Subnet Mask: 255.255.255.0 Default Gateway: 192.168.1.1 DHCP Server: 192.168.1.1 Lease Obtained: 6/16/2010 7:31:36 AM Lease Expires: 6/17/2010 7:31:36 AM DNS Servers: 192.168.1.1, 71.252.0.12 WINS Server: i also know the wan mac and the wps pin (I just don't know what that means | Hi, if you decide on configuring your network interface via dhcp server you have to build an adequate "/etc/network/interfaces" file in which these method is explicitly mentioned. Remove all entries except the following three lines from your "ath0" interface entry. auto ath0 iface ath0 inet dhcp wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf The first line describes the IF start-up method (i.e manually, automaticly, hot-plugged etc) The second line defines how your network has to be configured. In this case all necessary information will be provided by your dhcp server. The third line points to your wireless configuration. If you want to configure it with a static IP address you have to provide all relevant network information by yourself. The correct entries will be: auto ath0 iface ath0 inet static address XXXX netmask XXXX gateway XXXX dns-nameserver XXXX wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf. Let the "lo" entry untouched. The syntax of your "wpa_supplicant.conf" seems to be ok. So make these changes in your /etc/network/interfaces and try if it will work! If not there are some other mistakes too. |
I installed Lenny for my new server and set a static IP the usual way: Code: Select all# This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5). # The loopback network interface auto lo iface lo inet loopback # The primary network interface # allow-hotplug eth0 # iface eth0 inet dhcp auto eth0 iface eth0 inet static address 192.168.0.4 netmask 255.255.255.0 network 192.168.0.0 broadcast 192.168.0.255 gateway 192.168.0.254 # dns-nameservers 192.168.0.254 # dns-* options are implemented by the resolvconf package, if installed # suspect bottom line not used... see /etc/resolv.conf # dns-nameservers 205.151.222.250 205.151.222.251 But my daemon.log would be quiet for a few hours and then start filling up with dhclient: DHCPREQUEST on eth0 to 255.255.255.255 port 67 every few seconds and then switch to dhclient: DHCPREQUEST on eth0 to 192.168.0.254 port 67 every few seconds which is the IP of my DHCP server. Eventually it would dump my static IP and set an IP from my DHCP server which I don't want. My DHCP range is from 100-199 so no conflict. So I did aptitude remove dhcp3-client and then aptitude remove dhcp3-common. My logs still filled. I saw dhclient3 is still in memory, but why? I killed it and rebooted and now it's really gone. But what if I need dhcp3-client in the future? Is it really needed to remove it just to use a static IP? | Why not disable dhclient for this machine? |
So, I can use this at the end of bash_profile to autorun start x after logging on. Code: Select allif [ -z "$DISPLAY" ] && [ $(tty) == /dev/tty1 ]; then startx fi But what about to auto logout after killing the X session? I hit exit from fluxbox, but I could add a menu item I suppose to just kill the xsession. Wondering if there is a graceful way to do it with bash_profile. Also, on a related note, if I switch to dash with the bash_profile method still work? Many thanks, A | Maybe, Code: Select all# shutdown -h now |
Suddenly I cannot get into my contacts, which are vital for my business. Arbitrary failures like this are unforgivable in mission-critical applications. When I click on Kontact it says "Akonadi not operational". Details shows the following: I do have libqt4-sql and python-qt4 installed. I found that mysql-server was not installed so I installed it, but stupidly "Access denied for user 'root'@'localhost'", even when I use the password in mysql.cnf. I don't know what Akonadi, Nepomuk, or many of the other weird new services are, so am lost. My business-critical contacts are locked up and I cannot access them, probably through someone's stupid mistake. Has anyone got a clue? | Take a look at View topic - Akonadi upgrade to 4.4: some problems :: sidux.com :: debian based live cd development - http://www.sidux.com/index.php?name=PNp ... ic&t=20709 |
I have two Lenny (5.0.4) boxes, both with proftpd installed... one works just fine, while the other is a real pain When I attempt to ftp to the box it gags and says: Code: Select all550 SSL/TLS required on the control channel Login failed. Remote system type is UNIX. Using binary mode to transfer files. I don't get this on the other box... it just works... /etc/proftpd/proftpd.conf: Code: Select all# /etc/proftpd/proftpd.conf -- This is a basic ProFTPD configuration file. # To really apply changes reload proftpd after modifications. # # Includes DSO modules Include /etc/proftpd/modules.conf # Set off to disable IPv6 support which is annoying on IPv4 only boxes. UseIPv6 off # If set on you can experience a longer connection delay in many cases. IdentLookups off ServerName "osr506" ServerType inetd DeferWelcome off MultilineRFC2228 on DefaultServer on ShowSymlinks on TimeoutNoTransfer 600 TimeoutStalled 600 TimeoutIdle 1200 DisplayLogin welcome.msg DisplayChdir .message true ListOptions "-l" DenyFilter \*.*/ # Use this to jail all users in their homes # DefaultRoot ~ DefaultRoot ~ IdentLookups off ServerIdent on "FTP Server ready." # Users require a valid shell listed in /etc/shells to login. # Use this directive to release that constrain. # RequireValidShell off # Port 21 is the standard FTP port. Port 21 # In some cases you have to specify passive ports range to by-pass # firewall limitations. Ephemeral ports can be used for that, but # feel free to use a more narrow range. # PassivePorts 49152 65534 # If your host was NATted, this option is useful in order to # allow passive tranfers to work. You have to use your public # address and opening the passive ports used on your firewall as well. # MasqueradeAddress 1.2.3.4 # This is useful for masquerading address with dynamic IPs: # refresh any configured MasqueradeAddress directives every 8 hours <IfModule mod_dynmasq.c> # DynMasqRefresh 28800 </IfModule> # To prevent DoS attacks, set the maximum number of child processes # to 30. If you need to allow more than 30 concurrent connections # at once, simply increase this value. Note that this ONLY works # in standalone mode, in inetd mode you should use an inetd server # that allows you to limit maximum number of processes per service # (such as xinetd) MaxInstances 30 # Set the user and group that the server normally runs at. User proftpd Group nogroup # Umask 022 is a good standard umask to prevent new files and dirs # (second parm) from being group and world writable. Umask 022 022 # Normally, we want files to be overwriteable. AllowOverwrite on # Uncomment this if you are using NIS or LDAP via NSS to retrieve passwords: # PersistentPasswd off # This is required to use both PAM-based authentication and local passwords # AuthOrder mod_auth_pam.c* mod_auth_unix.c # Be warned: use of this directive impacts CPU average load! # Uncomment this if you like to see progress and transfer rate with ftpwho # in downloads. That is not needed for uploads rates. # # UseSendFile off TransferLog /var/log/proftpd/xferlog SystemLog /var/log/proftpd/proftpd.log <IfModule mod_quotatab.c> QuotaEngine off </IfModule> # <IfModule mod_tls.c> # TLSEngine on # TLSLog /var/log/proftpd/tls.log # TLSProtocol SSLv23 # TLSOptions NoCertRequest # TLSRSACertificateFile /etc/proftpd/ssl/proftpd.cert.pem # TLSRSACertificateKeyFile /etc/proftpd/ssl/proftpd.key.pem # TLSVerifyClient off # TLSRequired on # </IfModule> <IfModule mod_ratio.c> Ratios off </IfModule> # Delay engine reduces impact of the so-called Timing Attack described in # http://security.lss.hr/index.php?page=details&ID=LSS-2004-10-02 # It is on by default. <IfModule mod_delay.c> DelayEngine on </IfModule> <IfModule mod_ctrls.c> ControlsEngine off ControlsMaxClients 2 ControlsLog /var/log/proftpd/controls.log ControlsInterval 5 ControlsSocket /var/run/proftpd/proftpd.sock </IfModule> <IfModule mod_ctrls_admin.c> AdminControlsEngine off </IfModule> # # Alternative authentication frameworks # #Include /etc/proftpd/ldap.conf #Include /etc/proftpd/sql.conf # # This is used for FTPS connections # #Include /etc/proftpd/tls.conf # A basic anonymous configuration, no upload directories. # <Anonymous ~ftp> # User ftp # Group nogroup # # We want clients to be able to login with "anonymous" as well as "ftp" # UserAlias anonymous ftp # # Cosmetic changes, all files belongs to ftp user # DirFakeUser on ftp # DirFakeGroup on ftp # # RequireValidShell off # # # Limit the maximum number of anonymous logins # MaxClients 10 # # # We want 'welcome.msg' displayed at login, and '.message' displayed # # in each newly chdired directory. # DisplayLogin welcome.msg # DisplayChdir .message # # # Limit WRITE everywhere in the anonymous chroot # <Directory *> # <Limit WRITE> # DenyAll # </Limit> # </Directory> # # # Uncomment this if you're brave. # # <Directory incoming> # # # Umask 022 is a good standard umask to prevent new files and dirs # # # (second parm) from being group and world writable. # # Umask 022 022 # # <Limit READ WRITE> # # DenyAll # # </Limit> # # <Limit STOR> # # AllowAll # # </Limit> # # </Directory> # # </Anonymous> How do I either get both boxes to work with SSL/TLS or without? | By SIGHUPing proftpd, the SSL/TLS has gone away, but now it refuses a connection... Seems like I have made things a tad worse, now And, Finally, I copied the proftpd.conf file from the site that worked to the one that refused, and now both are doing as expected... Sorry about the bandwidth |
Hello all, Having this issue: Code: Select all~/home/pete/kernel-compiling# dpkg -i *deb Selecting previously deselected package linux-headers-2.6.30polaris3a. (Reading database ... 89751 files and directories currently installed.) Unpacking linux-headers-2.6.30polaris3a (from linux-headers-2.6.30polaris3a_custom.001_i386.deb) ... Selecting previously deselected package linux-image-2.6.30polaris3a. Unpacking linux-image-2.6.30polaris3a (from linux-image-2.6.30polaris3a_custom.001_i386.deb) ... Done. Setting up linux-headers-2.6.30polaris3a (custom.001) ... Setting up linux-image-2.6.30polaris3a (custom.001) ... Running depmod. Finding valid ramdisk creators. Using mkinitramfs-kpkg to build the ramdisk. W: Possible missing firmware /lib/firmware/e100/d102e_ucode.bin for module e100 W: Possible missing firmware /lib/firmware/e100/d101s_ucode.bin for module e100 W: Possible missing firmware /lib/firmware/e100/d101m_ucode.bin for module e100 The ramdisk builds but system hangs on reinstall. have looked at similar initramfs threads here and tried both updateinitramfs and mkinitramfs. All worked but returned exactly the same warnings. Have had the same issue with backported kernels 2.6.32 and 2.6.30. System is an old IBM thinkpad T40 Pentium 4 2GHz with 1 GB RAM and a 60G HDD. Any ideas? Anybody know what module e100 is? | Ok, looked around and wound up here http://blogs.koolwal.net/2009/05/11/tip ... s-missing/ the required package is firmware-linux from the non-free repo. This is a pretty hacky fix but it DOES solve the problem. Currently running Lenny with 2.6.30. |
Hello, I have just set up the above OS, however, installation did not find my network and therefore APT additional software & security updates could not be accessed. The network was simple to setup post installation. Could I please have the steps to belatedly configure APT in this situation. I have uncommented a few sources in the sources list file but obviously that does not,in itself, suffice to get accessability. I am also unable to configure my supported HP printer and I assume that can only be done with an additional package via APT. Thanks for any help | Post your sources.list so others can see what is missing. A basic source.list for Stable would be: #Stable deb http://http.us.debian.org/debian/ lenny main contrib non-free #Stable Sources deb-src http://http.us.debian.org/debian/ lenny main contrib non-free #Security Updates http://www.debian.org/security/ deb http://security.debian.org/ lenny/updates main contrib non-free Might need or want Volatile, backports, and debian-multimedia.org as well. You can find different Debian mirrors at: Official Debian mirrors http://www.debian.org/mirror/list # Debian Volatile http://www.debian.org/volatile/ # deb http://volatile.debian.org/debian-volatile lenny/volatile main contrib non-free # deb http://volatile.debian.org/debian-volatile lenny/volatile-sloppy main contrib non-free # Debian Stable Backports # For information visit # http://www.backports.org/dokuwiki/doku. ... structions # Secure apt: apt-get install debian-backports-keyring #deb http://www.backports.org/debian lenny-backports main contrib non-free # Debian Multimedia Packages - http://debian-multimedia.org/ # Secure apt: apt-get install debian-multimedia-keyring # deb http://www.debian-multimedia.org lenny main non-free You may find it helpful to install Synaptic. |
I installed ndiswrapper and tried adding a driver. Error: module ndiswrapper not found. So I recompiled my kernel, upgrading to 2.6.33.4 (no, I can't see the logical connection either) After a week, I got the new kernel working ( in the interim I reinstalled debian- it didn't survive my first kernel attempt. don't ask), and reinstalled ndiswrapper. Same problem. So I had a stoke of genius: download the source package!! So I did. Lo and behold, a new directory appeared in /usr/src/ : modules. I took a moment to admire my work, then I jumped in. I 'ls'ed to see what was going on, and found a Makefile. so I typed 'make'. First error: kernel source not found. So I entered the Makefile, found the(clearly marked)variable,and changed it to /usr/src/linux-2.6.33.4 , exited, and redid 'make' Second error: no wireless support in kernel. So I went to src/linux-2.6.33.4 and did a make menuconfig- loaded my current, threw in wireless, and exited. Then came this:debian:/usr/src/modules/ndiswrapper# make make -C /usr/src/linux-2.6.33.4 M=/usr/src/modules/ndiswrapper make[1]: Entering directory `/usr/src/linux-2.6.33.4' LD /usr/src/modules/ndiswrapper/built-in.o MKEXPORT /usr/src/modules/ndiswrapper/crt_exports.h CC [M] /usr/src/modules/ndiswrapper/crt.o MKEXPORT /usr/src/modules/ndiswrapper/hal_exports.h CC [M] /usr/src/modules/ndiswrapper/hal.o CC [M] /usr/src/modules/ndiswrapper/iw_ndis.o /usr/src/modules/ndiswrapper/iw_ndis.c: In function ândis_translate_scanâ: /usr/src/modules/ndiswrapper/iw_ndis.c warning: passing argument 1 of âiwe_stream_add_eventâ from incompatible pointer type /usr/src/modules/ndiswrapper/iw_ndis.c warning: passing argument 3 of âiwe_stream_add_eventâ from incompatible pointer type tons more errors along the same lines. Finally:/usr/src/modules/ndiswrapper/iw_ndis.c error: initializer element is not computable at load time /usr/src/modules/ndiswrapper/iw_ndis.c error: (near initialization for ândis_handler_def.num_standardâ) /usr/src/modules/ndiswrapper/iw_ndis.c error: unknown field âprivate_argsâ specified in initializer /usr/src/modules/ndiswrapper/iw_ndis.c warning: initialization from incompatible pointer type make[2]: *** [/usr/src/modules/ndiswrapper/iw_ndis.o] Error 1 make[1]: *** [_module_/usr/src/modules/ndiswrapper] Error 2 make[1]: Leaving directory `/usr/src/linux-2.6.33.4' make: *** [modules] Error 2 I realized I was out of my league ( not that it takes much), and so here I am, asking for help in my noble mission: How do I add module ndiswrapper to my shiny new kernel? | Solved!!! download the ndiswrapper source package, and check out http://www.howtoforge.com/building-kern ... bian-lenny. Beutiful! |
I enjoy Debian Stable. Everything is great! A little bit compatibility with Toshiba laptops would be extremely appreciated though. Just resently I managed to activate internal bluetooth adapter. I'm not expert in command line and everything I could was done in GNOME. Same like most other systems an icon appears in panel bar whenever I used to type <modprobe omnibook ectype=14>. It took me some time to set everything with the kind help from http://www.linuxforums.org/forum/ubuntu ... tooth.html So the thing is that after fingering with some newly installed packages concerning b-tooth utilities that icon is gone and b-tooth is not active. How to restore it? Part of <dmesg> is given here: http://pastebin.com/2FWuEtjx | Bluetooth is a bit shabby in older kernels as i have seen it. Only in 2.6.30 and upwards i have seen really working bluetooth drivers (and in .32 was working badly again). From 2.6.30 is the rfkill application introduced - this tool blocks/unblocks all wifi including bluetooth and wireless. It is really handy. I dunno about Toshiba support, as far as i have seen they (the ones i have seen) are badly supported especially wireless - i had trouble installing even their own Windows wifi drivers... AFAIK the 2.6.30 kernel (maybe 2.6.32 too) is in the backports repo, you should try it - it adds newer wireless and such drivers. As for Bluetooth manager i use Blueman - it is more comprehensive and easier to use than the default gnome stuff. |
I have had trouble getting Debian to run, I think I have figured out the grub error I had but what happens is it shows me all the expected writing, like telling me it is loading Alsa etcetera, then just when it should show a login screen for the desktop it goes blank and the monitor I use says "no signal". I`m guessing it`s something to do with the fact I use a 7600GS card and Debian don`t use proprietary Nvidia drivers, or that the install sets the default refresh rate wrong maybe but how do I change it when I can`t boot into it? I`m still using a sabayon live dvd as my os for now but Debians sitting there not letting me use it so any help appreciated. EDIT: Someone please help as so far Debian just won`t work I have found out that I think it is the X11 config as I can only start the single user version of Lenny and when I type startx my monitor gives an out of range error. Ctrl Alt Backspace works, I tried Xorg -configure but this makes a new config file and it`s then blank One time I got it to show a low res screen when I tried the new config but don`t know how to save it and so when I typed startX it just gave same error again I`ve heard good things about Debian so please help me get it running so I can start using it | I really need this sorted soon as annoying to have to use a live dvd as os when a good os is waiting to be used so really really hope someone will help me understand the solution. Looking at X11 config file in etc using nano it shows my config file as totally empty. I reinstalled a fresh and still the same. Before I could run the command Xorg -configure but not copy the new file over the old one but now I can`t even do that as when I type Xorg -configure it says "fatal server error server is already active for display 0" I have an LG HD tv as my monitor, resolution is 1366 x something (not sure exactly what but I use screen res of 1280x768 normally) and a non nvidia enabled kernel (as far as I know, did the auto install it is 2.6.26-2-amd64 kernel) and my card is an Nvidia 7600 GS with 256 MB video memory. Could someone maybe point me in the direction of a basic x11 config file that I can copy that will work? |
HI guys! Here's the story. I had my laptop turned on. The battery turned out low and my pc shut down (not in the correct way obviously)! Plus: I was running apt-get upgrade but it should have done before shutting down. Now, I restarted my pc and under nm-applet I see: "wireless network: device not ready" and at login I get the message: "Network configurations failed. org.freedesktop.dbus.error.spawn.PermissionsInvalid: the permission of the setuid helper is not correct" and that I could not be able to connect via bluetooth (but actuallyu I can't use wireless!)! What to do guys? I use debian squeeze. I read from someone using kubuntu that he solved the problem reinstalling all the packages with "dbus" in their name. But I don't know if my ethernet will work yet! Crap! Please help! Update: if I run dpkg-reconfigure dbus, it tells me that dbus package is corrupted or not complete: could be the issue? Thanks in advance! | Problem solved guys! It was due to a corrupted update! |
I was following section D in the handbook and I added these lines to aptitude source list per the handbook: Code: Select alldeb http://ftp.us.debian.org/debian lenny main deb-src http://ftp.us.debian.org/debian lenny main deb http://security.debian.org/ lenny/updates main deb-src http://security.debian.org/ lenny/updates main I than ran aptitude update and got these errors: Code: Select allaptitude update Err http://security.debian.org lenny/updates Release.gpg Temporary failure resolving 'security.debian.org' Err http://ftp.us.debian.org lenny Release.gpg Temporary failure resolving 'ftp.us.debian.org' Reading package lists... Done Another question as well, when I was looking here I was trying to get kde4, but I added the lines for aptitude source list and did: Code: Select allaptitude install kde-full and it returned: Code: Select allReading package lists... Done Building dependency tree Reading state information... Done Reading extended state information Initializing package states... Done Reading task descriptions... Done Couldn't find any package whose name or description matched "kde-full" Couldn't find any package whose name or description matched "kde-full" No packages will be installed, upgraded, or removed. 0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 0B of archives. After unpacking 0B will be used. Reading package lists... Done Building dependency tree Reading state information... Done Reading extended state information Initializing package states... Done Reading task descriptions... Done I just don't understand what I'm doing wrong as I'm new to aptitude and Debian, so any help would be appreciated! | kde4 is only in testing/squeeze and unstable. it is not nor will it ever be in Lenny the current stable. Package kde-full * squeeze (testing) (kde): the K Desktop Environment official modules 5:55: all * sid (unstable) (kde): the complete KDE Software Compilation for end users 5:60: all Can you post your /etc/apt/sources.list? |
Hi, I installed debian with minimal packages (without an any X components). Later I installed xserver-xorg-video-intel , xserver-xorg-input-mouse, xserver-xorg-input-kbd ... and other X components through apt-get. Created a Xorg.conf file. On execution of X, I see black screen without cursor. What are the other minimal packages that I need to install in order to run any window-manager like openbox.. ? | You didn't need to install those packages, unless I am mistaken. It sounds as though you want what I always do, a minimal X setup. Try installing the package "xserver-xorg-core". That installs just the core of X, no desktop or anything. Then you can install your desktop. If you want a minimal desktop as well, use the core package for it. For example, "kde-core". |
I'm learning vim, but flying to esc is annoying, so I end up pressing the arrows twenty times to move around instead. Yeah, I know that doesn't make any sense, but humans (especial me) are crazy. How can I swap esc and caps for vim with the vimrc file? (I don't want this change to be outside of vim). Or should I just learn to fly around? And, of course, I want to flip ctrl and alt, for the whole tty. | ybme wrote:I'm learning vim, but flying to esc is annoying, so I end up pressing the arrows twenty times to move around instead. Yeah, I know that doesn't make any sense, but humans (especial me) are crazy. It does make sense. And arrow keys in Insert mode are a bad habit. Since I've already mapped capslock to ctrl throughout X, I can't help you with the esc-capslock switch. However, ctrl-c acts like esc and gets you out of Insert (or command) mode. Or you can map esc to something else. As I do, in my .vimrc: Code: Select allinoremap jj <esc> |
I'm running debian on a dell c600, and my ttyys (virtual terminals) fill up only the middle of the screen. For most of what I do (learning programing) I don't need the gui at all, but i can't bear squinting at the tiny terminal. Any suggestions? | Post the output of: Code: Select allgrep ^kernel /boot/grub/menu.lst I have a similar issue on an old Dell Latitude C510. Specifying the VESA mode number on the kernel line resolved it. Specifically, on my machine, the screen's maximum resolution is 1024x768, so appending vga=791 to the kernel line resolves the issue for me. For example: Code: Select allkernel /boot/vmlinuz-2.6.26-2-686 root=/dev/hda2 ro vga=791 Wikipedia has a nice list of the VESA mode numbers to pass in the vga=XXX argument. If memory serves, your Dell Latitude C600 is very similar to my Dell Latitude C510, so you can probably use vga=791. Nonetheless, you should double-check. Also, the best way to append vga=791 is to add it to the defoptions line (at line 81). Code: Select all# defoptions=vga=791 Nota Bene: Do NOT remove the leading # from that line. Once you have properly edited the line, run (as root): Code: Select allupdate-grub and reboot your computer. The problem should then be solved. . |
After I did a safe-upgrade on my lenny system, clamav is now broken, which is quite a pain since my e-mail flow is now failing. I get this in the log. Code: Select allCLAMAV: couldn't connect to: /var/run/clamav/clamd.ctl: I have volatile in the list, and clamav is also installed from volatiel of what I can see, so what went wrong? Is the package broken? Code: Select all dpkg -l |grep clamav ii clamav 0.96+dfsg-4~volatile1 anti-virus utility for Unix - command-line i ii clamav-base 0.96+dfsg-4~volatile1 anti-virus utility for Unix - base package ii clamav-daemon 0.96+dfsg-4~volatile1 anti-virus utility for Unix - scanner daemon ii clamav-freshclam 0.96+dfsg-4~volatile1 anti-virus utility for Unix - virus database rc libclamav5 0.94.dfsg.2-1lenny2 anti-virus utility for Unix - library ii libclamav6 0.96+dfsg-4~volatile1 anti-virus utility for Unix - library | I am completely stuck here. For now I have disabled the av filter, and requed the mails to get the flow starting again! clamav is the user who runs the processes and is also owner of the correct folders, which are these that are showed below! snip from the clamsmtpd.conf Code: Select allClamAddress: /var/run/clamav/clamd.ctl TempDirectory: /var/spool/clamsmtp PidFile: /var/run/clamsmtp/clamsmtpd.pid snip from from the clamd.conf Code: Select all LocalSocket /var/run/clamav/clamd LocalSocketGroup clamav User clamav PidFile /var/run/clamav/clamd.pid |
I want to be able to have two x terminals at a time, one for the graphical login, and one for miscellaneous 'startx's by tty users. How can I do this? Can I do this? | Sure it's possible. If you use GDM you can start a second login. See this thread that mentions startx as obsolete and gives some more good examples: http://forums.debian.net/viewtopic.php? ... 31&start=0 |
Hello everyone, I'm trying to install the driver for mi wireless card. The instructions say that to build the tar.gz file, I have to: # mkdir hybrid_wl # cd hybrid_wl # tar <path>/hybrid-portsrc.tarhybrid-portsrc-x86_64.tar.gz The third step i don't understand. I want the folder of the driver to be located in a folder inside home called "Programas" so what I did was to open the terminal, went su, and then did cd Programas. Then I followed instructions 1 and 2, but I don't know what to put where it says <path>. Please, any help? | What wireless device is it? Brand/model? What version of debian are you running please? We require details to narrow things down. Thank you. |
Hi all, I have very strange problem with kernels 2.6.33 and 2.6.34. I have a wireless card Linksys WMP200 using rt61pci. It connects just fine using WPA2 and works, but in less than 20 minutes I still can reach any machine on my network, but this machine cannot be reached by the others (i.e. before these 20 minutes others can ping me). With default kernel 2.6.26 (Lenny) all is OK. I do not use any firewall. When this happens logs do not change - wpa_supplicant's log is normal (associated), syslog is fine, dmesg shows no errors. Sofar I have tried this: 1. acpi=off as boot parameter 2. both new kernels 2.6.33 and 2.6.34 are compiled with CONFIG_CF80211_DEFAULT_PS disabled 3. iwconfig wlan0 power off 4. Tried ndiswrapper. The device is up and scans fine but wpa2 is not working... 5. Compiled a kernel without ACPI This is all I did without any luck and I really need the new kernels because I have a quatech device attached to the machine... Please, suggest something I am bumping this for one week and I am about go get my brains out... | Your "in less than 20 minutes I can still reach any machine" has me baffled. Does your wireless work for twenty minutes, then stop? Look at these links http://wiki.debian.org/WiFi/HowToUse http://wiki.debian.org/WiFi Have you installed wireless-tools? I presume you have wpa-supplicant as you mentioned it works with WPA2. If you can connect from A to B, but not from B to A, is there a firewall blocking the connection? Are you using network manager, wicd or manually managing the connection? If manual, please post /etc/network/interfaces |
Hello to all, I've been using debian for about two years now and I always used gnome since it was was came with it (and I didn't know all the options I had for window managers ). Anyways, as of a few months ago I started liking Awesome Window Manager and gave it a shot, I bought a new HDD now and had to install Squeeze from scratch and since I don't use GNOME anymore I decided to go with most minimal install from the CD so I did not install Gnome. after installing Xorg and Awesome, I started installing the packages I use to configure everything when I used to run Gnome, for example disk-manager would automatically mount all my partitions and allowed me read and write access to them without the need to be root, now it will not even start after installed, it will not allow me to run it as user and as root it will give me an error: Traceback (most recent call last): File "/usr/bin/disk-manager", line 117 in <module> main (args, opts) File "/usr/bin/disk-manager", line 81 in main app = diskmanager() File "/usr/pymodules/python2.5/diskmanager/diskmanager.py, line 112 in __init__ os.mkdir(HAL_CONFIG_DIR) OSError: [Errno 2] no such file or directory: '/etc/hal/fdi/policy' so I can't mount the partitions now. Also as far as I understand, disk-manager needs to run at session startup so it can auto mount the partitions as well, and I cannot figure out how to add programs to startup. When running nautilus I used to right clic on a .tar.bz2 or .tar.gz file and got an option to extract, now I can only do it from command line. Also I installed flashplugin-nonfree to be able to watch youtube vids and will only work if I run firefox as root. I'm not sure if gnome autoconfigures permissions or anything similar, but this is very unfamiliar to me, It kinda brings me back to when I migrated from windows, and I honestly need help understanding what is going on exactly. Any help will be greatly appreciated, thanks. | jay wrote:Code: Select allOSError: [Errno 2] no such file or directory: '/etc/hal/fdi/policy' so I can't mount the partitions now. Get the obvious out of the way first, since you built this up from base and didn't tell us what tasks you selected during install (standard? laptop?), is hal installed? That's one reason there'd be no such file or directory as /etc/hal/fdi/policy Also as far as I understand, disk-manager needs to run at session startup so it can auto mount the partitions as well, and I cannot figure out how to add programs to startup. Gnome using gnome-session-manager for this task. You can look to that, or perhaps editing your bashrc file in your home directory. And there are likely other ways as well. When running nautilus I used to right clic on a .tar.bz2 or .tar.gz file and got an option to extract, now I can only do it from command line. Again, that's probably just because you're missing an add-on that provided that functionality. Try searching for an archive plugin for nautilus. Things like: Code: Select allaptitude search nautilus | grep archive aptitude search nautilus aptitude search archive | grep nautilus Also I installed flashplugin-nonfree to be able to watch youtube vids and will only work if I run firefox as root. Stop that. Stop that now. Just copy the flashplugin to your home mozilla plugins directory. It will be a file ending in .so I'd be willing to bet it also means you've logged in as root to an xsession. Stop that also. I'm not sure if gnome autoconfigures permissions or anything similar, but this is very unfamiliar to me, It kinda brings me back to when I migrated from windows, and I honestly need help understanding what is going on exactly. Any help will be greatly appreciated, thanks. What's going on is your learning that building up a working system isn't as easy as customizing a standard installation. But it is infinitley more rewarding. I'm on my eighth or ninth build-up, and the learning process continues. |
hi, i have created a wordpress user with a symbolic link from his home (/home/wordpress) to /usr/share/wordpress but when wordpress ftps to wordpress home dir it does not follow the sym-link. is there a way to set default ftp dir for the wordpress user to /usr/share/wordpress rather than /home/wordpress? thank you. | Most FTP servers I am firmilyer with will not fallow symbolic links (at least out of the box). You "should" be able to configure a new "root directory" for the FTP server though. What FTP server software are you using? |
See this video http://www.youtube.com/watch?v=kWkdfStBw4Y I install debian lenny using CD installer (expert install, only base files, skipping GNOME and some programs). I updated to debian squeeze/sid and install KDE4 (using synaptic) + some programs. I do some Ubuntu bootup speed optimalization (useful for Debian also), plus install "readahead", see http://www.itnews.sk/spravy/software/... (after translating from slovak to english might be readable for you). My kernel is 2.6.32-3-amd64 (stock, non custom-compiled). System restarts without BIOS and GRUB reloading. When i focus on keyboard for second, the leds (num, caps, scroll lock) flashed, after that kernel was reloaded (no screen cleanup, harder to read). No kernel/OS selection possible (at GRUB), i must use RESET button (sorry for my EN). Can I change some settings for complete system restart ? EDIT: Changing CONCURRENCY=startpar back to CONCURRENCY=none at /etc/init.d/rc and changing vm.swappiness from 20 back to 60 at /etc/sysctl.conf doesn't solve this. | Perhaps, you did installed kexec-tools and allowed boot the kernel to it. I have the case like this year ago. Peter. |
I'm always getting a blank console screen after booting a 2.6.32-trunk-amd64 kernel in squeeze. I still can read the line "Loading, please wait ..." in the display for a second - then it's completely black until X windows is starting. When I try switching from the X console to another virtual console (by pressing Ctrl-Alt-F1 e. g.), the complete system freezes. I have to hard reboot then. When I boot the previous 2.6.32-3-amd64 kernel instead, everything is fine as expected, though. There's a line "GRUB_GFXMODE=1024x768x16@60" in /etc/default/grub as well as a line "set gfxpayload=keep" in /etc/grub.d/00_header. So the problem might be framebuffer related in any way. Any ideas what could be tried? The system is a Latitude E6500 with a Mobile 4 Series Chipset Integrated Graphics Controller. Thanks in advance. | The -trunk kernel is not supposed to work. If it's broken, remove it and live without it. Anyway, the 'previous' kernel you've mentioned is actually more current. |
Which moment in te boot of a Debian system are tmpfs filesystems from fstab mounted? I'm asking because mountall.sh does not seem to be the one, because it mounts Code: Select allnonfs,nfs4,smbfs,cifs,ncp,ncpfs,coda,ocfs2,gfs,gfs2 types, but does not mention tmpfs. Thanks | If you check the man page for mount you find: More than one type may be specified in a comma separated list. The list of filesystem types can be prefixed with no to specify the filesystem types on which no action should be taken. (This can be meaningful with the -a option.) For example, the command: mount -a -t nomsdos,ext mounts all filesystems except those of type msdos and ext. So the no turns the line you quoted into a line saying mount everything except the fs types listed (and the first type listed is "nfs"). So tmpfs would be mounted, if it's not already. Some tmpfs is already mounted in mountkernfs.sh, although this doesn't include temp (if it's mounted as tmpfs) |
I've been testing Squeeze to determine whether KDE4 is finally suitable for my primary machine. Everything seems to be working fine except for detection of IDE devices. My CD/DVD drive no longer automounts and the reason seems to be that no device is being created. My Lenny system detects the drive as /dev/hda, but no such device exists in Squeeze. During boot, Squeeze appears to detect the drive as /dev/sr0 (according to dmesg), but in fact that device does not exist either. BTW--I'm actually running the Lenny kernel, as I am unable to compile my Ralink wireless driver (rt2860sta) using the Squeeze kernel. Also, for inquiring minds, I use removable HDD drive bays on my systems to simplify testing. | What does this tell you? Code: Select alldmesg|grep CD-ROM and/or Code: Select alldmesg|grep DVD |
... but it isn't. It overestimates its use by at approximately 250MB. How come? I do not know. I have my root file system / on a partition of 382.0MiB, which was always sufficient in the past (my pre-Debian life period) However, when I updated my system, it gave an error and told my I should do dpkg --configure -a But it fails because there is not enough space left. (2.2MiB, said by Thunar and gnome-system-monitor) Code: Select allroot@broodjebakpao:/home/laurent# dpkg --configure -a Instellen van initramfs-tools (0.93.4) ... update-initramfs: deferring update (trigger activated) Processing triggers for initramfs-tools ... update-initramfs: Generating /boot/initrd.img-2.6.32-3-amd64 gzip: stdout: No space left on device update-initramfs: failed for /boot/initrd.img-2.6.32-3-amd64 dpkg: subproces installed post-installation script gaf een foutwaarde 1 terug Then, I made my own calculation, Code: Select allroot@broodjebakpao:/# du -h -x --max-depth=1 / 5,7M /bin 14M /boot 0 /dev 6,5M /etc 0 /home 103M /lib 2,4M /lib32 8,0K /media 0 /mnt 0 /proc 140K /root 5,9M /sbin 0 /selinux 0 /srv 0 /sys 0 /tmp 4,0K /usr 8,0K /var 137M / For so far as I know, and I'm not that good at Maths, 137MiB is not the same as (382MiB - 2.2MiB =) 379.8Mib Firstly, I discovered /tmp mysteriously eating all the space left, but then I mounted /tmp on tmpfs and still something is eating space... I don't get it? Thanks in advance | try a filesystem-check Code: Select allshutdown -r -F now the commands are in tags, the rest is german: http://debianforum.de/forum/viewtopic.p ... t+ist+voll |
I've been playing with live-helper in lenny for a couple of months, and I decided to try it in squeeze. It seems the default desktop (in xfce, anyway) leaves me with seven folders that I don't want in my home - Documents, Music, Video, Templates, and some others. I want to know how to get rid of them. I tried editing .config/user-dirs.dirs in several ways, leaving the edited copy in live/config/chroot_local-includes/etc/skel/.config/, but it's not working out for me. First, I tried commenting out the lines I didn't want:Code: Select all# This file is written by xdg-user-dirs-update # If you want to change or add directories, just edit the line you're # interested in. All local changes will be retained on the next run # Format is XDG_xxx_DIR="$HOME/yyy", where yyy is a shell-escaped # homedir-relative path, or XDG_xxx_DIR="/yyy", where /yyy is an # absolute path. No other format is supported. # XDG_DESKTOP_DIR="$HOME/Desktop" #XDG_DOWNLOAD_DIR="$HOME/Downloads" #XDG_TEMPLATES_DIR="$HOME/Templates" #XDG_PUBLICSHARE_DIR="$HOME/Public" #XDG_DOCUMENTS_DIR="$HOME/Documents" #XDG_MUSIC_DIR="$HOME/Music" #XDG_PICTURES_DIR="$HOME/Pictures" #XDG_VIDEOS_DIR="$HOME/Videos" but it still created all those folders. Then I tried empty quotes, like so:Code: Select allXDG_DOWNLOAD_DIR="" with the same result. Last, I decided to let it make them, but put them out of the way:Code: Select allXDG_DOWNLOAD_DIR="/tmp"which almost gets me there. I didn't have the extra folders in my home, but there are seven shortcuts in thunar's side-panel and "Go" menu. I really just want them gone. Has anyone run into this and figured out a way to do that? Ancillary question: Anyone know why all these directories exist on a live-cd? It's not like they're going to get filled up. | Try editing /etc/xdg/user-dirs.conf Code: Select allenabled=False Remove ~/.config/user-dir.dirs See freedesktop.org - Software/xdg-user-dirs |
Hello, I am reasonably experienced in linux, but new to Debian. I have installed Lenny (v.5.0.4) on an old acer travelmate 220 which I have rescued from being thrown away. I don't expect much from it, but it will be good for backup/experimentation. I have a few issues when booting, one of which causes the machine randomly to hang on about every third boot, which is the problem that has brought me here. I am wondering whether there is any configuration option / boot parameter to prevent it. I will quote all the boot messages which might be relevant, although I am guessing that only the last ones are important. I am typing what I see, so any differences from actual formatting on screen are due to that. Boot begins normally then : [0.153630] pnp 00.01: can't add resource for IO 0x57b0-0x57bb Loading please wait. . . Some messages here - no apparent problems Waiting for /dev to be fully populated ... [10.964803] acer-wmi: No or unsupported WMI interface, unable to load [14.700325] AC'97 0 access is not valid [0xffffffff], removing mixer. [14.700406] Unable to initialize codec #0 [15.723168] codec_read 1: semaphore is not ready for register 0x54 At this point the machine freezes. I have to remove the battery to force the reset. lspci output includes "00.1f.5 Multimedia audio controller. Intel Corporation 82801CA/CAM AC'97 Audio Controller (rev 02)" Googling throws up a few references to "AC'97 0 access is not valid [0xffffffff], removing mixer", but I have not found any which involve the machine hanging. Whilst the hang is the main problem, it would also be tidy to stop the search for the WMI interface, which will never be found, and to know the significance of that first "can't add resource for IO" .. message. TIA Edit : I have found this post (waiting for /dev to be fully populated hangs), under Hardware here, which seems to be much the same thing. No solution was posted. | Answering my own post, in case anybody finds it on a search. I don't think that sound is ever going to work, and the hangs were too frequent for the box to be usable. I blacklisted kernel autoloading of snd-intel8x0, using the procedure descirbed here http://wiki.debian.org/KernelModuleBlacklisting, which means that I can now boot cleanly. |
Hi Everybody, I am brand new to Debian. Installed about 24 hours ago. So far I'm very impressed & loving it. I have successfully mounted my Win7 volume and my external hard drives NTFS volume as well. However, after modifying the fstab I seem to only be getting the win7 volume to auto-mount. Below is the contents of my fstab. Anybody know what I'm doing wrong? /dev/sdf3 is not mounting. Again, it works no problem if I manually mount it. Code: Select all# /etc/fstab: static file system information. # # <file system> <mount point> <type> <options> <dump> <pass> proc /proc proc defaults 0 0 /dev/sda5 / ext3 errors=remount-ro 0 1 /dev/sda6 none swap sw 0 0 /dev/sdf6 none swap sw 0 0 /dev/scd0 /media/cdrom0 udf,iso9660 user,noauto 0 0 /dev/sda1 /mnt/windows ntfs-3g defaults 0 0 /dev/sdf3 /mnt/extntfs ntfs-3g defaults 0 0 | The external volume: USB? Firewire? eSATA? If it's USB it should automount in /media, no fstab entry required. If it's eSATA then an fstab entry is needed. If it's firewire...don't know, never used one. NTFS will fail to mount using ntfs-3g if the filesystem needs to be checked. This can only be done in Windows. It's important to always properly unmount (Windows: safely remove) NTFS volumes or you need to run a filesystem check in Windows to resolve it. Unless you yank the power cord out or Windows crashes then the OS volume C: will always be properly unmounted. I think the Windows command to force the check is 'chkdsk /f <volume_letter>:' but you should make sure of this for yourself. You can look at http://wiki.debian.org/NTFS and man ntfs-3g for more info. |
Hello everyone, I have a small and -I'm sure- very solvable problem. I'm trying to install a software called Stopmotion to... well... to stopmotion. The thing is that the version I downloaded from the repositories had a bug which unabled it to open many files at a time. To solve this, I wanted to download directly from the developers webpage. I downloaded a tar.bz file and untared it to my home folder using the "tar-zxvf" command. Then I went to the new folder with Code: Select allcd stopmotion-0.6.2 and then I tried to follow the instructions in the read me file. Here they are: Code: Select allINSTALLATION ------------ 1) ./configure 2) make 3) make install The configure script will generate 'stopmotion.pro' and 'config.cpp' from 'stopmotion.pro.in' and 'config.cpp.in', respectively. You can override the settings in these files, but ideally you should give all your settings through options to the configure script. See './configure --help' for more info. You need the following libraries installed to compile: - Qt4 - libtar - SDL - SDL_image - XML2 - vorbisfile - FAM/Gamin - pkg-config So! once in the Stopmotion-0.6.2 folder, I run Code: Select all./configure But I got: Code: Select allInspiron1525:/home/hernan# cd stopmotion-0.6.2 Inspiron1525:/home/hernan/stopmotion-0.6.2# ./configure checking for pkg-config... /usr/bin/pkg-config checking for QtCore >= 4.0.1... configure: error: *** QtCore module not found or wrong version *** Inspiron1525:/home/hernan/stopmotion-0.6.2# So I though, based on the last part of the instructions, that I was missing some libraries. Specifically, I thought I was missing the QtCore library. So I went to the package manager and, to my surprise, the libqtcore4 WAS Installed. I checked the other libraries which the read me file says I need. I think I have them all. I was checking with the package manager. Since I'm relatively ignorant in Linux, I don't know if I have the correct libraries (is there a way to know for sure?). The strange thing is that I could swear I have QtCore, but the output of the ./configure says that it is precisely that module which is either not found or has errors. Any guesses on how I may fix this? Thanks in advance | You may need to install libqt4-dev package. |
Hello I installed Debian Testing today. My system is encrypted with a lvm and now I wanted to boot for the first time. After starting grub 2 and entering my passphrase for encryption I only got the error message "no key available with this passphrase". I figured out that the problem are german umlauts because the keyboard layout is not german in grub but english and my passphrase contains umlauts. So I am not able to boot my system. Is there a way to change grubs keyboard layout or do I have to reinstall the system? If there is no way - perhaps there is a way to change the encryption password with a live cd? EDIT: Now I have a workaround. The debian-installer was not able to open or edit the encrypted partition anymore (ioctl error) so I was not able to Code: Select allcryptsetup luksAddKey /dev/sda5 or chroot into the system to try updating initram or other packages. So I tried some live-cds from other distros and with the ubuntu 9.10 live-desktop I could add another key with the command above. Not the best solution at all. :/ I am wondering why the debian-installer was not able to do that... | Hello, I've just installed squeeze on my notebook with German keyboard-layout and I've got the same problem (passphrase for cryptsetup with some characters at a different position on the German than on the US layout). It looks like grub2 uses US keyboard layout with no way to change the layout at boot-time. I found a discussion on the subject on the web but no appropriate solution. Very strange since internationalization is a major subject of grub2. For the moment I'll rather return to the previous version of grub than changing my passphrase while waiting for a patch. best regards wowasa |
Hi! I have a lenny box: Code: Select allLinux ulet 2.6.26-2-686-bigmem #1 SMP Tue Mar 9 18:01:52 UTC 2010 i686 GNU/Linux In order to get a newer kernel that would recognize a linksys usb wifi adapter I got the advice to upgrade to a newer kernel - 2.6.30 or newer. Which I am able to get from backports. But when I try with .30 or .32 my machine will not boot. I do have a raid, but it is only used for data files - I do not boot from it or have any system files on it. First I get this error: Code: Select allLoading, please wait... mdadm: /dev/md0 has been started with 2 drives. resume: libcrypt version 1.4.1 resume: Could not stat the resume device file '/dev/sda2' Please type the full path name to try again or press ENTER to boot the system: I have not resumed the machine so I have no idea what is going on. So I press ENTER: Code: Select allkjournald starting. Commit interval 5 seconds EXT3-fs: mounted filesystem with ordered data mode. mount: mounting /dev on /root/dev failed: No such file or directory mount: mounting /sys on /root/sys failed: No such file or directory mount: mounting /proc on /root/proc failed: No such file or directory Target filessystem doesnt have /sbin/init. Non init found. Try passing init= rootarg. (written from a mobile phone film of the boot process...) An hour of googling and reading have not given me a clue here - can you help? | Can you boot without the quiet kernel argument? When grub comes up, you can press 'e' to edit the entry. Maybe it's failing to find your root because a driver you need isn't being loaded or you need a newer version of something. I assume you didn't forcefully install the kernel without taking on any required/suggested deps. |
Hi to all! I am having problems while testing out squid proxy server. I just can't get it block anything... So, I'm running Debian lenny on my Virtualbox and Squid on it. I'm having windows 7 on virtualbox too and they can ping each other and the webserver on debian (apache2) is working fine. The problem is i can't get squid to block webpages. I have the correct settings on windows proxy settings, but i'm not so sure about squid. I want to block lets say www . xxx. com for example. So I add to the main configuration file: Code: Select allInclude "/etc/squid/prevent.acl" . . . prevent.acl: acl preventxxx dstdomain .xxx.com http_access deny preventxxx . . . After reboot squid doesn't whine about misconfiguration or anything. I've been strugling with this problem many days and can't figure out what's wrong with it. Is there more I have to add to configuration file? Can I prevent certain sites on the very computer i'm hosting squid? Thanks for all your responses, Blokkeri | What version of squid? I know when I moved from Ubuntu to Debian the version of squid that came with Debian was a hair puller for me! I couldn't get it to work for anything. I backed up to 2.7.STABLE3-4.1 and my Ubuntu config worked. I was really determined too because my squid configuration gets updated once a week downloading 'bad' sites and with 1.6E6 sites to block it had to work, somehow! Barrie |
Hi! I just upgraded samba on my lenny-server: Code: Select allapt-cache policy samba samba: Installed: 2:3.4.7~dfsg-1~bpo50+1 ...and since then my windows xp clients cannot follow a symbolic link to a common area from their home folders. I have googled and tried to add follow symlinks and wide links to my homes share Code: Select all[homes] comment = Home Directories browseable = no follow symlinks = yes wide links = yes ...but after restarting samba on the server and rebooting the windows machine the user still cannot follow the link. Is there something else I should try? | add to /etc/samba/smb.conf the following string Code: Select allunix extensions = no and restart samba |
Hi. Why is my Xen server (An up-to-date Lenny box) making Xen DomUs as Etch boxes? I run a command such as: Code: Select allxen-create-image --hostname=myvm --size=2Gb --swap=256Mb --ip=192.168.0.101 --memory=128Mb --arch=amd64 --role=udev --lvm vg And it gives me this: Code: Select allGeneral Information -------------------- Hostname : myvm Distribution : etch Partitions : swap 256Mb (swap) / 2Gb (ext3) Image type : full Memory size : 128Mb Kernel path : /boot/vmlinuz-2.6.26-2-xen-amd64 Initrd path : /boot/initrd.img-2.6.26-2-xen-amd64 Networking Information This is 100% replicable... I certainly never asked it to create an Etch VM! I cannot find anything in the docs to change this. And for the record, I did let it finish creating it, and it most definitely made an Etch box. Can someone please help? Thanks! | Try to check this file: /etc/xen-tools/xen-tools.conf |
Hello, Using Squeeze, I wanted to get KMS + DRI2 and suspend/hibernate working with my radeon card using the Open source driver (my card: ATI Radeon Xpress 200M IGP (5955) PCIE (RC410) is no longer supported by the ATI/AMD proprietary driver). I know my card has problems with suspend/hibernate in User modesetting and from what I've read (https://bugs.launchpad.net/ubuntu/+sour ... mments=all) it has been solved for some only using KMS. So I followed this instructions by the Debian maintainer: http://bgoglin.livejournal.com/19346.ht ... 818#t60818 Of course in reality the available version in experimental is now 6.12.191, and mesa 7.7 and libdrm-radeon1 are already in testing. Therefore I only had to get xserver-xorg-video-radeon from experimental and switch KMS on. It worked ok , except that when I tried to hibernate, it didn't even go into hibernate mode!...the screen went blank and the wireless led shut off, but the fan was running and the keyboard lights were on... Aside from that I also got the following disquieting messages: [drm:rs400_gart_adjust_size] *ERROR* Forcing to 32M GART size (because of ASIC bug ?) radeon 0000:01:05.0: Wait MC idle timeout before updating MC Failed to wait MC idle while programming pipes. Bad things might happen. What really bothers me is that upon restarting my computer, wireless is shut off...it won't come on. Browsing through the multiple logs I found a line like this: wifi enabled by radio killswitch; disabled by state file I know that this is the problem, but I just don't know where to go to fix it...a little help would be much appreciated! | I found a fix. It appears to be a bug in Network-Manager: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=571331 |
Hi all, After each boot I find 2 occurrences of Code: Select allWARING! Can't find hypervisor information in sysfs! in /var/log/boot. This box is running as KVM-host, so I am a bit worried about 'warings' like these... How do I resolve? | I solved it by removing the kvm-package and installing the qemu-kvm package. |
Hi, I have configured a RaLink wireless card to connecto to an 802.1x network. I connect by selecting the network, and the i give the credentials(username/password). How do i configure Debian to automatically connect to this network when a session begins? Thanks | I suggest wicd (from backports if you're using lenny). Once it's correctly configured it will start as a daemon via the init scripts and autoconnect. There's a gui client available to enable easy configuration. The version in testing also has an ncurses interface (not sure about the version in backports). If you enable the backports repo you should be able to download the source for the testing/unstable version and compile it yourself fairly easily. Debian -- Package Search Results -- wicd |
Hi everybody, Nothing serious (I think), but everytime I run apt-get to remove programs and doing upgrades... I get a strange message. This is the output of apt-get upgrade: Code: Select allInspiron1525:/home/hernan# apt-get upgrade Reading package lists... Done Building dependency tree Reading state information... Done The following packages will be REMOVED: iamerican ibritish 0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded. 17 not fully installed or removed. After this operation, 4030kB disk space will be freed. Do you want to continue [Y/n]? y (Reading database ... 89741 files and directories currently installed.) Removing iamerican ... /var/lib/dpkg/info/iamerican.postrm: line 6: /usr/sbin/remove-default-ispell: No such file or directory dpkg: error processing iamerican (--remove): subprocess post-removal script returned error exit status 1 Removing ibritish ... /var/lib/dpkg/info/ibritish.postrm: line 6: /usr/sbin/remove-default-ispell: No such file or directory dpkg: error processing ibritish (--remove): subprocess post-removal script returned error exit status 1 Errors were encountered while processing: iamerican ibritish E: Sub-process /usr/bin/dpkg returned an error code (1) Inspiron1525:/home/hernan# And this is the output I get when removing a program (I removed amor so I can show the output): Code: Select allInspiron1525:/home/hernan# apt-get remove amor Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: knetwalk kpat kpdf texlive-common kalzium-data ksokoban kolf blinken krdc imlib11 libjaxp1.3-java libdb4.6++ kppp libktnef1 kshisen kmahjongg ksim libkscan1 kcharselect kcoloredit libsgmls-perl kdessh kanagram libpth20 kmrml katomic kleopatra libneon27 kruler libgcj8-1 libxerces2-java kdepim-kio-plugins klettres libsensors3 kgoldrunner kpoker libmeanwhile1 dirmngr libsnmp15 libkpathsea4 gcj-4.2-base libkiten1 libicu38 kgeography ksnapshot liblockdev1 kooka kenolaba libosp5 kblackbox libkcal2b libxalan2-java libboost-python1.34.1 libhtml-parser-perl libsp1c2 libsane libnews-nntpclient-perl klatin kfloppy libopensync0 kstars bsh-gcj ttf-dustin libjpeg-progs libcrypt-ssleay-perl ksame kbruch kdeaddons-kfile-plugins libmime-tools-perl kcalc libpcap0.8 texlive-base-bin kicker-applets libpisock9 libpoppler-qt2 dosfstools keduca texlive-fonts-recommended konsolekalendar kaddressbook kdeedu-data kimagemapeditor libslp1 libgcj8-jar kweather kmplot ttf-kochi-gothic sp libkpimexchange1 kalzium librss1 klinkstatus klickety ksayit konq-plugins kdepim-kresources libgadu3 kmouth kalarm kworldclock kdeaccessibility kdict libsnmp-base ktouch libhtml-tree-perl ktnef khexedit kedit pinentry-gtk2 libxerces2-java-gcj kbounce kvoctrain kbstate tidy ark kwordquiz sgmlspl bsh kview noatun-plugins ktron kdegraphics-kfile-plugins ttf-sjfonts kdenetwork-kfile-plugins cvs kttsd dcoprss kwin4 libksieve0 kate-plugins libgsmme1c2a opensp kreversi kdf libksba8 kspaceduel kig libcvsservice0 gnupg-agent kpf libieee1284-3 libkdepim1a noatun kdnssd klines kstars-data edict lskat knotes kgamma kviewshell kommander kdegames-card-data ppp kgeography-data sgml-base kwifimanager kjumpingcube khangman libfinance-quote-perl libindex0 kanjidic imlib-base texlive-base libperl5.10 ksmiletris libkmime2 libsane-extras libkleopatra1 kxsldbg libmimelib1c2a kbattleship kiconedit kasteroids texlive-doc-base kfouleggs libgpgme11 libkdeedu3 libkgantt0 libhtml-tagset-perl kopete ksnake kdepim-wizards libkpimidentities1 kiten eyesapplet libwww-perl indi kdeedu kdelirc kpercentage libkdegames1 kjots klettres-data libconvert-binhex-perl libxalan2-java-gcj ksirtet kmines kdvi kget kuickshow libgcj8-1-awt kgpg konquest libjline-java tex-common kolourpaint gpgsm gnupg2 kmousetool kitchensync libbluetooth2 kmag libtidy-0.99-0 libhtml-tableextract-perl kmilo ktuberling kturtle ktimer quanta-data libjaxp1.3-java-gcj kverbos networkstatus kodo Use 'apt-get autoremove' to remove them. The following packages will be REMOVED: amor iamerican ibritish 0 upgraded, 0 newly installed, 3 to remove and 0 not upgraded. 17 not fully installed or removed. After this operation, 6185kB disk space will be freed. Do you want to continue [Y/n]? y (Reading database ... 89741 files and directories currently installed.) Removing iamerican ... /var/lib/dpkg/info/iamerican.postrm: line 6: /usr/sbin/remove-default-ispell: No such file or directory dpkg: error processing iamerican (--remove): subprocess post-removal script returned error exit status 1 Removing ibritish ... /var/lib/dpkg/info/ibritish.postrm: line 6: /usr/sbin/remove-default-ispell: No such file or directory dpkg: error processing ibritish (--remove): subprocess post-removal script returned error exit status 1 Removing amor ... Processing triggers for man-db ... Processing triggers for menu ... Errors were encountered while processing: iamerican ibritish E: Sub-process /usr/bin/dpkg returned an error code (1) When I run update, I don't get the error though... Any guesses on what this may be due to? Is this a problem? Sorry but I'm sort of a newbie and I hadn't seen such a message before. Any helpm will be greatly appreciated Cheers. | What's the output of: Code: Select allcat /var/lib/dpkg/info/iamerican.postrm (FWIW this appears to be fixed in testing). |
I've been enjoying wireless for a long time on Squeeze (iwl3945) with KDE, but the recent network manager update stopped that. I've tried a few things, like going back to /etc/network/interfaces and ifup wlan0 that I use with Lenny, but still not working. Any advice appreciated. | Try using Wicd. I use it and its better than Network Manager (although doesnt have that much features such as 3G device support, VPN support, but for wireless it is the best). |
Hello to all, I don't know if this is the right place to ask this. If not, excuse me and please let me know. A warning: Total newbie. I'm trying to configure the touchpad of my DELL Inspiron 1525 Laptop. I added the following to my /etc/X11/xorg.conf file: Code: Select allSection "InputDevice" Identifier "Synaptics Touchpad" Driver "synaptics" Option "SendCoreEvents" "true" Option "Device" "/dev/psaux" Option "Protocol" "auto-dev" Option "HorizEdgeScroll" "0" Option "SHMConfig" "on" EndSection Then checked to see if the xserver-xorg-input-synaptics package was installed... It was. Then checked to see if gsynaptics was installed... It wasn't, so I installed it. Now... Supposedly, running this command: Code: Select allsyndaemon -d -i 1 should disable the touchpad after 1 second of keyboard activity, but when Y type that in the terminal I get: Code: Select allCan't access shared memory area. SHMConfig disabled? going su and then retyping the command gives me: Code: Select allNo protocol specified Can't open display. I read that using userspace tools, I can configure touchpad, but I don't know what userspace tools are, nor where to find them... I'm following instructions from here: http://wiki.debian.org/InstallingDebian ... spiron1525 Please, any guidance will be much appreciated. Thanks in advance | Personally I don't use an xorg.conf. Instead I simply start gsynaptics-init on login. Then Gsynaptics works fine. Code: Select alldpkg -l|grep synaptic ii gsynaptics 0.9.16-4 configuration tool for Synaptics touchpad driver of X server ii xserver-xorg-input-synaptics 1.2.1-1 Synaptics TouchPad driver for X.Org server In ~/.config/autostart I have a .desktop file that runs gsynaptics-init Code: Select allcat ~/.config/autostart/gsynaptics-init.desktop [Desktop Entry] Name=Touchpad Exec=gsynaptics-init Terminal=false Type=Application Hidden=false You can try it first from a shell as user: Code: Select allgsynaptics-init |
Hello, I'm having trouble setting up a Debian client for LDAP authentication. After altering the nsswitch.conf so that passwd, group and shadow search files then ldap, the accounts in the LDAP server are displayed correctly when running getent passwd for example. However when the client is restarted, is looks like libnss-ldap tries to access the LDAP server even before networking has been started! It errors several times because it can't authenticate groups with the LDAP server (not that it should be trying, that's why 'files' is listed before 'ldap' isn't it)?! This results in a slow bootup and then GDM fails to start (I get an X11 grey 'sends eyes funny' backdrop and the 'X' cursor). I've had success with a couple of other distros, so now it's personal! The same LDAP server can authenticate users on (for example) Fedora 12 with the same nsswitch.conf setup. I would like to achieve LDAP authentication with Debian too. Why has it been made so difficult? Any help appreciated. gmjs | OK, just in case it's bugging anyone as much as it did me , I found another site that help me solve this one. If you use the newer libnss-ldapd package (rather than libnss-ldap) and uninstall Network Manager, all is well. Hope this is useful to someone! |
I am new to this forum and also to Debian. I am trying out the live cd but can't seem to find how to connect to the internet. My setup is Ethernet card and DSL modem, no routers, no wireless. How do I set this up? | You would not have to set this up. The CD ought to do this for you. If this does not happen, post output of the following commands - "lspci"; "uname -r" and "lsmod". You may have to open the command line. |
Hello, I've been using lenny for some time now without major issues, but recently i decided to upgrade to squeeze (i used latest amd64 netinst) mainly because version of awesome wm in lenny repository was too old. I've since also installed gnome, but the problem is there as well - moving windows or scrolling is extremely sluggish, it's like redrawing takes huge amount of time, and xorg has high CPU utilization (> 50%) while doing it, that lead me to believe it has something to do with xorg. I tried installing (perhaps it has nothing to do with it, but anyway) ati driver (used newest from ther website), but then xorg fails: Code: Select all(II) Loading extension DRI2 (II) LoadModule: "fglrx" (II) Loading /usr/lib/xorg/modules/drivers/fglrx_drv.so dlopen: /usr/lib/xorg/modules/drivers/fglrx_drv.so: undefined symbol: UpdateSpriteForScreen (EE) Failed to load /usr/lib/xorg/modules/drivers/fglrx_drv.so (II) UnloadModule: "fglrx" (EE) Failed to load module "fglrx" (loader failed, 7) (EE) No drivers available. Fatal server error: no screens founders I have to disable Driver option to be able to start it: Code: Select allSection "ServerLayout" Identifier "aticonfig Layout" Screen 0 "aticonfig-Screen[0]-0" 0 0 EndSection Section "Files" EndSection Section "Module" EndSection Section "Monitor" Identifier "aticonfig-Monitor[0]-0" Option "VendorName" "ATI Proprietary Driver" Option "ModelName" "Generic Autodetecting Monitor" Option "DPMS" "true" EndSection Section "Device" Identifier "aticonfig-Device[0]-0" #Driver "fglrx" BusID "PCI:1:0:0" EndSection Section "Screen" Identifier "aticonfig-Screen[0]-0" Device "aticonfig-Device[0]-0" Monitor "aticonfig-Monitor[0]-0" DefaultDepth 24 SubSection "Display" Viewport 0 0 Depth 24 EndSubSection EndSection I must be missing something Advice? | Install firmware-linux-nonfree. You will have to point your sources.list to non-free to get it. |
So this very (for me) important little package fails me once again. But this time it refuses to restart/start This is the output: Code: Select allSetting up openssh-server (1:5.3p1:-1) Restarting OpenBSD Secure Shell Server: sshd: failed! /dev/null is not a character device! invoke-rc.d: initscript ssh, action "restart" failed. dpkg: error processing openssh-server (--configure) subprocess installed post-installation script returned error exit status 1 Errors were encountered while processing: openssh-server dpkg -purge openssh-server: failed, same thing aptitude: same thing. So, now what? The error is within the /etc/init.d/ssh script. ("error") This is in squeeze so I can only blame my self, but.. This is one of the packages that fair and square should not fail to install/update/start/restart no mather what! Had this problem for a week now, and wanted to cool it with this forum to see if an update was posted or someone else had the same problems. Even checked with google. Nothing after 2007 and then the version is not the same and all. -Andreas | So the ssh server is not running at the moment? /etc/init.d/ssh start fails? What message do you get? You seem to imply that you have had trouble with the ssh server before. Did you customize it at that time? |
I'm installing Squeeze on on a Dell Latitude D830 laptop with a Broadcom BCM4328 wireless network card, and I'm stuck on getting wireless internet to work. I have the 2.6.32-trunk-686-bigmem kernel. I run KDE and I have knetworkmanager installed to sort the network connections out. Unfortunately, knetworkmanager cannot find any wireless networks for eth2 (the wireless adapter). There is a wireless network, as other equipment can still connect to it. I've installed the broadcom-sta drivers according to http://wiki.debian.org/wl. When I run iwconfig, I receive the following output: Code: Select alleth2 IEEEE 802.11abgn ESSID:"" Mode:Managed Frequency: 2.412 GHz Access Point: Not-Associated Bit Rate: 14 Mb/s Tx-Power:off Retry min limit: 7 RTS thr:off Fragment thr:off Power ManagementMode: All packages received Link Quality=5/5 Signal level=0 dBm Noise Level=0 dBm Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0 Tx excessive retries:0 Invalid misc:0 missed beacon:0 My /etc/network/interfaces is: Code: Select allauto lo iface lo inet loopback If I run dmesg | grep eth2, I get: Code: Select alludev: renamed network interface eth1 to eth2 eth2: no IPv6 routers present I don't know why it is renamed, but if I do dmesg | grep eth1, I get the following Code: Select alleth1: Broadcom BCM4328 802.11 Wireless Controller 5.10.91.9 udev: renamed network interface eth1 to eth2 I can't find an open bugreport for broadcom-sta-common, and I've tried to search the net and this forum for a while to find some clues to get it working. However, my search skills are failing. So is there anyone here that can point me in the right direction? | Sallin wrote: Code: Select all Tx-Power:off uh...looks like a problem... try the command iwconfig eth2 txpower auto and then see what iwconfig reports |
So I saved a copy of my iptables so that after my install I wouldn't have to add in all the rules again, it's been a matter of course with my backups. I've noticed that Debian does this a bit differently than I'm used to. My 'old' /etc/network/interfaces looks like this: Code: Select allauto eth0 iface eth0 inet dhcp pre-up iptables-restore < /etc/iptables.rules post-down iptables-save -c > /etc/iptables.rules and the one currently installed looks like this: Code: Select all...muted... # The loopback network interface auto lo iface lo inet loopback # The primary network interface allow-hotplug eth0 iface eth0 inet dhcp Do I need to edit /etc/network/interfaces with the pre-up and post-down lines as indicated in the 'old' file or does Debian do this automagically? To 'install' my old iptables I can just take my iptables.using from my prior OS and copy it to sbin as iptables??? Right now my squid3 install is blocking EVERYTHING and that's when I remembered these files. TIA, Barrie | Nope, that doesn't work... I'm going to install firehol, it's not a GUI and with a printout of my old iptables should be a snap. TIA, Barrie Edit: Not a snap, it wouldn't start... Copying over the iptable on hda1 didn't work either. Maybe I'm overthinking this, been to long installing and customising... |
since i rarely need my wireless, and i want it off by default, i am going to disable it during bootup with Code: Select allecho 0 > /sys/devices/platform/acer-wmi/wireless what would be the proper place for this? if i put it in rc.local it will be executed very late, i'd rather have it sooner. if add a new script to init.d, then run update-rc.d, i would have to adhere to the start|stop|reload structure of these scripts, right? or do i go a totally different way about this? | would have to adhere to the start|stop|reload structure of these scripts, right? Not necessarily, but that is the proper sysv way. I think this script would work. You would turn on wireless by running /etc/init.d/foobar on. Code: Select all#!/bin/sh #dissable wireless enable with "on" case $1 in start)echo 0>/sys/devices/platform/acer-wmi/wireless;; stop)exit 0;; restart)exit 0;; on)echo 1>/sys/devices/platform/acer-wmi/wireless;; esac exit 0 #this would set foobar with a S of 30 starting in runlevels 2 and 3 and K of 70 in 0 1 6. If 30 isn't early enough you can manually change the S #. Code: Select allupdate-rc.d foobar start 30 2 3 . stop 70 0 1 6 . |
Well recently my gnome crashed , so i went through some postings n zeroed on two solutions. 1. delete lock file in /tmp/gconfd-username (this one did not work) 2. to delete saved_state file in /home/username/.gconfd (This worked) After recovery i can see that "Update manager" utility is always orange n it shows there are 30 updates that needs to installed, i double click on that icon, it prompts me to enter password and then check for dependencies and after that nothin happens. That icon still is orange in color n it still shows 30 updates available... Just noticed i'm unable to install/uninstall packages using synaptic Packet manager, are these two problems related? | ...are these two problems related Probably. What did you mean when you said "delete saved_state file in /home/username/.gconfd (This worked)"? As I understand your situation, gnome crashed: What exactly happened? Report the results when you execute the following commands in a terminal:Code: Select allsu <password> aptitude update && aptitude safe-upgrade |
I'm trying to install vmware server 2 on my lenny and first I must install the kernel headers but I'm having troubels with it. apt-get install linux-headers-`uname -r` Reading package lists... Done Building dependency tree Reading state information... Done E: Couldn't find package linux-headers-2.6.28.9 I have even tried with apt-get install linux-headers-2.6.28.9 but same thing Searching apt-cache search linux-headers-2.6.28.9 shows nothing. | It would probably help if you tried to install a package that existed. Last I checked, 2.6.26 was the default kernel in lenny anyway. Maybe you could install it and its headers. |
Hi. I have vsftpd installed on my Debian (squeeze). I wish to let a local user (ftp) access the FTP server, but not login as normal user through SSH. In vsftpd.conf, I have enabed local user and chroot. I have also changed the shell of the local user (ftp) to /bin/false. The problem is that, I cannot login the FTP server from another computer (I login as "ftp" on a Windows machine). But when I change the shell of the local user (ftp) to /bin/sh, I can login the FTP successfully. Is this the problem of Windows, or I should use something else instead of /bin/false if I want to prevent "ftp" login service other than FTP? Thanks. | Unfortunantly I don't think it is a Windows problem. I use proFTP and what you are suggesting works for me. I would try a differnt shell. If my memory serves there are a few null shells out there for this purpose. |
Running /dlf/Realtek/r8168-8.016.00# ./autorun.sh gives this result: " Check old driver and unload it. rmmod r8169 Build the module and install make: *** /lib/modules/2.6.26-1-686/build: No such file or directory. Stop. make[1]: *** [modules] Error 2 make: *** [modules] Error 2 " I have checked the directory and ./build is not there, does anyone know how to create it? Running up to date lenny. Thanks, Bob Feb 13 ** Gave up with the stock 2.6.26-1-686 and installed upstream 2.6.32.8. This cured the Realtek driver issue and WOL worked but NFS did not, so I compiled 2.6.31.12 and Eureka!! I now have WOL and NFS. Hopefully this may help others. By the way I'm using Gigabyte GA-X38-DQ6 mb with 4Gb memory, 6 SATA and 2 ide optical drives. | Its already in the kernel. [r8169] the RealTek RTL-8169 Gigabit Ethernet driver, included in mainline kernels. linux-2.6 2.6.26-21 corrects several bugs relating to r8169 Unless you mean rtl8169d [rtl8168d] the RealTek RTL8168D Ethernet controller, supported by <r8169> since Linux 2.6.31. v1 is supported in linux-2.6 2.6.26-21, ask me about <5.0.4>. As of linux-2.6 2.6.32~rc8-1~experimental.1, firmware for v1 and v2 was removed; not currently packaged due to no clear redistribution permission (Debian bugs #561309, #564628). Both versions can operate without userspace firmware as of linux-2.6 2.6.32-3. |
I just upgraded my kernel to 2.30, but now Vitualbox tells med I have to upgrade my virtualbox-ose-modules for my kernel. I've found this: http://packages.debian.org/squeeze/virt ... 6.30-1-686 but that's for the testing edition of debian, and I'm using Lenny. Can I install this anyway? | check the ninth post in this thread http://forums.debian.net/viewtopic.php?f=5&t=45091 bout your link: i dont know, i didnt install the modules via apt-get for a while (as its such a pain...). looks good, install it, if it doesnt work: remove it. edit: if someone has got a link how to edit the links inside of posts please let me know. i dont get it.mine end somewhere. sorry for hijacking, put it in a pm so we dont disturb the OP. |
I have a problem with my custom kernel when I want to create the Nvidia kernel module. I extracted Debian's linux-source to my home directory where I compiled a custom kernel-image and kernel-headers. I used this command: Code: Select allMAKEFLAGS="CC=/usr/lib/ccache/gcc-4.3" make-kpkg --rootcmd fakeroot --initrd --append-to-version=-c0.6 --revision=2.6.32 kernel-image kernel-headers After this finished I installed the image and headers and created the Nvidia kernel module. Everything worked fine. However, if I remove the linux-source from my home directory then I can't create the kernel module. Even though I have the headers for the kernel installed. Can anyone tell me what could be the problem? | Check the symlinks in /lib/modules/<kernel-version>. Specifically the build and source symlinks. Change them if necessary to point to /usr/src/linux-headers-<kernel-version> (which is where the headers for the kernel should be installed to). as root: Code: Select allcd /lib/modules/<kernel-version> ln -nsf /usr/src/linux-headers-<kernel-version> build ln -nsf /usr/src/linux-headers-<kernel-version> source should set them correctly (Actually I delete the source link and just have the build link) |
Hi everyone. New week, new topic from me. This time I have a friends desktop computer and I'm now trying to make the wireless card work. I'm running Debian squeeze and used stable to install madwifi. (from now on, its squeeze) The kernel I'm using: Code: Select allLinux debian 2.6.32-trunk-686 #1 SMP The wireless pci card: Code: Select all02:01.0 Network controller: Atheros Communications Inc. AR5008 Wireless Network Adapter (rev 01) I have both madwifi and ndiswrapper installed, but nothing works. Nothing will "start" the pci card. Code: Select alldebian:/etc/udev/rules.d# iwconfig lo no wireless extensions. eth0 no wireless extensions. pan0 no wireless extensions. /etc/modprobe.d/blacklist Code: Select all#Remove To Install MadWIFI Drivers blacklist ath9k blacklist ath5k /etc/modprobe.d/madwifi Code: Select all## ath5k (mac80211) ## Comment out the following line, and uncomment all of the ## madwifi modules below to use the athk module #blacklist ath5k ## madwifi (non-free) blacklist ath_hal blacklist ath_pci blacklist ath_rate_amrr blacklist ath_rate_onoe blacklist ath_rate_sample blacklist wlan blacklist wlan_acl blacklist wlan_ccmp blacklist wlan_scan_ap blacklist wlan_scan_sta blacklist wlan_tkip blacklist wlan_wep blacklist wlan_xauth /etc/modprobe.d/ndiswrapper Code: Select allalias pci:v0000168Cd0000001Csv0000E008sd0000105Bbc*sc*i* ndiswrapper alias pci:v0000168Cd0000001Csv0000E00Dsd0000105Bbc*sc*i* ndiswrapper alias pci:v0000168Cd0000001Csv*sd*bc*sc*i* ndiswrapper alias pci:v0000168Cd0000002Asv0000E006sd0000105Bbc*sc*i* ndiswrapper alias pci:v0000168Cd0000002Asv*sd*bc*sc*i* ndiswrapper ndiswrapper -l Code: Select allnetathw : driver installed I have followed all the howtos on this site and on various debian wiki sites. But still nothing. And m-a a-i madwifi gives me some errors and halt during installation. Like this one http://www.linuxquestions.org/questions ... te-618537/ My madwifi sources.list Code: Select alldeb ftp://ftp.au.debian.org/debian stable main contrib non-free deb-src ftp://ftp.au.debian.org/debian stable main contrib non-free So any help out there? Im exhausted after 10 hours of serious googling | I have the same card and used madwifi with stock Lenny kernel. It is supported by kernels > 2.6.27 so I installed the 2.6.30 kernel, removed madwifi & rebooted and works now at N speeds. lsmod shows Code: Select allme@toshiba:~$ lsmod | grep ath ath9k 207748 0 also it now uses wlan0 rather than ath0 with madwifi Code: Select allme@toshiba:~$ /sbin/iwconfig lo no wireless extensions. eth0 no wireless extensions. wmaster0 no wireless extensions. wlan0 IEEE 802.11bgn ESSID:"" Mode:Managed Frequency:2.437 GHz Access Point: Not-Associated Tx-Power=20 dBm Retry min limit:7 RTS thr:off Fragment thr:off Power Management:off Link Quality:0 Signal level:0 Noise level:0 Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0 Tx excessive retries:0 Invalid misc:0 Missed beacon:0 |
Hello, I maintain several Debian boxes which need to run customised versions of the packages available in the official repositories. Every now and then, I apply a patch, build the package and install it. However, I am seeking to streamline the administration process by making the download-patch-build-install process automatic every time I upgrade the packages. Is there a tool capable of helping me with it, or should I just pin the appropriate packages and go for my own set of scripts for achieving that goal? A simple example is: I get package foo with apt-get source I modify its source I build it with dpkg-buildpackage I install it with dpkg --install Now, all the changes are lost during the next upgrade or dist-upgrade unless I pin the package in apt-preferences. And I need to upgrade pretty often to stay secure. Is there any Debian way of recognizing the custom-made packages and handling them differently, like, in my case, patching the sources, or do I need my own piece of software? (Well, I guess Gentoo lets you do such kind of configuration, but that's not really an option here...) | You can stop the packages from upgrading by changing the version in debian/changelog. For example something (0.9.3-2) change to something (1:0.9.3-2) but you will then manually have to find out when the sources are upgraded. |
I installed Debian Squeeze on my Acer AspireOne yesterday, and was delighted to see that my ZTE MF627 broadband dongle (from 3 UK) appeared to work "out of the box". I wasn't able to connect due to lack of signal, but the behaviour was as I expected. (The dongle is one with a "zero CD" that needs to be ejected before the modem itself can be accessed. Recent versions of udev are supposed to do this automagically.) However, when I tried to use the dongle today, I was unable to make it work. It appears that udev is no longer ejecting the zero CD when it is inserted, but is instead detecting the modem as a (non-functioning) serial port. Here is the output from /var/log/syslog for the "successful" attempt. Note the disconnection at 4769.479857 which is followed by reconnection as a different device: Code: Select allJan 16 14:11:30 john-netbook kernel: [ 4759.175449] usb 1-2: Product: ZTE CDMA Technologies MSM Jan 16 14:11:30 john-netbook kernel: [ 4759.175459] usb 1-2: Manufacturer: ZTE,Incorporated Jan 16 14:11:30 john-netbook kernel: [ 4759.175762] usb 1-2: configuration #1 chosen from 1 choice Jan 16 14:11:30 john-netbook kernel: [ 4759.180622] scsi3 : SCSI emulation for USB Mass Storage devices Jan 16 14:11:30 john-netbook kernel: [ 4759.181863] usb-storage: device found at 4 Jan 16 14:11:30 john-netbook kernel: [ 4759.181876] usb-storage: waiting for device to settle before scanning Jan 16 14:11:31 john-netbook kernel: [ 4759.536436] usbcore: registered new interface driver usbserial Jan 16 14:11:31 john-netbook kernel: [ 4759.536522] USB Serial support registered for generic Jan 16 14:11:31 john-netbook kernel: [ 4759.536625] usbcore: registered new interface driver usbserial_generic Jan 16 14:11:31 john-netbook kernel: [ 4759.536639] usbserial: USB Serial Driver core Jan 16 14:11:31 john-netbook kernel: [ 4759.561091] USB Serial support registered for GSM modem (1-port) Jan 16 14:11:31 john-netbook kernel: [ 4759.561271] usbcore: registered new interface driver option Jan 16 14:11:31 john-netbook kernel: [ 4759.561282] option: v0.7.2:USB Driver for GSM modems Jan 16 14:11:35 john-netbook kernel: [ 4764.182124] usb-storage: device scan complete Jan 16 14:11:35 john-netbook kernel: [ 4764.185138] scsi 3:0:0:0: CD-ROM ZTE USB SCSI CD-ROM 2.31 PQ: 0 ANSI: 2 Jan 16 14:11:35 john-netbook kernel: [ 4764.209114] sr1: scsi-1 drive qJan 16 14:11:35 john-netbook kernel: [ 4764.209615] sr 3:0:0:0: Attached scsi CD-ROM sr1 Jan 16 14:11:35 john-netbook kernel: [ 4764.209959] sr 3:0:0:0: Attached scsi generic sg2 type 5 Jan 16 14:11:41 john-netbook kernel: [ 4769.479857] usb 1-2: USB disconnect, address 4 Jan 16 14:11:46 john-netbook kernel: [ 4775.172112] usb 1-2: new high speed USB device using ehci_hcd and address 5 Jan 16 14:11:47 john-netbook kernel: [ 4775.317794] usb 1-2: New USB device found, idVendor=19d2, idProduct=0031 Jan 16 14:11:47 john-netbook kernel: [ 4775.317811] usb 1-2: New USB device strings: Mfr=2, Product=1, SerialNumber=0 Jan 16 14:11:47 john-netbook kernel: [ 4775.317823] usb 1-2: Product: ZTE CDMA Technologies MSM Jan 16 14:11:47 john-netbook kernel: [ 4775.317833] usb 1-2: Manufacturer: ZTE,Incorporated Jan 16 14:11:47 john-netbook kernel: [ 4775.318160] usb 1-2: configuration #1 chosen from 1 choice Jan 16 14:11:47 john-netbook kernel: [ 4775.320611] option 1-2:1.0: GSM modem (1-port) converter detected Jan 16 14:11:47 john-netbook kernel: [ 4775.320918] usb 1-2: GSM modem (1-port) converter now attached to ttyUSB0 Jan 16 14:11:47 john-netbook kernel: [ 4775.321554] option 1-2:1.1: GSM modem (1-port) converter detected Jan 16 14:11:47 john-netbook kernel: [ 4775.321869] usb 1-2: GSM modem (1-port) converter now attached to ttyUSB1 Jan 16 14:11:47 john-netbook kernel: [ 4775.324208] scsi4 : SCSI emulation for USB Mass Storage devices Jan 16 14:11:47 john-netbook kernel: [ 4775.325694] option 1-2:1.3: GSM modem (1-port) converter detected Jan 16 14:11:47 john-netbook kernel: [ 4775.326148] usb 1-2: GSM modem (1-port) converter now attached to ttyUSB2 Jan 16 14:11:47 john-netbook kernel: [ 4775.328407] usb-storage: device found at 5 Jan 16 14:11:47 john-netbook kernel: [ 4775.328420] usb-storage: waiting for device to settle before scanning Jan 16 14:11:52 john-netbook kernel: [ 4780.326737] usb-storage: device scan complete Jan 16 14:11:52 john-netbook kernel: [ 4780.328956] scsi 4:0:0:0: Direct-Access ZTE MMC Storage 2.31 PQ: 0 ANSI: 2 Jan 16 14:11:52 john-netbook kernel: [ 4780.330783] sd 4:0:0:0: Attached scsi generic sg2 type 0 Jan 16 14:11:52 john-netbook kernel: [ 4780.334766] sd 4:0:0:0: [sdb] Attached SCSI removable disk Jan 16 14:11:54 john-netbook NetworkManager: <info> (ttyUSB2): found serial port (udev:GSM hal:) Jan 16 14:11:54 john-netbook NetworkManager: <info> (ttyUSB2): deferring until all ports found Jan 16 14:11:54 john-netbook NetworkManager: <info> (ttyUSB1): ignoring due to lack of mobile broadband capabilties Jan 16 14:12:00 john-netbook NetworkManager: <info> (ttyUSB0): ignoring due to lack of mobile broadband capabilties Jan 16 14:12:03 john-netbook NetworkManager: <info> Re-checking deferred serial ports Jan 16 14:12:03 john-netbook NetworkManager: <info> (ttyUSB2): new Modem device (driver: 'option') Jan 16 14:12:03 john-netbook NetworkManager: <info> (ttyUSB2): exported as /org/freedesktop/Hal/devices/usb_device_19d2_31_noserial_if3_serial_usb_0 Jan 16 14:12:07 john-netbook NetworkManager: <info> (ttyUSB2): device state change: 1 -> 2 (reason 2) Jan 16 14:12:07 john-netbook NetworkManager: <info> (ttyUSB2): deactivating device (reason: 2). Jan 16 14:12:07 john-netbook NetworkManager: <info> Policy set 'Auto Ellul' (wlan0) as default for routing and DNS. Jan 16 14:12:07 john-netbook NetworkManager: nm_system_device_flush_ip4_routes_with_iface: assertion `iface_idx >= 0' failed Jan 16 14:12:07 john-netbook NetworkManager: nm_system_device_flush_ip4_addresses_with_iface: assertion `iface_idx >= 0' failed Jan 16 14:12:07 john-netbook NetworkManager: <info> (ttyUSB2): device state change: 2 -> 3 (reason 0) Jan 16 14:12:10 john-netbook NetworkManager: <info> Activation (ttyUSB2) starting connection 'GSM connection' Jan 16 14:12:10 john-netbook NetworkManager: <info> (ttyUSB2): device state change: 3 -> 4 (reason 0) Jan 16 14:12:10 john-netbook NetworkManager: <info> Activation (ttyUSB2) Stage 1 of 5 (Device Prepare) scheduled... Jan 16 14:12:10 john-netbook NetworkManager: <info> Activation (ttyUSB2) Stage 1 of 5 (Device Prepare) started... Jan 16 14:12:10 john-netbook NetworkManager: <debug> [1263651130.614638] nm_serial_device_open(): (ttyUSB2) opening device... Jan 16 14:12:10 john-netbook NetworkManager: <info> Activation (ttyUSB2) Stage 1 of 5 (Device Prepare) complete. Jan 16 14:12:10 john-netbook NetworkManager: <info> (ttyUSB2): powering up... And here is the equivalent output for an "unsuccessful" attempt: Code: Select allJan 17 21:58:49 john-netbook kernel: [ 8683.329429] usb 1-2: Product: ZTE CDMA Technologies MSM Jan 17 21:58:49 john-netbook kernel: [ 8683.329439] usb 1-2: Manufacturer: ZTE,Incorporated Jan 17 21:58:49 john-netbook kernel: [ 8683.329727] usb 1-2: configuration #1 chosen from 1 choice Jan 17 21:58:50 john-netbook kernel: [ 8683.474934] usbcore: registered new interface driver usbserial Jan 17 21:58:50 john-netbook kernel: [ 8683.474992] USB Serial support registered for generic Jan 17 21:58:50 john-netbook kernel: [ 8683.475091] usbcore: registered new interface driver usbserial_generic Jan 17 21:58:50 john-netbook kernel: [ 8683.475100] usbserial: USB Serial Driver core Jan 17 21:58:50 john-netbook kernel: [ 8683.490493] USB Serial support registered for GSM modem (1-port) Jan 17 21:58:50 john-netbook kernel: [ 8683.490698] option 1-2:1.0: GSM modem (1-port) converter detected Jan 17 21:58:50 john-netbook kernel: [ 8683.491039] usb 1-2: GSM modem (1-port) converter now attached to ttyUSB0 Jan 17 21:58:50 john-netbook kernel: [ 8683.491124] usbcore: registered new interface driver option Jan 17 21:58:50 john-netbook kernel: [ 8683.491137] option: v0.7.2:USB Driver for GSM modems Jan 17 21:58:50 john-netbook kernel: [ 8683.571205] Initializing USB Mass Storage driver... Jan 17 21:58:50 john-netbook kernel: [ 8683.571401] usbcore: registered new interface driver usb-storage Jan 17 21:58:50 john-netbook kernel: [ 8683.571415] USB Mass Storage support registerebd. Jan 17 21:59:03 john-netbook nm-system-settings: SCPlugin-Ifupdown: devices added (udi: /org/freedesktop/Hal/devices/usb_device_19d2_2000_noserial_if0_serial_usb_0, iface: (null)) Jan 17 21:59:03 john-netbook NetworkManager: <info> (ttyUSB0): found serial port (udev: hal:GSM) Jan 17 21:59:03 john-netbook NetworkManager: <info> (ttyUSB0): ignoring due to lack of probed mobile broadband capabilties It will be seen that the two are very different. I've tried purging and reinstalling hal and udev, to no avail. Any thoughts? I note in particular that the "successful" attempt involved various lines relating to scsi3/scsi4, which are not found in the "unsuccessful" version, but don't know if this has any significance. | Managed to reset modem to factory settings and that has resolved the problem. Waiting to see if it recurs, but if it does then that's still a different problem from the one described here, so marking this as solved. |
Tryin to update guest additions to match new host. Change fstab to allow exec. Still get permission denied. Any ideas why? Code: Select alldebian:/home/bill# cd /cdrom debian:/cdrom# ls -lh total 30M dr-xr-xr-x 3 root root 2.0K 2009-12-17 07:37 32Bit dr-xr-xr-x 2 root root 2.0K 2009-12-17 07:37 64Bit -r-xr-xr-x 1 root root 217 2009-12-04 04:06 AUTORUN.INF -r-xr-xr-x 1 root root 4.4K 2009-12-17 07:33 autorun.sh -r-xr-xr-x 1 root root 2.8M 2009-12-17 07:29 VBoxLinuxAdditions-amd64.run -r-xr-xr-x 1 root root 2.4M 2009-12-17 07:36 VBoxLinuxAdditions-x86.run -r-xr-xr-x 1 root root 13M 2009-12-17 06:24 VBoxSolarisAdditions.pkg -r-xr-xr-x 1 root root 5.9M 2009-12-17 07:24 VBoxWindowsAdditions-amd64.exe -r-xr-xr-x 1 root root 467K 2009-12-17 07:21 VBoxWindowsAdditions.exe -r-xr-xr-x 1 root root 5.3M 2009-12-17 07:22 VBoxWindowsAdditions-x86.exe debian:/cdrom# ./VBoxLinuxAdditions-x86.run bash: ./VBoxLinuxAdditions-x86.run: /bin/sh: bad interpreter: Permission denied debian:/cdrom# su root debian:/cdrom# ./autorun.sh bash: ./autorun.sh: /bin/sh: bad interpreter: Permission denied debian:/cdrom# | A shot in the dark, but if they're Bash scripts and your /bin/sh is symlinked to dash instead, you could try Code: Select all# bash VBoxLinuxAdditions-x86.run |
I want to mount some directories in the host(Vista) at boot. I can mount them Okay from command line after startup. But, adding to fstab doesn't work. I think it is because fstab mounts are earlier than the vbox services starting up. Is there another file or script I can use to mount these each boot but, have the mount occur late in the boot process? | Try mounting them from /etc/rc.local That script runs last in the boot process, so everything else will have started already. Just use the same commands as you would use from the command line. |
I am in time zone gmt -6. At shutdown the superblock for /dev/hda1 is being written at local-6 hours. This is causing a failed fsck (code 4) at boot time. After a manual fsck I am able to boot OKay. System is running as VirtualBox guest. How can I resolve this timing problem? | In /etc/default/rcS try switching the value of UTC= to the opposite of what's there. My guess is that it's currently set to yes and for your virtual machine it should be NO. |
Hi. This is my first post so please excuse any transgressions. I'm trying to set up bind so that I can get mail straight to my server. This is what I've done so far:- My domain is almostfinished.co.uk My server's external ip is 212.159.20.117and it's internal ip is 192.168.1.101 I've based my server on this tutorial : http://workaround.org/ispmail/lenny My domain is hosted by 123-reg and I've set dns there to point at my machine:- #dig +short @ns.123-reg.co.uk mx almostfinished.co.uk 10 server.almostfinished.co.uk. I've set up local internal and reverse zone and checking with 'dig' gives: #dig +short mx almostfinished.co.uk 10 server.almostfinished.co.uk. I can send mail internally. Woo. Yet when I try to send external mail it gets bounced with dns errors: Reporting-MTA: dns; server.almostfinished.co.uk X-Postfix-Queue-ID: C1BFE7C2151 X-Postfix-Sender: rfc822; nick@almostfinished.co.uk Arrival-Date: Wed, 23 Dec 2009 19:00:06 +0000 (GMT) Final-Recipient: rfc822; jo@ojjygirl.plus.com Original-Recipient: rfc822;jo@ojjygirl.plus.com Action: failed Status: 5.0.0 Remote-MTA: dns; mx-ironport.core.plus.net Diagnostic-Code: smtp; 553 #5.1.8 Domain of sender address <nick@almostfinished.co.uk> does not exist From another machine on my network, using external dns, I can ping almostfinished,co.uk but not server.almostfinished.co.uk (could not find host) My zone file is:- ; ; SOA ; $TTL 604800 @ IN SOA server.almostfinished.co.uk. postmaster.almostfinished.co.uk.( 00000001 ; Serial number 604800 ; Slave refresh 86400 ; Slave retry 2419200 ; Slave expire 604800 ; Negative Cache TTL ) IN NS server.almostfinished.co.uk. IN MX 10 server.almostfinished.co.uk. server IN A 192.168.1.101 www IN CNAME server ftp IN CNAME server Where to start looking? Thanks | There are some nice sites out there that can give a detailed overview of the current DNS status - checkdns for one. It seems indeed as though there is a problem with the mailserver, in the form of a timeout. But more importantly, the reported DNS zone serial number is 1261165272, while yours is 00000001. Code: Select allavithy:~# host -C almostfinished.co.uk Nameserver ns16.zoneedit.com: almostfinished.co.uk has SOA record ns16.zoneedit.com. soacontact.zoneedit.com. 1261165272 14400 7200 950400 7200 Nameserver ns17.zoneedit.com: almostfinished.co.uk has SOA record ns16.zoneedit.com. soacontact.zoneedit.com. 1261165272 14400 7200 950400 7200 avithy:~# This means that your zone file hasn't been accepted. I'm not sure where your zone file is located (couldn't find a mention of either the location or service to be used in the tutorial), but if you're using bind, check for bind messages in syslog; Code: Select allcat /var/log/syslog | grep bind If there's nothing there, do a /etc/init.d/bind restart and check again; Code: Select all/etc/init.d/bind restart; tail -Fn 50 /var/log/syslog | grep bind My knowledge of DNS is a bit wonky, but it seems like your zone file lacks an IP specification. The zone file gets sent up to DNS servers higher up in internet's infrastructure and dispersed throughout, so that in other networks your hostname can quickly be resolved (as far as I understand). However, when a zone file is incomplete or incorrect, it won't get accepted by the DNS servers higher up; instead, they just keep using the old DNS zone file. So the lack of a Code: Select allIN A 212.159.20.117 in your file might very well be the cause of the DNS servers using the old version. Not only DNS servers higher up need to have your IP in the zone file, but apparently your server itself as well - apart from the reason that the zone file on your server gets copied to others, DNS resolves (seem to :p) usually contact the server itself (to confirm or use newest DNS ? not sure). When the requested zone file has no default IP set, it seems to resolve to 0.0.0.0: Code: Select allavithy:~# host almostfinished.co.uk almostfinished.co.uk has address 0.0.0.0 almostfinished.co.uk mail is handled by 0 server.almostfinished.co.uk. which results in some very funny side-effects*: Code: Select allavithy:~# ping almostfinished.co.uk PING almostfinished.co.uk (127.0.0.1) 56(84) bytes of data. 64 bytes from localhost, (127.0.0.1): icmp_seq=1 ttl=64 time=0.022 ms * (you could play pranks with that - if you know a friend running a webserver on his desktop, he might be fooled into thinking you linked your domain to his box .. muhhahaha) So even though the domainname almostfinished.co.uk may actually be resolved to your IP address, further DNS operations result in absolute misery. I could speculate a lot about the possible role in other problems you're experiencing, but as I mentioned, I'm not that sure what I'm talking about, so I should leave it at this. There's probably enough to see in the logs though (if you use bind), and maybe adding the IP entry will actually fix things. If not, we can look into it some more, and learn yet another day! :} Good luck! |
In the following i am not asking for a detailed step-by-step, but for a general advice. situation is the following: my ISP has given me a modem, which i was able to set up as a router the modem: Siemens ADSL C2-010-l http://forums.debian.net/viewtopic.php?f=5&t=47207 So far, so good. I have bought a switch, of which i have thought i would plug in the two PC`s and be done with it. That shot was too fast. This is the switch i have bought: Netgear RP614 http://www.netgear.com/Products/Routers ... RP614.aspx http://209.85.129.132/search?q=cache:iF ... ct=clnk#11 So, perhaps someone might tell me what to do now? Do i need to reset the router (Siemens ADSL C2-010-l) as a modem. Or do i leave it the way it is and just configure the Switch (Netgear RP614). just in general. I dont know where to start: with the modem/router or with the switch. i somehow had something different in mind when thinking of a switch (whats more confusing is that its called a router (+switch) too). or have i bought the wrong device? ps: you may laugh if you like. one could easily sell me a toaster and call it a switch. i know that, i`m more than a bit awkward when it comes to that. | what ports do you have on the router(modem)? what ports do you have on the switch? |
i just want to know if i do it right or wrong: i added the router behind the modem and it does set the IP`s via dhcp. So far, so good. I would prefer to have got static IP`s to reach PC1 from PC2. I have read this and that, tried this and that (by editing the interfaces file), but all of it didnt work. Finally i found an option in the routers webinterace -> lan -> reserving IP-addresses. added an IP address of choice and that is the one which is getting used now. good. So: is that the way it is done? Or would i remove the dhcp-option from the router and edit /etc/network/interfaces manually? or something different? | It's your router config that should be changed. If you have no need for dynamic, you can set them all to static(in the router), and then just update your interfaces file manually, or use a gui. |
Just started to learn how to use mySQL. I noticed that at system boot and also in terminal when I restart mySQL, it has this message: Code: Select allshum-i7:/home/shum# /etc/init.d/mysql restart Stopping MySQL database server: mysqld. Starting MySQL database server: mysqld. Checking for corrupt, not cleanly closed and upgrade needing tables.. shum-i7:/home/shum# Not sure what the message means. Is it saying it is checking for corrupt, etc items? But it did not return any message to say if it is ok. Please advise what it means and what needs to be done. I used synaptic manager to install mysql, and I have not started to use the database yet. Thanks. | It's just a message informing you that Debian has checked that everything's all right with the databases and tables. It is generated by /etc/mysql/debian-start and it's nothing to worry about. |
I'm trying to set up Debian after using Ubuntu for a while. Wireless networking worked perfectly and effortlessly under Karmic, but during the Lenny installation, dhcp failed and after booting successfully, network manager says there are no network devices. I'm using a Karmic liveCD now which works fine, so I know nothing is really broken. I tried to configure things manually but I'm really lost. Here's relevant info (I guess): Under Ubuntu Karmic: from lspci: Ethernet controller: Atheros Communications Inc. Atheros AR5001X+ Wireless Network Adapter (rev 01) from modprobe -l | grep ath: kernel/drivers/net/wireless/ath/ath5k/ath5k.ko <--? kernel/drivers/net/wireless/ath/ath9k/ath9k.ko kernel/drivers/net/wireless/ath/ar9170/ar9170usb.ko kernel/drivers/net/wireless/ath/ath.ko kernel/drivers/md/multipath.ko from iconfig: lo ... wlan0 Link encap:Ethernet HWaddr 00:18:e7:27:f8:41 inet addr:192.168.1.100 Bcast:192.168.1.255 Mask:255.255.255.0... wmaster0... Under Debian Lenny: from lspci: Ethernet controller: Atheros Communications Inc. AR5212/AR5213 Multiprotocol MAC/baseband processor (rev 01) from modprobe -l | grep ath: /lib/modules/2.6.26-2-486/kernel/drivers/md/dm-multipath.ko /lib/modules/2.6.26-2-486/kernel/drivers/md/multipath.ko /lib/modules/2.6.26-2-486/kernel/drivers/net/wireless/ath5k/ath5k.ko <--? nothing from ifconfig Can anyone point me in the right direction? I can get post more info if needed. Thanks. | Start here http://wiki.debian.org/WiFi |
Hi All, I'm trying to get Mutt to do Kerberos authentication when talking to my SMTP servers. This works perfectly well on my Gentoo/OpenSUSE boxes, however does not work on my Debian box. The relevant parts of my config file: Code: Select all set smtp_url="smtps://username@smtp.server.com" set smtp_authenticators="gssapi:digest-md5:cram-md5" set ssl_min_dh_prime_bits=512 Then I "kinit", and run mutt. Mutt reads my email (using GSSAPI) perfectly well. But when sending mail on my Debian box, it fails saying the authentication mechanism is unavailable. Anyone know how to fix this? Thanks in advance, GI PS: The error persists even if I compile mutt (SSL/Kerberos enabled) from source myself | Of course, as soon as I post my message, I figure out the problem. Code: Select all aptitude install libsasl2-modules-gssapi-heimdal and then restart mutt. |
Hello! I use debian lenny. when I become root I can run commands like ls,cp,etc. easily. But when I want to start a program like "gedit" that uses graphics, the message "cannot connect to X server" is displayed and then nothing! I used this command as root and also normal user environment but the problem still persists:Code: Select allxhost +localhost:root the output is:Code: Select allabz@debian:~$ xhost +localhost:root xhost: unknown address family "localhost" xhost: bad hostname "localhost:root" My xsrverrc file is:Code: Select allif [ x"$server" = x ]; then # if no server arguments or display either, use rc file instead if [ x"$serverargs" = x -a x"$display" = x ]; then - server=$defaultserver serverargs=$defaultserverargs - display=$defaultdisplay else server=$defaultserver fi | use gksudo or kdesu to run graphical programs with root privys |
Man, I know I'm gonna sound like a stupid Windows dork (which would only be partially correct), but this is not that kind of 'Where's the network settings?' question. I've been using Ubuntu for a while, and have a few instances deployed in my virtual infrastructure to run various systems. However, the makers of one of them said it will run better on straight Debian. So, here I am. I successfully installed the latest version of Deb on a VM within one of my ESX boxes (VMware). I went in to edit the network settings within the GUI (i.e. System - Administration - Network), but when I leave the screen and go back to look at it again, it's all back to how it was before I went in there and does not retain the static IP settings that I told it to use. I'm sure I'm just missing something. Any clues? Thanks. | Any particular DE? KDE, Gnome? you can just put the settings in /etc/network/interfaces edit: ah yes gnome, after rereading your post. I don't use it so can't help with that sorry. could also help to supply the branch (stable, testing etc) and kernel version when asking for help as it can have a bearing on the required fix. |
Rather strange problem here. I have a windows box with two drives (C:\ and D:\). Drive C:\ is ntfs and drive D:\ was fat32 but now its been converted to ntfs. When D:\ was fat32 I used to mount both C:\ and D:\ under my linux box with the following general command: Code: Select all#mount.cifs //192.168.0.2/music /home/nikos/marrone/ -o username=nikos,rw,uid=nikos,gid=nikos Since I converted D:\ to ntfs, I still can mount it, I also can cd into the mount directory, but inside the directory I can't do anything. I get: Code: Select allls: reading directory .: Permission denied When I do the mount the directory shows up like: Code: Select alldrwxrwxrwx 1 nikos nikos 0 2008-03-08 14:17 marrone The strange thing is that I still can mount drive C:\ without any problem. Any clues where I should look for a possible solution? Thanks | what about when you login as root and trying to access the directory? |
Dear friends, My java enabled iceweasel was working fine. I had free Java SDK kit. One fine day I decided to install jABC software and it worked like charm. I tested the application at the following link and it worked wonderfully: http://www.bgfl.org/bgfl/custom/resourc ... /index.htm Then, overwhelmed by excitement, I downloaded jorgan and tried to run it. But it did not. I thought maybe I needed to install appropriate java, so installed Sunjava using synaptic. But still jorgan did not run. Worse, when I tested the application at the following link, the software no longer ran: http://www.bgfl.org/bgfl/custom/resourc ... /index.htm The following web-based application also does not run. http://www.cmagics.com/beta/piano/ Only shows the page with the following lines: Virtual Piano: Online music innovation at its best! This Rich Internet Application is designed by CMAGICS to aid and enhance the learning experience for those interested in learning Piano. This Version mimics a 5 Octave Electronic Keyboard with 61 notes; 36 white, 25 black As a Virtual Music Machine, this application will allow you to change notes, just like on an actual Keyboard. ©2008 CRYSTAL MAGIC STUDIO LTD. ALL RIGHTS RESERVED. Then I checked the following links: http://www.java.com/en/download/help/testvm.xml The applet did not run. Then I checked with the following link: http://www.javatester.org/version.html This shows Java version: 1.5.0 from Free Software Foundation, Inc. There is an applet link named "Java Enabled?" When clicked Iceweasel crashes. With my limited grey matter, I am at my wits' end. Can someone help? | You would probably be better off install sun-java6, you just need contrib non-free in your sources.list. The 'free' java works on 99% of sites, but unfortunately not all of them. |
Hi everyone, I've been experiencing a really bizarre problem with an old DELL desktop I installed lenny on. It's a dual-pentium III 866 MHz, 40 Gb HD, 256 Mb RAM DELL optiplex gx300. I installed Debian Leanny 5.0.3 from the LXDE+XFCE CD. I ended up installing both Desktop environments to test them out. Right now, I'm favoring LXDE a bit more. It's working remarkably well for such an old computer. In all the computers I administer I'm using a vanilla Long-Term-Supported 2.6.27 kernel (with the latest .41 update). After customizing (just the processor stuff), compiling and installing the 2.6.27.41 kernel for this computer, I try booting and it fails. After waiting quite a few minutes, it goes into BusyBox and claims the root partition is not located in "/dev/hda1" and that probably by changing it to sda1 will fix the problem. I tried changing the appropriate line in /boot/grub/menu.lst to root=/dev/sda1 instead of hda1. The result at first seemed promising, but the fsck "died" with exit code 8. It seems I need to change hda1 for sda1 all over the place in order to boot... While stuck in busybox, I did: Code: Select allls /dev/hd* ls /dev/sd* and got only results for sd*. I booted Lenny with its original kernel 2.6.26 and once I was logged in, I tried the same lines in a terminal and got results only for hd*. How can upgrading my kernel cause this catastrophic switch for my HD from hda to sda...It's a pretty old HD...I'm pretty sure it's not SCSI nor SATA...why would it be assigned to sda ? I'll probably try a newer kernel...but I like 2.6.27 because it has lots of bug fixes and it's still maintained. I would appreciate any help! Thanks! | This is one of the questions I posted. http://forums.debian.net/viewtopic.php? ... it=+libata I think your problem also arise from the fact that, instead of using old ide driver, your new kernel may be using the pata driver. Old ide driver uses hda, hdb etc. where as the new pata driver uses sda, sdb etc. In case you want to make sure, look at the drivers used from either lsmod or from the kernel configuration. As far as I know, you need to only fix in 2 places * grub (you might have already done this) * fstab for all devices. Actually there is no need to use sda/hda anywhere. It may be better to use UUID/LABEL. So you could use either kernels. You could find the UUID/LABEL either from using "blkid" program, or looking at the corresponding device at /dev/disk/by-uuid or /dev/disk/by-label |
I recently restarted networking on my headless homeserver using "/etc/init.d/networking restart;logout". Well, I found myself locked out, because eth0 didn't come up automatically. I had to connect a screen and keyboard and after logging in on the console I could issue Code: Select allifconfig eth0 up dhclient eth0 After that, all was fine again. Now I'm wondering: 1) Why didn't eth0 come up automatically and 2) automatically ask my DHCP server for an IP? | post your /etc/network/interfaces file |
have a good laugh if you like: if a portscan from here: http://www.heise.de/security/dienste/Ne ... -2114.html tells me the ports are closed or filtered and i am able to download a torrent with deluge, may i assume i have set it up correct? or do i have to check further "things" (for the firewall and for deluge)? | have a good laugh if you like, but I can't read your link. |
By accident (or stupidity), I deleted my upper panel. I put it back, and managed to put back the menu items, and others like time, volume, but I cannot put back the nice wicd icon. I searched and tried many commands, such as wicd-client, but cannot get the icon back. Under Applications-internet-wicd, if I mouse over it , it says start the wicd client without the system tray icon. I have uninstalled and reinstalled wicd, but no tray icon. I really like it back as it shows the signal strength. Help please. | wicd-client is the command needed to start wicd with a tray icon. [add --no tray ...... if you don't want a tray icon.] Make sure you have tk installed or the icon will not appear! [tk is not a dependency, but it probably should be.] Maybe your tk got removed? |
Hi, I'm running syslog-ng on Lenny. Right now, my router logs to my system using UDP port 514: Code: Select allsource router_log {udp(ip(192.168.1.37) port(514));}; destination router {file("/var/log/router.log");}; log {source(router_log); destination(router);}; I'd like to log some other hosts, too. Do I need to make them all log to a different port? If I'd use port 514 for all of them, how would I split the logs to different files for each host? Thanks for your help! | My guess is that you'd make another entry naming a different source, same port, and different destination log file. But guessing might not be the best way to go about it. Here's a thread showing how I screwed up syslog-ng and made it so that no logging would occur if the firewall got turned off. http://forums.debian.net/viewtopic.php?f=10&t=26579 My advice is that you google for examples of what you want to do. Prior threads here about syslog-ng haven't gotten a lot of activity. |
Bought this usb adapter on sale yesterday. I can make it connect to my home wireless network, but cannot make the configuration stick. After reboot, it is all gone. I followed the instructions of Belkin to install the linux usb driver rt2870: Code: Select allBuild Instructions: ==================== 1> $tar -xvzf RT2870_Linux_STA_x.x.x.x.tgz go to "./RT2870_Linux_STA_x.x.x.x" directory. 2> In Makefile set the "MODE = STA" in Makefile and chose the TARGET to Linux by set "TARGET = LINUX" define the linux kernel source include file path LINUX_SRC modify to meet your need. 3> In os/linux/config.mk define the GCC and LD of the target machine define the compiler flags CFLAGS modify to meet your need. ** Build for being controlled by NetworkManager or wpa_supplicant wext functions Please set 'HAS_WPA_SUPPLICANT=y' and 'HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=y'. => #>cd wpa_supplicant-x.x => #>./wpa_supplicant -Dwext -ira0 -c wpa_supplicant.conf -d ** Build for being controlled by WpaSupplicant with Ralink Driver Please set 'HAS_WPA_SUPPLICANT=y' and 'HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=n'. => #>cd wpa_supplicant-0.5.7 => #>./wpa_supplicant -Dralink -ira0 -c wpa_supplicant.conf -d 4> $make # compile driver source code # To fix "error: too few arguments to function ¡¥iwe_stream_add_event" => $patch -i os/linux/sta_ioctl.c.patch os/linux/sta_ioctl.c 5> $cp RT2870STA.dat /etc/Wireless/RT2870STA/RT2870STA.dat 6> load driver, go to "os/linux/" directory. #[kernel 2.4] # $/sbin/insmod rt2870sta.o # $/sbin/ifconfig ra0 inet YOUR_IP up #[kernel 2.6] # $/sbin/insmod rt2870sta.ko # $/sbin/ifconfig ra0 inet YOUR_IP up 7> unload driver $/sbin/ifconfig ra0 down $/sbin/rmmod rt2870sta In step 6, I do not have to use YOUR_IP. I just typed Code: Select allifconfig ra0 up then use wicd to configure it to dhcp, wep password and connect to my wireless network. Belkin also has instructions to load driver at boot: Code: Select allIf you want for rt2870 driver to auto-load at boot time: A) choose ra0 for first RT2870 WLAN card, ra1 for second RT2870 WLAN card, etc. B) create(edit) 'ifcfg-ra0' file in /etc/sysconfig/network-scripts/, edit( or add the line) in /etc/modules.conf: alias ra0 rt2870sta C) edit(create) the file /etc/sysconfig/network-scripts/ifcfg-ra0 DEVICE='ra0' ONBOOT='yes' NOTE: if you use dhcp, add this line too . BOOTPROTO='dhcp' *D) To ease the Default Gateway setting, add the line GATEWAY=x.x.x.x in /etc/sysconfig/network I followed A,B,C but did not use D. Well, the driver did not load after reboot. I had to load it with command /sbin/insmod rt2870sta.ko May be these commands are not for debian? Also, I do not understand the use of "make clean". If I do it, and after reboot, I have to do "make" again. edit: BTW, here is my /etc/network/interfaces Code: Select all# This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5). # The loopback network interface auto lo iface lo inet loopback # The primary network interface allow-hotplug eth0 iface eth0 inet dhcp | This Debian Wiki article may be useful. I've no idea if it's applicable to 64-bit though. |
How can I make it so that certain applications see a different $HOME folder than others? I want to do this because I hate having all of my .config files in the root of my home directory and really have always wanted them to be in a single ~/config folder similar to what some applications do now which is use $HOME/.config/app-name. Please, do not waste time telling me why you don't understand why I care since they are hidden by default if you don't have any suggestions to offer in resolving the issue. EDIT: The folder I would like to make other applications think is my $HOME folder is "/home/username/.config" Worst case scenario, I would settle for making only nautilus see a different home, that way, I could set my $HOME directory to be /home/username/.config and make only nautilus use /home/username as my home directory. | symlinks |
I've used this tutorial before on Etch and things worked. But when I use it on Lenny I can't make the Virtualhosts work at all. I managed to get rid of most [warnings] and [errors] by poking around the system but it doesn't really solve the main problem with Virtualhosts in Apache2. Hosting multiple websites with Apache2 That guide basically says these 6 things. So what did I do wrong I can't connect to any virtualhost with my web browser? 1. /etc/hosts Make your domain names resolve to the IP address of your webserver. I'm not sure I'm doing this part correctly here you can see my file. Code: Select all127.0.0.1 localhost 127.0.1.1 debian 127.0.0.1 example.com 127.0.0.1 example.net 127.0.0.1 example.org # The following lines are desirable for IPv6 capable hosts ::1 localhost ip6-localhost ip6-loopback fe00::0 ip6-localnet ff00::0 ip6-mcastprefix ff02::1 ip6-allnodes ff02::2 ip6-allrouters ff02::3 ip6-allhosts 2. Create catalogs for each domain. Code: Select alluser@irony:~$ su root@irony:~# mkdir /home/www root@irony:~# mkdir /home/www/www.example.com root@irony:~# mkdir /home/www/www.example.com/htdocs root@irony:~# mkdir /home/www/www.example.com/cgi-bin root@irony:~# mkdir /home/www/www.example.com/logs root@irony:~# mkdir /home/www/www.example.net root@irony:~# mkdir /home/www/www.example.net/htdocs root@irony:~# mkdir /home/www/www.example.net/logs root@irony:~# mkdir /home/www/www.example.net/cgi-bin root@irony:~# mkdir /home/www/www.example.org root@irony:~# mkdir /home/www/www.example.org/htdocs root@irony:~# mkdir /home/www/www.example.org/logs root@irony:~# mkdir /home/www/www.example.org/cgi-bin 3. Enable Virtualhosts in Apache. Code: Select all$ touch /etc/apache2/conf.d/virtual.conf $ gedit /etc/apache2/conf.d/virtual.conf http://pastebin.com/m43b43413 3.1 Edit [warn] NameVirtualHost *:80 has no VirtualHosts Don't create that file it already exists in Lenny/Apache "/etc/apache2/ports.conf". But you might want to change this particular line like this. Code: Select all# NameVirtualHost *:80 NameVirtualHost * 4. Managing Virtualhost files. Then work with these you can read howto in that tutorial. I also disabled the default virtualhost file. /etc/apache2/sites-available/default Example.com - localhost * /etc/apache2/sites-available * /etc/apache2/sites-enabled * a2ensite * a2dissite 5. Restart Apache. Code: Select allroot@irony:~# /etc/init.d/apache2 restart 6. Other relevant files which might be useful for you to see. /etc/apache2/ports.conf /etc/apache2/conf.d/fqdn /etc/apache2/conf.d/fqdn Code: Select allServerName localhost That guide basically says these 6 things. So what did I do wrong I can't connect to any virtualhost with my web browser? . | My gosh - that's a really old tutorial methinks. All you need is the /etc/hosts part (looks good), and the directories under /var/www/example.com (and so forth), and then to add virtualhosts to apache2 you can simply edit /etc/apache2/sites-enabled/000-default and go off the example <virtualhost> statement provided to setup more than one (eg: add more to the end of that file). You should consult this for the proper syntax (so you actually understand what you are doing): http://httpd.apache.org/docs/2.2/vhosts/name-based.html When you're done restart apache2 and you should be good to go. ----- That tutorial you're using is really old and is not recommended (it's from the days of Debian 3.1) - if you're going to use a tutorial at least use one that's semi-current. |
bare with me, i did never had to fiddle with networks before. 1) my router is: Siemens ADSL C2-010-l 2) i followed this how-to (which is german, if one knows an english one let me know): C2-as-router. 3) Atm its me, my main PC and the modem (no switch, hub or whatsoever). i want to add a second PC later. 4) i changed /etc/network/interfaces to this: Code: Select all# This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5). # The loopback network interface auto lo iface lo inet loopback #auto dsl-provider #iface dsl-provider inet ppp #pre-up /sbin/ifconfig eth0 up # line maintained by pppoeconf #provider dsl-provider #auto eth0 #iface eth0 inet manual #ROUTER-fiddling auto eth0 iface eth0 inet static address x.x.x.x netmask x.x.x.x gateway x.x.x.x 5) when i run Code: Select all/etc/init.d/networking restart i get an message bout: SIOCDELERT: no such process (not checked yet) i open the webinterface, all seems to work, fine, i am told to be connected, but cant connect to the net (" icecat cant find the server at ***"). 6) Heres the configuration i have taken in the webinterface: direct-link heres the result of a test: direct-link as you may see (hopefully) it tells me: testing ATM OAM segment ping -> FAIL and ping http://www.siemens.com -> FAIL the rest seems to be fine. i may ping my own address and the one of the router. anybody has got an idea what might be wrong? | Why are you not using DHCP? You will need to translate what your info has to say for me to help my friend. |
i have 600+M before i start Code: Select allfakeroot make-kpkg --initrd --append-to-version=.091102 kernel_image i run out of disk space before the command completes! am i doing something wrong? or does the kernel compile require huge amounts of free disk space? | Kernel compilation could take much more than that also. 600MB seems to be a bit low for a PC kernel compilation. |
How do I go about compiling a module for a kernel that isn't what uname -r would return but is installed, along with the necessary headers, on the same system? EDIT: "module" was originally "program." | What program? Programs in general don't need to be compiled for a specific kernel, only modules, and I guess it depends what module you plan to compile there might be different procedures for different modules. Is it something like VirtualBox, VMware? |
An important aptitude bug that not everyone might know about. http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=507603 It basically states that because aptitude lacks an option equal to apt-get --list-cleanup, the directory /var/lib/apt/lists/ will grow forever. While this bug gets fixed, it's recommended to update the package list through apt-get, at least once in a while. I tried it on a one month old Testing system, daily updated, using aptitude exclusively. /var/lib/apt/lists/ size was about 68 MB and after running apt-get update, its size was 28 MB. On September 8th, 2009, a version (0.5.9rc1-1) of aptitude that addresses this bug appeared in Experimental, and on March 23rd, 2010, aptitude 0.6.1.5-3 migrated to Testing. | Interesting. Aptitude version: Code: Select alltelemachus ~ $ aptitude --version aptitude 0.4.11.11 compiled at Dec 5 2008 02:43:34 Compiler: g++ 4.3.2 Compiled against: apt version 4.6.0 NCurses version 5.6 libsigc++ version: 2.0.18 Ept support enabled. Current library versions: NCurses version: ncurses 5.7.20081213 cwidget version: 0.5.12 Apt version: 4.6.0 Before: Code: Select alltelemachus ~ $ du -sh /var/lib/apt/lists/ 36M /var/lib/apt/lists/ telemachus ~ $ du -sh /var/lib/apt/lists/partial/ 78K /var/lib/apt/lists/partial/ After: Code: Select alltelemachus ~ $ du -sh /var/lib/apt/lists/ 36M /var/lib/apt/lists/ telemachus ~ $ du -sh /var/lib/apt/lists/partial/ 0 /var/lib/apt/lists/partial/ Not such a dramatic difference, but not nothing. (I have never used apt-get update on this machine until today.) I'll keep an eye on this and read up on it. Thanks for the tip. |
Hi there! I have a problem: I have formatted my laptop and I created one partition for / of 130GB and another for swap. After the installation I see, in Nautilus, that my / is smaller: only 50GB!!! In Gparted I see that I have: - /dev/sda4 extended 133,60GB -/dev/sda5 ext4 128,14GB -/dev/sda6 linux-swap 5,47GB sda5 and sda6 depend on sda4 and sda5 has 88,53GB occupied and 39,61GB free!!! Files occupies only about 10GB!!! How can I use all my partition? I think that I have to run fsck, but I don't know how to do it with my root partition unmounted... Thanks! | Your description is a little bit confusing. If sda5 is 128G with 88 used and 39 free, that accounts for all of it. What's the 10GB you mention at the end? Please post the output of "fdisk -l" and "df -Th". |
Hello, I was really excited to see Xfce 4.6 available in Lenny backports, but I'm not having the best of luck getting it installed. Has anyone gotten this to work successfully? I added backports to my sources.list - Code: Select alldeb http://ftp.us.debian.org/debian/ lenny main non-free contrib deb-src http://ftp.us.debian.org/debian/ lenny main non-free contrib deb http://security.debian.org/ lenny/updates main non-free contrib deb-src http://security.debian.org/ lenny/updates main non-free contrib deb http://volatile.debian.org/debian-volatile lenny/volatile main contrib non-free deb http://www.debian-multimedia.org lenny main deb http://www.backports.org/debian lenny-backports main contrib non-free - and then ran - Code: Select allsudo aptitude -t lenny-backports install xfce4 - and then got this: Code: Select allThe following packages have unmet dependencies: xfce4: Depends: xfdesktop4 (>= 4.6.1) but 4.4.2-7 is to be installed. Depends: thunar (>= 1.0.1) but 0.9.0-10 is to be installed. Depends: thunar-volman (>= 0.3.80) but it is not installable Depends: xfce4-mixer (>= 4.6.1) but it is not installable Depends: xfce4-appfinder (>= 4.6.1) but it is not installable Depends: orage (>= 4.6.1) but it is not installable thunar: Depends: thunar-data (= 0.9.0-10) but it is not installable xfce4-settings: Conflicts: xfce4-mcs-plugins but 4.4.2-4 is to be installed. xfdesktop4: Depends: xfdesktop4-data (= 4.4.2-7) but it is not installable libthunar-vfs-1-2: Depends: thunar-data (= 0.9.0-10) but it is not installable The following actions will resolve these dependencies: Install the following packages: thunar-data [0.9.0-10 (stable)] xfdesktop4-data [4.4.2-7 (stable)] Keep the following packages at their current version: xfce4 [Not Installed] xfce4-session [Not Installed] xfce4-settings [Not Installed] Anyone see anything that I'm obviously doing wrong? I've done this type of thing before back when I was running testing and installing occasional things from unstable, but that's to be expected sometimes in that scenario with mismatched versions and such. With backports, I guess I thought the whole point was to be able to install newer stuff on an older system... Swill | Wouldn't it be easier to upgrade to Squeeze? It looks like it can't find or doesn't want thunar. |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.