Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Dial Up Server

Posted on 2000-04-19
4
Medium Priority
?
310 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 375 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

Monthly Recap

May was a big month for new releases from Linux Academy! Take a look at what our team built recently in our blog. You can access the newest releases from our blog.

Question has a verified solution.

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

Over the last ten+ years I have seen Linux configuration tools come and go. In the early days there was the tried-and-true, all-powerful linuxconf that many thought would remain the one and only Linux configuration tool until the end of times. Well,…
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Suggested Courses

688 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