Managing ECSC Linux Firewalls | ||
---|---|---|
<<< Previous | Configuring PPP Dial-in | Next >>> |
To test dial-in access you will need a preconfigured modem working on your machine.
You will need to add the PPP dialin information to /etc/wvdial.conf. This file should already contain some information similar to:
[Modem0] Modem = /dev/ttyS1 Baud = 57600 SetVolume = 0 Dial Command = ATDT Init1 = ATZ FlowControl = NOFLOW |
The following information needs to be added:
[Dialer companynameppp] Area Code = 0123 Username = companyppp Password = 123456 Phone = 123456 Dial Prefix = 9 Inherits = Modem0 |
You will need to set the Username and Password values to those defined in the server config.
The Dialer companynameppp, Area Code and Phone lines will also need to be configured to reflect the company name and the phone number to dial in to the modem.
To dial-in to the server using PPP, you will need to issue the command wvdial companyppp. You will then see a screen similar to this:
[root@ecsc root]# wvdial companyppp --> WvDial: Internet dialer version 1.41 --> Initializing modem. --> Sending: ATZ ATZ OK --> Modem initialized. --> Sending: ATDT 9,01274736223 --> Waiting for carrier. ATDT 9,01274736223 CONNECT 21600/LAP-M --> Carrier detected. Starting PPP immediately. --> Starting pppd |
Once connected, a ppp0 interface will be shown if you issue the command ifconfig. This will look similar to this:
ppp0 Link encap:Point-to-Point Protocol inet addr:10.254.100.2 P-t-P:10.254.100.1 Mask:255.255.255.255 UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1 RX packets:5 errors:2 dropped:0 overruns:0 frame:0 TX packets:5 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:3 RX bytes:72 (72.0 b) TX bytes:78 (78.0 b) |
The P-t-P:10.254.100.1 line shows the address you should connect to by SSH'ing to root@10.254.100.1
<<< Previous | Home | Next >>> |
Firewall Rules | Up | Troubleshooting |