Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Pap-secrets file in Ubuntu 8.04

  • 15-05-2008 1:15pm
    #1
    Closed Accounts Posts: 1,377 ✭✭✭


    Hi,
    I'm dialing up using Gnome-PPP from a USB Huawei E220 wireless modem. It has worked on Linux before but I did a fresh install and I'm getting this error (from the connection log in Gnome-PPP):
    cannot modify /etc/paps-secret
    (then some comment about flaky Password)

    cannot modify /etc/chap-secret
    (then some comment about flaky Handshake)

    I brought the readout to work with me on a thumb drive but this work-PC can't read it (so this is the gist of the problem).

    Has it got anything to do with the ISP or is it something to do with User Access Control being set by Network Manager in Ubuntu?

    Have had some "unable to resolve host" problems but I think they're sorted now.

    The username and password for the ISP (three.co.uk) are both supposed to be blank.




    .


Comments

  • Registered Users, Registered Users 2 Posts: 7,948 ✭✭✭corkie


    #
    # /etc/ppp/pap-secrets
    #
    # This is a pap-secrets file to be used with the AUTO_PPP function of
    # mgetty. mgetty-0.99 is preconfigured to startup pppd with the login option
    # which will cause pppd to consult /etc/passwd (and /etc/shadow in turn)
    # after a user has passed this file. Don't be disturbed therefore by the fact
    # that this file defines logins with any password for users. /etc/passwd
    # (again, /etc/shadow, too) will catch passwd mismatches.
    #
    # This file should block ALL users that should not be able to do AUTO_PPP.
    # AUTO_PPP bypasses the usual login program so it's necessary to list all
    # system userids with regular passwords here.
    #
    # ATTENTION: The definitions here can allow users to login without a
    # password if you don't use the login option of pppd! The mgetty Debian
    # package already provides this option; make sure you don't change that.
    
    # INBOUND connections
    
    # Every regular user can use PPP and has to use passwords from /etc/passwd
    *	hostname	""	*
    
    # UserIDs that cannot use PPP at all. Check your /etc/passwd and add any
    # other accounts that should not be able to use pppd!
    guest	hostname	"*"	-
    master	hostname	"*"	-
    root	hostname	"*"	-
    support	hostname	"*"	-
    stats	hostname	"*"	-
    
    # OUTBOUND connections
    
    # Here you should add your userid password to connect to your providers via
    # PAP. The * means that the password is to be used for ANY host you connect
    # to. Thus you do not have to worry about the foreign machine name. Just
    # replace password with your password.
    # If you have different providers with different passwords then you better
    # remove the following line.
    
    #	*	password
    
    
    "none" * "none"
    
    #
    # /etc/ppp/chap-secrets
    # 
    # Secrets for authentication using CHAP
    # client	server	secret			IP addresses
    
    
    "none" * "none"
    

    The below is in my signature
    | eXudos/Bluesky Boards Thread | My Main account: - corkiejp.bsky.social ~ Alt: - corkiejp.github.io |



  • Closed Accounts Posts: 1,377 ✭✭✭An Fear Aniar


    Hi Corkie,

    I'll try that when I get home, thanks.

    Just one question, where do I copy and paste it in the files? Do I tag it onto the end or at the beginning or does it matter?

    Or do I just replace everything in them what what you've got there?


    .


  • Registered Users, Registered Users 2 Posts: 7,948 ✭✭✭corkie


    sorry ment to add some text to my post. there the complete contents of my files. if having "none" as the username and password try justing having double quates.

    you could also try using the vodaphone mobile connect e220 driver for linux.

    Works with O2 and should work with 3 as well.

    J.

    The below is in my signature
    | eXudos/Bluesky Boards Thread | My Main account: - corkiejp.bsky.social ~ Alt: - corkiejp.github.io |



Advertisement