delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/01/19/15:04:39

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Wed, 19 Jan 2005 15:04:25 -0500 (EST)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: "Browning, Jeff" <jeff DOT browning AT netapp DOT com>
cc: cygwin AT cygwin DOT com
Subject: RE: bash not functional on laptop with wireless (VPN) connection
In-Reply-To: <D9A7BF8EF00B804695422C462D132B5F01E9CD77@RTPEXC02.hq.netapp.com>
Message-ID: <Pine.GSO.4.61.0501191450510.20608@slinky.cs.nyu.edu>
References: <D9A7BF8EF00B804695422C462D132B5F01E9CD77 AT RTPEXC02 DOT hq DOT netapp DOT com>
MIME-Version: 1.0

Ugh, top posting...  Reformatted.

On Wed, 19 Jan 2005, Browning, Jeff wrote:

> > -----Original Message-----
> > From: Igor Pechtchanski [mailto:pechtcha AT XX DOT XXX DOT XXX]
> > Sent: Wednesday, January 19, 2005 11:47 AM
> > To: Browning, Jeff
> > Cc: cygwin AT XXXXXX DOT XXX

<http://cygwin.com/acronyms/PCYMTNQREAIYR>.  Google on the acronym for
possible fixes.  Thanks.

> > Subject: Re: bash not functional on laptop with wireless
> >
> > On Wed, 19 Jan 2005, Browning, Jeff wrote:
> >
> > > All:
> > >
> > > I have installed Cygwin Xfree on my T40 laptop and yesterday when
> > > in the office over a normal wired ethernet connection, it was
> > > working fine.
> > >
> > > Today, I am working from home over a wireless connection, and
> > > Cygwin has become completely non-functional. The bash shell shows
> > > nothing, basically it's just dead.
> > > [snip]
> > > Any clue what is going on here?
> >
> > The bash thing sounds like a general Cygwin problem, so you should
> > take it to the main Cygwin list (redirecting and setting Reply-To:).
> > Do you happen to run a VPN in addition to your wireless connection?
> > Also, please review <http://cygwin.com/problems.html> to see how you
> > can provide the relevant information about your system.
>
> All:
>
> Per the instructions on the web page referred to by Igor, below, my
> cygcheck.out file is attached.
>
> Yes, I am running the Cisco VPN client in addition to a wireless network
> connection. So I just tested it with the wireless on, but the VPN off.
> It works fine. Therefore, the problem is the VPN connection not the
> wireless connection.

Your cygcheck output shows that your home directory is on a network share.
Can you access that share with VPN connection on?  What directory does
bash normally start up in?  Can you run "bash -i" from a command prompt
(i.e., omit the --login flag, so that it doesn't try to access your home
directory)?  If not, does "bash --norc -i" work?  Do any other Cygwin
programs (e.g., "ls") work?

> My Cisco VPN client is version 4.0.2.  My Cygwin was downloaded
> yesterday, so it should be fairly up-to-date.  My bash shell reports
> 2.05b.

The Cygwin information, BTW, is all contained in the cygcheck output[*].
The fact that simply turning off the VPN (as opposed to uninstalling it)
makes things work suggests that it's not messing with things like TCP/IP
stack, etc.  Could it be simply that the VPN client sets some environment
variables that interfere with Cygwin?

> My question, then, is how to use Cygwin, including the X server, in
> conjunction with my VPN connection.

You'll have to debug this, as I have no problem running Cygwin on my home
Win98 machine (yes, pathetic, isn't it) even when connected using Cisco
VPN used by my father (I don't recall the version at the moment).

If you can get one of the commands suggested above to work, it may be
simply that bash tries to access your home directory and fails.  If that
is the case, check whether you can access your home share using Windows
mechanisms -- perhaps there's a Windows/network configuration error
somewhere.

If you get repeatable hangs with all Cygwin programs (i.e., the VPN
affects the working of the main Cygwin DLL), you'll need to use something
like strace to see where it hangs (and analyze the output yourself --
please don't send unsolicited strace output to the list).  The man page
for strace should contain enough info to get you started.

HTH,
	Igor
[*] As I keep telling people, "your Cygwin installation is only as
up-to-date as the mirror you're using".  You did use a mirror that's
updated regularly, so in your case this doesn't apply, but I thought I'd
throw this in for good measure...
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse..." -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019