Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
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.

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?

3Dave,
Thanks for the help. Here' s my info....
The resolv.conf does change each time I dial up with temp entry'ssearch localdomain
name server 64.136.28.158 #kpp temp entry
name server 64.136.20.158 #kpp temp entryhere'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 ppp0and 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.

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?

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?

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)

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.

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!

![]() |
![]() |
![]() |

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