[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Laptop cannot connect to itself



On Mon, 8 May 2006 fiaid@quasi-sane.com wrote:

> Are you exporting your display back to the other machines?
>
> Can you cut and paste the output of "netstat -rn" and "netstat -a --inet"
> back in here?  Also, in your apache (I am assuming here) configuration, do
> you have all the necessary parsers turned on for php to operate?
>


I have made no changes to the laptop that I can recall, and when I work on 
it remotely via ssh/X11, I used to be able to run (from my desktop)

[erich@harpo ~]$ ssh -Y erich@192.168.1.162 bluefish

and I'd have the remote bluefish editor available. That stopped working.

A ps command command on the laptop after running the command shown above 
shows:


[erich@froinleven ~]$ ps aux | grep bluefish
erich     3271  0.2  1.9  24988  9376 ?        Ss   14:03   0:00 bluefish
erich     3327  0.0  0.1   3912   684 pts/1    S+   14:05   0:00 grep 
bluefish

Hmm, perhaps that ? for the TTY is a clue?

Yes, all the php stuff is set up, and it works if I connect to httpd 
remotely, just not from the laptop itself. I have made one change to the 
php.ini file since this began--I turned off support of "short tags" 
(denoting embeded php language with a "<?" rather than "<?php" )
because this symptom was similar to one that I had seen when I set up 
repoview on a different machine. It didn't help the problem.

[erich@froinleven ~]$ netstat -rn
Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt 
Iface
192.168.1.0     0.0.0.0         255.255.255.0   U         0 0          0 
eth0
169.254.0.0     0.0.0.0         255.255.0.0     U         0 0          0 
eth0
0.0.0.0         192.168.1.1     0.0.0.0         UG        0 0          0 
eth0

and:

[erich@froinleven ~]$ netstat -a --inet
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address               Foreign Address 
State
tcp        0      0 *:34915                     *:* 
LISTEN
tcp        0      0 *:5801                      *:* 
LISTEN
tcp        0      0 *:mysql                     *:* 
LISTEN
tcp        0      0 *:5901                      *:* 
LISTEN
tcp        0      0 *:sunrpc                    *:* 
LISTEN
tcp        0      0 *:6001                      *:* 
LISTEN
tcp        0      0 froinleven:ipp              *:* 
LISTEN
tcp        0      0 froinleven:postgres         *:* 
LISTEN
tcp        0      0 froinleven:smtp             *:* 
LISTEN
tcp        0      0 froinleven:x11-ssh-offset   *:* 
LISTEN
tcp        0      0 192.168.1.162:5901          192.168.1.230:33316 
ESTABLISHED
tcp        0   3488 froinleven:x11-ssh-offset   froinleven:57519 
ESTABLISHED
tcp        0   9416 froinleven:57519            froinleven:x11-ssh-offset 
ESTABLISHED
udp        0      0 *:filenet-tms               *:*
udp        0      0 froinleven:filenet-rpc      froinleven:filenet-rpc 
ESTABLISHED
udp        0      0 *:filenet-nch               *:*
udp        0      0 *:bootpc                    *:*
udp        0      0 *:853                       *:*
udp        0      0 *:mdns                      *:*
udp        0      0 *:sunrpc                    *:*
udp        0      0 *:ipp                       *:*

At the time I ran the "netstat -a --inet" command I was connected to the 
laptop in one ssh session, the "ssh -Y erich@192.168.1.162 bluefish" 
command, and a vnc connection on 192.168.1.162:1. And physically on the 
laptop I'm logged in to the console.

Erich

>>>> Last week my Fedora Core 5 laptop (the one that you've seen me use at
>>>> meetings) stopped being able to connect to the webserver I have running on
>>>> itself. I have used this for years for my web development, connecting via
>>>> a number of names and other methods (localhost, or the current ip address,
>>>> or by another name [rochester-jugg.pheasant.net] that I made up and route
>>>> via /etc/host to 127.0.0.1 or whatever the ip address may be).
>>>>
>>>> The log files show that the server receives the request. If the page is
>>>> just static html, it will work. But most of my stuff has embedded php and
>>>> they don't work.
>>>>
>>>> I can, however, be on another machine and connect to it just fine.
>>>> Everything works well if I'm remote.
>>>>
>>>> As another clue, X11 doesn't seem to be able to work remotely from the
>>>> laptop either. Trying out that will look like this:
>>>>
>>>> [erich@harpo ~]$ ssh -Y erich@192.168.1.162
>>>> Last login: Mon May  8 13:13:11 2006
>>>> [erich@froinleven ~]$ xterm
>>>>
>>>>
>>>> and then it hangs and no xterm comes up. I suppose that some update in FC5
>>>> from last week caused this. Anyone have ideas?
>>>>
>>>> eks
>>>>
>>>> ---------------------------------------------------------------------
>>>> Erich Schroeder                    Phone: (217)785-0033
>>>> Curator, Learning Center           FAX:   (217)785-2857
>>>> Illinois State Museum GIS Lab      email:erich(at)illinois.state.museum
>>>> http://www.museum.state.il.us/     Linux user #18660
>>>> ---------------------------------------------------------------------
>>>>
>>>> -
>>>> To unsubscribe, send email to majordomo@silug.org with
>>>> "unsubscribe silug-discuss" in the body.
>>>>
>
> --
> Tighe Schlottog         workape         fiaid
> "Honesty is the best policy, but insanity is a better defense."
> -- Anonymous
>
> -
> To unsubscribe, send email to majordomo@silug.org with
> "unsubscribe silug-discuss" in the body.
>

---------------------------------------------------------------------
Erich Schroeder                    Phone: (217)785-0033
Curator, Learning Center           FAX:   (217)785-2857
Illinois State Museum GIS Lab      email:erich(at)illinois.state.museum
http://www.museum.state.il.us/     Linux user #18660
---------------------------------------------------------------------

-
To unsubscribe, send email to majordomo@silug.org with
"unsubscribe silug-discuss" in the body.