Re: [SLE]: dsl connection



On Sunday 06 August 2006 18:57, tyche wrote:
I need my dsl to come on at boot up and stay on.
How is this done. new to suse, from fedora.

SuSE is different here, it's quite good though.
The network connection is controlled by SMPPPd
not Roaring Penguin pppoe like RedHat.

You should get a little applet "kinternet"
to control it, dial in, hangup, look at data rates etc.
This can be set up to work from any computer on your intranet
not just the one with the pppoe connection.
"kinternet" and the command line equivalent "cinternet"
are set up with "/etc/smpppd-c.conf" and "/etc/smpppd.conf"


You can set up DSL fairly intuitively using
YaST2 : Network Devices : DSL

However the files created
are more set up for on-demand connection.
Here are my connection settings:

root> cat /etc/sysconfig/network/ifcfg-dsl0
BOOTPROTO='none'
DEVICE='eth-id-00:11:2f:ed:c3:7b'
MODEM_IP='10.0.0.138'
NAME='DSL Connection'
PPPD_OPTIONS=''
PPPMODE='pppoe'
PROVIDER='provider0'
STARTMODE='auto'
UNIQUE='uniquestring'
USERCONTROL='yes'
VPIVCI=''

The key thing here is STARTMODE='auto'
or its synonym STARTMODE='onboot'

Leave USERCONTROL='yes'
I can't get the connection to work at all set to no.


Here's the file referenced by PROVIDER='provider0'
root> cat /etc/sysconfig/network/providers/provider0
ASKPASSWORD='no'
AUTODNS='no'
AUTO_RECONNECT='no'
AUTO_RECONNECT_DELAY='30'
AUTO_RECONNECT_EXITS='20'
DEMAND='no'
DSLSUPPORTED='yes'
IDLETIME='0'
ISDNSUPPORTED='no'
MODEMSUPPORTED='no'
MODIFYDNS='no'
PASSWORD='blank'
PHONE=''
PROVIDER='MyISP'
USERNAME='me@xxxxxxxxxx'


As you can see I tried messing with AUTO_RECONNECT
but ended up setting it back to 'no'.
I found the SMPPPd AUTO_RECONNECT
interfered with pppd's "persist" option.

PPPd is controlled by...
cat /etc/ppp/options
# /etc/ppp/options
#
# Not every option is listed here, see man pppd for more details.
# This file is read by the pppd, it is an error when it is not present.
#
<snip heaps of mostly irrelevant stuff>

# Specifies that pppd should disconnect
# if the link is idle for n seconds.
# 0 means no disconnect
idle 0

# Added by michaelj 2005-10-18 to keep the thing on the net.
persist

# Wait 30 seconds before trying to re-connect.
holdoff 30

# Specifies the maximal number
# of attempts to connect to the server.
# This is useful for dial on demand.
# Default value is 10. 0 means keep trying.
maxfail 0

<snip more even more irrelevant stuff>


If you can't seem to get connected,
the log is in /var/log/smpppd/ifcfg-dsl0.log
There is a debug parameter in /etc/ppp/options
if you want more info.


Hope this helps, enjoy SuSE,
michaelj


--
Michael James michael.james@xxxxxxxx
System Administrator voice: 02 6246 5040
CSIRO Bioinformatics Facility fax: 02 6246 5166

No matter how much you pay for software,
you always get less than you hoped.
Unless you pay nothing, then you get more.

--
Check the headers for your unsubscription address
For additional commands send e-mail to suse-linux-e-help@xxxxxxxx
Also check the archives at http://lists.suse.com
Please read the FAQs: suse-linux-e-faq@xxxxxxxx



Relevant Pages

  • Re: [SLE] Setting up DSL on SUSE 10.1
    ... I won't faint at command line. ... SUSE or Mepis and the non computer oriented PCLinuxOS. ... In some OS's such as MS's the network will be confiured and on. ... on the DSL connection? ...
    (SuSE)
  • Re: no browser when connected?
    ... > Just configed dialup connection in SuSE 8.1pro. ... Tried several configs w/ no results. ... > pppd: Using interface ppp0 ... I don't use SuSE, so I am not sure about the exact config files ...
    (comp.os.linux.networking)
  • Re: Executing a Script every hour
    ... > to access the network. ... It terminates the connection after 60 seconds ... for pppd for examples on how to manually have pppd call out? ...
    (Debian-User)
  • Fritz AVM T-DSL Card doesnt work with 9.0 anymore
    ... a few days ago I installed Suse 9.0 in parallel to my Suse 8.1 on the same ... SuSE Meta pppd, Version 1.06 on frodo. ... pppd: capiplugin: phase serialconn. ... Starting connection. ...
    (alt.os.linux.suse)
  • [SLE] Setting Up DSL Connection (BellSouth)
    ... I got the BellSouth DSL service I mentioned previously. ... SUSE 8.0 Pro. ... Starting connection. ... pppd: PPPoE Plugin Initialized ...
    (SuSE)