Bug 397966 - I can't configure a properly working DSL connection
Summary: I can't configure a properly working DSL connection
Status: RESOLVED FIXED
Alias: None
Product: openSUSE 11.0
Classification: openSUSE
Component: Network (show other bugs)
Version: RC 1
Hardware: x86 openSUSE 11.0
: P5 - None : Major with 5 votes (vote)
Target Milestone: ---
Assignee: Michal Zugec
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-06 14:54 UTC by Lanfranco Gandolfo
Modified: 2021-02-26 20:13 UTC (History)
2 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---
coolo: SHIP_STOPPER-


Attachments
yast2logs (1.14 MB, application/x-compressed-tar)
2008-06-06 14:57 UTC, Lanfranco Gandolfo
Details
Attachments as described above (349.32 KB, application/x-gzip)
2008-06-10 16:22 UTC, Lanfranco Gandolfo
Details
Info as requested. (180.81 KB, application/x-gzip)
2008-06-13 21:36 UTC, Lanfranco Gandolfo
Details
YaST2.tar.gz (2.84 MB, application/x-gzip)
2008-06-21 04:33 UTC, Lanfranco Gandolfo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lanfranco Gandolfo 2008-06-06 14:54:05 UTC
I was trying to configure a DSL connection (pppoe) with YaST. After doing that, I launched kinternet, but I got an error message, suggesting that maybe smpppd was not running. So I started smpppd manually.
Then I got a connection working at maybe 1% (I could get the Firefox home page, but not complete and not much more).

Please notice that I have reinstalled openSUSE 11.0 RC1 several times, and I have always the same problem.
Comment 1 Lanfranco Gandolfo 2008-06-06 14:57:49 UTC
Created attachment 220747 [details]
yast2logs
Comment 2 Michal Zugec 2008-06-10 09:37:09 UTC
It works perfectly for me.
Also from your yast log, it's configured perfectly.
And as you wrote, network "somehow" works. But :
>Unknown (PPPoE-style) DSL Device Detected

says that device is probably unknown for kernel. What is "hwinfo --dsl" output?
What device name is that?
Is there some warning/error in "dmesg" or "/var/log/messages" during dsl network failed?
Comment 3 Lanfranco Gandolfo 2008-06-10 16:15:50 UTC
YaST has always said that my DSL modem is unknown (Unknown (PPPoE-style) DSL Device Detected), but it has always worked nonetheless. I am working from 10.3 right now (my modem is a D-Link 302T).

hwinfo --dsl doesn't give any output.

However I am attaching: a snapshot of hardware information, PPP over Ethernet, the  "dmesg" output and a copy of "/var/log/messages".
Comment 4 Lanfranco Gandolfo 2008-06-10 16:22:29 UTC
Created attachment 221309 [details]
Attachments as described above
Comment 5 Lanfranco Gandolfo 2008-06-10 19:29:36 UTC
Info provided in above attachment
Comment 6 Michal Zugec 2008-06-13 14:58:44 UTC
Could you compare working and non-working configuration files? Under /etc/sysconfig/network/ifcfg-dsl0 and /etc/sysconfig/network/providers/* ?
Comment 7 Lanfranco Gandolfo 2008-06-13 21:36:27 UTC
Created attachment 222114 [details]
Info as requested.

Info as requested.
Comment 8 Lanfranco Gandolfo 2008-06-13 21:59:13 UTC
The folder "Working" relates to 10.3. The folder "Not-Working" relates to 11.0 before starting smpppd. The folder "Minimally-Working" refers to 11.0 after starting smpppd manually.
Comment 9 Michal Zugec 2008-06-16 11:26:09 UTC
This is probably dsl driver problem - configuration files are without difference
On 10.3 what is "hwinfo --dsl" output?
Comment 10 Ludwig Nussel 2008-06-16 11:58:49 UTC
Do you actually use your network interface for anything? It's configured for dhcp and gets an ip address assigned. The lease time for it is only 60 seconds though. So it gets renewed all the time. Maybe that disturbs the dsl connection. Also dhcpcd and pppd are fighting for the ownership of /etc/resolv.conf. Have you tried to configure your eth0 interface to a fixed static ip or to not configure any ip at all (the interface needs to be up though)?
Comment 11 Lanfranco Gandolfo 2008-06-16 20:45:38 UTC
Mr  Michal Zugec,

As I already told you, hwinfo --dsl doesn't give any output.
Comment 12 Lanfranco Gandolfo 2008-06-16 20:54:16 UTC
Mr Ludwig Nussel

Yes, of course I use my network interface (when it works) for surfing, mail, p2p...
Regarding everything else I have borrowed a router from a friend, which of course works.
However I can reinstall my modem if you want.
Comment 13 Lanfranco Gandolfo 2008-06-16 20:57:56 UTC
(In reply to comment #9 from Michal Zugec)
> This is probably dsl driver problem - configuration files are without
> difference
> On 10.3 what is "hwinfo --dsl" output?
> 

Sorry Mr Zugec, I misunderstood you. As I said to Mr Nussel, I am using a router now, but if you want I can reinstall my modem.
Comment 14 Ludwig Nussel 2008-06-17 08:18:06 UTC
We can't debug the problem if you don't actually use the modem of course. Please restore the setup with the dsl modem on 10.3 and run "hwinfo --dsl" and post the result. If that works reboot into 11.0 and also run "hwinfo --dsl" and attach the result.
If 11.0 can't dial in properly please configure the network interface eth0 to a static ip address and try again and let us know the result.
Comment 15 Lanfranco Gandolfo 2008-06-17 21:18:19 UTC
Mr Ludwig Nussel

I did as required. The following is the outcome:

OpenSUSE 10.3

hwinfo --dsl

pppoe.2: discovery

No output
-----------------------------------------
OpenSUSE 11.0 (updated to 17 June 2008

hwinfo --dsl

(very fast attempt to get info, I can't read it)


No output

---------------------------------------------------

Reconfigured DSL, pppoe, no other change

I still need to start smpppd manually, but the internet connection works fine now.
Comment 16 Lanfranco Gandolfo 2008-06-17 21:31:19 UTC
Sorry, of course I need to start kinternet manually as well.
Comment 17 Ludwig Nussel 2008-06-18 07:00:35 UTC
So the real bug is that smpppd was not started. Kinternet will start automatically only if smpppd is already running when you log into kde.
Comment 18 Lanfranco Gandolfo 2008-06-18 16:03:12 UTC
Mr Nussel

I wouldn't say that the "real bug is that smpppd was not started"
Rather, something has changed after a "zypper dist-upgrade", because as I explain in my original post, originally starting smpppd and kinternet was not enough.
Comment 19 Lanfranco Gandolfo 2008-06-19 01:24:20 UTC
I have installed 11.0 final, after formatting.
The only problem now seems that kinternet refuses to start until you start smpppd manually. However the connetion works! (working as root).
Comment 20 Lanfranco Gandolfo 2008-06-19 01:37:30 UTC
Working as user the situation is almost identical (the connection works).
But if you want to use kinternet you must start smpppd with root privileges, obviously).
Comment 21 Ludwig Nussel 2008-06-19 07:00:06 UTC
use the yast2 runlevel editor (or "chkconfig smpppd on") to enable smpppd at boot. YaST should have done that though.
Comment 22 Michal Zugec 2008-06-19 07:15:13 UTC
Test following code, please:
{
import "ISDN";
import "Wizard";
import "Popup";
include "network/runtime.ycp";

Wizard::CreateDialog();
ISDN::Read();

Popup::Message(sformat("Dialup interfaces :%1", HaveDialupLikeInterfaces()));

}

write it into /tmp/test.ycp and run as root "yast2 /tmp/test.ycp"
Comment 23 Lanfranco Gandolfo 2008-06-19 23:34:46 UTC
Mr  Ludwig Nussel,

I did what you suggested, thanks. However I haven't rebooted yet, but I suppose it will work.


Mr  Michal Zugec

I tested your code. YaST starts "Initializing ISDN Card Configuration" (AFAIK, I don't have one): dialup interfaces:true
Comment 24 Lanfranco Gandolfo 2008-06-19 23:40:45 UTC
Mr Nussel

I can confirm: I rebooted and kinternet started on its own, wow!
Comment 25 Michal Zugec 2008-06-20 08:13:46 UTC
Ok, one more test:
- disable smpppd by: "insserv -r smpppd"
- check with "chkconfig smpppd" (expected is "off")
- backup yast logfile "mv /var/log/YaST2/y2log /var/log/YaST2/y2log.old"
- start YaST, edit your DSL settings
- check service status again: "chkconfig smpppd" (expected is "on")
- in case that service status is "off", attach here /var/log/YaST2/y2log file

Thank you
Comment 26 Lanfranco Gandolfo 2008-06-21 04:33:35 UTC
Created attachment 223531 [details]
YaST2.tar.gz
Comment 27 Lanfranco Gandolfo 2008-06-21 04:37:21 UTC
Mr  Michal Zugec  

I did as you suggested. The last "chkconfig smpppd" check returned "off"
I am therefore attaching the entire /var/log/YaST2/ compressed folder.
Comment 28 Michal Zugec 2008-06-21 17:28:04 UTC
Oh, yes!
After long time problem detected
fixed in yast2-network-2.17.4
Thank you for participation, Lanfranco
Comment 29 Lanfranco Gandolfo 2008-06-21 17:38:04 UTC
Great!
You are very welcome. I am always glad to help my favourite distribution :)