This is the mail archive of the
mailing list for the Cygwin project.
RE: bash not functional on laptop with wireless (VPN) connection
- From: Igor Pechtchanski <pechtcha at cs dot nyu dot edu>
- To: "Browning, Jeff" <jeff dot browning at netapp dot com>
- Cc: cygwin at cygwin dot com
- Date: Wed, 19 Jan 2005 15:04:25 -0500 (EST)
- Subject: RE: bash not functional on laptop with wireless (VPN) connection
- References: <D9A7BF8EF00B804695422C462D132B5F01E9CD77@RTPEXC02.hq.netapp.com>
- Reply-to: cygwin at cygwin dot com
Ugh, top posting... Reformatted.
On Wed, 19 Jan 2005, Browning, Jeff wrote:
> > -----Original Message-----
> > From: Igor Pechtchanski [mailto:pechtcha@XX.XXX.XXX]
> > Sent: Wednesday, January 19, 2005 11:47 AM
> > To: Browning, Jeff
> > Cc: cygwin@XXXXXX.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.
> 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
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
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.
[*] 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...
|\ _,,,---,,_ email@example.com
ZZZzz /,`.-'`' -. ;-;;,_ firstname.lastname@example.org
|,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