Configuring ISP dial-up
Hi everybody,
These comments are just to illustrate how linux can be extremely annoying if
you are in a hurry.
The various methods provided in the SuSE 8.0 distro for configuring dial-up to
an ISP are apparently not well integrated.
To start with, during installation one is presented with the Yast2 module for
configuration of ISP dial-up - having finished this, one would assume that
the little Kinternet icon that appears on the taskbar would just need
clicking for a successful connection, either from 'root' or 'user', but this
is not so. You better not put away your ISP DATA file yet !
The only thing that Yast2 shares in common with Kppp, Kinternet, and Wvdial
seems to be the phone number for your ISP dial-up. User name and password
somehow trip you up.
Moreover Wvdial can only be configured as 'root', and the configuration file
ownership and rw permissions are only for 'root', so if you subsequently
login as 'user' and try to dial-up using Wvdial you get rebuffed with a
message that you have no permission! Then you have to change the ownership
and rw group permissions to get round this. Having got this done, you're
STILL not finished!
Similiarly, if you configure kppp when logged in as 'root', and then dial-up
when logged in as 'user' you get a message asking you to contact your 'system
administrator' (yourself ! ) for setting up
On Thursday 16 May 2002 17.10, Roy Leembruggen wrote:
Hi everybody,
These comments are just to illustrate how linux can be extremely annoying if you are in a hurry.
The various methods provided in the SuSE 8.0 distro for configuring dial-up to an ISP are apparently not well integrated.
I think they are. So far I've only found one bug in it. For most people it should be ok.
To start with, during installation one is presented with the Yast2 module for configuration of ISP dial-up - having finished this, one would assume that the little Kinternet icon that appears on the taskbar would just need clicking for a successful connection, either from 'root' or 'user', but this is not so. You better not put away your ISP DATA file yet !
This is so so :) If you have an ISP account that gives you a unix style login prompt it fails, as I've noted before, but putting STUPIDMODE = "yes" in the config file under /etc/sysconfig/network/providers/ should work for most people (not all, but most).
The only thing that Yast2 shares in common with Kppp, Kinternet, and Wvdial seems to be the phone number for your ISP dial-up. User name and password somehow trip you up.
YaST2 sets up kinternet/smpppd. It does not set up kppp or wvdial (smpppd uses wvdial, but not /etc/wvdial.conf)
Moreover Wvdial can only be configured as 'root', and the configuration file ownership and rw permissions are only for 'root', so if you subsequently login as 'user' and try to dial-up using Wvdial you get rebuffed with a message that you have no permission! Then you have to change the ownership and rw group permissions to get round this. Having got this done, you're STILL not finished!
No, this is wrong. What you should do is place the user that is allowed to use the modem in the "dialout" group.
Similiarly, if you configure kppp when logged in as 'root', and then dial-up when logged in as 'user' you get a message asking you to contact your 'system administrator' (yourself ! ) for setting up
. But if you just ignore the message you can go ahead and configure your ISP dial-up one more time!
You should configure kppp (if that's the program you want to use) as the user that's going to dial out. If that user is in the dialout group it should work. regards Anders -- I swear I do declare - how did you get that there?
On Thursday 16 May 2002 08:22 am, Anders Johansson wrote:
Moreover Wvdial can only be configured as 'root', and the configuration file ownership and rw permissions are only for 'root', so if you subsequently login as 'user' and try to dial-up using Wvdial you get rebuffed with a message that you have no permission! Then you have to change the ownership and rw group permissions to get round this. Having got this done, you're STILL not finished!
No, this is wrong. What you should do is place the user that is allowed to use the modem in the "dialout" group.
I had this happen to me, I tried to change the phone number for dialing by logging in as root (into WindowMaker) and running xedit to change etc/wvdial.conf. When I logged back in as myself, the above-mentioned problem occured. When I read your reply above I checked in the Users/Groups module in YaST2 but it says I am in the dialout group. So that must not be the problem.
On Friday 17 May 2002 05.39, Bryce Hardy wrote:
On Thursday 16 May 2002 08:22 am, Anders Johansson wrote:
Moreover Wvdial can only be configured as 'root', and the configuration file ownership and rw permissions are only for 'root', so if you subsequently login as 'user' and try to dial-up using Wvdial you get rebuffed with a message that you have no permission! Then you have to change the ownership and rw group permissions to get round this. Having got this done, you're STILL not finished!
No, this is wrong. What you should do is place the user that is allowed to use the modem in the "dialout" group.
I had this happen to me, I tried to change the phone number for dialing by logging in as root (into WindowMaker) and running xedit to change etc/wvdial.conf. When I logged back in as myself, the above-mentioned problem occured. When I read your reply above I checked in the Users/Groups module in YaST2 but it says I am in the dialout group. So that must not be the problem.
Well, you also need to be in the "uucp" group, since that's the group that owns the modem devices. In the past there was a little check box "user is allowed to access the modem" but that's gone. Instead, both dialout and uucp are by default checked when you create users with YaST2. But what you're saying sounds like it worked before you edited the config, but afterwards it didn't. If that's true, I suggest you look at how you edit it. An editor shouldn't change file permissions on a file. That file /etc/wvdial.conf has by default rw access for user root and read access for group dialout. That's all that's needed. //Anders -- I swear I do declare - how did you get that there?
Actually, you may wanna check permissions on /dev/modem
ls -alF /dev/modem
and
ls -alF /dev/
On Friday 17 May 2002 05.39, Bryce Hardy wrote:
On Thursday 16 May 2002 08:22 am, Anders Johansson wrote:
Moreover Wvdial can only be configured as 'root', and the configuration file ownership and rw permissions are only for 'root', so if you subsequently login as 'user' and try to dial-up using Wvdial you get rebuffed with a message that you have no permission! Then you have to change the ownership and rw group permissions to get round this. Having got this done, you're STILL not finished!
No, this is wrong. What you should do is place the user that is allowed to use the modem in the "dialout" group.
I had this happen to me, I tried to change the phone number for dialing by logging in as root (into WindowMaker) and running xedit to change etc/wvdial.conf. When I logged back in as myself, the above-mentioned problem occured. When I read your reply above I checked in the Users/Groups module in YaST2 but it says I am in the dialout group. So that must not be the problem.
Well, you also need to be in the "uucp" group, since that's the group that owns the modem devices. In the past there was a little check box "user is allowed to access the modem" but that's gone. Instead, both dialout and uucp are by default checked when you create users with YaST2.
But what you're saying sounds like it worked before you edited the config, but afterwards it didn't. If that's true, I suggest you look at how you edit it. An editor shouldn't change file permissions on a file.
That file /etc/wvdial.conf has by default rw access for user root and read access for group dialout. That's all that's needed.
//Anders
-- I swear I do declare - how did you get that there?
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com
-- ********************************************************************** This post is encrypted in the "english language method", any attempt to decipher meaning from these symbols is a violation of the DMCA. This includes, but is not limited to: interpreting the symbols through use of biological, visual decryption devices, translating the symbols into another language encryption scheme, and digital processing the symbols into a form conducive to oral intrepretation. Thank you for your time. **********************************************************************
On Friday 17 May 2002 06.27, Phantasm wrote:
and all my users can use wvdial properly, only problem is the HaM module and this modem seem to dislike ppp connections and requires me to dial up five million and one times before a successful ppp connection is made.
I'd be willing to bet that this too would be fixed by adding Stupid Mode to the configuration. That seems to fix most problems. I saw the same problem with a dial up, where I had to dial up several times before I got a connection. It turned out to be a timeout on the connection before pppd was started. Stupid Mode launches pppd immediately, so it fixed the problem. //Anders -- I swear I do declare - how did you get that there?
On Thursday 16 May 2002 09:04 pm, Anders Johansson wrote:
Well, you also need to be in the "uucp" group, since that's the group that owns the modem devices. In the past there was a little check box "user is allowed to access the modem" but that's gone. Instead, both dialout and uucp are by default checked when you create users with YaST2.
But what you're saying sounds like it worked before you edited the config, but afterwards it didn't. If that's true, I suggest you look at how you edit it. An editor shouldn't change file permissions on a file.
That file /etc/wvdial.conf has by default rw access for user root and read access for group dialout. That's all that's needed.
I guess somehow the permissions were changed when I edited the file. With your advice I changed the permissions to "read by others" and now it works fine. Thanks for the help.
participants (4)
-
Anders Johansson
-
Bryce Hardy
-
Phantasm
-
Roy Leembruggen