LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-17-2003, 11:10 AM   #1
falcon56215
Member
 
Registered: Jan 2002
Location: Tennessee
Distribution: Xubuntu Natty on Lenovo R61i Thinkpad
Posts: 108

Rep: Reputation: 16
Here's a CHALLENGE!! Win4Lin + vnet .. HELP!!


I am using one USB network adapter, it is a linksys Etherfast 10/100 USB Network adapter. I have no problems connecting in Linux. I have no problems connecting using Win4Lin if I use the Winsock 1 protocol. When I switch to vnet, my browser resolves hostnames, when I type a new address like www.excite.com, the browser will say connecting to site 208.45.133.23, but the connection then times out. Does anyone know what is causing this? For my TCP/IP settings, I have enable DNS, and my physical address of my network adapter in Linux (eth0) as a name server. I have nothing for Gateway in Linux or Windows, I have tried putting various settings in there and still I have had no luck. I have use DHCP for WINS RESOLUTION checked, I have also tried this unticked, no luck. I have obtain an IP address automatically ticked.

Please help if you can.
 
Old 05-17-2003, 11:33 AM   #2
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
Check the routing tables

route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
172.16.183.0 0.0.0.0 255.255.255.0 U 0 0 0 vmnet8
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
192.168.174.0 0.0.0.0 255.255.255.0 U 0 0 0 vmnet1
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo


If I request an address the routing table will be checked to see where it needs to go.

If it were on the network 172.16.183.0 like 172.16.183.117 for instance it will be sent through vmnet8, if it were on this network 192.168.174.0 like 192.168.174.3 it will go to the vmnet1 interface.

If it were on the 192.168.0.0 network it will go through eth0.
If I request a connectiong to network 127.0.0.0 network it goes to the lo interface


If it's 208.45.133.23 it does not go anywhere because it does not have a route on that network, and it will not simply guess at one.



Now look at this routing table


route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
172.16.183.0 0.0.0.0 255.255.255.0 U 0 0 0 vmnet8
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
192.168.174.0 0.0.0.0 255.255.255.0 U 0 0 0 vmnet1
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 192.168.0.1 0.0.0.0 UG 0 0 0 eth0



notice the last line 0.0.0.0 192.168.0.1 0.0.0.0 UG 0 0 0 eth0

this says everything on any network goes through eth0 as designated by a Destination of 0.0.0.0

The routing table is check in order until a valid route is found, and finally everything that does not match will be sent through eth0 buy the Destination 0.0.0.0

This entry into the routing table is known as a default route or default gateway

you can add a default route like this

ifconfig add default gw 192.168.0.1

However the default gateway computer that you pick must be a router capable of handling this request. Such as your ISP's gateway server or your own router that has a connection established to your ISP's gateway sever.


Last edited by DavidPhillips; 05-17-2003 at 11:40 AM.
 
Old 05-19-2003, 02:41 PM   #3
falcon56215
Member
 
Registered: Jan 2002
Location: Tennessee
Distribution: Xubuntu Natty on Lenovo R61i Thinkpad
Posts: 108

Original Poster
Rep: Reputation: 16
Thanks for the info. It turned out to be something with Win4Lin. I wiped out the /home/win directory and re-installed my local windows 98 with winsock protocol, then switched to vnet with win_network -v. It then worked with my firewall disabled, so I had to put an entry in rules to allow the virtual network access to the internet, now everything is peachy. whew!!

Thanks again,
Danny
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Its the VIM challenge! king8 Linux - Software 6 03-24-2014 12:44 PM
Want a challenge? TruckStuff Linux - Security 2 05-13-2005 01:39 AM
here lies a challenge!!!! jayboogie Linux - Newbie 7 12-20-2004 09:41 PM
up for a real challenge? ZaphyR Linux - General 44 09-03-2004 12:18 PM
a challenge for you derfaust Programming 3 03-12-2004 12:23 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:51 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration