Computing.Net > Forums > Linux > unable to browse internet

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

unable to browse internet

Reply to Message Icon

Name: 07dsims (by dsims1)
Date: February 17, 2006 at 21:02:38 Pacific
OS: redhat 9
CPU/Ram: --
Product: --
Comment:

Does anyone have any ideas why the minute I install a network card into my computer, I'm then unable to browse the internet. using ifconfig I can ping my dialup internet,(Netzero) but unable to browse through Firefox. My resolv.conf file has "search local domain" and has temp nameserver address. I'm not sure if it's a DNS problem or maybe iptables? the minute I remove the network card I'm then able to browse the internet. I'm also not sure how to setup the DNS. With Netzero the DNS keeps changing. So as long as I run the system without a network card I'm fine.

You're help greatly appreciated.



Sponsored Link
Ads by Google

Response Number 1
Name: 3Dave
Date: February 18, 2006 at 09:14:51 Pacific
Reply:

Sounds as though your default gateway is being changed to the NIC when it is installed. Compare the outputs from the /sbin/route command before and after inserting the NIC.You may need to delete one or add another for your dial-up.

What exactly is the contents of /etc/resolv.conf? Does it change depending on whether you have the NIC installed? WHen you say you can ping your dialup internet, is that via IP address or FQDN?


0

Response Number 2
Name: 07dsims (by dsims1)
Date: February 18, 2006 at 12:01:59 Pacific
Reply:

3Dave,
Thanks for the help. Here' s my info....


The resolv.conf does change each time I dial up with temp entry's

search localdomain
name server 64.136.28.158 #kpp temp entry
name server 64.136.20.158 #kpp temp entry

here's the route:

Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
apx8101sys.lsan * 255.255.255.255 UH 0 0 0 ppp0
169.254.0.0 * 255.255.0.0 U 0 0 0 lo
127.0.0.0 * 255.0.0.0 U 0 0 0 lo
default apx8101sys.lsan 0.0.0.0 UG 0 0 0 ppp0

and ifconfig:

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:58 errors:0 dropped:0 overruns:0 frame:0
TX packets:58 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:4020 (3.9 Kb) TX bytes:4020 (3.9 Kb)

ppp0 Link encap:Point-to-Point Protocol
inet addr:67.150.22.31 P-t-P:63.93.65.81 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1524 Metric:1
RX packets:544 errors:0 dropped:0 overruns:0 frame:0
TX packets:608 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:341307 (333.3 Kb) TX bytes:82665 (80.7 Kb)

I'll try to re-install the network card and see if the gateway changes.


0

Response Number 3
Name: 07dsims (by dsims1)
Date: February 20, 2006 at 00:41:54 Pacific
Reply:

Thanks 3Dave, you were correct, it was the default gateway. I however don't understand why configurating the lan network, effects the dial-up networking, in terms of the default gateway. Didn't "windoze" have separate configurations for both the dial-up networking and LAN networking. thus allowing you to specify separate gateways? using kppp, with Dynamic ip addressing, doesn't the dial-up networking know what default gateway to use?


0

Response Number 4
Name: 3Dave
Date: February 20, 2006 at 01:13:01 Pacific
Reply:

Both the LAN and dial-up do have separate configurations, it is just that redhat is automatically setting the default gateway to be the LAN when the NIC is there. I'm surprised it doesn't set the new gateway when starting kppp. What sort of card is the NIC? Are you talking about a PCMCIA card and a laptop or an internal PCI card?


0

Response Number 5
Name: 07dsims (by dsims1)
Date: February 20, 2006 at 01:53:54 Pacific
Reply:

3Dave, it's a realtek pnp pci card 10/100. I'm still using my dinosaur machine, with Redhat 9 because my modem is isa. My new, Fedora core 4 box only has pci slots inside. So right now I'm only networking the two boxes together via 10base-T (cross over cable)


0

Related Posts

See More



Response Number 6
Name: 3Dave
Date: February 20, 2006 at 02:15:35 Pacific
Reply:

If you are planning to install the card
permanently then you should be able to set
up your network quite easily. I haven't used
redhat sine version 5.2, there is probably a
GUI config util called something like
redhat-config-net, use that to set a static
IP for the NIC and a default gateway. You
may have more luck
editing /etc/sysconfig/network instead.


0

Response Number 7
Name: 07dsims (by dsims1)
Date: February 20, 2006 at 20:04:09 Pacific
Reply:

Thanks 3Dave.... You're the best! you really know you're Linux.


0

Response Number 8
Name: 3Dave
Date: February 21, 2006 at 00:23:27 Pacific
Reply:

Glad I could help.

Still finding stuff out myself. Just trying
to answer the questions on this forum has
increased my GNU/Linux knowledge tenfold.
The day I stop learning is the day I die!


0

Sponsored Link
Ads by Google
Reply to Message Icon






Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: unable to browse internet

Can't find host (browse internet) www.computing.net/answers/linux/cant-find-host-browse-internet/15620.html

Browsing Internet from WinPC via Linux www.computing.net/answers/linux/browsing-internet-from-winpc-via-linux/6964.html

How to browse network in FC1? www.computing.net/answers/linux/how-to-browse-network-in-fc1/26231.html