• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 251
  • Last Modified:

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
0
stephend
Asked:
stephend
1 Solution
 
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
[Webinar] Kill tickets & tabs using PowerShell

Are you tired of cycling through the same browser tabs everyday to close the same repetitive tickets? In this webinar JumpCloud will show how you can leverage RESTful APIs to build your own PowerShell modules to kill tickets & tabs using the PowerShell command Invoke-RestMethod.

 
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
 
stephendAuthor Commented:
THnks guys,
Problem solved.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now