Solved

Dial Up Server

Posted on 2000-04-19
4
308 Views
Last Modified: 2013-12-15
how do i setup a dial up server in RedHat 6.1
0
Comment
Question by:coolbeans_22
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 12

Expert Comment

by:j2
ID: 2734313
to do what? strictly shell? ppp? slip? and also what do you want it to do? route? masquerade? nat?
0
 

Author Comment

by:coolbeans_22
ID: 2736723
ppp
i want to be able to dial into my linux computer and use my cable modem instead of paying more money to my ISP  
0
 

Accepted Solution

by:
shelby38 earned 125 total points
ID: 2738674
I use a linux (Mandrake 7.0) as a up server. I’ll assume you have a network setup and working.

First I create a file called
rc.firewall

/sbin/depmod -a
echo -n "Starting Firewall Script"

echo "1" >/proc/sys/net/ipv4/ip_dynaddr

ipchains -M -S 7200 10 60

/sbin/modprode ip_masq_ftp
/sbin/modprode ip_masq_raudio
/sbin/modprode ip_masq_irc

ipchains -P forward DENY

ipchains -A forward -s 10.8.11.0/24 -j MASQ

I saved this in my rc.d directory

Then edit /etc/ppp/options file

demand
idle 1800
ipcp-accept-remote
ipcp-accept-local
lock
noauth
defaultroute
user “Your User Name”
remotename “Your ISP”
/dev/modem 115200 crtscts
connect '/usr/sbin/chat -v -f /etc/sysconfig/network-scripts/chat-ppp0'




then edit /etc/sysconfig/network-scripts chat-ppp0

'ABORT' 'BUSY'
'ABORT' 'ERROR'
'ABORT' 'NO CARRIER'
'ABORT' 'NO DIALTONE'
'ABORT' 'Invalid Login'
'ABORT' 'Login incorrect'
'' 'ATZ'
'OK' 'ATDTyourispphone#
'CONNECT' ''
'ogin:' 'your login'
'ord:' 'your password'

next edit /etc/sysconfig/network-scripts/ifcfg-ppp0
PERSIST=yes
DEFROUTE=yes
ONBOOT=no
INITSTRING=ATZ
MODEMPORT=/dev/modem
LINESPEED=115200
ESCAPECHARS=no
DEFABORT=yes
HARDFLOWCTL=yes
DEVICE=ppp0
PPPOPTIONS=
DEBUG=no
PAPNAME=
REMIP=
IPADDR=
BOOTPROTO=none
MTU=
MRU=
DISCONNECTTIMEOUT=
RETRYTIMEOUT=
USERCTL=no

Now add these two line to the end of  your /etc/rc.d/rc.local file

/etc/rc.d/rc.firewall
/usr/sbin/pppd :10.0.0.2

reboot and your system should dial on damand.





0
 

Author Comment

by:coolbeans_22
ID: 2739158
i use redhat 6.1 is that going to be a problem
0

Featured Post

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
How do I setup Wordpress to use Master / Slave MySQL database setup? 4 133
Moving from Mcrypt to OpenSSL 18 75
Linux MD5 Hash 7 97
Logrotate Every Saturday 5 44
This is the error message I got (CODE) Error caused by incompatible libmp3lame 3.98-2 with ffmpeg I've googled this error message and found out sometimes it attaches this note "can be treated with downgrade libmp3lame to version 3.97 or 3.98" …
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Suggested Courses

710 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question