Linux Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOperating SystemsLinux Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old July 2nd, 2003, 01:36 AM
shockjock shockjock is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Location: India
Posts: 2 shockjock User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
help with dial in server configuration

i have been trying to configure a dial in server on my linux box . i am using mgetty configured to listen for connections on a external usb modem. i have followed all documentation instructions but i am still faced with a problem.

When i dial into my linux machine, the terminal will correctly start and shows me the login screen, but the problem is that before i can even type in the user name i get a message that the script has ended and the connection is closed. I am dialing in from a windows machine with a terminal spawning after dial up.

i am unable to determine where the problem lies ? can anyone come up with a solution.

Last edited by shockjock : July 3rd, 2003 at 02:48 AM.

Reply With Quote
  #2  
Old July 2nd, 2003, 01:24 PM
M.Hirsch M.Hirsch is offline
Contributing User
Dev Shed God 1st Plane (5500 - 5999 posts)
 
Join Date: Oct 2000
Location: Back in the real world.
Posts: 5,969 M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 1 Month 1 Day 22 h 39 m 55 sec
Reputation Power: 184
I hope you are not really trying this with your usb mouse

Read /var/log/mgetty.<your device name here> (the filename could be a little different). There should be an error message telling what went wrong.
__________________
--
Manuel Hirsch - Linux, FreeBSD, programming, administration articles, tutorials and more.

Reply With Quote
  #3  
Old July 3rd, 2003, 03:12 AM
shockjock shockjock is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Location: India
Posts: 2 shockjock User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
sorry for the typo , i've fixed it now.

these are the contents of my mgetty.ttySL0 file

06/27 13:01:56 SL0 mgetty: experimental test release 1.1.25-Feb01
06/27 13:01:56 SL0 check for lockfiles
06/27 13:01:56 SL0 locking the line
06/27 13:01:57 SL0 lowering DTR to reset Modem
06/27 13:01:57 SL0 send: \dATQ0V1H0[0d]
06/27 13:01:58 SL0 waiting for ``OK'' ** found **
06/27 13:01:58 SL0 send: ATS0=0Q0&D3&C1[0d]
06/27 13:01:58 SL0 waiting for ``OK'' ** found **
06/27 13:01:58 SL0 waiting...
06/27 13:02:10 ##### failed dev=ttySL0, pid=2157, got signal 2, exiting

--
06/27 14:14:07 SL0 mgetty: experimental test release 1.1.25-Feb01
06/27 14:14:07 SL0 check for lockfiles
06/27 14:14:07 SL0 locking the line
06/27 14:14:08 SL0 lowering DTR to reset Modem
06/27 14:14:09 SL0 send: \dATQ0V1H0[0d]
06/27 14:14:09 SL0 waiting for ``OK'' ** found **
06/27 14:14:09 SL0 send: ATS0=0Q0&D3&C1[0d]
06/27 14:14:09 SL0 waiting for ``OK'' ** found **
06/27 14:14:09 SL0 waiting...
06/27 14:24:18 ##### failed dev=ttySL0, pid=1723, got signal 15, exiting

--
06/27 14:25:44 SL0 mgetty: experimental test release 1.1.25-Feb01
06/27 14:25:44 SL0 check for lockfiles
06/27 14:25:44 SL0 locking the line
06/27 14:25:44 SL0 lowering DTR to reset Modem
06/27 14:25:45 SL0 send: \dATQ0V1H0[0d]
06/27 14:25:46 SL0 waiting for ``OK'' ** found **
06/27 14:25:46 SL0 send: ATS0=0Q0&D3&C1[0d]
06/27 14:25:46 SL0 waiting for ``OK'' ** found **
06/27 14:25:46 SL0 waiting...
06/27 14:31:18 ##### failed dev=ttySL0, pid=1720, got signal 15, exiting

--
06/27 14:32:41 SL0 mgetty: experimental test release 1.1.25-Feb01
06/27 14:32:41 SL0 check for lockfiles
06/27 14:32:41 SL0 locking the line
06/27 14:32:42 SL0 lowering DTR to reset Modem
06/27 14:32:43 SL0 send: \dATQ0V1H0[0d]
06/27 14:32:43 SL0 waiting for ``OK'' ** found **
06/27 14:32:43 SL0 send: ATS0=0Q0&D3&C1[0d]
06/27 14:32:43 SL0 waiting for ``OK'' ** found **
06/27 14:32:44 SL0 waiting...
06/27 14:35:58 ##### failed dev=ttySL0, pid=1720, got signal 15, exiting

this is all there is on the file. i cant make head or tail of it.

Reply With Quote
  #4  
Old July 3rd, 2003, 12:14 PM
M.Hirsch M.Hirsch is offline
Contributing User
Dev Shed God 1st Plane (5500 - 5999 posts)
 
Join Date: Oct 2000
Location: Back in the real world.
Posts: 5,969 M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 1 Month 1 Day 22 h 39 m 55 sec
Reputation Power: 184
Quote:
got signal 2, exiting
SIGINT. no idea where it comes from though... maybe the ppp server was not started and mgetty receives the ppp protocol data or something...

Edit your /etc/mgetty+sendfax/mgetty.conf. There should be a block of lines similar to:
Code:
port ttySL0
  type data
  crtscts
the "port <portname>" starts the block, following are the port configuration.
below the "port xxx", add the line:
Code:
debug 9
then kill mgetty (you are starting it from inittab, yes?) with:
killall -TERM mgetty

now it will produce more detailed log files. you can tail them like this:
tail -30 /var/log/mgetty.ttySL0

Reply With Quote
  #5  
Old July 3rd, 2003, 03:02 PM
MRK's Avatar
MRK MRK is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2001
Posts: 191 MRK User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 m 36 sec
Reputation Power: 8
Signal 15 means:

Quote:
Usually it means that someone killed the mgetty process by doing a "shutdown", or by pressing the "kill" key on the remote end (ctrl-\ or so)


-Mr.K

Reply With Quote
Reply

Viewing: Dev Shed ForumsOperating SystemsLinux Help > help with dial in server configuration


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway