1830211 Members
5592 Online
109999 Solutions
New Discussion

Dialin issue on Linux

 
Stefan Saliba
Trusted Contributor

Dialin issue on Linux

I have a dialup account to a Linux machine. I manage to log ok but when I get a connection I am only able to communicate with the PC having the modem on the remote network. I cannot see the other PC's on the remote network.

Any clues?
5 REPLIES 5
Stuart Browne
Honored Contributor

Re: Dialin issue on Linux

When you're dialing in, are you doing any PPP negotations, or some other network protocol (SLIP, CSLIP) over that dialin connection?

If not, then you'll need to do that first. Seeing shares on comptuers is usually done usnig NetBIOS over TCP/IP. To do that, you need TCP first (ppp)..
One long-haired git at your service...
Stefan Saliba
Trusted Contributor

Re: Dialin issue on Linux

I think you got me wrong. I am doing a PPP negotiation. I dial-up from a windows box using dial-up networking.

I get an IP from the remote network. BUT when I ping I can only ping the IP of the server connected to the modem. The other PC I cannot ping.

Any clues ?

Stuart Browne
Honored Contributor

Re: Dialin issue on Linux

Right. You didn't mention that part.

Check the value in /proc/sys/net/ipv4/ip_forward, and make sure it's set to '1'.

If not, set it to one using something like:

sysctl net.ipv4.ip_forward = 1

or

echo 1 > /proc/sys/net/ipv4/ip_forward

and try it again. This will enable the Linux box as a 'rotuer' between the two interfaces (eth0, ppp0).
One long-haired git at your service...
Stefan Saliba
Trusted Contributor

Re: Dialin issue on Linux

It is already set to one.


Stefan
Bill Thorsteinson
Honored Contributor

Re: Dialin issue on Linux

Check the firewall forwarding rules on the remote server.

Also check the routing tables at both ends.