LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   dial in server problem (https://www.linuxquestions.org/questions/linux-newbie-8/dial-in-server-problem-683918/)

parthamallick06 11-16-2008 09:14 PM

dial in server problem
 
I Upgrade OS From Fedora 4 to Fedora 9.

fedora 9 dial in server modem not respond

install packege mgetty and mgetty+sendfax.
configre mgetty as previous
Edit /etc/inittab file.
modem response ok when wvdialconf /etc/wvdial.conf at ttyS0

I have D'Link DFM 560ES and D'Link 562E++ extarnal serial port modem.

Please Help.

TB0ne 11-18-2008 08:49 AM

Quote:

Originally Posted by parthamallick06 (Post 3344374)
I Upgrade OS From Fedora 4 to Fedora 9.

fedora 9 dial in server modem not respond

install packege mgetty and mgetty+sendfax.
configre mgetty as previous
Edit /etc/inittab file.
modem response ok when wvdialconf /etc/wvdial.conf at ttyS0

I have D'Link DFM 560ES and D'Link 562E++ extarnal serial port modem.

Please Help.

You say "server modem not respond". Not respond to what? Dial in, or dial out? You say you get a response when you use wvdialconf, but don't give any other details.

How did you configure mgetty? What did you edit in /etc/inittab? What, exactly, is the problem?

parthamallick06 11-19-2008 09:34 AM

fedora 9 dialin server problem
 
Quote:

Originally Posted by TB0ne (Post 3346301)
You say "server modem not respond". Not respond to what? Dial in, or dial out? You say you get a response when you use wvdialconf, but don't give any other details.

How did you configure mgetty? What did you edit in /etc/inittab? What, exactly, is the problem?

Sorry

Cofigure mgetty

edit /etc/mgetty+sendfax/login.config and add line at end

/AutoPPP/ - a_ppp /usr/sbin/pppd
* - - /bin/login @

edit /etc/inittab to add a serial port at end of file

# inittab is only used by upstart for the default runlevel.
#
# ADDING OTHER CONFIGURATION HERE WILL HAVE NO EFFECT ON YOUR SYSTEM.
#
# System initialization is started by /etc/event.d/rcS
#
# Individual runlevels are started by /etc/event.d/rc[0-6]
#
# Ctrl-Alt-Delete is handled by /etc/event.d/control-alt-delete
#
# Terminal gettys (tty[1-6]) are handled by /etc/event.d/tty[1-6] and
# /etc/event.d/serial
#
# For information on how to write upstart event handlers, or how
# upstart works, see init(8), initctl(8), and events(5).
#
# Default runlevel. The runlevels used are:
# 0 - halt (Do NOT set initdefault to this)
# 1 - Single user mode
# 2 - Multiuser, without NFS (The same as 3, if you do not have networking)
# 3 - Full multiuser mode
# 4 - unused
# 5 - X11
# 6 - reboot (Do NOT set initdefault to this)
#
id:5:initdefault:
2:2345:respawn:/sbin/mgetty -D ttyS0



edit /etc/ppp/options for a valid ip
192.168.0.1:192.168.0.248

192.168.0.1 is my home machine IP.

edit /etc/ppp/options.ttyS0
192.168.0.1:192.168.0.248


edit /etc/ppp/pap-secrets for a username and password

# Secrets for authentication using PAP
# client server secret IP addresses
####### system-config-network will overwrite this part!!! (begin) ##########
####### system-config-network will overwrite this part!!! (end) ############
partha "*" mallick "*"

Above configuration made at My Home Machine.
But modem does not automatically response when I dial my from remote machine to my home machine.

It successfullly working on Fedora 3 and 4 at same configuration . But on fedora 9 it does not works.

When I check Modem is OK or not.

wvdialconf /etc/wvdial.conf
Editing `/etc/wvdial.conf'.

Scanning your serial ports for a modem.

ttyS0<*1>: ATQ0 V1 E1 -- OK
ttyS0<*1>: ATQ0 V1 E1 Z -- OK
ttyS0<*1>: ATQ0 V1 E1 S0=0 -- OK
ttyS0<*1>: ATQ0 V1 E1 S0=0 &C1 -- OK
ttyS0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 -- OK
ttyS0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
ttyS0<*1>: Modem Identifier: ATI -- 56000
ttyS0<*1>: Speed 4800: AT -- OK
ttyS0<*1>: Speed 9600: AT -- OK
ttyS0<*1>: Speed 19200: AT -- OK
ttyS0<*1>: Speed 38400: AT -- OK
ttyS0<*1>: Speed 57600: AT -- OK
ttyS0<*1>: Speed 115200: AT -- OK
ttyS0<*1>: Max speed is 115200; that should be safe.
ttyS0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
Modem Port Scan<*1>: S2 S3

Found a modem on /dev/ttyS0.
Modem configuration written to /etc/wvdial.conf.
ttyS0<Info>: Speed 115200; init "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"


It shows modem OK.
I need a dialin server at my home .
What is the problem.

Please Help.

TB0ne 11-19-2008 10:02 AM

Quote:

Originally Posted by parthamallick06 (Post 3347592)
Sorry

Found a modem on /dev/ttyS0.
Modem configuration written to /etc/wvdial.conf.
ttyS0<Info>: Speed 115200; init "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"[/COLOR]

It shows modem OK.
I need a dialin server at my home .
What is the problem.

Please Help.

Have you looked up the modem codes? From a quick Google search:

http://www.lisa.univ-paris12.fr/Electronik/Hayes.htm

Specifically, the "S0=0" is telling the modem not to answer incoming calls. Set the S0 to be equal 1 (or something).


All times are GMT -5. The time now is 08:31 PM.