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

  • Next message: Dan Evans: "Re: IPChains"
    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 !!
    

  • Next message: Dan Evans: "Re: IPChains"

    Relevant Pages

    • Re: RH9: I need to start ADSL-START as root for the first time after boot ....
      ... > After connecting as root, I also may disconnect and run the program as ... > normal user and it successfully connect so far. ... relevant permissions after you first start it up as root. ... BTW, while creating my home network, I used the RH network GUI to set up ...
      (comp.os.linux.networking)
    • RE: Need Help : Out of memory
      ... NT server and user access it thru the network. ... it to another win2K server and then, a normal user is running one of the ... I can't assign the user the admin right for this network drive. ... it is usually due to permissions. ...
      (microsoft.public.win2000.general)
    • Re: NFS help requested please --- FIXED.
      ... Its actually a permissions problem on the shares that is stopping ... I can access shares as root but not as a normal user. ... > I would think that nfs permissions in the exports file would over ride any ...
      (comp.os.linux.setup)
    • Re: USB memory problem
      ... mounts it and then appears the file navigator. ... Are you just a normal user, or is tihs a desktop machine on which you ... and hence you don't have permissions to read/write. ...
      (Ubuntu)
    • Re: SUN Solaris User
      ... probably just create him a normal user account, ... normal rights of a normal User along with Network Management Rights. ... > Subject: SUN Solaris User ...
      (Focus-SUN)