Networking Forums

Networking Forums > Computer Networking > Linux Networking > RH9: I need to start ADSL-START as root for the first time after boot ....

Reply
Thread Tools Display Modes

RH9: I need to start ADSL-START as root for the first time after boot ....

 
 
Gabolander
Guest
Posts: n/a

 
      08-10-2003, 12:03 AM

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.

--
=== 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 !!
 
Reply With Quote
 
 
 
 
H. S.
Guest
Posts: n/a

 
      08-10-2003, 02:21 AM
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

--
---------------------- X ----------------------
Remove all underscores from my email address to get the correct one.
Apologies for the inconvenience, but this is to reduce spam.

 
Reply With Quote
 
Gabolander
Guest
Posts: n/a

 
      08-10-2003, 09:49 AM
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 !!
 
Reply With Quote
 
Gabolander
Guest
Posts: n/a

 
      08-13-2003, 09:52 AM
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

[skip]

i solved the problem. Simply, file
/etc/sysconfig/networking/device/ifcfg-ppp0 had not right permissions
(-rw------- instead of -rw-r--r--), so normal user's script couldn't read
it.
Thanks anyway.

G,



--
=== 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 !!
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
big time to start for a dc nicolas29 Windows Networking 9 11-23-2007 12:38 PM
Solution to have a persistent VPN start automatically on boot. Kevin Cotreau Windows Networking 1 07-27-2007 04:49 AM
how to start apache2 at boot time dongarbage@hotmail.com Linux Networking 2 10-15-2006 09:00 PM
dhcpd in rc script doesn't start, but it does start by hand j Linux Networking 3 06-08-2004 12:30 PM
Metronet start time PhilÅ Broadband 9 12-31-2003 04:12 PM



1 2 3 4 5 6 7 8 9 10 11