OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

3 Pages V  < 1 2 3 >  
Reply to this topicStart new topic
> Extreme Newbie Questions
ZDevil
post Apr 30 2007, 02:26 AM
Post #16





Group: Members
Posts: 2,003
Joined: 16-April 04
From: the Netherlands && /dev/null
Member No.: 2,882



QUOTE(jpmatrix @ Apr 30 2007, 12:14 PM)
QUOTE(ZDevil @ Apr 30 2007, 08:49 AM)

-- Any simple wifi CF setup instructions?
*


well,
from my memory :
ifconfig wi0 up
ifconfig wi0 192.168.1.5 netmask 255.255.255.0
ifconfig wi0 nwid NETWORK_SSID nwkey NETWORK_KEY
route add default 192.168.1.1

just do a google-search with openbsd and ifconfig to have some examples wink.gif
*



My card is Symbol Spectrum24, which is listed as supported.

When I enter ifconfig wi0 up, i got this:
CODE
ifconfig: SIOCGIFFLAGS: Device not configured


When plugging in the card, dmesg recognizes the card, but reads:
CODE
wi0: init failed


What do i miss here? unsure.gif Thanks again!
Go to the top of the page
 
+Quote Post
ZDevil
post Apr 30 2007, 03:00 AM
Post #17





Group: Members
Posts: 2,003
Joined: 16-April 04
From: the Netherlands && /dev/null
Member No.: 2,882



Here is the output of dmesg:

CODE
OpenBSD 4.1-current (GENERIC) #89: Sat Apr 28 14:50:31 MDT 2007
   deraadt@zaurus.openbsd.org:/usr/src/sys/arch/zaurus/compile/GENERIC
real mem  = 67108864 (65536K) 64MB
avail mem = 53043200 (51800K)
using 844 buffers containing 3457024 bytes (3376K) of memory
mainbus0 (root)
cpu0 at mainbus0: PXA27x step C-5 (XScale core)
cpu0: DC enabled IC enabled WB enabled LABT branch prediction enabled
cpu0: 32KB(32b/l,32way) I-cache, 32KB(32b/l,32way) wr-back-lock D-cache
pxaip0 at mainbus0: CPU clock = 416.000 MHz
pxaintc0 at pxaip0 addr 0x40d00000: Interrupt Controller
pxagpio0 at pxaip0 addr 0x40e00000: GPIO Controller
pxadmac0 at pxaip0 addr 0x40000000 intr 25: DMA Controller
pxaost0 at pxaip0 addr 0x40a00000
com0 at pxaip0 addr 0x40100000 intr 22: pxa2x0, 32 byte fifo
com1 at pxaip0 addr 0x40200000 intr 21: pxa2x0, 32 byte fifo
com2 at pxaip0 addr 0x40700000 intr 20: pxa2x0, 32 byte fifo (SIR)
pxaudc0 at pxaip0: USB Device Controller
usbf0 at pxaudc0: USB revision 1.1
cdcef0 at usbf0: OpenBSD.org CDC Ethernet Emulation, rev 1.01/1.00
cdcef0: address 2a:cb:00:00:00:00
ohci0 at pxaip0, version 1.0
usb0 at ohci0: USB revision 1.0
uhub0 at usb0
uhub0: PXA27x OHCI root hub, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
lcd0 at pxaip0
wsdisplay0 at lcd0 mux 1: console (std, vt100 emulation)
wsdisplay0: screen 1 added (std, vt100 emulation)
zkbd0 at pxaip0
wskbd0 at zkbd0: console keyboard, using wsdisplay0
scoop0 at pxaip0: PCMCIA/GPIO controller
scoop1 at pxaip0: PCMCIA/GPIO controller
pxapcic0 at pxaip0: 2 slots
pcmcia0 at pxapcic0
pcmcia1 at pxapcic0
pxammc0 at pxaip0: MMC/SD/SDIO controller
sdmmc0 at pxammc0
zssp0 at pxaip0
apm0 at pxaip0
zts0 at pxaip0
wsmouse0 at zts0 mux 0
zaudio0 at pxaip0: I2C, I2S, WM8750 Audio
audio0 at zaudio0
zrc0 at pxaip0: CE-RH2 remote control
wskbd1 at zrc0 mux 1
wskbd1: connecting to wsdisplay0
flash0 at pxaip0: Samsung K9F1G08U0A 128Mx8 3.3V
wdc0 at pcmcia0 function 0 "HITACHI, microdrive" port 0x0/16: irq 138
wd0 at wdc0 channel 0 drive 0: <HMS360606D5CF00>
wd0: 32-sector PIO, LBA, 5859MB, 12000556 sectors
wd0(wdc0:0:0): using BIOS timings
wi0 at pcmcia1 function 0 "Symbol, Spectrum24 LA4100 Series WLAN PC Card, 1.00" port 0x0/64, irq 137
wi0: init failed
: unable to read station address
boot device: wd0.
rootdev=0x1000 rrootdev=0x1000 rawdev=0x1002
scsibus0 at sdmmc0: 2 targets
sd0 at scsibus0 targ 1 lun 0: <SD/MMC, Drive #01, > SCSI2 0/direct fixed
sd0: 243MB, 31 cyl, 255 head, 63 sec, 512 bytes/sec, 498176 sec total
pxammc0: unhandled interrupt 2<PRGDONE>


and ifconfig:
CODE
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 33224
    groups: lo
    inet 127.0.0.1 netmask 0xff000000
    inet6 ::1 prefixlen 128
    inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
cdcef0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
    lladdr 2a:cb:00:00:00:00
enc0: flags=0<> mtu 1536


and ifconfig wi0 up:
CODE
ifconfig: SIOCGIFFLAGS: Device not configured


This post has been edited by ZDevil: Apr 30 2007, 03:13 AM
Go to the top of the page
 
+Quote Post
ZDevil
post Apr 30 2007, 07:10 AM
Post #18





Group: Members
Posts: 2,003
Joined: 16-April 04
From: the Netherlands && /dev/null
Member No.: 2,882



Hmmm...

I have a look at /etc/firmware, and see symbol-eprim and symbol-esec both present. They are the firmwares for Symbol Spectrum24 according to http://www.openbsd.org/cgi-bin/cvsweb/~che.../symbol-license.
And I check with http://en.wikipedia.org/wiki/Comparison_of...ireless_Drivers, wi is the correct interface for this card.
Or am I wrong here?
Already read the ifconfig man page. The problem is I can't even get the interface with "ifconfig -a" What is still missing? sad.gif
Go to the top of the page
 
+Quote Post
jpmatrix
post Apr 30 2007, 08:53 AM
Post #19





Group: Members
Posts: 1,019
Joined: 15-February 05
From: France
Member No.: 6,477



did you read this thread ?

http://www.oesf.org/forums/index.php?showtopic=20116&st=0
Go to the top of the page
 
+Quote Post
ZDevil
post Apr 30 2007, 09:18 AM
Post #20





Group: Members
Posts: 2,003
Joined: 16-April 04
From: the Netherlands && /dev/null
Member No.: 2,882



Thanks, jpmatrix.
So, according to that thread, it seems either the current OpenBSD doesn't support Symbol Spectrum24 (but it IS listed as supported) or some firmware issue?
I've tried using orinoco-fwutils-0.2 to download the firmware files, as I did for pdaXrom r197, and dropped them to /etc/firmware. But still no luck. sad.gif
Go to the top of the page
 
+Quote Post
jpmatrix
post Apr 30 2007, 09:30 AM
Post #21





Group: Members
Posts: 1,019
Joined: 15-February 05
From: France
Member No.: 6,477



QUOTE(ZDevil @ Apr 30 2007, 07:18 PM)
Thanks, jpmatrix.
So, according to that thread, it seems either the current OpenBSD doesn't support Symbol Spectrum24 (but it IS listed as supported) or some firmware issue?
I've tried using orinoco-fwutils-0.2 to download the firmware files, as I did for pdaXrom r197, and dropped them to /etc/firmware. But still no luck. sad.gif
*


did you try to drop them in /lib/firmware ?
Go to the top of the page
 
+Quote Post
ZDevil
post Apr 30 2007, 09:42 AM
Post #22





Group: Members
Posts: 2,003
Joined: 16-April 04
From: the Netherlands && /dev/null
Member No.: 2,882



No, there is no /lib dir in my OpenBSD system.
Go to the top of the page
 
+Quote Post
mathemajikian
post Apr 30 2007, 04:29 PM
Post #23





Group: Members
Posts: 304
Joined: 8-July 06
From: United Kingdom for now....
Member No.: 10,349



OpenBSD doesn't support/play well with any of the mainstream network encryption features , ie ,WPA, or WEP. If you have network keys/security enabled on your wireless router then you'll have to disable them before going any further. Furthermore, you need to have the following files in /etc

hostname.wi0 which should contain the following entries: (name the file hostname.wi0 not dontbestupid.wi0)
inet 192.168.#.# 255.255.255.0 NONE
nwid SSID
(Replace 192.168.#.# with you local IP and SSID with your networks ID)

resolv.conf which should contain the following entry:
nameserver 192.168.#.#

mygate which should contain the following entry:
192.168.#.#

After you have added/edited these files reboot your Z.
Go to the top of the page
 
+Quote Post
ZDevil
post Apr 30 2007, 08:52 PM
Post #24





Group: Members
Posts: 2,003
Joined: 16-April 04
From: the Netherlands && /dev/null
Member No.: 2,882



Thanks, mathemajikian.
Tried your method. Same result. Turning off WEP in router, rebooting still see
CODE
wi0 at pcmcia1 function 0 "Symbol, Spectrum24 LA4100 Series WLAN PC Card, 1.00" port 0x0/64, irq 137
wi0: init failed
: unable to read station address

But rebooting in the D+B mode, then Upgrade, then in the network configuration, when I say "yes" to using the stored network setting, I see "resolver enabled" now instead of "resolver disabled" before.
Any more hint?
Go to the top of the page
 
+Quote Post
ZDevil
post Apr 30 2007, 09:15 PM
Post #25





Group: Members
Posts: 2,003
Joined: 16-April 04
From: the Netherlands && /dev/null
Member No.: 2,882



Also i read here http://www.mail-archive.com/openbsd-newbie...g/msg00161.html
saying that WEP (but not WPA) is actually supported. Or am i mistaken again?
Go to the top of the page
 
+Quote Post
ZDevil
post Apr 30 2007, 09:28 PM
Post #26





Group: Members
Posts: 2,003
Joined: 16-April 04
From: the Netherlands && /dev/null
Member No.: 2,882



I follow http://www.planetofidiots.com/zaurus/#afterboot
and edit the line in /etc/sysctl.conf

machdep.lidsuspend=1

Closing the screen lid will suspend the device. But when I power on again i only see a flash and then the display falls into blackout. Need to kill X to go back to the console. Any solution here?
Go to the top of the page
 
+Quote Post
mathemajikian
post May 1 2007, 02:10 AM
Post #27





Group: Members
Posts: 304
Joined: 8-July 06
From: United Kingdom for now....
Member No.: 10,349



QUOTE(ZDevil @ May 1 2007, 05:28 AM)
I follow http://www.planetofidiots.com/zaurus/#afterboot
and edit the line in /etc/sysctl.conf

machdep.lidsuspend=1

Closing the screen lid will suspend the device. But when I power on again i only see a flash and then the display falls into blackout. Need to kill X to go back to the console. Any solution here?
*


I don't have this issue. Does it happen each time you try and suspend the device in X?

In regards to your wifi issues. Does the card have a version number printed anywhere?
What output does cardctl ident give?
Go to the top of the page
 
+Quote Post
ZDevil
post May 1 2007, 02:38 AM
Post #28





Group: Members
Posts: 2,003
Joined: 16-April 04
From: the Netherlands && /dev/null
Member No.: 2,882



QUOTE(mathemajikian @ May 1 2007, 12:10 PM)
QUOTE(ZDevil @ May 1 2007, 05:28 AM)
I follow http://www.planetofidiots.com/zaurus/#afterboot
and edit the line in /etc/sysctl.conf

machdep.lidsuspend=1

Closing the screen lid will suspend the device. But when I power on again i only see a flash and then the display falls into blackout. Need to kill X to go back to the console. Any solution here?
*


I don't have this issue. Does it happen each time you try and suspend the device in X?

In regards to your wifi issues. Does the card have a version number listed anywhere?
*



Many thanks for your continuous help. smile.gif
The system can suspend and resume by running zzz with apmd added in /etc/rc.conf.local.
But if i use machdep.lidsuspend=1, closing the lid seems to suspend the device, but powering on brings about what i have described.
I found the dmesg reports my Symbol Spectrum24 as LA4100, but at the back of the card it's printed as LA4137. Or do you want me to look for something else about the card?
The card is working as I tested it on my 860 (Sharp ROM) yesterday and it worked perfectly.
Go to the top of the page
 
+Quote Post
mathemajikian
post May 1 2007, 02:45 AM
Post #29





Group: Members
Posts: 304
Joined: 8-July 06
From: United Kingdom for now....
Member No.: 10,349



QUOTE(ZDevil @ May 1 2007, 10:38 AM)
Or do you want me to look for something else about the card?


Whats does the following command output?

# cardctl ident

/* Symbol */
product SYMBOL SPECTRUM24 0x0801 Spectrum24 WLAN IEEE 802.11 FHSS
product SYMBOL LA4100 0x0001 Spectrum24 LA4100 Series WLAN
Go to the top of the page
 
+Quote Post
ZDevil
post May 1 2007, 03:07 AM
Post #30





Group: Members
Posts: 2,003
Joined: 16-April 04
From: the Netherlands && /dev/null
Member No.: 2,882



Here it is (cardctl ident, there is no pccardctl in my OpenBSD.):

CODE
Socket 0:
 product info: "Symbol", "Spectrum24 LA4100 Series WLAN PC Card", "1.00"
 manfid: 0x026c, 0x0001
 function: 6 (network)

Thanks again.
Go to the top of the page
 
+Quote Post

3 Pages V  < 1 2 3 >
Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 19th September 2014 - 03:52 AM