Re: Internet connection on Linux



Jim Cochrane <allergic-to-spam@xxxxxxxxxxxxxxxxxxx> writes:

On 2008-04-26, CCW <c.c.wood@xxxxxxxxx> wrote:
Hi,

I've got a FC7 server, running a workgroup with ~10 windows PCs. I'm
sharing the internet connection via FC7, so my setup is:


Router (192.168.0.1) ------ (eth0) 192.168.0.2 - (eth1) 192.168.1.1
------ Windows computers (1.2 - 1.10)

All of the windows computers can use the internet fine, but my FC7
server can't! I can access websites / ping by ip address but not by
name. I've checked the dns settings, and they seem to be ok, and I'm
a bit lost as to what else to check! Any ideas what could be wrong?

OK, your FC7 can also see the internet fine. If they can do things by IP
address, your routes, etc are fine. The problem is with DNS.
What does /etc/resolv.conf say? Can you ping that machine address?

what is the resolv.conf on the windows machines?




I encountered a similar problem and was able to fix it a couple days
ago. The cause of the problem may be completely different from yours,
but in case it's the same or similar, here's a brief summary - put in
vague, nontechnical terms because I'm not a DSL or networking expert and
I didn't investigate in detail what was happening:

The DSL modem I was using appeared to have an inside line of
communictation to the windows machines (probably with respect to DHCP
and/or NAT). My firewall was getting an address via DHCP from the modem
of 192.168.0.6 instead of something sensible (and expected), such as my
current valid address: 75.166.182.133. The windows machines (on the
same internal network as my Linux machine, protected by the firewall)
were able to deal with this wierdness, but my Linux system, at least
with respect to browsing, was not. (The firewall is configured to
perform NAT via iptables - perhaps the modem was also doing NAT.)

The fix was to change back to a modem I was using before - it gave my
firewall reasonable IP addresses (i.e., passed on the address obtained
from the qwest server) and the problem went away. (I had switched to
the other [problem] modem during a call to qwest tech. support to check
whether a problem with slow speeds [unrelated to the above problem] was
caused by the modem - it wasn't, but I had left the 2nd modem connected,
thinking it should work the same.)

It could be that this "windows-friendly" modem is configurable such that
it does not do this wierdness re. DCHP (and perhaps NAT). (Maybe it's
as simple as turning NAT off.)

(Anyone reading this who knows the complete explanation of what happened
here and is thinking something like "obviously, what was happening was
..." is welcome to put the ... into words; besides myself, I'm sure
others would be enlightened by and appreciate it; and corrections to my
probably naive explanation are welcome.)


--

.



Relevant Pages

  • Repeatedly disconnect from internet (Dial-up Problem)
    ... I can not connect to Internet easily. ... Modem make is Multi Tech System, ... to Internet with O.S Windows 98 but with Window XP ... This connection uses the following items: ...
    (microsoft.public.windowsxp.network_web)
  • Re: Connection to the internet successful - unable to load any website
    ... > When the owner tries to connect to the internet via modem (ISP ... > the connection had been successfully established (the blinking icon in ... > don't have any problems dialing-up to the internet (miscellaneous IP ... > formatting the hard disk and reinstalling Windows)? ...
    (microsoft.public.windowsxp.general)
  • Re: 8 minute connection freeze
    ... > I've been investigating my curious connection freeze for a month now. ... > happens when I connect to my network or to the internet via my modem. ... It's looking like a Windows Explorer cock-up, ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: have to re-boot windowsXP
    ... and I use F-Secure for viruses. ... >> have dsl, modem is a Netopia. ... I have windows XP home. ... >> awhile I can't connect to the Internet anymore. ...
    (microsoft.public.windowsxp.network_web)
  • I want my internet connection to disconnect for incoming calls
    ... I'm not sure what specific brand of modem I have. ... >internet, ... >>an incoming call, but it won't. ... >>really just want Windows XP to do what earlier Windows ...
    (microsoft.public.windowsxp.network_web)