Initial setup wifi problems


milesy

Still Fresh
Joined
Apr 28, 2011
Messages
41
Location
Haarlem
Yesterday I finally received my Pandora and was extremely excited. Today I'm completely fed up. :( I've been totally unable to get online with my new gadget and therefore can't build it up into the thing of beauty that I want it to be.


My problem is NetworkManager, it refuses to work correctly for me at all. Sometimes it will see my wireless network, and other times nothing at all. Is there a way to manually scan? I've been disabling and renabling network connections, but that too is also very hit and miss as to whether it will actually scan or not. So, I tried the instructions from the wiki for command line connection, but that too doesn't work. I'm really starting to pull my hair out here. :(


I have two other laptops, an eeepc, a couple of blackberries and a G1 phone and they all see and connect to my network with no problems (admittedly one of the laptops has NetworkManager installed with no problems).


Can anyone help me out here?
 
I'm presently going through all the different channels now, but no change so far. :(


I've also attached the output to dmesg for you to look at.output.txt
 

Attachments

  • output.txt
    15.1 KB · Views: 190
i guess i have the same problem...


it dont detect any connection, just 1 some times....


and is not able to connect to anyone.



Code:
.443878] ehci-omap ehci-omap.0: irq 77, io mem 0x48064800

[   12.449645] UBI: background thread "ubi_bgt1d" started, PID 30

[   12.460723] ehci-omap ehci-omap.0: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004

[   12.468750] usb usb1: configuration #1 chosen from 1 choice

[   12.474517] hub 1-0:1.0: USB hub found

[   12.478393] hub 1-0:1.0: 3 ports detected

[   12.586364] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002

[   12.593231] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1

[   12.600524] usb usb1: Product: OMAP-EHCI Host Controller

[   12.605895] usb usb1: Manufacturer: Linux 2.6.27.46-omap1 ehci_hcd

[   12.612121] usb usb1: SerialNumber: ehci-omap.0

[   12.616821] Initializing USB Mass Storage driver...

[   12.621856] usbcore: registered new interface driver usb-storage

[   12.627929] USB Mass Storage support registered.

[   12.632720] usbcore: registered new interface driver libusual

[   12.638732] mice: PS/2 mouse device common for all mice

[   12.664550] input: gpio-keys as /devices/platform/gpio-keys/input/input1

[   12.734710] input: keypad as /devices/platform/i2c_omap.1/i2c-adapter/i2c-1/1-004a/twl4030_keypad/input/input2

[   12.790344] input: nub0 as /devices/platform/i2c_omap.3/i2c-adapter/i2c-3/3-0066/input/input3

[   12.844024] input: nub1 as /devices/platform/i2c_omap.3/i2c-adapter/i2c-3/3-0067/input/input4

[   12.898742] twl4030_rtc twl4030_rtc: rtc core: registered twl4030_rtc as rtc0

[   12.906097] twl4030_rtc twl4030_rtc: Power up reset detected.

[   12.912231] twl4030_rtc twl4030_rtc: Enabling TWL4030-RTC.

[   12.920532] bq27x00-battery 3-0055: support ver. 1.1.0 enabled

[   12.926513] Bluetooth: HCI UART driver ver 2.2

[   12.930999] Bluetooth: HCI H4 protocol initialized

[   12.935821] Bluetooth: HCILL protocol initialized

[   12.940643] hci_h4p hci_h4p: Registering HCI H4P device

[   13.101867] mmci-omap mmci-omap.0: Failed to get debounce clock

[   13.210845] mmci-omap mmci-omap.1: Failed to get debounce clock

[   13.211975] mmci-omap mmci-omap.2: Failed to get debounce clock

[   13.212371] Registered led device: pandora::sd1

[   13.217041] Registered led device: pandora::sd2

[   13.221740] Registered led device: pandora::bluetooth

[   13.226959] Registered led device: pandora::wifi

[   13.231933] Registered led device: pandora::keypad_bl

[   13.237213] Registered led device: pandora::power

[   13.242309] Registered led device: pandora::charger

[   13.247436] usbcore: registered new interface driver usbhid

[   13.253082] usbhid: v2.6:USB HID core driver

[   13.257629] Advanced Linux Sound Architecture Driver Version 1.0.17.

[   13.264251] ASoC version 0.13.2

[   13.267578] OMAP3 Pandora SoC init

[   13.271179] TWL4030 Audio Codec init 

[   13.276428] asoc: twl4030 <-> omap-mcbsp-dai-0 mapping ok

[   13.283355] asoc: twl4030 <-> omap-mcbsp-dai-1 mapping ok

[   13.296417] ALSA device list:

[   13.299438]   #0: omap3pandora (twl4030)

[   13.303649] TCP cubic registered

[   13.306945] NET: Registered protocol family 17

[   13.311462] NET: Registered protocol family 15

[   13.316009] Bluetooth: L2CAP ver 2.11

[   13.319671] Bluetooth: L2CAP socket layer initialized

[   13.324798] Bluetooth: SCO (Voice Link) ver 0.6

[   13.329406] Bluetooth: SCO socket layer initialized

[   13.334503] Bluetooth: RFCOMM socket layer initialized

[   13.339721] Bluetooth: RFCOMM TTY layer initialized

[   13.344665] Bluetooth: RFCOMM ver 1.10

[   13.348449] Bluetooth: BNEP (Ethernet Emulation) ver 1.3

[   13.353820] Bluetooth: HIDP (Human Interface Emulation) ver 1.2

[   13.360321] RPC: Registered udp transport module.

[   13.365051] RPC: Registered tcp transport module.

[   13.369903] ThumbEE CPU extension supported.

[   13.374206] Disabling unused clock "sr2_fck"

[   13.374206] Disabling unused clock "sr1_fck"

[   13.374237] Disabling unused clock "mcbsp_fck"

[   13.374237] Disabling unused clock "mcbsp_fck"

[   13.374267] Disabling unused clock "mcbsp_fck"

[   13.374267] Disabling unused clock "mcbsp_ick"

[   13.374298] Disabling unused clock "mcbsp_ick"

[   13.374298] Disabling unused clock "mcbsp_ick"

[   13.374328] Disabling unused clock "gpt2_ick"

[   13.374328] Disabling unused clock "gpt3_ick"

[   13.374359] Disabling unused clock "gpt4_ick"

[   13.374359] Disabling unused clock "gpt5_ick"

[   13.374359] Disabling unused clock "gpt6_ick"

[   13.374389] Disabling unused clock "gpt7_ick"

[   13.374389] Disabling unused clock "gpt8_ick"

[   13.374420] Disabling unused clock "gpt9_ick"

[   13.374420] Disabling unused clock "wdt3_ick"

[   13.374450] Disabling unused clock "wdt3_fck"

[   13.374450] Disabling unused clock "gpio2_dbck"

[   13.374481] Disabling unused clock "gpio3_dbck"

[   13.374481] Disabling unused clock "gpio5_dbck"

[   13.374511] Disabling unused clock "gpt9_fck"

[   13.374511] Disabling unused clock "gpt8_fck"

[   13.374542] Disabling unused clock "gpt7_fck"

[   13.374572] Disabling unused clock "gpt6_fck"

[   13.374572] Disabling unused clock "gpt5_fck"

[   13.374572] Disabling unused clock "gpt4_fck"

[   13.374603] Disabling unused clock "gpt3_fck"

[   13.374603] Disabling unused clock "gpt2_fck"

[   13.374633] Disabling unused clock "gpt1_ick"

[   13.374633] Disabling unused clock "wdt1_ick"

[   13.374664] Disabling unused clock "wdt2_ick"

[   13.374664] Disabling unused clock "wdt2_fck"

[   13.374694] Disabling unused clock "gpio1_dbck"

[   13.374694] Disabling unused clock "gpt1_fck"

[   13.374694] Disabling unused clock "cam_ick"

[   13.374725] Disabling unused clock "cam_mclk"

[   13.374725] Disabling unused clock "des1_ick"

[   13.374755] Disabling unused clock "sha11_ick"

[   13.374755] Disabling unused clock "rng_ick"

[   13.374786] Disabling unused clock "aes1_ick"

[   13.374786] Disabling unused clock "ssi_ick"

[   13.374816] Disabling unused clock "mailboxes_ick"

[   13.374847] Disabling unused clock "mcbsp_ick"

[   13.374877] Disabling unused clock "mcbsp_ick"

[   13.374877] Disabling unused clock "gpt10_ick"

[   13.374877] Disabling unused clock "gpt11_ick"

[   13.374908] Disabling unused clock "uart2_ick"

[   13.374908] Disabling unused clock "i2c_ick"

[   13.374938] Disabling unused clock "hdq_ick"

[   13.374938] Disabling unused clock "mspro_ick"

[   13.374969] Disabling unused clock "des2_ick"

[   13.374969] Disabling unused clock "sha12_ick"

[   13.374969] Disabling unused clock "aes2_ick"

[   13.375000] Disabling unused clock "icr_ick"

[   13.375000] Disabling unused clock "pka_ick"

[   13.375030] Disabling unused clock "ssi_ssr_fck"

[   13.375030] Disabling unused clock "hdq_fck"

[   13.375061] Disabling unused clock "uart2_fck"

[   13.375061] Disabling unused clock "mcbsp_fck"

[   13.375091] Disabling unused clock "mcbsp_fck"

[   13.375091] Disabling unused clock "i2c_fck"

[   13.375122] Disabling unused clock "mspro_fck"

[   13.375122] Disabling unused clock "gpt11_fck"

[   13.375152] Disabling unused clock "gpt10_fck"

[   13.375152] Disabling unused clock "iva2_ck"

[   13.375183] Disabling unused clock "dpll4_m6x2_ck"

[   13.375183] Disabling unused clock "dpll4_m5x2_ck"

[   13.375213] Disabling unused clock "dpll3_m3x2_ck"

[   13.375213] Disabling unused clock "sys_clkout1"

[   13.375244] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 1

[   13.414306] Console: switching to colour frame buffer device 100x30

[   13.603576] twl4030_rtc twl4030_rtc: setting system clock to 2000-01-01 00:00:00 UTC (946684800)

[   13.625701] mmc0: host does not support reading read-only switch. assuming write-enable.

[   13.633911] mmc0: new high speed SDHC card at address 0007

[   13.639892] mmcblk0: mmc0:0007 SD16G 15646720KiB 

[   13.644958]  mmcblk0: p1

[   13.737426] UBIFS: mounted UBI device 0, volume 0, name "rootfs"

[   13.743530] UBIFS: file system size:   507193344 bytes (495306 KiB, 483 MiB, 3931 LEBs)

[   13.751617] UBIFS: journal size:       9033728 bytes (8822 KiB, 8 MiB, 71 LEBs)

[   13.759002] UBIFS: media format:       w4/r0 (latest is w4/r0)

[   13.764862] UBIFS: default compressor: lzo

[   13.769012] UBIFS: reserved for root:  0 bytes (0 KiB)

[   13.782958] VFS: Mounted root (ubifs filesystem).

[   13.787841] Freeing init memory: 148K

[   14.016387] mmc1: host does not support reading read-only switch. assuming write-enable.

[   14.024597] mmc1: new high speed SDHC card at address 0002

[   14.030548] mmcblk1: mmc1:0002       16117760KiB 

[   14.035583]  mmcblk1: p1

[   21.246856] ads7846 spi1.0: touchscreen, irq 254

[   21.252258] input: touchscreen as /devices/platform/omap2_mcspi.1/spi1.0/input/input5

[   25.564147] FAT: bogus number of reserved sectors

[   25.568878] VFS: Can't find a valid FAT filesystem on dev mmcblk0.

[   25.726501] FAT: bogus number of reserved sectors

[   25.731262] VFS: Can't find a valid FAT filesystem on dev mmcblk1.

[   26.029602] FAT: bogus number of reserved sectors

[   26.034423] VFS: Can't find a valid FAT filesystem on dev mmcblk0.

[   26.076171] FAT: bogus number of reserved sectors

[   26.080993] VFS: Can't find a valid FAT filesystem on dev mmcblk1.

[   27.816650] NET: Registered protocol family 10

[   28.053466] UBIFS: mounted UBI device 1, volume 0, name "boot"

[   28.059417] UBIFS: file system size:   8386560 bytes (8190 KiB, 7 MiB, 65 LEBs)

[   28.066802] UBIFS: journal size:       1032193 bytes (1008 KiB, 0 MiB, 6 LEBs)

[   28.074096] UBIFS: media format:       w4/r0 (latest is w4/r0)

[   28.079986] UBIFS: default compressor: lzo

[   28.084106] UBIFS: reserved for root:  396117 bytes (386 KiB)

[   28.913879] dpll1_ck rate: 600000000

[   28.917510] arm_fck  rate: 600000000

[   28.921112] PLL_MPU  rate: 600000000

[   28.984741] input: nub0 as /devices/platform/i2c_omap.3/i2c-adapter/i2c-3/3-0066/input/input6

[   29.211334] input: nub1 as /devices/platform/i2c_omap.3/i2c-adapter/i2c-3/3-0067/input/input7

[   45.502807] aufs test_add:243:mount[1205]: uid/gid/perm /mnt/pnd/op_wifi 1000/1000/0755, 0/0/0777

[   46.403228] Generic kernel compatibility enabled based on linux-next next-20100113

[   46.742370] cfg80211: Calling CRDA to update world regulatory domain

[   47.619323] lib80211: common routines for IEEE802.11 drivers

[   47.625152] lib80211_crypt: registered algorithm 'NULL'

[   47.697113] lib80211_crypt: registered algorithm 'TKIP'

[   47.796875] lib80211_crypt: registered algorithm 'WEP'

[   47.856170] lib80211_crypt: registered algorithm 'CCMP'

[   48.128601] Pandora WiFi: Probe started

[   48.156097] Sending insert event for MMC3...

[   48.160430] Pandora WiFi: Probe done

[   48.210540] mmc2: card claims to support voltages below the defined range. These will be ignored.

[   48.219512] mmc2: SDIO card claims to support the incompletely defined 'low voltage range'. This will be ignored.

[   48.234588] mmc2: new SDIO card at address 0001

[   48.285125] wl1251: using dedicated interrupt line

[   48.523864] phy0: Selected rate control algorithm 'minstrel'

[   48.524658] wl1251: loaded

[   48.527404] wl1251: initialized

[   50.015411] sdio_reset_comm():

[   50.031372] wl1251_sdio mmc2:0001:1: firmware: requesting wl1251-fw.bin

[   50.945159] wl1251: 154 tx blocks at 0x3b788, 35 rx blocks at 0x3a780

[   50.960754] wl1251: firmware booted (Rev 6.0.4.235)

[   50.984191] phy0: device now idle

[   51.110137] ADDRCONF(NETDEV_UP): wlan0: link is not ready

[   54.719116] aufs test_add:243:mount[1490]: uid/gid/perm /mnt/pnd/mmenumidori 1000/1000/0755, 0/0/0777

[   66.440826] phy0: device no longer idle - scanning

[   67.179412] phy0: device now idle

[   67.182281] phy0: device no longer idle - scanning

[   67.921569] phy0: device now idle

[   86.831115] phy0: device no longer idle - scanning

[   87.538787] phy0: device now idle

[   97.473999] aufs test_add:243:mount[1686]: uid/gid/perm /mnt/pnd/op_switchgui 1000/1000/0755, 0/0/0777

[  116.831298] phy0: device no longer idle - scanning

[  117.413818] phy0: device now idle
 
nothing here... no dhcpoffers (i have dhcp activate in the router, and not protection)


all my neigbours wifis work in channel 1,2,3,4,5 and 11, i am using the 8.


I tried using other channels just in case... but nothing...
 
your hardware seems to be OK, same output here


try:


1. Disable encryption


2. Make sure protocol is set to G mode (not N)


3. sudo killall NetworkManager


4. sudo ifconfig wlan0 down


5. sleep 5


6. sudo ifconfig wlan0 up


7. sudo dhclient wlan0


edit: also try 'sudo iwconfig wlan0 power off'


if you know how to mess with wpa_supplicant, do your own config


also try other access points and routers, if you can


Encryption has been switched off since yesterday.


Protocol was mixed B/G/N now changed to G, no changes.


ifconfig commands all done, output vi dhclient is 'No DHCPOFFERS received'


wlan0 power off command, no effect.


Tried the wpa_supplicant stuff from the wiki and get the error 'Could not connect to wpa_supplicant - re-trying'. Toggle wifi off and back on again but still the same output.


configured static ip address and route with the commands 'sudo ifconfig wlan0' and 'route add default gw'. Tried to ping the gateway but get the error 'Destination Host Unreachable'


All other routers in my area (8 ssids) are protected so can't try them, channels changed to 'free' ones, still no joy.


Anyone know where the logs for NetworkManager live? Only see Xorg, lastlog(?) samba dir, slim.log(?) and wtmp(?) in /var/log.
 
Last edited by a moderator:
well, is the first time i see an ipk packet, and i dont found how to install... ipkg install doesnt work...


ok, i didnt search well. sudo opkg install <packagename.ipk>
 
Last edited by a moderator:
Seems both Zark and I have the exact same problems, surely we can't be the only ones? Everybody else is able to get online with no problems?
 
i have the same dmesg output, which maybe means the hardware is ok, but you are not getting DHCP offers, i'd change router brands...


to install the driver, from terminal: 'sudo opkg install <packagename>'


You mean buy a new router? Can't see me doing that seeing as this one (Linksys WAG320N) is the best one that I've had working in my area (and I've been through a few). Also, it works with absolutely ever other device I have, and others my friends have brought round.


As for the installation, another failure. Error messages say:


Installing wl1251-modules (1.0-r24.5) to root...


Configuring wl1251-modules.


Adding system startup for /etc/init.d/wl1251-init.


Starting WL1251 MAC80211 Wireless LAN driver: wl1251.


insmod: error inserting '/lib/modeules/2.6.27.46-omap1/updates/kernel/drivers/net/wireless/wl12xx/wl1251.ko': -1 File exists


insmod: error inserting '/lib/modules/2.6.27.46-omap1/updates/kernel/drivers/net/wireless/wl12xx/wl1251_sdio.ko': -1 File exists


insmod: error inserting '/lib/modeules/2.6.27.46-omap1/updates/kernel/arch/arm/mach-omap2/board-omap3pandora-wifi.ko': -1 File exists
 
Last edited by a moderator:
i installed the driver, without errors, but nothing changed...


milesy, you see unless aps? cause i dont see anyone, maybe one but of a neigbour and for seconds. Is like is not getting enough signal...


about the router, mine is a good one too... and i never had any problem.
 
Last edited by a moderator:
i installed the driver, without errors, but nothing changed...


milesy, you see unless aps? cause i dont see anyone, maybe one but of a neigbour and for seconds. Is like is not getting enough signal...


about the router, mine is a good one too... and i never had any problem.


Yes, I have the same problem. Sometimes I see neigboring aps, but they're up intermittently. I can see this if I do the command:


sudo iwlist wlan0 scan


I can run this command once and get info on one or more aps, but if I repeat the command straight away sometimes I get nothing except the error message:


wlan0 Interface doesn't support scanning : Device or resource busy
 
exactly the same then....


if someone know about..... what to do... i just got, and still i didnt do anything , just try to set up the wifi....
 
Well, according to the DMESG output, it seems the WLAN module is fine.


There are a few things you could check out:


1. Get as close to your router as possible and try again. Maybe the antenna of the Pandora has an issue. Never seen that, but could happen.


2. Try to use a public hotspot somewhere in town. While the Pandora seems to work with most routers, it MIGHT be that some have issues.


3. Reflash the firmware completely. It might be a flashing error as well.


The testing routine the Pandora undergoes includes a connection to the internet via WLAN, so it should've worked when we got it.


Of course, it might be the soldering is a bit flakey and bumping around while shipping might cause it to break, but as the module is being found, that seems strange.


I checked your router, someone has the same issues with a plain USB WiFi stick.


Also check that your Router is running on the latest firmware, there might be a bug there as well.
 
Last edited by a moderator:
my router is a DSL-2640B of link too...


but the strange is that it dont detect any ap of the neigbours, there are a lot. Only if i am checking all the time from the console, maybe one , appear for some seconds,as to milesy.


I checked to go around all the house, close to the router... and nothing...


the box where it came looks ok. only a small hit in one side. And with all the stuff inside, i dont think it came broken... unless it came in a box full of magnets :p


another friend got the pandora the same day that me, so must be of the same run of boards, same run of tests, i will ask he.
 
Well, according to the DMESG output, it seems the WLAN module is fine.


There are a few things you could check out:


1. Get as close to your router as possible and try again. Maybe the antenna of the Pandora has an issue. Never seen that, but could happen.


2. Try to use a public hotspot somewhere in town. While the Pandora seems to work with most routers, it MIGHT be that some have issues.


3. Reflash the firmware completely. It might be a flashing error as well.


The testing routine the Pandora undergoes includes a connection to the internet via WLAN, so it should've worked when we got it.


Of course, it might be the soldering is a bit flakey and bumping around while shipping might cause it to break, but as the module is being found, that seems strange.


I checked your router, someone has the same issues with a plain USB WiFi stick.


Also check that your Router is running on the latest firmware, there might be a bug there as well.


Thanks for jumping in Ed, I know you must be busy as usual with other things.


1. I'm in the next room to my router and although there's only a wall in between, I moved next to the router and tried but still no joy - can see networks, can't connect to any.


2. Today is Queen's Day, which means I've got no chance of anywhere being open until Monday at the earliest. :(


3. So far, I've done 2 complete reflashes (last night and today), and also booted both from the NAND and SD.


There isn't too much choice for me with routers as my connection is via ADSL so I also need a built in modem(as an aside I believe with these types of routers they can't run custom firmware), and it is running the latest official firmware, just installed it now. ;)
 
have you also reset the configuration of your router?


do it only, if you can reconfigure it again...


I had to press some hidden button with a thin screwdriver on my router...


cheers
 
Last edited by a moderator:
Yep, router has been reset and reconfigured more times today than it has done in the past year.
 
Can anyone tell me where daemon.log lives? Failing that, where NetworkManager logs are? They would normally be in /var/log, right?
 
i cant found them neither....


i think i tryed everything i found.


to let the battery out for some time.


to reflash


to install the beta driver...


to turn off the save energy system....


to turn off, on the wifi, and the NetworkManager


to call to murphy, sleep, and try again.


It doesnt found any access point.... only if i am scanning manually all the time, for some secs i detect a neigbour.... (there are a lot)


i will go in a while to my office to check there.... but anyway it should found APs here


it is a crap... cause the rest seems be working very well. And it is true that to have mine in my hands changed my mind.. i just hope you can improve the production speed.
 
Last edited by a moderator:
Back
Top