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@my.isp.com' 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@csiro.au 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.