After running adsl-setup and adsl-start the script connects to the ISP without problems. After a restart there is no possibility to bring up the connection again. adsl-start gives the message "TIMED OUT". When I run adsl-setup again, the default username for the adsl-connection is my username i gave in before. I have only to confirm everything and retype my password. then adsl-start makes a connection without errors. ...until the next restart.... Reproducible: Always Steps to Reproduce: 1.adsl-setup 2.adsl-start (connected) 3.[restarting the computer] 4.adsl-start (timed out) 5.adsl-setup 6.adsl-start (connected) Actual Results: see @ "Details" Expected Results: It should save my settings
did you tried to run adsl-stop followed by an adsl-start?
yes that works, but thats not the problem. i can teminate the connection and reconnect as often as i want to. ADSL works fine until a reboot. After rebooting it wont connect anymore and i have to rerun adsl-setup. thats forbits for example to bring the connection automatically up when the system starts.
I think you didn't understand. You should run adsl-stop after restarting your computer. adsl-* scripts are not services so the system will not automatically run adsl-stop at reboot/poweroff. btw, your settings are already saved; you don't need to re-launch adsl-setup.
oh okay... but that doesn't work as well... here the way I did (I replaced my ISP's username with "X"-es: bash-2.05b$ su Password: bash-2.05b# adsl-stop adsl-stop: No ADSL connection appears to be running bash-2.05b# adsl-start ................TIMED OUT /usr/sbin/adsl-start: line 196: 10443 Terminated $CONNECT <(echo "$CONFREAD") >/dev/null 2>&1 bash-2.05b# adsl-setup Welcome to the Roaring Penguin ADSL client setup. First, I will run some checks on your system to make sure the PPPoE client is installed properly... Looks good! Now, please enter some information: USER NAME >>> Enter your PPPoE user name (default XXXXXXXXXXXXXXXXXXXXXXXXX#0001@t-online.de): INTERFACE >>> Enter the Ethernet interface connected to the ADSL modem For Solaris, this is likely to be something like /dev/hme0. For Linux, it will be ethn, where 'n' is a number. (default eth0): Do you want the link to come up on demand, or stay up continuously? If you want it to come up on demand, enter the idle time in seconds after which the link should be dropped. If you want the link to stay up permanently, enter 'no' (two letters, lower-case.) NOTE: Demand-activated links do not interact well with dynamic IP addresses. You may have some problems with demand-activated links. >>> Enter the demand value (default no): DNS Please enter the IP address of your ISP's primary DNS server. If your ISP claims that 'the server will provide DNS addresses', enter 'server' (all lower-case) here. If you just press enter, I will assume you know what you are doing and not modify your DNS setup. >>> Enter the DNS information here: server PASSWORD >>> Please enter your PPPoE password: >>> Please re-enter your PPPoE password: FIREWALLING Please choose the firewall rules to use. Note that these rules are very basic. You are strongly encouraged to use a more sophisticated firewall setup; however, these will provide basic security. If you are running any servers on your machine, you must choose 'NONE' and set up firewalling yourself. Otherwise, the firewall rules will deny access to all standard servers like Web, e-mail, ftp, etc. If you are using SSH, the rules will block outgoing SSH connections which allocate a privileged source port. The firewall choices are: 0 - NONE: This script will not set any firewall rules. You are responsible for ensuring the security of your machine. You are STRONGLY recommended to use some kind of firewall rules. 1 - STANDALONE: Appropriate for a basic stand-alone web-surfing workstation 2 - MASQUERADE: Appropriate for a machine acting as an Internet gateway for a LAN >>> Choose a type of firewall (0-2): 0 ** Summary of what you entered ** Ethernet Interface: eth0 User name: XXXXXXXXXXXXXXXXXXXXXXXX#0001@t-online.de Activate-on-demand: No DNS addresses: Supplied by ISP's server Firewalling: NONE >>> Accept these settings and adjust configuration files (y/n)? y Adjusting /etc/ppp/pppoe.conf Adjusting /etc/ppp/pap-secrets and /etc/ppp/chap-secrets (But first backing it up to /etc/ppp/pap-secrets-bak) (But first backing it up to /etc/ppp/chap-secrets-bak) Congratulations, it should be all set up! Type 'adsl-start' to bring up your ADSL link and 'adsl-stop' to bring it down. Type 'adsl-status' to see the link status. bash-2.05b# adsl-start . Connected! bash-2.05b#
hmm.. this is strange what does the adsl-status command return in such conditions? I'm interested in both output and return code.
Created attachment 56606 [details, diff] adsl-start.patch Apply attached patch and tell me if it solved the problem
well, did it worked?
at this moment i'm abot 700km away from my computer. I'll be back on Saturday. Then I'll try to use your patch. :)
just a reminder: I am waiting the results also, I see there is a /etc/init.d/rp-pppoe script. maybe it is best to use it.
the reporter has vanished
Hi! Ive exactly the same problem. there is no new situation using that patch. What shal i do?
maybe you should consider that adsl-* scripts aren't services per se. use /etc/init.d/rp-pppoe if you want connection automatically closed when computer shuts down
Oh yes I know. I tried to set up a ADSL-connection at startup - there is used /etc/init.d/rp-pppoe . isnt it? but the connection was terminated by time-out too, because it seems to not know the username/password-settings. Maybe i have to load the password/username into memory manually before bringing up a connection? Anyway - ive no idea how to do this :)
use adsl-setup. anyway, bugs.gentoo.org isn't the right place for this kind of help. you should use forums.gentoo.org.
I know how to use adsl-setup! im forced to use it always before bringing up a connection. please read the story, the user "Emilio" wrote! So i do not beleve that this is my fault and im not the only one who has this problem with this issue. Please fix that bug. Thaks.