1837509 Members
3738 Online
110117 Solutions
New Discussion

Re: cu command

 
Eric Swingler
New Member

cu command

I am having difficulty accessing a modem using the standard cu command (cu -l dev) but I can access it using the command with a dir at the end (cu -l dev dir). My communications software cannot connect to the modem for this reason. Any help would be appreciated.

Thanks
4 REPLIES 4
Hoefnix
Honored Contributor

Re: cu command

You have to edit the file /etc/uucp/Devices.
Put a line at the like:
direct - 9600 direct

Like: direct tty0p0 - 9600 direct
Change device and baudrate to your specific.

Then cu -l should connect to the modem.

Regards,

Peter
Mark Grant
Honored Contributor

Re: cu command

Wow, I'm going to have to dredge up what little I remember for about a thousand years ago!

What exactly is the problem? If I remember correct, the "DIR" option is only to directly connect to the modem so you can start issuing Hayes commands. You drop the "dir" for actually dialling out. To facilitate this, you need to edit /usr/lib/uucp/Devices to get the line speed and stuff right. If you have a "always connected" connection, "cu -l dev" should work, if the "Devices" file is OK. If you are using an actual telephone line then you MUST supply a telephone number.

However, can you be a little more explicit about what errors you get etc.
Never preceed any demonstration with anything more predictive than "watch this"
Hoefnix
Honored Contributor

Re: cu command

Sorry typo:
You have to edit the file /etc/uucp/Devices.
Put a line at the end, like:
direct - 9600 direct

Example: direct tty0p0 - 9600 direct
Change device and baudrate to your specific.

Then cu -l should connect to the modem.

Regards,

Peter
Graham Cameron_1
Honored Contributor

Re: cu command

Forget cu

man kermit

-- Graham
Computers make it easier to do a lot of things, but most of the things they make it easier to do don't need to be done.