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:
Being new to linux, is there any way (or command) to check network connectivity is working properly?
Honestly, I am not even sure is that VMware causing this problem or is it linux that i have to configure?
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.
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
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.
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
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.
:rolleyes: 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.
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)
Also, in redhat, try using the "neat" command form the terminal. It opens a window where you can alter and setup hardware profiles so you can configure your connectivity devices specifically to your needs. You can also create multiple profiles for each piece of hardware so it is setup differently for home use than is is for your proxy at your office.