Hallo Leute,
ich bin mal wieder am verzweifeln.
Mein CAN Bus Board und mein Wlan Stick vertragen sich nicht.
Sobald ich das CAN Bus Board einstelle (Bit-timing, Baudrate)
verabschiedet sich mein Wlan Stick.
Das kann man gut unten am syslog sehen.
Das ganze passiert nur mit Wlan, wenn ich den PI am Lan habe wird die Verbindung nicht gekappt.
Um irgendwelche Stromversorgungsprobleme auszuschließen benutze ich ein Netzteil mit 5.25v und 2.5A
An den Tp1 und Tp2 liegt beim Betrieb eine Spannung von 5.1V an.
Somit würde ich ein Stromproblem ausschließen.
Das Netzwerkscript von Andreas lasse ich im Screen ständig laufen aber irgendwie hilft das auch nichts.
Apr 10 20:08:00 raspberrypi kernel: [ 67.971913] mcp251x spi0.0 can0: bit-timing not yet defined
Apr 10 20:08:00 raspberrypi kernel: [ 67.971958] mcp251x spi0.0: unable to set initial baudrate!
Apr 10 20:08:01 raspberrypi kernel: [ 68.973185] mcp251x spi0.0 can0: bit-timing not yet defined
Apr 10 20:08:01 raspberrypi kernel: [ 68.973228] mcp251x spi0.0: unable to set initial baudrate!
Apr 10 20:08:02 raspberrypi kernel: [ 69.974461] mcp251x spi0.0 can0: bit-timing not yet defined
Apr 10 20:08:02 raspberrypi kernel: [ 69.974508] mcp251x spi0.0: unable to set initial baudrate!
Apr 10 20:08:03 raspberrypi kernel: [ 70.975745] mcp251x spi0.0 can0: bit-timing not yet defined
Apr 10 20:08:03 raspberrypi kernel: [ 70.975788] mcp251x spi0.0: unable to set initial baudrate!
Apr 10 20:08:04 raspberrypi kernel: [ 71.977006] mcp251x spi0.0 can0: bit-timing not yet defined
Apr 10 20:08:04 raspberrypi kernel: [ 71.977050] mcp251x spi0.0: unable to set initial baudrate!
Apr 10 20:08:05 raspberrypi ifplugd(can0)[1809]: Link beat detected. # Hier sieht man dass das Board initalisiert wurde und sofort danach die Wlan Verbindung gekappt wird.
Apr 10 20:08:05 raspberrypi ifplugd(can0)[1809]: Executing '/etc/ifplugd/ifplugd.action can0 up'.
Apr 10 20:08:05 raspberrypi wpa_supplicant[1868]: wlan0: CTRL-EVENT-DISCONNECTED bssid=00:00:00:00:00:00 reason=0
Apr 10 20:08:05 raspberrypi ifplugd(wlan0)[1779]: Link beat lost.
Apr 10 20:08:05 raspberrypi ifplugd(can0)[1809]: client: OK
Apr 10 20:08:05 raspberrypi wpa_action: WPA_IFACE=wlan0 WPA_ACTION=DISCONNECTED
Apr 10 20:08:05 raspberrypi ifplugd(can0)[1809]: client: Ignoring unknown interface can0=can0.
Apr 10 20:08:05 raspberrypi wpa_action: WPA_ID=0 WPA_ID_STR= WPA_CTRL_DIR=/var/run/wpa_supplicant
Apr 10 20:08:05 raspberrypi wpa_action: ifdown wlan0 #genau hier
Apr 10 20:08:05 raspberrypi ifplugd(can0)[1809]: Program executed successfully.
Apr 10 20:08:05 raspberrypi dhclient: Internet Systems Consortium DHCP Client 4.2.2
Apr 10 20:08:05 raspberrypi dhclient: Copyright 2004-2011 Internet Systems Consortium.
Apr 10 20:08:05 raspberrypi dhclient: All rights reserved.
Apr 10 20:08:05 raspberrypi dhclient: For info, please visit https://www.isc.org/software/dhcp/
Apr 10 20:08:05 raspberrypi dhclient:
Apr 10 20:08:05 raspberrypi dhclient: Listening on LPF/wlan0/24:05:0f:36:57:47
Apr 10 20:08:05 raspberrypi dhclient: Sending on LPF/wlan0/24:05:0f:36:57:47
Apr 10 20:08:05 raspberrypi dhclient: Sending on Socket/fallback
Apr 10 20:08:05 raspberrypi dhclient: DHCPRELEASE on wlan0 to 192.168.178.1 port 67
Apr 10 20:08:06 raspberrypi ntpd[2458]: ntpd exiting on signal 15
Apr 10 20:08:08 raspberrypi ntpd[2632]: ntpd 4.2.6p5@1.2349-o Mon Feb 9 03:34:42 UTC 2015 (1)
Apr 10 20:08:08 raspberrypi ntpd[2633]: proto: precision = 1.000 usec
Apr 10 20:08:08 raspberrypi ntpd[2633]: Listen and drop on 0 v4wildcard 0.0.0.0 UDP 123
Apr 10 20:08:08 raspberrypi ntpd[2633]: Listen normally on 1 lo 127.0.0.1 UDP 123
Apr 10 20:08:08 raspberrypi ntpd[2633]: peers refreshed
Apr 10 20:08:08 raspberrypi ntpd[2633]: Listening on routing socket on fd #18 for interface updates
Apr 10 20:08:08 raspberrypi ntpd[2633]: restrict: error in address '::' on line 38. Ignoring...
Apr 10 20:08:08 raspberrypi ntpd[2633]: restrict: error in address '::1' on line 42. Ignoring...
Apr 10 20:08:08 raspberrypi ntpd[2633]: Deferring DNS for 0.debian.pool.ntp.org 1
Apr 10 20:08:09 raspberrypi ntpd[2633]: Deferring DNS for 1.debian.pool.ntp.org 1
Apr 10 20:08:09 raspberrypi ntpd[2633]: Deferring DNS for 2.debian.pool.ntp.org 1
Apr 10 20:08:09 raspberrypi ntpd[2633]: Deferring DNS for 3.debian.pool.ntp.org 1
Apr 10 20:08:09 raspberrypi ntpd[2640]: signal_no_reset: signal 17 had flags 4000000
Apr 10 20:08:05 raspberrypi wpa_action: ifdown wlan0
Apr 10 20:08:05 raspberrypi ifplugd(can0)[1809]: Program executed successfully.
Apr 10 20:08:05 raspberrypi dhclient: Internet Systems Consortium DHCP Client 4.2.2
Apr 10 20:08:05 raspberrypi dhclient: Copyright 2004-2011 Internet Systems Consortium.
Apr 10 20:08:05 raspberrypi dhclient: All rights reserved.
Apr 10 20:08:05 raspberrypi dhclient: For info, please visit https://www.isc.org/software/dhcp/
Apr 10 20:08:05 raspberrypi dhclient:
Apr 10 20:08:05 raspberrypi dhclient: Listening on LPF/wlan0/24:05:0f:36:57:47
Apr 10 20:08:05 raspberrypi dhclient: Sending on LPF/wlan0/24:05:0f:36:57:47
Apr 10 20:08:05 raspberrypi dhclient: Sending on Socket/fallback
Apr 10 20:08:05 raspberrypi dhclient: DHCPRELEASE on wlan0 to 192.168.178.1 port 67
Apr 10 20:08:06 raspberrypi ntpd[2458]: ntpd exiting on signal 15
Apr 10 20:08:08 raspberrypi ntpd[2632]: ntpd 4.2.6p5@1.2349-o Mon Feb 9 03:34:42 UTC 2015 (1)
Apr 10 20:08:08 raspberrypi ntpd[2633]: proto: precision = 1.000 usec
Apr 10 20:08:08 raspberrypi ntpd[2633]: Listen and drop on 0 v4wildcard 0.0.0.0 UDP 123
Apr 10 20:08:08 raspberrypi ntpd[2633]: Listen normally on 1 lo 127.0.0.1 UDP 123
Apr 10 20:08:08 raspberrypi ntpd[2633]: peers refreshed
Apr 10 20:08:08 raspberrypi ntpd[2633]: Listening on routing socket on fd #18 for interface updates
Apr 10 20:08:08 raspberrypi ntpd[2633]: restrict: error in address '::' on line 38. Ignoring...
Apr 10 20:08:08 raspberrypi ntpd[2633]: restrict: error in address '::1' on line 42. Ignoring...
Apr 10 20:08:08 raspberrypi ntpd[2633]: Deferring DNS for 0.debian.pool.ntp.org 1
Apr 10 20:08:09 raspberrypi ntpd[2633]: Deferring DNS for 1.debian.pool.ntp.org 1
Apr 10 20:08:09 raspberrypi ntpd[2633]: Deferring DNS for 2.debian.pool.ntp.org 1
Apr 10 20:08:09 raspberrypi ntpd[2633]: Deferring DNS for 3.debian.pool.ntp.org 1
Apr 10 20:08:09 raspberrypi ntpd[2640]: signal_no_reset: signal 17 had flags 4000000
Apr 10 20:08:09 raspberrypi wpa_action: removing sendsigs omission pidfile: /run/sendsigs.omit.d/wpasupplicant.wpa_supplicant.wlan0.pid
Apr 10 20:08:15 raspberrypi ifplugd(wlan0)[1779]: Executing '/etc/ifplugd/ifplugd.action wlan0 down'.
Apr 10 20:08:15 raspberrypi ifplugd(wlan0)[1779]: client: /sbin/ifdown: interface wlan0 not configured
Apr 10 20:08:15 raspberrypi ifplugd(wlan0)[1779]: Program executed successfully.
Apr 10 20:09:07 raspberrypi kernel: [ 134.737649] CheckPbcGPIO - PBC is pressed !!!!
Apr 10 20:09:17 raspberrypi kernel: [ 144.585329] smsc95xx 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0x4DE1
Alles anzeigen
Der Wlan Stick läuft ohne Probleme, sogar mehrere Wochen am Stück.
Wäre da nicht dieses eine Problem.=(
Edit: Ich hab vergessen zu erwähnen das der Wlan Stick nach dem initialisieren des Boards immer noch unter lsusb angezeigt wird.
Auszug von dmesg:
New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 3.533647] usb 1-1.2: Product: RTL8191S WLAN Adapter
[ 3.544730] usb 1-1.2: Manufacturer: Manufacturer Realtek
[ 3.552201] usb 1-1.2: SerialNumber: 00e04c000001
[ 4.222936] udevd[159]: starting version 175
[ 5.817672] r8712u: module is from the staging directory, the quality is unknown, you have been warned.
[ 5.955390] CAN device driver interface
[ 6.034078] r8712u: Staging version
[ 6.333719] r8712u: register rtl8712_netdev_ops to netdev_ops
[ 6.465558] usb 1-1.2: r8712u: USB_SPEED_HIGH with 4 endpoints
[ 6.682903] usb 1-1.2: r8712u: Boot from EFUSE: Autoload OK
[ 7.553075] random: nonblocking pool is initialized
[ 8.554968] usb 1-1.2: r8712u: CustomerID = 0x000a
[ 8.561655] usb 1-1.2: r8712u: MAC Address from efuse = 24:05:0f:36:57:47
[ 8.570379] usb 1-1.2: r8712u: Loading firmware from "rtlwifi/rtl8712u.bin"
[ 8.583607] usbcore: registered new interface driver r8712u
[ 11.638720] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[ 12.175424] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[ 23.625269] r8712u 1-1.2:1.0 wlan0: 1 RCR=0x153f00e
[ 23.626070] r8712u 1-1.2:1.0 wlan0: 2 RCR=0x553f00e
Alles anzeigen
Ich gehe davon aus das alles mit dem Wlan Stick O.K ist (Hardwareseitig)