So, cool, I have OpenBSD 4.7 installed and booted on my Gdium laptop.
Now, here are the small problem I faced and am facing.
Wireless network didn't work during setup. I used wireless.
The device was recognized. ifconfig let me fiddle with it.
It gets a DHCP address, but that's it.
Maybe my loc
> wireless
> Does it work after the installation? The installation media is supposed
I don't think so.
The device is recognized.
ifconfig reports stuff.
I think I even got a DHCP address, but can't ping anything.
I haven't setup wireless with OpenBSD in a while, so I might be doing
something wr
I updated the pmon paths. It autoboots. It autoboots the kernel. But then it
prompts me for two devices (swap and I guess root fs).
How do I remove those prompts?
same:
$ dmesg | grep ral
ral0 at pci0 dev 13 function 0 "Ralink RT2561S" rev 0x00: irq 6, address
00:0e:8e:1e:ef:d0
ral0: MAC/BBP RT256
I haven't tried 4.7 yet.
OpenBSD xobsd.jkhome 4.6 obj#0 i386
$ cat 1.c
#include
#include
void* thread1(void* a)
{
printf("%p\n", pthread_self());
return 0;
}
int main()
{
pthread_t t1;
printf("%p\n", pthread_self());
pthread_create(&t1, NULL, thread1, 0);
sleep(100);
return 0;
}
Oh, yeah, good guess. :)
I do have OpenBSD on a separate USB flash drive, not in the G position.
- Jay
> Date: Mon, 26 Jul 2010 13:30:59 +
> From: m...@online.fr
> To: jay.kr...@cornell.edu
> CC: misc@openbsd.org
> Subject: Re: trouble autobooting loo
Hey. I'm sure you've heard this before, but here's another vote:
Please provide get/set/make/swapcontext.
(and/or kernel threads.)
They are Posix-standard, but, admittedly, deprecated.
And, admittedly, most applications can use pthreads instead.
Longer story:
Modula-3.
Provides threads in
> > Merging libpthread into libc is the way imho.
> That would make it somewhat difficult to work on a second pthreads
library...
Like a second C library..
You kind of want there to be only one, but if you must have more, it is
possible.
The benefit of having only one is a smaller system and b
Following 163 lines are reduced from a "very portable" way to implement
threads in usermode,
without hacking jmpbuf, using sigaltstack to set the stack pointer.
On OpenBSD 4.6 x86 and powerpc it hangs if I use -pthread, but otherwise does
not.
The hang is in the while(..) sigsuspend(), not too s
Thanks David, done.
- Jay
> Date: Tue, 27 Jul 2010 09:28:10 +0200
> Subject: Re: kill/sigsuspend vs. cc -pthread?
> From: dco...@gmail.com
> To: jay.kr...@cornell.edu
> CC: misc@openbsd.org
>
> On Tue, Jul 27, 2010 at 9:21 AM, Jay K
rom: s...@spacehopper.org
> CC: misc@openbsd.org
> Subject: Re: get/set/make/swapcontext please?
> Date: Sat, 31 Jul 2010 14:56:59 +0100
>
> On 2010-07-26, Jay K wrote:
> >We do need to be able to suspend/resume threads
> > and get their context while sus
I've looked all over www.openbsd.org.
Any sort of guide/projects for new wannabe developers?
(not new to programming)
Just the bug list?
Fix something & send diffs?
- Jay
Ok, thanks all. Later.
- Jay
> Date: Sun, 8 Aug 2010 12:14:30 +0100
> From: vex...@gmail.com
> To: jay.kr...@cornell.edu
> CC: misc@openbsd.org
> Subject: Re: developing openbsd?
>
> On Sun, Aug 08, 2010 at 08:23:03AM +, Jay K wrote:
> > I've looked all over
There is no:
ftp://ftp.openbsd.org/pub/OpenBSD/4.7/packages/amd64/jre*
I don't suppose I should use:
ftp://ftp.openbsd.org/pub/OpenBSD/4.6/packages/amd64/jre*
?
I'll maybe try building from source..
- Jay
d...@gmail.com
> To: jay.kr...@cornell.edu
> CC: misc@openbsd.org
>
> You missed important part which is
> http://www.openbsd.org/faq/faq13.html#javaplugin
>
> On Fri, Oct 15, 2010 at 1:14 PM, Jay K wrote:
> > There is no:
> >
> > ftp://ftp.openbsd.org/pub/Open
> Ah, thanks. But there is i386. And I only need jre, not jdk or plugin.
> I'll try from source within a few days (or maybe wait to see about 4.8).
>
> >
> > You missed important part which is
> > http://www.openbsd.org/faq/faq13.html#javaplugin
So 1.7 requires 1.6.
1.6 requires 1.5.
They all req
I'm building as root, but it'd probably be a nice option to automate:
make
ssh r...@localhost "cd `pwd` && make install"
Maybe it already is.
- Jay
You know, installing ports/packages often gives you random manual
configuration advise, like:
===> Installing jdk-1.6.0.03p9 from /usr/ports/packages/amd64/all/
jdk-1.6.0.03p9:
ok
--- +jdk-1.6.0.03p9 --
kr...@cornell.edu
> CC: misc@openbsd.org
>
> On Thu, Oct 21, 2010 at 12:20 PM, Jay K
> > wrote:
> ssh r...@localhost "cd `pwd` && make install"
>
>
> From man mk.conf:
>
> SUDO Command run by make(1) when doing certain
> operations requiring root
My ideal setup would be:
1) no passwords ("*" in /etc/passwd or via vipw)
2) only ssh for remote access
i.e. no password-based security, only something better
3) except console, where anyone should be able to login
without any password (granted, I only have two users, root and jay)
ke install' as root in that directory ('make package
> BULK=Yes' is better) and when it asks for some file, I download it and
> place in /usr/distfiles and start that command again.
>
> On Thu, Oct 21, 2010 at 11:19 AM, Jay K wrote:
> >> Ah, thanks. But there i
using binary packages is only
> recommend solution for apps. Just small of amounts must be compiled
> from ports like that jdk
Understood and I usually do.
(jdk isn't small! :))
The request was for both.
This reminds me another request though.
But I'll have to sit through the entire FAQ.
Wh
I thought it'd need me to enter it.
And there isn't one.
Thanks,
- Jay
> Date: Thu, 21 Oct 2010 15:09:25 -0400
> Subject: Re: ports/root/make install
> From: ted.unan...@gmail.com
> To: jay.kr...@cornell.edu
> CC: sisso...@gmail.com; misc@openbsd.org
>
> On Thu,
I want the messages to tell me how to get the repeat.
If there any messages, I want the instructions repeated at the end as well
(on
how to get the messages, not the actual messages).
> pkg_add | tee pkg.out ??
I shouldn't have to.
> What if I'm developing in a split python 2.4/2.6 environment
> You can get almost the same thing by setting "PasswordAuthentication" to
"no"
> in your sshd_config file, and hand out empty or ridiculously simple
passwords
> for the console (honestly, who would forget "yermomsawhore" as a
password?).
How do I limit their use to the console?
If say I ssh in
l.com
> To: jay.kr...@cornell.edu
> CC: bret.lamb...@gmail.com; misc@openbsd.org
>
> On Fri, Oct 22, 2010 at 1:01 PM, Jay K wrote:
> >> You can get almost the same thing by setting "PasswordAuthentication" to
> > "no"
> >> in your sshd_config file,
l.com
> To: jay.kr...@cornell.edu
> CC: bret.lamb...@gmail.com; misc@openbsd.org
>
> On Fri, Oct 22, 2010 at 1:01 PM, Jay K wrote:
> >> You can get almost the same thing by setting "PasswordAuthentication" to
> > "no"
> >> in your sshd_config file,
> Turn off sudo and don't put users you don't want to have root in the
> wheel group.
>
> I find what you want to be questionable though.
But can't they still run "login"?
Why questionable?
I want security and convenience.
I don't consider passwords to be either.
physical security + ssh is what I
> ok, 1.5 built, 1.6 built, 1.7 in progress. Thanks.
1.7 ultimately fails:
/usr/ports/pobj/jdk-1.7.0.00/openjdk/hotspot/agent/src/os/bsd/StubDebuggerLoc
al.c:153: error: redefinition of `throw_new_debugger_exception'
/usr/ports/pobj/jdk-1.7.0.00/openjdk/hotspot/agent/src/os/bsd/StubDebuggerLoc
al
> > If I chroot then I can't do much at all right?
> > Unless I replicate/link like the entire system, minus login.
>
> You sai'd that you want to limit them, not I.
I just don't want them to be able to login as root.
And I don't want a password for root.
If they are on the console though, ok
We use Hudson to manage builds.
It uses Java.
It looks like there's nothing viable here for OpenBSD other than x86 and
AMD64?
I already have OpenBSD/x86 working.
I have Linux/ppc, maybe Linux/sparc working.
There's a "zero assembly" project that has eased things, but
the web page says it is gcc and
30 matches
Mail list logo