Where has my Windows partition gone?
Thanks to everyone for all of the suggestions. The issue is now solved. I resolved it as follows: # aptitude install os-prober (It was not installed) # os-prober # update-grub First, was windows menu there before? It was, and I don't know when or how it was deleted. I assume that it happened during an update. I can't say exactly when, as I haven't looked to use the windows partition for a while. Again, Thanks everyone. John -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/aanlktimy4sd+vbxnwbvpa042ly2xyuqt0jdbuhm0w...@mail.gmail.com
Where has my Windows partition gone?
Hello, I have a dual boot laptop running squeeze. I update regularly. I rarely use the Windows partition – I have not used it for several months. However, it now appears to be gone, according to grub. At least, when I boot up, and get the blue screen with the list of options, the Windows one is not there. Instead I get a list of kernels But “fdisk -l” says it is still there. Device Boot Start End Blocks Id System /dev/sda1 1 11 88326 de Dell Utility /dev/sda2 * 12262220972857+ 7 HPFS/NTFS /dev/sda32623523320972857+ 7 HPFS/NTFS /dev/sda45234 12161556491605 Extended /dev/sda55234719115727603+ 83 Linux /dev/sda671927452 2096451 82 Linux swap / Solaris /dev/sda77453 1216137825011 83 Linux Any ideas? John -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/aanlktin_uf1h_nmuuqpwyk8my0d2pwk-f681mqa7p...@mail.gmail.com
Where has my Windows partition gone?
Try: update-grub as root! Thank you. Unfortunately, this did not do the trick: # update-grub Generating grub.cfg ... Found background image: moreblue-orbit-grub.png Found linux image: /boot/vmlinuz-2.6.32-5-686 Found initrd image: /boot/initrd.img-2.6.32-5-686 Found linux image: /boot/vmlinuz-2.6.32-3-686 Found initrd image: /boot/initrd.img-2.6.32-3-686 Found linux image: /boot/vmlinuz-2.6.32-trunk-686 Found initrd image: /boot/initrd.img-2.6.32-trunk-686 Found linux image: /boot/vmlinuz-2.6.30-2-686 Found initrd image: /boot/initrd.img-2.6.30-2-686 Found linux image: /boot/vmlinuz-2.6.30-1-686 Found initrd image: /boot/initrd.img-2.6.30-1-686 Found linux image: /boot/vmlinuz-2.6.26-2-686 Found initrd image: /boot/initrd.img-2.6.26-2-686 done Any other ideas -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/aanlktikw_o080bbol=17v39qpyhyqvkov3gl3nhxm...@mail.gmail.com
curious gnome desktop behaviour after upgrade
Then my vote goes to sit and wait :-) I sat and waited and nothing happened. Today, I did more Googleing and found a sledgehammer solution. Go to runlevel 3 and login. Then issue the command $ rm -rf .gnome .gnome2 .gconf .gconfd Reboot. Your gnome-panel settings will be reset to the defaults, but at least things work again. John -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/aanlktinxj-fzelpuohsdiu_1zlbdp7i2iix7x3qj3...@mail.gmail.com
curious gnome desktop behaviour after upgrade
Hello, I am using squeeze on a dell laptop, and am using Gnome, as came with the standard installation. Yesterday, after a big “safe-upgrade” my desktop started to behave curiously. When I open a console on the GUI and minimize it, it appears to go to the bottom right corner, and then disappears completely. Then the Panel on the top panel no longer functions. Icons on the desktop continue to function. If I open another app, all of the buttons on the top panel disappear, except for the volume button. Then the bottom panel becomes completely bank. Any ideas what has happened? John -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/u2r1f1816a91005050100v14e02aa3tc4ec8d64a4ec4...@mail.gmail.com
Re: curious gnome desktop behaviour after upgrade
Thanks Camaleón, - First try: run killall gnome-panel. - Second thing to check: create a new panel and see if behaves correctly when you minimize the applications. - Thrird try: create a new user and login with it. I did all of this. Same behaviour, even with the new user. John -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/w2j1f1816a91005050155m303923ees65935cca86b2b...@mail.gmail.com
curious gnome desktop behaviour after upgrade
What would ye think of doing aptitude purge gnome followed by aptitude install gnome Is that likely to break lots of other things? John -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/z2j1f1816a91005050236o9a2ab96bxd1346469a9023...@mail.gmail.com
downloaded .jnlp won't open
Is it possible to make this change permanent, or do I need to echo 0 /proc/sys/net/ipv6/bindv6only every time I restart? John -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/v2h1f1816a91004280344ta1fa9942q9e6df5832493f...@mail.gmail.com
downloaded .jnlp won't open
I am using squeeze. To join a webcast, I download a .jnlp file. ( I am using Iceweasel) When it is finished downloading, a pop-up box offers me to open it with Sun Java 6 Web Start (default). I accept, and then I get a number of errors, with the heading Application error - unable to launch the application When I enquired with the supplier, I was told that I need to have the Java Runtime Environment from www.java.com installed. I am probably trying to open the .jnlp with the wrong Java. Questions: How do install the java from www.java.com using aptitude? How do I ensure that this is the Java that is automatically chosen from within Iceweasel to open .jnlp file? John -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/l2s1f1816a91004270739u398b9f3fh891bd9e4cfcf8...@mail.gmail.com
downloaded .jnlp won't open
Camaleón, Run update-alternatives --display java # update-alternatives --display java java - auto mode link currently points to /usr/lib/jvm/java-6-openjdk/jre/bin/java /usr/bin/gij-4.3 - priority 43 /usr/bin/gij-4.4 - priority 1044 /usr/lib/jvm/java-6-openjdk/jre/bin/java - priority 1061 slave java.1.gz: /usr/lib/jvm/java-6-openjdk/jre/man/man1/java.1.gz /usr/lib/jvm/java-6-sun/jre/bin/java - priority 63 slave java.1.gz: /usr/lib/jvm/java-6-sun/jre/man/man1/java.1.gz /usr/lib/jvm/java-gcj/jre/bin/java - priority 1043 slave java.1.gz: /usr/lib/jvm/java-gcj/man/man1/java.1.gz Current `best' version is /usr/lib/jvm/java-6-openjdk/jre/bin/java. about:plugins And look for the plugin in charge of handling Java files (checkout the path to the file). Java(TM) Plug-in 1.6.0_16 File name: /usr/lib/jvm/java-6-sun-1.6.0.16/jre/lib/i386/libnpjp2.so The next generation Java plug-in for Mozilla browsers. MIME Type Description Suffixes Enabled application/x-java-vm Java™ Plug-in Yes application/x-java-applet Java™ Plug-in Applet Yes application/x-java-applet;version=1.1 Java™ Plug-in Yes application/x-java-applet;version=1.1.1 Java™ Plug-in Yes application/x-java-applet;version=1.1.2 Java™ Plug-in Yes application/x-java-applet;version=1.1.3 Java™ Plug-in Yes application/x-java-applet;version=1.2 Java™ Plug-in Yes application/x-java-applet;version=1.2.1 Java™ Plug-in Yes application/x-java-applet;version=1.2.2 Java™ Plug-in Yes application/x-java-applet;version=1.3 Java™ Plug-in Yes application/x-java-applet;version=1.3.1 Java™ Plug-in Yes application/x-java-applet;version=1.4 Java™ Plug-in Yes application/x-java-applet;version=1.4.1 Java™ Plug-in Yes application/x-java-applet;version=1.4.2 Java™ Plug-in Yes application/x-java-applet;version=1.5 Java™ Plug-in Yes application/x-java-applet;version=1.6 Java™ Plug-in Yes application/x-java-applet;jpi-version=1.6.0_16 Java™ Plug-in Yes application/x-java-bean Java™ Plug-in JavaBeans Yes application/x-java-bean;version=1.1 Java™ Plug-in Yes application/x-java-bean;version=1.1.1 Java™ Plug-in Yes application/x-java-bean;version=1.1.2 Java™ Plug-in Yes application/x-java-bean;version=1.1.3 Java™ Plug-in Yes application/x-java-bean;version=1.2 Java™ Plug-in Yes application/x-java-bean;version=1.2.1 Java™ Plug-in Yes application/x-java-bean;version=1.2.2 Java™ Plug-in Yes application/x-java-bean;version=1.3 Java™ Plug-in Yes application/x-java-bean;version=1.3.1 Java™ Plug-in Yes application/x-java-bean;version=1.4 Java™ Plug-in Yes application/x-java-bean;version=1.4.1 Java™ Plug-in Yes application/x-java-bean;version=1.4.2 Java™ Plug-in Yes application/x-java-bean;version=1.5 Java™ Plug-in Yes application/x-java-bean;version=1.6 Java™ Plug-in Yes application/x-java-bean;jpi-version=1.6.0_16 Java™ Plug-in Yes Note 1. Can you send the link to the file you are trying to launch? the link that I am trying to launch is at https://www.sans.org/webcasts/archive/ You need to create an account with sans.org before launching a webcast. Thanks John -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/v2n1f1816a91004270822iae8ea182kdabf62481d338...@mail.gmail.com
downloaded .jnlp won't open
How about these sample files? Can you run them? http://pscode.org/jws/api.html These would not run either. they gave the same type of error. The following are the details. com.sun.deploy.net.FailedDownloadException: Unable to load resource: http://www.pscode.org/jws/basicserv.jnlp at com.sun.deploy.net.DownloadEngine.actionDownload(DownloadEngine.java:1347) at com.sun.deploy.net.DownloadEngine.getCacheEntry(DownloadEngine.java:1487) at com.sun.deploy.net.DownloadEngine.getCacheEntry(DownloadEngine.java:1465) at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(DownloadEngine.java:1568) at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(DownloadEngine.java:1496) at com.sun.deploy.net.DownloadEngine.getResource(DownloadEngine.java:217) at com.sun.deploy.net.DownloadEngine.getResource(DownloadEngine.java:201) at com.sun.javaws.Launcher.updateFinalLaunchDesc(Launcher.java:447) at com.sun.javaws.Launcher.prepareToLaunch(Launcher.java:232) at com.sun.javaws.Launcher.prepareToLaunch(Launcher.java:183) at com.sun.javaws.Launcher.launch(Launcher.java:104) at com.sun.javaws.Main.launchApp(Main.java:403) at com.sun.javaws.Main.continueInSecureThread(Main.java:250) at com.sun.javaws.Main$1.run(Main.java:111) at java.lang.Thread.run(Thread.java:619) I did as you said, using gedit, and used wget to get for example http://www.pscode.org/jws/basicserv.jar But when I right click on it, and ask for it to be opened with Sun Java 6 Runtime, nothing happens. John -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/m2q1f1816a91004270929ie2260eect9b7d00a62dd54...@mail.gmail.com
downloaded .jnlp won't open
Does some of this errors sad something like there is no network? Yes, they always say Unable to load resource: -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/n2s1f1816a91004270936ye8b9ad89o717fab10ff8fc...@mail.gmail.com
downloaded .jnlp won't open
cat /proc/sys/net/ipv6/bindv6only if output is 1 then: echo 0 /proc/sys/net/ipv6/bindv6only -- Thanks Goran. That fixed it. Anybody know what was the problem? -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/n2g1f1816a91004270951mb5bcfd94p13b23eed96558...@mail.gmail.com
aptitude upgrade problems
Hello, I am using Lenny. When I try to upgrade, this is what happens: # aptitude safe-upgrade Reading package lists... Done Building dependency tree Reading state information... Done Reading extended state information Initializing package states... Done Reading task descriptions... Done Resolving dependencies... Resolving dependencies... Resolving dependencies... Resolving dependencies... Resolving dependencies... Resolving dependencies... Resolving dependencies... Resolving dependencies... The following packages have unmet dependencies: cvsnt: Conflicts: cvs but 1:1.12.13-12 is installed. The following is my sources.list: $ cat /etc/apt/sources.list # # deb cdrom:[Debian GNU/Linux 5.0.0 _Lenny_ - Official i386 NETINST Binary-1 20090214-16:03]/ lenny main #deb cdrom:[Debian GNU/Linux 5.0.0 _Lenny_ - Official i386 NETINST Binary-1 20090214-16:03]/ lenny main deb http://ftp.ie.debian.org/debian/ squeeze main non-free contrib deb-src http://ftp.ie.debian.org/debian/ squeeze main non-free contrib deb http://security.debian.org/ squeeze/updates main contrib non-free deb-src http://security.debian.org/ squeeze/updates main contrib non-free deb http://volatile.debian.org/debian-volatile squeeze/volatile main contrib non-free deb-src http://volatile.debian.org/debian-volatile squeeze/volatile main contrib non-free deb http://www.debian-multimedia.org squeeze main deb http://apt.wicd.net squeeze extras deb http://www.openprinting.org/download/printdriver/debian/ lsb3.2 main Any ideas? John -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1f1816a91003230657p29fff3dala02fb15f0aac1...@mail.gmail.com
aptitude upgrade problems
The following is my sources.list: $ cat /etc/apt/sources.list # # deb cdrom:[Debian GNU/Linux 5.0.0 _Lenny_ - Official i386 NETINST Binary-1 20090214-16:03]/ lenny main #deb cdrom:[Debian GNU/Linux 5.0.0 _Lenny_ - Official i386 NETINST Binary-1 20090214-16:03]/ lenny main Why the mixed system? Apologies, I am using Squeeze. The Lenny CDs are commented out. cvsnt conflicts with cvs. You can't have both at the same time. Should I remove one of them, and if so, which one? Wolodja : aptitude full-upgrade appears that it will work. Is it safe to proceed with? I am not clear on the difference between upgarde, safe-upgrade and full-upgrade. Thanks, John -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1f1816a91003230825l25297158u88b0da88f6cbf...@mail.gmail.com
tcpdump?
#tcpdump port 4957 I want to obtain the payload data to see what is realy being exchanged between my Debian server and the outside network element . Can you please let me know how I can modify my command ? Try tcpdump host IP-addr-deb-server and port 4957 This will grab all packets to and from the server, which are to or from port 4957 If you want traffic in one direction only, you can use src host or dst host instead of host, and/or src port or dst port instaed of port. You could add -s 0 to ensure you grab entire packets regardless of size, and -v, -vv or -vvv if you need more details on packets. John -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1f1816a91002200315o39f14dbdsd6376f5a3b9ec...@mail.gmail.com
iceweasel broken after update
Hello, I am using squeeze on kernel 2.6.30-2-686 on a dell precision laptop After running aptitude safe-upgrade yesterday, and accepting all of the suggestions, iceweasel appears broken today. When I start it I get a screen with the message “Well, this is embarrassing. Iceweasel is having trouble recovering your windows and tabs. This is usually caused by a recently opened web page. You can try: Removing one or more tabs that you think may be causing the problem Starting an entirely new browsing session” On opening a new session, when I browse to a new page, other than the home page, iceweasel dies. Should I just do the following? aptitude remove iceweasel aptitude install iceweasel The following is the output of # aptitude show iceweasel Package: iceweasel State: installed Automatically installed: no Version: 3.5.5-1 Priority: optional Section: web Maintainer: Maintainers of Mozilla-related packages pkg-mozilla-maintain...@lists.alioth.debian.org Uncompressed Size: 4,067k Depends: fontconfig, psmisc, procps, debianutils (= 1.16), libc6 (= 2.3.6-6~), libgcc1 (= 1:4.1.1), libglib2.0-0 (= 2.12.0), libgtk2.0-0 (= 2.8.0), libnspr4-0d (= 1.8.0.10), libstdc++6 (= 4.1.1), xulrunner-1.9.1 Suggests: xulrunner-1.9.1-gnome-support, latex-xft-fonts, xfonts-mathml, ttf-mathematica4.1, xprint, mozplugger, libkrb53 Conflicts: iceweasel-dom-inspector ( 3.0~b4) Replaces: iceweasel-gnome-support (= 3.0~b5-2) Provides: www-browser Description: lightweight web browser based on Mozilla Iceweasel is a redesign of the Mozilla browser component, similar to Galeon, K-Meleon and Camino, but written using the XUL user interface language and designed to be lightweight and cross-platform. This browser is based on the Firefox source-code, with minor modifications. Historically, this browser was previously known as Firebird and Phoenix. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: iceweasel broken after update
You may try to rename .mozilla folder in your home folder and restart iceweasel Thierry Thanks Thierry, $ mv .mozilla/ .iceweasel seems to have done the trick. However, I have lost all of my bookmarks, add-ons etc. I will be able to reinstate them, in time. John -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Inquiry:How to enable Telnet SSH on my Debian 3.1 server?
On many systems you have to use inetd to start telnetd. On one system, a slax system , I think, I had to add an entry to the configuration file /etc/inetd.conf, and then restart inetd, even after installing telnetd. I don't have the exact entry, but google would tell you John -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
vmware after kernel upgrade on lenny
Hello I am using lenny. I tried to use vmware workstation, and I got an error to the effect that it could not find kernel headers. So a little Googling told me that I had to do aptitude install linux-headers-$(uname -r) and /usr/bin/vmware-config.pl But the above file did not exist. So, I ran vmware again, and it told me that several modules need to be compiled and installed, to which I pressed INSTALL. It asked me for the root password, which I supplied, and a box with the heading “vmware kernel module updater” appeared, which had 6 categories: Virtual Machine Monitor Virtual Network Device Vmware blocking filesystem etc. On compileing the first, it stepped immediately with an error. The error said to look in the file /tmp/vmware-root/setup-6425.log. This file contains the following: # cat /tmp/vmware-root/setup-6425.log Nov 04 10:09:00.687: app| Log for VMware Workstation pid=6425 version=6.5.2 build=build-156735 option=Release Nov 04 10:09:00.687: app| Host codepage=UTF-8 encoding=UTF-8 Nov 04 10:09:00.687: app| Logging to /tmp/vmware-root/setup-6425.log Nov 04 10:09:01.898: app| Extracting the sources of the vmmon module. Nov 04 10:09:01.955: app| Building module with command: /usr/bin/make -C /tmp/vmware-root/modules/vmmon-only auto-build SUPPORT_SMP=1 HEADER_DIR=/lib/modules/2.6.30-2-686/build/include CC=/usr/bin/gcc GREP=/usr/bin/make IS_GCC_3=no VMCCVER=4.3.4 I did a quick check. Gcc is installed – it is in /usr/bin /tmp/vmware-root/modules/vmmon-onlyexists - it is a directory /lib/modules/2.6.30-2-686/build/include exists - it is a directory Anybody know what the problem might be? John -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
overhead projector unclear under lenny
Hello, I moved my laptop to lenny last May. Before that, it had been using etch. It is a DELL Precision M65. It has a 15.4 WUXGA (1920 x 1200) LCD Screen. On moving, I noticed that it had very few screen resolutions, so I editedxorg.conf to add a few. Everything worked fine, until I connected an overhead projector yesterday, for the first time under lenny. The picture produced by the overhead is very unclear. With WINDOWS on the same laptop, the picture on the overhead projector is clear. The picture used to be clear under etch. I tried another overhead projector, and saw the same unclear picture. I have tried reducing the resolution on the Display, and it has not helped. The following is the relevant section of xorg.conf: Section Screen Identifier Default Screen Monitor Configured Monitor DefaultColorDepth 24 SubSection Display Depth 8 Modes 1680x1050 1280x1024 1152x864 1024x768 800x600 640x480 EndSubSection SubSection Display Depth 16 Modes 1680x1050 1280x1024 1152x864 1024x768 800x600 640x480 EndSubSection SubSection Display Depth 24 Modes 1920x1200 1680x1050 1440x900 1280x1024 1152x864 1024x768 80 0x600 640x480 Virtual 1920 1200 EndSubSection EndSection Any ideas? John -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
static ip address is being reset constantly
Hello, A question for networking gurus: My ip address keeps on being set to null at my workplace. I use my laptop at home and work. At home, I use DHCP to get an ip address from my ISP. No problems. At work, when I use #dhclient eth0 it looks for DHCP leases but finds none. So, I have a little script which I use to set a static address (I have been given one to use): ifconfig eth0 XXX.YYY.ZZZ.WWW netmask 255.255.255.0 up route add default gw XXX.YYY.ZZZ.1 echo nameserver XXX.YYY.AAA.BBB /etc/resolv.conf I run this script, but after approx 20 seconds the connection is gone and when I run # ifconfig eth0 eth0 Link encap:Ethernet HWaddr 00:15:ZZ:AA:BB:CC inet6 addr: fe71::205:c5ff:fecc:9284/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:5729 errors:0 dropped:0 overruns:0 frame:0 TX packets:9435 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:4332002 (4.1 MiB) TX bytes:1830420 (1.7 MiB) Interrupt:18 Some daemon is resetting the NIC address to null. I tried editing /etc/network/interfaces and /etc/init.d/networking restart. I also ensured that my wireless was turn off. What could be causing this? John -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
static ip address is being reset constantly
Verify that no dhcp process is running in the background. If there is none remove the network manager. Thanks Frank. Indeed there was DHCP processes running: # ps aux | grep dhc root 3650 0.0 0.0 0 0 ?Z08:31 0:00 [dhclient] defunct root 4044 0.0 0.0 2204 608 ?Ss 08:32 0:00 dhclient3 -pf /var/run/dhclient.eth0.pid -lf /var/lib/dhcp3/dhclient.eth0.leases eth0 root 11612 0.0 0.0 2204 572 ?Ss 11:39 0:00 dhclient eth0 root 12702 0.0 0.0 3192 752 pts/0R+ 12:16 0:00 grep dhc When I killed all of the above processes, the problem was solved. thanks, John -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
how to start paros?
Solved now. This was dealt with in bug Bug#532194. To start paros in squeeze, use /usr/lib/jvm/java-6-sun/jre/bin/java -Duser.dir=$HOME/.paros -cp /usr/share/java/commons-codec.jar:/usr/share/java/commons-collections3.jar:/usr/share/java/commons-configuration.jar:/usr/share/java/commons-httpclient.jar:/usr/share/java/commons-lang.jar:/usr/share/java/commons-logging.jar:/usr/share/java/log4j-1.2.jar:/usr/share/java/jdic.jar:/usr/share/java/hsqldb.jar:/usr/share/java/paros.jar org.parosproxy.paros.Paros See Bug#532194 if you need details and other alternatives. John On Fri, Jun 5, 2009 at 10:59 PM, John O Laoibrianol...@gmail.com wrote: Hi I am using squeezef. I installed paros proxy with aptitude install paros. After some googleing, I found that to start Paros, I needed to use sh /usr/share/paros/startserver.sh This told me that it could not find the file paros.jar, so I edited to the file to point to its location, ie I changed the line java -jar paros.jar TO java -jar /usr/share/java/paros.jar Now, I am getting the following error: $ sh /usr/share/paros/startserver.sh Exception in thread main java.lang.NoClassDefFoundError: org/apache/commons/httpclient/protocol/ProtocolSocketFactory Caused by: java.lang.ClassNotFoundException: org.apache.commons.httpclient.protocol.ProtocolSocketFactory at java.net.URLClassLoader$1.run(URLClassLoader.java:217) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:205) at java.lang.ClassLoader.loadClass(ClassLoader.java:323) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294) at java.lang.ClassLoader.loadClass(ClassLoader.java:268) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:336) Could not find the main class: org.parosproxy.paros.Paros. Program will exit. Any ideas? John -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
can't get printer to work after dist upgrade
I solved this one. The following were the steps: $ wget -O foo2zjs.tar.gz http://foo2zjs.rkkda.com/foo2zjs.tar.gz $ tar zxf foo2zjs.tar.gz cd foo2zjz make make install make install install-hotplug make install cups RESTART CUPS:/etc/init.d/cups restart In CUPS, I has to do the following: Add printer Device: HP Laserjet 1005 USB #1 (HP Laserjet M1005) On the next screen, I added a PPD file, from the location foo2zjs/PPD/HP-LaserJet_M1005_MFP.ppd This worked! John On Fri, Jun 5, 2009 at 10:28 PM, John O Laoibrianol...@gmail.com wrote: Hello, Yesterday, I did a dist upgrade from lenny to squeeze. I edited sources.list, changes lenny to squeeze everywhere, and then did aptitude update aptitude install apt dpkg aptitude aptitude full-upgrade I also installed a lot of upgrades to packages, as suggested by synaptic. Everything seems OK, except that I can't get my printer to work. The printer is a HP Laserjet 1005 MFP, which can print, copy and scan, and is connected to the computer via USB. To get the printer to work in lenny, I did the following: wget -O foo2zjs.tar.gz http://foo2zjs.rkkda.com/foo2zjs.tar.gz tar zxf foo2zjs.tar.gz cd foo2zjz make make install make install install-hotplug make install cups /etc/init.d/cups restart When I noticed that the printer was not working in squeeze, I tried cd foo2zjz make uninstall and then doing the above steps again. I also tried removing the printer in CUPS and adding it again. I notice one difference between lenny and squeeze: In squeeze, when I attach the printer's USB cable xsane automatically starts up – this did not happen in lenny. Any ideas? John -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
can't get printer to work after dist upgrade
Hello, Yesterday, I did a dist upgrade from lenny to squeeze. I edited sources.list, changes lenny to squeeze everywhere, and then did aptitude update aptitude install apt dpkg aptitude aptitude full-upgrade I also installed a lot of upgrades to packages, as suggested by synaptic. Everything seems OK, except that I can't get my printer to work. The printer is a HP Laserjet 1005 MFP, which can print, copy and scan, and is connected to the computer via USB. To get the printer to work in lenny, I did the following: wget -O foo2zjs.tar.gz http://foo2zjs.rkkda.com/foo2zjs.tar.gz tar zxf foo2zjs.tar.gz cd foo2zjz make make install make install install-hotplug make install cups /etc/init.d/cups restart When I noticed that the printer was not working in squeeze, I tried cd foo2zjz make uninstall and then doing the above steps again. I also tried removing the printer in CUPS and adding it again. I notice one difference between lenny and squeeze: In squeeze, when I attach the printer's USB cable xsane automatically starts up – this did not happen in lenny. Any ideas? John -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
how to start paros?
Hi I am using squeezef. I installed paros proxy with aptitude install paros. After some googleing, I found that to start Paros, I needed to use sh /usr/share/paros/startserver.sh This told me that it could not find the file paros.jar, so I edited to the file to point to its location, ie I changed the line java -jar paros.jar TO java -jar /usr/share/java/paros.jar Now, I am getting the following error: $ sh /usr/share/paros/startserver.sh Exception in thread main java.lang.NoClassDefFoundError: org/apache/commons/httpclient/protocol/ProtocolSocketFactory Caused by: java.lang.ClassNotFoundException: org.apache.commons.httpclient.protocol.ProtocolSocketFactory at java.net.URLClassLoader$1.run(URLClassLoader.java:217) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:205) at java.lang.ClassLoader.loadClass(ClassLoader.java:323) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294) at java.lang.ClassLoader.loadClass(ClassLoader.java:268) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:336) Could not find the main class: org.parosproxy.paros.Paros. Program will exit. Any ideas? John -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
recursive grep and openoffice
Thanks for all of your replies. I didn't know that tools such as tracker would search with openoffice document. With respect to the command line, I have fixed on find . -name *.odt -exec sh -c 'unzip -c {} content.xml | grep string-being sought /dev/null' \; -print but it returns immediately, and seems to do no searching. To my amateur eyes, it looks like it should work. I've done some searching, but to no avail. Anybody got ideas? John
recursive grep and openoffice
Hello, I sometimes need to find a file, and I only know of some text contained therein. So I launch a search as follows: $ grep -r text i am looking for /home/john OR $ find /home/john -type f -exec grep -i * **text i am looking for * '{}' \; -print where /home/john is my home directory. The problem is that this does not search within .odt openoffice files. It will located any .doc files that contain the string, but not openoffice files. This is a big nuisance, as most of my files are now .odt files. Some research has let me know that openoffice files are zip files that contain other files. I am using etch (soon to upgrade). Has anybody got a solution that will recursively search a directory looking for a file that contains some specified text, and will search within openoffice file? John
automounting in xfce
Thanks to everyone. Problem solved. Yes, I misunderstood fdisk -l. I assumed that it would list the CD partition also. I never even tried to mount the CD, as I thought that when it was not being seen by fdisk, it was not there, and there was nothing to mount. Also I've learned how to install from another version of debian, although it appears that this is not recommended. So, mount /media/cdrom0 worked perfectly, and after installing hal, I could see the CD icon on the desktop. Thanks again. John
Canada dictionary in OOo in Debian?
I found the following link very useful when I was getting the UK dictionary to work: http://wiki.eeeuser.com/howto:openofficeukdict John
automounting in xfce
Thanks for the help. I am having problems installing the package thunar-volman. This is a package management problem, at which I am no expert! The package is not available on etch, but is on the list of packages for sid: http://packages.debian.org/sid/thunar-volman However, when I issue # aptitude show -t sid thunar-volman I get E: Unable to locate package thunar-volman # aptitude install -t sid thunar-volman I get Reading package lists... Done Building dependency tree... Done Reading extended state information Initializing package states... Done Reading task descriptions... Done Building tag database... Done Couldn't find any package whose name or description matched thunar-volman The following packages have been kept back: linux-image-2.6-686 openssh-client openssh-server 0 packages upgraded, 0 newly installed, 0 to remove and 3 not upgraded. Need to get 0B of archives. After unpacking 0B will be used. The following is my sources.list: # cat /etc/apt/sources.list deb http://ftp.debian.org/debian etch main contrib non-free deb-src http://ftp.debian.org etch main contrib non-free deb http://www.debian-multimedia.org etch main deb http://security.debian.org/ etch/updateshttp://security.debian.org/etch/updatesmain contrib deb-src http://security.debian.org/ etch/updateshttp://security.debian.org/etch/updatesmain contrib deb http://mirror.noreply.org/pub/tor etch main deb-src http://mirror.noreply.org/pub/tor etch main deb http://debian.virginmedia.com stable main contrib non-free John
automounting in xfce
I've tried some of these solutions. However, when I insert a CD say, and run # fdisk -l it does not even see the CD volume, so there is no device to mount. What could be causing that? John
automounting in xfce
Hi, I want to set up automounting on my etch system, which is using XFCE4. Basically, I want my CDs and flash devices to automount when I insert them. I have done some googeling, and it seems that I need to use Thunar's volume manager, and do the following in Thunar: Edit | Preferences, Click on Advanced Tab, Select 'Enable Volume Manager', Configure However, when I go Edit | Preferences | Advanced I see nothing except Folder Permissions Any hints? How to proceed? John
vmware questions
Hi, I am running debian etch on a dell laptop which is dual boot with XP. I rarely, if ever, use XP. However, I now need to use an application, as part of a course I am doing, which only runs on Windows. So, I've decided to put vmware on etch and run XP from that. (I know about WINE, but I'd prefer to go the vmware route, as I want to get familiar with vmware.) I've googled and seen some articles on installing vmware-server and vmware-tools. My work has a vmware image of XP which I can use. (We also have a vmware licence.) However, I think that it might be better if I proceed by (1) creating a vmware image of my existing XP, (as it has all of the drivers etc. for my hardware.) (2) putting that vmware image on etch (3) install vmware on etch (4) reformat the XP partitions, and use them for etch. Some questions: 1. anybody got any links on how to achieve (1) above 2. What vmware software should I install? I see that there is vmware-desktop, wmware-player, vmware-server etc. and I'm confused. Any good links on how to install this? 3. How will I get that vmware to open the XP image – is it just a matter of File|Open? 4. I see that there is no debian package for vmware. Will installing it interfere with aptitude? Thanks in advance John
Re: networking: fixed ip address and dhcp
I used to have a file which contained ifconfig eth1 XXX.YYY.ZZZ.WWW netmask 255.255.255.0 route add default gw XXX.YYY.ZZZ.1 cat seach domain/etc/resolv.conf cat nameserver AAA.BBB.CCC.DDD resolv.conf I think you meant 'echo' instead of 'cat', and 'search' instead of 'seach'. Also you seem to be appending to /etc/resolv.conf everytime. If that is the case, then the resolver is probably using some other search path somewhere in the beginning of the file. You might want to fix your script so that it overwrites the file instead. Thanks - that was the problem. - seach Very stupid of me. Still learning and would be lost without the list. Now onto the next issue - the video card. I'll start a new thread. John
networking: fixed ip address and dhcp
I have a dell laptop on which I have just performed a basic install of etch using netinstall, on which I installed xfce. (I did have gnome, but I needed to repartition, so i decided to try xfce.) The problem is now with my networking At home, I use dhcp - no problem. When I bring the laptop to work, I use fixed ip addressing. I used to have a file which contained ifconfig eth1 XXX.YYY.ZZZ.WWW netmask 255.255.255.0 route add default gw XXX.YYY.ZZZ.1 cat seach domain/etc/resolv.conf cat nameserver AAA.BBB.CCC.DDD resolv.conf which I would simply sudo when I get to work and I got my static ip address networking to work. This does not work now - I can't ping out. When I run ifconfig at the command line, it gives me the correct ip address, and tells me that it is up. The /etc/network/interfaces file is auto lo iface lo inet loopback allow-hotplug eth1 iface eth1 inet dhcp I did a very basic install – maybe something is missing. any ideas? John
Re: rsync question
Also, I get confused sometimes on the effects of a trailing slash on source and target arguments. Check for a ~/Documents/Documents/ directory or something. You are all correct. There is a ~/Documents/Documents/. I must be using it incorrectly - I'll be more careful in future. John -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
rsync question
Hello, I have the same structure on 2 machines. I want to keep them in sync. I change a file (ZZZ.ods) on the one with IP address AAA.BBB.CCC.DDD and then rsync from the other as follows ~$ rsync -avh AAA.BBB.CCC.DDD:/home/john/Documents/ ./Documents/ Password: receiving file list ... done Documents/X/Y/ZZZ.ods But the file ~/Documents/X/Y/ZZZ.ods on the machine I am issuing the command on does not change! What am I doing wrong? John -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
ssh port not opening
Hello, I am running etch on a dell laptop. I recently installed ssh: aptitude install ssh and started it: /etc/init.d/ssh start yet when I look for open ports with nmap localhost, port 22 is not open. When I run # ps -e | grep ssh I get 3450 ?00:00:00 ssh-agent # ps aux | grep ssh john 3450 0.0 0.0 4132 692 ?Ss 09:24 0:00 /usr/bin/ssh-agent /usr/bin/dbus-launch --exit-with-session x-session-manager root 22026 0.0 0.0 2852 712 pts/0S+ 17:43 0:00 grep ssh However, I cannot ssh into my host. The contents of /etc/default/ssh is # cat /etc/default/ssh # Default settings for openssh-server. This file is sourced by /bin/sh from # /etc/init.d/ssh. # Options to pass to sshd SSHD_OPTS= Any clues? Also, how do I check the status of a service? On SUSE, I used /etc/init.d/service-name status John
ssh port not opening
On 11/5/07, Andrew Sackville-West [EMAIL PROTECTED] wrote: ssh-agent is *not* the program that allows ssh connections. That is sshd. It should be started with /etc/ini.d/ssh start as root. Is there no output when you do that? Anything in the logs? However, I cannot ssh into my host. The contents of /etc/default/ssh is that's because sshd is not running and needs to be. But the file /etc/init.d/sshd does not exist. The only such file in /etc/init.d is ssh. How do I check the logs? John
ssh port not opening
Do you get any error message when you try to start /etc/init.d/ssh? Is there anything in /var/log/daemon.log? Does the sshd-blocking file /etc/ssh/sshd_not_to_be_run exist on your system? No errors when I do /etc/init.d ssh start # /etc/init.d/ssh stop # /etc/init.d/ssh start # cat /var/log/daemon.log | grep ss # (nothing) # find / -name sshd_not_to_be_run # find / -name ssh_not_to_be_run # (nothing)# find / -name sshd_not_to_be_run vr-etch:/etc/init.d# find / -name ssh_not_to_be_run vr-etch:/etc/init.d# Do this: dpkg --get-selections | grep ssh and send the results. I am wondering if you have the openssh-server installed. You can get everything by just doing aptitude install ssh. # dpkg --get-selections | grep ssh openssh-client install openssh-server deinstall # Thanks to everyone for your help. Maybe I should remove ssh and reinstall? John
ssh port not opening
Looks like there's your problem. You don't have openssh-server installed. aptitude install openssh-server This should solve your problems. Thanks everyone. That did it. I suppose that I should have done #aptitude install ssh openssh-server in the first place. John
sound recording on dell laptop
On 10/18/07, Florian Kulzer [EMAIL PROTECTED] wrote: Did you try to turn up Capture Mux and/or to switch Input Source from Mic to Line? Running alsamixer will give you direct access to these controls. (Use the cursors keys to move and change volume, TAB to switch between playback and capture channels, M to toggle mute, and SPACE to switch capture on and off.) That did it. Thanks Florian. alsamixer is magic. Sound recording is now working perfectly, both using acrecord, as you suggested, and using the sound recorder under the soundvideo section of the Applications menu. Thank you. John
sound recording on dell laptop
On 10/17/07, Florian Kulzer [EMAIL PROTECTED] wrote: Please send the full output of amixer so that we can see the settings of the capture channels. Here it is Florian: # amixer Simple mixer control 'Master',0 Capabilities: pvolume pswitch Playback channels: Front Left - Front Right Limits: Playback 0 - 31 Mono: Front Left: Playback 24 [77%] [on] Front Right: Playback 24 [77%] [on] Simple mixer control 'PCM',0 Capabilities: pvolume Playback channels: Front Left - Front Right Limits: Playback 0 - 255 Mono: Front Left: Playback 230 [90%] Front Right: Playback 230 [90%] Simple mixer control 'Capture',0 Capabilities: cvolume cswitch Capture channels: Front Left - Front Right Limits: Capture 0 - 15 Front Left: Capture 12 [80%] [on] Front Right: Capture 12 [80%] [on] Simple mixer control 'Capture Mux',0 Capabilities: volume Playback channels: Front Left - Front Right Capture channels: Front Left - Front Right Limits: 0 - 4 Front Left: 0 [0%] Front Right: 0 [0%] Simple mixer control 'Input Source',0 Capabilities: enum Items: 'Mic' 'Line' Item0: 'Mic'
sound recording on dell laptop
On 10/17/07, Florian Kulzer [EMAIL PROTECTED] wrote: Please post the output of: lspci | egrep -i 'audio|s(ou)?nd|media' lsmod | grep snd amixer | egrep '^[^ ]|Capture' OK, I don't know what amixer does (man will tell me), but here goes: # lspci | egrep -i 'audio|s(ou)?nd|media' 00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 01) # lsmod | grep snd snd_hda_intel 17332 0 snd_hda_codec 137856 1 snd_hda_intel snd_pcm_oss 38368 0 snd_mixer_oss 15200 1 snd_pcm_oss snd_pcm 68676 3 snd_hda_intel,snd_hda_codec,snd_pcm_oss snd_timer 20996 1 snd_pcm snd 47012 6 snd_hda_intel,snd_hda_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer soundcore 9248 1 snd snd_page_alloc 9640 2 snd_hda_intel,snd_pcm # amixer | egrep '^[^ ]|Capture' Simple mixer control 'Master',0 Simple mixer control 'PCM',0 Simple mixer control 'Capture',0 Capture channels: Front Left - Front Right Limits: Capture 0 - 15 Front Left: Capture 12 [80%] [on] Front Right: Capture 12 [80%] [on] Simple mixer control 'Capture Mux',0 Capture channels: Front Left - Front Right Simple mixer control 'Input Source',0 Thanks, John
sound recording on dell laptop
I am using etch on a Dell Precision M65 laptop, which has an internal microphone. How do I get the sound recording function to work? I have run alsaconf. When I try to record, I use the graphical sound recorder with record from input set to capture and record as set to WAV. I have turned up the recording volume in the capture tab in volume control. When I click on record, it says that it is recording, but when I try to play the interface indicates that it is playing, but there is no sound. The sound card is working well for other apps. John
Openoffice file takes a long time to open
Hello, I am running Etch on a Dell Precision laptop. I have one openoffice file, say XYZ.odt, which takes a long time to open (maybe 25 minutes). While it is opening, Openoffice is stalled. It is not big. ls-l reports its size as 18,000. I have many much bigger files which open immediately. I copied the file to SUSE linux that I have on a desktop, and the file opened quickly. I tried changing its name. I tried copying its contents to a new file. I made a copy of the file (using cp). I had some URLs in the file, which I changed to text (removed the blue and underline) I ran fsck on the filesystem on which it resides, and it reported no bad blocks. Any ideas where I look? John
Openoffice file takes a long time to open
On 9/26/07, Ron Johnson [EMAIL PROTECTED] wrote: Maybe it's *highly* compressed and most of the time is spent in zlib. I've seen examples of corner cases that take forever to open. It is a file that is frequently used. I don't know how to check if it is in zlib. I copied the file to SUSE linux that I have on a desktop, and the file opened quickly. You neglect to mention the specs of the 2 machines. Maybe the desktop is 10x faster. The desktop is 2.8Ghz and has 1MB memory. The laptop is 1.8GHz and has the same memory. There is no difference between these two machines in opening any other file. Any ideas where I look? Run top in an xterm. See if OOo is sucking a lot of CPU. It is, but only on opening this file. John
Openoffice file takes a long time to open
On 9/26/07, Ralph Katz [EMAIL PROTECTED] wrote: Also check your disk i/o for swapping. How do I do that? Also, check whether any other unusual objects are embedded or called somehow. Perhaps some object is not loading, re-trying, and finally timing out. Just a guess... That is what has me baffled - there are no images or anything else in the file. It has some email addresses - maybe openoffice is trying to open an email application for each of these. John
Openoffice file takes a long time to open
On 9/26/07, Ralph Katz [EMAIL PROTECTED] wrote: Don't know, John, I'm just a simple user. If it were me, I'd copy the contents of the doc onto the clipboard, paste it into a text-only editor, re-copy the now text-only data into a new OOo doc. (This is crude, but assures nothing surprising gets inadvertently copied.) Now, try the new doc. I tried this to no avail. Then, I brought the file to SUSE, and did the same thing there, using vi, saved it as text and brought it back to Etch, and it opened in less than a second. All very mysterious. Anyway, problem solved in the end. Thanks for your help. John
can't access localhost
When you run /sbin/ifconfig is the interface lo up? Are there any messages in /var/log/syslog that might be relevant? No, when I run ifconfig, it only gives details for eth1. There is nothing much in /var/log/syslog ping -c 2 localhost ping -c 2 127.0.0.1 # ping -c 2 localhost PING localhost (127.0.0.1) 56(84) bytes of data. --- localhost ping statistics --- 2 packets transmitted, 0 received, 100% packet loss, time # ping -c 2 127.0.0.1 PING 127.0.0.1 (127.0.0.1) 56(84) bytes of data. --- 127.0.0.1 ping statistics --- 2 packets transmitted, 0 received, 100% packet loss, time 1010ms What is the output of this command? netstat -tunl # netstat -tunl Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State tcp0 0 0.0.0.0:111 0.0.0.0:* LISTEN tcp0 0 0.0.0.0:113 0.0.0.0:* LISTEN udp0 0 0.0.0.0:32768 0.0.0.0:* udp0 0 0.0.0.0:68 0.0.0.0:* udp0 0 0.0.0.0:53530.0.0.0:* udp0 0 0.0.0.0:111 0.0.0.0:* udp0 0 0.0.0.0:631 0.0.0.0:* What does this respond? /sbin/route -n # /sbin/route -n Kernel IP routing table Destination Gateway Genmask Flags Metric RefUse Iface 169.254.1.0 0.0.0.0 255.255.255.0 U 0 00 eth1 169.254.0.0 0.0.0.0 255.255.0.0 U 1000 00 eth1 0.0.0.0 169.254.1.1 0.0.0.0 UG0 00 eth1 Does your /etc/hosts properly set 'localhost' to 127.0.0.1 ? # cat /etc/hosts 127.0.0.1 localhost mc 127.0.1.1 mc.home.m mc -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: can't access localhost
Have you tried doing 'ifconfig lo up'? If that works try adding a line like the following to your /etc/network/interfaces: auto lo I did just as you suggested above, and it fixed everything. CUPS is working again, and ifconfig reports lo as well as eth1. Thanks everyone for your help. John
can't access localhost
I am new to Debian. I installed Etch on a Dell precision laptop. I use DHCP. I have lots of questions, but I will start with this one: I created an iptables script that I downloaded, and set it up using # update-rc.d firewall.script defaults However, after doing this, I noticed that CUPS would not work. (It had been working well.) The firefox browser returned the message The server at localhost is taking too long to respond. when I tried to connect to http://localhost:631. I also tried http://127.0.0.1:631, and it gave the same responce. I also could not ping localhost or 127.0.0.1. So I removed the firewall using # update-rc.d -f firewall.script remove and rebooted. Now, when I run # iptables -L I get Chain INPUT (policy ACCEPT) target prot opt source destination Chain FORWARD (policy ACCEPT) target prot opt source destination Chain OUTPUT (policy ACCEPT) target prot opt source destination *However, I still can't access CUPS or ping localhost.* What might be wrong? Where do I start to look? John