Jump to content

deathkrush

Members
  • Posts

    20
  • Joined

  • Last visited

Posts posted by deathkrush

  1. Well, yesterday I was getting rid of networking applications I don't need, including FreeSwan. It seems that my connection is better now, I haven't gotten any error messages so far.

     

    I think FreeSwan messed up my routing table, it looks weird comparing to the one on my other Linux computer. Right now the routing table is back to normal, its only 3 entries.

     

    Thanks to everyone who helped me solved this, I am now a happy camper :D

  2. OK, I just installed iptables and here is what it gives me:

    [root@toshiba stan]# iptables -nvL
    Chain INPUT (policy ACCEPT 5655 packets, 572K bytes)
    pkts bytes target     prot opt in     out     source               destination
    
    Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
    pkts bytes target     prot opt in     out     source               destination
    
    Chain OUTPUT (policy ACCEPT 6032 packets, 691K bytes)
    pkts bytes target     prot opt in     out     source               destination
    [root@toshiba stan]# iptables -nvL -t nat
    Chain PREROUTING (policy ACCEPT 165 packets, 9096 bytes)
    pkts bytes target     prot opt in     out     source               destination
    
    Chain POSTROUTING (policy ACCEPT 862 packets, 56275 bytes)
    pkts bytes target     prot opt in     out     source               destination
    
    Chain OUTPUT (policy ACCEPT 862 packets, 56275 bytes)
    pkts bytes target     prot opt in     out     source               destination
    [root@toshiba stan]#

     

    Oh and webmin works fine, it's a nice application!

  3. Any chance of connecting directly to your router by cable, thus ruling out/narrowing it down to the wireless connection?

     

    Also, can you post a detailed description of your network, ie what connects to what, through what etc (if that makes sense!)

     

    Please also post:

    Contents of /etc/resolv.conf

    Output of "iptables -nvL"

    Output of "iptables -nvL -t nat"

    Output of "ps aux"

    Output of "route -n"

    Yes, I have tried it through a cable directly to my router, I disabled wireless just to make sure. Didn't help much, I am still getting the same error.

     

    Basically I have this all-in-one Linksys router (hub/gateway/router/wireless) that connects to a cable modem. I have one laptop (this exact machine where I'm experiencing the problem) connected through wireless and 3 desktops connected through cable.

     

    cat /etc/resolv.conf
    nameserver 204.127.198.19
    nameserver 63.240.76.19
    
    # ppp temp entry

     

    (These are the exact DNS servers I have on my other machines.)

     

    iptables
    bash: iptables: command not found

     

    (Hmm, this used to work before?!? I don't know what happened to it)

     

    ps aux
    USER       PID %CPU %MEM   VSZ  RSS TTY      STAT START   TIME COMMAND
    root         1  0.3  0.1  1580  516 ?        S    22:25   0:03 init [5]
    root         2  0.0  0.0     0    0 ?        SWN  22:25   0:00 [ksoftirqd/0]
    root         3  0.0  0.0     0    0 ?        SW<  22:25   0:00 [events/0]
    root         4  0.0  0.0     0    0 ?        SW<  22:25   0:00 [kblockd/0]
    root         5  0.0  0.0     0    0 ?        SW   22:25   0:00 [pdflush]
    root         6  0.0  0.0     0    0 ?        SW   22:25   0:00 [pdflush]
    root         7  0.0  0.0     0    0 ?        SW   22:25   0:00 [kswapd0]
    root         8  0.0  0.0     0    0 ?        SW<  22:25   0:00 [aio/0]
    root        10  0.0  0.0     0    0 ?        SW   22:25   0:00 [kseriod]
    root        14  0.0  0.0     0    0 ?        SW   22:25   0:00 [kjournald]
    root       120  0.0  0.2  2168 1340 ?        S    22:25   0:00 devfsd /dev
    root       246  0.0  0.0     0    0 ?        SW   22:25   0:00 [khubd]
    root       576  0.0  0.0     0    0 ?        SW   22:25   0:00 [kjournald]
    root       750  0.0  0.0     0    0 ?        SW   22:25   0:00 [knodemgrd_0]
    root       806  0.0  0.6  5168 3556 ?        S<   22:25   0:00 webconfd
    root       807  0.7  0.0     0    0 ?        SW<  22:25   0:06 [kdldrd/dpc]
    root       808  0.0  0.0     0    0 ?        SW<  22:25   0:00 [kdldrd/wrk]
    root       949  0.0  0.0     0    0 ?        SW<  22:25   0:00 [kdldrd/eth1]
    root      1189  0.0  0.0     0    0 ?        SW   22:25   0:00 [pccardd]
    root      1198  0.0  0.1  1728  708 ?        S    22:25   0:00 /sbin/cardmgr
    rpc       1474  0.0  0.1  1712  580 ?        S    22:26   0:00 portmap
    root      1498  0.0  0.1  1880  804 ?        S    22:26   0:00 syslogd -m 0
    root      1506  0.0  0.2  2604 1540 ?        S    22:26   0:00 klogd -2
    root      1565  0.0  0.1  1880  856 ?        S    22:26   0:00 rpc.statd
    xfs       1978  0.0  0.9  6664 4692 ?        S    22:26   0:00 xfs -port -1 -dae
    root      2012  0.0  0.0     0    0 ?        SW   22:26   0:00 [rpciod]
    root      2013  0.0  0.0     0    0 ?        SW   22:26   0:00 [lockd]
    daemon    2094  0.0  0.1  1616  536 ?        S    22:26   0:00 /usr/sbin/atd
    root      2121  0.0  0.1  1584  604 ?        S    22:26   0:00 /usr/sbin/acpid
    root      2153  0.0  0.1  2688  692 ?        S    22:26   0:00 /usr/bin/mdkkdm -
    root      2171  2.9  2.8 48844 14652 ?       SL   22:26   0:25 /etc/X11/X -defer
    root      2212  0.0  0.2  2224 1084 ?        S    22:26   0:00 /bin/sh /usr/lib/
    root      2213  0.0  0.2  2224 1096 ?        S    22:26   0:00 /bin/sh /usr/lib/
    root      2214  2.1  0.6  6060 3576 ?        S    22:26   0:18 /usr/lib/ipsec/pl
    root      2215  0.0  0.2  2196 1056 ?        S    22:26   0:00 /bin/sh /usr/lib/
    root      2216  0.0  0.0  1564  392 ?        S    22:26   0:00 logger -s -p daem
    root      2297  0.0  0.3  3600 1696 ?        S    22:26   0:00 -:0
    root      2346  0.0  0.1  2028  716 ?        S    22:26   0:00 _pluto_adns
    root      2347  0.0  0.2  3152 1416 ?        S    22:26   0:00 /usr/sbin/sshd
    root      2468  0.0  0.1  2168  832 ?        S    22:26   0:00 xinetd -stayalive
    root      2566  0.0  0.4  5616 2352 ?        S    22:26   0:00 cupsd
    root      2567  0.0  0.0  1644  468 ?        S    22:26   0:00 _pluto_adns
    root      2568  0.0  0.0  1644  468 ?        S    22:26   0:00 _pluto_adns
    root      2569  0.0  0.0  1644  468 ?        S    22:26   0:00 _pluto_adns
    root      2575  0.0  0.0  1644  468 ?        S    22:26   0:00 _pluto_adns
    root      2576  0.0  0.0  1644  468 ?        S    22:26   0:00 _pluto_adns
    root      2577  0.0  0.0  1644  468 ?        S    22:26   0:00 _pluto_adns
    root      2578  0.0  0.0  1644  468 ?        S    22:26   0:00 _pluto_adns
    root      2725  0.0  0.1  1756  668 ?        S    22:26   0:00 rpc.mountd --no-n
    root      2816  0.0  0.1  1688  664 ?        S    22:26   0:00 /usr/sbin/automou
    root      2818  0.0  0.1  1688  664 ?        S    22:26   0:00 /usr/sbin/automou
    root      2913  0.0  0.1  1624  624 ?        S    22:26   0:00 crond
    stan      3025  0.0  0.2  2544 1224 ?        S    22:26   0:00 /bin/sh /usr/bin/
    stan      3105  0.0  1.1 14016 5760 ?        S    22:26   0:00 magicdev
    stan      3120  0.0  2.7 28788 14044 ?       S    22:26   0:00 kdeinit: Running.
    stan      3123  0.0  2.7 28628 14132 ?       S    22:26   0:00 kdeinit: dcopserv
    stan      3125  0.0  0.7  6100 3844 ?        S    22:26   0:00 /usr/lib/gconfd-2
    stan      3127  0.0  3.0 30136 15548 ?       S    22:26   0:00 kdeinit: klaunche
    stan      3130  0.0  3.8 33808 20048 ?       S    22:26   0:00 kdeinit: kded
    stan      3145  0.0  1.4 12724 7628 ?        S    22:26   0:00 artsd -F 10 -S 40
    stan      3148  0.0  4.1 38344 21404 ?       S    22:26   0:00 kdeinit: knotify
    stan      3152  0.0  0.0  1572  340 ?        S    22:26   0:00 kwrapper ksmserve
    stan      3154  0.0  3.3 31036 17140 ?       S    22:26   0:00 kdeinit: ksmserve
    stan      3155  0.0  3.6 32260 19036 ?       S    22:26   0:00 kdeinit: kwin -se
    stan      3157  0.1  4.9 40016 25296 ?       S    22:26   0:01 kdeinit: kdesktop
    stan      3160  0.0  2.8 29776 14684 ?       S    22:26   0:00 kdeinit: kio_file
    stan      3161  0.0  4.2 35076 21896 ?       S    22:26   0:00 kdeinit: kicker
    stan      3165  0.0  3.6 31736 18564 ?       S    22:26   0:00 kdeinit: klipper
    stan      3168  0.0  4.0 33664 20636 ?       S    22:26   0:00 kdeinit: kmix -se
    stan      3193  0.0  2.1 21752 10936 ?       S    22:27   0:00 /usr/bin/kdesud
    mldonkey  3312  1.2  2.9 25520 15200 ?       SN   22:27   0:09 /usr/lib/mldonkey
    root      3314  0.0  0.0  1644  468 ?        S    22:27   0:00 _pluto_adns
    root      3315  0.0  0.0  1644  468 ?        S    22:27   0:00 _pluto_adns
    root      3316  0.0  0.0  1644  468 ?        S    22:27   0:00 _pluto_adns
    stan      3326  0.5  5.1 40792 26580 ?       S    22:27   0:04 /usr/bin/kmldonke
    stan      3457  0.0  0.2  2532 1184 ?        S    22:29   0:00 /bin/sh /usr/bin/
    stan      3459  0.0  0.2  2640 1268 ?        S    22:29   0:00 /bin/bash /usr/bi
    stan      3466  0.0  0.2  2704 1376 ?        S    22:29   0:00 /bin/sh /usr/lib/
    stan      3473  3.9  6.0 92248 31260 ?       S    22:29   0:26 /usr/lib/mozilla-
    stan      3489  0.0  1.0 10416 5556 ?        S    22:30   0:00 /usr/bin/esd -ter
    root      3502  0.0  0.5  8248 3072 ?        S    22:31   0:00 smbd -D
    root      3512  0.0  0.3  6140 2012 ?        S    22:31   0:00 nmbd -D
    root      3695  0.0  0.0  1568  448 tty1     S    22:31   0:00 /sbin/mingetty tt
    root      3696  0.0  0.0  1568  448 tty2     S    22:31   0:00 /sbin/mingetty tt
    root      3697  0.0  0.0  1568  448 tty3     S    22:31   0:00 /sbin/mingetty tt
    root      3698  0.0  0.0  1568  448 tty4     S    22:31   0:00 /sbin/mingetty tt
    root      3699  0.0  0.0  1568  448 tty5     S    22:31   0:00 /sbin/mingetty tt
    root      3700  0.0  0.0  1568  448 tty6     S    22:31   0:00 /sbin/mingetty tt
    stan      3822  0.1  4.0 34180 20712 ?       S    22:37   0:00 kdeinit: konsole
    stan      3823  0.0  0.3  2744 1572 pts0     S    22:37   0:00 /bin/bash
    root      3871  0.0  0.1  2444 1020 pts0     S    22:39   0:00 su
    root      3874  0.0  0.3  2740 1568 pts0     S    22:39   0:00 bash
    root      3920  0.0  0.1  2424  784 pts0     R    22:40   0:00 ps aux

     

    route -n
    Kernel IP routing table
    Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
    192.168.1.0     0.0.0.0         255.255.255.0   U     0      0        0 eth1
    127.0.0.0       0.0.0.0         255.0.0.0       U     0      0        0 lo
    0.0.0.0         192.168.1.1     128.0.0.0       UG    0      0        0 eth1
    128.0.0.0       192.168.1.1     128.0.0.0       UG    0      0        0 eth1
    0.0.0.0         192.168.1.1     0.0.0.0         UG    0      0        0 eth1

     

    I'm 100% sure that I'm not going through proxy, well at least judging from settings in Firefox, Konqueror and Mandrake Control Center.

     

    One thing to do is maybe to install webmin (if you havn't already) and delete the interface eth0 and everything to do with networking then reinstall .the interface and network..

    I guess you could do it from the Mandrake wizards if they worked the first time ?? but I prefer doing it by hand or webmin and understanding.....

     

    Just out of interest.... perhaps try running apache on the second PC and connect to this over the LAN. That should at least say if its a routing problem or something else.

     

     

    and just a last check.... to see if the firewall somehow got activated ...

    ps -ef ¦ grep iptables

    see if it comes back with anything ..

    and

    ps -ef ¦ grep shorewall

     

    I installed webmin but it gives me:

    webmin

    Starting Webmin [ OK ]

    Installation problem. Please reinstall.

     

    This command doesn't seem to work:

    ps -ef ¦ grep iptables

    ERROR: Garbage option.

     

    ps -ef ¦ grep shorewall

    ERROR: Garbage option.

     

    I don't know about apache, I never used it before. Furthermore, now I am experiencing "Document contains no data" errors even for local addresses, such as http://localhost:4080 (MLDonkey), http://127.0.0.1:18020 (Linuxant Driverloader) and it's quite frequent.

  4. I am not using a proxy, my provider is Comcast cable. I use Firefox as my default browser in Windows and it's fine no probems. I tried nslookup ebay.com and it worked, gave me an address 66.135.192.87. When I enter it into Firefox it results in document contains no data error but when I do it the second time it works as usual. The pictures don't show up but I hit refresh and they do. AOL Instant Messenger takes 10 retries to connect.

     

    The strangest thing is that when I am not running any appplications my bandwidth monitor shows constant 1Kb/s transfers. Maybe it's natural because I'm on wireless.

  5. ...until last week when I installed and started using MLDonkey file sharing client, OpenVPN and sshd.

     

    Are all of these running when you're experiencing these problems?

     

    My guess is that something (most likely MLDonkey) is sucking up all of your bandwidth. Try throttling it down so it only uses, say, 50% of your available bandwidth and see if the problem still exists. For how to throttle it, see the MLDonkey website or the program's docs.

    I already disabled MLDonkey, sshd and OpenVPN and it didn't help. Also I have noticed that the same error sometimes happens for local addresses: 192.168.1.1, 127.0.0.1, etc.

  6. I am running Mandrake 10 Official, 2.6.3-13 kernel and Mozilla Firefox as my browser. I never had any problems with internet connection until last week when I installed and started using MLDonkey file sharing client, OpenVPN and sshd. When clicking on a link Firefox would sometimes show a "Document contains no data" error. All I had to do was click on the link again and voila the website opens. But now this happens for every new link I click and it takes more than one click to connect to a website I want (eBay takes about five clicks). The strange thing is that once I do connect to a given URL, that website works fine for the rest of my browsing session, but every new link I click results in the error.

     

    I confirmed this to be a problem on all browsers (Konqueror gives me a similar error), on instant messaging clients, on both wireless and ethernet connection, on both DHCP and STATIC internet configurations. I tried disabling my firewall in the router and even setting my laptop as a DMZ host but that had no effect. I also disable IPv6 as some people suggested and tried using only one DNS entry in lookup.conf, still no luck. Clearing Firefox cache does nothing, because this is not a browser problem. Turning off MLDonkey OpenVPN and sshd services and restarting the computer doesn't cure the problem.

     

    Please help, I am going mad about this. I thought Linux was supposed to work well with Internet. This problem is inexistent on the same laptop with Windows XP running.

     

    Here is my ifconfig:

    eth1 Link encap:Ethernet HWaddr ***private***

    inet addr:192.168.1.6 Bcast:192.168.1.255 Mask:255.255.255.0

    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

    RX packets:3986071 errors:0 dropped:0 overruns:0 frame:0

    TX packets:4885954 errors:9 dropped:0 overruns:0 carrier:0

    collisions:0 txqueuelen:1000

    RX bytes:826236594 (787.9 Mb) TX bytes:803140251 (765.9 Mb)

     

    lo Link encap:Local Loopback

    inet addr:127.0.0.1 Mask:255.0.0.0

    UP LOOPBACK RUNNING MTU:16436 Metric:1

    RX packets:402630 errors:0 dropped:0 overruns:0 frame:0

    TX packets:402630 errors:0 dropped:0 overruns:0 carrier:0

    collisions:0 txqueuelen:0

    RX bytes:32028207 (30.5 Mb) TX bytes:32028207 (30.5 Mb)

  7. OK, that worked but now I have bigger problem.

     

    I tested acpi thoroughly, even in text mode. Suspend and hibernate don't work properly. The laptop suspends fine but when I press the power button the screen won't turn on so I have to take out the battery to restart. The laptop also hibernates fine but when I push the power button it boots the default kernel, starts loading memory image from swap partition and then hangs on "Settling down DMIs", it displays something like "double fault at rtd..." I can still boot linux by passing noresume to boot options.

     

    I decided to install apm hoping that would solve my problems. Installed the apmd rpm from CD and added apm=on acpi=off to kernel boot options. Restarted the laptop and it got stuck during "enabling pcmcia". Restarted again, same thing. I changed the boot options to acpi=on apm=off, the kernel booted fine, passed "enabling pcmcia" and right when it goes into X server the screen goes blank and the system hangs.

     

    What should I do now? Reinstall from scratch? I already did that 5 times trying to get Mandrake working properly on my laptop, still no luck.

     

    Thanks in advance to everyone who is helping me to solve this problem.

  8. HELP!!!!! I just updated to the new 2.6.3-13 kernel and pmsuspend2 performed suspend to disk perfectly! However when I turned on the laptop and booted the same kernel it started loading the image from swap partition, gave me an error and hanged. Now I can't boot either of my kernels, not even failsafe. I'm currently using LILO, so I can't just press 'e' and edit something.

     

    What should I do? I can't use Linux right now!

  9. I'm using Mandrake 10 with 2.6.3-7 vanilla SMP kernel. My laptop is Toshiba P15-S420. I have tried many different things but I still can't get suspend/resume to work. In Windows XP it works just fine.

     

    First, I tried acpi. I enabled acpi in the boot loader. The battery monitor works great. When I execute pmsuspend2 command, the laptop just switches to a screensaver with a password lock. The hard drive and fan are still working. Also, it gives me a "/bin/echo: write error: Operation not permitted".

     

    Next, I turned off acpi and enabled apm. Now the battery monitor always shows "plugged in, no battery". However when I execute a suspend command the laptop successfully goes into suspend mode, completely shuts off and has the power button blinking yellow. When I push the power button it just boots normally, no resume.

     

    Are there any other things I can try to get this to work? I heard about software suspend (swsusp) but I don't know how to use it, there is no readme that tell me which commands to use. I also tried recompiling the kernel and turning on all power management options but that didn't have any effect.

     

     

    [moved from Hardware by spinynorman]

  10. what default shell does your user have and is that shell installed ???

     

    edits

     

    also try another user.... can this one open the shell.

    The default shell is /bin/bash. I know it's installed because it works when I login as root. I created another user and it didn't help, same problem.

     

    Also, I tried running Konsole from run line, same thing.

  11. I'm running Mandrake 10 Official with 2.6.3-7 kernel and I have this problem: I can't launch Konsole as a regular user, it just opens the Konsole window and hangs there, doesn't show command prompt. When I log in as root it works fine. Also, when I go to Configure Your Computer it asks me for a root password and then says that SU command not found. I logged in as root and su command was working fine.

     

    This started happening after I installed Azureus (java version of Bittorrent) and tried adding it to path. I edited etc/rc.local and added PATH=$PATH:/home/... I know, this is probably wrong, I'm a newbie and I coulodn't find a FAQ how to add a program to search path. Also I uninstalled wxPython and some python libs that day. I tried commenting that line in rc.local but that didn't help.

     

    I think the problem is that the program search path is screwed up when I log in as a regular user. Any suggestions?

×
×
  • Create New...