Forum
W-lan - driver update don´t work - Printable Version

+- Forum (http://forum.xbian.org)
+-- Forum: Hardware (/forum-7.html)
+--- Forum: Network (/forum-25.html)
+--- Thread: W-lan - driver update don´t work (/thread-2346.html)



W-lan - driver update don´t work - Kamelkaze - 14th Jun, 2014 12:23 AM

Hello guys,

i have a digitus dn 7042-1 which don´t work out of the box. Beware, i´m a newbie with Linux. Tongue
I followed the instruction in this thread (sorry it is german, but don´t find any other fix):
http://www.forum-raspberrypi.de/Thread-digitus-dn-7042-1-funktioniert-nicht?pid=59904#pid59904
I followed the steps and until i try this with root access:
Quote: sudo cp DPO_MT7601U_LinuxSTA_3.0.0.4_20130913.tar.bz2 /root

i get this message:
cp: cannot stat ´ sudo cp DPO_MT7601U_LinuxSTA_3.0.0.4_20130913.tar.bz2 /root ' : No such file or directory

No /root folder out there or is it a wrong path? In WinSCP i don´t see a root folder...

What did i wrong? Sad

Best regards


RE: W-lan - driver update don´t work - IriDium - 14th Jun, 2014 04:52 AM

/root exists. Do sudo -i (You are now root) then do pwd (It should show /root)

Are you sure you downloaded the file? in 2) of kingflo99 thread?

Are you in the directory you downloaded to?

Do sudo find / |grep DPO - that will show the location of the file.

What is the output of:

sudo modprobe -v rt2800usb
lsmod | grep rt2

Can you post the output of dmesg via pastebin - as you may not need to recompile the kernel.


RE: W-lan - driver update don´t work - Kamelkaze - 14th Jun, 2014 08:58 PM

It show /root

Yes i downloaded the file. It is in the directory:
/home/xbian/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913.tar.bz2

root@xbian:~# sudo modprobe -v rt2800usb
insmod /lib/modules/3.12.7+/kernel/drivers/leds/led-class.ko
insmod /lib/modules/3.12.7+/kernel/net/rfkill/rfkill.ko
insmod /lib/modules/3.12.7+/kernel/lib/crc-ccitt.ko
insmod /lib/modules/3.12.7+/kernel/net/wireless/cfg80211.ko
insmod /lib/modules/3.12.7+/kernel/net/mac80211/mac80211.ko
insmod /lib/modules/3.12.7+/kernel/drivers/net/wireless/rt2x00/rt2x00lib.ko
insmod /lib/modules/3.12.7+/kernel/drivers/net/wireless/rt2x00/rt2x00usb.ko
insmod /lib/modules/3.12.7+/kernel/drivers/net/wireless/rt2x00/rt2800lib.ko
insmod /lib/modules/3.12.7+/kernel/drivers/net/wireless/rt2x00/rt2800usb.ko


root@xbian:~# lsmod |grep rt2
rt2800usb 14581 0
rt2800lib 68680 1 rt2800usb
rt2x00usb 6316 1 rt2800usb
rt2x00lib 27600 3 rt2x00usb,rt2800lib,rt2800usb
mac80211 248380 3 rt2x00lib,rt2x00usb,rt2800lib
cfg80211 147744 2 mac80211,rt2x00lib
crc_ccitt 972 1 rt2800lib
led_class 2208 1 rt2x00lib




root@xbian:~# dmesg
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 3.12.7+ (root@media) (gcc version 4.8.1 (Ubuntu/Linaro 4.8.1-10ubuntu7) ) #5 Sun Jan 19 19:08:40 CET 2014
[ 0.000000] CPU: ARMv6-compatible processor [410fb767] revision 7 (ARMv7), cr=00c5387d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
[ 0.000000] Machine: BCM2708
[ 0.000000] Memory policy: ECC disabled, Data cache writeback
[ 0.000000] On node 0 totalpages: 98304
[ 0.000000] free_area_init_node: node 0, pgdat c05a7e90, node_mem_map c05e7000
[ 0.000000] Normal zone: 768 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 98304 pages, LIFO batch:31
[ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[ 0.000000] pcpu-alloc: [0] 0
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 97536
[ 0.000000] Kernel command line: dma.dmachans=0x7f35 bcm2708_fb.fbwidth=656 bcm2708_fb.fbheight=416 bcm2708.boardrev=0xe bcm2708.serial=0x103ecbe7 smsc95xx.macaddr=B8:27:EB:3E:CB:E7 sdhci-bcm2708.emmc_clock_freq=100000000 vc_mem.mem_base=0x1ec00000 vc_mem.mem_size=0x20000000 telnet zswap.enabled=1 zswap.compressor=lz4 sdhci-bcm2708.sync_after_dma=0 dwc_otg.lpm_enable=0 console=tty1 root=/dev/mmcblk0p2 rootflags=subvol=root/@,thread_pool=2,autodefrag,compress=lzo,commit=120 rootfstype=btrfs rootwait smsc95xx.turbo_mode=N elevator=cfq logo.nologo quiet noswap loglevel=0 mod_scsi.scan=sync partswap startevent=mountall splash nohdparm --startup-event mountall
[ 0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 0.000000] allocated 786432 bytes of page_cgroup
[ 0.000000] please try 'cgroup_disable=memory' option if you don't want memory cgroups
[ 0.000000] Memory: 382876K/393216K available (4715K kernel code, 230K rwdata, 696K rodata, 133K init, 229K bss, 10340K reserved)
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
[ 0.000000] vmalloc : 0xd8800000 - 0xff000000 ( 616 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xd8000000 ( 384 MB)
[ 0.000000] modules : 0xbf000000 - 0xc0000000 ( 16 MB)
[ 0.000000] .text : 0xc0008000 - 0xc0550e7c (5412 kB)
[ 0.000000] .init : 0xc0551000 - 0xc0572664 ( 134 kB)
[ 0.000000] .data : 0xc0574000 - 0xc05adaa0 ( 231 kB)
[ 0.000000] .bss : 0xc05adaa0 - 0xc05e6f58 ( 230 kB)
[ 0.000000] NR_IRQS:330
[ 0.000000] sched_clock: 32 bits at 1000kHz, resolution 1000ns, wraps every 4294967ms
[ 0.000000] Switching to timer-based delay loop
[ 0.000000] Console: colour dummy device 80x30
[ 0.000000] console [tty1] enabled
[ 0.000539] Calibrating delay loop (skipped), value calculated using timer frequency.. 2.00 BogoMIPS (lpj=1000)
[ 0.000557] pid_max: default: 32768 minimum: 301
[ 0.000712] Mount-cache hash table entries: 512
[ 0.001395] Initializing cgroup subsys memory
[ 0.001477] Initializing cgroup subsys blkio
[ 0.001521] CPU: Testing write buffer coherency: ok
[ 0.001867] Setting up static identity map for 0xc047d550 - 0xc047d588
[ 0.004353] devtmpfs: initialized
[ 0.014855] VFP support v0.3: implementor 41 architecture 1 part 20 variant b rev 5
[ 0.015129] xor: measuring software checksum speed
[ 0.024315] arm4regs : 1164.000 MB/sec
[ 0.034348] 8regs : 564.000 MB/sec
[ 0.044382] 32regs : 552.000 MB/sec
[ 0.044393] xor: using function: arm4regs (1164.000 MB/sec)
[ 0.044663] NET: Registered protocol family 16
[ 0.049578] DMA: preallocated 4096 KiB pool for atomic coherent allocations
[ 0.050820] bcm2708.uart_clock = 0
[ 0.052178] hw-breakpoint: found 6 breakpoint and 1 watchpoint registers.
[ 0.052192] hw-breakpoint: maximum watchpoint size is 4 bytes.
[ 0.052202] mailbox: Broadcom VideoCore Mailbox driver
[ 0.052266] bcm2708_vcio: mailbox at f200b880
[ 0.052336] bcm_power: Broadcom power driver
[ 0.052349] bcm_power_open() -> 0
[ 0.052357] bcm_power_request(0, 8)
[ 0.553003] bcm_mailbox_read -> 00000080, 0
[ 0.553015] bcm_power_request -> 0
[ 0.553184] Serial: AMBA PL011 UART driver
[ 0.553313] dev:f1: ttyAMA0 at MMIO 0x20201000 (irq = 83, base_baud = 0) is a PL011 rev3
[ 0.570792] bio: create slab <bio-0> at 0
[ 0.588754] raid6: int32x1 54 MB/s
[ 0.605794] raid6: int32x2 82 MB/s
[ 0.623037] raid6: int32x4 109 MB/s
[ 0.640075] raid6: int32x8 117 MB/s
[ 0.640087] raid6: using algorithm int32x8 (117 MB/s)
[ 0.640095] raid6: using intx1 recovery algorithm
[ 0.640749] SCSI subsystem initialized
[ 0.641020] usbcore: registered new interface driver usbfs
[ 0.641159] usbcore: registered new interface driver hub
[ 0.641357] usbcore: registered new device driver usb
[ 0.643052] Switched to clocksource stc
[ 0.643321] FS-Cache: Loaded
[ 0.652450] NET: Registered protocol family 2
[ 0.653469] TCP established hash table entries: 4096 (order: 3, 32768 bytes)
[ 0.653583] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.653664] TCP: Hash tables configured (established 4096 bind 4096)
[ 0.653736] TCP: reno registered
[ 0.653755] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.653780] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.654127] NET: Registered protocol family 1
[ 0.654534] RPC: Registered named UNIX socket transport module.
[ 0.654552] RPC: Registered udp transport module.
[ 0.654560] RPC: Registered tcp transport module.
[ 0.654566] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.655698] bcm2708_dma: DMA manager at f2007000
[ 0.655785] bcm2708_gpio: bcm2708_gpio_probe c057d960
[ 0.656170] vc-mem: phys_addr:0x00000000 mem_base=0x1ec00000 mem_size:0x20000000(512 MiB)
[ 0.657174] audit: initializing netlink socket (disabled)
[ 0.657239] type=2000 audit(0.654:1): initialized
[ 0.658001] zbud: loaded
[ 0.658335] VFS: Disk quotas dquot_6.5.2
[ 0.658406] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 0.658790] FS-Cache: Netfs 'nfs' registered for caching
[ 0.659188] NFS: Registering the id_resolver key type
[ 0.659290] Key type id_resolver registered
[ 0.659303] Key type id_legacy registered
[ 0.659627] bio: create slab <bio-1> at 1
[ 0.660021] Btrfs loaded
[ 0.660228] msgmni has been set to 747
[ 0.661914] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250)
[ 0.661935] io scheduler noop registered
[ 0.661944] io scheduler deadline registered
[ 0.661967] io scheduler cfq registered (default)
[ 0.665218] crc32: CRC_LE_BITS = 32, CRC_BE BITS = 32
[ 0.665232] crc32: self tests passed, processed 225944 bytes in 1541000 nsec
[ 0.666869] crc32c: CRC_LE_BITS = 32
[ 0.666881] crc32c: self tests passed, processed 225944 bytes in 787000 nsec
[ 0.667293] BCM2708FB: allocated DMA memory 57940000
[ 0.667312] BCM2708FB: allocated DMA channel 0 @ f2007000
[ 0.674347] Console: switching to colour frame buffer device 82x26
[ 0.676589] uart-pl011 dev:f1: no DMA platform data
[ 0.676863] Loading iSCSI transport class v2.0-870.
[ 0.679126] libphy: Fixed MDIO Bus: probed
[ 0.679236] usbcore: registered new interface driver smsc95xx
[ 0.679289] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[ 0.879436] Core Release: 2.80a
[ 0.879461] Setting default values for core params
[ 0.879503] Finished setting default values for core params
[ 1.079581] Using Buffer DMA mode
[ 1.079600] Periodic Transfer Interrupt Enhancement - disabled
[ 1.079610] Multiprocessor Interrupt Enhancement - disabled
[ 1.079621] OTG VER PARAM: 0, OTG VER FLAG: 0
[ 1.079688] Dedicated Tx FIFOs mode
[ 1.079869] dwc_otg: Microframe scheduler enabled
[ 1.079919] dwc_otg bcm2708_usb: DWC OTG Controller
[ 1.079970] dwc_otg bcm2708_usb: new USB bus registered, assigned bus number 1
[ 1.080020] dwc_otg bcm2708_usb: irq 32, io mem 0x00000000
[ 1.080099] Init: Port Power? op_state=1
[ 1.080111] Init: Power Port (0)
[ 1.080341] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 1.080362] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.080376] usb usb1: Product: DWC OTG Controller
[ 1.080389] usb usb1: Manufacturer: Linux 3.12.7+ dwc_otg_hcd
[ 1.080401] usb usb1: SerialNumber: bcm2708_usb
[ 1.081198] hub 1-0:1.0: USB hub found
[ 1.081273] hub 1-0:1.0: 1 port detected
[ 1.081684] dwc_otg: FIQ enabled
[ 1.081699] dwc_otg: NAK holdoff enabled
[ 1.081707] dwc_otg: FIQ split fix enabled
[ 1.081724] Module dwc_common_port init
[ 1.082153] usbcore: registered new interface driver usb-storage
[ 1.082449] mousedev: PS/2 mouse device common for all mice
[ 1.083178] bcm2835-cpufreq: min=700000 max=840000 cur=700000
[ 1.083301] bcm2835-cpufreq: switching to governor performance
[ 1.083316] bcm2835-cpufreq: switching to governor performance
[ 1.084476] sdhci: Secure Digital Host Controller Interface driver
[ 1.084489] sdhci: Copyright© Pierre Ossman
[ 1.084567] sdhci: Enable low-latency mode
[ 1.114070] mmc0: SDHCI controller on BCM2708_Arasan [platform] using platform's DMA
[ 1.114257] mmc0: BCM2708 SDHC host at 0x20300000 DMA 2 IRQ 77
[ 1.114350] ledtrig-cpu: registered to indicate activity on CPUs
[ 1.114484] hidraw: raw HID events driver © Jiri Kosina
[ 1.114707] usbcore: registered new interface driver usbhid
[ 1.114719] usbhid: USB HID core driver
[ 1.115210] NET: Registered protocol family 17
[ 1.115359] Key type dns_resolver registered
[ 1.116667] zswap: loading zswap
[ 1.116709] zswap: using lz4 compressor
[ 1.122838] Waiting for root device /dev/mmcblk0p2...
[ 1.190745] mmc0: read SD Status register (SSR) after 3 attempts
[ 1.196747] mmc0: new high speed SDHC card at address 1234
[ 1.197232] mmcblk0: mmc0:1234 SA16G 14.4 GiB
[ 1.200300] mmcblk0: p1 p2 p3
[ 1.225128] btrfs: device label xbian-beta2 devid 1 transid 142 /dev/root
[ 1.227942] btrfs: enabling auto defrag
[ 1.227973] btrfs: use lzo compression
[ 1.227992] btrfs: disk space caching is enabled
[ 1.258384] Btrfs detected SSD devices, enabling SSD mode
[ 1.275660] VFS: Mounted root (btrfs filesystem) on device 0:13.
[ 1.278134] devtmpfs: mounted
[ 1.278580] Freeing unused kernel memory: 132K (c0551000 - c0572000)
[ 1.288398] Indeed it is in host mode hprt0 = 00021501
[ 1.450175] usb 1-1: new high-speed USB device number 2 using dwc_otg
[ 1.450367] Indeed it is in host mode hprt0 = 00001101
[ 1.624566] usb 1-1: New USB device found, idVendor=0424, idProduct=9512
[ 1.624592] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 1.626211] hub 1-1:1.0: USB hub found
[ 1.626351] hub 1-1:1.0: 3 ports detected
[ 1.901308] usb 1-1.1: new high-speed USB device number 3 using dwc_otg
[ 1.987678] usb 1-1.1: New USB device found, idVendor=0424, idProduct=ec00
[ 1.987705] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 1.990520] smsc95xx v1.0.4
[ 2.042159] smsc95xx 1-1.1:1.0 eth0: register 'smsc95xx' at usb-bcm2708_usb-1.1, smsc95xx USB 2.0 Ethernet, b8:27:eb:3e:cb:e7
[ 2.117339] usb 1-1.2: new high-speed USB device number 4 using dwc_otg
[ 2.571452] usb 1-1.2: New USB device found, idVendor=148f, idProduct=7601
[ 2.571479] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 2.646278] usb 1-1.3: new low-speed USB device number 5 using dwc_otg
[ 2.759353] usb 1-1.3: New USB device found, idVendor=1c4f, idProduct=0002
[ 2.759380] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 2.759392] usb 1-1.3: Product: USB Keykoard
[ 2.759402] usb 1-1.3: Manufacturer: USB
[ 2.770373] input: USB USB Keykoard as /devices/platform/bcm2708_usb/usb1/1-1/1-1.3/1-1.3:1.0/input/input0
[ 2.770920] hid-generic 0003:1C4F:0002.0001: input,hidraw0: USB HID v1.10 Keyboard [USB USB Keykoard] on usb-bcm2708_usb-1.3/input0
[ 2.780403] input: USB USB Keykoard as /devices/platform/bcm2708_usb/usb1/1-1/1-1.3/1-1.3:1.1/input/input1
[ 2.780866] hid-generic 0003:1C4F:0002.0002: input,hidraw1: USB HID v1.10 Device [USB USB Keykoard] on usb-bcm2708_usb-1.3/input1
[ 6.390195] btrfs: disk space caching is enabled
[ 9.947166] smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup
[ 10.073475] btrfs: device label xbian-beta2 devid 1 transid 143 /dev/root
[ 10.162203] btrfs: device label xbian-beta2 devid 1 transid 143 /dev/root
[ 10.904866] vchiq: vchiq_init_state: slot_zero = 0xd8804000, is_master = 0
[ 10.915269] bcm2835-cpufreq: switching to governor powersave
[ 10.915299] bcm2835-cpufreq: switching to governor powersave
[ 10.977027] bcm2835-cpufreq: switching to governor performance
[ 10.977125] bcm2835-cpufreq: switching to governor performance
[ 11.534968] smsc95xx 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0xCDE1
[ 13.305472] udevd[586]: starting version 175
[ 17.746318] btrfs: device label xbian-beta2 devid 1 transid 143 /dev/mmcblk0p2
[ 20.341859] init: failsafe main process (59) killed by TERM signal
[ 39.297183] init: wait-for-state (xbmcxbmc-loaded) main process (888) killed by TERM signal
[ 40.401855] init: xbian-failaccess main process (183) killed by TERM signal
[ 46.644845] init: wait-for-state (zram-swapxbmc-done) main process (238) killed by TERM signal
[ 46.778273] init: xbmc-failed-start main process (419) killed by TERM signal
[ 48.261792] Adding 250876k swap on /dev/mmcblk0p3. Priority:0 extents:1 across:250876k SSFS
[ 49.072578] btrfs: device label xbian-beta2 devid 1 transid 143 /dev/mmcblk0p2
[ 53.428215] btrfs: device label xbian-beta2 devid 1 transid 144 /dev/mmcblk0p2
[ 73.538294] init: xbian-xbmc-bridge main process (1255) terminated with status 1
[ 73.538652] init: xbian-xbmc-bridge main process ended, respawning
[ 289.695344] cfg80211: Calling CRDA to update world regulatory domain
[ 289.840481] usbcore: registered new interface driver rt2800usb


RE: W-lan - driver update don´t work - mk01 - 22nd Jun, 2014 07:54 AM

@Kamelkaze

did you started xbian-config and network configuration to set your wifi parameters?

ione step is to make system aware of network card. after you need to connect it to wifi network (and probably put password).