Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
To set the com port speed you can do that with stty
stty -F /dev/ttyS0 115200
To setup the DCE speed of the modem you can use setserial like this..
setserial /dev/ttyS0 spd_hi
There are some oddities involved with setting the speed of a port however that could actually cause the performance to be reduced using a speed that's too high for the line so testing should be done. With setserial what you set is not actually what you get depending on the hardware.
Apparently udev hasn't been started at all when this module (usbserial)is loaded. So I deferred setting the baud until the very end of the boot process. there is a file called /etc/init.d/bootmisc.sh , which runs at the very end. You can move the stty statement into /etc/init.d/bootmisc.sh.
so in essence what i did was
sudo gedit /etc/init.d/bootmisc.sh
and added
stty -F /dev/ttyUSB0 115200
at the very end of the sh file just before it exits.
it changes my baud rate from 9600 to 15200 on each boot.
is working much better and faster now.
This is working very well for me and was suggested to me by a friend....thank you very much for responding.
I don't use knoppix so I am not familiar with it but on the internet confiuration I simply manually entered it into the network configuration as /dev/ttyUSB0
because it was not able to automatically detect it in ubuntu so I pointed it to the usb.
if it has detected it at usb0 what is the problem?
I have no idea how to make it see it as a serial port when it is plugged into the usb port am not even sure if you can?
the problem is that the serial\modem is not working.when I query the modem in kppp it sort of "detects" the modem but there are no lights that show modem activity when I query.Then I detached the modem form the usb to serial converter and query the modem in kppp-it still detects the modem!
so kppp "sees" the usb to serial converter circuitry as the "modem".
I'm stumped.
BTW,modem and usb converster works perfectly in xp.
couldn't get it to boot without freezing up on my amd64 but I think it was the usb mouse/keyboard it was choking on.
So booted it up on a 32 bit with ps2 mouse/keyboard.That particular machine has an external serial modem on it.
configured kpp dialer it dials but then refuses to connect. seems to me I have had problems with kpp dialer on the other 2 distros i tried also.
On fedora core 3,
I finally just switched to the gnome desktop and it was a piece of cake.
On ubuntu could not get it to work right either. I use the pppconfig for it and then use poff and pon from a terminal.
So you might check to see if there is another dialer available for knoppix?
Have noticed also on mine that I have to use msn/username
for login as I have msn dialup maybe something similar on yours?
If i just entered username and password it would not validate.
Thanks for replying.
Now I use kanotix bughunter.Installed it and I got the touch pad scroll to work.also the usb thumb drive displays its icon on desktop when I plug it in.
forgot to mention that the internal modem works on the laptop(toshiba tecra a3).had to install the driver tho.so the kppp dialer works for me.
I have an old practical peripherals ext modem which I want to work also and at the same time test the usb to serial conv.
dmesg shows that the usb-serial conv is in ttyUSB0 so I created a link to /dev/modem to use the modem I connected to the serial side of the converter.Had to google a lot to arrive to this but this is linux so it is all "trial and error".I may have to do the same whenever I connect another serial device.
One of the primary reasons why linux at this stage will never be a "mainstream" OS.
Distribution: Arch Linux, on over a dozen machines, some with over 840 days of uptime
Posts: 2
Rep:
Quote:
Originally Posted by bongski55
... this is linux so it is all "trial and error".I may have to do the same whenever I connect another serial device.
One of the primary reasons why linux at this stage will never be a "mainstream" OS.
Yes, it certainly could not be your lack of understanding, it's purely the fault of the kernel...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.