minicom

minicom

Post by Trevor Bro » Fri, 21 Jul 2000 04:00:00



Hi:

I've run minicom a couple of times, and I'm having trouble configuring it
properly.  At first, it told me that the administrator had to run minicom
-s, and so I did this.  I also have no problem running minicom as root.
But when I try to run it as a normal user, it says "/dev/modem permission
denied" or some other such error.

How can I set this up to run when I'm logged in as a normal user?

Trevor

 
 
 

minicom

Post by William Shott » Fri, 21 Jul 2000 04:00:00


: Hi:

: I've run minicom a couple of times, and I'm having trouble configuring it
: properly.  At first, it told me that the administrator had to run minicom
: -s, and so I did this.  I also have no problem running minicom as root.
: But when I try to run it as a normal user, it says "/dev/modem permission
: denied" or some other such error.

: How can I set this up to run when I'm logged in as a normal user?

: Trevor

The problem is that the /dev/modem file (or actually the actual file the
symbolic link /dev/modem points to) has permissions that do not allow
users other than root to open it.  The crude and probably insecure
way to fix it is to set the file permissions to 666.

--

|||||  http://www.clark.net/pub/bshotts/ (Updated 04/13/2000)
|||||  Be a Linux Commander!  Follow me to http://linuxcommand.org

 
 
 

minicom

Post by Michael Blac » Sat, 22 Jul 2000 04:00:00



Quote:> Hi:

> I've run minicom a couple of times, and I'm having trouble configuring it
> properly.  At first, it told me that the administrator had to run minicom
> -s, and so I did this.  I also have no problem running minicom as root.
> But when I try to run it as a normal user, it says "/dev/modem permission
> denied" or some other such error.

> How can I set this up to run when I'm logged in as a normal user?

> Trevor

The man entry doesn't really explain this.

When I was installing it, all I wrote down was the message about
needing to run it with the -s option from the root account.

But take a look at what was said during the configuration process,
by viewing /var/lib/dpkg/info/minicom.postinst

It says that
 "users must be added to the 'dialout' group to allow access
  to the modem device"

Which imust be the path to pursue.

    Michael

 
 
 

minicom

Post by Andrew Puruggan » Sat, 22 Jul 2000 04:00:00


[ I've run minicom a couple of times, and I'm having trouble configuring it
[ properly.  At first, it told me that the administrator had to run minicom
[ -s, and so I did this.  I also have no problem running minicom as root.
[ But when I try to run it as a normal user, it says "/dev/modem permission
[ denied" or some other such error.

[ How can I set this up to run when I'm logged in as a normal user?
as root:
chmod 755 /dev/modem
if that doesn't work, replace 755 with 777
Try again as user
--
jazz
Registered linux user no. 164098
Doesn't it bother you, that we have to search for intelligent life
--- OUT THERE??

 
 
 

minicom

Post by elaine ch » Sat, 22 Jul 2000 04:00:00


In order to get minicom to work for username on my RedHat6.1, I did
the following :

my modem is on ttyS1

ls -lar /dev/ttyS1
crw------- 1 root tty

This shows the modem device is owned by root and tty group has priviledges
that are not in use yet.  So I activated group read and write by:

chmod g+rw /dev/ttyS1 and then joined the tty group by adding username
after the colon in /etc/group.

If there is a better way to get user access to minicom please let me know.
Thanks.  er-chan at scn.org

 
 
 

minicom

Post by Trevor Bro » Mon, 24 Jul 2000 04:00:00


Hi:

Just to let you in on what I've learned (the hard way) about setting up
minicom in Red Hat 6.2.  The modem device is a symbolic link to a tty
device (in my case, ttyS2).  You change the group attributes of tty to
+rw, and then you add your users to the group tty.

Do not change the other attribute of ttyS2 to +rw... because if you do,
then it gives permission to "the world" when you are connected to the
Internet to access through your modem to your computer.  Things got really
strange over here until I had to reinstall RH just to fix this.

Trevor

 
 
 

1. Minicom Alt-Q quits more than just Minicom

Hi,

I am a new user of Linux and want to set up PPP badly.  However, I've read the
HOWTO and followed the structions but just can't get it working.  What I've
got so far :-

1)I can dial in to my ISP using Minicom and logged in all right.
2)I can type in ppp at the prompt and garbage showed up (talking)

After that, I followed the instruction and type in <Alt-Q>, but when I do so,
not only the MINICOM quits but also the whole x-term will disappear leaving
the /dev/modem locked (when I pick up the phone, there is a dial tone so I
know it hanged up too).  My /etc/ppp/options file and /etc/resolv.conf look
as follow :-

modem
crtscts
defaultroute
asyncmap 0
mtu 552
mru 552

-------
and my /etc/resolv.conf :-

domain 137.186.128.11
       198.53.64.7
nameserver 10.25.0.1

---------

Thanks for any help.  I really appreciate it.



2. Strange behavior on installation

3. SliRp/Minicom: Starting Slirp through minicom?

4. NIS setup?

5. To Minicom or not to Minicom

6. Wierd question of the day: PPP connection over Cable modem using PPPOE

7. Kppp, ppp, minicom HELP?

8. Anonymous login password

9. updating minicom

10. Minicom Error: "cua2: 1 input overrun(s)"

11. NEWBIE: DOWNLOADING WITH MINICOM

12. does minicom work with 8 bit characters?

13. problem with backspace and minicom