View Single Post
Old 10th-March-2006, 09:10 PM   #6 (permalink)
tomboh
Registered User
 
tomboh's Avatar
 
Join Date: Dec 2005
Location: Milton Keynes
Posts: 39
Status: No Status
Rep Power: 2 Rep.: 39
tomboh is on a distinguished road
Re: Linux: automatic modem configuration

Quote:
Originally Posted by El Salsero Gringo
The commands actually have to be passed over a telnet session to a particular address and port (192.168.128.100 port 1829, say) - how do I use a network socket rather than ttya?
Do you mean a telnet session as opposed to a TCP port? The telnet protocol uses funky characters to auto-negotiate stuff (yeah, I'm not quite sure what) and while you may need to do this, if you're thinking along the lines of "connect to port 80 for HTTP', use netcat(1). On Debian you'll need to do an "apt-get install netcat" if it's not already installed.

netcat is a wonderful tool: it essentially allows you to redirect stuff between arbitrary machines instead of pipelines on the same host.

Wait: didn't I sign up to a dance forum thing to escape from computers?
tomboh is offline   Reply With Quote