Solved

Dial Up Server

Posted on 2000-04-19
4
302 Views
Last Modified: 2013-12-15
how do i setup a dial up server in RedHat 6.1
0
Comment
Question by:coolbeans_22
  • 2
4 Comments
 
LVL 12

Expert Comment

by:j2
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
i use redhat 6.1 is that going to be a problem
0

Featured Post

Complete Microsoft Windows PC® & Mac Backup

Backup and recovery solutions to protect all your PCs & Mac– on-premises or in remote locations. Acronis backs up entire PC or Mac with patented reliable disk imaging technology and you will be able to restore workstations to a new, dissimilar hardware in minutes.

Join & Write a Comment

Network Interface Card (NIC) bonding, also known as link aggregation, NIC teaming and trunking, is an important concept to understand and implement in any environment where high availability is of concern. Using this feature, a server administrator …
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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.

763 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now