Author Topic: Extreme Newbie Questions  (Read 14563 times)

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
Extreme Newbie Questions
« Reply #15 on: April 30, 2007, 06:26:25 am »
Quote
Quote
-- Any simple wifi CF setup instructions?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=160107\"][{POST_SNAPBACK}][/a][/div]

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
[div align=\"right\"][a href=\"index.php?act=findpost&pid=160113\"][{POST_SNAPBACK}][/a][/div]

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

When I enter ifconfig wi0 up, i got this:
Code: [Select]
ifconfig: SIOCGIFFLAGS: Device not configured
When plugging in the card, dmesg recognizes the card, but reads:
Code: [Select]
wi0: init failed

What do i miss here?    Thanks again!
« Last Edit: April 30, 2007, 06:34:54 am by ZDevil »

Life is too precious for hacking *too much*
Visit my Z screencap gallery[/color]
My EeePC 701 Black = Debian (Lenny) on IceRocks + Transcend SDHC Class6 8GB + 2GB RAM
My Zaurus SL-C3200 = Debian EABI (kernel 2.6.24.3-yonggun) on a swapped internal Sandisk Extreme III CF 16gb
My Debian EABI feed: http://matrixmen.free.fr/zaurus/debian/
My OpenBSD/Zaurus feeds:  Link1, Link2
[/i][/font][/color][/size]

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
Extreme Newbie Questions
« Reply #16 on: April 30, 2007, 07:00:52 am »
Here is the output of dmesg:

Code: [Select]
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:
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: SCSI2 0/direct fixed
sd0: 243MB, 31 cyl, 255 head, 63 sec, 512 bytes/sec, 498176 sec total
pxammc0: unhandled interrupt 2

and ifconfig:
Code: [Select]
lo0: flags=8049 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 mtu 1500
    lladdr 2a:cb:00:00:00:00
enc0: flags=0<> mtu 1536

and ifconfig wi0 up:
Code: [Select]
ifconfig: SIOCGIFFLAGS: Device not configured
« Last Edit: April 30, 2007, 07:13:14 am by ZDevil »

Life is too precious for hacking *too much*
Visit my Z screencap gallery[/color]
My EeePC 701 Black = Debian (Lenny) on IceRocks + Transcend SDHC Class6 8GB + 2GB RAM
My Zaurus SL-C3200 = Debian EABI (kernel 2.6.24.3-yonggun) on a swapped internal Sandisk Extreme III CF 16gb
My Debian EABI feed: http://matrixmen.free.fr/zaurus/debian/
My OpenBSD/Zaurus feeds:  Link1, Link2
[/i][/font][/color][/size]

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
Extreme Newbie Questions
« Reply #17 on: April 30, 2007, 11:10:50 am »
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?
« Last Edit: April 30, 2007, 11:11:38 am by ZDevil »

Life is too precious for hacking *too much*
Visit my Z screencap gallery[/color]
My EeePC 701 Black = Debian (Lenny) on IceRocks + Transcend SDHC Class6 8GB + 2GB RAM
My Zaurus SL-C3200 = Debian EABI (kernel 2.6.24.3-yonggun) on a swapped internal Sandisk Extreme III CF 16gb
My Debian EABI feed: http://matrixmen.free.fr/zaurus/debian/
My OpenBSD/Zaurus feeds:  Link1, Link2
[/i][/font][/color][/size]

jpmatrix

  • Hero Member
  • *****
  • Posts: 1014
    • View Profile
    • http://matrixmen.free.fr
Extreme Newbie Questions
« Reply #18 on: April 30, 2007, 12:53:53 pm »
**Fujitsu U1010 !!!  
**ex-Zaurus SL-C3000 owner with Debian kernel 2.6.24-yonggun

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
Extreme Newbie Questions
« Reply #19 on: April 30, 2007, 01:18:07 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.

Life is too precious for hacking *too much*
Visit my Z screencap gallery[/color]
My EeePC 701 Black = Debian (Lenny) on IceRocks + Transcend SDHC Class6 8GB + 2GB RAM
My Zaurus SL-C3200 = Debian EABI (kernel 2.6.24.3-yonggun) on a swapped internal Sandisk Extreme III CF 16gb
My Debian EABI feed: http://matrixmen.free.fr/zaurus/debian/
My OpenBSD/Zaurus feeds:  Link1, Link2
[/i][/font][/color][/size]

jpmatrix

  • Hero Member
  • *****
  • Posts: 1014
    • View Profile
    • http://matrixmen.free.fr
Extreme Newbie Questions
« Reply #20 on: April 30, 2007, 01:30:27 pm »
Quote
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.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=160129\"][{POST_SNAPBACK}][/a][/div]

did you try to drop them in /lib/firmware ?
**Fujitsu U1010 !!!  
**ex-Zaurus SL-C3000 owner with Debian kernel 2.6.24-yonggun

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
Extreme Newbie Questions
« Reply #21 on: April 30, 2007, 01:42:32 pm »
No, there is no /lib dir in my OpenBSD system.
« Last Edit: April 30, 2007, 01:44:59 pm by ZDevil »

Life is too precious for hacking *too much*
Visit my Z screencap gallery[/color]
My EeePC 701 Black = Debian (Lenny) on IceRocks + Transcend SDHC Class6 8GB + 2GB RAM
My Zaurus SL-C3200 = Debian EABI (kernel 2.6.24.3-yonggun) on a swapped internal Sandisk Extreme III CF 16gb
My Debian EABI feed: http://matrixmen.free.fr/zaurus/debian/
My OpenBSD/Zaurus feeds:  Link1, Link2
[/i][/font][/color][/size]

mathemajikian

  • Sr. Member
  • ****
  • Posts: 301
    • View Profile
    • http://exit3.i-55.com/~xikon/openbsdzaurus.html
Extreme Newbie Questions
« Reply #22 on: April 30, 2007, 08:29:03 pm »
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: [span style=\'font-size:8pt;line-height:100%\'](name the file hostname.wi0 not dontbestupid.wi0) [/span]
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.
« Last Edit: May 01, 2007, 06:05:17 am by mathemajikian »

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
Extreme Newbie Questions
« Reply #23 on: May 01, 2007, 12:52:31 am »
Thanks, mathemajikian.
Tried your method. Same result. Turning off WEP in router, rebooting still see
Code: [Select]
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?
« Last Edit: May 01, 2007, 12:53:37 am by ZDevil »

Life is too precious for hacking *too much*
Visit my Z screencap gallery[/color]
My EeePC 701 Black = Debian (Lenny) on IceRocks + Transcend SDHC Class6 8GB + 2GB RAM
My Zaurus SL-C3200 = Debian EABI (kernel 2.6.24.3-yonggun) on a swapped internal Sandisk Extreme III CF 16gb
My Debian EABI feed: http://matrixmen.free.fr/zaurus/debian/
My OpenBSD/Zaurus feeds:  Link1, Link2
[/i][/font][/color][/size]

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
Extreme Newbie Questions
« Reply #24 on: May 01, 2007, 01:15:06 am »
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?

Life is too precious for hacking *too much*
Visit my Z screencap gallery[/color]
My EeePC 701 Black = Debian (Lenny) on IceRocks + Transcend SDHC Class6 8GB + 2GB RAM
My Zaurus SL-C3200 = Debian EABI (kernel 2.6.24.3-yonggun) on a swapped internal Sandisk Extreme III CF 16gb
My Debian EABI feed: http://matrixmen.free.fr/zaurus/debian/
My OpenBSD/Zaurus feeds:  Link1, Link2
[/i][/font][/color][/size]

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
Extreme Newbie Questions
« Reply #25 on: May 01, 2007, 01:28:33 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?
« Last Edit: May 01, 2007, 01:30:23 am by ZDevil »

Life is too precious for hacking *too much*
Visit my Z screencap gallery[/color]
My EeePC 701 Black = Debian (Lenny) on IceRocks + Transcend SDHC Class6 8GB + 2GB RAM
My Zaurus SL-C3200 = Debian EABI (kernel 2.6.24.3-yonggun) on a swapped internal Sandisk Extreme III CF 16gb
My Debian EABI feed: http://matrixmen.free.fr/zaurus/debian/
My OpenBSD/Zaurus feeds:  Link1, Link2
[/i][/font][/color][/size]

mathemajikian

  • Sr. Member
  • ****
  • Posts: 301
    • View Profile
    • http://exit3.i-55.com/~xikon/openbsdzaurus.html
Extreme Newbie Questions
« Reply #26 on: May 01, 2007, 06:10:43 am »
Quote
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?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=160164\"][{POST_SNAPBACK}][/a][/div]

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?
« Last Edit: May 01, 2007, 07:26:13 am by mathemajikian »

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
Extreme Newbie Questions
« Reply #27 on: May 01, 2007, 06:38:28 am »
Quote
Quote
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?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=160164\"][{POST_SNAPBACK}][/a][/div]

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?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=160181\"][{POST_SNAPBACK}][/a][/div]

Many thanks for your continuous help.
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.
« Last Edit: May 01, 2007, 06:40:28 am by ZDevil »

Life is too precious for hacking *too much*
Visit my Z screencap gallery[/color]
My EeePC 701 Black = Debian (Lenny) on IceRocks + Transcend SDHC Class6 8GB + 2GB RAM
My Zaurus SL-C3200 = Debian EABI (kernel 2.6.24.3-yonggun) on a swapped internal Sandisk Extreme III CF 16gb
My Debian EABI feed: http://matrixmen.free.fr/zaurus/debian/
My OpenBSD/Zaurus feeds:  Link1, Link2
[/i][/font][/color][/size]

mathemajikian

  • Sr. Member
  • ****
  • Posts: 301
    • View Profile
    • http://exit3.i-55.com/~xikon/openbsdzaurus.html
Extreme Newbie Questions
« Reply #28 on: May 01, 2007, 06:45:06 am »
Quote
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
« Last Edit: May 01, 2007, 07:25:42 am by mathemajikian »

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
Extreme Newbie Questions
« Reply #29 on: May 01, 2007, 07:07:54 am »
Here it is (cardctl ident, there is no pccardctl in my OpenBSD.):

Code: [Select]
Socket 0:
  product info: "Symbol", "Spectrum24 LA4100 Series WLAN PC Card", "1.00"
  manfid: 0x026c, 0x0001
  function: 6 (network)
Thanks again.
« Last Edit: May 01, 2007, 07:08:08 am by ZDevil »

Life is too precious for hacking *too much*
Visit my Z screencap gallery[/color]
My EeePC 701 Black = Debian (Lenny) on IceRocks + Transcend SDHC Class6 8GB + 2GB RAM
My Zaurus SL-C3200 = Debian EABI (kernel 2.6.24.3-yonggun) on a swapped internal Sandisk Extreme III CF 16gb
My Debian EABI feed: http://matrixmen.free.fr/zaurus/debian/
My OpenBSD/Zaurus feeds:  Link1, Link2
[/i][/font][/color][/size]