Re: RH9: I need to start ADSL-START as root for the first time after boot ....
From: Gabolander (Sgnacks_at_yahoo.it)
Date: 08/10/03
- Previous message: Michael Hart: "Re: VPN to W2k with PPTP over Linux firewall Problem"
- In reply to: H. S.: "Re: RH9: I need to start ADSL-START as root for the first time after boot ...."
- Next in thread: Gabolander: "Re: RH9: I need to start ADSL-START as root for the first time after boot ...."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sun, 10 Aug 2003 09:49:31 GMT
H. S. in comp.os.linux.networking on 04:21, domenica 10 agosto 2003, wrote:
> Gabolander wrote:
>> Hi all,
>> I have this problem
>> After having booted my system running a Redhat 9, I need to start at
>> least once '/sbin/adsl-start' script as 'root' before calling it as
>> normal user. After connecting as root, I also may disconnect and run the
>> program as normal user and it successfully connect so far.
>>
>> But if I try to connect as normal user the first time after boot, nothing
>> happens (modem seems not to respond).
>>
>> During 'adsl-setup' configuration, obviously I answered yes at the
>> question "do you want to allow normal user to start or stop DSL
>> connection?".
>>
>> I thank in advance everyone for any suggestion.
>>
>> G.
>>
>
> Weird. I have RH8.0 connected to ADSL (Bell Sympatico). I can run my
> connection as a normal user. What I can think of is: just verify you
> have correct permission for the necessary files. Perhaps some file is
> root rwx only, and after your initial startup, its permissions are being
> set for normals user as well, i.e. after the ppp script adjusts the
> relevant permissions after you first start it up as root.
>
> I know this is not a complete or direct answer, but see if this hint
> helps. I will let you know if I can think of something else.
>
> BTW, while creating my home network, I used the RH network GUI to set up
> my nics. That GUI changed some of the files', those related to
> networking, permissions by itself. Wonder if something strange like this
> has happened with you too.
>
> ->HS
>
FOA, thanks for answer.
Unfortunately, redhat-config-network in RH9 malfunctions (python scripts
give some unresolved) so I 've been forced to mount redhat-config-network*
utility version 1.3.1 to make it work. However, after 'adsl-start' script,
also RCN v1.3.1 gives error (see below):
----------------------------------------------------------------------------------------
Component: redhat-config-network
Version: 1.3.1
Summary: TB NCDevADSL.py:33:load:NameError: global name 'ConfDevice' is not
defined
Traceback (most recent call last):
File "/usr/sbin/redhat-config-network-gui", line 163, in main
window = mainDialog()
File
"/usr/src/build/273296-noarch/install/usr/share/redhat-config-network/netconfpkg/gui/maindialog.py",
line 214, in __init__
File
"/usr/src/build/273296-noarch/install/usr/share/redhat-config-network/netconfpkg/gui/maindialog.py",
line 243, in load
File
"/usr/src/build/273296-noarch/install/usr/share/redhat-config-network/netconfpkg/gui/maindialog.py",
line 250, in loadDevices
File
"/usr/src/build/273296-noarch/install/usr/share/redhat-config-network/netconfpkg/NCDeviceList.py",
line 312, in getDeviceList
File
"/usr/src/build/273296-noarch/install/usr/share/redhat-config-network/netconfpkg/NCDeviceList.py",
line 135, in load
File
"/usr/src/build/273296-noarch/install/usr/share/redhat-config-network/netconfpkg/plugins/NCDevADSL.py",
line 33, in load
NameError: global name 'ConfDevice' is not defined
Local variables in innermost frame:
self: Device.Type=xDSL
name: ppp0
----------------------------------------------------------------------------------------
May be, it no more finds some config file as it expected....
patience... Until RH 10 (in which I hope they won't mess so far!!), I modify
network config file manually under /etc/sysconfig/network*
In my next text, I intend also to set DEBUG=1 before invoking any script,
because I saw it will output a debug file on /tmp, and I will check
permissions.
Thank you for your kindness.
Gabo
-- === NO SPAM ALERT === If you desire to answer directly to me please post mail to "GgNOzappiSPAM(at)inwind(dot)it" (removing all the uppercase letters, including leading 'G'). Spam mail will be bombed !!
- Previous message: Michael Hart: "Re: VPN to W2k with PPTP over Linux firewall Problem"
- In reply to: H. S.: "Re: RH9: I need to start ADSL-START as root for the first time after boot ...."
- Next in thread: Gabolander: "Re: RH9: I need to start ADSL-START as root for the first time after boot ...."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|