Re: serial modem

2009-07-01 Thread kalin m



But it IS a modem to dial tones and connect to something?
Net search... no idea what that could mean. Serial modems usually
don't search for nets...

Or am I completely misunderstanding you and you're trying to find a
command access to a DSL modem that has a serial line?
  


it's a gsm/sms modem. i need to get to it to set some settings using AT 
commands... 
___

freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: serial modem

2009-07-01 Thread kalin m


nevermind...  thanks... 



kalin m wrote:



But it IS a modem to dial tones and connect to something?
Net search... no idea what that could mean. Serial modems usually
don't search for nets...

Or am I completely misunderstanding you and you're trying to find a
command access to a DSL modem that has a serial line?
  


it's a gsm/sms modem. i need to get to it to set some settings using 
AT commands... ___

freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
freebsd-questions-unsubscr...@freebsd.org

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: serial modem

2009-07-01 Thread Polytropon
On Thu, 02 Jul 2009 00:19:56 -0400, kalin m ka...@el.net wrote:
 
  But it IS a modem to dial tones and connect to something?
  Net search... no idea what that could mean. Serial modems usually
  don't search for nets...
 
  Or am I completely misunderstanding you and you're trying to find a
  command access to a DSL modem that has a serial line?

 
 it's a gsm/sms modem. i need to get to it to set some settings using AT 
 commands... 

Okay, then I do understand. My advice of using PPP should be fine
then. You just have to add somme AT commands you need. PPP can
issue them instead of dialing a number and then establish the
connection.


-- 
Polytropon
From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: serial modem

2009-06-30 Thread Polytropon
On Mon, 29 Jun 2009 23:13:31 -0400, kalin m ka...@el.net wrote:
 yes the entry was wrong...   changed it. when i try to use tip i get 
 device busy. when i use cu it says connected but nothing else happens 
 and i don't see any prompts. it's like frozen. i can't type any AT 
 commands... nothing. i changed the baud rate around. all the way down to 
 9600. so now the same thing happens with tip. if used tip says connected 
 but i can not issue any commands...

You could try to leave it to ppp, just for testing purposes.
Everything you need is a number you can dial. Here's an
example for an /etc/ppp/ppp.conf that would do something
like this:

# --- ppp.conf ---
default:
set log Phase Chat LCP IPCP CCP tun command
ident user-ppp VERSION (built COMPILATIONDATE)
set device /dev/cuad0
set speed 115200
set dial ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \\ AT OK-AT-OK 
ATE1Q0 OK \\dATDT\\T TIMEOUT 40 CONNECT
set timeout 120
enable dns
papchap:
set phone PHONE_NUM
set authname USERNAME
set authkey PASSWORD
add default HISADDR
test:
set phone 0123456789
set authname QWERTZ
set authkey ASDFGH
add default HISADDR
# --- ppp.conf --- end ---

With such a file, you can now:

# ppp test
ppp dial
*click dit dit dit dit... do doo... *
PPP close
*click*
ppp
#

In this case, you have confirmed that the serial modem works as
intended. You can of course enter real data for an ISP that offers
modem dial-in to get online. :-)

You can find more help and examples in man ppp.



 the modem has 2 leds. one yellow and one green. according to the manual 
 the yellow should be blinking as follows:
 
 Fast Blinking (0.5 sec on/0.5 sec off)  Net search/ Not 
 registered/Turning Off
 Slow Blinking (0.3 sec on/ 2.7 sec off)  Registered, Full Service
 
 i think i'm only seeing 'Fast Blinking'.  i wonder what 'Net search' 
 really means and where it's searching for it. it's connected through a 
 RS-232 to the serial port...
 
 ?!?

But it IS a modem to dial tones and connect to something?
Net search... no idea what that could mean. Serial modems usually
don't search for nets...

Or am I completely misunderstanding you and you're trying to find a
command access to a DSL modem that has a serial line?




-- 
Polytropon
From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: serial modem

2009-06-29 Thread Wojciech Puchar


ttyd0 /usr/libexec/getty std.115200 dialup on
ttyd1 /usr/libexec/getty std.115200 dialup on

then i do:
# kill -HUP 1

ps shows:
62496 0.0 0.2 3184 952 ?? I 10:53PM 0:00.00 /usr/libexec/getty std.115200 
ttyd0
62667 0.0 0.2 3184 1004 ?? I 11:37PM 0:00.00 /usr/libexec/getty std.115200 
ttyd1


of course you need only ttyd0.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: serial modem

2009-06-29 Thread Brent Bloxam

kalin m wrote:


hi all...

my first time using serial ports and modems. the modem is hooked up 
using RS-232 cable...


modem specs:

• Baud Rate: 115.2kbps
• Bits: 8
• Stop Bits: 1
• Parity: none
• Hardware Handshaking: Yes


my /etc/ttys:

ttyd0 /usr/libexec/getty std.115200 dialup on
ttyd1 /usr/libexec/getty std.115200 dialup on

then i do:
# kill -HUP 1

ps shows:
62496 0.0 0.2 3184 952 ?? I 10:53PM 0:00.00 /usr/libexec/getty 
std.115200 ttyd0
62667 0.0 0.2 3184 1004 ?? I 11:37PM 0:00.00 /usr/libexec/getty 
std.115200 ttyd1


according to the handbook i would see the above. i'm not sure if i need 
both ttyd0 and 1 since i have hooked only one modem but there is no 
explanation about that in the handbook.


messages says:
Jun 28 23:37:17 moo getty[62667]: open /dev/ttyd1: No such file or 
directory


and no other entries... so i guess that settles the need of ttyd1!?!

ok. so now i put in /etc/remote:
sio0|com1:dv=/dev/cuad0:br#115200:pa=none:

and, following the instructions in the handbook, try reaching the modem 
doing:

# tip -v cuad0

i get:
tip: unknown host tip0



I've no experience with serial modems, but having read the man pages I 
believe your remote(5) line is incorrect.


sio0|com1:dv=/dev/cuad0:br#115200:pa=none:

sets system names sio0 and com1, then you try to execute tip to connect 
to cuad0. Is there an entry for cuad0 in your /etc/remote? I'm confused 
as to why tip is returning 'unknown host tip0' however.


Give `tip -v sio0` a shot, or change the system names in your 
/etc/remote line

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: serial modem

2009-06-29 Thread kalin m


I've no experience with serial modems, but having read the man pages I 
believe your remote(5) line is incorrect.


sio0|com1:dv=/dev/cuad0:br#115200:pa=none:

sets system names sio0 and com1, then you try to execute tip to 
connect to cuad0. Is there an entry for cuad0 in your /etc/remote? I'm 
confused as to why tip is returning 'unknown host tip0' however.


Give `tip -v sio0` a shot, or change the system names in your 
/etc/remote line


yes the entry was wrong...   changed it. when i try to use tip i get 
device busy. when i use cu it says connected but nothing else happens 
and i don't see any prompts. it's like frozen. i can't type any AT 
commands... nothing. i changed the baud rate around. all the way down to 
9600. so now the same thing happens with tip. if used tip says connected 
but i can not issue any commands...


the modem has 2 leds. one yellow and one green. according to the manual 
the yellow should be blinking as follows:


Fast Blinking (0.5 sec on/0.5 sec off)  Net search/ Not 
registered/Turning Off

Slow Blinking (0.3 sec on/ 2.7 sec off)  Registered, Full Service

i think i'm only seeing 'Fast Blinking'.  i wonder what 'Net search' 
really means and where it's searching for it. it's connected through a 
RS-232 to the serial port...


?!?

thanks...

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


serial modem

2009-06-28 Thread kalin m


hi all...

my first time using serial ports and modems. the modem is hooked up 
using RS-232 cable...


modem specs:

• Baud Rate: 115.2kbps
• Bits: 8
• Stop Bits: 1
• Parity: none
• Hardware Handshaking: Yes


my /etc/ttys:

ttyd0 /usr/libexec/getty std.115200 dialup on
ttyd1 /usr/libexec/getty std.115200 dialup on

then i do:
# kill -HUP 1

ps shows:
62496 0.0 0.2 3184 952 ?? I 10:53PM 0:00.00 /usr/libexec/getty 
std.115200 ttyd0
62667 0.0 0.2 3184 1004 ?? I 11:37PM 0:00.00 /usr/libexec/getty 
std.115200 ttyd1


according to the handbook i would see the above. i'm not sure if i need 
both ttyd0 and 1 since i have hooked only one modem but there is no 
explanation about that in the handbook.


messages says:
Jun 28 23:37:17 moo getty[62667]: open /dev/ttyd1: No such file or directory

and no other entries... so i guess that settles the need of ttyd1!?!

ok. so now i put in /etc/remote:
sio0|com1:dv=/dev/cuad0:br#115200:pa=none:

and, following the instructions in the handbook, try reaching the modem 
doing:

# tip -v cuad0

i get:
tip: unknown host tip0

dmesg says:
sio0: 16550A-compatible COM port port 0x3f8-0x3ff irq 4 flags 0x10 on 
acpi0

sio0: type 16550A
sio0: [FILTER]

and in the /etc/gettytab i have:
std.115200|115200-baud:\
:np:sp#115200:



what next?

thanks





___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


outbound serial modem now times out or drops connection

2008-06-06 Thread Mark Stosberg
We are using qpage to dial a remote TAP modem (Sprint and Verizon), so
we can send pages about our hosting infrastructure without using the
internet connection. 

Recently it started failing consistently with timeout to connect.
I first suspected the remote modem (Sprint), but found I got the same
result with other carriers. (And Sprint denied a problem on their end). 

I have since tried a whole battery of approaches including having the
phone line checked by the local phone company, trying a different modem
and trying a different phone cord. 

Trying a new modem (US Robotics external 56k serial modem) did help
slightly. With it, we consistently connnect, but then after a short
pause the connection is dropped. This is easily reproduced  in
minicom: (Using the Sprint TAP modem number here). 

  ATDT18886561727
  CONNECT 31200/ARQ/V34/LAPM/V42BIS
  
  NO CARRIER 

I'm out of ideas here. This phone line is only used for this outbound
service, although our alarm system also uses it for outbound alerts. 

Any suggestions for possible causes or further troubleshooting
approaches are appreciated. 

Thanks!

   Mark


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: outbound serial modem now times out or drops connection

2008-06-06 Thread Bob McConnell
Mark Stosberg:
 
 We are using qpage to dial a remote TAP modem (Sprint and Verizon), so
 we can send pages about our hosting infrastructure without using the
 internet connection. 
 
 Recently it started failing consistently with timeout to connect.
 I first suspected the remote modem (Sprint), but found I got the same
 result with other carriers. (And Sprint denied a problem on their
end). 
 
 I have since tried a whole battery of approaches including having the
 phone line checked by the local phone company, trying a different
modem
 and trying a different phone cord. 
 
 Trying a new modem (US Robotics external 56k serial modem) did help
 slightly. With it, we consistently connnect, but then after a short
 pause the connection is dropped. This is easily reproduced  in
 minicom: (Using the Sprint TAP modem number here). 
 
   ATDT18886561727
   CONNECT 31200/ARQ/V34/LAPM/V42BIS
   
   NO CARRIER 
 
 I'm out of ideas here. This phone line is only used for this outbound
 service, although our alarm system also uses it for outbound alerts. 
 
 Any suggestions for possible causes or further troubleshooting
 approaches are appreciated. 

Does that modem support Unimodem Diagnostics? What do you get from a
'#UD' command right after the failed connection attempt?

Bob McConnell
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: outbound serial modem now times out or drops connection

2008-06-06 Thread Mark Stosberg
 
  Trying a new modem (US Robotics external 56k serial modem) did help
  slightly. With it, we consistently connnect, but then after a short
  pause the connection is dropped. This is easily reproduced  in
  minicom: (Using the Sprint TAP modem number here). 
  
ATDT18886561727
CONNECT 31200/ARQ/V34/LAPM/V42BIS

NO CARRIER 
  
  I'm out of ideas here. This phone line is only used for this outbound
  service, although our alarm system also uses it for outbound alerts. 
  
  Any suggestions for possible causes or further troubleshooting
  approaches are appreciated. 
 
 Does that modem support Unimodem Diagnostics? What do you get from a
 '#UD' command right after the failed connection attempt?

Bob,

Thanks for the response!

I tried that with Minicom, and the prompt just goes back to the hover
over the # sounds and sits there. From some quick Google searches, I
didn't find any mentions of this modem supporting that. 

I'm also not familiar with the details of the TAP protocol. After the
CONNECT, who should speak next? From looking at the qpage source code,
it looks like we might be waiting for ID= to sent from the remote end,
and it is not. 

That would make me suspect the remote end, except that multiple remote
modems are responding the same way. 

   Mark


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: outbound serial modem now times out or drops connection

2008-06-06 Thread Bob McConnell
From: Mark Stosberg:
  Trying a new modem (US Robotics external 56k serial modem) did help
  slightly. With it, we consistently connnect, but then after a short
  pause the connection is dropped. This is easily reproduced  in
  minicom: (Using the Sprint TAP modem number here). 
  
ATDT18886561727
CONNECT 31200/ARQ/V34/LAPM/V42BIS

NO CARRIER 
  
  I'm out of ideas here. This phone line is only used for this
outbound
  service, although our alarm system also uses it for outbound
alerts. 
  
  Any suggestions for possible causes or further troubleshooting
  approaches are appreciated. 
 
 Does that modem support Unimodem Diagnostics? What do you get from a
 '#UD' command right after the failed connection attempt?
 
 Bob,
 
 Thanks for the response!
 
 I tried that with Minicom, and the prompt just goes back to the hover
 over the # sounds and sits there. From some quick Google searches, I
 didn't find any mentions of this modem supporting that. 
 
 I'm also not familiar with the details of the TAP protocol. After the
 CONNECT, who should speak next? From looking at the qpage source code,
 it looks like we might be waiting for ID= to sent from the remote
end,
 and it is not. 
 
 That would make me suspect the remote end, except that multiple remote
 modems are responding the same way. 
 
Mark

Mark,

The only tap I am familiar with is /dev/tap virtual Ethernet device, as
I am currently working on a project that makes use of this interface.
Since you get the connect message from your modem, they were able to
negotiate a reliable connection. So you have to assume that you do not
have any phone line issues. Then it becomes a matter of seeing the
correct handshake sequence between the two systems. I would expect the
answering system to start that conversation. The NO CARRIER message
suggests that the other end dropped the connection, or hung up on you
instead of sending the opening message. That should be worth filing a
trouble report.

Is it possible that those serial ports have been disabled, or that
process has been shut down? It is possible the process died without
disabling the auto-answer status of the modem. Some of those modems are
just too smart for their own good.

Please do not CC me on this thread. I can read it just fine from the
list.

Bob McConnell
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


cendyne 56k external serial modem?

2003-11-07 Thread Jesse Guardiani
Howdy list,

I've been looking for a cheap external v.90 56k
lately so I can go ahead and convert my home
computer to FreeBSD (has a winmodem currently).

I found the cendyne 56k modems all over the internet
for about $20, sometimes even including shipping. I
think Cendyne went out of business or something.

Anyway, I'm just wondering if the cendyne 56k is
indeed a controller based serial modem, or if it's
a nasty serial winmodem, designed to fool the world
into thinking it's controller based.

Has anyone had experience with the cendyne external
56k serial modem?

-- 
Jesse Guardiani, Systems Administrator
WingNET Internet Services,
P.O. Box 2605 // Cleveland, TN 37320-2605
423-559-LINK (v)  423-559-5145 (f)
http://www.wingnet.net


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: cendyne 56k external serial modem?

2003-11-07 Thread Chris Howells
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi,

On Friday 07 November 2003 15:02, Jesse Guardiani wrote:
 a nasty serial winmodem, designed to fool the world
 into thinking it's controller based.

External serial winmodems didn't exist last time I checked, you should be safe 
with any external serial.

- -- 
Cheers, Chris Howells -- [EMAIL PROTECTED], [EMAIL PROTECTED]
Web: http://chrishowells.co.uk, PGP ID: 0x33795A2C
KDE/Qt/C++/PHP Developer: http://www.kde.org
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (FreeBSD)

iD8DBQE/q3fNF8Iu1zN5WiwRAh7fAKCPw+DDGK5roeX48y5y97bS/hLf8gCcCs3N
kPTR9G1rG+6QkNjNv8Qi444=
=Lvsy
-END PGP SIGNATURE-
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]