The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Dos-Unix Connectivity shekhar_ssm Shell Programming and Scripting 1 01-23-2008 02:54 AM
Hummingbird Connectivity Division Releases Connectivity 2008 (EContent Magazine) iBot UNIX and Linux RSS News 0 06-17-2007 06:37 PM
Lost Connectivity to the Internet Aaron Van IP Networking 5 05-21-2007 10:02 AM
My sql connectivity comp_rupesh Shell Programming and Scripting 0 03-14-2006 02:21 PM
Internet connectivity via Win-ICS Cameron UNIX for Dummies Questions & Answers 2 09-02-2004 12:11 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 08-11-2003
eysheikah eysheikah is offline
Registered User
  
 

Join Date: Sep 2002
Location: New York
Posts: 10
Question RedHat Internet Connectivity

I recently installed RedHat9 on my laptop as a guest OS. My host OS is Windows2000 and I am using VMWare to toggle between two OSs.

Any time I try to connect to internet from RedHat environment using Mozilla, internet acces does not work. At the office, after connecting my laptop to our company's network and configuring Mozilla's proxy setting to company standard's (allowed) automatic configuration script, the connectivity to internet does not work.

Here, the help that I like to request from you folks is:

1. Being new to linux, is there any way (or command) to check network connectivity is working properly?

2. Honestly, I am not even sure is that VMware causing this problem or is it linux that i have to configure?

3. Like in windows, you type 'ipconfig' to check ip address of the ethernet connection or 'ipconfig /renew' to renew the dynamic address. What such command is used in Lunix? or is there any related feature available?

Any feedback would be greatly appreciated on VMWare and Linux.

Cheers...
  #2 (permalink)  
Old 08-12-2003
pressy's Avatar
pressy pressy is offline Forum Staff  
solaris cultist
  
 

Join Date: Aug 2003
Location: Vienna / Austria (Europe) [EARTH]
Posts: 726
.....

when you are using vmware, you have to choose which kind of interface you would like to use: bridged, nat, host-only, none.. so you have to adjust your defaultrouter (gateway) ..

ipconfig in windows is ifconfig in unix.....
to learn more about, type: man ifconfig

greetings Preßy
  #3 (permalink)  
Old 08-12-2003
eysheikah eysheikah is offline
Registered User
  
 

Join Date: Sep 2002
Location: New York
Posts: 10
Pressy,

Thanks for the feedback. Before posting this issue, I did tried that option within VMWare and set it up as NAT and later changed to Bridged. Typing 'ifconfig' I do see an ip address assigned by the network.

However, I'm not sure how to access the internet. What command(s) should I type to test internet connectivity from terminal window of redhat9.

Our company's NT administrator has provided me with the proxy settings that I inserted in Mozilla's preference box. For some strange reason, it still does not connect to internet.

More of your feedback would be appreciated....

Regards
  #4 (permalink)  
Old 08-12-2003
pressy's Avatar
pressy pressy is offline Forum Staff  
solaris cultist
  
 

Join Date: Aug 2003
Location: Vienna / Austria (Europe) [EARTH]
Posts: 726
is your interface online?
ping <YOUR-IP>
i would try whether i have a connection to the intranet.
ping <IP>
then i would try whether i can reach the gateway
ping <GW-IP>
then i would try to ping something in the internet
ping www.something.com
error ?
check your DNS settings...
/etc/resolv.conf
try nslookup
nslookup www.something.com
look into the /etc/nsswitch.conf. is it like this?:
hosts: files dns
...
..
.
greetings Preßy
  #5 (permalink)  
Old 08-12-2003
eysheikah eysheikah is offline
Registered User
  
 

Join Date: Sep 2002
Location: New York
Posts: 10
This is what I get step-by step:

#Typing <ifconfig>, I get:
etho inet addr: 100.XX.XX.75 Bcast: 100.XX.XX.255
RX packets: 1100 errors:0 dropped: 0 overruns:0

Obtaining this info, then I type-
# <ping 100.XX.XX.75> (assuming this is my ip address)
I get:
64 bytes from 100.XX.XX.75: icmp_seq=1....68 ttl=65 time=0.156 ms

However, when I try to ping some site by typing-
# <ping www.xyz.com>, I get:
ping: unknown host www.xyz.com

As suggested, then I tried to check my DNS setting at /etc/resolv.conf. The entry there was "nameserver 127.0.0.1"
I vi into /etc/resolv.conf file and changed the entry to "nameserver 100.XX.XX.75". Thinking, this is it but unfortunately still the ping command (ping www.xyz.com) does not work.

Last but not least, then I tried nslookup by typing <nslookup> at the prompt. The note I get was,
"Note: nslookup is deprecated and may be removed from future releases. Consider using the 'dig' and 'host' programs instead."
Following the instructions, I typed <host www.xyz.com> and got the message, "connection timed out; no servers could be reached".

Looking into /etc/nsswitch.conf, I did noted that it displayed
hosts: files dns
.......
.......
.......

Please let me know if you have any other options to recommend.

Thank you so much and regards.........
  #6 (permalink)  
Old 08-13-2003
pressy's Avatar
pressy pressy is offline Forum Staff  
solaris cultist
  
 

Join Date: Aug 2003
Location: Vienna / Austria (Europe) [EARTH]
Posts: 726
...

you have to put the DNS server IP into /etc/resolv.conf, not your own IP. ask your admin for the IP-Addr. or type in your windows:
ipconfig /all
there your DNS server(s) will be displayed...
i think you have to restart (you also can restart the inet deamon, but i don't know where to do in REDHAT)

greetings Preßy
  #7 (permalink)  
Old 08-13-2003
eysheikah eysheikah is offline
Registered User
  
 

Join Date: Sep 2002
Location: New York
Posts: 10
Thank you Pressy for your valuable feedback. Let me try some of the options you mentioned and will post the solution, if resolved, for others....

regards
Sponsored Links
Closed Thread

Bookmarks

Tags
linux

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 05:33 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0