Re: WiFi PC Card Atheros AR5213 - Association doesn't work, Status: no network

2006-09-27 Thread ip

On 9/27/06, Peter Hessler [EMAIL PROTECTED] wrote:

 Its been pointed out to me that zyd(4) was disabled for release.  Not to
 mention, it currently doesn't work.

 When the driver is enabled, the above device will attach as zyd(4).


:-(



 : Welcome to the club.  The F5D7050 has several variations which can be
 : either ural, rum or zyd. The manufacturer didn't even have the common
 : courtesy of changing the model number.
 :

fuck! Now i must search another different hardware

Thanks to all,

--
 ip



Re: WiFi PC Card Atheros AR5213 - Association doesn't work, Status: no network

2006-09-26 Thread ip

On 9/25/06, ip [EMAIL PROTECTED] wrote:

I'm thinking to buy the Belink F5D7050USB 2.0 802.11b/g adapter,
listed in i386 hardware list.
Chipset Ralink RT2500 - ural driver.

And I hope it working in g mode...

Cheers,

--
  ip



Argh.. I have bought it...but when I have inserted it, the message is been:

$dmesg
ugen0 at uhub5 port 1
ugen0: Belkin USB2.0 WLAN, rev 2.00/48.10, addr 2

$ ifconfig
lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 33224
   groups: lo
   inet 127.0.0.1 netmask 0xff00
   inet6 ::1 prefixlen 128
   inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5
fxp0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
   lladdr 00:d0:59:b7:62:8b
   groups: egress
   media: Ethernet 100baseTX full-duplex
   status: active
   inet 192.168.2.2 netmask 0xff00 broadcast 192.168.2.255
   inet6 fe80::2d0:59ff:feb7:628b%fxp0 prefixlen 64 scopeid 0x1
pflog0: flags=0 mtu 33224
pfsync0: flags=0 mtu 1460
enc0: flags=0 mtu 1536

No ural0...even if the model that I have bought is the F5D7050, how is
reported in i386 hardware compatibility list :(((

And from man page...

The following USB 2.0 adapters should work:

AMIT WL532U.  ASUS WL-167g.  Belkin F5D7050 v2000.  Buffalo WLI-U2-KG54.
...

Why the system doesn't recognize it ?

--
 ip



Re: WiFi PC Card Atheros AR5213 - Association doesn't work, Status: no network

2006-09-26 Thread ip
 function 1: irq 11, version 1.0
usb4 at ohci1: USB revision 1.0
uhub4 at usb4
uhub4: NEC OHCI root hub, rev 1.00/1.00, addr 1
uhub4: 2 ports with 2 removable, self powered
ehci0 at cardbus1 dev 0 function 2: NEC USB rev 0x02 (rev. 0x02)
ehci0: interrupting at 11
usb5 at ehci0: USB revision 2.0
uhub5 at usb5
uhub5: NEC EHCI root hub, rev 2.00/1.00, addr 1
uhub5: 5 ports with 5 removable, self powered
ugen0 at uhub5 port 1
ugen0: Belkin USB2.0 WLAN, rev 2.00/48.10, addr 2



For USB problems, include `usbdevs -v' output too, it will list the
device vendor and product codes. It might help to include the FCC ID
number if one is printed on the device or packaging (fairly common
with wireless devices).


$ usbdevs -v
Controller /dev/usb0:
addr 1: full speed, self powered, config 1, UHCI root hub(0x),
Intel(0x8086), rev 1.00
port 1 powered
port 2 powered
Controller /dev/usb1:
addr 1: full speed, self powered, config 1, UHCI root hub(0x),
Intel(0x8086), rev 1.00
port 1 powered
port 2 powered
Controller /dev/usb2:
addr 1: full speed, self powered, config 1, UHCI root hub(0x),
Intel(0x8086), rev 1.00
port 1 powered
port 2 powered
Controller /dev/usb3:
addr 1: full speed, self powered, config 1, OHCI root hub(0x),
NEC(0x1033), rev 1.00
port 1 powered
port 2 powered
port 3 powered
Controller /dev/usb4:
addr 1: full speed, self powered, config 1, OHCI root hub(0x),
NEC(0x1033), rev 1.00
port 1 powered
port 2 powered
Controller /dev/usb5:
addr 1: high speed, self powered, config 1, EHCI root hub(0x),
NEC(0x1033), rev 1.00
port 1 addr 2: high speed, power 500 mA, config 1, USB2.0
WLAN(0x705c), Belkin(0x050d), rev 48.10
port 2 powered
port 3 powered
port 4 powered
port 5 powered

The FCC ID number is RAXWN4501H



 AMIT WL532U.  ASUS WL-167g.  Belkin F5D7050 v2000.  Buffalo WLI-U2-KG54.
 Why the system doesn't recognize it ?

Perhaps you have some revision other than v2000?





From dmesg I look:

ugen0: Belkin USB2.0 WLAN, rev 2.00/48.10, addr 2
so, I think to have the revision 2000...or 4810 (looking also usbdev) ?!

Which is my situation ?

Thanks for the tips,

--
 ip



Re: WiFi PC Card Atheros AR5213 - Association doesn't work, Status: no network

2006-09-26 Thread ip

On 9/26/06, Stuart Henderson [EMAIL PROTECTED] wrote:


much better, thanks. 3.9 GENERIC i386 built by [EMAIL PROTECTED] is a
lot more information than just saying 3.9.


right :)


 port 1 addr 2: high speed, power 500 mA, config 1, USB2.0
 WLAN(0x705c), Belkin(0x050d), rev 48.10
 The FCC ID number is RAXWN4501H

this uses a Zydas chip (FCC have photos of the innards too) and the
IDs were added before 4.0 was tagged, this should work in 4.0.



What's meaning that ? It's different from the hardware listed in i386
compatibility list?
Is not based on Ralink RT2500 driver ?

Unfortunately, on the box is reported only the F5D7050 model...and
it's not more enough for a correct choice...i'm frustrated :(

--
 ip



WiFi PC Card Atheros AR5213 - Association doesn't work, Status: no network

2006-09-25 Thread ip

Hello guys,
I have OpenBSD 3.9 on a thinkpad T23.

I have also a PC Card (Trust Speedshare Turbo Pro-Wireless) and I want
to join to my wifi area:
Authentication Type: Open System
SSID: wcontea
Channel: 6
WEP Enable: 128bit HEX

The following steps explain what I have done:

$ dmesg
...
ath0 at cardbus1 dev 0 function 0 Atheros Communications, Inc.,
AR5001--, Wireless LAN Reference Card: irq 11
ath0: AR5213 5.9 phy 4.3 rf2112a 4.6, ETSI4W, address 00:03:2f:20:8b:6c

$ ifconfig
lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 33224
   groups: lo
   inet 127.0.0.1 netmask 0xff00
   inet6 ::1 prefixlen 128
   inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5
fxp0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
   lladdr 00:d0:59:b7:62:8b
   groups: egress
   media: Ethernet 100baseTX full-duplex
   status: no carrier
   inet 192.168.1.101 netmask 0xff00 broadcast 192.168.1.255
   inet6 fe80::2d0:59ff:feb7:628b%fxp0 prefixlen 64 scopeid 0x1
pflog0: flags=0 mtu 33224
pfsync0: flags=0 mtu 1460
enc0: flags=0 mtu 1536
ath0: flags=8822BROADCAST,NOTRAILERS,SIMPLEX,MULTICAST mtu 1500
   lladdr 00:03:2f:20:8b:6c
   media: IEEE802.11 autoselect
   status: no network
   ieee80211: nwid 

$ sudo ifconfig -M ath0
ath0: flags=8822BROADCAST,NOTRAILERS,SIMPLEX,MULTICAST mtu 1500
   lladdr 00:03:2f:20:8b:6c
   media: IEEE802.11 autoselect
   status: no network
   ieee80211: nwid 
   nwid wcontea chan 6 bssid 00:03:2f:24:08:3e 15dB 54M
privacy,short_preamble,short_slottime

$ sudo ifconfig ath0 nwid wcontea nwkey ...my hex key...
$ sudo ifconfig ath0 192.168.1.102 netmask 255.255.255.0

$ ifconfig ath0
ath0: flags=8863UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST mtu 1500
   lladdr 00:03:2f:20:8b:6c
   media: IEEE802.11 autoselect (DS1)
   status: no network
   ieee80211: nwid wcontea nwkey not displayed
   inet6 fe80::203:2fff:fe20:8b6c%ath0 prefixlen 64 scopeid 0x6
   inet 192.168.1.102 netmask 0xff00 broadcast 192.168.1.255
$ ifconfig ath0
ath0: flags=8863UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST mtu 1500
   lladdr 00:03:2f:20:8b:6c
   media: IEEE802.11 autoselect (DS1 mode 11b)
   status: no network
   ieee80211: nwid wcontea chan 6 bssid 00:03:2f:24:08:3e nwkey
not displayed
   inet6 fe80::203:2fff:fe20:8b6c%ath0 prefixlen 64 scopeid 0x6
   inet 192.168.1.102 netmask 0xff00 broadcast 192.168.1.255
$ ifconfig ath0
ath0: flags=8863UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST mtu 1500
   lladdr 00:03:2f:20:8b:6c
   media: IEEE802.11 autoselect (DS1 mode 11b)
   status: no network
   ieee80211: nwid wcontea nwkey not displayed
   inet6 fe80::203:2fff:fe20:8b6c%ath0 prefixlen 64 scopeid 0x6
   inet 192.168.1.102 netmask 0xff00 broadcast 192.168.1.255

I have also tried media DS11, OFDM54 with the respective mode 11b
and g but I don't obtain the association with my AP.

Moreover, every time I make the modifications, there are errors like these:
...
Sep 25 12:55:36 vapordrago /bsd: ar5k_ar5212_nic_wakeup: failed to
resume the AR5212 (again)
Sep 25 12:55:36 vapordrago /bsd: ath0: unable to reset hardware; hal status 3
Sep 25 12:55:43 vapordrago /bsd: ath0: device timeout
Sep 25 12:56:20 vapordrago /bsd: ar5k_ar5212_nic_wakeup: failed to
resume the AR5212 (again)
Sep 25 12:56:20 vapordrago /bsd: ath0: unable to reset hardware; hal status 3
Sep 25 13:01:04 vapordrago /bsd: arp_rtrequest: bad gateway value
Sep 25 13:07:34 vapordrago /bsd: ar5k_ar5212_nic_wakeup: failed to
resume the AR5212 (again)
Sep 25 13:07:34 vapordrago /bsd: ath0: unable to reset hardware; hal status 2

How can I resolve ?

Thanks,
best regards

--
 ip



Re: WiFi PC Card Atheros AR5213 - Association doesn't work, Status: no network

2006-09-25 Thread ip

I'm thinking to buy the Belink F5D7050USB 2.0 802.11b/g adapter,
listed in i386 hardware list.
Chipset Ralink RT2500 - ural driver.

And I hope it working in g mode...

Cheers,

--
 ip



[Resolved] Help with CUPS and Samsung ML-1710

2006-05-31 Thread ip

I have resolved configuring the printer in raw mode...and reading
carefully the official samba how-to: Classical Printing, and CUPS
Printing

;-)

-- Forwarded message --
From: ip [EMAIL PROTECTED]
Date: May 30, 2006 5:06 PM
Subject: Help with CUPS and Samsung ML-1710
To: misc@openbsd.org


Hello,
I've been trying to get my Samsung ML-1710 running under OpenBSD with
CUPS.
Installation of everything seems to have gone o.k., but I can't print
anything...

From dmesg I receive:


ulpt0 at uhub1 port 2 configuration 1 interface 0
ulpt0: Samsung Electronics Co., Ltd. Samsung ML-1710 Series, rev
1.10/1.00, addr 2, iclass 7/1
ulpt0: using bi-directional mode

I have configured it via web,

Samsung ML-1710 Foomatic/gdi (recommended)
Description: Stampante Laser B/N
Location:
Printer State: idle, accepting jobs.
Device URI: usb:/dev/ulpt0

but if I running /usr/local/libexec/cups/backend/usb manually, the prompt shows:

# ./usb
direct usb:/dev/ulpt0 Unknown USB Printer #1
direct usb:/dev/ulpt1 Unknown USB Printer #2

The cps's error_log file don't show errors,

I [30/May/2006:15:18:34 +0200] Started
/usr/local/libexec/cups/cgi-bin/printers.cgi (pid=28574)
I [30/May/2006:15:18:35 +0200] Adding start banner page none to job 1.
I [30/May/2006:15:18:35 +0200] Adding end banner page none to job 1.
I [30/May/2006:15:18:35 +0200] Job 1 queued on 'ML1710' by 'root'.
I [30/May/2006:15:18:35 +0200] Started filter
/usr/local/libexec/cups/filter/pstops (PID 1194) for job 1.
I [30/May/2006:15:18:35 +0200] Started filter
/usr/local/libexec/cups/filter/foomatic-rip (PID 5490) for job 1.
I [30/May/2006:15:18:35 +0200] Started backend
/usr/local/libexec/cups/backend/usb (PID 26302) for job 1.
I [30/May/2006:15:18:36 +0200] Started
/usr/local/libexec/cups/cgi-bin/printers.cgi (pid=28339)

and also when I search to bypass the spooler mechanism,

# lptest  /dev/ulpt0

it doesn't print :(


I hope in your help :)
Thanks,

--
 ip



Help with CUPS and Samsung ML-1710

2006-05-30 Thread ip

Hello,
I've been trying to get my Samsung ML-1710 running under OpenBSD with
CUPS.
Installation of everything seems to have gone o.k., but I can't print
anything...

From dmesg I receive:


ulpt0 at uhub1 port 2 configuration 1 interface 0
ulpt0: Samsung Electronics Co., Ltd. Samsung ML-1710 Series, rev
1.10/1.00, addr 2, iclass 7/1
ulpt0: using bi-directional mode

I have configured it via web,

Samsung ML-1710 Foomatic/gdi (recommended)  
Description: Stampante Laser B/N
Location:
Printer State: idle, accepting jobs.
Device URI: usb:/dev/ulpt0

but if I running /usr/local/libexec/cups/backend/usb manually, the prompt shows:

# ./usb
direct usb:/dev/ulpt0 Unknown USB Printer #1
direct usb:/dev/ulpt1 Unknown USB Printer #2

The cps's error_log file don't show errors,

I [30/May/2006:15:18:34 +0200] Started
/usr/local/libexec/cups/cgi-bin/printers.cgi (pid=28574)
I [30/May/2006:15:18:35 +0200] Adding start banner page none to job 1.
I [30/May/2006:15:18:35 +0200] Adding end banner page none to job 1.
I [30/May/2006:15:18:35 +0200] Job 1 queued on 'ML1710' by 'root'.
I [30/May/2006:15:18:35 +0200] Started filter
/usr/local/libexec/cups/filter/pstops (PID 1194) for job 1.
I [30/May/2006:15:18:35 +0200] Started filter
/usr/local/libexec/cups/filter/foomatic-rip (PID 5490) for job 1.
I [30/May/2006:15:18:35 +0200] Started backend
/usr/local/libexec/cups/backend/usb (PID 26302) for job 1.
I [30/May/2006:15:18:36 +0200] Started
/usr/local/libexec/cups/cgi-bin/printers.cgi (pid=28339)

and also when I search to bypass the spooler mechanism,

# lptest  /dev/ulpt0

it doesn't print :(


I hope in your help :)
Thanks,

--
 ip



Re: Raid 1 and 2 Disks: kernel panic with init: not found when reboot into broken mirror

2006-05-21 Thread ip

On 5/20/06, Joachim Schipper [EMAIL PROTECTED] wrote:


...
Kernelized RAIDFrame activated
dkcsum wd0 matches BIOS drive 0x80
dkcsum wd1 matches BIOS drive 0x81
root on wd1a
rootdev=0x10 rrootdev=0x320 rawdev=0x312
warning: /dev/console does not exist
init: not found
panic: no init
...
ddb


This looks like the RAID is not autoconfiguring at all. Maybe you didn't
build the kernel with the proper options, or maybe you forgot raidctl -A
root?

Joachim



Hi joachim,
it seems so, but I haven't forgotten the above command
and the kernel config file options are:

# GENERIC.RAID
  include arch/i386/conf/GENERIC
  option RAID_AUTOCONFIG
  pseudo-device raid 4

However, this week I will re-start from zero and I'll write you,
thanks ;-)

 ip



Re: Raid 1 and 2 Disks: kernel panic with init: not found when reboot into broken mirror

2006-05-16 Thread ip

On 5/14/06, Joachim Schipper [EMAIL PROTECTED] wrote:



While wd1a does have a kernel, it does not have a proper root filesystem
- for instance, no /dev directory, or more specifically no /dev/console.

Fix this, and also have a look at daily(8) which documents the altroot
mechanism, which is quite useful to ensure backup kernels can always be
found in a RAIDed system.

Joachim



Hello misc,
Hi Joachim and thanks for the tips.
However, I don't understand why I receive this errors.


From the raidctl man page:

 Section: Auto-configuration and Root on RAID
...
RAID sets which are auto-configurable will be configured before the root
file system is mounted.  These RAID sets are thus available for use as a
root file system, or for any other file system.
 [snip]
Note that kernels can't be directly read from a RAID component.  To sup-
port the root file system on RAID sets, some mechanism must be used to
get a kernel booting.  For example, a small partition containing only the
secondary boot-blocks and an alternate kernel (or two) could be used.
Once a kernel is booting however, and an auto-configured RAID set is
found that is eligible to be root, then that RAID set will be auto-con-
figured and its `a' partition (aka raid[0..n]a) will be used as the root
file system.
...

So, when I make the wd1a partition, I think that bsd and boot files
are sufficient for the goal.
Instead, during the reboot into degrade mode, the error messages seem
to indicate that the Auto RAID system has not been activated.
Infact I have fixed dev/console and other mechanisms, but this
solution go to recreate a minimum complete installation into wd1a...

Help :\

--
 ip



Raid 1 and 2 Disks: kernel panic with init: not found when reboot into broken mirror

2006-05-13 Thread ip

Hello misc,

I spent two days to read man and how-tos, but today I don't succeed
again to make raid 1 to work.
I want to install openbsd 3.9 on two ide disks (wd0,wd1) of 10 gb with
raidframe raid 1.
Following the main steps that I have executed:
1. regular installation of openbsd 3.9 on wd0
2. compiled a new kernel with raidframe autoconfigure support
3. reboot with the new kernel into wd0
4. initialized and partitioned wd1

   # fdisk -I wd1
   # disklabel -E wd1

   wd1a 4.2BSD 64MB
   wd1d RAID *

5. make wd1 bootable

   # newfs wd1a
   # mount /dev/wd1a /mnt
   # cp /bsd.raid /usr/mdec/boot /mnt
   # /usr/mdec/installboot -v /mnt/boot /usr/mdec/biosboot wd1
   # umount /mnt

5. realized and initialized the array

   # cat /etc/raid0.conf
   START array
   1 2 0
   START disks
   /dev/wd2d
   /dev/wd1d
   START layout
   128 1 1 1
   START queue
   fifo 100

   # raidctl -C /etc/raid0.conf
   # raidctl -I 060500 raid0
   # raidctl -A root raid0

6. partitioned and populated raid0

   # disklabel -E raid0

raid0a / 4.2BSD
raid0b swap
raid0d /usr 4.2BSD
raid0e /tmp 4.2BSD
raid0f /var 4.2BSD
raid0g /home 4.2BSD

   # for i in a d e f g; do newfs raid0${i}; done

   # mount /dev/raid0a /mnt
   # cd /mnt; mkdir usr tmp var home
   # mount /dev/raid0d /mnt/usr
   # mount /dev/raid0e /mnt/tmp
   etc...

   # (cd /; tar -Xcpf - .) | (cd /mnt; tar -xpf -)
   # (cd /usr; tar -cpf - .) | (cd /mnt/usr; tar -xpf -)
   etc...

   # cat /mnt/etc/fstab

/dev/raid0a / ffs rw 1 1
/dev/raid0d /usr ffs rw 1 2
etc...

Ok...umount all and reboot into broken mirror.
At prompt:

boot wd1a:/bsd


the kernel go up succesfully until I received:

   ...
   Kernelized RAIDFrame activated
   dkcsum wd0 matches BIOS drive 0x80
   dkcsum wd1 matches BIOS drive 0x81
   root on wd1a
   rootdev=0x10 rrootdev=0x320 rawdev=0x312
   warning: /dev/console does not exist
   init: not found
   panic: no init
   ...
   ddb

Well, where I have make a mistake ?

Thanks in andvance and sorry for the english...

--
 ip