Re: using lynx to manage router

2008-05-22 Thread Default User
On Wed, 2008-05-21 at 00:36 +0200, ropers wrote:
 s/EMCAScript/ECMAScript
 
 2008/5/21 ropers [EMAIL PROTECTED]:
  2008/5/20 Default User [EMAIL PROTECTED]:
  Hello!
 
  I would like to use lynx to manage my local small lan router.  I can
  manage a broadband modem that way.  But the router webpage expects to be
  managed by a graphical browser, so the initial control webpage just
  shows up as unintelligible garbage.
 
  Since I run command line only, I do not want to activate X, install a
  graphical browser, and run X, with all the overhead and security issues,
  just to manage a simple router.  Is there another way text-only way to
  accomplish this (ie, ssh etc.)?
 
  Thanks for any advice.
 
  Since you apparently *require* a text-only browser, have you tried these:
  ELinks
  Links
  w3m
 
  Wikipedia also lists edbrowse, but it doesn't appear to be in ports,
  so YMMV trying to get it to work on OpenBSD.
 
  If you *don't* really *require* a text-only/console browser, ie. if
  there is e.g. a chance to enable SSH on your modem (some of these run
  Linux...), then you'll have to give more details.
 
  Another solution that I could think of might be to use curl/wget to
  fetch the pages you want, and then to write a program/shell script to
  transmogrify the page to something you can use. Of course, in the
  extreme this might require partially implementing an EMCAScript
  interpreter -- assuming that that's what's really missing; not being
  able to see the colourful images should not be much of an issue, but
  most text-based browsers not grokking EMCAScript probably would be.
 
  Hope this helps,
  --ropers
 


Thanks for the suggestions, but no luck.  Unfortunately, none of the
text browsers I tried (lynx, links, elinks, links+, w3m) worked.  

The router's internal webpage is !DOCTYPE HTML PUBLIC -//W3C//DTD HTML
4.0 TANSITIONAL//EN.  It seems to require javascript (ECMAscript),
which may well be the problem.  

SSH to port 22 does not work (it just times out), and telnet replies
connection refused.  

I am not up to compiling external applications; I try to stick with
what's in the OpenBSD packages collection.  

And of course, the manufacturer's website was absolutely clueless. 

So, it seems that I can either: 
1) just manage the router from another computer with another OS.
2) activate X on the OpenBSD computer and install a graphical browser.

If I choose option #2, what what graphical browser would have the least
overhead, and above all, do the least damage to my security?  

I know it's not OpenBSD's fault that the router's control webpage
requires javascript, but I am surprised that there doesn't seem to be a
simpler, less insecure alternative.  Oh, well - so much for
security . . . 



using lynx to manage router

2008-05-20 Thread Default User
Hello! 

I would like to use lynx to manage my local small lan router.  I can
manage a broadband modem that way.  But the router webpage expects to be
managed by a graphical browser, so the initial control webpage just
shows up as unintelligible garbage.  

Since I run command line only, I do not want to activate X, install a
graphical browser, and run X, with all the overhead and security issues,
just to manage a simple router.  Is there another way text-only way to
accomplish this (ie, ssh etc.)? 

Thanks for any advice.  



Re: malo driver

2007-05-07 Thread Default User
On Sun, 2007-05-06 at 11:14 +0200, Henning Brauer wrote:
 * Default User [EMAIL PROTECTED] [2007-05-05 05:03]:
  cbb0 at pci1 dev 4 function 0 ENE CB-1410 CardBus rev
  0x01pci_intr_map: no mapping for pin A
  : couldn't map interrupt
 
 there's your problem, your cardbus slot is not working
 


Ouch! Bad news. 

Well, I guess that explains it.  It never occurred to me that there
would be a problem with the computer itself. Anyway, Thanks for the
info. 



Re: malo driver

2007-05-04 Thread Default User
On Thu, 2007-05-03 at 23:52 -0400, Jean Raby wrote:
 On 5/3/07, Default User [EMAIL PROTECTED] wrote:
  According to http://openbsd.org/i386.html#hardware the Netgear WG511v2
  Wireless PC card should work, using the malo driver:
 
  Marvell Libertas IEEE 802.11b/g CardBus adapters (malo), including: (G)
  Netgear WG511v2
 
  But on a laptop with OpenBSD 4.1, the card was not (apparently)
  recognized, nor did the malo driver seem to load.
 
  This same system recognies a Netgear MA111 v1 usb wireless adapter,
  automatically loading the wi driver, and the whole system was installed
  by network that way, with no wired ethernet connection needed.
 
  So, does the malo driver need to be loaded manually, and is it even on
  the OpenBSD 4.1 network install cd (from cd41.iso)?
 
 
 From what I can see, malo is only enabled in GENERIC not in
 RAMDISK_CD, at least on i386.
 
 Could you provide a dmesg?
 
 --
 Jean



Sure, here it is:

OpenBSD 4.1 (GENERIC) #1435: Sat Mar 10 19:07:45 MST 2007
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Celeron(R) M processor 1400MHz (GenuineIntel 686-class)
1.40 GHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,TM,SBF
real mem  = 2112319488 (2062812K)
avail mem = 1920548864 (1875536K)
using 4278 buffers containing 105738240 bytes (103260K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+ BIOS, date 09/03/04, BIOS32 rev. 0 @ 0xfd6f0,
SMBIOS rev. 2.31 @ 0xd6010 (31 entries)
bios0: TOSHIBA Satellite M35X
apm0 at bios0: Power Management spec V1.2
apm0: AC on, battery charge unknown
apm0: flags 30102 dobusy 0 doidle 1
pcibios0 at bios0: rev 2.1 @ 0xfd6f0/0x910
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdf10/208 (11 entries)
pcibios0: PCI Interrupt Router at 000:31:0 (Intel 82371FB ISA rev
0x00)
pcibios0: PCI bus #2 is the last bus
bios0: ROM list: 0xc/0xd000! 0xcd000/0x1000 0xd6000/0x800!
0xe/0x4000!
acpi at mainbus0 not configured
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 Intel 82852GM Hub-PCI rev 0x02
Intel 82852GM Memory rev 0x02 at pci0 dev 0 function 1 not configured
Intel 82852GM Configuration rev 0x02 at pci0 dev 0 function 3 not
configured
vga1 at pci0 dev 2 function 0 Intel 82852GM AGP rev 0x02: aperture at
0xe800, size 0x800
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
Intel 82852GM AGP rev 0x02 at pci0 dev 2 function 1 not configured
uhci0 at pci0 dev 29 function 0 Intel 82801DB USB rev 0x03: irq 10
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1 at pci0 dev 29 function 1 Intel 82801DB USB rev 0x03: irq 7
usb1 at uhci1: USB revision 1.0
uhub1 at usb1
uhub1: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2 at pci0 dev 29 function 2 Intel 82801DB USB rev 0x03: irq 5
usb2 at uhci2: USB revision 1.0
uhub2 at usb2
uhub2: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
ehci0 at pci0 dev 29 function 7 Intel 82801DB USB rev 0x03: irq 3
usb3 at ehci0: USB revision 2.0
uhub3 at usb3
uhub3: Intel EHCI root hub, rev 2.00/1.00, addr 1
uhub3: 6 ports with 6 removable, self powered
ppb0 at pci0 dev 30 function 0 Intel 82801BAM Hub-to-PCI rev 0x83
pci1 at ppb0 bus 1
VIA VT6306 FireWire rev 0x80 at pci1 dev 0 function 0 not configured
rl0 at pci1 dev 1 function 0 Realtek 8139 rev 0x10: irq 11, address 
SNIP 
rlphy0 at rl0 phy 0: RTL internal PHY
cbb0 at pci1 dev 4 function 0 ENE CB-1410 CardBus rev
0x01pci_intr_map: no mapping for pin A
: couldn't map interrupt
ichpcib0 at pci0 dev 31 function 0 Intel 82801DBM LPC rev 0x03
pciide0 at pci0 dev 31 function 1 Intel 82801DBM IDE rev 0x03: DMA,
channel 0 configured to compatibility, channel 1 configured to
compatibility
wd0 at pciide0 channel 0 drive 0: TOSHIBA MK4025GAS
wd0: 16-sector PIO, LBA, 38154MB, 78140160 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
atapiscsi0 at pciide0 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: TOSHIBA, DVD-ROM SD-R2512, 1420 SCSI0
5/cdrom removable
cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2
ichiic0 at pci0 dev 31 function 3 Intel 82801DB SMBus rev 0x03: irq 11
iic0 at ichiic0
auich0 at pci0 dev 31 function 5 Intel 82801DB AC97 rev 0x03: irq 11,
ICH4 AC97
ac97: codec id 0x414c4752 (Avance Logic ALC250A?)
ac97: codec features headphone, 20 bit DAC, 18 bit ADC, No 3D Stereo
audio0 at auich0
Intel 82801DB Modem rev 0x03 at pci0 dev 31 function 6 not configured
isa0 at ichpcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
pcppi0 at isa0 port 0x61

malo driver

2007-05-03 Thread Default User
According to http://openbsd.org/i386.html#hardware the Netgear WG511v2
Wireless PC card should work, using the malo driver:

Marvell Libertas IEEE 802.11b/g CardBus adapters (malo), including: (G)
Netgear WG511v2

But on a laptop with OpenBSD 4.1, the card was not (apparently)
recognized, nor did the malo driver seem to load.  

This same system recognies a Netgear MA111 v1 usb wireless adapter,
automatically loading the wi driver, and the whole system was installed
by network that way, with no wired ethernet connection needed. 

So, does the malo driver need to be loaded manually, and is it even on
the OpenBSD 4.1 network install cd (from cd41.iso)?  



is root account really necessary?

2007-04-20 Thread Default User
is a root account really necessary? wouldn't a system with no root
account, where all maintenance is done as sudo, be more secure? if so,
why not install with no root account by default?



wireless mouse for OpenBSD ?

2007-03-24 Thread Default User
Recently in a big box computer store, I was disturbed to notice that
almost every single mouse was wireless.  I use ps/2 and usb wired mice
with OBSD, no problem. But I was unable to get OBSD to even recognize a
Labtec wireless usb mouse with my laptop. Are any wireless usb mice
supported by OBSD?  If not, what will happen when wired mice are no
longer available?  



patching OpenBSD [re-sent]

2007-03-03 Thread Default User
NOTE: THIS IS A RE-SEND.  ORIGINAL MESSAGE SEEMS TO HAVE NEVER BEEN
POSTED TO LIST AFTER NEARLY 1-1/2 HOURS! (Can you say NSA?)


I just patched OpenBSD i386 RELEASE following the examples for patching
at http://www.openbsd101.com/ since the procedure in the OpenBSD FAQ
seemed somewhat complicated and unclear.  Doing so, I did not have to
mess around with things like CVS or CVSup, or spend all weekend
learning, downloading, updating what I downloaded, compiling (and
compiling and compiling . . . ), etc. 

It seems to have worked okay.  But I did notice that the OpenBSD FAQ
(10.15 - Applying patches in OpenBSD) states that: 
 . . . to patch your system you must have the source code from the
RELEASE version of OpenBSD readily available.   . . . In general, you
should have the entire source tree available. We will assume you have
the entire tree checked out. 

Well, I did download: 
ftp://ftp.openbsd.org/pub/OpenBSD/4.0/src.tar.gz
ftp://ftp.openbsd.org/pub/OpenBSD/4.0/sys.tar.gz
ftp://ftp.openbsd.org/pub/OpenBSD/4.0/ports.tar.gz
ftp://ftp.openbsd.org/pub/OpenBSD/4.0/XF4.tar.gz 

Here is where the unpacked source code files ended up:

(src.tar.gz)-  /usr/src
(sys.tar.gz)-  /usr/src
(ports.tar.gz)  -  /usr
(XF4.tar.gz)-  /usr

Is that what is meant by (or functionally equivalent to) checking out
the entire tree?

Now, the patches applied were through 009, the latest currently listed
in the errata. But when 010 and later patches need to be applied, will I
have to each time again download and unpack the (updated?) source code
in the same way, or have to (YUCK!) mess around with CVS or CVSup?  Or
can I (hopefully) just patch against the source code I have downloaded? 

(Note: all I really want is to have the security fixes and important
system bug fixes.)

Final questions: by patching the system as indicated, is that the same
as updating to stable, or is that something different?  And when
OpenBSD 4.1 comes around, can I update to 4.1, or will I have to do a
mandatory fresh install? 



binary updates

2007-02-26 Thread Default User
When will we ever see binary updates for OpenBSD?  Taking a system
off-line for over 20 hours to do a source code rebuild is just too long,
and just tracking RELEASE means running an insecure system.

Binary updating - try it, you'll like it! 



Re: mc function key problem - SOLVED.

2006-11-19 Thread Default User
On Sat, 2006-11-18 at 18:12 +0059, Han Boetes wrote:
 Default User wrote:
  Thanks to Mr. Lamert and Mr. Ramaley for your replies.  Although
  neither solved the problem by itself, the combination of both
  DID.  Thanks!
 
  BTW, this might be a good fix to include in the OpenBSD FAQ.
 
 But you didn't include the fix.
 
 
 
 # Han
 


Here is what I did. As sudo, 
1) I changed the type column in the lines starting with: 
console
ttyc0
ttyc1
ttyc2
ttyc3
ttyc5
from vt220 to pcvt25.
2) In mc, using the Options - learn Keys menu selection, I remapped the
function keys, and also the Home and End keys. 

Both steps weew necessary for the keys to work correctly, but it did
work for me.  

BTW, isn't anyone else using mc with OpenBSD? If not, what are they
using instead?  



Re: mc function key problem - SOLVED.

2006-11-18 Thread Default User
On Thu, 2006-11-16 at 14:26 -0600, Default User wrote:
 This problem is persistent over several releases of OpenBSD and on 
 multiple i386 computers, both desktop and laptop:
 
 In the OpenBSD version of Midnight Commander (mc), the function keys do 
 not work properly.  I get these results from selecting the keys:
 
 F1:  11~
 F2:  12~
 F3:  13~
 F4:  14~
 F5:  15~
 F6:  (tries to do what F5 key should do, copy file or dir)
 F7:  (tries to do what F6 key should do, rename/move file)
 F8:  (tries to do what F7 key should do, create new dir)
 F9:  (tries to do what F8 key should do, delete file or dir) DANGEROUS!!
 F10: (tries to do what F9 key should do, accesses top menu bar)
 F11: 23~
 F12: 24~
 


Thanks to Mr. Lamert and Mr. Ramaley for your replies.  Although neither
solved the problem by itself, the combination of both DID.  Thanks! 

BTW, this might be a good fix to include in the OpenBSD FAQ.  



mc function key problem

2006-11-16 Thread Default User
This problem is persistent over several releases of OpenBSD and on 
multiple i386 computers, both desktop and laptop:


In the OpenBSD version of Midnight Commander (mc), the function keys do 
not work properly.  I get these results from selecting the keys:


F1:  11~
F2:  12~
F3:  13~
F4:  14~
F5:  15~
F6:  (tries to do what F5 key should do, copy file or dir)
F7:  (tries to do what F6 key should do, rename/move file)
F8:  (tries to do what F7 key should do, create new dir)
F9:  (tries to do what F8 key should do, delete file or dir) DANGEROUS!!
F10: (tries to do what F9 key should do, accesses top menu bar)
F11: 23~
F12: 24~

1.) Does anyone know what the problem is?
2.) Is anyone working on a fix?

I consider mc to be incredibly useful, especially when in console mode, 
it is very disappointing that I can not use it (properly).  Indeed, I 
have never found any utility which even comes close to doing what mc does.




where is unarj-2.43?

2006-11-11 Thread Default User
Okay, I give up. Where is unarj-2.43 in the OpenBSD 4.0 i386 packages?
Clamav seems to need it, but pkg_add said it could not be found.  Is it
indeed missing? 



video hardware determination

2006-11-08 Thread Default User
Hello. 

I inherited an old '586 computer with built-in graphics (no video card)
and a no-name 17 color monitor. I have no documentation for either. I
am trying to set it up using xorgconfig.  

Is there a utility within OpenBSD 4.0 RELEASE i386 that will
interrogate the hardware to determine:

1) video memory amount
2) best driver (ATI generic seems to work best so far)
3) monitor resolutions available
4) VGA, SVGA, interlaced, non-interlaced, etc.
5) horiz and vert frequencies?

What I want is to have it start as 800x600, but be able to switch on
demand to 1024x768, since a number of ignorant software programs insist
on being displayed in 1024x768 (programs with configuration pages with
buttons are notorious for that).  It hard to click the ok button when
it is below the bottom edge of the screen.  

So far, I can get it to display either 1024x768 or 800x66, but not
switch between them with ctrl-alt-(-) and ctrl-alt-(+). Note:
ctrl-alt-(bksp) works fine.  

Thanks.



Re: USB hard drives

2006-09-19 Thread Default User
On 2006/09/16 23:49, Default User wrote:
Does OpenBSD 3.9 RELEASE support usb external hard drives?

On Sun, 2006-09-17 at 02:21 +0100, Stuart Henderson wrote:
Generally yes, this type of drive is supported by umass(4).


CONFIRMED.  

At least the Seagate 6Gb pocket USB external hard drive works fine
under OpenBSD i386 RELEASE.  It does indeed use the umass driver, which
is already installed by default.  It works on both a desktop workstation
and a laptop.  

Thanks for the replies.  



USB hard drives

2006-09-16 Thread Default User
Does OpenBSD 3.9 RELEASE support usb external hard drives? I am
considering getting one, like the Seagate 6-Gb pocket drive, to back
up data from an i386 system, but could not determine from the OBSD i386
hardware information whether such drives are supported. 



ntpd_flags= (?)

2006-08-25 Thread Default User
Just installed i386 3.9 RELEASE. Noticed that /etc/rc.conf.local
contains:

ntpd_flags=  # enabled during install

man 8 ntpd says that /etc/rc.conf.local should contain:

ntpd_flags=

Is this an install bug?  What is the function of the two double
quotes?  BTW, ntpd *seems* to be working okay as installed.  



how to wireles login when WEP and SSID are enabled

2006-02-12 Thread Default User
Hello. 

Simple question. I can make a wireless connect to a wireless router from
a computer with 802.11b adapter running OpenBSD 3.8 RELEASE with no
problem when SSID and WEP are disabled. When they are enabled, how can I
get it to prompt me for the SSID and WEP so I can enter them manually
and connect?

I have searched the FAQ, lists, etc. but can't seem to find the
answer.  

Thank you for any advice!