Re: wireless ethernet (ralink) not working

2013-03-23 Thread Riccardo Mottola

Hi,

On 03/23/13 00:58, Ted Unangst wrote:

On Fri, Mar 22, 2013 at 23:59, Riccardo Mottola wrote:


I thus configure ifconfig ral0 nwkey  nwid , where is yyy is the
network id I know and which was also found by the scan.
I see the lights go up on the card.

If you're trying to use WPA, you should use wpakey . If you really
are trying to use WEP, you really shouldn't.
Yes, it is WEP and WEP should work exactly as an unencrypted network 
should work.


It might be that I am trying to connect to networks of which I am not 
the admin?


Riccardo



Re: wireless ethernet (ralink) not working

2013-03-23 Thread Mihai Popescu
 It might be that I am trying to connect to networks of which I am not
 the admin?

 Riccardo

No, it is the fact that you are using 'nwkey' instead of 'wpakey', a
common mistake I was plagued with.
Try the command 'man ral' and you will see some examples.



Re: Absolute OpenBSD 2nd Edition pre-orders are up.

2013-03-23 Thread Mihai Popescu
http://marc.info/?l=openbsd-miscm=105723966516199w=2

I like the 'a moose with uncontrolled diabetes' and 'UPS' Kidney
Transplant Express' parts. Is there any chance for you to start
non-technical writting or 'Dilbert style' cartoons? If so, that will
be really interesting to read.

Thanks.



Re: dzen2 with cwm

2013-03-23 Thread James Griffin
[- Fri 22.Mar'13 at 21:06:43 +  Stuart Henderson :-]

 On 2013-03-22, Alexander Polakov p...@sdf.org wrote:
  * James Griffin j...@kontrol.kode5.net [130322 15:10]:
  I was wondering if anyone uses dzen2 with OpenBSD (-current). If so I'd
  be really interested to see some examples of setups and scripts.  I'd like
  to be able to see network activity, mailbox updates/status and a few other 
  items
  of interest. Nothing too complex.
 
  You may be probably interested in sysutils/xstatbar (nice graphs) or 
  x11/xmobar
  (all included) if you're too lazy to write monitoring scripts by yorself. Or
  just pipe sysutils/conky output to dzen2.
 
 
 I used to do exactly this (pipe conky output through dzen2), then switched to 
 xstatbar.

Cheers Stuart/Alexander - conky \w dzen2 or xstatbar seems worth a go.
No doubt i'll probably just uninstall them after a while. Afterall, I
can get info from the commandline and also use tmux to show some stats.
Just playing around with cwm really, so maybe i've too much time on my
hands :-) .

I'd probably be better off using the time to help in some with the
project, like writing docs - i'm pretty good at that.

Cheers for all replies and links etc.

Jamie.


-- 
James Griffin:  jmz at kontrol.kode5.net 
jmzgriffin at gmail.com

A4B9 E875 A18C 6E11 F46D  B788 BEE6 1251 1D31 DC38



Atom D2550 (cedarview) working now with kms?

2013-03-23 Thread Brett Mahar

Hi,

Now that the KMS stuff has arrived (thanks for that!), I'm looking at 
this device from Shuttle http://axcco.com/xs35v3.html. It has an Atom 
D2550 with Intel GMA 3650 Graphic engine, should it work as well as 
the Pineview series Atoms do in displaying Xvideo output?


Also the audio chipset is an Intel IDT92HD81, should it work with azalia(4)?

I've been searching on the net for some answers to these questions, but 
could not find any.


Cheers,
Brett.



Re: Atom D2550 (cedarview) working now with kms?

2013-03-23 Thread Jonathan Gray
On Sun, Mar 24, 2013 at 12:39:26AM +1100, Brett Mahar wrote:
 Hi,
 
 Now that the KMS stuff has arrived (thanks for that!), I'm looking
 at this device from Shuttle http://axcco.com/xs35v3.html. It has an
 Atom D2550 with Intel GMA 3650 Graphic engine, should it work as
 well as the Pineview series Atoms do in displaying Xvideo output?

No, this along with GMA 500/600 and 3600 is PowerVR based.
Even the experimental and incomplete drm driver is GPL
licensed so we'll never touch it.  Thankfully Intel is
ditching the PowerVR parts in the valleyview atoms that
are supposedly coming out later this year.



Re: wireless ethernet (ralink) not working

2013-03-23 Thread Riccardo Mottola

Hi,

On 03/23/13 11:02, Mihai Popescu wrote:

No, it is the fact that you are using 'nwkey' instead of 'wpakey', a
common mistake I was plagued with.
Try the command 'man ral' and you will see some examples.

But i am connecting to a WEP protected network, not WPA.

Riccardo



Re: wireless ethernet (ralink) not working

2013-03-23 Thread Riccardo Mottola

Hi,

just saying that I don't need a lesson in how to set up a network 
security, but how to connecto to an existing one using my card, I do 
wonder (read below)


On 03/22/13 23:59, Riccardo Mottola wrote:


I then run dhclient ral0 but I get no link:
# dhclient ral0
ral0: no link . sleeping

The strange part is that I don't see the lights blinking. usually 
during this operation on other operating system I see network traffic.


Shouldn't I always see blinking lights when doing a dhcp request? Even 
if the key were to be wrong (which it isn't)?



Thanks,
Riccardo



Re: wireless ethernet (ralink) not working

2013-03-23 Thread Peter N. M. Hansteen
Riccardo Mottola riccardo.mott...@libero.it writes:

 But i am connecting to a WEP protected network, not WPA.

typical hostname.if for a wep network:

media autoselect nwid wepnetwork nwkey secretasitgets
dhcp
rtsol

activates at boot, or if you do 'sudo sh /etc/netstart ifname'

for wpa, you would change 'nwkey' to 'wpakey' and get sensible defaults.

- P

-- 
Peter N. M. Hansteen, member of the first RFC 1149 implementation team
http://bsdly.blogspot.com/ http://www.bsdly.net/ http://www.nuug.no/
Remember to set the evil bit on all malicious network traffic
delilah spamd[29949]: 85.152.224.147: disconnected after 42673 seconds.



Re: Atom D2550 (cedarview) working now with kms?

2013-03-23 Thread Ted Unangst
On Sun, Mar 24, 2013 at 00:39, Brett Mahar wrote:
 Hi,
 
 Now that the KMS stuff has arrived (thanks for that!), I'm looking at
 this device from Shuttle http://axcco.com/xs35v3.html. It has an Atom
 D2550 with Intel GMA 3650 Graphic engine, should it work as well as
 the Pineview series Atoms do in displaying Xvideo output?

No. Only video with D/Nxxx (three digit) Atoms may work, if it's
the regular onboard chipset intel video. A lot of them are nvidia ion,
which is bad news too, obviously. 4 digit models are crazy powervr video.



Re: wireless ethernet (ralink) not working

2013-03-23 Thread Ted Unangst
On Sat, Mar 23, 2013 at 20:04, Riccardo Mottola wrote:

 The strange part is that I don't see the lights blinking. usually
 during this operation on other operating system I see network traffic.

 Shouldn't I always see blinking lights when doing a dhcp request? Even
 if the key were to be wrong (which it isn't)?

This depends on the driver, but usually the OpenBSD behavior is to
leave the light on if connected and blink it when not connected. There
is no blinking to indicate receiving or transmitting packets.



X fails to run after 5.2 upgrade

2013-03-23 Thread Riccardo Mottola

Hi,

on a thinkpad 600, I had 5.1 running fine.

I did an update to 5.2 (by using the updater included in the bsd.rd kernel)

Now Xorg dies when I run startx:

# cat /var/log/Xorg.0.log
[   304.088] (WW) checkDevMem: failed to open /dev/xf86 and /dev/mem
(Operation not permitted)
Check that you have set 'machdep.allowaperture=1'
in /etc/sysctl.conf and reboot your machine
refer to xf86(4) for details
[   304.090]linear framebuffer access unavailable
[   304.092] Segmentation fault at address 0x0
[   304.092]
Fatal server error:
[   304.093] Caught signal 11 (Segmentation fault). Server aborting
[   304.093]
[   304.094]
Please consult the The X.Org Foundation support
 at http://wiki.x.org
 for help.
[   304.094] Please also check the log file at /var/log/Xorg.0.log for 
additional information.

[   304.094]
[   304.097] Server terminated with error (1). Closing log file.

The videocard of the laptop is:

vga1 at pci0 dev 3 function 0 Neomagic Magicgraph NM2160 rev 0x01
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)

Any hints? could it be that my upgrade is incomplete?
I run X without xorg.conf, so that one doesn't need to be updated.

Thank you,

Riccardo



Re: X fails to run after 5.2 upgrade

2013-03-23 Thread Ted Unangst
On Sat, Mar 23, 2013 at 22:38, Riccardo Mottola wrote:
 [   304.088] (WW) checkDevMem: failed to open /dev/xf86 and /dev/mem
 (Operation not permitted)
 Check that you have set 'machdep.allowaperture=1'
 in /etc/sysctl.conf and reboot your machine
 refer to xf86(4) for details

Did you?



Re: X fails to run after 5.2 upgrade

2013-03-23 Thread Riccardo Mottola

Him

On 03/23/13 22:46, Ted Unangst wrote:

On Sat, Mar 23, 2013 at 22:38, Riccardo Mottola wrote:

[   304.088] (WW) checkDevMem: failed to open /dev/xf86 and /dev/mem
(Operation not permitted)
Check that you have set 'machdep.allowaperture=1'
in /etc/sysctl.conf and reboot your machine
refer to xf86(4) for details

Did you?

No, I didn't. Or better, I did, but during the upgrade process I wiped 
my sysctl.conf file, so the aperture line was commented out.

Thanks for spotting that, it works fine now.

Riccardo



Re: wireless ethernet (ralink) not working

2013-03-23 Thread Riccardo Mottola

Hi,

On 03/23/13 20:13, Peter N. M. Hansteen wrote:

Riccardo Mottola riccardo.mott...@libero.it writes:


But i am connecting to a WEP protected network, not WPA.

typical hostname.if for a wep network:

media autoselect nwid wepnetwork nwkey secretasitgets
dhcp
rtsol

activates at boot, or if you do 'sudo sh /etc/netstart ifname'

for wpa, you would change 'nwkey' to 'wpakey' and get sensible defaults.

Thanks, this looks equivalent to me to what I did configure at the shell 
command line using ifconfig.

In fact, If I run netstart later, I too get no link... sleeping.

I start to think that there is a problem with the card's driver: if I 
leave the card in at boot time, the kernel will panic and drop into ddb. 
However if I insert later, as I did up to now, I don't


Riccardo



Re: [patch] tic man page file path error

2013-03-23 Thread Andres Perera
On Sat, Mar 23, 2013 at 6:00 PM, Creamy cre...@nocrater.com wrote:
 On Sat, Mar 23, 2013 at 05:31:15PM -0430, Andres Perera wrote:
 $ ident src/lib/libcurses/tinfo/read_bsd_terminfo.c
 src/lib/libcurses/tinfo/read_bsd_terminfo.c:
  $OpenBSD: read_bsd_terminfo.c,v 1.18 2010/01/12 23:22:06 nicm Exp $
 $ grep -B2 -nw _PATH_TERMINFO src/lib/libcurses/tinfo/read_bsd_terminfo.c
 22-#include term_entry.h
 23-
 24:#define  _PATH_TERMINFO  /usr/share/misc/terminfo
 --
 60-
 61-/* Finally we check the system terminfo file */
 62:*fname++ = _PATH_TERMINFO;

 $ ls /usr/share/misc/terminfo
 ls: /usr/share/misc/terminfo: No such file or directory
 $ ls /usr/share/terminfo
 1 2 3 4 5 6 7 8 9 A E L M N P Q X a b c d e f g h i j k l m n o p q r s t u v 
 w x z

your tree is messed up or you're running something other than -current

$ grep -rw terminfo src/distrib/sets/lists
src/distrib/sets/lists/base/mi:./usr/share/misc/terminfo.db
src/distrib/sets/lists/comp/mi:./usr/share/man/man3/terminfo.3
src/distrib/sets/lists/comp/.#mi.1.969:./usr/share/man/man3/terminfo.3
src/distrib/sets/lists/man/mi:./usr/share/man/man5/terminfo.5

taking this to misc@



Re: Atom D2550 (cedarview) working now with kms?

2013-03-23 Thread Brett Mahar

On 03/24/13 08:00, Ted Unangst wrote:

On Sun, Mar 24, 2013 at 00:39, Brett Mahar wrote:

Hi,

Now that the KMS stuff has arrived (thanks for that!), I'm looking at
this device from Shuttle http://axcco.com/xs35v3.html. It has an Atom
D2550 with Intel GMA 3650 Graphic engine, should it work as well as
the Pineview series Atoms do in displaying Xvideo output?


No. Only video with D/Nxxx (three digit) Atoms may work, if it's
the regular onboard chipset intel video. A lot of them are nvidia ion,
which is bad news too, obviously. 4 digit models are crazy powervr video.



Thanks Ted and Jonathan, I would have wasted $200 without that info! 
Looks like the ancient core2duo will be playing movies for a while longer.




Re: Atom D2550 (cedarview) working now with kms?

2013-03-23 Thread Brad Smith
On Sun, Mar 24, 2013 at 01:10:25PM +1100, Brett Mahar wrote:
 On 03/24/13 08:00, Ted Unangst wrote:
 On Sun, Mar 24, 2013 at 00:39, Brett Mahar wrote:
 Hi,
 
 Now that the KMS stuff has arrived (thanks for that!), I'm looking at
 this device from Shuttle http://axcco.com/xs35v3.html. It has an Atom
 D2550 with Intel GMA 3650 Graphic engine, should it work as well as
 the Pineview series Atoms do in displaying Xvideo output?
 
 No. Only video with D/Nxxx (three digit) Atoms may work, if it's
 the regular onboard chipset intel video. A lot of them are nvidia ion,
 which is bad news too, obviously. 4 digit models are crazy powervr video.
 
 
 Thanks Ted and Jonathan, I would have wasted $200 without that info!
 Looks like the ancient core2duo will be playing movies for a while
 longer.

The new ValleyView Atom coming out in a few months will finally replace
the PowerVR cores being used in the past with the platform with a Gen7
(Ivy Bridge) core.

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.