Hi all
I have got installed FC4 32bits on my AMD64 machine as a classic client workstation.
The Ethernet connection works fine, as much as all network configuration tools.
I've some difficulties to setup an USB analog modem, Hayes compatible.
Whenever the modem is being switched to USB, the right modules are being charged ( generic-ppp, etc... ), however, when I try to setup the new modem device as root with the menu "Desktop" -> "System Settings" -> "Network", the only listed serial interfaces are classic serial interfaces, no USB interface, unless I'm wrong.
All the listed interface are: modem ( There is no /dev/modem device in the /dev directory ), ttyS0, 1, etc, ttyl0, 1, etc, input/tty-something_I_don't_recall, ttyM0, 1, etc, and ttyACM0, 1, etc.
I presume all these interfaces are purely serial, not USB, so I can't setup my modem, such that it could be accessible by the machine.
I tried "modem" ( which gives me error 2 after an "ifup <device>", then "ttyS0", which gives me error 6 ( unsuccessful locking attempt ).
I tried with the debug options in the /etc/ppp/options file.
The /var/log/messsages file shows the modem doesn't respond at all to the ATZ command, which proves it's not accessible from the machine, through the ttyS0 interface.
The modem interface was the first option I setup, which gave me error 2 at fist attempt to make an "ifup <device>".
The error 2 is not very clear. The 'man pppd' says any error, for example "contradiction beetween the configuration characteristics".
The fact is, the /dev/modem doesn't exist at all, which is something I don't understand.
Many thanks four your help.
Best regards.
Jean-Francois Ortolo
On Sun, 2005-10-30 at 12:17 +0100, Jean François Ortolo wrote:
I've some difficulties to setup an USB analog modem, Hayes compatible.
Is it really? Or does it pretend to be when it's running on Windows?
i.e. Is it really a software modem? Where there's a small amount of audio hardware in the box, and all the modem work is done in software.
Whenever the modem is being switched to USB, the right modules are being charged ( generic-ppp, etc... ), however, when I try to setup the new modem device as root with the menu "Desktop" -> "System Settings" -> "Network", the only listed serial interfaces are classic serial interfaces, no USB interface, unless I'm wrong.
All the listed interface are: modem ( There is no /dev/modem device in the /dev directory ), ttyS0, 1, etc, ttyl0, 1, etc, input/tty-something_I_don't_recall, ttyM0, 1, etc, and ttyACM0, 1, etc.
I presume all these interfaces are purely serial, not USB, so I can't setup my modem, such that it could be accessible by the machine.
I think it'd have to be some USB device (with usb in the name, somewhere). Though I don't think you're going to get one by default, I think you'd have to manually arrange for there to be one.
I tried "modem" ( which gives me error 2 after an "ifup <device>", then "ttyS0", which gives me error 6 ( unsuccessful locking attempt ).
"modem" will only work if you've set up a modem device (a link pointing to whatever device it's attached to (e.g. ttyS0 for the first RS232 style serial port). Naturally, "ttyS0" will only work for something actually connected to it.
The fact is, the /dev/modem doesn't exist at all, which is something I don't understand.
Thanks to "udev" /dev doesn't work in the way it used to. Now, what's created in there is done at bootup, and what you create manually gets lost each reboot. The same thing goes for what other tools make in there (e.g. the neat tool used to configure networks works the first time, then not again).
Now, I have the following line in my /etc/rc.local file to ensure there's always a /dev/modem on my system:
ln -s /dev/ttyS0 /dev/modem
I haven't fathomed out a way to make udev do it for me.
On Sun, 2005-10-30 at 23:01 +1030, Tim wrote:
On Sun, 2005-10-30 at 12:17 +0100, Jean François Ortolo wrote:
I presume all these interfaces are purely serial, not USB, so I can't setup my modem, such that it could be accessible by the machine.
I think it'd have to be some USB device (with usb in the name, somewhere). Though I don't think you're going to get one by default, I think you'd have to manually arrange for there to be one.
Yes Sir
The udev rules file shows me some serial/comm interfaces, some of them with the word "USB" in it, but I don't know which one to choose.
Furthermore, I tried ttyUSB0 by running 'udevinfo ttyUSB'. It succeeded but this interface was not being added to the network tool interfaces list. By 'succeeded' I mean the ttyUSB[0-9]+ were added to the /dev directory.
It might be, cause the ttyUSB interfaces, aren't added to the udev database. I don't know the way to add these to the udev database.
Please, would you say me the right way to do it ?
Thank you very much for your help.
Jean-Francois Ortolo
Jean François Ortolo kirjoitti viestissään (lähetysaika sunnuntai, 30. lokakuuta 2005 13:17):
All the listed interface are: modem ( There is no /dev/modem device in the /dev directory ), ttyS0, 1, etc, ttyl0, 1, etc, input/tty-something_I_don't_recall, ttyM0, 1, etc, and ttyACM0, 1, etc.
I presume all these interfaces are purely serial, not USB,
AFAIK, an ACM compatible USB modem should show as /dev/ttyACM0. Look at dmesg output or /var/log/messages after connecting/powering on your modem. You should see the device name assigned by the system.
The fact is, the /dev/modem doesn't exist at all, which is something I don't understand.
/dev/modem is a symbolic link to your real modem device. You must create that by yourself after identifying the correct device name.
On Mon, 2005-10-31 at 00:14 +0200, Markku Kolkka wrote:
Jean François Ortolo kirjoitti viestissään (lähetysaika sunnuntai, 30. lokakuuta 2005 13:17):
All the listed interface are: modem ( There is no /dev/modem device in the /dev directory ), ttyS0, 1, etc, ttyl0, 1, etc, input/tty-something_I_don't_recall, ttyM0, 1, etc, and ttyACM0, 1, etc.
I presume all these interfaces are purely serial, not USB,
AFAIK, an ACM compatible USB modem should show as /dev/ttyACM0. Look at dmesg output or /var/log/messages after connecting/powering on your modem. You should see the device name assigned by the system.
Thank you very much Sir
The fact is, the devices.txt file is not in the /etc/udev/makedev.dev/ directory. It is in the /usr/share/doc/MAKEDEV.DEVS-something_like_that directory, but I presume there shouldn't be any difference.
Anyway, the /dev/ttyACM* devices are not being created after the theoretically USB ACM compatible modem is switched into USB.
However, the network tool interfaces list shows only input/ttyACM[0-9] ( inside the input directory ), but there is no ttyACM device inside the /dev/input/ directory anymore
The devices.txt file I previously mentioned, effectively shows the /dev/ttyACM* devices, but I don't know how to create them.
Whenever I do a: "MAKEDEV ttyACM", this message appears:
"I don't know how to create this device."
I presume the devices.txt is found, otherwise the message should have indicated "File not found" or something like that.
Maybe the /etc/udev/rules.dev/ rule file should be setup, such that the proper rule could be used to create the interface.
I tried to add a same line as "ttyUSB*" line, but with "ttyACM*" in this file, but it failed.
I don't know the way to complete the configuration files, to be able to setup the /dev/ttyACM0 interface.
Can you help me ?
Thank you very much.
Best regards.
Jean-Francois Ortolo