LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 11-25-2003, 04:23 AM   #1
costasm
Member
 
Registered: Dec 2002
Posts: 71

Rep: Reputation: 15
Internet works with Windows but not Linux.


I have a dual boot RH9/Windows XP machine.

On a corporate network, I boot into Windows XP and I can browse the Internet. WHen I PING from Windows it shows me the site's IP address, but no replies come back. Yet Windows IE still works fine.

I copied down the default gateway( 10.0.0.1 ) and DNS info before booting into RH9.

RH9 boots up normally, gets the same DNS and default gateway address as Windows, but I cannot browse the Internet. The PING behaves the same as in Windows (ie, no reply packets coming back).

1) Why does Windows work but not RH9 eve though the gateway and DNS is the same? I tried to search forums but there was nothing similar to this.

Thanks
 
Old 11-25-2003, 06:22 AM   #2
Tap-Out
Member
 
Registered: Oct 2002
Location: Halifax, NS
Distribution: Ubuntu, Mepis, Debian
Posts: 130

Rep: Reputation: 15
You mentioned you were in a corp. network. I find a lot of companies (as a security precaution) will allow port 80 to go through but not the port that ping works on (I can't remember which one ping uses right now... too early).

A reason you may not be able to browse the internet in Linux is there may be a proxy server address you need to give. Windows will probably pick it up automatically, however I think you may need to give linux the address.

Again these are assumptions, based on many corporate networks I've seen.
 
Old 11-25-2003, 06:32 AM   #3
aqoliveira
Member
 
Registered: Dec 2001
Location: Portugal
Distribution: /Red Hat/Fedora/Solaris
Posts: 622

Rep: Reputation: 30
Howzit

use this cmd to see if NIC is up and running ifconfig this should show u the ip addr which u setup. try using traceroute www.linuxquestions.org and see if it replys or not. Doing this will check if your nic under linux is configured and working properly.

chow
 
Old 11-25-2003, 02:34 PM   #4
lnxpeng
LQ Newbie
 
Registered: Sep 2003
Distribution: SlackWare 9.0
Posts: 14

Rep: Reputation: 0
I have also had similar problems in the past. Try disabling Plug-and-Play in the BIOS. That worked for me.
 
Old 11-25-2003, 02:47 PM   #5
costasm
Member
 
Registered: Dec 2002
Posts: 71

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by lnxpeng
I have also had similar problems in the past. Try disabling Plug-and-Play in the BIOS. That worked for me.
This is a notebook. There is no plug and play.

Just wanted to add that the Admin guys said has another gateway where PING works. (10.0.0.4)

I was trying to figure out how to change the iptables to use that gateway.
I had no luck. In addition ipdown/ipup was resetting everything.

Can anyone tell me how to change the default gateway to sme other gateway and make it permanent?

Thanks

Last edited by costasm; 11-25-2003 at 02:50 PM.
 
Old 11-26-2003, 09:09 AM   #6
aqoliveira
Member
 
Registered: Dec 2001
Location: Portugal
Distribution: /Red Hat/Fedora/Solaris
Posts: 622

Rep: Reputation: 30
howzit

u may edit this manually or just type the cmd netconfig or setup or redhat-config-network place settings wanted then service network restart to take effect. To check that it has been changed can take a look at /etc/sysconfig/network.

chow
 
Old 11-26-2003, 09:20 AM   #7
nowonmai
Member
 
Registered: Jun 2003
Posts: 481

Rep: Reputation: 48
Quote:
Originally posted by Tap-Out
You mentioned you were in a corp. network. I find a lot of companies (as a security precaution) will allow port 80 to go through but not the port that ping works on (I can't remember which one ping uses right now... too early).
ping doesn't use a port, it's an ICMP packet. Often, though, ICMP is quenched in corporate nets... provents DoS attacks I suppose.
 
Old 11-26-2003, 10:12 AM   #8
aqoliveira
Member
 
Registered: Dec 2001
Location: Portugal
Distribution: /Red Hat/Fedora/Solaris
Posts: 622

Rep: Reputation: 30
howzit

I didnīt remember about the part that mentioned the coporate network. It might be true what nowonmai mentioned.

Getting back to your internet problem check your /etc/resolv.conf file. Place the following entries in this file, u have to place nameserver/dns entries as well as domain name in the following manner for it work.


search domain name
nameserver xxx.xxx.xxx.xxx


Get this info from your administrator

chow
 
Old 11-26-2003, 12:08 PM   #9
JordanH
Member
 
Registered: Oct 2003
Location: Toronto, Canada
Distribution: Ubuntu, FC3, RHEL 3-4 AS Retired: SuSE 9.1 Pro, RedHat 6-9, FC1-2
Posts: 360

Rep: Reputation: 30
Someone above mentioned my first thought - Proxy.

Boot into WinXp and then from I.E. check your Tools - Internet Options - Connections - LAN Settings (I think) to see if there is a proxy server listed. I suspect you have one setup by default on your corporate LAN.

Lets start out with some basic trouble shooting...
1. Can your linux box ping localhost
2. Can your linux box ping your other ip address (are you using DHCP or do you have a static one? You may be on the wrong network if your card says 192.168.0.2 and your gateway is 10.0.0.1)
3. Do you have a paranoid firewall running? What does iptables -L say?
4. What is the output of route?
5. What is the output of ifconfig?

We'll work from there...
 
  


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
Vnc only works linux to windows not windows to linux mbdayton Linux - Networking 2 04-16-2005 06:36 PM
No internet access in linux, works fine in windows c0uchm0nster Linux - Networking 8 01-29-2004 06:45 AM
My internet works with Windouz, but with LINUX :((( turnovg Linux - Networking 19 12-16-2003 01:02 PM
No Internet in Linux, Works in XP whoami Linux - Networking 13 12-01-2003 07:04 PM
Which ISP (internet provider) works well with Linux? Rayvenz Linux - Newbie 3 03-24-2003 01:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:31 PM.

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