View previous topic :: View next topic |
Author |
Message |
Retired General n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/4165636043ec516223dfce.png)
Joined: 17 Aug 2002 Posts: 58
|
Posted: Sat Aug 17, 2002 7:58 pm Post subject: Can't dial as normal user |
|
|
I searched the forums but coun't find a solution to my problem.
I can't dial to my ISP when I log in as a normal user.
I added my normal user to the following groups:
users tty wheel audio cdrom dialout cdrw and set my modem
device /dev/tts/4 to be in group tty. When I try to dial with wvdial
however it says
Code: |
--> Cannot open /dev/tts/4: Device or resource busy
|
I can dial only when I su to root
Anyone has an idea what I can do? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
tomas n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/gallery/D&D Related/wizard2.gif)
Joined: 05 Jul 2002 Posts: 62 Location: Sweden
|
Posted: Sat Aug 17, 2002 8:42 pm Post subject: |
|
|
I looked around a bit, and the problem you have is probably due to wrong permissions. So:
* Check that you have the correct permissions on the modem device
* Check that you have write access to /var/lock
That's what I found, anyway
EDIT: http://open.nit.ca/lists/archives/wvdial/msg00069.html |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Retired General n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/4165636043ec516223dfce.png)
Joined: 17 Aug 2002 Posts: 58
|
Posted: Sun Aug 18, 2002 7:15 am Post subject: Doesn't work |
|
|
I have write pemissions to /var/lock but when I try to change the permissions of my modem device it changes back. The modem device has read/write by owner (root) permissions and read by group. When I set it to read/write by group it just changes back and I still can't dial. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
pjp Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
![](images/avatars/1154772887439692d88303b.jpg)
Joined: 16 Apr 2002 Posts: 20588
|
Posted: Sun Aug 18, 2002 7:21 am Post subject: |
|
|
Possibly this thread. _________________ Quis separabit? Quo animo? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Retired General n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/4165636043ec516223dfce.png)
Joined: 17 Aug 2002 Posts: 58
|
Posted: Sun Aug 18, 2002 8:32 am Post subject: |
|
|
I tried all the suggestions in that thread but I still can't dial. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Retired General n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/4165636043ec516223dfce.png)
Joined: 17 Aug 2002 Posts: 58
|
Posted: Tue Aug 20, 2002 4:48 pm Post subject: Yes! |
|
|
It's working!!!
I made the group owner of /dev/tts/4 group tty and added the following to my /etc/devfsd.conf
Code: |
REGISTER tts/.* PERMISSIONS root.tty 660
|
and I can now dial as a normal user.
Anyway, if there are people here who know a bit about devfsd and file permissions (cause I don't), would you please tell me if this can somehow do more harm than good. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
trooper n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 02 Sep 2002 Posts: 54 Location: warrenbayne, victoria, australia
|
Posted: Thu Nov 21, 2002 7:12 am Post subject: eeeeeeekkkkkkkkkkkkkkkkkkkk |
|
|
g'day,
this is a message from the edge of insanity
i recently spent many many hours upgrading from 1.2 to 1.4rc1. thanks to the fab scripts supplied by ,Road_Runner, Humpback, and carpaski it was a breeze. great job blokes. i just kept saying yes and it all worked wonderfully.
forewarned with all the messages that incidental horrors might occur i plunged on. ignorance about what i'm doing has never stopped me yet (i attend a lot of software funerals).
after the upgrade (at last he gets to the point) i could no longer connect to the net via a user account (su can still do it) always get that ubiquitous "device or resource busy 'bitch' message". (is always get & ubiquitous tautology?)
the sticking point appears to to be access to the dev/tts/LT0 (internal linmodem). the only user has access to tty. wheel, dialout, users, and daemon.with ps au it appears that root is not accessing /dev/tts/LT0 either! so who's using my device hey? lol
*sigh* rw access to pap secrets/chapsecrets,resolv.conf; and any other permission you can imagine and suggestions that have been mentioned in this thread & it's cross references has been tried and failed. aaaaaaaaaarrrrrrrrrrrrrrggggggg!!!!!!!!!
an easy fix would be to setuid to /dev/tts/LT0. group and others already had +rw permissions . i know there is a symlink between /dev/ttyS0 and /dev/tts/LT0 ...could this be a cause?? under my /dev i do not have a ttyS0 showing?
(i'm here at last) now, when i try as root, via mc and gentoo file managers to change the set uid parameter it appears to change but after a restart/reboot it always reverts to no suid. i have also used the world +24660 chmod but the box still reverts to no suid 20660 upon restart.
why would something that i change as root via the command line & midnight commander etc, blah blah, blah, revert back to previous permissions? how can i make these changes permanent?
none of the changes i make in this area are permanent and i'm about to go mental in frustration
any suggestions/valium gratefully received.
regards,
trooper |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|