prompt stringlengths 1 63.6k | completion stringlengths 1 53.1k |
|---|---|
Hi, I'm trying to update a Debian Etch system from HPLIP 1.6 to 3.2.6, I've made some progress but there seems to be an issue with "Couldn't find package python-qt4-dbus". I ran this: iridium:/home/tracy# su -c "apt-get install --force-yes -y python-qt4-dbus" Reading package lists... Done Building dependency tree... Done E: Couldn't find package python-qt4-dbus Anybody got any ideas please? Thanks | It seems that python-qt4-dbusis not available for etch. Your best bet is probably an upgrade to Lenny. |
Hi guys. So, my OS-harddrive died the other day, so I resized some partitions and stuff on my other harddrives and installed squeeze, etc. etc. The problems began when I installed the nvidia-drivers. Some useful information first; my prior linux was an old Debian Lenny (from june last year I think) which I've been upgrading alot. I upgraded it to squeeze, and after kernel-updates and stuff I've also had to upgrade the nvidia-drivers. I've had no problems so far, and my prior linux-OS would then be pretty much a squeeze-snapshop as of 2th of march 2009 in terms of package-versions. I don't remember exactly which nvidia-drivers I had, but they were pretty recent. My harddrive died, I downloaded a sqeeze-snapshot from the 9th of march. But the nvidia-drivers don't work. In the past I've run nvidia-xconfig (Yes, I know it's better to make one yourself, but it WORKED for me in the past.), but the X I get is an hardware-accelerated 640x480 60hrz desktop. And I get no option to increase the resolution. Manually editing xorg.conf gave me a maximun resolution of 1280x1024, which is a 5:4-resolution. My screen is a 4:3, and I used to use 1280x960. I did add the modes for 1280x960, but the log says it just isn't supported. I also can't go up in hrz. 60 hrz really hurts my eyes. I'm pretty much stuck. I've tried older nvidia-drivers, configuring xorg myself, nothing in the log says anything is actually going wrong... Nothings wrong with the card, it works fine when I dualboot windows. Does anyone know of anything I could do? Or experienced the same things? | If you have a newer nVidia card I suggest you go to the 180 driver. With the right cards you get hardware accel of mpeg2 and h.264. It's a bit more hassle, but worth it. 11% CPU watching 1080i HD full-screen on my 9300 IGP. If KDE or 64bit use 180.29 . If anything else use 180.37 . Drop to runlevel 1 or stop kdm to install, and in xorg.conf driver "nvidia". If an older card unsupported by 180, use jockey-kde . |
From the Gnome Desktop: System / Administration / Update Manager does not work. I checked the Menu and the command is "gksu /usr/sbin/update-manager". If I run "gksu" in a user terminal, I get a little window asking me what I want to run as root. If I run "gksu /usr/sbin/update-manager" in a user terminat, I get the warning: "could not initiate dbus", plus other errors. However, if I run "sudo gksu /usr/sbin/update-manager", the Update-Manager window pops with updates to install. I'm running Debian Squeeze/Sid. Any help for a fix would be appreciated. Thanks. adam933 | gksu's been having all sorts of strange bugs lately. |
I have a new install of 5.0.0 (lenny) - so far, so good... I have followed Falko Timme's excellent tutorial for installing the perfect (etch) with only a few minor glitches... (I did not install ISPConfig) After some poking and prodding, I finally figured out that this version of Postfix is default configured to drop mail into ~/Maildir and got that changed to deposit inbound mail in /var/spool Now what I am trying to figure out is how to make courierpop3 (pop3d) pickup mail from /var/mail instead of making Thunderbird blow up when it can't find ~/Maildir for a particular user. I do NOT want mail scattered all over the home directories, just old-fashioned /var/mail... So how do I make that happen, so my wife (and others) can go back to popping their email off my server without me having to use ~/Maildir? Yes, I am a bit of a Luddite, but the old way wasn't broke, so I haven't wanted to fix it! | I just uninstalled Courier (since no one had a clue about how to configure courier - and from the view counter, I gather lots of others wanted to know how) and I installed Dovecot... |
Hey, last night I swith to Debian 5.0 from Ubuntu but immediately encounter this problem below. I have installed all about ppp software through apt-get. However,I still need to re-execute pppoeconf every time in order to connect to internet. Because once i execute "pon dsl-provider" or "sudo pon provider" (note: I add current user to sudoer file manually). plog command always tell me: Code: Select allPlugin rp-pppoe.so loaded. pppd 2.4.4 started by ching, uid 1000 sendPacket: send: Network is down Exit. my /etc/ppp/peers/dsl-provider Code: Select allnoipdefault usepeerdns defaultroute hide-password lcp-echo-interval 20 lcp-echo-failure 3 # Override any connect script that may have been set in /etc/ppp/options. connect /bin/true noauth persist mtu 1492 # RFC 2516, paragraph 7 mandates that the following options MUST NOT be # requested and MUST be rejected if requested by the peer: # Address-and-Control-Field-Compression (ACFC) noaccomp # Asynchronous-Control-Character-Map (ACCM) default-asyncmap plugin rp-pppoe.so eth0 user "****" my /etc/network/interface Code: Select allauto lo iface lo inet loopback iface dsl-provider inet ppp pre-up /sbin/ifconfig eth0 up # line maintained by pppoeconf provider dsl-provider auto eth0 iface eth0 inet manual I need your help thx in advance Ching | Can you try witn putting a "#" before that last line, and instead, add a new line "provider ppp0" (or may be, "dsl-provider", instead of ppp0). Dunno why, recalls that it worked for me. Have not used pppoe for a long time. |
Hi, I'm a newbie and trying to get flash for Iceweasel installed but run into the following problem, I've got Etch but Sarge is turning up in some of the paths and I'm not sure about how to correct it (I could just change sarge to etch but is that right?). I'm following this link for the how to install flash: http://playingwithsid.blogspot.com/2007 ... ebian.html Appreciate any help. Thanks ULTIMA:/home/guy# apt-get update Get: 1 http://ftp.uk.debian.org etch Release.gpg [386B] Hit http://ftp.uk.debian.org etch Release Ign http://ftp.uk.debian.org etch/main Packages/DiffIndex Ign http://ftp.uk.debian.org etch/main Sources/DiffIndex Hit http://ftp.uk.debian.org etch/main Packages Hit http://ftp.uk.debian.org etch/main Sources Ign http://http.us.debian.org sarge Release.gpg Get: 2 http://security.debian.org etch/updates Release.gpg [197B] Ign http://http.us.debian.org sarge Release Hit http://security.debian.org etch/updates Release Ign http://http.us.debian.org sarge/main Packages Ign http://security.debian.org etch/updates/main Packages/DiffIndex Ign http://http.us.debian.org sarge/contrib Packages Ign http://security.debian.org etch/updates/contrib Packages/DiffIndex Ign http://security.debian.org etch/updates/main Sources/DiffIndex Ign http://security.debian.org etch/updates/contrib Sources/DiffIndex Hit http://security.debian.org etch/updates/main Packages Err http://http.us.debian.org sarge/main Packages 404 Not Found [IP: 64.50.236.52 80] Hit http://security.debian.org etch/updates/contrib Packages Hit http://security.debian.org etch/updates/main Sources Err http://http.us.debian.org sarge/contrib Packages 404 Not Found [IP: 64.50.236.52 80] Hit http://security.debian.org etch/updates/contrib Sources Fetched 2B in 1s (1B/s) Failed to fetch http://http.us.debian.org/debian/dists/ ... ry-i386/Pa ckages.gz 404 Not Found [IP: 64.50.236.52 80] Failed to fetch http://http.us.debian.org/debian/dists/ ... inary-i386 /Packages.gz 404 Not Found [IP: 64.50.236.52 80] Reading package lists... Done W: Couldn't stat source package list http://http.us.debian.org sarge/main Packag es (/var/lib/apt/lists/http.us.debian.org_debian_dists_sarge_main_binary-i386_Pa ckages) - stat (2 No such file or directory) W: Couldn't stat source package list http://http.us.debian.org sarge/contrib Pac kages (/var/lib/apt/lists/http.us.debian.org_debian_dists_sarge_contrib_binary-i 386_Packages) - stat (2 No such file or directory) W: You may want to run apt-get update to correct these problems E: Some index files failed to download, they have been ignored, or old ones used instead. ULTIMA:/home/guy# apt-get install flashplugin-nonfree Reading package lists... Done Building dependency tree... Done Package flashplugin-nonfree is not available, but is referred to by another pack age. This may mean that the package is missing, has been obsoleted, or is only available from another source W: Couldn't stat source package list http://http.us.debian.org sarge/main Packag es (/var/lib/apt/lists/http.us.debian.org_debian_dists_sarge_main_binary-i386_Pa ckages) - stat (2 No such file or directory) W: Couldn't stat source package list http://http.us.debian.org sarge/contrib Pac kages (/var/lib/apt/lists/http.us.debian.org_debian_dists_sarge_contrib_binary-i 386_Packages) - stat (2 No such file or directory) W: You may want to run apt-get update to correct these problems E: Package flashplugin-nonfree has no installation candidate ULTIMA:/home/guy# | Remove the lines with sarge from the file Code: Select all/etc/apt/sources.list Then Code: Select allaptitude update |
I have a Lenovo R61i laptop. I recently did an "apt-get dist-upgrade" to Lenny. Everything is fine except the wireless networking. Yes, this laptop has the Intel 3945ABG chip, and I am using the iwl3945 module. When I boot/reboot the machine, the wireless does not work; there is no connection to the access point. But, if I open a terminal and run: Code: Select all # /etc/init.d/networking restart then it connects and works fine. So, it seems to me that the problem is just that the "networking" start up script isn't getting executed. I put the above code in the rc.local script, and that fixed the problem. However, I know that's not a fix, but just a workaround. I'd like to find the real problem, but I can't find in the start up scripts where the networking script is called from. So, does anybody have an idea where this problem might be? TIA, debophile | I found a long time ago that I have to do this with my 4965AGN and iwlwifi driver. Never looked further to find out why. Typical Intel peripheral. |
I'm a newbie and trying to install Brother printer drivers on Debian v4.0, I need to check and edit /etc/printcap can someone help me please (in simple speak please). (I am logged in as root) Cheers | It would help if you would tell us exactly: 1) What you've tried (including specific command where possible) 2) What the results were of those attempts. Also what, exactly, you're trying to accomplish (print from where, the console or desktop applications) and if you're following a script (or trying to) where did you get those directions from. |
I have a derivative version of etch, brazilian Kurumin 7.0, installed in hda3, very usefull. hda2=swap hda4=home Since I would like to try it, I installed the Debian Etch clean in hda1, without the grub. I edited the grub of Kurumin to access hda1 so: "... title Debian GNU/Linux (hda1) root (hd0,0) kernel /boot/vmlinuz-2.6.18-6-486 rescue acpi=off ro nomce quiet apm=power-off vga=791 noapic initrd /boot/initrd.img-2.6.18-6-486 ..." Follow the boot sequence: "Loading, please wait Fatal: error inserting fan (/lib/modules/2.6.18-486/kenel/drivers/acpi/fan.ko): no such device Fatal: error inserting thermal (/lib/modules/2.6.18-486/kenel/drivers/acpi/thermal.ko): no such device check root= bootarg car /proc/cmdline or missing modules, devices: cat /proc/modules ls/dev Alert! does not exist. dropping to a shell Busy box v1.1.3 (Debian 1:1.1.3_4) Built in shell (ash) Enter 'help' for a list of built-in commands /bin/sh: can't access tty; job control turned off (initramfs)_" This last word in brackets is a prompt of command, where I type help, having many command options. I think the boot messages above points to something wrong. I would like to correct it, in order to continue installing the gnome or the kde, the apps, etc ... | thornbush wrote: kernel /boot/vmlinuz-2.6.18-6-486 rescue acpi=off ro nomce quiet apm=power-off vga=791 noapic initrd /boot/initrd.img-2.6.18-6-486 put "root=/dev/hdb1" at end of the first line above. The second line, I think should be "initrd /dev/hdb1/boot/initrd.img-2.6.18-6-486" Not sure of the second line. |
I just installed virtualbox from the official virtualbox repository. and also im using a custom kernel. When im trying to compile the module for the kernel i get this: Code: Select all$ sudo /etc/init.d/vboxdrv setup ... echo; \ echo " ERROR: Kernel configuration is invalid."; \ echo " include/linux/autoconf.h or include/config/auto.conf are missing."; \ echo " Run 'make oldconfig && make prepare' on kernel src to fix it."; \ echo; ... /tmp/vbox.2/linux/SUPDrv-linux.c: In function ‘VBoxDrvLinuxCreate’: /tmp/vbox.2/linux/SUPDrv-linux.c:772: error: ‘struct task_struct’ has no member named ‘euid’ /tmp/vbox.2/linux/SUPDrv-linux.c:773: error: ‘struct task_struct’ has no member named ‘egid’ make[2]: *** [/tmp/vbox.2/linux/SUPDrv-linux.o] Error 1 make[1]: *** [_module_/tmp/vbox.2] Error 2 make[1]: Leaving directory `/home/csaba/linux-src/linux-2.6.28.7' make: *** [vboxdrv] Error 2 Im aware that its preferable to use the compiler version which i used when compiling the kernel itself. Thats already arranged. Also i did those make oldconfig and make prepare in the kernel source top directory. But the error just wont dissapear. Also /usr/src/linux is a symlink to my kernel source directory. I dont know what else am i missing. Anyone some ideas? | Meh, you've hit all the buttons I was going to suggest. Do you in fact have include/linux/autoconf.h and include/config/auto.conf? Permissions? Try the build after sudo -i. Have you rebuilt your kernel lately? Might try if not. |
Hi. I use Synaptic package manager to find new applications and upgrades for Lenny. I have Lenny on my laptop and desktop,the laptop has "software sources" and the desktop does not. They both came from the same install dvd. How do I get software sources on my desktop so I can get more apps, specifically non-free? | open synaptic settings repositories if you click on one of the repos, you might add nonfree in the sections below. (its getting activated after you`ve choosen a repo) reload. greetings (ps: config file is /etc/apt/sources.list open it with an editor and just add non-free behind main contrib in the same line, update the sources: e.g. apt-get update) |
Can somebody explain me what these 2 things, volatile and proposed updates, mean? I find it a bit weird that the Official CD is found in the 3rd party category and that there's some 3rd party sources (@debian.org??) selected by default. Perhaps somebody can shed some light on this apparent mystery. | http://www.debian.org/volatile/ debian-volatile for end users What is debian-volatile? Some packages aim at fast moving targets, such as spam filtering and virus scanning, and even when using updated data patterns, they do not really work for the full time of a stable release. The main goal of volatile is allowing system administrators to update their systems in a nice, consistent way, without getting the drawbacks of using unstable, even without getting the drawbacks for the selected packages. So debian-volatile will only contain changes to stable programs that are necessary to keep them functional. http://www.debian.org/releases/proposed-updates.en.html The "proposed-updates" mechanism All changes to the released, "stable" (and "oldstable") distribution go through an extended testing period before they are accepted into the archive. Each such update of the stable (oldstable) release is called a "point release". Preparation of point releases is done through the "proposed-updates" mechanism. Updated packages are uploaded to a separate queue called p-u-new (o-p-u-new), before they are accepted in "proposed-updates" ("oldstable-proposed-updates"). You can think of proposed updates as testing for the next point release. And I suspect that all CD's are placed in "3rd party" status. All the system knows it's that it's a CD - anything can be on it. |
Hi, Strange thing happened to my Debian Lenny Computer I have an AGP video card installed on a Pentium 4 1.7GHz Computer. My monitor is 17" LCD Acer. It was working when I installed it for the first time last August 2008. However, when I power on the computer today, all I got for a screen resolution is 800x600 -- as well as the smaller one the 1440x900 is not present hence I can't change it to the way it was originally set up. How to I get back the 1440x900 resolution? This computer doesn't have an internet connection. I used the 5 DVDs of lenny for installation I dual boot with a windows XP and the screen seems okay when booting on an XP. thanks. | What did you change / upgrade recently? Xorg in lenney is supposed to automatically identify the monitor resolution, etc. So, if "dpkg-reconfigure xserver-xorg" does not work, there is something wrong with your drivers. You should have the xserver-xorg-video-<whatever> package suited for your graphics card / chipset. |
Hi. I have set up an openvpn connection to my office network through the network manager in gnome. But when i connect with the vpn my internet connection gets lost. Also i found out that this is because (i think) the default route to my router gets deleted by the default route of the vpn connection. Normally im connected thorugh wire to my adsl router and get the internet from there. My interfaces look like this after a sucessful vpn connection: Code: Select alleth0 Link encap:Ethernet HWaddr 00:21:85:0a:9e:56 inet addr:192.168.1.5 Bcast:192.168.1.255 Mask:255.255.255.0 inet6 addr: fe80::221:85ff:fe0a:9e56/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:153 errors:0 dropped:0 overruns:0 frame:0 TX packets:260 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:55849 (54.5 KiB) TX bytes:40408 (39.4 KiB) Interrupt:219 Base address:0xe000 tap0 Link encap:Ethernet HWaddr 00:ff:08:b9:a2:c2 inet addr:10.20.30.206 Bcast:10.20.30.255 Mask:255.255.255.0 inet6 addr: fe80::2ff:8ff:feb9:a2c2/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1412 Metric:1 RX packets:13 errors:0 dropped:0 overruns:0 frame:0 TX packets:45 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:100 RX bytes:1029 (1.0 KiB) TX bytes:7281 (7.1 KiB) eth0 is my network interface which is connected to the router and tap0 is the virtual interface through which the vpn connection is accomplished, right? Route before vpn connection: Code: Select allDestination Gateway Genmask Flags Metric Ref Use Iface 192.168.1.0 * 255.255.255.0 U 0 0 0 eth0 default 192.168.1.1 0.0.0.0 UG 0 0 0 eth0 Route with vpn connection: Code: Select allDestination Gateway Genmask Flags Metric Ref Use Iface address.of. 192.168.1.1 255.255.255.255 UGH 0 0 0 eth0 vpn.server 192.168.1.0 * 255.255.255.0 U 0 0 0 eth0 default * 0.0.0.0 U 0 0 0 tap0 I tried to manually add the route of my adsl router after i connected through vpn like this Code: Select all# route add default gw 192.168.1.1 But then my vpn connection decided to go on vacation and only the internet worked. So it seems that the two connections cannot be used in the same time. They're mutually excluding eachother. My question is, is it by any means possible that the two connections be usable simultaneously, in the same time? Is it even possible (it should be i think), and if it is how? | Well it doesn't make sense that your VPN would have the same Class C IP as your LAN. Of course your LAN is fine, and it connects through your router's public IP to the WAN, but your VPN should be routing through your VPN's Class C. |
Well hi, im new to the forums. As the subject says, i have some problems with an usb speedtouch 330 modem (can´t connect to the net). To install it in lenny i followed this guide: http://linux-usb.sourceforge.net/SpeedT ... index.html (since ubuntu is a debian distro, i supposed it was going to work as well). I did all the steps in the guide, and after the reboot, i open iceweasel but it says that im not connected ( it displays the common firefox error page). Im a linux newbie, but i checked the boot with dmesg, and this line got my attention: ATM dev 0: adsl line is up (3008KB/s Down / 608 kb/s up) (I can´t post here the entire log for now) The thing is, it looks like its connected, but there is some kind of problem, once i login with my user, as i said before, it appears as if im not connected. Additional info: -I installed lenny with the i386-cd1 iso, perhaps i need some additional packages? -I have a rev 4.0 speedtouch modem and i loaded the correct firmware. -The pc is old, an athlon xp 2000+, with a msi mobo (KT400a chipset). I know, my english is not very good, so sorry any ideas? Thanks in advance for the help! | The Ubuntu guide you followed is pretty old. A little googling showed that there are better sources for a kernel driver and dial script for your Speedtouch 330, they are referenced at the following Debian wiki page, http://wiki.debian.org/Speedtouch330, no need to consult Ubuntu stuff here... Now, your main problem will be to first undo all the stuff you already did in this respect... |
Hello All-- I have subsequently removed the SLiM (1.3.0-2) program from my system since I have been having problems, such as, not being able to log into my desktop; which I think it has to do with my password length and / or input characters. So as a result, I placed the 'startx' command in my .bash_profile file. This works great and eliminates my need for a login manager, since my system goes to my openbox environment after I login from the command line. Currently, if I want to logout of the system completely so that I have to enter my user name and password again, I logout of openbox via openbox's logout 'Exit' command and then type "exit" at the console screen. Question: Is there a way to automate this so that I don't have to type "exit" at the console screen? (i.e. Whenever I click on log off to end openbox that I would be placed back at the console to enter my username and password again.) It seems like there should be a simple solution such as editing a configuration file for X11 or openbox, but I am currently at a loss. Thanks in advance. --Michael | ::Bump:: All-- Well, I haven't really found much info. Anyone have any ideas? Thanks --Michael |
ok: i got lenny installed on my pendrive and a boot-cd to boot it and everything went fine today. I have expected it: i couldn`t reach the internet. Its a wlan network. I have access to the www with any LiveCD from there without any issues, so it should be possible. greetings jalu (i never had any contact with wlan before, just pppoeconf) | Install (somehow) wicd (from sid) onto that pen drive - especially for a portable system like that that's the best solution. You can download the deb, copy it to the pen drive, then install it. |
I've installed lenny with CD tonight. Now I want to edit my apt sources. My /etc/apt/sources.list deb http://ftp.us.debian.org/debian/ lenny main deb-src http://ftp.us.debian.org/debian/ lenny main deb http://security.debian.org/debian/ lenny/updates main Then it results the error messages: # apt-get update Hit http://ftp.us.debian.org lenny Release.gpg Ign http://ftp.us.debian.org lenny/main Translation-en_US Hit http://ftp.us.debian.org lenny Release Ign http://ftp.us.debian.org lenny/main Packages Ign http://ftp.us.debian.org lenny/main Sources Err http://ftp.us.debian.org lenny/main Packages 404 Not Found [IP: 128.30.2.36 80] Err http://ftp.us.debian.org lenny/main Sources 404 Not Found [IP: 128.30.2.36 80] W: Failed to fetch http://ftp.us.debian.org/debian/dists/l ... 6/Packages 404 Not Found [IP: 128.30.2.36 80] W: Failed to fetch http://ftp.us.debian.org/debian/dists/l ... ce/Sources 404 Not Found [IP: 128.30.2.36 80] E: Some index files failed to download, they have been ignored, or old ones used instead. What's wrong? | I don't see a problem either. Perhaps that mirror is overloaded. Try a different one: http://www.debian.org/mirror/list Here's my sources list: deb http://ftp.se.debian.org/debian/ testing main contrib non-free deb http://security.debian.org/ testing/updates main contrib non-free deb http://www.debian-multimedia.org testing main Never had a problem with it. I use Testing but it shouldn't matter. |
Hi guys, I hope maybe you could help me. I'm trying to set up the internet in my debian and i can't get it work. I got acx111 chipset. I downloaded the firmware and all other things and installed it but debian cannot connect to the router i think. My /etc/network/interfaces file: (for dhcp) Code: Select all# Loopback auto lo iface lo inet loopback # Wireless allow-hotplug wlan0 auto wlan0 iface wlan0 inet dhcp wireless_mode managed wireless_channel 6 wireless_essid gentoo wireless_rate 54M wireless_key password Then after the command...: Code: Select all# /etc/init.d/networking restart ...I got something like that: Code: Select all# /etc/init.d/networking restart Listening on LPF/wlan0/00:13:46:b0:ab:87 Sending on LPF/wlan0/00:13:46:b0:ab:87 Sending on Socket/fallback DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 7 DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 13 DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 13 DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 16 DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 12 No DHCPOFFERS received No working leases in persistent database - sleeping ifup.d/mountnfs[wlan0]:waiting for interface lo before doing NFS mounts (warning) And if I change the interfaces file to the static ip like that: Code: Select all# Loopback auto lo iface lo inet loopback # Wireless allow-hotplug wlan0 auto wlan0 iface wlan0 inet dhcp address 192.168.0.101 netmask 255.255.255.0 network 192.168.0.100 broadcast 192.168.0.199 gateway 192.168.0.1 wireless_mode managed wireless_channel 6 wireless_essid gentoo wireless_rate 54M wireless_key password And reset the network then I got "done." sentence and the internet still doesn't work. I also tried something like that: Code: Select alldebian:/home/fenixon# ifconfig eth0 Link encap:Ethernet HWaddr 00:1d:7d:05:be:73 UP BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) Interrupt:219 Base address:0x4000 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:8 errors:0 dropped:0 overruns:0 frame:0 TX packets:8 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:560 (560.0 B) TX bytes:560 (560.0 B) wlan0 Link encap:Ethernet HWaddr 00:13:46:b0:ab:87 UP BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:76 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) Interrupt:20 Base address:0x4000 debian:/home/fenixon# ifconfig eth0 down debian:/home/fenixon# ifconfig lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:8 errors:0 dropped:0 overruns:0 frame:0 TX packets:8 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:560 (560.0 B) TX bytes:560 (560.0 B) wlan0 Link encap:Ethernet HWaddr 00:13:46:b0:ab:87 UP BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:87 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) Interrupt:20 Base address:0x4000 debian:/home/fenixon# ifconfig wlan0 down debian:/home/fenixon# ifconfig wlan0 up debian:/home/fenixon# iwlist wlan0 scannins iwlist: unknown command `scannins' (check 'iwlist --help'). debian:/home/fenixon# iwlist wlan0 scanning wlan0 Scan completed : Cell 01 - Address: 00:15:E9:62:79:F8 ESSID:"gentoo" Mode:Master Frequency:2.437 GHz (Channel 6) Quality=41/100 Signal level=17/100 Noise level=0/100 Encryption key:on Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 6 Mb/s; 9 Mb/s 11 Mb/s; 12 Mb/s; 18 Mb/s; 22 Mb/s; 24 Mb/s 36 Mb/s; 48 Mb/s; 54 Mb/s Cell 02 - Address: 00:19:E0:64:8B:CE ESSID:"Vip-Dog" Mode:Master Frequency:2.437 GHz (Channel 6) Quality=31/100 Signal level=4/100 Noise level=0/100 Encryption key:on Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 6 Mb/s; 9 Mb/s 11 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s 48 Mb/s; 54 Mb/s Cell 03 - Address: 00:08:A1:BC:91:C2 ESSID:"" Mode:Master Frequency:2.462 GHz (Channel 11) Quality=34/100 Signal level=7/100 Noise level=0/100 Encryption key:off Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 6 Mb/s; 9 Mb/s 11 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s 48 Mb/s; 54 Mb/s debian:/home/fenixon# iwconfig wlan0 essid gentoo key password debian:/home/fenixon# 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/ Listening on LPF/wlan0/00:13:46:b0:ab:87 Sending on LPF/wlan0/00:13:46:b0:ab:87 Sending on Socket/fallback DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 7 DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 9 DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 8 DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 12 DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 8 DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 7 DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 10 No DHCPOFFERS received. No working leases in persistent database - sleeping. debian:/home/fenixon# debian:/home/fenixon# Could anyone help me please? | I'd suspect an authorization/security issue, since it obviously is picking up the router signal. The standard advice is to turn off router security completely and see if you can connect. If you can, you know the problem lies with the security settings. Review the router setup and see if it has MAC address filtering turned on and verify you have the correct security settings on both ends. Also, if you're using WPA security on the router, you need to configure wpa-supplicant on your linux box. |
Hi Hans here I have a dual boot system XP/Etch. In planning for this i made a seperate FAT32 partition, so I could copy/move files to that drive from Etch. I use Etch as my primary OS and XP for music stuff. Nautilus says permission denied. I tried to change permission trough Nautilus (running as su), nope didn't work. I tried that in Ubuntu some time ago and there it worked (Dapper time). Actually i'm, (beside that little "i dont understand" mockup) very pleased with Etch. Runs more stable than Ubuntu 8.04, that i tried before Etch. I need som guidance mates (ladies)... Thanks in advance.. Greetz from Kingdom of Sweden..... AMD Sempron 2600+ 1 GB DDR 400mhz 350 GB Western Digital IDE HD 500 GB Western Digital External USB HD Geoforce FX5200 128MB Soundblaster Audigy | But would be more practical as ordinary user.. |
I am testing Lenny with LXDE. I attempted to change the resolution but to-date had failed. Anyone can offer some direction? Current resolution: 1024x768; dpi 76x72 Attempt to change to: 1024 x 768; dpi 96 x 96 Monitor use: 17 inch Video Card : nvidia GE2 Thanks. | Are you using the proprietary nvidia drivers? Try this, in xorg.conf Code: Select allSection "Device" Identifier "Configured Video Device" Driver "nvidia" Option "DPI" "96 x 96" EndSection |
Edit: Post changed to [Solved] Solution: The 6th post down or visit https://wiki.ubuntu.com/DebuggingGNOMEPowerManager Method: Uses dbus-send commands to invoke hal while the normal user is in the powerdev group. Dear Debian Forum Members-- First, I would like to introduce myself and provide some background information, my name is Michael and I have been using GNU/Linux on my home desktop computer since August 2007. My personal quest to start using linux was in July 2007 after building my first computer and realizing that I wanted something more from my computer whether it be more control, better startup and shutdown times, or simply choice. During that quest period, I used various Live CD's to get a feel for how much change I was to expect and ultimately chose to use Debian GNU/Linux as my first and so-far only distribution to install. I hope the following system details will help find a solution: Debian GNU/Linux (testing / sid) openbox (ver. 3.4.7.2-3) linux-image-2.6.24-1-amd64 (ver. 2.6.24-7) hal-info (ver. 20081219-1 from sid) hal (ver. 0.5.11-8 ) dbus & dbus-x11 (ver. 1.2.1-5) Most of the system is following the testing branch with the following exceptions: wine (latest from winehq.org) tint2, flash player, hal-info (from sid) vlc (from vlc nightlies repos) The question: I would like to be able to allow a regular user to shutdown / restart the PC while avoiding to use sudo and any gnome/kde components if at all possible? I am in the powerdev group. If I go to the terminal and type "shutdown -r now", I get a command not found. Of course, I can shutdown via root or slim login manager. I do have sudo install at the moment but not configured since I would like to avoid using it. I have tried to find solution online but nothing has worked so far; such as having the user in the powerdev group, checking to make sure the hal.conf has the debian group policy "powerdev", etc. My prior installs were xfce4 desktop environment and just adding the user to the powerdev group worked fine (perhaps having something to do with its session-manager?). Perhaps I am missing something or just not possible. System Specs (if applicable) Intel Core 2 Duo E6600 EVGA nForce 680i SLI 775 T1 Version Nvidia GeForce 8500 GT 512MB DDR2 OCZ 2 x 1024MB PC6400 DDR2 800MHz Platinum Revision 2 Ultra Grid ATX Mid-Tower Case with XVS-Series 700-Watt Modular Power Supply Sony FreeAgent Go 250GB USB 2.0 Sony DVD/RW DRU510A Thank You for your time and help. --Michael | Hi, and welcome to the Debian Forums! This is unrelated to your problem, but you should definitely consider upgrading your kernel to the latest 2.6.26 in Lenny and Sid. First, is there any reason why sudo is not a good solution? You can add selective entries to /etc/sudoers that only allow people to run shutdown as root using sudo. The other way to solve your problem that I know of is to invasively change the ownership of shutdown: http://howto.wikia.com/wiki/Howto_allow ... x#Method_2 |
I have an Acer Aspire 4720z laptop with an Atheros AR242x built in wireless card. It worked automatically with Mandriva but not with Debian 4.0. I tried several things from your forum and Google with no luck so I installed Lenny (02 Feb 2009) and still no luck.I have no password requirement on my router right now. I installed firmware iwlwifi and ran iwconfig and got :lo no wireless extensions. wmaster0 no wireless extensions. wlan0 IEEE 802.11 ESSID:"" Mode:Managed Frequency:2.412 GHz Access Point: Not-Associated Tx-Power=20 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 eth0 no wireless extensions. I also ran modprobe -r iwl3945 && modprobe iwl3945 Any help you could provide is greatly appreciated. [/img] | Mmm... you have an Atheros card and you're trying the driver for an Intel chip? That can't be right. Why don't you post the output of the "lspci" command? |
I need to connect to several wireless network (home, school, work). Two of them use DHCP, but one doesn't. Well, there is DHCP but it says nonsenes and I have to set a static IP and route. How do I achieve this with network-manager only? In openSuSE, there's a different version of network-manager, where you can set encryption, DHCP/static IP etc., but there aren't those options in the "debian" one. Is there any way to allow it? It's my girlfriends laptop and I cannot tell her to do that every connection manually from console... Thanks in advance! | Personally, I abandoned Network Manager and moved to wicd. It is much better at managing several different networks and all parameters are easy to set for each one. There are .deb packages and a repository at the site. |
Is it possible to update all LAN PCs without going to each and every PC individually? | Why yes, quite possible. You can use cluster-ssh. Code: Select all# aptitude install clusterssh Then you can administer multiple ssh-connections with one window (it opens a seperate terminal for every connection, though, but have one master command line) Code: Select allcssh host1 host2 host3 host4 host5 host6 |
Hello, I've installed Debian two days ago. Have little experience with Ubuntu, and am mainly a windows person switching over. Be gentle. After many hours of googling, I managed to install my wireless Intel 3945ABG in debian. I've managed to connect before. But now I rebooted the system, I see the networks, but it doesn't connect. The router is running, other pcs (windows) use the same wireless no prob. What do I need to tell you for you to help me? Thanks for all the help.... | littlegreenman wrote:Hello, I've installed Debian two days ago. Have little experience with Ubuntu, and am mainly a windows person switching over. Be gentle. After many hours of googling, I managed to install my wireless Intel 3945ABG in debian. I've managed to connect before. But now I rebooted the system, I see the networks, but it doesn't connect. The router is running, other pcs (windows) use the same wireless no prob. What do I need to tell you for you to help me? Thanks for all the help.... OK, the following information is needed: Which version of Debian are you using? If you are not sure then look at the file /etc/debian_version. Did you install from full CD/DVD or did you use a netinstall CD? Which desktop environment are you running? Gnome? KDE? Xfce? Something else? What tool(s) are you using to discover and connect to wireless networks? |
Hi. Few days ago I updated the Samba on my server. Later I found that the data transfer was very slow; In previous time, when I open an image on the shared directory from Samba, the image can be read immediately. But now the image program has to wait for almost 10 seconds before the image is completed loaded. Do any of you could give me some advises on troubleshooting the issue? I am using Debian Lenny. Thanks. | Have you added your IP addresses to your /etc/hosts file? |
I'm trying to copy 280 gigs of music onto my new file server, so I've ruled out any method other than NFS. I've got the directory mounted on my PC, but when I try to create a file on the server, I get a "Read-only file system" error, even as root. Here is (I think) all the relevant info: Server: Debian Lenny tunebot /etc/fstab Code: Select all/dev/md1 /share xfs defaults 0 0 ls -l / Code: Select alldrwxrwxr-x 8 root share 139 2009-01-30 14:14 share mount Code: Select all/dev/md1 on /share type xfs (rw) /etc/exports Code: Select all# /etc/exports: the access control list for filesystems which may be exported # to NFS clients. See exports(5). /share 192.168.0.0/255.255.255.0(rw,no_root_squash,subtree_check) Client: Ubuntu Intrepid (8.10) zombot /etc/fstab Code: Select all192.168.0.100:/share /mnt nfs defaults 0 0 ls -l / Code: Select alldrwxrwxr-x 8 root share 139 2009-01-30 14:14 mnt mount Code: Select all192.168.0.100:/share on /mnt type nfs (addr=192.168.0.100,nfsvers=2,proto=tcp) Code: Select allevan@zombot:~$ touch /mnt/foo touch: cannot touch `/mnt/foo': Read-only file system evan@zombot:~$ sudo touch /mnt/foo [sudo] password for evan: touch: cannot touch `/mnt/foo': Read-only file system evan@zombot:~$ ssh 192.168.0.100 evan@192.168.0.100's password: Linux tunebot 2.6.26-1-686 #1 SMP Sat Jan 10 18:29:31 UTC 2009 i686 The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. No mail. Last login: Fri Jan 30 14:39:10 2009 from 192.168.0.199 evan@tunebot:~$ touch /share/foo evan@tunebot:~$ ls -l /share/foo -rw-r--r-- 1 evan evan 0 2009-01-30 14:50 /share/foo Also, the groups called share have the same gid on both machines. Does anyone have some idea why this isn't working? Did I miss anything? Do I need to post more info? Thanks in advance. | Try no_root_squash option in /etc/exports? -- edit -- Oh sorry, that's not a root account. What's /etc/exports on the server look like anyway? I didn't see it mentioned here. I don't do alot of nfs stuff, but when I setup a writable mount recently I just did this: Code: Select all-(~) cat /etc/exports /usr/local/storage 10.0.0.42(rw,no_root_squash) |
I just installed Debian on a brand new server. I'm used to work with Gentoo. Gentoo worked great (still does) but I wanted to get rid of the endless compiling and decided to give Debian a try. I have the basic installation running but I can't get the networking operational. First of all, I'm a bit clueless where to configure the networkcards. Secondly, Debian seems not to recognize the cards, probably because the correct drivers are not loaded. The cards are: Realtek TRL8111/8168B Intel 82572EI I really hope someone can help me out here. | What version of Debian and how did you install it? Anyway, take a look at the output of lspci for your NIC hardware and lsmod for the drivers. To determine status of interfaces, check ifconfig The interfaces can be configured from the command line, but for a permanent setup you need to edit /etc/network/interfaces Or use network-manager, I suppose, but I've never had much luck with that. If this is a wireless connection, it will be a little more complicated. Wired Ethernet NICs generally "just work". But you'll have better luck with the "testing" version of Debian (Lenny) in terms of hardware detection. Lenny is close to becoming the next "Stable" release", so I'd recommend it even on a server. |
Hi! I use cryptsetup+luks and have three partitions. The /boot, encrypted md1 (/) and encrypted md2 (/home - key read from file in root folder). It bothered me always having to type a password when booting, so I gave this howto (German) a try, in order to have the key read from an usb stick. So I added a keyfile to my md1_crypt, saved it on a usb-stick and changed my crypttab to this (excerpt): Code: Select allmd1_crypt /dev/md1 none luks,keyscript=/root/keyscript md1_crypt /dev/md1 none luks I did not delete the 2nd line, because I was hoping if reading the key from usb failed, it would still ask me for the passphrase. My /root/keyscript looks like this: Code: Select all#!/bin/sh modprobe usb-storage 1>&2 sleep 5 mkdir /usb 1>&2 mount -t vfat -o ro,umask=077 /dev/sdc1 /usb 1>&2 cat /usb/key umount /usb 1>&2 Unfortunately something goes wrong here. I guess my usb device is not /dev/sdc1 when booting or so. It has a fat filesystem, but as described in the howto I added nls_cp437, nls_iso8859_1 and vfat to my /etc/initramfs-tools/modules. However, I get <mounting /dev/sdc1 on /usb failed: invalid argument> when booting and because md1 is not decrypted and mounted end up in BusyBox after a while. There I am able to decrypt md1 using <cryptsetup luksOpen /dev/md1 md1_crypt> but I don't manage to mount it. When trying <mount /dev/maper/md1_crypt /> or /mnt instead of / I get 'mounting ... failed: invalid argument'. Any suggestions on how I get the system running again and what I did wrong? I somehow have to be able to edit the /etc/crypttab or change the /root/keyscript (do not know what to change here though). Thanks for reading all this and I really appreciate any help! | Alright, did not realise I had to specify the fs with the -t option when mounting. Now I'm able to mount my md1_crypt to /mnt and removed the keyscript line in the /mnt/etc/crypttab. I also ran /mnt/etc/usr/sbin/update-initramfs. Somehow it still runs the keyscript when booting. Why is that? Anything else I have to update? Also when mounting my md1_crypt to / the files simply are not there. I guess that is because there already is stuff from busybox in /? I have to mount to /mnt for example and access the files there. Maybe that is why update-initramfs doesn't take effect? Because it looks for files in the wrong places and not in the /mnt? Edit: tried making things a little less confusing |
I was messing around a bit on one of my PC that has two debian installations (logical partitions) and a window xp (primary partition). What I did was to use a LiveCD to delete one of debian installations and resize (increase) the window xp partition and install debian lenny in the remaining space. Grub is o.k. as I could boot into the new lenny installation and window xp, but I'm having problem booting into the old debian partition, this is the last bits of output from the console: Code: Select allMounting /sys on /root/sys filed: No such file or directory Mounting /proc on /root/proc filed: No such file or directory Target filesystem doesn't have /sbin/init I have noted an identical error posted on this forum: http://forums.debian.net/viewtopic.php? ... sc&start=0 I tried running fsck but it doesn't seems to work. Fyi, /etc/fstab for root partition of old debian installation: Code: Select all# /etc/fstab: static file system information. # # <file system> <mount point> <type> <options> <dump> <pass> proc /proc proc defaults 0 0 /dev/hda6 / ext3 errors=remount-ro 0 1 /dev/hdb6 /home ext3 defaults 0 2 /dev/sda1 /images ext3 defaults 0 2 /dev/sda3 /media2 ext3 defaults 0 2 /dev/hdb8 /media3 ext3 defaults 0 2 /dev/hda10 /tmp ext3 defaults 0 2 /dev/hda7 /usr ext3 defaults 0 2 /dev/hda8 /usr/local ext3 defaults 0 2 /dev/hda9 /var ext3 defaults 0 2 /dev/hda5 none swap sw 0 0 /dev/hdb5 none swap sw 0 0 /dev/sda2 none swap sw 0 0 /dev/hdc /media/cdrom0 udf,iso9660 user,noauto 0 0 /dev/fd0 /media/floppy0 auto rw,user,noauto 0 0 /boot/grub/menu.lst in the new lenny installation: Code: Select all## ## End Default Options ## title Debian GNU/Linux, kernel 2.6.24-1-amd64 root (hd0,10) kernel /boot/vmlinuz-2.6.24-1-amd64 root=/dev/hda11 ro initrd /boot/initrd.img-2.6.24-1-amd64 title Debian GNU/Linux, kernel 2.6.24-1-amd64 (single-user) root (hd0,10) kernel /boot/vmlinuz-2.6.24-1-amd64 root=/dev/hda11 ro single initrd /boot/initrd.img-2.6.24-1-amd64 ### END DEBIAN AUTOMAGIC KERNELS LIST # This is a divider, added to separate the menu items below from the Debian # ones. title Other operating systems: root # This entry automatically added by the Debian installer for an existing # linux installation on /dev/hda6. title Debian GNU/Linux, kernel 2.6.28 (UNSTABLE) root (hd0,5) kernel /boot/vmlinuz-2.6.28 root=/dev/hda10 ro vga=791 splash=verbose initrd /boot/initrd.img-2.6.28 savedefault boot # This entry automatically added by the Debian installer for an existing # linux installation on /dev/hda6. title Debian GNU/Linux, kernel 2.6.28 (single-user) root (hd0,5) kernel /boot/vmlinuz-2.6.28 root=/dev/hda10 ro single initrd /boot/initrd.img-2.6.28 savedefault boot # This entry automatically added by the Debian installer for a non-linux OS # on /dev/hda1 title Microsoft Windows XP Professional root (hd0,0) savedefault makeactive chainloader +1 | Shouldn't it say root=/dev/hda6 in the kernel line of your menu.list for Sid? |
I have a Thinkpad T61 laptop with a fingerprint reader. I installed the thinkfinger package from experimental i read the readme and following the instructions there i managed to get the fingerprint reader working. I have two questions though. 1 Is there any way to utilize the fingerprint with other applications. Right now i am using to log into my account, to log in to the root account and whenever a program needs super user privileges (like for example when i start synaptic). I would like to use with evolution (when it asks for my email account password) and with pidgin - when it asks for my icq and gtalk passwords and with skype when it asks me for my skype password. Is this possible? 2 The fingerprint reader works fine but my password does not seem to work - at the log in prompt it says swipe finger or enter password. But if i enter the password it does not work. This is not a problem to me but if somebody wants to log into my account he or she cannot do that even if i have told him/her the password. | I think you can only use the finger print reader to authenticate with applications that use PAM for authentication. There might be something like a password manager that can save your icq, etc passwords and automatically enter them into the password field that uses PAM though. As for the 2nd problem that is probably because of a wrong PAM configuration . |
Hello, I use Linux for about 1.5 years, but started using Debian (lenny) nowadays. I have some - two at the moment - question. First is about the "age" of the kernel. For example in etch it is 2.6.18 which looks a little bit old. Usually when a new version of a program comes out there are two reasons for this: - new features implemented - error-correction So the question is, what about the bugs in the kernel of Debian. The 2.6.18 is quite old - and maybe has bugs in it. Does Debian have a workaround for this? My second question is about initrd. I've never used it before, now I think I know what is it for (http://www.wplug.org/pipermail/wplug/20 ... 15307.html). For example if I doesn't compile the fs of my root partition in the kernel, then I have to make an initrd. Am I right? So if I build a new kernel from vanilla kernels and I compile the fs of my root partition into the kernel (and a few... other things) then I don't have to have an initrd at all? Is it true? Question 2.1: This is an old bug report http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=149236. Is this still the case? This may be an important question, because if I want to compile a kernel from vanilla kernels, then it seems to be easier not to have initrd. | Age of the kernel: Etch-and-a-half (latest point release of etch) uses 2.6.24. Lenny (about to go stable) uses 2.6.26 When a Debian version goes stable versions are pretty much frozen for the life of the release. That's why it's "stable", all those packages are known to work well with each other. Etch is now a bit long in the tooth, so the kernel in it is a bit dated. You can often get newer packages for Etch (or whatever the current stable release is) on the backports repository. In this case backports has 2.6.26 in it as well. http://www.backports.org/dokuwiki/doku. ... structions With Lenny ready to go stable (they're waiting on a final release of the installer) you may want to consider upgrading to Lenny rather than running etch (not necessary to re-install, upgrade in place should work fine). 2.6.28 will hit sid (unstable) as soon as Lenny goes stable, and will appear in testing shortly thereafter (at least that's my prediction). If you want to live a bit closer to the edge and have more up-to-date software you should consider running testing as a tolling release. Even though it's not as stavle as stable it's still more stable than almost all other distributions. And if something does break it usually gets fixed within a day or so (assuming you can't figure out how to fix it yourself). It's usually just a matter of everything not arriving from sid at the same time (and you can often fix things by updating some dependency from sid) (Mixing sid and testing is OK. Mixing stable and anything other than backports is usually a recipe for trouble). oh - one thing that is always patched in stable is security bugs. Those will be backported if necessary, even if the version isn't upgraded. Fastest way to get security updates is to include: deb http://security.debian.org/ etch/updates main contrib non-free in your /etc/apt/sources.list (After changing sources you always need to run aptitude update, or the equivalent) initrd: Yes, if you have enough things in the kernel it is possible to boot without an initrd. The bug report: As mentioned right in the report Fixed in version kernel-package/8.005 (Well this response got a little longer than I had planned) |
Hello people- I am setting up a debian router/firewall, following the guide at http://www.cyberdogtech.com/firewalls/. My question is about using the dhcp server on this new firewall to hand out static IP addresses, NOT simply allow the client to claim one. Basic network info: Firewall/router box is named "alleycat." alleycat has 2 NICs. Desktop box is named "dream." Modem is 192.168.1.1. Red zone NIC on alleycat is 192.168.1.2 on eth0. Green zone NIC on alleycat is 10.0.0.1 on eth1. Static IP for dream is 10.0.0.50. Between dream and alleycat is a D-Link DGS-1005D switch. First I will give a bunch of info about what does NOT work, and then I will tell you what I can get to work. Here is what I am trying. My /etc/dhcpd.conf file on alleycat: Code: Select allalleycat:~# cat /etc/dhcpd.conf # # Sample configuration file for ISC dhcpd for Debian # # $Id: dhcpd.conf,v 1.4.2.2 2002/07/10 03:50:33 peloy Exp $ # Option definitions common to all supported networks... option domain-name "editedOut.com"; # Normally found in /etc/resolve.conf. # Distributed to all clients. option domain-name-servers 192.168.1.2, 216.17.3.122, 192.168.1.1; # I don't think I need these. #option subnet-mask 255.255.255.224; #option subnet-mask 255.255.255.0; # One day. default-lease-time 86400; # One week. max-lease-time 604800; # If this DHCP server is the official DHCP server fo rthe local # network, authoritative should be uncommented. authoritative; # Configuration for an internal subnet. # Green zone is 10.0.0.xxx. # DHCP range for IP addresses is for xxx=100 to 199. # The address of this router is 192.168.1.2. subnet 10.0.0.0 netmask 255.255.255.0 { range 10.0.0.100 10.0.0.199; option domain-name-servers 192.168.1.2, 216.17.3.122, 192.168.1.1; option broadcast-address 10.0.0.255; option domain-name "editedOut.com"; option routers 192.168.1.2; option broadcast-address 10.0.0.255; default-lease-time 86400; max-lease-time 604800; } ## SNIP ## # THERE WERE A BUNCH OF COMMENTS HERE host dream { hardware ethernet 00:50:8d:d5:2b:bb; fixed-address 10.0.0.50; } My /etc/network/interfaces file on dream: Code: Select allroot@dream:~# cat /etc/network/interfaces auto lo iface lo inet loopback address 127.0.0.1 netmask 255.0.0.0 # This is for static IP claimed at this end. Nothing to do # with the DHCP server on alleycat. #auto eth0 # iface eth0 inet static # address 10.0.0.50 # netmask 255.255.255.0 # gateway 10.0.0.1 # Here I use DHCP, but the DHCP server on alleycat will still assign a fixed IP. auto eth0 iface eth0 inet dhcp In this configuration, I can ping 10.0.0.1 from dream. But if I try to ping 192.168.1.2 (or anything else, like google, the modem, etc.) I get the message Code: Select alluser@dream:~$ ping 192.168.1.2 connect: Network is unreachable ifconfig -a gives Code: Select alleth0 Link encap:Ethernet HWaddr 00:50:8d:d5:2b:bb inet addr:10.0.0.50 Bcast:10.0.0.255 Mask:255.255.255.0 inet6 addr: fe80::250:8dff:fed5:2bbb/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:2 errors:0 dropped:0 overruns:0 frame:0 TX packets:53 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:690 (690.0 B) TX bytes:7219 (7.2 KB) Interrupt:18 Base address:0xa000 The way that DOES work is to just change the /etc/network/interfaces file the other way: Code: Select allroot@dream:~# cat /etc/network/interfaces auto lo iface lo inet loopback address 127.0.0.1 netmask 255.0.0.0 # This is for static IP claimed at this end. Nothing to do # with the DHCP server on alleycat. auto eth0 iface eth0 inet static address 10.0.0.50 netmask 255.255.255.0 gateway 10.0.0.1 # Here I use DHCP, but the DHCP server on alleycat will still assign a fixed IP. #auto eth0 # iface eth0 inet dhcp Part of me wonders if it is a firewall issue (I am using the shorewall frontend to iptables), but the fact that it works with a change to DHCP makes me doubt that. If you want, however, I can post any shorewall files you want. They're pretty long, though, so I won't now. Any ideas? Thanks for your help! shmeeter | In both the configuration that works and the one that doesn't what's the output of: # ifconfig # route -n |
Hello, people- I'm using dnsmasq on my firewall/router to cache dns lookups. In /etc/dhcpd.conf, I have this section: Code: Select alloption domain-name-servers 127.0.0.1, <a couple others>; The green zone in my firewall uses subnet 10.0.0.0, and the eth1 interface is assigned 10.0.0.1. Should I use 127.0.0.1 or 10.0.0.1? Thanks! | 10.0.0.1 |
Following the guide here: http://wiki.debian.org/LTSP/Howto/Etch It tells me to run ltsp-build-client on the client. So the only pre-requisite for the client is that it has a PXE compatible NIC? Naturally I can't install a base debian system on the client as it is diskless... I am confused. | ltsp-build-client is run on the server to create a system which is run by the ltsp client. on the ltsp client pc, in bios setup the pxe/nic to boot 1-st. |
I've tried following aboutdebian.com to setup a proxy server but I still need more help. So far I have set up the proxy server with 2 NICs, eth0 is to connect to the outside world, and eth1 is to connect to the internal network. I can use other computers on the network to ping the proxy server and the proxy server can also ping the other computers on the network. The proxy server can connect to the internet also, I tried installing a package and it installed fine, i.e. aptitude install vnstat. How do I get the other PCs on the network to access the internet through the proxy server? | Use bridge-utils. Code: Select allapt-get install bridge-utils Make a script to create a bridge between the ethernet cards nano /var/bridgesetup.sh Code: Select all# Create a network interface called br0 brctl addbr br0 # Bind the network interfaces to the bridge brctl addif br0 eth0 brctl addif br0 eth1 # Zero in your IP network interfaces to 0.0.0.0 and bring it up. ifconfig eth0 0.0.0.0 promisc up ifconfig eth1 0.0.0.0 promisc up # Bring up the bridge. Since we also want to administer this bridge box, # we point an IP address to the br0 interface. ifconfig br0 192.168.1.40 netmask 255.255.255.0 up # Give your bridge interface br0 a default gateway so that you can # access it via SSH, etc. route add default gw 192.168.1.1 dev br0 The IP address is hard-coded. I used 192.168.1.40, and then setup a static IP address in my firewall/router. Enable the script, run it, and check the bridge configuration Code: Select allchmod 0755 /var/bridgesetup.sh cd /var ./bridgesetup.sh # Display bridge configuration brctl show #Show MAC addresses on your bridge brctl showmacs br0 Enable the script for bootup. nano /etc/rc.local Code: Select all/var/bridgesetup.sh Now your computer just became a big, expensive, and heavy two-port transparent bridging switch. Administer your box with SSH from either network card. Both cards have IP address 192.168.1.40. If you want to run Squid, install it, and use ebtables to route from your bridge (br0) to squid's port. Code: Select allapt-get install ebtables Make a script to use ebtables to perform the routing. nano /var/bridge.sh Code: Select all####Start of script ###### #!/bin/sh ebtables -t broute -A BROUTING -p IPv4 --ip-protocol 6 --ip-destination-port 80 -j redirect --redirect-target ACCEPT iptables -t nat -A PREROUTING -i br0 -p tcp --dport 80 -j REDIRECT --to-port 3128 iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-ports 3128 iptables -t nat -A PREROUTING -i eth1 -p tcp --dport 80 -j REDIRECT --to-ports 3128 iptables -t nat -A PREROUTING -i br0 -p tcp --dport 80 -j REDIRECT --to-ports 3128 ######### End of script ##### Enable it Code: Select allchmod 0755 /var/bridge.sh cd /var ./bridge.sh and enable the script for bootup nano /etc/rc.local Code: Select all/var/bridgesetup.sh /var/bridge.sh Now you have a Transparent Bridging Squid Proxy. |
As part of the same move that makes me play with setting up xdmcp, I'm trying to come up with a sound redirection from an esd client (my desktop computer) to an esd server (my eeepc laptop). Yesterday I tried to achieve it through artsd. While it appears to be feasible, it is by all means a configuration nightmare. I didn't manage. Esd seems much more promising, Actually I've made it work, but practical problems remain related to the player app. So, the Esound daemon redirection itself works. Yet the issue is that the one and only music player (not to speak of multimedia players) which seems to accept to redirect its sound output from the client to the server is esdplay. This is achieved quite simply by exporting $ESPEAKER into the player's environment as explained here. But... it doesn't work with kaffeine, as I expected, it doesn't work with totem (even after playing with --espeaker=serverIP:port and --enable-server options), which is quite disapointing, it doesn't work with aplay, it doesn't work with mplayer, it doesn't work with artsplay. Changing the KDE sound system to "Esound architecture" doesn't help either. As I wrote it only works with esdplay so far; in this case quite understandably it works whether or not the Esound architecture is the selected sound system of KDE on the client. This is quite limited since it only understands the .wav format. So, I need to beg, borrow or steal a decent multimedia player with a GUI interface, that understands the meaning of $ESPEAKER. My preferred choice would be kaffeine. 1) Although it hasn't worked so far, should it be necessary to select Esound architecture in KDE control center for other applications than esdplay to forward their sound? 2) Can someone give me a tip on how to have kaffeine understand the meaning of $ESPEAKER? 3) Apart from esd, do you know of another specific gnome package that is needed in order for other players than esdplay to understand $ESPEAKER? 4) Do you know of any other multimedia player which is for sure going to understand $ESPEAKER when it is run by kde? I'm going to try VLC, who knows, but other tips are welcome... The best candidates would be a multimedia player whose sound is merely a wrapping around esdplay (even when it plays a video format...) 5) Another less specific idea would be to pipe the sound of videos to esdplay, hoping it doesn't lag too much. In this area some among you probably know how to help me. How to tell kaffeine, or another multimedia player, to display the image as usual, while redirecting the sound to standard output, in .wav format? A positive answer to any of these four last questions would be likely to solve my issue. Thanks for your answers | Neither could I get vlc or jajuk to work on the remote server... |
I have a file server and 2 standard pcs in my home network. Everything is cabled up and all of the machines have unique static ips. How do I get them to talk to each other so the file server can be used as a file server by the 2 standard pcs? | Are you running linux on all 3 machines? If so I usually use ssh or nfs. With ssh you can mount via ssh with fuse or you can put ssh://user@ipaddress in nautilus or fish://user@ipadress in konqueror. If you have any windows boxes you can setup samba but it can be a little complex the first time you configure it. |
I installed lenny on my laptop. Or in somewhat way, it was a businesscard-etch which I upgraded to lenny and build upon, X, gnome, etc. Encountering tons of problems, the biggest one is the last one I know of right now. The laptop goes very hot for no appearent reason and the fan is speedy and noisy, so I've been troubleshooting away for the last days. This is while idle. It gets scary when actually working some processes. I first thought acpi was not working right and just worked the fan in a fixed speed. I disproved this by putting the laptop in our freezer for half a minute, noticing that the fans slowed down considerably. This was when I first thought it might just be fan-control, but it led me to check the temprature. And it was quite hot for an idle laptop. Code: Select allendre@laptopus:~$ cat /proc/acpi/thermal_zone/THRC/temperature temperature: 67 C endre@laptopus:~$ cat /proc/acpi/thermal_zone/THRS/temperature temperature: 57 C I don't really know if that's a proper way to check the temp. Some guy in another forum suggested it. Anyway, I then checked CPU processes. At idle, it's been going from 0.2% to 2%, so I doubt it's that. I considered harddrive speed, so I configured laptop_mode to slow down the harddrive, but the laptop is still running very hot, though the harddrive now sometimes at random spins down then up again, locking the computer for a brief moment. I thought it might be the laptop itself, but prior to installing debian, I've been running mint on it, and the temprature has been at a more acceptable level. I tried running a live-session of mint too, and the temprature is low. Could anyone help? | It seems to be a problem in Debian generally, my girlfriend's laptop suffers from the same too. And there's a problem with the time it can run on battery - only about an hour, whereas in Ubuntu it was two and half hours... When I'll have time to do that, I will install there the newest kernel, and take a deeper look on HAL setting and see if it will help. After that, I'll report back if you won't have solved it... |
Is there a guide on how-to create a Debian network? For example, All workstations use Debian All servers use Debian which consist of - Debian file server - Debian application server - Debian proxy server - Debian intranet server - Debian print server Any help will be appreciated. | The best one I've found is: http://www.aboutdebian.com/network.htm Enjoy |
I need some help configureing apache. I have it working but when I type in http://<server>, it automatically takes me to http://<server>/apache2-default/. How do I stop that? | Look for "apache2-default" in the files under /etc/apache2 Code: Select allcd /etc/apache2 grep -i apache2-default $(find . -type f) That'll show you what you have to comment out. Edit the file and then restart apache. (I did this ages ago so I forget which file) |
Hello I have a problem regarding the internet. Iceweasel (and epiphany for that matter) seems to be very slow to connect to the 'net. When I enter "google.dk" in the address bar, it takes 11.54 seconds for Iceweasel to look it up. However, when I google "test" in the "google-bar" next to the address bar it loads instantly. That held together with the fact that I have an internet connection of 20Mbit make it really strange that it takes nearly 12 seconds to load google. I have also tested my internet connection with a live cd of *horror* Ubuntu, and the lookup times were just great! I don't want to go back to Ubuntu, because it is soo sluggish. Any help? | This is due to IPv6 being the default in Lenny. Not only that, but it seems to be slower on the AMD64 build than on the 32bit build. The fix is to disable IPv6. To do that is simple, but you need root access to edit the two files. As root: vi /etc/modprobe.d/blacklist Go to the end of this blacklist file and add "blacklist ipv6" without the quotation marks Save and exit vi vi /etc/modprobe.d/00local Add "alias net-pf-10 off" on one line and "alias ipv6 off" on another line to this file, which may be new Save and exit vi Reboot and you should be good to go. Oh and don't use quotations in the "00local" file either. |
Can someone please point me to some (non-manpage) references for the aforementioned? Specifically what the collection of c/l tools for configuring networking are. Im assuming it has to be more expansive than just ifconfig and iwconfig? The howto's iv found online are very short, un-verbose and generally come across as cut and paste solutions. Id like if at all possible to stop using gui tools unless needed by content (like pdf viewers and web browsers) and as my current network manager, wicd, is based on wpasupplicant (which is a cli tool) id like to try my hand at doing wireless and wired networking from the terminal. It is possible that im looking at the available walkthroughs wrong? should i go and read more about networking in general and from this be able to glean more usable knowledge from what documentation is already available? Cheers | I found this to be excellent: http://www.aboutdebian.com/network.htm |
I want to be able to switch between static ip and dhcp since: 1) I'm changing my ISP. 2) Maybe the router will slow the torrents down or wont let me play online games. 3) I don't know much about configuring my router. (It's a tekcomm EP4904-SX/AX --not wireless-- and I need to use internet explorer to conf it, the user agent tool in firefox or ies4linux will not fool it.) I have three comps, one of them a laptop, debian is not the only distro running on them right now. The connection was setup during install. I have tried using knetmanager in ubuntu, but it is very unreliable and dhcp has been impossible. (I think I will migrate from ubuntu anyway.) So, I was thinking of doing this with cli tools in a bash script instead. I dont know much bash, but I think I can manage (the structure) if I knew what to put in, in terms of tools and settings. I have read about ifconfig, route, and dhclient but I can't make much use of manpages sometimes. I know there are files like /etc/network/interfaces and /etc/resolv.conf, but just editing them is not enough, right? Preferably the connection should be up as soon as I boot and be the same as the last one I used. (Are you not supposed to ping your dns server? Because I can't "Destination Host Prohibited" ) Later I'm going to set up a home network... | well to automatically configure with dhcp just issue command: dhclient To configure network connection manually you should do something like this: ifconfig eth0 down ifconfig eth0 192.168.1.5 netmask 255.255.255.0 up route add default gw 192.168.1.254 echo "nameserver 1.2.3.4" > /etc/resolv.conf That is enaugh for most networks. Explanation: 192.168.1.5 <- your ip address 255.255.255.0 <- your network mask 192.168.1.254 <- your router address (gateway) 1.2.3.4 <- your dns server address Adjust it according to your needs and it should work |
Hi, Is there a newer of doing this? I followed all the steps from http://forums.debian.net/viewtopic.php?t=20789 but after Code: Select allfakeroot make-kpkg --initrd --append-to-version=-custom kernel_image kernel_headers I just get a message saying nothing to be done (with lots of other messages). Can't see any error messages but after about 10s execution it ends with the message and the .deb files are not created. I'm trying to compile on a AMD64 pc using lenny. Is there a special way of doing things for AMD64. I copied the config file from /boot/config-2.6.26-1-amd64. Thanks, | Shouldn't be anything special - Best guide out there. I just compiled 2.6.27.10 with it w/ some xeon specific tweaks. |
After installing a new distribution I restored the bootloader (GRUB 2) from Debian, as this is what I use for work. Now I can't reach the new distribution anymore, as I don't know how to configure the bootloader. Editing /boot/grub/grub.cfg is easy (as the format is easy understandable, in the maner of menu.lst from the old GRUB) but not very smart, as kernel updates (at least) will overwrite the file. The right way to do it is to edit files /etc/grub.d/. The problem with this is that I was unable to understand anything from there in 30 minutes with reading manuals and Google. Please show me an example of how to have more distributions configured, or point me to a more detailed how to. | This is a little worse than I initially thought. I am not even able to configure two different Linux systems on Grub2. I edited /boot/grub/grub.cfg such that it contains the lines: Code: Select all### BEGIN /etc/grub.d/10_linux ### set root=(hd0,5) search --fs-uuid --set fa23b4c4-ede2-4b69-8daa-4e405dc8ea36 menuentry "Debian GNU/Linux, linux 2.6.26-1-amd64" { linux /boot/vmlinuz-2.6.26-1-amd64 root=UUID=fa23b4c4-ede2-4b69-8daa-4e405dc8ea36 ro usbcore.autosuspend=1 initrd /boot/initrd.img-2.6.26-1-amd64 } [other debian kernels] ### END /etc/grub.d/10_linux ### ### BEGIN Fedora ### #search --fs-uuid --set 22fc0287-08c9-454e-9738-9043d65468ae menuentry "Fedora, 2.6.27.5-117.fc10.x86_64" { linux /boot/vmlinuz-2.6.27.5-117.fc10.x86_64 root=UUID=22fc0287-08c9-454e-9738-9043d65468ae rhgb quiet usbcore.autosuspend=1 initrd /boot/initrd-2.6.27.5-117.fc10.x86_64.img } ### END Fedora ### But, if I try to boot Fedora I get "Error: need to load the Linux kernel first". If I uncomment the second line in the Fedora section, I am able to boot Fedora, but this time I will get the error when trying to boot Debian. Thus, for alternative Linux boots I need to edit the grub configuration. I don't exactly understand what I am doing wrong here. Thank you. |
Is it OK to have one single /boot partition for both Etch and Lenny? This is the contents of the /boot partition: Code: Select all-rw-r--r-- 1 root root 70682 2008-10-13 16:29 config-2.6.18-6-686 -rw-r--r-- 1 root root 86067 2008-12-11 22:36 config-2.6.24-1-686 -rw-r--r-- 1 root root 91651 2008-12-11 22:36 config-2.6.26-1-686 drwxr-xr-x 2 root root 1024 2008-12-11 22:33 grub -rw-r--r-- 1 root root 204800 2008-12-11 22:36 grub-dir.tar -rw-r--r-- 1 root root 4517140 2008-10-30 06:12 initrd.img-2.6.18-6-686 -rw-r--r-- 1 root root 4516762 2008-06-21 20:56 initrd.img-2.6.18-6-686.bak -rw-r--r-- 1 root root 5753477 2008-12-11 22:36 initrd.img-2.6.24-1-686 -rw-r--r-- 1 root root 5520903 2008-12-11 22:36 initrd.img-2.6.24-1-686.bak -rw-r--r-- 1 root root 5937658 2008-12-11 22:36 initrd.img-2.6.26-1-686 drwx------ 2 root root 1024 2008-10-28 22:48 lost+found -rw-r--r-- 1 root root 723233 2008-10-13 22:34 System.map-2.6.18-6-686 -rw-r--r-- 1 root root 882643 2008-12-11 22:36 System.map-2.6.24-1-686 -rw-r--r-- 1 root root 927877 2008-12-11 22:36 System.map-2.6.26-1-686 -rw-r--r-- 1 root root 1260081 2008-10-13 22:34 vmlinuz-2.6.18-6-686 -rw-r--r-- 1 root root 1455896 2008-12-11 22:36 vmlinuz-2.6.24-1-686 -rw-r--r-- 1 root root 1505200 2008-12-11 22:36 vmlinuz-2.6.26-1-686 Code: Select alledbarx-pc2:/boot/grub# ls -l total 180 -rw-r--r-- 1 root root 191 2008-12-11 22:33 default -rw-r--r-- 1 root root 197 2008-12-11 22:31 default.old -rw-r--r-- 1 root root 30 2008-12-11 22:33 device.map -rw-r--r-- 1 root root 30 2008-12-11 22:32 device.map.old -rw-r--r-- 1 root root 7584 2008-02-13 23:21 e2fs_stage1_5 -rw-r--r-- 1 root root 7424 2008-02-13 23:21 fat_stage1_5 -rw-r--r-- 1 root root 8192 2008-02-13 23:21 jfs_stage1_5 -rw-r--r-- 1 root root 5130 2008-12-12 04:42 menu.lst -rw-r--r-- 1 root root 5232 2008-12-11 22:33 menu.lst~ -rw-r--r-- 1 root root 5232 2008-12-12 04:25 menu.lst.old -rw-r--r-- 1 root root 6848 2008-02-13 23:21 minix_stage1_5 -rw-r--r-- 1 root root 9280 2008-02-13 23:21 reiserfs_stage1_5 -rw-r--r-- 1 root root 512 2008-02-13 23:21 stage1 -rw-r--r-- 1 root root 108360 2008-02-13 23:21 stage2 -rw-r--r-- 1 root root 8904 2008-02-13 23:21 xfs_stage1_5 | Afaict you could do this but if you do you will have to manage the kernels from one of the two installs manually since the auto update system is designed arround a single install. |
Just installed debian on a Toshiba Satellite A105 laptop, everythings great. Just needed a kernel bump from 2.6.18-6-686 that it came with to 2.6.27.7 so I could get the new Intel wireless driver. Used the config from old kernel, added the wireless driver, tweaked a few processor settings. I try to boot with it and get a kernel panic. Code: Select allWaiting xx seconds for /sys/block/sda/dev to show up /bin/cat: sys/block/sda/sda5/dev: No such file or directory ... ... mount: special device /dev/sda5 does not exist the root partition is sda5 (first logical partition in extended partition) and root=/dev/sda5 is being passed to kernel, just as it was with old kernel menu.lst Code: Select allroot (hd0,4) kernel /boot/vmlinuz-2.6.27.7 root=/dev/sda5 ro initrd /boot/initrd.img-2.6.27.7 savedefault all settings identical to old kernel partition setup sda1 --> ntfs with windows xp sda2 --> extended partition with sda5 (root) and sda6 (swap) sda3 --> /home sda4 --> small unknown partition presumably with Toshiba utilities on it has something changed from 2.6.18 to 2.6.27 that drives are labeled differently or did I just mess up the kernel config? EDIT: this looks like the problem I'm having, though I didn't change any driver settings related to storage controllers from the old kernel config http://www.linuxquestions.org/questions ... ic-655983/ | CONFIG_ATA was set to [=n] so thats probably the problem, I'll compile again and see if that works. Not sure how the old kernel worked without it though, user space drivers? |
I've been trying fedora 10 for a few weeks and decided to also try reformatting one of my drives as ext4. I've have had no problems with it at all and the drive was actually quieter than usual (is an old and pretty noisy drive) and fsck check's have been much quicker than on ext3. To mount the drive in fedora I just typed Code: Select allmount -t ext4 /dev/sdb1 /media/media and in fstab I just changed filesystem from ext3 to ext4 and it mounted on boot with no problems. After having a few problems on fedora (and not liking rpm/yum as much as deb/apt) I reinstalled Debian from the weekly testing CD. As lenny is still frozen I decided to upgrade to sid until squeeze is released when I will change my sources back to testing. The problem is I tried to mount the drive using the same commands I used on fedora and got the error Code: Select allmount: unknown filesystem type 'ext4' So after a bit of searching I found the following from here In Debian Lenny (Testing), the following current packages provide ext4 support: * ext4dev module in the linux-image package (2.6.26-10) * e2fsprogs (1.41.3-1) It should be noted that the stock 2.6.26 ext4 has problems with delayed allocation and with filesystems with non-extent based files. So until Debian starts shipping a 2.6.27 based kernel or a 2.6.26 kernel with at least the 2.6.26-ext4-7 patchset, you should mount ext4dev filesystems using -o nodelalloc and only use freshly created filesystems using "mke2fs -t ext4dev". (Without these fixes, if you try to use an ext3 filesystem which was converted using tune2fs -E test_fs -o extents /dev/DEV, you will probably hit a kernel BUG the moment you try to delete or truncate an old non-extent based file.) So I tried mounting the drive using "ext4dev" instead of just "ext4" but I'm getting this error: Code: Select allmount: wrong fs type, bad option, bad superblock on /dev/hdd1, missing codepage or helper program, or other error In some cases useful info is found in syslog - try dmesg | tail or so output from dmesg | tail Code: Select all[ 2418.752407] EXT4-fs: hdd1: not marked OK to use with test code. Can anyone help me to mount this drive? Thanks EDIT: Forgot to say, I know I could just build a newer kernel but I want to check if theres an easier way first as I have never built/compiled a kernel before | A bit of googling and I suggest that you look at the following: man tune2fs -E option the test_fs and ^test_fs flags |
I'm running Lenny and I've got an issue upgrading linux-image-2.6.26-1-686 from version 2.6.26-8 to 2.6.26-10. Code: Select allRunning depmod. Running mkinitramfs-kpkg. Not updating initrd symbolic links since we are being updated/reinstalled (2.6.26-8 was configured last, according to dpkg) Not updating image symbolic links since we are being updated/reinstalled (2.6.26-8 was configured last, according to dpkg) Running postinst hook script update-grub. Searching for GRUB installation directory ... found: /boot/grub User postinst hook script [update-grub] exited with value 1 dpkg: error processing linux-image-2.6.26-1-686 (--configure): subprocess post-installation script returned error exit status 1 Errors were encountered while processing: linux-image-2.6.26-1-686 And now I get this: Code: Select all~$ dpkg -l linux-image-2.6.26-1-686 Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad) ||/ Name Version Description +++-==============-==============-============================================ iF linux-image-2. 2.6.26-10 Linux 2.6.26 image on PPro/Celeron/PII/PIII/ Any idea what the problem might be with update-grub? EDIT: changed Etch to Lenny -- my bad | I did a search using your error, http://www.mail-archive.com/debian-bugs ... 73946.html Looks like a bug, my Sid box didn't have this error.. weird. |
I'm trying to set up up an internal router/dns server. I've got commercial firewalls at the border, so I really don't want the performance overhead of running iptables on my internal router/name server. I've uncommented the ip forwarding statement in /etc/sysctl (thanks for tip cfg!). From a laptop connected to eth1 I can ping the eth0 and eth1 interfaces, but I can't ping the device attached to eth0. The Debian box can ping both the laptop and the other device. Probably not important, but eth0 has 6 addresses and eth1 has 3 (all separate networks, I've got a SuSE machine already in place, and it works, although I want to replace it with Debian due to some other issues) and have about 75 static routes. Anyhow, I'm stuck. Can anybody enlighten me or at least point me in the right direction? Thanks! | With forwarding enabled and no firewall then the issue is most likely with the routing tables. Can you post the output of netstat -nr from the laptop and your "internal router/name server"? |
Hello I seem that I lost the hdparm configuration when my laptop exits to hibernate or suspend. I read the different links about this problem on this forum but I don't have find a fix. I'd like to restart the hdparm deamon after a suspend or hibernation I tested to put the command line /etc/init.d/hdparm restart in the /etc/default/acpi-support file, thinking that this script was recalled after suspend/hibernatio, but no changes. If I put the command manualy, it works fine, but I'd like to automatize (?) that. (PS : I used hdparm with -B 254 and not 128 by default) I use a debian lenny, Linux 2.6.26-1-686 & gnome Dell inspiron 1525N Any ideas ? Cyrille | Any ideas ? Cyrille |
I have several boxes around, and checked over the linux-image (uname -a) here are the results: P3 (katmai) 448.903 MHz Linux 2.6.18-5-686 #1 SMP Etch on 128 MByte RAM Intel(R) Core(TM)2 Duo CPU E4600 2.40 GHz Linux 2.6.18-6-686 #1 SMP Etch on 4GByte RAM Intel(R) Pentium(R) 4 CPU 2.80GHz Linux 2.6.18-6-686 #1 SMP Lenny on 1GByte RAM and my latest invention Intel(R) Pentium(R) III Mobile CPU 700MHz Linux 2.6.26-1-686 #1 SMP Lenny on 256 MByte RAM What's going on? May be I have set wrong memory option - bigmemory for the last old notebook (it's a F&S Lifebook series B from 2003). What should I do? | Try installing linux-image-686 on the 3 Pentiums and linux-image-amd64 on the Core2-Duo. That will cause the latest version of the kernel, for the given distribution (Lenny will have newer kernels than etch), to be installed. The amd64 package does have a 32 bit version, it's not just for 64 bit installs. It will pull the appropriate one depending on your architecture. Make sure to install any complementary source packages (if you need them) as well (such as headers etc). If you want newer kernels for etch you'll have to pull them from backports. |
Actually there are two things I wish to ask: About the real advantage of a raid – that putting everything what I can on raid0 is worth of it. That there is a significant difference in performance between raid partitions and non-raid partitions also for such partitions as /root /var /tmp or /usr. Yes I know that there are some articles on the net about that, but most of them says – try it yourself and you will see. Secondly I tried to set up Debian on raid0 using mdadm, but when I try to boot system from raid it's ends up in busy box notifying me that target file system doesn't have /sbin/init. Any one came across this and manage to resolve it? What is causing it? | Presently I have Raid0 for all partitions on my system using mdadm, except for / . / must be on a separate partition so it can load mdadm, otherwise it will fail to boot, mine has about 2G so i can install as many kernels as i want. Performance wise, i only use Raid0 on this particular system because its my gaming rig (ETQW ), and maps do load faster and there is less stuttering, i assume if you need to work with big files like video it will help too. The Debian installer in Lenny its a joy to work with. |
Hello I tried to use a 2.6.27.7. First compil OK but not perfect (I lost for example the auto mount of the SD, USB Keys or external disks...) So I've tried to use the 2.6.26-1-686 configuration file but many things have changed and I don't kow exactly answer to the differents questions .... Where can I find a debian like configuration kernel file (.config) for the 2.6.27.7 ? Is a such file exist ? I have see this : http://merkel.debian.org/~jurij/, but don't find for 2.6.27 Thanx Cyrille | You will have to manually pull it from the experimental debs posted at http://kernel-archive.buildserver.net/debian-kernel. |
Running Debian etch 4.0r3. Now have 17 sites working on my dedicated server. But still chasing down the annoyimg exceptions. Several sites are php 5.0 based and those sites run fine if I enter: http://somedomain.com/index.php but the fail if I type in http://somedomain.com/ The PHP apps themselves run fine; but they're clearly NOT in the defaults list being used by Apache2 when it's looking for something to run upon entry to a directory. Here's the error I get from IE when no index.html files exists in the directory but an index.htm does exist there.... (Firefox produces a similar message). As a temporary work-around, I've been creating an index.html or index.htm file in these directories and then putting an autoforward into those short scripts that calls the index.php file that Apache can't seem to find. I've done quite a lot of research on this and have found several discussions and suggestions but so far, they've all proved to be dead-ends. clearly the php apps are running. So the phpload and run modules are enabled in /etc/apache2/mods-enabled and the mime type is enabled too or they wouldn't run either. Somewhere I saw that someone suggest adding these lines at the end of httpd.conf. AddType application/x-httpd-php .php AddType application/x-httpd-php-source .phps DirectoryIndex index.html index.php Instead, in our case I added them to the virtual host file and then restarted Apache. HOWEVER< Apache is STILL not finding the index.php file in directories where they exist and NO inde.html or ind..php exists. As a result, when I try to This is obviously an Apache2 setup issue somewhere. But I'll be darned if I can figure out why. Can anyone tell me what's wrong here? Thanks! | The solution to this was pretty simple. I actually found the solution early in my search. But it turned out either the solution provided was incorrectly coded or I misunderstood what they were saying and screwed it up somehow. So, when I followed instructions the recommended solution (which calls for insertion of the DirectoryIndex directive in the /etc/Apache2/sites-available virtual host files) didn't work. Later, when I could find no other solution, I went back and double-checked the solution by reinstalling it. It worked without a problem the second time around. Here's how the first few lines (including the DirectoryIndex directive) should look in the virtualhost config files in Debian's /etc/apache2/sites-available directory: Code: Select all<VirtualHost 222.16.160.68:80 222.16.160.69:80> ServerAdmin webmaster@myhost.com ServerName newmexico.com ServerAlias www.newmexico.com DocumentRoot /home/public_html/newmexico.com/html/ DirectoryIndex index.php index.html index.htm <Directory /home/public_html/newmexico.com/html/> Options Indexes FollowSymLinks MultiViews AllowOverride None Order allow,deny allow from all </Directory> and more stuff too... </VirtualHost> Of course, after you make this change Apache MUST BE restarted. I hope this hard-won answer to a very puzzling question helps someone else. Good luck! |
Hi everyone! I want to disable the options "exit session" and "change user" in the exit menu of gnome (when you press the button "Exit", in that you can halt, reboot, close session, change user...)... Who can I do it? I tried with gconf-editor, but I haven't found the way... Another question... can I disable or uninstall this program? Who can I do this? What's his name (I haven't found the name)? Thank you very much! | Sounds like you may want to remove gdm which is the graphical login manager. |
I can get sound in an emailed video that is a "wmv" format but no system sounds. My sound card is recognized by Lenny, but "Audio devices" is not enabled in the Config file per <cat /dev/sndstat>. Listed below are the results of /proc/asound/cards, lspci | grep -i audio, /dev/sndstat, lsmod | grep sound, and /dev/snd: debian:/proc/asound# cat cards 0 [Intel ]: HDA-Intel - HDA Intel HDA Intel at 0xfebfc000 irq 21 debian:/proc/asound# lspci | egrep -i audio 00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 02) debian:/dev# cat sndstat Sound Driver:3.8.1a-980706 (ALSA v1.0.17 emulation code) Kernel: Linux debian 2.6.26-1-686 #1 SMP Thu Oct 9 15:18:09 UTC 2008 i686 Config options: 0 Installed drivers: Type 10: ALSA emulation Card config: HDA Intel at 0xfebfc000 irq 21 Audio devices: NOT ENABLED IN CONFIG Synth devices: NOT ENABLED IN CONFIG Midi devices: NOT ENABLED IN CONFIG Timers: 7: system timer Mixers: NOT ENABLED IN CONFIG debian:/etc/alsa# lsmod | grep sound soundcore 6368 1 snd debian:/etc/alsa# ls /dev/snd/ controlC0 hwC0D0 hwC0D1 pcmC0D0c pcmC0D0p pcmC0D1p seq timer Would the code <rmmod HDA-Intel - HDA Intel> <modprobe HDA-Intel - HDA Intel> allow the enabling of this sound card in the Config file? | I'm assuming gnome. System|Preferences|Sound or gnome-sound-properties On the sounds tab - do you have both "enable ESD" and "Play System Sounds" checked? |
Hi I recently setup an email server using postfix and spamasssin, all seems to be working fine except for the outgoing email that is getting tagged as spam by my own server. His there a way to avoid the outgoing checks? Thanks. | Well, I'm answering my own post, so that someone with the same issue knows how to get around it. I edited Code: Select all/etc/spamassassin/local.cf and added this: Code: Select allwhitelist_from *@mydomain.net so that all outgoing email from all users of mydomain.net will not get checked by spamassassin. Dont forget to restart the spamassassin daemon. |
Hello, I just update my Thinkpad T60 to Lenny with a kernel 2.6.26. I have been trying the get the hdaps and hdapsd to work in order to active the harddisk protection system. On the Thinkwiki website there is a lot of information on how to get it to work: http://www.thinkwiki.org/wiki/HDAPS http://www.thinkwiki.org/wiki/How_to_pr ... hrough_APS However, in order to make it work I have to recompile the kernel after applying a patch for the hdaps. I haven't been able to find this patch. In the website they give a link to the patch but I cannot get it. The link sends me to an email: http://www.thinkwiki.org/wiki/HDAPS#Kernel_patch I cannot extract the patch though. I'm not sure what to do. Does anybody know anything about it? Thanks for any help you can give. | A patch is a plain text file and can be included in the body of an email. Copy everything belowCode: Select allEnjoy, Elias ---and aboveCode: Select all------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challengeinto a text file and save it(by convention, the extension is '.patch'). |
I have been in the Config editor and managed to change automount of DVD's from Totem to Kaffeine but would still like to show a device icon on the desktop. Also device icons for removable USB peripherals. Sorry this is so basic but I am new to Gnome and I have been searching. | Check that you've installed gnome-volume-manager. It has been a little while since I used / configured gnome but with this package installed, debian should handle the prereqs leaving you with the responsibilty to configure how your system responds when media is inserted. Take a look at your gnome menus (System --> Administration --> CD's / Drives ??). I am not sure if I have the menu titles exactly right, but there you should find what I think you are looking for. hth |
Hi All, Code: Select allkernel: [20787.831617] journal commit I/O error I occasionally see the above error, printed to all open terminals. At the same time, my external USB hard drive changes from 'Disk' to 'Disk1' in the nautilus file manager window. This only happens about once every couple of weeks, but it has happened with both of my external USB disks (both formatted with ext3). This is a pain because I have various bash scripts that reference the external drives by name. It's also worrying because I use the disks for backup and storage of all my music / video files. I find the way that gnome handles external drives quite confusing - I wish you could easily assign names to external drives ala OSX. Any advice gratefully received. | Anybody have a clue about this? It keeps on happening, really annoying. |
Hi, guys. I'm having a problem that is killing me. I had a stable Debian and a couple days ago I installed a unstable version. The kernel included (2.6.18 ) works perfectly, but when I upgraded the netinstall to unstable, the new kernel (2.6.26) can't bring eth0 up. Anycase, to install nvidia drivers, I must compile the kernel, so I downloaded sources of 2.6.24 (apt-get install linux-sources-2.6.24), I configured it and compiled it by Debian way (make-kpkg -initrd kernel_image modules_image). That kernel works correctly, but as 2.6.26 can't bring eth0 up. My network card is a SiS900 integrated in an asus P4S8X motherboard. These are the symptoms. fenix:/home/sparkster# ifconfig lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:118 errors:0 dropped:0 overruns:0 frame:0 TX packets:118 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:7312 (7.1 KiB) TX bytes:7312 (7.1 KiB) fenix:/home/sparkster# ifup eth0 SIOCSIFFLAGS: Invalid argument SIOCSIFFLAGS: Invalid argument Failed to bring up eth0. fenix:/home/sparkster# ifconfig eth0 eth0 Link encap:Ethernet HWaddr 00:00:00:00:00:00 inet addr:192.168.0.5 Bcast:192.168.0.255 Mask:255.255.255.0 BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) Interrupt:17 Base address:0x9800 fenix:/home/sparkster# more /etc/network/interfaces # 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 static address 192.168.0.5 netmask 255.255.255.0 network 192.168.0.0 broadcast 192.168.0.255 gateway 192.168.0.1 In kernel configuration I have selected the module of my card (SiS 900/7016 PCI Fast Ethernet Adapter support ), and just in case, I tried to load it manually when I started session (modprobe sis900), but it didn't work. I also tried to compile a 2.6.18 (apt-get install linux-sources-2.6.18 ), but all "old" versions return the same error LD arch/i386/lib/built-in.o CC arch/i386/lib/bitops.o AS arch/i386/lib/checksum.o CC arch/i386/lib/delay.o AS arch/i386/lib/getuser.o CC arch/i386/lib/memcpy.o AS arch/i386/lib/putuser.o CC arch/i386/lib/strstr.o CC arch/i386/lib/usercopy.o AR arch/i386/lib/lib.a GEN .version CHK include/linux/compile.h UPD include/linux/compile.h CC init/version.o LD init/built-in.o LD .tmp_vmlinux1 kernel/built-in.o: In function `getnstimeofday': (.text+0xb78c): undefined reference to `__umoddi3' kernel/built-in.o: In function `getnstimeofday': (.text+0xb7ac): undefined reference to `__udivdi3' kernel/built-in.o: In function `do_gettimeofday': (.text+0xb8b3): undefined reference to `__udivdi3' kernel/built-in.o: In function `do_gettimeofday': (.text+0xb8ce): undefined reference to `__umoddi3' kernel/built-in.o: In function `do_timer': (.text+0xc14c): undefined reference to `__umoddi3' kernel/built-in.o: In function `do_timer': (.text+0xc16c): undefined reference to `__udivdi3' make[1]: *** [.tmp_vmlinux1] Error 1 make[1]: se sale del directorio `/usr/src/linux-source-2.6.18' make: *** [debian/stamp/build/kernel] Error 2 Thanks for any help, guys. | Did you do an upgrade from Etch to Sid, or from Etch to Lenny? Anycase, to install nvidia drivers, I must compile the kernel, so I downloaded sources of 2.6.24 (apt-get install linux-sources-2.6.24), I configured it and compiled it by Debian way (make-kpkg -initrd kernel_image modules_image). You don't need to compile a kernel to install the Nvidia drivers. Just use module-assistant with the stock Debian kernels. In kernel configuration I have selected the module of my card (SiS 900/7016 PCI Fast Ethernet Adapter support ), and just in case, I tried to load it manually when I started session (modprobe sis900), but it didn't work. What does dmesg say when you modprobe sis900? |
Running lenny amd64 and I need to set my mtu on eth1 to 4000. I can do this in the shell via the following, but it only lasts as long as the box is up. Once it reboots, the mtu is back to the default value. Code: Select all# ifconfig eth1 mtu 4000 How can I change it to 4000 on a permanent basis? I thought I could do it in gnome-nettools but when I attempt to hit the 'configuration' button for eth1, I get, "The interface does not exist. Check that it is correctly typed and that it is correctly supported by your system." | Assuming that you use /etc/network/interfaces for configuring your ethernet device, locate a block in the file that looks like: Code: Select allauto eth1 iface eth1 inet dhcp To the above section, add: Code: Select allmtu 4000 Never tried it personally, just digged it from interfaces(5) manpage. If it's not the case (interfaces are configured by some NetworkManager, perhaps?), you can always hack system init scripts and set the correct value there. |
SOLVED: The b43-fwcutter tool should work if directely fethed from apt, in an unmodified enviroment. No explaination for the X-failture though. ------------------------------------------- Title says the most. I installed Lenny after being annoyed by Etch (horribly outdated software, and I only need that kind on my server). So I decided on Lenny. On etch, I could always get my Broadcom Corporation BCM4318 [AirForce One 54g] 802.11g Wireless LAN Controller card working, using <a href="http://www.linuxquestions.org/linux/ans ... Encryption"> This Guide</a> However, this proved unsuccessful on Lenny - When I got to the part about checking the module (using lspci piped to grep) nothing showed. Nothing with bcm43xx, and nothing with bcm, or b43. I used the wl_apsta.o driver btw. Okay, so I read up on it. Seems the bcm43xx driver is outdated, So i tried again. This time I use the repostitory-provied tool, b43-fwcutter. It installed decently, but again, iwlist scan showed nothing, and nothing worked. There are no loadable modules relevant to my card, so this is where I come to wits end and turn to this forum. Another thing, though not "really" a problem, is they my interface is not reconized. I edited the /etc/network/interfaces, and added eth1 (my default wireless as I used it with Etch), but it does not show. Two new ones, wmaster0 and wlan0 does, but neither respond to ifup/ifdown, and neither have been added to interfaces. I tried adding wlan0 to interfaces, but no avail. At this point I removed everything in my firmware folder, and turn here. Hope I didn't miss anything obvious. Comradely, DingoBoy. | DingoBoy wrote:Another thing, though not "really" a problem, is they my interface is not reconized. I edited the /etc/network/interfaces, and added eth1 (my default wireless as I used it with Etch), but it does not show. Two new ones, wmaster0 and wlan0 does, but neither respond to ifup/ifdown, and neither have been added to interfaces. I tried adding wlan0 to interfaces, but no avail. The name change is normal, in my experience. When I switched from using bcm43xx-fwcutter to b43-fwcutter, the interface name changed from eth1 to wlan0. The name shouldn't matter. If you have the right information in your /etc/network/interfaces file and the firmware is there, you should be good to go. You may need to reboot before the firmware is loaded and thus before ifup/ifdown will work. I would reinstall the firmware, edit your /etc/network/interfaces file, reboot and then try again. Here's a simple /etc/network/interfaces as an example: Code: Select allallow-hotplug wlan0 iface wlan0 inet dhcp If you have wep/wpa encryption, that will be another issue, but this should at least get the interface recognized. |
I have a second hard disk used for backup and I want it to be mounted manually, so I edited /etc/fstab the second hard disk should not be automatically mounted, but when the system starts I see the disk mounted. Here is the /etc/fstab: Code: Select allproc /proc proc defaults 0 0 /dev/sda1 / ext3 defaults,errors=remount-ro 0 1 /dev/sda5 none swap sw 0 0 /dev/sdb1 /media/disk ext3 noauto,user,noexec 0 2 /dev/hda /media/cdrom0 udf,iso9660 user,noauto 0 0 /dev/fd0 /media/floppy0 auto rw,user,noauto 0 0 | hoffman wrote:I have a second hard disk used for backup and I want it to be mounted manually, so I edited /etc/fstab the second hard disk should not be automatically mounted, but when the system starts I see the disk mounted. When you first boot up the command mount shows /dev/sdb1 as mounted? |
How to setup network with mobile user profiles for win XP/Debian workstations using Debian/lenny as a server? | You're talking about having user accounts that can be used on multiple Windows machines, correct? Irregardless, you'll need Samba for Windows/Linux interaction. |
Let say that I have set up my desktop and I want it to look like this by default for any new user I will create. How to do that using xfce as a desktop environment? | Crusader wrote:Let say that I have set up my desktop and I want it to look like this by default for any new user I will create. How to do that using xfce as a desktop environment? copy your settings files of useful programs (such as .xfce and others) from ~ to /etc/skel |
Hi all! I've just done a dist-upgrade from etch to lenny and all seems to have gone well except the configuration of docbook-xml which seems to be holding up the configuration of other packages. Here is some output from apt-get that you may or may not find helpful Setting up docbook-xml (4.5-5) ... update-xmlcatalog: error: entity already registered dpkg: error processing docbook-xml (--configure): subprocess post-installation script returned error exit status 1 dpkg: dependency problems prevent configuration of scrollkeeper: scrollkeeper depends on docbook-xml (>= 4.2-11); however: Package docbook-xml is not configured yet. dpkg: error processing scrollkeeper (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of anjuta: anjuta depends on scrollkeeper; however: Package scrollkeeper is not configured yet. dpkg: error processing anjuta (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of bug-buddy: bug-buddy depends on scrollkeeper; however: Package scrollkeeper is not configured yet. dpkg: error processing bug-buddy (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of capplets-data: capplets-data depends on scrollkeeper; however: Package scrollkeeper is not configured yet. dpkg: error processing capplets-data (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of gnome-panel-data: gnome-panel-data depends on scrollkeeper; however: Package scrollkeeper is not configured yet. dpkg: error processing gnome-panel-data (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of gnome-control-center: gnome-control-center depends on capplets-data (>= 1:2.22); however: Package capplets-data is not configured yet. gnome-control-center depends on capplets-data (<< 1:2.23); however: Package capplets-data is not configured yet. dpkg: error processing gnome-control-center (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of gnome-panel: gnome-panel depends on gnome-panel-data (>= 2.20); however: Package gnome-panel-data is not configured yet. gnome-panel depends on gnome-panel-data (<< 2.21); however: Package gnome-panel-data is not configured yet. gnome-panel depends on gnome-control-center (>= 1:2.8.2-3); however: Package gnome-control-center is not configured yet. dpkg: error processing gnome-panel (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of fast-user-switch-applet: fast-user-switch-applet depends on gnome-panel; however: Package gnome-panel is not configured yet. dpkg: error processing fast-user-switch-applet (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of gedit: gedit depends on scrollkeeper; however: Package scrollkeeper is not configured yet. dpkg: error processing gedit (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of gnome-applets-data: gnome-applets-data depends on scrollkeeper; however: Package scrollkeeper is not configured yet. dpkg: error processing gnome-applets-data (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of gnome-applets: gnome-applets depends on gnome-applets-data (>= 2.22); however: Package gnome-applets-data is not configured yet. gnome-applets depends on gnome-applets-data (<< 2.23); however: Package gnome-applets-data is not configured yet. gnome-applets depends on gnome-panel (>= 2.13.4); however: Package gnome-panel is not configured yet. dpkg: error processing gnome-applets (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of gnome-session: gnome-session depends on gnome-control-center (>= 1:2.22); however: Package gnome-control-center is not configured yet. dpkg: error processing gnome-session (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of gnome-terminal: gnome-terminal depends on scrollkeeper; however: Package scrollkeeper is not configured yet. dpkg: error processing gnome-terminal (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of nautilus-data: nautilus-data depends on scrollkeeper; however: Package scrollkeeper is not configured yet. dpkg: error processing nautilus-data (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of nautilus: nautilus depends on nautilus-data (>= 2.20); however: Package nautilus-data is not configured yet. nautilus depends on nautilus-data (<< 2.21); however: Package nautilus-data is not configured yet. nautilus depends on gnome-control-center (>= 2.6); however: Package gnome-control-center is not configured yet. dpkg: error processing nautilus (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of yelp: yelp depends on docbook-xml (>= 4.1.2); however: Package docbook-xml is not configured yet. dpkg: error processing yelp (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of gnome-core: gnome-core depends on gnome-control-center (>= 1:2.22.2.1); however: Package gnome-control-center is not configured yet. gnome-core depends on gedit (>= 2.22.3); however: Package gedit is not configured yet. gnome-core depends on gnome-applets (>= 2.22.2); however: Package gnome-applets is not configured yet. gnome-core depends on gnome-panel (>= 2.20.3); however: Package gnome-panel is not configured yet. gnome-core depends on gnome-session (>= 2.22.2); however: Package gnome-session is not configured yet. gnome-core depends on gnome-terminal (>= 2.22.2); however: Package gnome-terminal is not configured yet. gnome-core depends on nautilus (>= 2.20.0); however: Package nautilus is not configured yet. gnome-core depends on rarian-compat | scrollkeeper; however: Package rarian-compat is not installed. Package scrollkeeper is not configured yet. gnome-core depends on yelp (>= 2.22.1); however: Package yelp is not configured yet. dpkg: error processing gnome-core (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of gnome-system-monitor: gnome-system-monitor depends on scrollkeeper; however: Package scrollkeeper is not configured yet. dpkg: error processing gnome-system-monitor (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of gnome-user-guide: gnome-user-guide depends on scrollkeeper; however: Package scrollkeeper is not configured yet. gnome-user-guide depends on yelp; however: Package yelp is not configured yet. dpkg: error processing gnome-user-guide (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of gnome-utils: gnome-utils depends on scrollkeeper; however: Package scrollkeeper is not configured yet. dpkg: error processing gnome-utils (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of nautilus-cd-burner: nautilus-cd-burner depends on nautilus; however: Package nautilus is not configured yet. dpkg: error processing nautilus-cd-burner (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of synaptic: synaptic depends on scrollkeeper; however: Package scrollkeeper is not configured yet. dpkg: error processing synaptic (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of zenity: zenity depends on scrollkeeper; however: Package scrollkeeper is not configured yet. dpkg: error processing zenity (--configure): dependency problems - leaving unconfigured Errors were encountered while processing: docbook-xml scrollkeeper anjuta bug-buddy capplets-data gnome-panel-data gnome-control-center gnome-panel fast-user-switch-applet gedit gnome-applets-data gnome-applets gnome-session gnome-terminal nautilus-data nautilus yelp gnome-core gnome-system-monitor gnome-user-guide gnome-utils nautilus-cd-burner synaptic zenity E: Sub-process /usr/bin/dpkg returned an error code (1) The file /usr/share/doc/xml-core/README.debian has a note about the incompatibilty of update-xmlcatalog and xmlcatalog but no info on what to do. Maybe I'm barking up the wrong tree! Any help appreciated | The solution seems to be to remove and reinstall it. |
Hello all I decided to further my *nix knowledge by compiling my own kernel. I downloaded the newest stable kernel (2.6.26.5), and followed a good guide and it compiled flawlessly. I was able to boot into Debian Sid with my brand new kernel using my primary hard disc drive (a Western Digital SATA drive). I thought I had done a good job until I decided to attach my secondary hard disc drive (a Western Digital IDE drive). The BIOS recognized the drive (as it always had) but Debian decided to stall while detecting the IDE drive. I restarted my PC a few times, but the problem persisted. I could not boot into Debian while that IDE drive was attached. After removing the IDE drive and restarting my PC, I attempted to mount a CD, and surprise of surprises, it wasn't recognized either! The drive is a Pioneer DVD-RW. What did I do wrong? I made no changes to the menuconfig whilst compiling the kernel (except for changing my primary processor to Pentium 4). I did some research into this problem, and I'm suspecting that the solution could have something to do with enabling the SCSI interface or something (?) I dunno. The aptitude kernel package recognizes all my drives, so I know the drives actually work. I'd like to be able to get rid of the aptitude kernel and start compiling my own from now on. Can anyone point me in the right direction? Any help is appreciated. | Hmmm... RunCode: Select alldiff /boot/config-[stock kernel] /boot/config-[custom kernel] > config.diffThe resulting text file will tell you the differences between the two. Carrots pointing left refer to the first file and vice versa. |
I would wish to know how to create own installable system image in Debian/lenny. | Do you want to make an iamge of a system and using it to clone that system? dd will do it(READ THE MANUAL FIRST!)Code: Select alldd if=/dev/sda of=/path/to/file.imgand to restore the disk imageCode: Select alldd if=/path/to/file.img of=/dev/sdaAdjust as needed. And, it cannot be stressed too much, READ THE MANUAL FIRST! It's that dangerous. |
Hi guys, I am currently trying to speed up boot time. I noticed that getting an IP via DHCP takes forever (3-5 seconds). Now I would like to start dhclient as a daemon immediately. From the man pages I found out that applying the -nw parameter to dhclient does the trick. However I can not find a way to configure this. Is this hardcoded in ifup? Apparently ifup calls dhclient-script.: if [ -f $script ]; then . $script "$@" fi I added -nw behind the $@ but without success. Can you help me out here? Thanks Q | Maybe this post on speeding up boot and responsiveness may help. One tip is how to background boot processes so that you don't have to wait for each process to finish starting up before moving on to the next. http://forums.debian.net/viewtopic.php? ... speed+boot |
How to configure system in this way to could choose language when you login to xsession? For example (and to be more specific) if I would wish to have english, german and esparanto what I need to change to could pick one of this languages in gdm? | BioTube wrote:It's a setting in your DE. gdm can't change it. You may, however, be able to do so with a commandline argument. Actually, gdm do handle it if he's using Gnome. I believe all that's needed is to have the necessary locales installed. At least that's all it took on my test Gnome system. So Code: Select all# dpkg-reconfigure locales should do the trick I think... |
Hey guys. I'm trying to switch our web server from Gentoo to Debian and I'm having some trouble with our foreign language sites. Apache 2.2.9 MySQL v 5.0.51a PHP 5.2.6-3 We use UTF-8 encoding on everything, but on our foreign language sites, some of the characters come out oddly. In Iceweasel, they show as diamonds with question marks in them. If I go to View - Character Encoding - Western (ISO-8859-1), they look correct. This isn't a problem on the Gentoo server. I originally set it up by just editing the default Debian install to meet my needs and tried everything I could think of. When that didn't work, I made copies of all of the configs, then copied the Gentoo configs over and edited the files to work with Debian. Same results. I've now put the original Debian config files back. I've set default character encoding to UTF-8 in Apache and PHP and verified the entries are showing up properly in the database. The Default charset in MySQL is utf8 and the connection collation is set to utf8_general_ci, which matches the Gentoo server. Also, the template headers all define <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> in the <head>, but it looks like we're still receiving the iso-8859-1 characters. Can anybody think of anything I haven't done? I've been slowly converting all of our Linux servers over to Debian and I'd hate to have this odd one out. Thanks | It turned out to be a Joomla specific problem. I thought it was affecting everything, so I didn't think to narrow it down that far. In case somebody comes across this later, uncomment out @mysql_query("SET NAMES 'utf8'", $this->_resource); in includes/database.php around line 102. |
I get this message when I try to ssh to my remote computer when I'm running lenny. The key is on a usb stick. It doesn't do it when I'm running etch. The remote ssh server is running etch always. I tried it today from a friend's etch installation, and I got the same error message. Question 1: what would cause this message to come up on one etch installation but not another? Code: Select allPermissions 0755 for '/media/disk/my.rsa.key' are too open. It is recommended that your private key files are NOT accessible by others. This private key will be ignored. bad permissions: ignore key: /media/disk/hold/.ssh/id.athena1 Permission denied (publickey). I tried changing the permission, but of course, that didn't work, because the filesystem is vfat. My solution at home was to copy the keyfile into my .ssh directory, but I can't take that with me. I've got another usb stick that I could reformat to ext3, but is there another solution? I'd still like to be able to use it with windows, so I can use firefox portable when I'm visiting relatives, and not have to carry two sticks. | SSH is designed to ignore key files if they are world-readable. If the filesystem on your USB drive does not support Unix-like permissions, you will need to specify an appropriate 'umask' when you mount it. Alternately, you could copy the key file from the USB drive to your local drive, changing the permissions -- but be cautious with this approach and try not to expose your keys. |
and how to I set it up on debian lenny? sorry for the noob question | I have a Lenovo 3000 N100 and using the iwl driver. The kill switch work but for some unknown reason it takes about a minute give or take before the interface is fully operational again. To see what's going on in real time when you use the switch you can do Code: Select all# tail -f /var/log/syslog |
So, I tried out Grub2 yesterday. Beeing all cowboy and stuff, I even use texas flood to boot. And it works. Anyway, Grub2 worked pretty well. Untill I tried to make a custom splash for it, which did not work. And for somewhat reason, the default splash would not work either, so in my stupid madness after purging/reinstalling, I just deleted /boot/grub. Yes. rm -r /boot/grub. Without backing it up first. I'm such a fool. I thought that would do the trick, and installing grub again would be no hassle. Which werent, except for that grub-pc this time around installed NO MODULES AT ALL. Actually, nothing. I thought it would do something like "Danger! Danger! No modules detected! I will download and install them!", but noo. Damn you grub. Anyway, I'm back at grub legacy now. Because grub-pc just won't install any modules. At all. Which also seems to cripple it from working, even without any fancy graphics. Any suggestions on how to fix this? | Seems to me that the grub-pc installation scripts just read the grub-legacy packages and generate a configuration from that. Probably easier on the dd that way. EDIT: What do you think of grub2? I don't like the nonsensical keymap, the font nor the start-at-one numbering scheme. Come to think of it, I don't have anything nice to say about it. |
After recent Lenny updates my HP Deskjet 820Cse doesn't seem to be getting a print signal from the laptop. It was working perfectly last week. Since, I don't print every day, I'm not sure what updates may have been the problem. I stripped of the OS and reloaded Lenny last night. Still no success. Any ideas? Thanks! | I think that I solved the problem. When I switched to another printer, I had no difficulty printing. Must be a faulty printer. |
Hi, I have some difficulties getting wireless working on a thinkpad r61. The driver to be used is the iwl4965. I use Lenny with kernel 2.6.26, and iwlwifi is integrated out of the box. I then ran a modprobe iwl4965, and checked with lsmod that it is correctly loaded. When restarting netwoorking, I get the following message Reconfiguring network interfaces...There is already a pid file /var/run/dhclient.wlan0.pid with pid 2268 killed old client process, removed PID file 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 wmaster0: unknown hardware address type 801 Listening on LPF/wlan0/00:21:5c:55:81:ff Sending on LPF/wlan0/00:21:5c:55:81:ff Sending on Socket/fallback Error for wireless request "Set Encode" (8B2A) : SET failed on device wlan0 ; Invalid argument. SIOCSIFFLAGS: No such file or directory Could not set interface 'wlan0' UP 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:21:5c:55:81:ff Sending on LPF/wlan0/00:21:5c:55:81:ff Sending on Socket/fallback receive_packet failed on wlan0: Network is down DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 4 send_packet: Network is down DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 10 send_packet: Network is down DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 11 send_packet: Network is down DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 13 send_packet: Network is down DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 21 send_packet: Network is down DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 2 send_packet: Network is down No DHCPOFFERS received. No working leases in persistent database - sleeping. done When looking at dmesg, I find this interesting [ 266.092635] firmware: requesting iwlwifi-4965-1.ucode [ 266.100776] iwl4965: iwlwifi-4965-1.ucode firmware file req failed: Reason -2 [ 266.100790] iwl4965: Could not read microcode: -2 What do you think of it ? Is there a problem with my iwl4965 driver ? Many thanks in advance for your help ! | It looks like you don't have the firmware installed. Enable non-free in your apt sources and: Code: Select allaptitude install firmware-iwlwifi This link should help too: http://wiki.debian.org/iwlwifi |
After successful compiling of kernel 2.6.26.3 on bootup the screen is blank. I've tried about everything I can imagine to fix it without success. It boots up ok, and everything works except this frame buffering. I have an onboard Intel 865G video. I know the frame buffer works because all the previous generic kernels work. I have vga=773 at the end of the kernel line in menu.lst. I found a helpful document at a Gentoo site: http://gentoo-wiki.com/HOWTO_Framebuffer_Support but everything is set accordingly. I found some mention that "initrd" might yield a clue. As of yet I can't nail down any info on how to use that. Here is a snapshoot of some key options in .config file: Code: Select all# # Graphics support # CONFIG_AGP=y CONFIG_AGP_ALI=m CONFIG_AGP_ATI=m # CONFIG_AGP_AMD is not set # CONFIG_AGP_AMD64 is not set CONFIG_AGP_INTEL=y # CONFIG_AGP_NVIDIA is not set CONFIG_AGP_SIS=m CONFIG_AGP_SWORKS=m CONFIG_AGP_VIA=m CONFIG_AGP_EFFICEON=m CONFIG_DRM=m CONFIG_DRM_TDFX=m CONFIG_DRM_R128=m CONFIG_DRM_RADEON=m CONFIG_DRM_I810=m CONFIG_DRM_I830=m CONFIG_DRM_I915=m # CONFIG_DRM_MGA is not set # CONFIG_DRM_SIS is not set # CONFIG_DRM_VIA is not set # CONFIG_DRM_SAVAGE is not set CONFIG_VGASTATE=y CONFIG_VIDEO_OUTPUT_CONTROL=m CONFIG_FB=y CONFIG_FIRMWARE_EDID=y CONFIG_FB_DDC=y CONFIG_FB_CFB_FILLRECT=y CONFIG_FB_CFB_COPYAREA=y CONFIG_FB_CFB_IMAGEBLIT=y # CONFIG_FB_CFB_REV_PIXELS_IN_BYTE is not set CONFIG_FB_SYS_FILLRECT=m CONFIG_FB_SYS_COPYAREA=m CONFIG_FB_SYS_IMAGEBLIT=m # CONFIG_FB_FOREIGN_ENDIAN is not set CONFIG_FB_SYS_FOPS=m CONFIG_FB_SVGALIB=m # CONFIG_FB_MACMODES is not set CONFIG_FB_BACKLIGHT=y CONFIG_FB_MODE_HELPERS=y CONFIG_FB_TILEBLITTING=y # # Frame buffer hardware drivers # CONFIG_FB_CIRRUS=m CONFIG_FB_PM2=m CONFIG_FB_PM2_FIFO_DISCONNECT=y CONFIG_FB_CYBER2000=m CONFIG_FB_ARC=m CONFIG_FB_ASILIANT=y CONFIG_FB_IMSTT=y CONFIG_FB_VGA16=m CONFIG_FB_UVESA=m CONFIG_FB_VESA=y CONFIG_FB_EFI=y CONFIG_FB_IMAC=y # CONFIG_FB_N411 is not set CONFIG_FB_HGA=m # CONFIG_FB_HGA_ACCEL is not set CONFIG_FB_S1D13XXX=m # CONFIG_FB_NVIDIA is not set # CONFIG_FB_RIVA is not set CONFIG_FB_I810=y # CONFIG_FB_I810_GTF is not set CONFIG_FB_LE80578=m CONFIG_FB_CARILLO_RANCH=m CONFIG_FB_INTEL=y # CONFIG_FB_INTEL_DEBUG is not set CONFIG_FB_INTEL_I2C=y # CONFIG_FB_MATROX is not set CONFIG_FB_RADEON=m CONFIG_FB_RADEON_I2C=y CONFIG_FB_RADEON_BACKLIGHT=y # CONFIG_FB_RADEON_DEBUG is not set CONFIG_FB_ATY128=m CONFIG_FB_ATY128_BACKLIGHT=y CONFIG_FB_ATY=m CONFIG_FB_ATY_CT=y CONFIG_FB_ATY_GENERIC_LCD=y CONFIG_FB_ATY_GX=y CONFIG_FB_ATY_BACKLIGHT=y CONFIG_FB_S3=m CONFIG_FB_SAVAGE=m CONFIG_FB_SAVAGE_I2C=y CONFIG_FB_SAVAGE_ACCEL=y CONFIG_FB_SIS=m CONFIG_FB_SIS_300=y CONFIG_FB_SIS_315=y CONFIG_FB_NEOMAGIC=m CONFIG_FB_KYRO=m CONFIG_FB_3DFX=m # CONFIG_FB_3DFX_ACCEL is not set CONFIG_FB_VOODOO1=m CONFIG_FB_VT8623=m CONFIG_FB_CYBLA=m CONFIG_FB_TRIDENT=m # CONFIG_FB_TRIDENT_ACCEL is not set CONFIG_FB_ARK=m CONFIG_FB_PM3=m CONFIG_FB_GEODE=y CONFIG_FB_GEODE_LX=m CONFIG_FB_GEODE_GX=m CONFIG_FB_GEODE_GX1=m CONFIG_FB_SM501=m # CONFIG_FB_VIRTUAL is not set CONFIG_BACKLIGHT_LCD_SUPPORT=y CONFIG_LCD_CLASS_DEVICE=m CONFIG_LCD_LTV350QV=m CONFIG_BACKLIGHT_CLASS_DEVICE=y CONFIG_BACKLIGHT_CORGI=m CONFIG_BACKLIGHT_PROGEAR=m CONFIG_BACKLIGHT_CARILLO_RANCH=m # # Display device support # CONFIG_DISPLAY_SUPPORT=m # # Display hardware drivers # # # Console display driver support # CONFIG_VGA_CONSOLE=y # CONFIG_VGACON_SOFT_SCROLLBACK is not set CONFIG_VIDEO_SELECT=y CONFIG_MDA_CONSOLE=m CONFIG_DUMMY_CONSOLE=y CONFIG_FRAMEBUFFER_CONSOLE=m # CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY is not set # CONFIG_FRAMEBUFFER_CONSOLE_ROTATION is not set # CONFIG_FONTS is not set CONFIG_FONT_8x8=y CONFIG_FONT_8x16=y | Try vga=ask It will give you a menu of the modes your hardware supports. Pick and choose to see if there may just be one your video card does not like. |
I've got apache2 running on my debian box and everytime i open port 8080 (what apache2 is set to listen on) my box gets hammered from over 1000 external IP addresses. I watch the connections by Code: Select alltail -f /var/log/apache2/access.log and Code: Select allnetstat -ta Here is what i'm getting when I do a netstat: Code: Select allActive Internet connections (servers and established) Proto Recv-Q Send-Q Local Address Foreign Address State tcp 0 0 *:nfs *:* LISTEN tcp 0 0 *:swat *:* LISTEN tcp 0 0 *:34310 *:* LISTEN tcp 0 0 *:mysql *:* LISTEN tcp 0 0 *:41483 *:* LISTEN tcp 0 0 *:netbios-ssn *:* LISTEN tcp 0 0 *:sunrpc *:* LISTEN tcp 0 0 bitch.local:http-alt 61.149.211.48:4027 SYN_RECV tcp 0 0 *:auth *:* LISTEN tcp 0 0 *:ftp *:* LISTEN tcp 0 0 localhost:ipp *:* LISTEN tcp 0 0 *:42936 *:* LISTEN tcp 0 0 localhost:smtp *:* LISTEN tcp 0 0 *:microsoft-ds *:* LISTEN tcp 0 0 bitch.loca:microsoft-ds titan.local:3878 ESTABLISHED tcp 0 0 bitch.local:50439 64.27.17.205:www TIME_WAIT tcp 0 0 bitch.local:50429 64.27.17.205:www TIME_WAIT tcp 0 0 bitch.local:54362 207.114.197.72:www TIME_WAIT tcp 0 0 bitch.local:40993 brwapp10.mpire.com:www TIME_WAIT tcp 0 0 bitch.local:33048 209-250-234-186.ip.:www TIME_WAIT tcp 0 0 bitch.local:33047 209-250-234-186.ip.:www TIME_WAIT tcp 0 0 bitch.local:40997 brwapp10.mpire.com:www TIME_WAIT tcp 0 0 bitch.local:34875 a.tribalfusion.com:www TIME_WAIT tcp 0 0 bitch.local:50474 64.27.17.205:www TIME_WAIT tcp 0 0 bitch.loca:microsoft-ds titan.local:4059 ESTABLISHED tcp 0 0 bitch.local:38626 ad1.p3.vip.rm.sp1.y:www ESTABLISHED tcp 0 0 bitch.local:50528 64.27.17.205:www TIME_WAIT tcp 0 0 bitch.local:46403 media6.snv.vcmedia.:www TIME_WAIT tcp 0 0 bitch.local:33048 209-250-234-186.ip.:www TIME_WAIT tcp 0 0 bitch.local:33047 209-250-234-186.ip.:www TIME_WAIT tcp 0 0 bitch.local:54380 207.114.197.72:www TIME_WAIT tcp 0 0 bitch.local:40997 brwapp10.mpire.com:www TIME_WAIT tcp 0 0 bitch.local:50540 64.27.17.205:www TIME_WAIT tcp 0 0 bitch.local:34875 a.tribalfusion.com:www TIME_WAIT tcp 2896 0 bitch.local:60460 ip67-88-217-231.z21:www ESTABLISHED tcp 0 0 bitch.local:54393 207.114.197.72:www TIME_WAIT tcp 0 0 bitch.local:50474 64.27.17.205:www TIME_WAIT tcp 0 0 bitch.loca:microsoft-ds titan.local:4059 ESTABLISHED tcp 0 0 bitch.local:54348 207.114.197.72:www TIME_WAIT tcp 0 0 bitch.local:41780 www.clickboothlnk.c:www TIME_WAIT tcp 0 0 bitch.local:56484 66.179.234.169:www TIME_WAIT tcp 0 0 bitch.local:45742 cf-in-f147.google.c:www TIME_WAIT tcp 0 0 bitch.local:50523 64.27.17.205:www TIME_WAIT tcp 0 0 bitch.local:38576 ad1.p3.vip.rm.sp1.y:www TIME_WAIT tcp 0 0 bitch.local:41817 rd6.apmebf.com:www TIME_WAIT tcp 0 0 bitch.local:50464 64.27.17.205:www TIME_WAIT tcp 0 0 bitch.local:50536 64.27.17.205:www TIME_WAIT tcp 0 0 bitch.local:38677 ad1.p3.vip.rm.sp1.y:www TIME_WAIT tcp 0 0 bitch.local:46487 media6.snv.vcmedia.:www TIME_WAIT tcp 0 0 bitch.local:38490 lax-agg-n14.panther:www TIME_WAIT tcp 0 0 bitch.local:52755 integraclick.wip.di:www TIME_WAIT tcp 0 0 bitch.local:50448 64.27.17.205:www TIME_WAIT tcp 0 0 bitch.local:56372 207.114.197.71:www TIME_WAIT tcp 0 0 bitch.local:38490 lax-agg-n14.panther:www TIME_WAIT tcp 0 0 bitch.local:52755 integraclick.wip.di:www TIME_WAIT tcp 0 0 bitch.local:50448 64.27.17.205:www TIME_WAIT tcp 0 0 bitch.local:56372 207.114.197.71:www TIME_WAIT tcp 0 0 bitch.local:33105 209-250-234-186.ip.:www TIME_WAIT tcp 0 0 bitch.local:56427 207.114.197.94:www TIME_WAIT tcp 0 0 bitch.local:33025 209-250-234-186.ip.:www TIME_WAIT tcp 0 0 bitch.local:42478 cf-in-f127.google.c:www TIME_WAIT tcp 0 0 bitch.local:56360 207.114.197.71:www TIME_WAIT tcp 0 0 bitch.local:41053 brwapp10.mpire.com:www TIME_WAIT tcp 0 0 bitch.local:50591 64.27.17.205:www TIME_WAIT tcp 0 0 bitch.local:45434 74-203-60-109.stati:www TIME_WAIT tcp6 0 0 [::]:http-alt [::]:* LISTEN tcp6 0 0 [::]:ssh [::]:* LISTEN tcp6 0 0 192.168.1.103%:http-alt 125.65.112.138%308:1678 ESTABLISHED tcp6 0 0 192.168.1.103%:http-alt 58.55.82.117%30867:3436 ESTABLISHED tcp6 0 0 192.168.1.103%:http-alt 58.55.82.117%30867:3572 FIN_WAIT2 tcp6 0 0 192.168.1.103%:http-alt 125.65.112.138%308:3403 ESTABLISHED tcp6 0 0 192.168.1.103%:http-alt 125.65.112.135%308:2924 TIME_WAIT tcp6 0 0 192.168.1.103%:http-alt 58.55.82.117%30867:1582 FIN_WAIT2 tcp6 0 0 192.168.1.103%:http-alt 125.65.112.138%308:4059 TIME_WAIT tcp6 0 0 192.168.1.103%:http-alt 60.215.111.31%308:59084 TIME_WAIT tcp6 0 0 192.168.1.103%:http-alt 222.90.191.21%3086:4406 TIME_WAIT tcp6 0 0 192.168.1.103%:http-alt 125.65.112.138%308:3644 TIME_WAIT tcp6 0 0 192.168.1.103%:http-alt 222.90.191.21%3086:2189 TIME_WAIT tcp6 0 0 192.168.1.103%:http-alt 125.65.112.138%308:2900 ESTABLISHED tcp6 0 0 192.168.1.103%:http-alt 143.109.56.59.bro:63750 ESTABLISHED tcp6 0 0 192.168.1.103%:http-alt 58.55.82.117%30867:1677 FIN_WAIT2 tcp6 0 0 192.168.1.103%:http-alt 125.65.112.135%308:1226 TIME_WAIT tcp6 0 584 192.168.1.103%8191:ssh 66-126-189-162.ce:10583 ESTABLISHED tcp6 0 0 192.168.1.103%:http-alt 125.65.112.138%308:1147 TIME_WAIT tcp6 0 0 192.168.1.103%:http-alt 158.111.56.59.bro:61815 ESTABLISHED tcp6 0 0 192.168.1.103%:http-alt 143.109.56.59.bro:63073 TIME_WAIT When i update my awstats.pl file i always get 20k lines of new records, even when i've only had the server netside for < 5 minutes. This is what my log file is full of: Code: Select all68.188.181.163 - - [28/Aug/2008:13:40:00 -0700] "GET http://adserving.cpxinteractive.com/st?ad_type=pop&ad_size=0x0§ion=256058&banned_pop_types=29&pop_times=1&pop_frequency=86400 HTTP/1.1" 200 4225 "http%3A%2F%2Fwww.megafast.info%2Findex.html" "Mozilla/4.0 (compatible; MSIE 5.5; Windows 98)" 68.188.181.163 - - [28/Aug/2008:13:40:00 -0700] "GET http://adserving.cpxinteractive.com/st?ad_type=pop&ad_size=0x0§ion=256058&banned_pop_types=29&pop_times=1&pop_frequency=86400 HTTP/1.1" 200 4224 "http%3A%2F%2Fwww.megafast.info%2Findex.html" "Mozilla/4.76 [en] (X11; U; SunOS 5.7 sun4u)" 69.20.123.148 - - [28/Aug/2008:13:40:00 -0700] "GET http://ad.adserverplus.com/st?ad_type=pop&ad_size=0x0§ion=289946&banned_pop_types=29&pop_times=1&pop_frequency=86400 HTTP/1.1" 200 4225 "http%3A%2F%2Fwww.vafq.com%2Findex.html" "Mozilla/4.0 (compatible; MSIE 5.0; Windows 98; DigExt; (R1 1.5))" 70.184.245.196 - - [28/Aug/2008:13:40:00 -0700] "GET http://adserving.cpxinteractive.com/rw?title=New%20offer%21&qs=iframe3%3FoNFKABenBACKpQwA%2DDcEAAIAAAAAAP8AA%3D%2C%2Chttp%3A%2F%2Fwww%2Esecommission%2Ecom%2Findex%2Ehtml HTTP/1.1" 200 560 "http%3A%2F%2Fwww.secommission.com%2Findex.html" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; MyIE2; TencentT" 59.56.109.143 - - [28/Aug/2008:13:40:00 -0700] "GET http://a.tribalfusion.com/jr.ad?site=educationatlas&adSpace=ros&tagKey=3973172069&size=728x90|468x60&p=15944259&a=1&flashVer=0&ver=1.14¢er=1&url=http%3A%2F%2Fwww.education-atlas.org%2F&rnd=15952700 HTTP/1.0" 200 1375 "http://www.education-atlas.org/" "Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)" 59.56.111.158 - - [28/Aug/2008:13:40:00 -0700] "GET http://ad.yieldmanager.com/iframe3?q8FPALemBADvAA0A-08EAAIAAAAAAP8AAAAFDgIAAgNfDQYAbE0DAKxvBgAAAAAA//www.mobilemastee.com/ HTTP/1.0" 200 1074 "http://optimizedby.rmxads.com/st?ad_type=iframe&ad_size=300x250§ion=304823" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.0.3705)" 69.20.123.148 - - [28/Aug/2008:13:40:00 -0700] "GET http://ad.yieldmanager.com/imp?Z=0x0&y=29&s=289946&_salt=3871810475&B=2&u=http%3A%2F%2Fwww.vafq.com%2Findex.html HTTP/1.1" 200 6649 "http%3A%2F%2Fwww.vafq.com%2Findex.html" "Mozilla/4.0 (compatible; MSIE 5.0; Windows 98; DigExt; (R1 1.5))" ::1 - - [28/Aug/2008:13:40:01 -0700] "OPTIONS * HTTP/1.0" 200 - "-" "Apache/2.2.9 (Debian) PHP/5.2.6-3 with Suhosin-Patch mod_python/3.3.1 Python/2.5.2 mod_perl/2.0.4 Perl/v5.10.0 (internal dummy connection)" 68.188.181.163 - - [28/Aug/2008:13:40:01 -0700] "GET http://ad.yieldmanager.com/imp?Z=0x0&y=29&s=256058&_salt=1928825373&B=2&u=http%3A%2F%2Fwww.megafast.info%2Findex.html HTTP/1.1" 200 6663 "http%3A%2F%2Fwww.megafast.info%2Findex.html" "Mozilla/4.0 (compatible; MSIE 5.5; Windows 98)" 69.20.123.148 - - [28/Aug/2008:13:40:01 -0700] "GET http://ad.adserverplus.com/rw?title=&qs=iframe3%3Fks9PAJpsBABswwsAIDECAAIAAAAAAP8AAAAFD%3D%2C%2Chttp%3A%2F%2Fwww%2Evafq%2Ecom%2Findex%2Ehtml HTTP/1.1" 200 542 "http%3A%2F%2Fwww.vafq.com%2Findex.html" "Mozilla/4.0 (compatible; MSIE 5.0; Windows 98; DigExt; (R1 1.5))" 68.188.181.163 - - [28/Aug/2008:13:40:01 -0700] "GET http://ad.yieldmanager.com/imp?Z=0x0&y=29&s=256058&_salt=224375794&B=2&u=http%3A%2F%2Fwww.megafast.info%2Findex.html HTTP/1.1" 200 6681 "http%3A%2F%2Fwww.megafast.info%2Findex.html" "Mozilla/4.76 [en] (X11; U; SunOS 5.7 sun4u)" 221.2.225.234 - - [28/Aug/2008:13:40:01 -0700] "GET http://ad.media-servers.net/st?ad_type=ad&ad_size=120x600§ion=267069 HTTP/1.0" 200 4159 "http://www.it2net.com/software/softgrp.htm" "Mozilla/4.76 (Macintosh; U; PPC)" 68.188.181.163 - - [28/Aug/2008:13:40:01 -0700] "GET http://ad.yieldmanager.com/imp?Z=0x0&y=29&s=256058&_salt=2233512953&B=2&u=http%3A%2F%2Fwww.megafast.info%2Findex.html HTTP/1.1" 200 6663 "http%3A%2F%2Fwww.megafast.info%2Findex.html" "Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 4.0)" ::1 - - [28/Aug/2008:13:40:02 -0700] "OPTIONS * HTTP/1.0" 200 - "-" "Apache/2.2.9 (Debian) PHP/5.2.6-3 with Suhosin-Patch mod_python/3.3.1 Python/2.5.2 mod_perl/2.0.4 Perl/v5.10.0 (internal dummy connection)" 68.188.181.163 - - [28/Aug/2008:13:40:02 -0700] "GET http://adserving.cpxinteractive.com/rw?title=&qs=iframe3%3FahM7ADroAwAaeA8AYF8EAAIAAAAAAP8AAAAF%2E%2E%2E8fUJek5z8AgNrQpMPhP%2E%2E%2Eb23Ts%2EM%2EAAAAAAAAAAD%2E%2Ez%2EnGUX6PwAAAAAAAAAAAAAAAAAAAAAAAAAAAA%3D%2C%2Chttp%3A%2F%2Fwww%2Emegafast%2Einfo%2Findex%2Ehtml HTTP/1.1" 200 547 "http%3A%2F%2Fwww.megafast.info%2Findex.html" "Mozilla/4.76 [en] (X11; U; SunOS 5.7 sun4u)" 68.188.181.163 - - [28/Aug/2008:13:40:03 -0700] "GET http://adserving.cpxinteractive.com/rw?title=&qs=iframe3%3FahM7ADroAwBPAgwA268DAAIAAAAAAP8AAAAA%3D%2C%2Chttp%3A%2F%2Fwww%2Emegafast%2Einfo%2Findex%2Ehtml HTTP/1.1" 200 547 "http%3A%2F%2Fwww.megafast.info%2Findex.html" "Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 4.0)" I would like to be able to deny access to nearly all everything except for a couple of known IP addresses. I've tried setting up LIMIT directives in .htaccess but that doesn't do it. I've read the links off google that talks about mod_rewrite and i've added the generic stuff to my .htaccess files but no go. So what are my options to limit this? Can I add information to my /etc/hosts.allow and /etc/hosts.deny to only allow certain IP's from accessing the machine and would this work? and if so how would i properly set it up? side note: the machine is a dev box that i use for testing when i'm at home and it sits in my closet. when i am at work i like to use it for other ... "purposes". any help is greatly appreciated. | What are you using for a firewall? |
Hello, i got a system with only the packages from the netinst 4.0r4 iso image. There are two Network cards installed, one onboard and one in a pci slot. Both have their ip addresses assigned and both recognize link up´s and down´s. Pinging the pci card gives somethin link this: Code: Select allPING 192.168.23.1 (192.168.23.1) 56(84) bytes of data. 64 bytes from 192.168.23.1: icmp_seq=1 ttl=64 time=1891 ms 64 bytes from 192.168.23.1: icmp_seq=2 ttl=64 time=884 ms 64 bytes from 192.168.23.1: icmp_seq=3 ttl=64 time=1884 ms 64 bytes from 192.168.23.1: icmp_seq=4 ttl=64 time=884 ms 64 bytes from 192.168.23.1: icmp_seq=5 ttl=64 time=1885 ms 64 bytes from 192.168.23.1: icmp_seq=6 ttl=64 time=885 ms --- 192.168.23.1 ping statistics --- 6 packets transmitted, 6 received, 0% packet loss, time 5007ms rtt min/avg/max/mdev = 884.541/1386.067/1891.600/501.174 ms, pipe 2 It doesnt matter if iam pinging from or to this device, the rtt values are similar. The link is correctly recognized as 100MBit Full Duplex, but getting something via sftp for example, gives a speed of next to nothing. Everything works fine for the Onboard NIC, pinging the pci NIC locally works just fine too. Hardware Compaq Deskpro 6350 lspci: Code: Select all00:00.0 Host bridge: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX Host bridge (rev 02) 00:01.0 PCI bridge: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX AGP bridge (rev 02) 00:0a.0 Ethernet controller: Intel Corporation 82557/8/9 [Ethernet Pro 100] (rev 05) 00:0e.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10) 00:14.0 ISA bridge: Intel Corporation 82371AB/EB/MB PIIX4 ISA (rev 02) 00:14.1 IDE interface: Intel Corporation 82371AB/EB/MB PIIX4 IDE (rev 01) 00:14.2 USB Controller: Intel Corporation 82371AB/EB/MB PIIX4 USB (rev 01) 00:14.3 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ACPI (rev 02) 01:00.0 VGA compatible controller: ATI Technologies Inc 3D Rage Pro AGP 1X/2X (rev 5c) The Realtek Card is the pci NIC What i have tried until now: - changing the NIC, 3com 905C-TX - i got two of these Deskpro PC´s, both produce the same results - changed every outside network equipment, cables, with switch and without, - different pc´s connected to the interface To check if this is a hardware issue, I booted pfsense live cd and knoppix, and with both of them ping and overall network performance is fine. What i havent tried to reproduce with the live cds, is an issue with the installed system, where once the onboard NIC is deactivated, the pci one doesnt work at all. Now that iam reading this, I get some ideas around this issue but at this point Iam more than happy if anyone got some ideas. Thanks kernel: 2.6.18-6-686 lsmod: Code: Select allModule Size Used by ipv6 226272 10 button 6672 0 ac 5188 0 battery 9636 0 dm_snapshot 15552 0 dm_mirror 19152 0 dm_mod 50232 2 dm_snapshot,dm_mirror loop 15048 0 parport_pc 32132 0 floppy 53156 0 serio_raw 6660 0 parport 33256 1 parport_pc shpchp 33024 0 pci_hotplug 28704 1 shpchp rtc 12372 0 psmouse 35016 0 pcspkr 3072 0 intel_agp 22204 1 agpgart 29896 1 intel_agp i2c_piix4 8268 0 i2c_core 19680 1 i2c_piix4 evdev 9088 0 ext3 119240 2 jbd 52456 1 ext3 mbcache 8356 1 ext3 ide_cd 36064 0 ide_disk 14848 4 cdrom 32544 1 ide_cd e100 32232 0 uhci_hcd 21164 0 piix 9444 0 [permanent] generic 4868 0 [permanent] usbcore 112644 2 uhci_hcd ide_core 110504 4 ide_cd,ide_disk,piix,generic 8139cp 21920 0 8139too 25120 0 mii 5344 3 e100,8139cp,8139too thermal 13608 0 processor 28840 1 thermal fan 4804 0 /etc/network/interfaces Code: Select all# The loopback network interface auto lo iface lo inet loopback # The primary network interface allow-hotplug eth0 iface eth0 inet static address 192.168.23.1 netmask 255.255.255.0 network 192.168.23.0 broadcast 192.168.23.255 gateway 192.168.23.1 # dns-* options are implemented by the resolvconf package, if installed dns-nameservers 192.168.23.1 dns-search local allow-hotplug eth1 iface eth1 inet dhcp | Hello, I've finally found the solution to my problem. apending Code: Select allnoapic acpi=off to the kernel while booting solved every issue I experienced so far. -> ping works just fine -> disabling eth0 doesnt result in eth1 not working cheers |
Hi. I have a machine on which the sounds works great with Ubuntu 8.04, although I use Debian as the main OS. I love Debian, but I can't get sound working at all. It's a Toshiba u400 with all intel (intel graphics, intel sound, intel wireless). It's Lenny, although with kernel 2.6.26 from sid. First question: how do I rid of pulseaudio? Whenever I remove the packages, it comes back as an upgrade suggestion from Synaptic. Secondly, I want to use Skype and Flash. Is Lenny's pulseaudio ready for this? Relatively old posts (end of 2007) indicates that Flash will crash frequently, and the point of using Lenny is to have stability. Can I get Skype to work? At the moment, when pulseaudio is installed, I get horrible squealing noises. I've read lots of advice about change /etc/pulse/daemon.conf and adding my user to pulse-re groups etc but 1) none of this helps 2) Ubuntu doesn't seem to have changes to /etc/pulse/daemon.conf and neither does it put users into the pulse groups, so this advice seems out of date. | Add this line to /etc/apt/apt.conf so that recommended packages are not installed:Code: Select allAPT::Install-Recommends false;Create the file if it doesn't exist and that should take care of your problem with reinstalls of pulseaudio. Skype works fine on Lenny. I've just installed the latest package from the skype site and although it only shows the download link for Etch it works fine for me on Lenny. No problem with flash either, but you will have to get flashplayer-mozilla from the multimedia repositories |
I wonder how do recompile a Debian kernel which I have installed through apt? I noticed that the /usr/src directory is empty. | You might find this threadin the howto section of the forum interesting. |
Switched to Debian about a month ago. Started with Etch; sound worked fine, but video drivers were giving me trouble, so I started over with a fresh Lenny install about a week ago. Now sound is behaving strangely. (Actually, I should note that when I was trying the install, for some reason the Lenny installer couldn't detect my hard drive properly, so I started with a base install of Etch, then upgraded immediately to Lenny before installing desktop and Gnome packages. So it's not exactly a "fresh" install of Lenny.) Basic issue is that most sound apps only work when run as root. I checked to be sure that the desktop user is a member of the audio group; it is. Also, to be thorough, I've tried changing permissions (temporarily) on all the audio devices in /dev to include everyone... that also didn't fix the problem. Still only root can use sound completely. Why I say "completely" -- just to try something different, I downloaded the VLC player. That actually works for all users. So does the non-free flash plugin for Iceweasel. So sound does appear to work sometimes when run in user apps. So, the problems are Totem, Rhythmbox, even alsamixer. Also, games don't appear to be able to use sound either. None of these work when launched from Gnome menus or even when called by the desktop user from the command line. But when launched from a root terminal, they ALL work correctly. The command "alsamixer" at the command line (by a normal user) still gives the message: alsamixer: function snd_ctl_open failed for default: No such device ... even if, as I said, I've given explicitly set permissions at the command line for all audio devices in /dev to be used by everyone. After doing such things, I have reset Alsa through "/etc/init.d/alsa-utils restart" and even through "alsa force-reload". Still nothing. Other programs (e.g., Rhythmbox) will launch and load the file, but the player won't play (i.e., play button can be pushed, but nothing happens). It still looks like a permissions problem, but I'm not sure where to look next. Any help or thoughts about next steps for troubleshooting would be greatly appreciated. | Are you part of the audio group? Also, try running alsaconf. |
I'm compiling a new kernel with apm support, but I'm having some problems. When I get to make-kpkg I get this (the bold is the error): exec make -f /usr/share/kernel-package/ruleset/minimal.mk clean ====== making target minimal_clean [new prereqs: ]====== Cleaning. test ! -f .config || cp -pf .config config.precious test ! -e stamp-building || rm -f stamp-building test ! -f Makefile || \ make ARCH=xen distclean make[1]: Entering directory `/usr/src/linux-2.6.25' Makefile:514: /usr/src/linux-2.6.25/arch/xen/Makefile: No such file or directory make[1]: *** No rule to make target `/usr/src/linux-2.6.25/arch/xen/Makefile'. Stop. make[1]: Leaving directory `/usr/src/linux-2.6.25' make: *** [minimal_clean] Error 2 What is the reason for this error? I know it says ther's no Makefile, but it should be there; right? I downloaded the kernel from http://www.kernel.org/pub/linux/kernel/ ... 25.tar.bz2 I figure I might as well post this error, even though I'm probably only getting it because of the first one. The next step in compiling is Code: Select allfakeroot make-kpkg --initrd --append-to-version=-custom kernel_image kernel_headers so I do that and get this: Code: Select alldebian:/usr/src/linux-2.6.25# fakeroot make-kpkg --initrd --append-to-version=-custom kernel_image kernel_headers exec make -f /usr/share/kernel-package/ruleset/minimal.mk debian APPEND_TO_VERSION=-custom INITRD=YES ====== making target minimal_debian [new prereqs: ]====== This is kernel package version . test -d debian || mkdir debian test ! -e stamp-building || rm -f stamp-building test -f debian/control || sed -e 's/=V/2.6.25-custom/g' \ -e 's/=D/2.6.25-custom-10.00.Custom/g' -e 's/=A/i386/g' \ -e 's/=SA//g' -e 's/=L/ /g' \ -e 's/=I//g' \ -e 's/=CV/2.6/g' \ -e 's/=M/Unknown Kernel Package Maintainer <unknown@unconfigured.in.etc.kernel-pkg.conf>/g' \ -e 's/=ST/linux/g' -e 's/=B/xen/g' \ /usr/share/kernel-package/Control > debian/control test -f debian/changelog || sed -e 's/=V/2.6.25-custom/g' \ -e 's/=D/2.6.25-custom-10.00.Custom/g' -e 's/=A/i386/g' \ -e 's/=ST/linux/g' -e 's/=B/xen/g' \ -e 's/=M/Unknown Kernel Package Maintainer <unknown@unconfigured.in.etc.kernel-pkg.conf>/g' \ /usr/share/kernel-package/changelog > debian/changelog install -p -m 755 /usr/share/kernel-package/rules debian/rules for file in ChangeLog Control Control.bin86 config templates.in rules; do \ cp -f /usr/share/kernel-package/$file ./debian/; \ done for dir in Config docs examples ruleset scripts pkg po; do \ cp -af /usr/share/kernel-package/$dir ./debian/; \ done test -d ./debian/stamps || mkdir debian/stamps exec debian/rules APPEND_TO_VERSION=-custom INITRD=YES kernel_image kernel_headers /bin/sh: line 0: [: -ge: unary operator expected /bin/sh: line 0: [: -ge: unary operator expected /bin/sh: line 0: [: -ge: unary operator expected /bin/sh: line 0: [: -lt: unary operator expected /bin/sh: line 0: [: -eq: unary operator expected /bin/sh: line 0: [: -eq: unary operator expected /bin/sh: line 0: [: -eq: unary operator expected /bin/sh: line 0: [: -lt: unary operator expected /bin/sh: line 0: [: -eq: unary operator expected /bin/sh: line 0: [: -eq: unary operator expected /bin/sh: line 0: [: -gt: unary operator expected /bin/sh: line 0: [: -ge: unary operator expected /bin/sh: line 0: [: -gt: unary operator expected /bin/sh: line 0: [: -ge: unary operator expected /bin/sh: line 0: [: -ge: unary operator expected ====== making target CONFIG-common [new prereqs: testdir]====== ====== making target debian/stamp-conf [new prereqs: ]====== The changelog says we are creating 2.6.25-custom. However, I thought the version is ..-custom exit 3 make: *** [debian/stamp-conf] Error 3 That (^) error is probably being caused by the first (I think). Anyone know why this is happening and how I could fix it? Thanks for any help. | you might want to try disabling xen support if you have not already done so. |
So I got my self a new ethernet card today - A Realtek r8169 (1Gb) I have used realtek for yers now and I find them very easy to install on Debian, but this time I really have no clues what to do. I searched this site and Im no quite sure if anyone has the same problem and the same kernel as me, so I started a new thread. Let me paste some info to get this party going Code: Select alluname -a Linux gwdebian.net 2.6.25-2-686 #1 SMP Fri Jul 18 17:46:56 UTC 2008 i686 GNU/Linux Code: Select allsnip from ifconfig eth0_rename Link encap:Ethernet HWaddr 00:08:a1:bd:76:fa Code: Select alllspci 02:01.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8169 Gigabit Ethernet (rev 10) Code: Select all/etc/init.d/networking restart eth0: ERROR while getting interface flags: No such device Failed to bring up eth0. (and then its renamed to eth_rename) So how can I make this work? The pci slot previously housed a 100mbit realtek ethernet card. Google gave me som hints to upgrade the kernel to a *.rc5-kernel but I could not find that one with a simple apt-cache search linux-images I got a another onboard ethernet card eth1, witch provides internet and that works. Any ideas? | could you post the output of this file: Code: Select allcat /etc/udev/rules.d/z25_persistent-net.rules This file keeps track of your ethernet , if you change out the ethernet card , you'll need to either edit it or just delete it and reboot. Udev will recreate it with your new NIC. |
I just installed lenny, and now I'm having trouble with getting sound to work. I had this problem before, but don't remember how I fixed it. I have linux-sound-base and alsa installed. I've googled and searched here, but I couldn't find an answer. I have also checked if I needed to add myself to the 'sound' group, but there isn't one. My sound card is a SiS SI7012. Thanks for any help. | try running alsaconf as root |
I get this strange error when trying to ppracer and glxgears: Code: Select allerror while loading shared libraries: libGL.so.1: cannot open shared object file: No such file or directory Google reveals that this problem is very common, but it doesn't show a uniform solution. What is the proper way to fix this? | libGL.so.1 is part of the OpenGL library. To solve this problem we need to know what graphics card and Debian version you are using. Please post 1. Your Debian version (stable/etch/4.0, testing/lenny or unstable/sid) 2. The output of the "lspci" command. (Open a terminal and type "lspci | grep VGA" without the quotes, and post the output here) |
Hi everyone, I recently reinstalled Lenny on one of my computers, but during the installation, I gave the computer the name "Paul." This is a problem because I already have another computer that I named "Paul." The new installation is not available to the network because it has the same hostname. Therefore, I want to change the hostname to PaulsLaptop. So I replace "Paul" in /etc/hosts with "PaulsLaptop" and I even use the hostname command like so.. Code: Select allhostname PaulsLaptop When I check it with uname -a, i can confirm that the hostname IS PaulsLaptop. However, whenever I reboot the hostname seems to be reset back to "Paul", and I get a warning when I use sudo about could not find host "Paul". Can anyone shine anymore light on this? | The hostname is set at boot time by reading from /etc/hostname, so as root edit /etc/hostname and /etc/hosts and then use the hostname command or reboot (the command hostname doesn't make a persistent change, it ends with the session). |
I've installed Debian on my laptop, it boots fine but when xorg starts up I only get a blank screen. Booting in single-user mode doesn't work (it freezes during startup). I've tried changing the driver to vesa in xorg using a live cd, but this didn't work either. Therefor I wonder how do I troubleshoot Debian? How can I boot and do some basic troubleshooting? Thanks in advance! | From a terminal try this: Code: Select alldpkg-reconfigure xserver-xorg |
Hi! I'm on my new, lovely Thinkpad T61p laptop, but there's already some trouble in paradise: when I'm using battery, there is a whining noise. It goes away immediately if I plug the ac-cord, and it doesn't appear at all if I boot with acpi=off using battery power. I figure the noise is due to the processors being scaled when on battery, since I don't think any other acpi function would make a noise that appears and goes away like this. I can't run with acpi=off, because the nvidia card won't work if I do (for some reason). So my question is, is there some other way to stop acpi from scaling my processors? (I checked some of the older threads, and tried changing the values for cpufreq in gconf, but it didn't help.) I guess another option would be to blacklist the acpi processor module, or to remove it entirely in a custom kernel, but I don't know if it does something else which is essential to my system. The funny thing is that the noise started to appear *after* I used the thinkpad sleep-button for the first time. For some reason, the pc-speaker also came to life. Can anyone explain this? Lots of questions! Please help! | To stop CPU scalingCode: Select allcpufreq-selector -g performanceI'm not sure if it's select or selector though. |
When I'm at a terminal and I type apt-get update I get error messages then today when I opened synaptic I got a bunch of them as well so I copied then down. ----+++---- W: Couldn't stat source package list http://ftp.us.debian.org etch/non Packages (/var/lib/apt/lists/ftp.us.debian.org_debian_dists_etch_non_binary-i386_Packages) - stat (2 No such file or directory) W: Couldn't stat source package list http://ftp.us.debian.org etch/free Packages (/var/lib/apt/lists/ftp.us.debian.org_debian_dists_etch_free_binary-i386_Packages) - stat (2 No such file or directory) The repository might be no longer available or could not be contacted because of network problems. If available an older version of the failed index will be used. Otherwise the repository will be ignored. Check your network connection and the correct writing of the repository address in the preferences. -------------------- http://security.debian.org/dists/etch/updates/Release: Unable to find expected entry contrIb/source/Sources in Meta-index file (malformed Release file?) http://ftp.us.debian.org/debian/dists/etch/Release: Unable to find expected entry non/binary-i386/Packages in Meta-index file (malformed Release file?) -------++++------ What should I do to correct this. I am very new to linux and as such I apologise if the answer is simple but I'm still learning. | Failed to fetch http://security.debian.org/dists/etch/updates/Release Unable to find expected entry contrIb/source/Sources in Meta-index file (malformed Release file?) This is caused by this line: deb-src http://security.debian.org/ etch/updates main contrIb Look closely... You have a capital I in "contrib" |
Code: Select all# iwconfig lo no wireless extensions. eth0 no wireless extensions. wlan0 IEEE 802.11g ESSID:"Verizon" Mode:Managed Frequency:2.462 GHz Access Point: Not-Associated Bit Rate:108 Mb/s Encryption key:[Redacted by me] Security mode:restricted 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 ok so far so good. "verizon" is what i want to connect to and my key is there (WEP) now:Code: Select all# dhclient wlan1 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/ Listening on LPF/wlan1/00:14:6c:ed:43:23 Sending on LPF/wlan1/00:14:6c:ed:43:23 Sending on Socket/fallback DHCPDISCOVER on wlan1 to 255.255.255.255 port 67 interval 5 DHCPDISCOVER on wlan1 to 255.255.255.255 port 67 interval 6 DHCPDISCOVER on wlan1 to 255.255.255.255 port 67 interval 6 DHCPDISCOVER on wlan1 to 255.255.255.255 port 67 interval 6 DHCPDISCOVER on wlan1 to 255.255.255.255 port 67 interval 11 DHCPDISCOVER on wlan1 to 255.255.255.255 port 67 interval 15 DHCPDISCOVER on wlan1 to 255.255.255.255 port 67 interval 12 No DHCPOFFERS received. No working leases in persistent database - sleeping. aaaaaah! please help a stray fool o debianeers! i tried connecting to other access points (my neighbors with permission) and same thing happened. i tried using a different device to connect (a usb one instead of the built-in) and again the same thing. i tried using ethernet and it works fine. finally, they all work on vista (i tried on the first hours after buying the machine before installing debian over it) and it works in ubuntu. help much appreciated | Are you sure the wlan1 link is active? Try # ifconfig wlan1 up. Then try the # dhclient wlan1 again. |
On my laptop at the command line as root, some text was accidentally highlighted and the text was entered when I accidentally hit the third mouse button or graced my touch pad in some way. I am left with /etc/init.d/networking script as an empty file. Looks like having a ">" at the end of my shell prompt is not such a good thing. Since the last thing I ran was "/etc/ini.d/networking restart", it got zapped. Is there a package I can reinstall to get this file back? Thanks. | Looks like netbase is the package I need. Unfortunately, I tried reinstalling but the script was not restored. Instead there was a waring about "/etc/init.d/networking" missing some LSB information. Any thoughts? |
I know how to mount to NTFS partitions. I just don't want them to appear on my desktop. Ubuntu for some reason has them enabled where I want them. Under the "Places > Computer" position. I have tried to mount them using different directories , "/media/ or /mnt". I searched and read several solutions but nothing worked. Once they are mounted they appear on my Desktop. Thanks for any help. | Systemtools --> configuration --> Apps --> Nautilus --> Desktop Uncheck "volumes_visible" |
I'm using a Luks encrypted USB-HDD, which worked perfectly on Lenny until recently.The USB HDD does not get auto mounted. The password dialog pops up, but the disk does not get mounted. THE CASE: * plug in an encrypted HDD - ok * the password dialog pops up - ok * a Nautilus window with the content the disk DOESN'T pops up * drive is visible but not mounted, if I click on it it disappear. Can somebody help me with step by step guidance, to find is it HAL, LUKS or something else? cheers, tomislav | What if any updates have you installed lately? |
New to Debian but quite familiar with Linux. On a Debian virtual server, I cannot set the time with "date". Code: Select all# date && date --set "01:19:10" && date Fri Jul 4 01:20:00 CEST 2008 Fri Jul 4 01:19:10 CEST 2008 Fri Jul 4 01:20:00 CEST 2008 So no error is given, but the date is not set. Needless to say, this works perfectly on other (non-Debian, non-virtual) systems I have. System information: Code: Select all# cat /etc/debian_version 4.0 # uname -a Linux localhost 2.6.18-5-xen-vserver-686 #1 SMP Wed Oct 3 04:36:02 UTC 2007 i686 GNU/Linux # date --version date (GNU coreutils) 5.97 | That is indeed unusual. I am unable to help you but I did run your test on both Slitaz and Slackware running under VirtualBox and the date was updated as should be expected. Good luck with finding a solution. |
Firstly, sorry if this could be found easily with searching - I'm having to post this on a poorly backup machine screwed to the wall (which normally acts a monitor - i'd explain better if the primary machine were working!) secondly, sorry if this is not best place for this post - see point one. thirdly, apologies for typing - see point one. I can get to a GUI login screen I try to login and I get dumped back to that same login screen I can login to a terminal (ctrl-alt-f1) OK I have tried different window managers, all with the same result (i normally use kde) I can't think what has happened - Just turned it of for an hour or so and then it wouldn't restart. I don't think I've installed anything weird recently. I seem to have been upgraded to kernel 2.6.25 (?), but I don't think this is the problem, as i thik that happened a while ago. There' probably lots of stuff which I should also mention, but I'm a bit flustered - this is the millionth thing which has gone wrong this month preventing me from getting on with my employment-getting project. It's enough to make one believe in a greater power - random chance couldn't possibly be this annoying.... Any ideas? Ta | One possibility is that you no longer own the file ~/.ICEauthority. This can happen if you use su or sudo to run a KDE app as root in a non KDE environment. Check this using ls Code: Select all~$ ls -ao. If you find that .ICEauthority is owned by root simply delete it (as root) and problem solved. |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.