How do i write to a serial port (modem) in ascii or hex directly?
Here's my problem. I hate having to dual-boot just to download new packages. My internet service provider uses a dialer software that works only in windoze. I have been able to analyze the communications between win and the modem (see appendix 1). I would like to be able to access the internet from linux (either debian,gentoo or suse). I am trying to find a software for linux that could possibly use "macros" or "if then" to write directly to the modem port, so that i could "emulate" the dialer software.
I would love to be able to have that work in linux, it's the only thing stopping me from fully converting. I would really appreciate help on this. Thank you for reading this. More (useless) information. OS= winxp (for now :P ), debian, gentoo, opendos (gotta love arkanoid!!) ISP=3web (no high speed in my area) Modem=USR 56k External Appendix 1. Request: 4/18/2006 7:29:34 AM.50464 (+0.0156 seconds) 41 54 44 54 35 36 33 2D 31 36 31 34 0D ATDT563-1614. Answer: 4/18/2006 7:29:57 AM.14564 (+23.6406 seconds) 0D 0A 43 4F 4E 4E 45 43 54 20 35 30 36 36 36 2F ..CONNECT 50666/ 41 52 51 2F 56 39 30 2F ARQ/V90/ Port opened by process "svchost.exe" (PID: 1312) Request: 4/18/2006 7:29:57 AM.20764 (+0.0469 seconds) 7E FF 7D 23 C0 21 7D 21 7D 20 7D 20 32 7D 22 7D ~}#!}!} } 2}"} 26 7D 20 7D 20 7D 20 7D 20 7D 25 7D 26 7D 3F 7D &} } } } }%}&}?} 31 7D 30 8F 7D 27 7D 22 7D 28 7D 22 7D 2D 7D 23 1}0}'}"}(}"}-}# 7D 26 7D 31 7D 24 7D 26 4E 7D 33 7D 37 7D 21 D8 }&}1}$}&N}3}7}! 76 76 DC F4 7D 29 43 AA AD D5 7F B0 80 8D CE 81 vv})C* 7D 20 7D 20 7D 20 7D 20 F4 41 7E } } } } A~ Answer: 4/18/2006 7:29:58 AM.55164 (+0.3438 seconds) 7E FF 7D 23 C0 21 7D 21 7D 3C 7D 20 7D 38 7D 22 ~}#!}!}<} }8}" 7D 26 7D 20 7D 2A 7D 20 7D 20 7D 23 7D 24 C0 23 }&} }*} } }#}$# 7D 25 7D 26 6E E9 7D 2F 3E 7D 27 7D 22 7D 28 7D }%}&n}/>}'}"}(} 22 28 9F 7E "(~ Request: 4/18/2006 7:29:58 AM.56764 (+0.0000 seconds) 7E FF 7D 23 C0 21 7D 22 7D 3C 7D 20 7D 38 7D 22 ~}#!}"}<} }8}" 7D 26 7D 20 7D 2A 7D 20 7D 20 7D 23 7D 24 C0 23 }&} }*} } }#}$# 7D 25 7D 26 6E E9 7D 2F 3E 7D 27 7D 22 7D 28 7D }%}&n}/>}'}"}(} 22 E4 72 7E 7E FF 7D 23 C0 21 7D 21 7D 21 7D 20 "r~~}#!}!}!} 32 7D 22 7D 26 7D 20 7D 20 7D 20 7D 20 7D 25 7D 2}"}&} } } } }%} 26 7D 3F 7D 31 7D 30 8F 7D 27 7D 22 7D 28 7D 22 &}?}1}0}'}"}(}" 7D 2D 7D 23 7D 26 7D 31 7D 24 7D 26 4E 7D 33 7D }-}#}&}1}$}&N}3} 37 7D 21 D8 76 76 DC F4 7D 29 43 AA AD D5 7F B0 7}!vv})C* 80 8D CE 81 7D 20 7D 20 7D 20 7D 20 64 9D 7E } } } } d~ Answer: 4/18/2006 7:29:59 AM.28564 (+0.0938 seconds) 7E FF 7D 23 C0 21 7D 24 7D 21 7D 20 7D 2B 7D 2D ~}#!}$}!} }+}- 7D 23 7D 26 7D 31 7D 24 7D 26 4E 8F D1 7E }#}&}1}$}&N~ Request: 4/18/2006 7:29:59 AM.30164 (+0.0156 seconds) 7E FF 7D 23 C0 21 7D 21 7D 22 7D 20 2B 7D 22 7D ~}#!}!}"} +}"} 26 7D 20 7D 20 7D 20 7D 20 7D 25 7D 26 7D 3F 7D &} } } } }%}&}?} 31 7D 30 8F 7D 27 7D 22 7D 28 7D 22 7D 33 7D 37 1}0}'}"}(}"}3}7 7D 21 D8 76 76 DC F4 7D 29 43 AA AD D5 7F B0 80 }!vv})C* 8D CE 81 7D 20 7D 20 7D 20 7D 20 BF 8E 7E } } } } ~ Answer: 4/18/2006 7:29:59 AM.39564 (+0.0938 seconds) 7E FF 7D 23 C0 21 7D 22 7D 22 7D 20 2B 7D 22 7D ~}#!}"}"} +}"} 26 7D 20 7D 20 7D 20 7D 20 7D 25 7D 26 7D 3F 7D &} } } } }%}&}?} 31 7D 30 8F 7D 27 7D 22 7D 28 7D 22 7D 33 7D 37 1}0}'}"}(}"}3}7 7D 21 D8 76 76 DC F4 7D 29 43 AA AD D5 7F B0 80 }!vv})C* 8D CE 81 7D 20 7D 20 7D 20 7D 20 F3 3E 7E } } } } >~ ...... more of this but it is really long... |
I don't know anything about this subject, but a quick google yielded this forum where it seems someone got it working on Puppy Linux. Maybe they can help you out...
|
thank you very much for you answer. I was sort of hoping of gettin my hands dirty, but i guess there are always 2 ways of doing things. I'll try this as soon as i get home.
:) |
Well, if you're still interested in getting your hands dirty, the two programs for serial port control that I've heard of (note that I've never used them) are kermit (or ckermit???) and minicom...
|
Also there's a bunch of howto's here. Not sure how relevant any of them are, but search the page for "serial"
|
C-kermit looks promising! I think it's exactly what i was looking for. Huge manual and tutorials! I'll give it a try, if i'm successfull ill upload the script on here for other 3web members to use..
thanks for the info guys!! hopefully i'll be able to give back to the community! |
|
All times are GMT -5. The time now is 12:05 AM. |