Computing.Net > Forums > Linux > setserial command not found error

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

setserial command not found error

Reply to Message Icon

Name: ugol
Date: July 22, 2003 at 15:51:22 Pacific
OS: linux Mandrake 9.1
CPU/Ram: 400Mhz 250Mb
Comment:

I'm getting error message command not found when I use setserial in Mandrake 9.1.
Does any body know how to fix it? I need to setup my PCI modem. And in the manual for the modem it says that I have to use setserial in order to set it up. Thanks in advance for help.



Sponsored Link
Ads by Google

Response Number 1
Name: Guido
Date: July 22, 2003 at 16:16:19 Pacific
Reply:

Setserial can be downloaded from:

http://gnumonks.org/ftp/pub/mirror/linux/setserial

It's in sourcecode, so you have to compile it yourself.

- Extract the tar.gz package.
- Go to the directory where it placed all the files
- open a terminal
- type ./configure
- type make
- give yourself root privileges
- type make install

If setserial isn't automatically copied to your /bin directory then copy it to there.


0

Response Number 2
Name: 3Dave
Date: July 23, 2003 at 03:41:53 Pacific
Reply:

You may also have to make sure you are
logged in as root with root's paths as
setserial is often dumped in
/sbin/setserial. Just doing a "su" command
might not be enough, you need to either use
"su -" or log in properly as root.

I'm pretty sure you can find setserial on
the installation CDs for mandrake....do a
search for it in the software management
section of drakconf.


0

Response Number 3
Name: ugol
Date: July 24, 2003 at 16:33:18 Pacific
Reply:

Thank you very much for your help. I got setserial up and running. And of course I crashed on to another trouble. In the previous version of Mandrake (8.something) inside /dev directory I had 4 ttySx's (ttyS0, ttyS1, ttyS2, ttyS3) and the same modem was up and running after I use setserial /dev/ttyS0 uart 16550A port 0xXXXX irq XX. In this new version (Mandrake 9.1) on the same computer I have only ttyS0 and ttyS4. /proc/pci shows me my modem with port 0x2000 and irq 10. ttyS0 is busy according to setserial (setserial /dev/ttyS0 uart 16550A port 0x2000 irq 10). When I run the same setserial command on ttyS4, it does not give me any feedback and probably does what it supposed to do but I can not connect to internet. And interesting thing is that when I go to kppp modem configuration it shows me options for ttyS0, ttyS1, ttyS2 and ttyS3. When I use ttyS1 it looks like it finds the modem (it takes 2-3 seconds) but it says modem does not response. ttyS0, 2 and 3 gives me an error (right away) that it could not open the modem. I'm sure that I'm missing something here, and probably something simple (or may be not) If anybody has any idea about this please let me know. Thanks for your help!


0

Response Number 4
Name: 3Dave
Date: July 25, 2003 at 01:23:33 Pacific
Reply:

You can create the correct dev with either
the mknod or MAKEDEV commands:
# mknod -m 666 /dev/ttyS1 c 4 64
or
# cd /dev
# /MAKEDEV ttyS1


0

Response Number 5
Name: 3Dave
Date: July 25, 2003 at 03:48:16 Pacific
Reply:

oops...that last line should be:
# ./MAKEDEV ttyS1


0

Related Posts

See More



Sponsored Link
Ads by Google
Reply to Message Icon






Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: setserial command not found error

command not found using shutdown www.computing.net/answers/linux/command-not-found-using-shutdown/13727.html

bash: ***: command not found www.computing.net/answers/linux/bash-command-not-found/3944.html

Bash: :command not found help www.computing.net/answers/linux/bash-command-not-found-help/3840.html