Click to See Complete Forum and Search --> : Modem busy error message for user
r3b007
07-08-2003, 05:13 AM
When logged on as a user i get a ttys0 device busy error message when trying to initialize the modem.
Im attempting to connect using wvdial.
I can initialize the modem fine as root.
Ive changed the permissions on wvdial and wvdial.conf to 777 but no joy!
Any ideas?
mdwatts
07-08-2003, 09:19 AM
See what is making /dev/ttyS0 busy.
lsof /dev/ttyS0
r3b007
07-08-2003, 10:12 AM
Ive no idea what is making /dev/ttyS0 busy.
Im not next to my *nix box right now so cant issue that command.
Its puzzling why root can initialize the device but all other users cant...
mdwatts
07-08-2003, 10:14 AM
Does wvdial use pppd? If so, try searching the JL forums and Google for Linux for
'pppd user permission'
sploo22
07-08-2003, 12:30 PM
Hmm... you said you set the permissions on wvdial and wvdial.conf, did you also check the ones for /dev/ttyS0?
Also, it could be that something is causing the modem to be busy only when a user is logged in. Try logging in as root and then su'ing to a normal user.