Operating Systems > Linux and UNIX

Help getting Linux connected to the net!

<< < (3/4) > >>

Neuro7:
In my /etc/resolv.conf file I have:
domain 24.159.189.1
search net
name server 24.159.191.6

When I try the ping 24.159.189.1 I get Destination Host Unreachable. Same thing with the google address.

Thanks,
Neuro7

voidmain:
Also, if this fixes your problem I notice you have this machine hooked up directly to your cable modem.  It would be wise to turn off all unnecessary services and configure your firewall in Linux (I don't know what firewall method Mandrake uses but it would use one of a few like "ipchains").

I personally have a machine dedicated to serving as a router/firewall/proxy/VPN.  It's just an old P100 running RedHat 6.2, ipchains, Squid, and FreeS/WAN IPSEC VPN software.  I put two network cards in the machine, one connected to the Cable Modem and the other connected to my inside network.  That way I don't have to be too concerned about security on my inside machines.

It works great because I block outgoing web access at the firewall and force any web traffic through my proxy server.  I am pretty Nazi about where I let my kids surf so whenever you pop up a web browser on one of my machines the proxy server prompts for a username and password.  Browsing to sites are granted or rejected based on the username/password supplied.  The proxy also filters out banner advertisements and tracking counters etc from any web site that is visited.  I replace the adds with a graphic that says "Ad removed by VoidMain".  Life is good.

And with the VPN software, my partners home networks show up as part of my network.  I can see all of their home machines on my network as if they were a part of it.  Works pretty slick, and it was all free.  There are some good hardware devices that will do the VPN part but they are rather expensive. Might as well use Linux for this.

voidmain:

quote:Originally posted by Neuro7:
In my /etc/resolv.conf file I have:
domain 24.159.189.1
search net
name server 24.159.191.6

When I try the ping 24.159.189.1 I get Destination Host Unreachable. Same thing with the google address.

Thanks,
Neuro7
--- End quote ---


"nameserver" should not have a space in it, however, it should not have anything to do with you not being able to ping your gateway by address, which would mean you would certainly not be able to get beyond your gateway.  Can you even ping the local IP address that DHCP gave your machine?

Try and ping the "inet address" from the "/sbin/ifconfig eth0" command.  In order for your machine to have even received it's DHCP configuration it would have been able to communicate with the DHCP server.  I am really confused as to why you can not ping your gateway because your IP configuration and routing table appears to be set up correctly.  The only other thing I can think of is the DHCP server gave out your same address to someone else which would cause a conflict. IP addresses are unique and there can't be two of the same IP address on the network at the same time, only one will be able to talk.

What output do you get from the "/sbin/arp -a" command?  Damn, this is a good one and I was certain you were going to be up and running after that last post.  I am really sorry it hasn't worked out.  Wish I could get my hands on your machine and trouble-shoot the problem. It's much tougher trying to doing it through a BBS system...

I had a similar problem when trying out a NetScreen 5 VPN box on Charter's cable network. The box would get a DHCP configuration but it would not talk to the network.  I worked for a week with the Netscreen and the Charter engineers and it just wouldn't work.  Something proprietary about Charter's network must have been causing the problem because I could set up a test network and it would work just fine.  Hook it straight up to the cable modem and no packets will get through.  But like I said, I have a RedHat box connected directly to the cable modem on Charter's network and it works fine.

Hmmmmm, running out of ideas, other than maybe hooking up a 4 port LinkSys cable/DSL router/firewall for about $100.  These devices do work on Charter's network and it will also provide a web based firewall and you can hook both your Windows machine and your Linux machine up to it and it should work.  The LinkSys box is also a DHCP server so it will provide your inside machines off-net addresses.

Neuro7:
I pingged the inet address from the /sbin/ifconfig eth0 and it worked with no problems. When I try the /sbin/arp -a command, the 1st time I got:
? (24.159.189.1) at 00:59:73:01:44:54 [ether] on eth0
I tried it again and got:
? (24.159.189.1) at <incomplete> on eth0

I also checked the "nameserver" in /etc/resolv.conf and it is one word, I made a typo in my last post. As of now I am still no go on the net.

As for the Linksys cable/dsl router 4-port switch firewall, that was exactly what I was looking at getting, I just havn't broken down and purchased it yet.

I thank you very much for your time and help VoidMain, there are so many others out there that just flame and put down newbies which makes it tough for newbies to switch over to a Linux/Unix/BSD type OS.

Thanks,
Neuro7

voidmain:
One more thing.  What exactly is the make/model of Ethernet card you have in your Mandrake box?  I'll search the net and see if there are any issues with Mandrake 8.0 and the driver/card you are using.  It's possible there is an intermittent issue with your network card.  I would think you would see some error messages in your log files though (/var/log/messages).

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version