Page 1 of 2 12 LastLast
Results 1 to 10 of 17

Thread: How to keep Internet/ADSL settings after HD-Install.....

  1. #1
    Junior Member registered user
    Join Date
    Oct 2004
    Posts
    19

    How to keep Internet/ADSL settings after HD-Install.....

    hello.

    after installing Knoppix to Harddisk and setting up the NIC and the ADSL/PPPOE Configuration i was able to connect to the internet.

    But when i restart my PC it seems that he didnt kept the ADSL/PPPOE Config.

    I tried to start my connection with "pon dsl-provider" and it said:
    Code:
    Plugin rp-pppoe.so loaded.
    RP-PPPoE plugin version 3.3 compiled against pppd 2.4.2
    Then i tried to browse to the Forums here, but it couldn't open any site. I tried to close down the existing connection with "poff -a" and it said:
    Code:
    No pppd is running.  None stopped.
    So i always have to do the ADSL/PPPOE Configuration again after a reboot, else i cant login to the internet.

    What to do, to keep all the settings from ADSL/PPPOE Config?

  2. #2
    Senior Member registered user
    Join Date
    Jun 2004
    Posts
    788
    Okay lets try this :
    1) run netcardconfig
    2) run pppoe config
    3) run: update-rc.d ppp defaults (in root konsole)
    4) reboot

    I hope this will work.

  3. #3
    Junior Member registered user
    Join Date
    Oct 2004
    Posts
    19
    it worked so far, that it did something after typing in the stuff you recommended me.

    nevertheless its not recognized after a reboot and it's the same like before...


    my "ppp-config" looks like this:



    Code:
    #!/bin/sh -e
    #
    #   /etc/init.d/ppp: start or stop PPP link.
    #
    # This configuration method is deprecated, please use /etc/network/interfaces.
    
    [ -x /usr/sbin/pppd -a -f /etc/ppp/ppp_on_boot ] || exit 0
    if [ -x /etc/ppp/ppp_on_boot ]; then RUNFILE=1; fi
    
    case "$1" in
      start)
          echo -n "Starting up PPP link: pppd"
          if [ "$RUNFILE" = "1" ]; then
            /etc/ppp/ppp_on_boot
          else
            pppd call provider
          fi
          echo "."
        ;;
      stop)
          echo -n "Shutting down PPP link: pppd"
          if [ "$RUNFILE" = "1" ]; then
            poff -a
          else
            poff provider
          fi
          echo "."
        ;;
      restart|force-reload)
        echo -n "Restarting PPP link: pppd"
        if [ "$RUNFILE" = "1" ]; then      
          poff -a
          sleep 5
          /etc/ppp/ppp_on_boot
        else                  
          poff provider
          sleep 5
          pppd call provider
        fi
        echo "."
        ;;
      *)
          echo "Usage: /etc/init.d/ppp {start|stop|restart|force-reload}"
          exit 1
        ;;
    esac
    
    exit 0

  4. #4
    Senior Member registered user
    Join Date
    Jun 2004
    Posts
    788
    Check in /etc/ppp/peers/
    See if dsl-provider exist.


  5. #5
    Junior Member registered user
    Join Date
    Oct 2004
    Posts
    19
    shah, it exist there and looks like this:

    Code:
    # Configuration file for PPP, using PPP over Ethernet 
    # to connect to a DSL provider.
    #
    # See the manual page pppd(8) for information on all the options.
    
    ##
    # Section 1
    #
    # Stuff to configure...
    
    # MUST CHANGE: Uncomment the following line, replacing the [email protected]
    # by the DSL user name given to your by your DSL provider.
    # (There should be a matching entry in /etc/ppp/pap-secrets with the password.)
    #user [email protected]
    
    # Use the pppoe program to send the ppp packets over the Ethernet link
    # This line should work fine if this computer is the only one accessing
    # the Internet through this DSL connection. This is the right line to use
    # for most people.
    #pty "/usr/sbin/pppoe -I eth0 -T 80 -m 1452"
    
    # An even more conservative version of the previous line, if things
    # don't work using -m 1452... 
    #pty "/usr/sbin/pppoe -I eth0 -T 80 -m 1412"
    
    # If the computer connected to the Internet using pppoe is not being used
    # by other computers as a gateway to the Internet, you can try the following
    # line instead, for a small gain in speed:
    #pty "/usr/sbin/pppoe -I eth0 -T 80"
    
    
    # The following two options should work fine for most DSL users.
    
    # Assumes that your IP address is allocated dynamically
    # by your DSL provider...
    noipdefault
    # Try to get the name server addresses from the ISP.
    usepeerdns
    # Use this connection as the default route.
    # Comment out if you already have the correct default route installed.
    defaultroute
    
    ##
    # Section 2
    #
    # Uncomment if your DSL provider charges by minute connected
    # and you want to use demand-dialing. 
    #
    # Disconnect after 300 seconds (5 minutes) of idle time.
    
    #demand
    #idle 300
    
    ##
    # Section 3
    #
    # You shouldn't need to change these options...
    
    hide-password
    lcp-echo-interval 20
    lcp-echo-failure 3
    # Override any connect script that may have been set in /etc/ppp/options.
    connect /bin/true
    noauth
    persist
    mtu 1492
    
    # RFC 2516, paragraph 7 mandates that the following options MUST NOT be
    # requested and MUST be rejected if requested by the peer:
    # Address-and-Control-Field-Compression (ACFC)
    noaccomp
    # Asynchronous-Control-Character-Map (ACCM)
    default-asyncmap
    
    plugin rp-pppoe.so eth0

    should i maybe edit the line "user" with my DSL username?

  6. #6
    Senior Member registered user
    Join Date
    Jun 2004
    Posts
    788
    It looks like your pppoe hasn't been set or unable to save.
    See there is no line about user name (login name to your ISP).

    This is mine, for you to compare:
    EX:

    pty "/usr/sbin/pppoe -I eth0 -T 80 -m 1452"
    noipdefault
    defaultroute
    hide-password
    lcp-echo-interval 60
    lcp-echo-failure 3
    persist
    #demand
    connect /bin/true
    noauth
    mtu 1492
    user "xxxxxxxxx@yyyyyy"
    usepeerdns

    Also check for /etc/ppp/pap-secrets and chap-secrets for matching username and password.

  7. #7
    Junior Member registered user
    Join Date
    Oct 2004
    Posts
    19
    ok, i saw the user line in my dsl-provider-config.
    it was just a few lines down at the end.

    now i took a look at /etc/ppp/pap-secrets and there is the matching user name and password.



    aha, but now i found a error in chap-secrets.

    there is a not finished username in the first row.
    i delete that now, save it, reboot Linux and then i see whats the deal...

  8. #8
    Junior Member registered user
    Join Date
    Oct 2004
    Posts
    19
    still doesnt work...


  9. #9
    Senior Member registered user
    Join Date
    Jun 2004
    Posts
    788
    This is my last resort, don't know if it will work, but trying doesn't hurt.
    Try kanotix script for setting up pppoe:
    http://kanotix.com/files/my-pppoeconf.bash
    The run in root konsole: my-pppoeconf.bash

    Or just get the latest kanotix:
    http://kanotix.com/info/index.php



    Good Luck

  10. #10
    Junior Member registered user
    Join Date
    Oct 2004
    Posts
    19
    hmmm, it didnt worked.

    i guess, i try this Kanotix then...

    thx for the help anyway, shah.




Page 1 of 2 12 LastLast

Similar Threads

  1. After HDD install, can not access internet through ADSL ?
    By markuk in forum Hdd Install / Debian / Apt
    Replies: 5
    Last Post: 01-16-2006, 03:27 PM
  2. How do I connect to the internet - ADSL?
    By Styfir in forum Hardware & Booting
    Replies: 8
    Last Post: 10-28-2005, 12:20 AM
  3. internet settings?
    By admart35 in forum General Support
    Replies: 4
    Last Post: 09-06-2005, 09:42 AM
  4. Connecting to the Internet via USB ADSL modem (again...)
    By HornyToad in forum General Support
    Replies: 2
    Last Post: 08-26-2005, 09:40 PM
  5. ADSL internet connection
    By metallica22 in forum Networking
    Replies: 6
    Last Post: 07-22-2005, 06:08 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


MTC8C1084S1SC56BD1 Micron 16GB DDR5 1Rx8 PC5-5600B 5600Mhz SO-DIMM Memory picture

MTC8C1084S1SC56BD1 Micron 16GB DDR5 1Rx8 PC5-5600B 5600Mhz SO-DIMM Memory

$149.99



Netac DDR4 32GB 16GB DDR4 3200MHz UDIMM C16 Desktop Internal Memory RAM Kit picture

Netac DDR4 32GB 16GB DDR4 3200MHz UDIMM C16 Desktop Internal Memory RAM Kit

$99.99



16GB KIT (2x8GB) DDR3 Gamer Desktop RAM PC3 MIXED BRANDS VIPER VENGEANCE FURY picture

16GB KIT (2x8GB) DDR3 Gamer Desktop RAM PC3 MIXED BRANDS VIPER VENGEANCE FURY

$10.00



A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G picture

A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G

$21.68



Major Brand 16GB (2x8GB) PC3-12800U DDR3-1600MHz DDR3-12800 DESKTOP RAM NON-ECC picture

Major Brand 16GB (2x8GB) PC3-12800U DDR3-1600MHz DDR3-12800 DESKTOP RAM NON-ECC

$29.99



DDR4 Laptop RAM 4GB 8GB 16GB 32GB 2400 2666 3200 Samsung Hynix picture

DDR4 Laptop RAM 4GB 8GB 16GB 32GB 2400 2666 3200 Samsung Hynix

$66.00



G.SKILL FLARE X5 64GB (2 x 32GB) 6000 MT/s DDR5 (AMD EXPO + INTEL XMP) *CL30* picture

G.SKILL FLARE X5 64GB (2 x 32GB) 6000 MT/s DDR5 (AMD EXPO + INTEL XMP) *CL30*

$785.00



Samsung 16GB LPCAMM2 PC5 7500 DDR5 LPDDR5X CAMM2 M561K1LC4DM0-CCTGM RAM Memory picture

Samsung 16GB LPCAMM2 PC5 7500 DDR5 LPDDR5X CAMM2 M561K1LC4DM0-CCTGM RAM Memory

$189.00



Corsair Vengeance LPX DDR4 SDRAM DIMM 288-Pin Desktop RAM 2 Modules picture

Corsair Vengeance LPX DDR4 SDRAM DIMM 288-Pin Desktop RAM 2 Modules

$30.00



Micron 32GB 1x32GB DDR5 5600 CL46 ECC Unbuffered SO-DIMM MTC20C2085S1TC56BD1 picture

Micron 32GB 1x32GB DDR5 5600 CL46 ECC Unbuffered SO-DIMM MTC20C2085S1TC56BD1

$399.00