Bug 103978

Summary: dls router connect via usb, is know, but yast2 don't know the kernel module
Product: [openSUSE] SUSE LINUX 10.0 Reporter: Dieter Bloms <dieter>
Component: InstallationAssignee: Greg Kroah-Hartman <gregkh>
Status: RESOLVED DUPLICATE QA Contact: Klaus Kämpf <kkaempf>
Severity: Normal    
Priority: P5 - None CC: mvidner, snwint
Version: Beta 1   
Target Milestone: ---   
Hardware: i586   
OS: All   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: output of dmesg
output of hwinfo --all
yast2 logs
output of getsysinfo

Description Dieter Bloms 2005-08-10 20:55:41 UTC
Hi,

I have connect the DSL Router "AVM FRITZ!Box Fon WLAN" via usb to my computer.
Yast2 saw this device, but says that this device don't need any driver (they may
be included in the kernel).
So yast2 doesn't load any module for this interface and can't determine the mac
address and writes the config file under
/etc/sysconfig/network/ifcfg-bus-usb-1-2:1.0, which was not found when booting
the system

from y2log:
--snip--
y2log:2005-08-10 19:54:27 <1> gateway(8535) [YCP] Lan.ycp:534
hw=$["active":false, "bus":"usb", "busid":"1-2:1.0", "drivers
":[], "hotplug":"usb", "link":nil, "mac":"", "module":"", "name":"AVM USB DSL
Device", "num":1, "options":"", "requires":[]
, "type":"usb", "unique":"cLrx.dyjIwAU2zY1", "wl_auth_modes":nil,
"wl_bitrates":nil, "wl_channels":nil, "wl_enc_modes":nil]
y2log:2005-08-10 19:54:27 <1> gateway(8535) [YCP] Lan.ycp:535 device=bus-usb-1-2:1.0
--snip--

If I load the driver usbnet befor calling yast2, then yast2 says it needs no
kernelmodul, but now yast2 can determine the mac address and writes the configs
in the right configfile /etc/sysconfig/network/ifcfg-usb-id-00:04:0e:4b:3b:1c

But after a reboot the interface can not be setup, because the driver usbnet
isn't loaded. After "modprobe usbnet; rcnetwork retsrat eth1" the interface is up.

So yast2 has to use the driver usbnet for this dsl router connected via usb.

I will add hwinfo, y2log and dmesg..
Comment 1 Dieter Bloms 2005-08-10 20:56:08 UTC
Created attachment 45613 [details]
output of dmesg
Comment 2 Dieter Bloms 2005-08-10 20:56:33 UTC
Created attachment 45615 [details]
output of hwinfo --all
Comment 3 Dieter Bloms 2005-08-10 20:56:58 UTC
Created attachment 45617 [details]
yast2 logs
Comment 4 Martin Vidner 2005-08-11 12:05:47 UTC
Hwinfo needs to tell yast to use usbnet for this piece of hardware.  
  
42: USB 00.0: 0291 USB Host-to-Host link  
  [Created at usb.122]  
  Unique ID: hSuP.dyjIwAU2zY1  
  Parent ID: pBe4.rwEG_qMx137  
  SysFS ID: /devices/pci0000:00/0000:00:10.0/usb2/2-2/2-2:1.0  
  SysFS BusID: 2-2:1.0  
  Hardware Class: network  
  Model: "AVM USB DSL Device"  
  Hotplug: USB  
  Vendor: usb 0x057c "AVM GmbH"  
  Device: usb 0x3d00 "USB DSL Device"  
  Revision: "1.00"  
  Driver: "usbnet"  
  Device File: eth1  
  Speed: 12 Mbps  
  HW Address: 00:04:0e:4b:3b:1c  
  Link detected: yes  
  Config Status: cfg=no, avail=yes, need=no, active=unknown  
  Attached to: #40 (Hub)  
 
I assume that the Driver item above comes from having manually loaded the 
module. Yast needs "Driver Info #0:" 
  
Comment 5 Steffen Winterfeldt 2005-08-12 13:03:54 UTC
please attach the result of 'getsysinfo' 
Comment 6 Dieter Bloms 2005-08-12 15:46:30 UTC
Created attachment 45937 [details]
output of getsysinfo

I've load the usbnet manually to get my internet connection.
If I should do it without manualy load usbnet, please let me know.
Comment 7 Christian Zoz 2005-08-22 10:55:39 UTC
Dieter, would you please have a look at bug 105621 and add the info requested by
Greg, that he may fix the drivers id table?
Comment 8 Steffen Winterfeldt 2005-08-24 14:23:53 UTC
looks like the usbnet driver needs updated modinfo data 
Comment 9 Greg Kroah-Hartman 2005-10-06 20:46:10 UTC

*** This bug has been marked as a duplicate of 105621 ***