lan and modem internet connections

I want to connect to the internet but keep getting "no route to host".  The modem is fine and the network card is fine.  I can share smb shares via samba but cant get out through the modem without the msg as above
stephendAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

stephendAuthor Commented:
I want to keep both LAN and internet connectivity at the same time if possible
0
aaronhirschCommented:
Are you trying to user your modem over a LAN or WAN?  The error you are getting indicates that the default route you have on your machine is att empting to reach the internet via the default gw you setup on you ethernet card.  Type 'route' to verify what the default gw is.  Also you probably need to configure some style of PPP to access your ISP via a regular phone line.
0
stephendAuthor Commented:
THanks aaronhirsch for you input.  To clarify:

The modem is connected to a normal telephone line.  PPP is set up via Kppp and establishes the connection just fine.  So, the tcp connection is fine to the ISP I just cant seem to run a program over the connection.

Hope this helps

Thanks

Steve
0
Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

helverCommented:
What is the output of your "route" command?

What machines are on your LAN?
0
SmileyqCommented:
Make sure that you have you DNS (nameservers) in the resolv.conf file on your linux box. And also make sure you have your host name in the hosts , hosts.allow and this typed in hosts.deny.
      In the hosts.deny file type in
ALL: ALL , this will not allow anybody to log onto you box without you giving them access in the hosts allow. There is a simply program that you can use to set all of this up if you would like to use it. If you are using Redhat its called netconf. You need to type in your nameserver as listed. Setup your ppp hosts search path. Configure you device for ppp and put in the phone number to dial and username and password. If you need to use pap you can.
      As far as you using both your modem and your NIC that shouldn't have anything to do with it. You would be able to use both at the same time with no problem. Just make sure you have the workgroup right on samba and make sure after you configure it to stop the smbd service and the nmbd services with the kill command and then restart then. They are both in /sbin/smbd and /sbin/nmbd. I hope this helps you out. If you have any further questions feel free to ask me.
-Smileyq
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
stephendAuthor Commented:
THnks guys,
Problem solved.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux Networking

From novice to tech pro — start learning today.