Opened 14 years ago

Closed 13 years ago

#6600 closed bug (invalid)

TCP connection does not work - solved

Reported by: hitech Owned by: axeld
Priority: normal Milestone: R1
Component: Network & Internet/TCP Version: R1/alpha2
Keywords: networking, tcp, telnet, surfing Cc: ahitech@…
Blocked By: Blocking:
Platform: x86

Description

I'm using the VMWare image, and had run into a strange problem with surfing and telnetting to web sites. The problem exists since R1a2, and I've experienced it in R1a2 official build and in R38627 nightly build; however, it does not exist in version R34784.

The problem is represented by the following behavior: I can ping and resolve just about any site on the Internet, but I can't browse to them or even telnet to them on port 80. The request is sent, but the answer is either not received or not treated properly.

Symptoms

  • Pings are fine → that means at least UDP works.
  • Using any browser to any site, both to the hostnames and to IPs → "Waiting for reply..." until timeout.
  • Telnet to any site on port 80 → "Trying <Correct IP>..." until timeout.
  • SSH to my account on Berlios.de or to my account at the university → No reply, then timeout.
  • SSH to an invalid host → I receive a message "Could not resolve hostname" (which is correct, thus resolving works).

Software

I'm using VMware Workstation 6.0.5 or VMware player 2.0.5.

Haiku versions which suffer from this problem are from R1a2 official to R38627 nightly including.

Attachment

The output of tcpdump while trying to telnet to www.haiku-os.org on port 80.

Attachments (1)

tcpdump.log (6.6 KB ) - added by hitech 14 years ago.
tcpdump while trying to "telnet www.haiku-os.org 80"

Download all attachments as: .zip

Change History (10)

by hitech, 14 years ago

Attachment: tcpdump.log added

tcpdump while trying to "telnet www.haiku-os.org 80"

comment:1 by hitech, 14 years ago

Cc: ahitech@… added
Version: R1/DevelopmentR1/alpha2

comment:2 by hitech, 14 years ago

In Hybrid GCC4 release 38828 the problem still persists.

However, in the same R38828 under VirualBox the networking works fine.

Last edited 14 years ago by hitech (previous) (diff)

comment:3 by Coldfirex, 14 years ago

hitech: What are your network settings in Vmware itself?

comment:4 by hitech, 14 years ago

I have tried several options in VMware: NAT and Bridged, namely.

comment:5 by hitech, 14 years ago

The bug still exists in R40925 GCC4 hybrid.

Version 0, edited 14 years ago by hitech (next)

comment:6 by hitech, 14 years ago

Ok, here's some good news:

In version R41138 GCC4 hybrid, I've succeeded to get on-line and surf the net in VMWare.

In order to accomplish this task, I had to create a new virtual machine, manually add it the boot disk, configure the Ethernet adapter to work in Bridged mode, edit the .vmx file in Notepad to specify the type of the adapter (I used e1000), create a DHCP-server in my home network, configure the Haiku to obtain the IP address automatically, and only then I succeeded to surf.

Still, I was unable to get online using the provided .vmx out of the box. I had to create a new virtual machine.

Considering success of my attempts to get online, this bug report may be set as low priority (or even closed).

comment:7 by hitech, 14 years ago

The problem returned again after I changed my host's IP address. Maybe it's the VMWare's guilt after all?.. How can I check it?

comment:8 by hitech, 13 years ago

Summary: TCP connection does not workTCP connection does not work - solved

Well, the problem was solved. It was VMWare's problem; I used the solution written here.

The bugreport should be closed.

comment:9 by luroh, 13 years ago

Resolution: invalid
Status: newclosed

That's good to hear, closing.

Note: See TracTickets for help on using tickets.