* [gentoo-user] wvdial: dialup for users @ 2005-11-27 2:15 Alan E. Davis 2005-11-27 4:20 ` Dale ` (4 more replies) 0 siblings, 5 replies; 14+ messages in thread From: Alan E. Davis @ 2005-11-27 2:15 UTC (permalink / raw To: gentoo-user [-- Attachment #1: Type: text/plain, Size: 340 bytes --] I have tried alot of approaches. Wvdial is superior for detecting hardware: it found my modem on ttyS14, where other approaches hadn't found it. What I cannot seem to do is set up for my family to dial in from their accounts. I have tried changing permissions of various kinds, adding user to dialout, etc. UNCLE! Alan Davis [-- Attachment #2: Type: text/html, Size: 393 bytes --] ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [gentoo-user] wvdial: dialup for users 2005-11-27 2:15 [gentoo-user] wvdial: dialup for users Alan E. Davis @ 2005-11-27 4:20 ` Dale 2005-11-27 13:19 ` John J. Foster 2005-11-27 17:05 ` maxim wexler 2005-11-27 6:20 ` Nick Rout ` (3 subsequent siblings) 4 siblings, 2 replies; 14+ messages in thread From: Dale @ 2005-11-27 4:20 UTC (permalink / raw To: gentoo-user Alan E. Davis wrote: > I have tried alot of approaches. Wvdial is superior for detecting > hardware: it found my modem on ttyS14, where other approaches hadn't > found it. > > What I cannot seem to do is set up for my family to dial in from their > accounts. I have tried changing permissions of various kinds, adding > user to dialout, etc. > > UNCLE! > > Alan Davis Well, I use ppp and the comand pon and poff. It works pretty well. emerge ppp and then config with pppconfig. To connect, pon, to disconnect, poff. That would be as root, there should be a way to make users do it though. I'm not sure how. Now wvdial, it dials out, then sits for a minute, then disconnects with the error that my password is wrong, which is crap because it is correct. I only got wvdial to work once on another rig. It has never worked on this one though. Anybody have a clue on that one? I just like to have options in case it pours instead of just a little shower. My $.02 and a question as well. Dale :-) -- To err is human, I'm most certainly human. -- gentoo-user@gentoo.org mailing list ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [gentoo-user] wvdial: dialup for users 2005-11-27 4:20 ` Dale @ 2005-11-27 13:19 ` John J. Foster 2005-11-28 4:24 ` Dale 2005-11-27 17:05 ` maxim wexler 1 sibling, 1 reply; 14+ messages in thread From: John J. Foster @ 2005-11-27 13:19 UTC (permalink / raw To: gentoo-user [-- Attachment #1: Type: text/plain, Size: 537 bytes --] On Sat, Nov 26, 2005 at 10:20:15PM -0600, Dale wrote: > > Now wvdial, it dials out, then sits for a minute, then disconnects with > the error that my password is wrong, which is crap because it is > correct. I only got wvdial to work once on another rig. It has never > worked on this one though. Anybody have a clue on that one? I just > like to have options in case it pours instead of just a little shower. Hi Dale - I had the same problem until I set Stupid Mode=yes in /etc/wvdial.conf. All was fine then. John [-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --] ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [gentoo-user] wvdial: dialup for users 2005-11-27 13:19 ` John J. Foster @ 2005-11-28 4:24 ` Dale 2005-11-28 13:30 ` Alan E. Davis 0 siblings, 1 reply; 14+ messages in thread From: Dale @ 2005-11-28 4:24 UTC (permalink / raw To: gentoo-user John J. Foster wrote: >On Sat, Nov 26, 2005 at 10:20:15PM -0600, Dale wrote: > > >>Now wvdial, it dials out, then sits for a minute, then disconnects with >>the error that my password is wrong, which is crap because it is >>correct. I only got wvdial to work once on another rig. It has never >>worked on this one though. Anybody have a clue on that one? I just >>like to have options in case it pours instead of just a little shower. >> >> > >Hi Dale - I had the same problem until I set > >Stupid Mode=yes in /etc/wvdial.conf. All was fine then. > >John > > Thanks for that tip. I'll try that. I like to have as many back-ups as I can get. If it were not for bad luck, I would have no luck at all. Well, there is the exception of my girlfriend. She is the best thing, person, to happen yet. Dale :-) -- To err is human, I'm most certainly human. -- gentoo-user@gentoo.org mailing list ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [gentoo-user] wvdial: dialup for users 2005-11-28 4:24 ` Dale @ 2005-11-28 13:30 ` Alan E. Davis 2005-11-28 13:36 ` Alan E. Davis 0 siblings, 1 reply; 14+ messages in thread From: Alan E. Davis @ 2005-11-28 13:30 UTC (permalink / raw To: gentoo-user [-- Attachment #1: Type: text/plain, Size: 1683 bytes --] I've been plunking around with this. I tried what may be a brute force method: change the permissions of /dev/ttyS14. But /dev/ttyS14 is a link to /dev/tts/14. I now see that is a devfs rendering? I thought I do not have support for devfs, and I am trying to use something else. Anyway, is it possible my problems are related to this issue? I see that the "Cannot open /dev/ttyS14: device or resource busy" message is a common one. And there are almost as many proposed solutions as there are instances. There surely would be an easy way to do such a simple thing? Nothing works for me. Alan Davis On 11/28/05, Dale <dalek@exceedtech.net> wrote: > > John J. Foster wrote: > > >On Sat, Nov 26, 2005 at 10:20:15PM -0600, Dale wrote: > > > > > >>Now wvdial, it dials out, then sits for a minute, then disconnects with > >>the error that my password is wrong, which is crap because it is > >>correct. I only got wvdial to work once on another rig. It has never > >>worked on this one though. Anybody have a clue on that one? I just > >>like to have options in case it pours instead of just a little shower. > >> > >> > > > >Hi Dale - I had the same problem until I set > > > >Stupid Mode=yes in /etc/wvdial.conf. All was fine then. > > > >John > > > > > Thanks for that tip. I'll try that. I like to have as many back-ups as > I can get. If it were not for bad luck, I would have no luck at all. > Well, there is the exception of my girlfriend. She is the best thing, > person, to happen yet. > > Dale > :-) > > -- > To err is human, I'm most certainly human. > > > > -- > gentoo-user@gentoo.org mailing list > > [-- Attachment #2: Type: text/html, Size: 2256 bytes --] ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [gentoo-user] wvdial: dialup for users 2005-11-28 13:30 ` Alan E. Davis @ 2005-11-28 13:36 ` Alan E. Davis 2005-11-29 12:41 ` Alan E. Davis 0 siblings, 1 reply; 14+ messages in thread From: Alan E. Davis @ 2005-11-28 13:36 UTC (permalink / raw To: gentoo-user [-- Attachment #1: Type: text/plain, Size: 2248 bytes --] Ok: success! After changing the permissions a a BUNCH of files, and ownerships, and even generating new groups (ppp), finally, when I changed the ownership of /etc/wvdial to root:dialout, the setup works! Isn't that always the way? When I finally have posted and given up, a new option occurs to me that works! Thank you to everyone who made suggestions. Alan Davis On 11/28/05, Alan E. Davis <lngndvs@gmail.com> wrote: > > I've been plunking around with this. I tried what may be a brute force > method: change the permissions of /dev/ttyS14. But /dev/ttyS14 is a link to > /dev/tts/14. I now see that is a devfs rendering? I thought I do not have > support for devfs, and I am trying to use something else. > > Anyway, is it possible my problems are related to this issue? > > I see that the "Cannot open /dev/ttyS14: device or resource busy" message > is a common one. And there are almost as many proposed solutions as there > are instances. There surely would be an easy way to do such a simple > thing? Nothing works for me. > > Alan Davis > > > On 11/28/05, Dale <dalek@exceedtech.net> wrote: > > > > John J. Foster wrote: > > > > >On Sat, Nov 26, 2005 at 10:20:15PM -0600, Dale wrote: > > > > > > > > >>Now wvdial, it dials out, then sits for a minute, then disconnects > > with > > >>the error that my password is wrong, which is crap because it is > > >>correct. I only got wvdial to work once on another rig. It has never > > >>worked on this one though. Anybody have a clue on that one? I just > > >>like to have options in case it pours instead of just a little shower. > > > > >> > > >> > > > > > >Hi Dale - I had the same problem until I set > > > > > >Stupid Mode=yes in /etc/wvdial.conf. All was fine then. > > > > > >John > > > > > > > > Thanks for that tip. I'll try that. I like to have as many back-ups as > > > > I can get. If it were not for bad luck, I would have no luck at all. > > Well, there is the exception of my girlfriend. She is the best thing, > > person, to happen yet. > > > > Dale > > :-) > > > > -- > > To err is human, I'm most certainly human. > > > > > > > > -- > > gentoo-user@gentoo.org mailing list > > > > > [-- Attachment #2: Type: text/html, Size: 3236 bytes --] ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [gentoo-user] wvdial: dialup for users 2005-11-28 13:36 ` Alan E. Davis @ 2005-11-29 12:41 ` Alan E. Davis 0 siblings, 0 replies; 14+ messages in thread From: Alan E. Davis @ 2005-11-29 12:41 UTC (permalink / raw To: gentoo-user [-- Attachment #1: Type: text/plain, Size: 3564 bytes --] Followup: Oh, it work, ok... until I rebooted. Then it didn't work for ordinary (non-super users) to #wvdial anymore. Apparently, using udev and sysfs, etc., the devices are made on boot. Funny, that I had to run MAKEDEV to make the higher numbered nodes, like /dev/ttyS14, where my modem resides. (The modem is not at this place on one of the other systems I was playing around with---Knoppix, I think). I am now going to learn udev. I want to anyway: I like the way Ubuntu jumps into action when a flash drive or a printer is plugged in, and so do my GNU/Linux doubting friends :-). So far, it looks like rules for creating the device nodes include permissions components. I will get there eventually. Does anyone know, right off hand, though, how to produce a rule to set up /dev/ttyS14 (/dev/tts/14 in the new nomenclature) with permissions to allow dialup by anyone in group dialout? It works to just do the following after booting: # chmod o+rw /dev/tts # chmod 0+rw /dev/tts/14 Is this a security issue? Thanks for the advices so far. Alan Davis On 11/28/05, Alan E. Davis <lngndvs@gmail.com> wrote: > > Ok: success! After changing the permissions a a BUNCH of files, and > ownerships, and even generating new groups (ppp), finally, when I changed > the ownership of /etc/wvdial to root:dialout, the setup works! > > Isn't that always the way? When I finally have posted and given up, a > new option occurs to me that works! > > Thank you to everyone who made suggestions. > > Alan Davis > > On 11/28/05, Alan E. Davis <lngndvs@gmail.com> wrote: > > > > I've been plunking around with this. I tried what may be a brute force > > method: change the permissions of /dev/ttyS14. But /dev/ttyS14 is a link to > > /dev/tts/14. I now see that is a devfs rendering? I thought I do not have > > support for devfs, and I am trying to use something else. > > > > Anyway, is it possible my problems are related to this issue? > > > > I see that the "Cannot open /dev/ttyS14: device or resource busy" > > message is a common one. And there are almost as many proposed solutions as > > there are instances. There surely would be an easy way to do such a simple > > thing? Nothing works for me. > > > > Alan Davis > > > > > > On 11/28/05, Dale <dalek@exceedtech.net > wrote: > > > > > > John J. Foster wrote: > > > > > > >On Sat, Nov 26, 2005 at 10:20:15PM -0600, Dale wrote: > > > > > > > > > > > >>Now wvdial, it dials out, then sits for a minute, then disconnects > > > with > > > >>the error that my password is wrong, which is crap because it is > > > >>correct. I only got wvdial to work once on another rig. It has > > > never > > > >>worked on this one though. Anybody have a clue on that one? I just > > > >>like to have options in case it pours instead of just a little > > > shower. > > > >> > > > >> > > > > > > > >Hi Dale - I had the same problem until I set > > > > > > > >Stupid Mode=yes in /etc/wvdial.conf. All was fine then. > > > > > > > >John > > > > > > > > > > > Thanks for that tip. I'll try that. I like to have as many back-ups > > > as > > > I can get. If it were not for bad luck, I would have no luck at all. > > > Well, there is the exception of my girlfriend. She is the best thing, > > > person, to happen yet. > > > > > > Dale > > > :-) > > > > > > -- > > > To err is human, I'm most certainly human. > > > > > > > > > > > > -- > > > gentoo-user@gentoo.org mailing list > > > > > > > > > [-- Attachment #2: Type: text/html, Size: 4972 bytes --] ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [gentoo-user] wvdial: dialup for users 2005-11-27 4:20 ` Dale 2005-11-27 13:19 ` John J. Foster @ 2005-11-27 17:05 ` maxim wexler 1 sibling, 0 replies; 14+ messages in thread From: maxim wexler @ 2005-11-27 17:05 UTC (permalink / raw To: gentoo-user > > Well, I use ppp and the comand pon and poff. It > works pretty well. > emerge ppp and then config with pppconfig. To > connect, pon, to > disconnect, poff. That would be as root, there > should be a way to make > users do it though. I'm not sure how. $sudo /usr/sbin/pon(poff) <provider-name> > > Now wvdial, it dials out, then sits for a minute, > then disconnects with > the error that my password is wrong, which is crap > because it is > correct. I only got wvdial to work once on another > rig. It has never > worked on this one though. Anybody have a clue on > that one? I just > like to have options in case it pours instead of > just a little shower. > > My $.02 and a question as well. I also found pppconfig superior to wvdial __________________________________ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com -- gentoo-user@gentoo.org mailing list ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [gentoo-user] wvdial: dialup for users 2005-11-27 2:15 [gentoo-user] wvdial: dialup for users Alan E. Davis 2005-11-27 4:20 ` Dale @ 2005-11-27 6:20 ` Nick Rout 2005-11-27 6:25 ` Norberto Bensa ` (2 subsequent siblings) 4 siblings, 0 replies; 14+ messages in thread From: Nick Rout @ 2005-11-27 6:20 UTC (permalink / raw To: gentoo-user There are a couple of groups that you need to add your users to. - "dialout" and "uucp". Reading the message at the end of emerging wvdial tells you this. Also reading the ebuild gives you the same information. I am not criticising you, thiose messages flash by very quickly, and reading the ebuild is not everyone's first port of call, but if I educate one person to read the documentation and save one query to the list i guess my job is done :-) PS don't forget you have to log in again after you have been added to a group. and "id" is a good command to see what groups you are in. On Sun, 27 Nov 2005 12:15:15 +1000 "Alan E. Davis" <lngndvs@gmail.com> wrote: > I have tried alot of approaches. Wvdial is superior for detecting hardware: > it found my modem on ttyS14, where other approaches hadn't found it. > > What I cannot seem to do is set up for my family to dial in from their > accounts. I have tried changing permissions of various kinds, adding user > to dialout, etc. > > UNCLE! > > Alan Davis > -- gentoo-user@gentoo.org mailing list ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [gentoo-user] wvdial: dialup for users 2005-11-27 2:15 [gentoo-user] wvdial: dialup for users Alan E. Davis 2005-11-27 4:20 ` Dale 2005-11-27 6:20 ` Nick Rout @ 2005-11-27 6:25 ` Norberto Bensa 2005-11-27 6:42 ` Robert Crawford 2005-11-27 14:33 ` b.n. 4 siblings, 0 replies; 14+ messages in thread From: Norberto Bensa @ 2005-11-27 6:25 UTC (permalink / raw To: gentoo-user; +Cc: Alan E. Davis Alan E. Davis wrote: > I have tried changing permissions of various kinds, adding user > to dialout, etc. Add them to "tty" group ;) -- Norberto Bensa 4544-9692 Ciudad de Buenos Aires, Argentina -- gentoo-user@gentoo.org mailing list ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [gentoo-user] wvdial: dialup for users 2005-11-27 2:15 [gentoo-user] wvdial: dialup for users Alan E. Davis ` (2 preceding siblings ...) 2005-11-27 6:25 ` Norberto Bensa @ 2005-11-27 6:42 ` Robert Crawford 2005-11-27 14:33 ` b.n. 4 siblings, 0 replies; 14+ messages in thread From: Robert Crawford @ 2005-11-27 6:42 UTC (permalink / raw To: gentoo-user On Sat November 26 2005 9:15 pm, Alan E. Davis wrote: > I have tried alot of approaches. Wvdial is superior for detecting > hardware: it found my modem on ttyS14, where other approaches hadn't found > it. > > What I cannot seem to do is set up for my family to dial in from their > accounts. I have tried changing permissions of various kinds, adding user > to dialout, etc. > > UNCLE! > > Alan Davis Try these thread on the forums- I posted my experience with wvdial- it should fix your problems. http://forums.gentoo.org/viewtopic.php?t=112214&highlight= or: http://forums.gentoo.org/viewtopic-t-160597-highlight-wvdial+wrc1944.html -- gentoo-user@gentoo.org mailing list ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [gentoo-user] wvdial: dialup for users 2005-11-27 2:15 [gentoo-user] wvdial: dialup for users Alan E. Davis ` (3 preceding siblings ...) 2005-11-27 6:42 ` Robert Crawford @ 2005-11-27 14:33 ` b.n. 2005-11-27 19:09 ` Nick Rout 4 siblings, 1 reply; 14+ messages in thread From: b.n. @ 2005-11-27 14:33 UTC (permalink / raw To: gentoo-user Alan E. Davis wrote: > I have tried alot of approaches. Wvdial is superior for detecting > hardware: it found my modem on ttyS14, where other approaches hadn't > found it. > > What I cannot seem to do is set up for my family to dial in from their > accounts. I have tried changing permissions of various kinds, adding > user to dialout, etc. suid the wvdial binary. m. -- gentoo-user@gentoo.org mailing list ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [gentoo-user] wvdial: dialup for users 2005-11-27 14:33 ` b.n. @ 2005-11-27 19:09 ` Nick Rout 2005-11-27 21:21 ` Alan E. Davis 0 siblings, 1 reply; 14+ messages in thread From: Nick Rout @ 2005-11-27 19:09 UTC (permalink / raw To: gentoo-user On Sun, 27 Nov 2005 14:33:09 +0000 "b.n." <brullonulla@gmail.com> wrote: > Alan E. Davis wrote: > > I have tried alot of approaches. Wvdial is superior for detecting > > hardware: it found my modem on ttyS14, where other approaches hadn't > > found it. > > > > What I cannot seem to do is set up for my family to dial in from their > > accounts. I have tried changing permissions of various kinds, adding > > user to dialout, etc. > > suid the wvdial binary. > m. Don't do that! Just set the user in the correct groups per the instructions in the ebuild! suid is very rarely the correct answer. If it was the ebuild would do it for you. > -- > gentoo-user@gentoo.org mailing list > -- gentoo-user@gentoo.org mailing list ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [gentoo-user] wvdial: dialup for users 2005-11-27 19:09 ` Nick Rout @ 2005-11-27 21:21 ` Alan E. Davis 0 siblings, 0 replies; 14+ messages in thread From: Alan E. Davis @ 2005-11-27 21:21 UTC (permalink / raw To: gentoo-user [-- Attachment #1: Type: text/plain, Size: 1845 bytes --] I haven't tried setuid for the wvdial binary. I have joined the users to the groups "dialout" and "uucp". I have also changed the owner of various binaries to include users, including "wvdial". I followed someone's advice on the Inet and set pppd setuid for the group "ppp" which I also joined all users to. I don't want my wife to have to "sudo yada yada." I want to grant her permissions. I have used pppconfig for years. It won't find /dev/ttyS14, while wvdial did, uniquely among all dialup clients I have tried. kppp didn't. I had to make the tty's with MAKEDEV. Maybe I can use pppconfig now that I have found out the dev file. Wvdial works well. I would ideally like my wife to be able to click on a modem icon / applet to dial in and to quit. I understand why in a server environment, one would be paranoid. I WANT to grant this permission to users at my discretion. Thank you for the ideas, everyone. I will follow them up. Alan Davis On 11/28/05, Nick Rout <nick@rout.co.nz> wrote: > > On Sun, 27 Nov 2005 14:33:09 +0000 > "b.n." <brullonulla@gmail.com> wrote: > > > Alan E. Davis wrote: > > > I have tried alot of approaches. Wvdial is superior for detecting > > > hardware: it found my modem on ttyS14, where other approaches hadn't > > > found it. > > > > > > What I cannot seem to do is set up for my family to dial in from their > > > accounts. I have tried changing permissions of various kinds, adding > > > user to dialout, etc. > > > > suid the wvdial binary. > > m. > > Don't do that! Just set the user in the correct groups per the > instructions in the ebuild! > > suid is very rarely the correct answer. If it was the ebuild would do > it for you. > > > > -- > > gentoo-user@gentoo.org mailing list > > > -- > gentoo-user@gentoo.org mailing list > > [-- Attachment #2: Type: text/html, Size: 2515 bytes --] ^ permalink raw reply [flat|nested] 14+ messages in thread
end of thread, other threads:[~2005-11-29 12:46 UTC | newest] Thread overview: 14+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2005-11-27 2:15 [gentoo-user] wvdial: dialup for users Alan E. Davis 2005-11-27 4:20 ` Dale 2005-11-27 13:19 ` John J. Foster 2005-11-28 4:24 ` Dale 2005-11-28 13:30 ` Alan E. Davis 2005-11-28 13:36 ` Alan E. Davis 2005-11-29 12:41 ` Alan E. Davis 2005-11-27 17:05 ` maxim wexler 2005-11-27 6:20 ` Nick Rout 2005-11-27 6:25 ` Norberto Bensa 2005-11-27 6:42 ` Robert Crawford 2005-11-27 14:33 ` b.n. 2005-11-27 19:09 ` Nick Rout 2005-11-27 21:21 ` Alan E. Davis
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox