Forum
[SOLVED] Wi-Fi (Wi-Pi) dongle setup - Printable Version

+- Forum (http://forum.xbian.org)
+-- Forum: Hardware (/forum-7.html)
+--- Forum: Network (/forum-25.html)
+--- Thread: [SOLVED] Wi-Fi (Wi-Pi) dongle setup (/thread-89.html)

Pages: 1 2 3


Wi-Fi (Wi-Pi) dongle setup - cpm - 21st Dec, 2012 10:46 PM

Hi, there

I have the Wi-Pi dongle form Element 14 (http://cpc.farnell.com/element14/wipi/dongle-wifi-usb-for-raspberry-pi/dp/SC12761). I'm trying to get it working with my install of Xbian 1.0 Alpha 3 but I'm not sure how to. I've entered into xbian-config and tried to enter WLAN settings in DHCP manually, but I end up with this:

Code:
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 6
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 7
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 12
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 15
etc...

Upon saving these settings and restarting, an ifconfig shows this:

Code:
wlan0     Link encap:Ethernet  HWaddr 00:0f:54:02:27:be  
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

So, it is finding the Wi-Pi dongle, but it's not assigning an inet address.

I have also tried to install the drivers for ralink manually (I believe Wi-Pi is a ralink chipset), but they were already installed within Linux.

Any ideas? Thanks in advance!


RE: Wi-Fi (Wi-Pi) dongle setup - CurlyMo - 21st Dec, 2012 10:50 PM

Can you post the output of
Code:
dmesg

Did you also try to pull the adapter from the RPi and re-inserting it again.


RE: Wi-Fi (Wi-Pi) dongle setup - cpm - 21st Dec, 2012 10:57 PM

(21st Dec, 2012 10:50 PM)CurlyMo Wrote:  Can you post the output of
Code:
dmesg

Did you also try to pull the adapter from the RPi and re-inserting it again.

Every time I re-insert the USB, it reboots XBian.

Here's the output of dmesg:

Code:
[    0.000000] Booting Linux on physical CPU 0
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Linux version 3.6.7+ (root@pi) (gcc version 4.6.3 (Debian 4.6.3-12+rpi1) ) #1 PREEMPT Fri Nov 23 12:33:18 CET 2012
[    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: 105472
[    0.000000] free_area_init_node: node 0, pgdat c055f718, node_mem_map c0609000
[    0.000000]   Normal zone: 824 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 104648 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: 104648
[    0.000000] Kernel command line: dma.dmachans=0x7f35 bcm2708_fb.fbwidth=1680 bcm2708_fb.fbheight=1050 bcm2708.boardrev=0xf bcm2708.serial=0x3de16f34 smsc95xx.macaddr=B8:27:EB:E1:6F:34 sdhci-bcm2708.emmc_clock_freq=100000000 vc_mem.mem_base=0x19c00000 vc_mem.mem_size=0x20000000  dwc_otg.fiq_fix_enable=1 sdhci-bcm2708.sync_after_dma=0 dwc_otg.lpm_enable=0 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 rootwait
[    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 843776 bytes of page_cgroup
[    0.000000] please try 'cgroup_disable=memory' option if you don't want memory cgroups
[    0.000000] Memory: 412MB = 412MB total
[    0.000000] Memory: 411136k/411136k available, 10752k reserved, 0K highmem
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
[    0.000000]     vmalloc : 0xda000000 - 0xff000000   ( 592 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xd9c00000   ( 412 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .text : 0xc0008000 - 0xc0508800   (5122 kB)
[    0.000000]       .init : 0xc0509000 - 0xc0529c20   ( 132 kB)
[    0.000000]       .data : 0xc052a000 - 0xc055fe80   ( 216 kB)
[    0.000000]        .bss : 0xc055fea4 - 0xc0608264   ( 673 kB)
[    0.000000] NR_IRQS:330
[    0.000000] sched_clock: 32 bits at 1000kHz, resolution 1000ns, wraps every 4294967ms
[    0.000000] timer_set_mode: unhandled mode:1
[    0.000000] timer_set_mode: unhandled mode:3
[    0.000000] Console: colour dummy device 80x30
[    0.000000] console [tty1] enabled
[    0.001111] Calibrating delay loop... 697.95 BogoMIPS (lpj=3489792)
[    0.060160] pid_max: default: 32768 minimum: 301
[    0.060495] Mount-cache hash table entries: 512
[    0.061277] Initializing cgroup subsys cpuacct
[    0.061343] Initializing cgroup subsys memory
[    0.061424] Initializing cgroup subsys devices
[    0.061461] Initializing cgroup subsys freezer
[    0.061492] Initializing cgroup subsys blkio
[    0.061605] CPU: Testing write buffer coherency: ok
[    0.061969] hw perfevents: enabled with v6 PMU driver, 3 counters available
[    0.062117] Setting up static identity map for 0x3a8f18 - 0x3a8f74
[    0.063805] devtmpfs: initialized
[    0.072428] NET: Registered protocol family 16
[    0.075077] DMA: preallocated 2048 KiB pool for atomic coherent allocations
[    0.076163] bcm2708.uart_clock = 0
[    0.077554] hw-breakpoint: found 6 breakpoint and 1 watchpoint registers.
[    0.077610] hw-breakpoint: maximum watchpoint size is 4 bytes.
[    0.077646] mailbox: Broadcom VideoCore Mailbox driver
[    0.077745] bcm2708_vcio: mailbox at f200b880
[    0.077833] bcm_power: Broadcom power driver
[    0.077869] bcm_power_open() -> 0
[    0.077896] bcm_power_request(0, 8)
[    0.578582] bcm_mailbox_read -> 00000080, 0
[    0.578622] bcm_power_request -> 0
[    0.578650] Serial: AMBA PL011 UART driver
[    0.578811] dev:f1: ttyAMA0 at MMIO 0x20201000 (irq = 83) is a PL011 rev3
[    0.597806] bio: create slab <bio-0> at 0
[    0.598759] SCSI subsystem initialized
[    0.599011] usbcore: registered new interface driver usbfs
[    0.599122] usbcore: registered new interface driver hub
[    0.599450] usbcore: registered new device driver usb
[    0.600795] Switching to clocksource stc
[    0.601063] FS-Cache: Loaded
[    0.601380] CacheFiles: Loaded
[    0.614256] NET: Registered protocol family 2
[    0.615129] TCP established hash table entries: 16384 (order: 5, 131072 bytes)
[    0.615906] TCP bind hash table entries: 16384 (order: 4, 65536 bytes)
[    0.616346] TCP: Hash tables configured (established 16384 bind 16384)
[    0.616454] TCP: reno registered
[    0.616499] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.616567] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.616958] NET: Registered protocol family 1
[    0.617695] RPC: Registered named UNIX socket transport module.
[    0.617758] RPC: Registered udp transport module.
[    0.617789] RPC: Registered tcp transport module.
[    0.617819] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.618450] bcm2708_dma: DMA manager at f2007000
[    0.618581] bcm2708_gpio: bcm2708_gpio_probe c0537e28
[    0.618986] vc-mem: phys_addr:0x00000000 mem_base=0x19c00000 mem_size:0x20000000(512 MiB)
[    0.619320] major device number 252
[    0.619340] vma list size 12, page list size 2008, page size 4096
[    0.619359] allocated dma channel 2 (f2007200), initial state 00000008
[    0.619369] post-reset 00000008
[    0.620060] audit: initializing netlink socket (disabled)
[    0.620180] type=2000 audit(0.600:1): initialized
[    0.743144] VFS: Disk quotas dquot_6.5.2
[    0.743286] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.743781] FS-Cache: Netfs 'nfs' registered for caching
[    0.744221] NFS: Registering the id_resolver key type
[    0.744366] Key type id_resolver registered
[    0.744404] Key type id_legacy registered
[    0.744811] msgmni has been set to 803
[    0.747052] io scheduler noop registered
[    0.747116] io scheduler deadline registered
[    0.747174] io scheduler cfq registered (default)
[    0.752415] crc32: CRC_LE_BITS = 64, CRC_BE BITS = 64
[    0.752462] crc32: self tests passed, processed 225944 bytes in 2470000 nsec
[    0.754367] crc32c: CRC_LE_BITS = 64
[    0.754398] crc32c: self tests passed, processed 225944 bytes in 907000 nsec
[    0.790732] Console: switching to colour frame buffer device 210x65
[    0.825032] brd: module loaded
[    0.830533] loop: module loaded
[    0.831197] vcos: [1]: vchiq_init_state: slot_zero = 0xda004000, is_master = 0
[    0.831956] vcos: [1]: vchiq_init_state: called
[    0.832790] vcos: [1]: vchiq: initialised - version 2 (min 2), device 251.0
[    0.833440] usbcore: registered new interface driver smsc95xx
[    0.833867] usbcore: registered new interface driver cdc_ncm
[    0.834074] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[    1.039419] Core Release: 2.80a
[    1.039561] Setting default values for core params
[    1.039746] Finished setting default values for core params
[    1.245024] Using Buffer DMA mode
[    1.245155] Periodic Transfer Interrupt Enhancement - disabled
[    1.245317] Multiprocessor Interrupt Enhancement - disabled
[    1.245470] OTG VER PARAM: 0, OTG VER FLAG: 0
[    1.245599] Dedicated Tx FIFOs mode
[    1.245936] dwc_otg: Microframe scheduler enabled
[    1.245998] dwc_otg bcm2708_usb: DWC OTG Controller
[    1.246221] dwc_otg bcm2708_usb: new USB bus registered, assigned bus number 1
[    1.246495] dwc_otg bcm2708_usb: irq 32, io mem 0x00000000
[    1.246723] Init: Port Power? op_state=1
[    1.246846] Init: Power Port (0)
[    1.247090] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    1.247300] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.247508] usb usb1: Product: DWC OTG Controller
[    1.247652] usb usb1: Manufacturer: Linux 3.6.7+ dwc_otg_hcd
[    1.247816] usb usb1: SerialNumber: bcm2708_usb
[    1.248841] hub 1-0:1.0: USB hub found
[    1.249027] hub 1-0:1.0: 1 port detected
[    1.249488] dwc_otg: FIQ enabled
[    1.249505] dwc_otg: NAK holdoff enabled
[    1.249525] Module dwc_common_port init
[    1.249879] usbcore: registered new interface driver uas
[    1.250060] Initializing USB Mass Storage driver...
[    1.257147] usbcore: registered new interface driver usb-storage
[    1.263930] USB Mass Storage support registered.
[    1.270828] usbcore: registered new interface driver libusual
[    1.278039] mousedev: PS/2 mouse device common for all mice
[    1.285528] bcm2835-cpufreq: min=700000 max=840000 cur=700000
[    1.285818] bcm2835-cpufreq: switching to governor performancebcm2835-cpufreq: switching to governor performance
[    1.293779] cpuidle: using governor ladder
[    1.305060] cpuidle: using governor menu
[    1.310985] sdhci: Secure Digital Host Controller Interface driver
[    1.316691] sdhci: Copyright(c) Pierre Ossman
[    1.322630] sdhci: Enable low-latency mode
[    1.328619] Registered led device: mmc0::
[    1.371102] mmc0: SDHCI controller on BCM2708_Arasan [platform] using platform's DMA
[    1.376911] mmc0: BCM2708 SDHC host at 0x20300000 DMA 0 IRQ 16
[    1.382930] sdhci-pltfm: SDHCI platform and OF driver helper
[    1.396606] usbcore: registered new interface driver usbhid
[    1.402529] usbhid: USB HID core driver
[    1.417715] TCP: cubic registered
[    1.423580] Initializing XFRM netlink socket
[    1.430506] NET: Registered protocol family 17
[    1.438586] Key type dns_resolver registered
[    1.444615] Indeed it is in host mode hprt0 = 00021501
[    1.450807] VFP support v0.3: implementor 41 architecture 1 part 20 variant b rev 5
[    1.461822] registered taskstats version 1
[    1.473194] mmc0: problem reading SD Status register.
[    1.491340] drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
[    1.497974] Waiting for root device /dev/mmcblk0p2...
[    1.504207] mmc0: new high speed SDHC card at address 0007
[    1.521233] mmcblk0: mmc0:0007 SD04G 3.67 GiB
[    1.529489]  mmcblk0: p1 p2 p3
[    1.680996] usb 1-1: new high-speed USB device number 2 using dwc_otg
[    1.687921] Indeed it is in host mode hprt0 = 00001101
[    1.891254] usb 1-1: New USB device found, idVendor=0424, idProduct=9512
[    1.898538] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    1.905324] hub 1-1:1.0: USB hub found
[    1.912623] hub 1-1:1.0: 3 ports detected
[    2.191221] usb 1-1.1: new high-speed USB device number 3 using dwc_otg
[    2.311494] usb 1-1.1: New USB device found, idVendor=0424, idProduct=ec00
[    2.319514] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    2.329960] smsc95xx v1.0.4
[    2.395533] smsc95xx 1-1.1:1.0: eth0: register 'smsc95xx' at usb-bcm2708_usb-1.1, smsc95xx USB 2.0 Ethernet, b8:27:eb:e1:6f:34
[    2.481096] usb 1-1.2: new high-speed USB device number 4 using dwc_otg
[    2.619050] usb 1-1.2: New USB device found, idVendor=148f, idProduct=5370
[    2.625373] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    2.631667] usb 1-1.2: Product: 802.11 n WLAN
[    2.637776] usb 1-1.2: Manufacturer: Ralink
[    2.643980] usb 1-1.2: SerialNumber: 1.0
[    2.731127] usb 1-1.3: new full-speed USB device number 5 using dwc_otg
[    2.855991] usb 1-1.3: New USB device found, idVendor=1532, idProduct=0109
[    2.862264] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    2.868415] usb 1-1.3: Product: Razer Lycosa
[    2.874657] usb 1-1.3: Manufacturer: Razer
[    2.886425] input: Razer Razer Lycosa as /devices/platform/bcm2708_usb/usb1/1-1/1-1.3/1-1.3:1.0/input/input0
[    2.893363] hid-generic 0003:1532:0109.0001: input,hidraw0: USB HID v1.10 Keyboard [Razer Razer Lycosa] on usb-bcm2708_usb-1.3/input0
[    2.904680] input: Razer Razer Lycosa as /devices/platform/bcm2708_usb/usb1/1-1/1-1.3/1-1.3:1.1/input/input1
[    2.911799] hid-generic 0003:1532:0109.0002: input,hidraw1: USB HID v1.10 Device [Razer Razer Lycosa] on usb-bcm2708_usb-1.3/input1
[   14.427925] EXT4-fs (mmcblk0p2): recovery complete
[   14.438081] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[   14.445107] VFS: Mounted root (ext4 filesystem) on device 179:2.
[   14.454019] devtmpfs: mounted
[   14.461781] Freeing init memory: 128K
[   15.882340] udevd[143]: starting version 175
[   17.021199] cfg80211: Calling CRDA to update world regulatory domain
[   17.441234] usb 1-1.2: reset high-speed USB device number 4 using dwc_otg
[   17.899634] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   17.900703] Registered led device: rt2800usb-phy0::radio
[   17.900851] Registered led device: rt2800usb-phy0::assoc
[   17.901212] Registered led device: rt2800usb-phy0::quality
[   17.901455] usbcore: registered new interface driver rt2800usb
[   20.917985] Adding 767996k swap on /dev/mmcblk0p3.  Priority:-1 extents:1 across:767996k SS
[   27.244449] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[   27.754278] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[   32.822903] mmc0: missed completion of cmd 18 DMA (512/512 [1]/[1]) - ignoring it
[   32.830271] mmc0: DMA IRQ 6 ignored - results were reset
[   32.839343] mmc0: missed completion of cmd 18 DMA (512/512 [1]/[1]) - ignoring it
[   32.846936] mmc0: DMA IRQ 6 ignored - results were reset
[   32.855801] mmc0: missed completion of cmd 18 DMA (512/512 [1]/[1]) - ignoring it
[   32.863322] mmc0: DMA IRQ 6 ignored - results were reset
[   32.872307] mmc0: missed completion of cmd 18 DMA (512/512 [1]/[1]) - ignoring it
[   32.879915] mmc0: DMA IRQ 6 ignored - results were reset
[   32.892118] mmc0: missed completion of cmd 18 DMA (512/512 [1]/[1]) - ignoring it
[   32.899804] mmc0: DMA IRQ 6 ignored - results were reset
[   32.908853] mmc0: missed completion of cmd 18 DMA (512/512 [1]/[1]) - ignoring it
[   32.916674] mmc0: DMA IRQ 6 ignored - results were reset
[   32.925748] mmc0: missed completion of cmd 18 DMA (512/512 [1]/[1]) - ignoring it
[   32.933603] mmc0: DMA IRQ 6 ignored - results were reset
[   32.942544] mmc0: missed completion of cmd 18 DMA (512/512 [1]/[1]) - ignoring it
[   32.950183] mmc0: DMA IRQ 6 ignored - results were reset
[   32.959152] mmc0: missed completion of cmd 18 DMA (512/512 [1]/[1]) - ignoring it
[   32.966927] mmc0: DMA IRQ 6 ignored - results were reset
[   32.975922] mmc0: missed completion of cmd 18 DMA (512/512 [1]/[1]) - ignoring it
[   32.983756] mmc0: DMA IRQ 6 ignored - results were reset
[   32.992826] mmc0: missed completion of cmd 18 DMA (512/512 [1]/[1]) - ignoring it
[   33.000629] mmc0: DMA IRQ 6 ignored - results were reset
[   33.009705] mmc0: missed completion of cmd 18 DMA (512/512 [1]/[1]) - ignoring it
[   33.017676] mmc0: DMA IRQ 6 ignored - results were reset
[   33.026822] mmc0: missed completion of cmd 18 DMA (512/512 [1]/[1]) - ignoring it
[   33.034848] mmc0: DMA IRQ 6 ignored - results were reset
[   33.049795] mmc0: missed completion of cmd 18 DMA (512/512 [1]/[1]) - ignoring it
[   33.057641] mmc0: DMA IRQ 6 ignored - results were reset
[   33.069722] mmc0: missed completion of cmd 18 DMA (512/512 [1]/[1]) - ignoring it
[   33.077445] mmc0: DMA IRQ 6 ignored - results were reset
[   33.101211] mmc0: missed completion of cmd 18 DMA (512/512 [1]/[1]) - ignoring it
[   33.108730] mmc0: DMA IRQ 6 ignored - results were reset
[   33.120136] mmc0: missed completion of cmd 18 DMA (512/512 [1]/[1]) - ignoring it
[   33.127725] mmc0: DMA IRQ 6 ignored - results were reset
[   33.136874] mmc0: missed completion of cmd 18 DMA (512/512 [1]/[1]) - ignoring it
[   33.144575] mmc0: DMA IRQ 6 ignored - results were reset
[   33.153847] mmc0: missed completion of cmd 18 DMA (512/512 [1]/[1]) - ignoring it
[   33.161495] mmc0: DMA IRQ 6 ignored - results were reset
[   33.170503] mmc0: missed completion of cmd 18 DMA (512/512 [1]/[1]) - ignoring it
[   33.178105] mmc0: DMA IRQ 6 ignored - results were reset
[   33.187126] mmc0: missed completion of cmd 18 DMA (512/512 [1]/[1]) - ignoring it
[   33.194626] mmc0: DMA IRQ 6 ignored - results were reset
[   33.203722] mmc0: missed completion of cmd 18 DMA (512/512 [1]/[1]) - ignoring it
[   33.211240] mmc0: DMA IRQ 6 ignored - results were reset
[   33.220202] mmc0: missed completion of cmd 18 DMA (512/512 [1]/[1]) - ignoring it
[   33.227716] mmc0: DMA IRQ 6 ignored - results were reset
[   33.236478] mmc0: missed completion of cmd 18 DMA (512/512 [1]/[1]) - ignoring it
[   33.243898] mmc0: DMA IRQ 6 ignored - results were reset
[   33.252863] mmc0: missed completion of cmd 18 DMA (512/512 [1]/[1]) - ignoring it
[   33.260221] mmc0: DMA IRQ 6 ignored - results were reset
[   33.269108] mmc0: missed completion of cmd 18 DMA (512/512 [1]/[1]) - ignoring it
[   33.276610] mmc0: DMA IRQ 6 ignored - results were reset
[   33.285566] mmc0: missed completion of cmd 18 DMA (512/512 [1]/[1]) - ignoring it
[   33.293113] mmc0: DMA IRQ 6 ignored - results were reset
[   33.302113] mmc0: missed completion of cmd 18 DMA (512/512 [1]/[1]) - ignoring it
[   33.309629] mmc0: DMA IRQ 6 ignored - results were reset
[   33.318760] mmc0: missed completion of cmd 18 DMA (512/512 [1]/[1]) - ignoring it
[   33.326410] mmc0: DMA IRQ 6 ignored - results were reset
[   33.335365] mmc0: missed completion of cmd 18 DMA (512/512 [1]/[1]) - ignoring it
[   33.343100] mmc0: DMA IRQ 6 ignored - results were reset
[   33.352284] mmc0: missed completion of cmd 18 DMA (512/512 [1]/[1]) - ignoring it
[   33.359775] mmc0: DMA IRQ 6 ignored - results were reset
[   33.368776] mmc0: missed completion of cmd 18 DMA (512/512 [1]/[1]) - ignoring it
[   33.376363] mmc0: DMA IRQ 6 ignored - results were reset
[   33.385173] mmc0: missed completion of cmd 18 DMA (512/512 [1]/[1]) - ignoring it
[   33.392777] mmc0: DMA IRQ 6 ignored - results were reset
[   37.831377] smsc95xx 1-1.1:1.0: eth0: link up, 100Mbps, full-duplex, lpa 0x41E1
[   41.924100] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).



RE: Wi-Fi (Wi-Pi) dongle setup - CurlyMo - 21st Dec, 2012 11:01 PM

Try installing kernel 3.6.11:
Code:
sudo apt-get install xbian-package-kernel3.6.11
sudo reboot

And replug the USB adapter, does it then automatically reboots as well?


RE: Wi-Fi (Wi-Pi) dongle setup - cpm - 21st Dec, 2012 11:07 PM

(21st Dec, 2012 11:01 PM)CurlyMo Wrote:  Try installing kernel 3.6.11:
Code:
sudo apt-get install xbian-package-kernel3.6.11
sudo reboot

And replug the USB adapter, does it then automatically reboots as well?

Yes it still does reboot, however, after I ran the above code and logged back into SSH, I ran uname -a and saw that it still said:
Code:
Linux xbian 3.6.7+ #1 PREEMPT Fri Nov 23 12:33:18 CET 2012 armv6l GNU/Linux

3.6.7+, not 3.6.11. Is this to be expected? It does say +, but I'm not sure whether the update worked if it's not explicitly stating 3.6.11

Interestingly, I checked my /etc/network/interfaces file and it has the following:

Code:
auto lo

iface lo inet loopback
iface eth0 inet dhcp

allow-hotplug wlan0
iface wlan0 inet dhcp

wpa-ssid "BigPondXXXX"
wpa-psk "5XXXXXXXXX2"
wireless-power off

Note where it says wireless-power off, is that normal?


RE: Wi-Fi (Wi-Pi) dongle setup - CurlyMo - 21st Dec, 2012 11:17 PM

Then something has gone wrong when installing the new kernel. Can you post:
Code:
ls -Al /boot

Also, does your wpa key contain wierd/special characters?


RE: Wi-Fi (Wi-Pi) dongle setup - cpm - 21st Dec, 2012 11:19 PM

(21st Dec, 2012 11:17 PM)CurlyMo Wrote:  Then something has gone wrong when installing the new kernel. Can you post:
Code:
ls -Al /boot

Also, does your wpa key contain wierd/special characters?

Strange, I'm running practically a fresh install. No weird characters, only alphanumeric. All the X's I blanked out are digits.

Here's the output:
Code:
root@xbian:/home/xbian# ls -Al /boot
total 14076
drwxr-xr-x 2 root root    1024 Nov 27 08:40 .Trashes
-rwxr-xr-x 1 root root    4096 Nov 27 08:40 ._.Trashes
-rwxr-xr-x 1 root root   18693 Nov 12 04:59 COPYING.linux
-rwxr-xr-x 1 root root    1447 Nov 12 04:59 LICENCE.broadcom
-rwxr-xr-x 1 root root     582 Nov 12 04:59 README.md
-rwxr-xr-x 1 root root   17764 Nov 12 04:59 bootcode.bin
-rwxr-xr-x 1 root root     135 Nov 12 04:59 cmdline.txt
-rwxr-xr-x 1 root root     117 Nov 27 07:33 config.txt
-rwxr-xr-x 1 root root    5277 Nov 12 04:59 fixup.dat
-rwxr-xr-x 1 root root    2015 Nov 12 04:59 fixup_cd.dat
-rwxr-xr-x 1 root root 5602980 Nov 27 07:37 kernel.img
-rwxr-xr-x 1 root root 5602980 Nov 23 23:38 kernel3_6_7.img
-rwxr-xr-x 1 root root  278715 Nov 12 04:59 loader.bin
-rwxr-xr-x 1 root root 2347220 Nov 12 04:59 start.elf
-rwxr-xr-x 1 root root  522536 Nov 12 04:59 start_cd.elf

Ah...

Code:
xbian@xbian:~# sudo apt-get install xbian-package-kernel3.6.11
Reading package lists... Done
Building dependency tree      
Reading state information... Done
E: Unable to locate package xbian-package-kernel3.6.11
E: Couldn't find any package by regex 'xbian-package-kernel3.6.11'

Edit: I'm just running apt-get update and I'll try again.
Edit 2: Updating now, sorry that I missed that before!

Alright, all up to date: 3.6.11.

Replugging the USB still reboots XBian.


RE: Wi-Fi (Wi-Pi) dongle setup - CurlyMo - 22nd Dec, 2012 12:21 AM

Can you post a new dmesg with the new kernel?

Also, because of the rebooting, i have a strong suspicion that your adapter drains to much power from the RPi when reconnected. Most of the time, when altering WLAN settings, a replugging is need to make the changes take effect. So when the adapter is plugged in and doesn't work, it doesn't matter. But when you replug it, is start to work and thereby also draining power from the USB posts. So, indeed try another adapter that's more energy efficient or try to loan a powered usb hub.


RE: Wi-Fi (Wi-Pi) dongle setup - raspberry_pd - 22nd Dec, 2012 03:15 PM

cpm is appears you are not the only one experiencing similar problems

http://xbian.org/forum/showthread.php?tid=72


RE: Wi-Fi (Wi-Pi) dongle setup - Beanz - 6th Feb, 2013 01:59 AM

I've just bought one of these and having exactly the same issues, did you ever resolve it ??

Also get the Wireless Power - off that you mentioned earlier.

the light on the dongle does flash , usually 6 times.


RE: Wi-Fi (Wi-Pi) dongle setup - CurlyMo - 6th Feb, 2013 02:03 AM

Can you try the new xbian-config: https://github.com/xbianonpi/xbian-config-bash


RE: Wi-Fi (Wi-Pi) dongle setup - Beanz - 6th Feb, 2013 02:39 AM

Think thats done it mate. Thanks !

The new version actually goes through steps where it shows your network connection options so i could see it knew the WLAN was there, then when clicking on it my local networks showed so knew it was working, i think the problem might have been when i used the old version of config to input my routers info i'd now used all capital letters for the SSID which was much easier to notice in this version.
I have an IP next to WLAN now so am gonna go back to my tv and check xbian can connect when i remove the ethernet Smile
Thanks again.


Re: Wi-Fi (Wi-Pi) dongle setup - BartOtten - 6th Feb, 2013 04:29 AM

Glad it is easier to set the network using the new xbian-config. Curlymo and Belese work -very- hard for this feature of XBian! Please hit the Thanks link for both of them Big Grin


RE: Wi-Fi (Wi-Pi) dongle setup - CurlyMo - 6th Feb, 2013 04:58 AM

The basis of the network module was set by Hexagon and was enhanced by me. So please don't forget his share Smile


RE: Wi-Fi (Wi-Pi) dongle setup - crs - 6th Feb, 2013 09:32 AM

"Think thats done it mate. Thanks !" and "Think thats done it mate. Thanks !" Y E S

My wifi works.. !! But i know its a supported dongle. This new xbian-config, very xbian. The best, works great.

I sit in root term.. "Exception SystemExit in <function _remove at 0x3415d70> ignored " on term window now?? Also xbmx.bin was off after a few hours.