USR 8054 as a bridge?
This is partly off-topic except that my LAN consists of 2, sometimes 3 OpenBSD machines. I've got a little LAN sharing a dial-up modem. I'm running pf, doing NAT to 192.168.0.0/24, running DHCP serving up the IP, gateway, DNS server addresses, all that's working fine. Along comes a Kindle Fire which is helpless without WiFi, so I need to make a WiFi access point. Of the 4 wireless cards I've got, the ones that are supported by OpenBSD can't be access points (according to their drivers' man pages). I've got a US Robotics 8054 WiFi router (it was free) which I'd like to hang off my LAN somehow, except that's not quite what it was made for. The 8054's got its own internal DHCP server (which can be turned off). When I use it, it doesn't seem to be passing the gateway and DHCP server addresses along to the Kindle, just an IP address from its pool. It also wants to be a router/firewall. I can go into the Kindle's WiFi settings and manually enter a gateway and DHCP server addresses (since I know them on my own network). The last time I got a chance to connect to a public WiFi for an hour, it took me 45 minutes to figure out that it was applying my manual settings to every potential WiFi network, which of course didn't work. My goal is to get my WiFi access point working as much like public ones as possible. If I could configure the 8054 to do that, or else just use it as a dumb bridge between my LAN and wireless that would be great. I haven't tried setting up a formal bridge device in /etc but I've spent 3 days trying about everything else I can think of. I'm not too concerned about security since I've already got pf running on the internet side and I'm in a rural area. The 8054 can be secured by WEP, WPA, MAC address limiting, plus I can just unplug it when I'm not using it. Knowing how to tell what's being passed by a DHCP server would also help. The Kindle's not a very good diagnostic tool. Thanks, Alan, AB1JX
Re: vnc teminal fuctions?
'screen' is your friend ... Am 21.03.2012 um 04:15 schrieb f5b: Can OpenBSD base fulfill the following fuctions? How? 1. One guy login local machine via userA 2. I remote login the same machine via userA@ssh 3. The guy sit in the front of the machine can see what I see 4. We(local remote) all can control the terminal via keyboard in the same time so we can collaborate with each other. I know some vnc ports can do the same thing. server:x11vnc client:ssvnc
Re: ekiga on openbsd
On Tue, Mar 20, 2012 at 11:44:59PM +0200, Mihai Popescu wrote: Hello, I'm trying to run ekiga-3.3.2p2 on a recent snapshot. Usually, the hard to make it work packages are installing some readme in /usr/local/share/doc/pkg-readmes, but it is not the case for ekiga. I've installed ekiga from packages and I don't have the Gnome desktop installed. Is it ok to run ekiga without entire Gnome desktop installed? When I run the application, I got the following error and everything dies: [ ... ] pthread_mutex_destroy on mutex with waiters! [ ... ] 2012/03/20 23:32:26.036 1:02.723 PWLib Assertion fail: Listener thread did not terminate, file /usr/obj/opal-3.10.4/opal-3.10.4/src/opal/transports.cxx, line 508, Error=35 Assertion fail: Listener thread did not terminate, file /usr/obj/opal-3.10.4/opal-3.10.4/src/opal/transports.cxx, line 508, Error=35 Abort, Core dump, Ignore? From the misc@ searches I found out that I need to run gconf-editor and maybe aucat. I see that sndiod is running. On ekiga.org site there are generic information for setup. If someone managed to run ekiga successfuly, can you point me in the right direction, maybe a readme file? Ekiga is not in a working state right now. The package is only there to ease people work and those who want to help fix it or test it. -- Antoine
Re: install questions
On Mon, Mar 19, 2012 at 5:50 AM, Stuart Henderson s...@spacehopper.org wrote: No idea how well OpenBSD does in xen. Last time I tried OpenBSd in Xen ~2 years it worked like crap. Couldn't get networking to work at all and it was slow as a dog. Cheers, Lars
[no subject]
Unbelievable. This new software is the best I've EVER seen at making money AUTOMATICALLY for you... But you need a p r i v a t e invitation to get in. Here's yours: Click Here! Get in and grab this software before they take it down.
Re: USR 8054 as a bridge?
On Wed, 21 Mar 2012 02:08:39 -0400 (EDT) Alan Corey ab...@wolfman.devio.us wrote: I've got a little LAN sharing a dial-up modem. I'm running pf, doing NAT to 192.168.0.0/24, running DHCP serving up the IP, gateway, DNS server addresses, all that's working fine. ... I've got a US Robotics 8054 WiFi router (it was free) which I'd like to hang off my LAN somehow, except that's not quite what it was made for. The 8054's got its own internal DHCP server (which can be turned off). When I use it, it doesn't seem to be passing the gateway and DHCP server addresses along to the Kindle, just an IP address from its pool. ON your OpenBSD machine running pf, it sounds like you have 2 ethernet cards (one connected to Internet, one connected to your local network which you are NAT'ing to). Plug the internally-facing ethernet into the 8054 WiFi router (router as the client), configure it to use the same subnet as your internal ethernet card, and run everything (wifi and wired) through this router, with your usual NAT setup. It should not matter that your machines (kindles or whatever) are getting an IP address in a different range (via DHCP from your 8054), the wifi router will forward them on to your firewall/pf regardless.
dhcpd sync and carp
Hi, I have two obsd machines running OpenBSD 4.9 STABLE and CARP for failover. Each machine has 3 interfaces: sk1(external) sk0(internal) em0(sync) em0 has a direct cable connecting the two machines. Both machines use exactly the same dhcpd.conf file to serv IP addresses on sk0. I have set skip on em0 set skip on lo0 on both sides. I use dhcpd_flags=-y em0 -Y em0 sk0 For some reason, I think dhcpd is not synchronizing the leases. Although I see this kind of messages in the logs of both firewalls, I cannot see the packets being sent or received. dhcpd[13353]: sending DHCP_SYNC_LEASE for hw 00:26:e8:78:49:db - ip a.b.c.d, start 1332327048, end 1332334248 But I see pfsync messages going through the em0 iface, like the one below: 07:53:55.380578 00:22:64:89:67:6a 01:00:5e:00:00:f0 0800 1486: 10.1.1.1 224.0.0.240: PFSYNCv6 len 1452 B B act UPD ST COMP count 17 B B ... (DF) [tos 0x10] (ttl 255, id 8912, len 1472) When I run route -n get 224.0.1.240, I get: route to: 224.0.1.240 destination: 224.0.0.0 mask: 240.0.0.0 interface: lo0 if address: 127.0.0.1 priority: 8 (static) flags: UP,REJECT,DONE,STATIC use B B B mtu B B expire 4249 B B 33200 B B B B 0 My questions are: 1) Why I cannot see the dhcpd sync packets using tcpdump -nevvi em0? 2) Is there a way to verify that they are in sync? Thanks for any help. Kind regards, Jose
Re: dhcpd sync and carp
Hi again, Is it possible that the dhcp sync messages are not being sent/received through the sync iface (em0) because the Ip address associated with this iface is not in the same subnet of the IP addresses of the dhcpd servers? Should I be able to view the sync packets on the lo0 iface? kind regards, Jose.
responding to buttonpress ACPI event sent by KVM/Qemu
Hello, I'm trying to get a v5.0 system newly installed in a VM running on Debian v6 am64 (squeeze) to respond properly when I execute virsh shutdown GUEST, which apparently sends an ACPI power-button-press event to the guest. I have acpi configured for the guest. Currently, when I run the command, the guest hangs totally. All interactive sessions, including console are frozen, and the guest stops answering pings. It's not clear from the acpi(4) manpage what mechanism is/should be invoked for this event, and what can be, or must be, configured for it to work. thanks, Robert Urban
News stampa lenticolare
Gent.mo/a Sig. La stampa lenticolare h una tecnologia che permette di ottenere effetti di 3Dimensionalit` e movimento per aumentare le potenzialit` di ogni comunicazione stampata. Vorremmo inviarLe informazioni sulle opportunit` che la stampa lenticolare permette di ottenere. Per scelta etica e responsabile, La informiamo che le nostre comunicazioni avranno una cadenza periodica non invasiva. Avr` modo di scoprire maggiori dettagli sulle potenzialit` della stampa lenticolare Cliccando qui, e contemporaneamente considereremo espresso il suo consenso a ricevere le nostre comunicazioni sulle evoluzioni e sulle applicazioni di questa tecnica di stampa. Per negare il consenso invece pur cliccare sul seguente link Cancellami. La informiamo inoltre che potr` cancellarsi dalla ricezione delle nostre comunicazioni in qualsiasi momento. Cordialmente, TreD. S.r.l. www.lenticolare.it Le chiediamo gentilmente di non rispondere a questa mail, ma, nel caso volesse comunicare con noi, di scriverci a i...@lenticolare.it In conformit` con quanto disposto dal Garante della Privacy, La informiamo che il suo indirizzo e-mail h stato rintracciato su siti web di pubblica consultazione.
Re: install questions
On Wed, Mar 21, 2012 at 03:01:46PM +0800, romaby...@gmail.com wrote: No idea how well OpenBSD does in xen. Last time I tried OpenBSd in Xen ~2 years it worked like crap. Couldn't get networking to work at all and it was slow as a dog. I am running OpenBSD on Xen and it works very well: $ sysctl kern.version kern.version=OpenBSD 5.1 (VICTOR) #2: Mon Feb 13 10:03:45 CET 2012 oc@localhost:/usr/src/sys/arch/amd64/compile/VICTOR $ dmesg | grep '^bios0:' bios0: vendor Xen version 3.4.2 date 11/16/2009 bios0: Xen HVM domU $ I use Panix (http://www.panix.com/corp/v-colo/) and am happy. You just have to apply the 2 following patches (credit to Brian Marcotte): --- ./sys/dev/acpi/acpi.c.orig Mon Jan 10 15:04:33 2011 +++ ./sys/dev/acpi/acpi.c Wed May 4 20:13:47 2011 @@ -609,6 +609,7 @@ return; } +#if 0 /* * Check if we are able to enable ACPI control */ @@ -617,6 +618,7 @@ printf(, ACPI control unavailable\n); return; } +#endif /* * Set up a pointer to the firmware control structure @@ -696,6 +698,7 @@ * This may prevent thermal control on some systems where * that actually does work */ +#if 0 acpi_write_pmreg(sc, ACPIREG_SMICMD, 0, sc-sc_fadt-acpi_enable); idx = 0; do { @@ -704,7 +707,20 @@ return; } } while (!(acpi_read_pmreg(sc, ACPIREG_PM1_CNT, 0) ACPI_PM1_SCI_EN)); - +#else + if (sc-sc_fadt-smi_cmd sc-sc_fadt-acpi_enable) { + acpi_write_pmreg(sc, ACPIREG_SMICMD, 0, + sc-sc_fadt-acpi_enable); + idx = 0; + do { + if (idx++ ACPIEN_RETRIES) { + printf(, can't enable ACPI\n); + return; + } + } while (!(acpi_read_pmreg(sc, ACPIREG_PM1_CNT, 0) + ACPI_PM1_SCI_EN)); + } +#endif printf(\n%s: tables, DEVNAME(sc)); SIMPLEQ_FOREACH(entry, sc-sc_tables, q_next) { printf( %.4s, entry-q_table); --- ./sys/dev/acpi/acpicpu.c.orig Wed Jul 21 19:24:01 2010 +++ ./sys/dev/acpi/acpicpu.cWed May 4 20:13:47 2011 @@ -394,7 +394,11 @@ sc-sc_flags |= FLAGS_NOPCT; else if (sc-sc_pss_len 0) { /* Notify BIOS we are handing p-states */ +#if 0 if (sc-sc_acpi-sc_fadt-pstate_cnt) +#else + if (sc-sc_acpi-sc_fadt-smi_cmd sc-sc_acpi-sc_fadt-pstate_cnt) +#endif acpi_write_pmreg(sc-sc_acpi, ACPIREG_SMICMD, 0, sc-sc_acpi-sc_fadt-pstate_cnt); Later, -- Olivier Cherrier - Symacx.com mailto:o...@symacx.com
Re: dhcpd sync and carp
Your system is probably not configured for multicast. Try 'route delete 224/4'. If it helps, set multicast_host=YES in rc.conf.local and reboot. This should probably be mentioned in the manual for dhcpd/spamd. This isn't required for pfsync/carp and some of the routing daemons which specifically set an interface using IP_MULTICAST_IF. On 2012-03-21, Jose Fragoso inet_use...@samerica.com wrote: Hi, I have two obsd machines running OpenBSD 4.9 STABLE and CARP for failover. Each machine has 3 interfaces: sk1(external) sk0(internal) em0(sync) em0 has a direct cable connecting the two machines. Both machines use exactly the same dhcpd.conf file to serv IP addresses on sk0. I have set skip on em0 set skip on lo0 on both sides. I use dhcpd_flags=-y em0 -Y em0 sk0 For some reason, I think dhcpd is not synchronizing the leases. Although I see this kind of messages in the logs of both firewalls, I cannot see the packets being sent or received. dhcpd[13353]: sending DHCP_SYNC_LEASE for hw 00:26:e8:78:49:db - ip a.b.c.d, start 1332327048, end 1332334248 But I see pfsync messages going through the em0 iface, like the one below: 07:53:55.380578 00:22:64:89:67:6a 01:00:5e:00:00:f0 0800 1486: 10.1.1.1 224.0.0.240: PFSYNCv6 len 1452 B B act UPD ST COMP count 17 B B ... (DF) [tos 0x10] (ttl 255, id 8912, len 1472) When I run route -n get 224.0.1.240, I get: route to: 224.0.1.240 destination: 224.0.0.0 mask: 240.0.0.0 interface: lo0 if address: 127.0.0.1 priority: 8 (static) flags: UP,REJECT,DONE,STATIC use B B B mtu B B expire 4249 B B 33200 B B B B 0 My questions are: 1) Why I cannot see the dhcpd sync packets using tcpdump -nevvi em0? 2) Is there a way to verify that they are in sync? Thanks for any help. Kind regards, Jose
Re: USR 8054 as a bridge?
On 2012-03-21, Alan Corey ab...@wolfman.devio.us wrote: Along comes a Kindle Fire which is helpless without WiFi, so I need to make a WiFi access point. Of the 4 wireless cards I've got, the ones that are supported by OpenBSD can't be access points (according to their drivers' man pages). I've got a US Robotics 8054 WiFi router (it was free) which I'd like to hang off my LAN somehow, except that's not quite what it was made for. The 8054's got its own internal DHCP server (which can be turned off). When I use it, it doesn't seem to be passing the gateway and DHCP server addresses along to the Kindle, just an IP address from its pool. It also wants to be a router/firewall. The rest of your network isn't described in your email and I don't know this particular device, but usually to bypass the 'router' functions you would want to disable internal dhcp on the wifi router, and connect the *LAN* side of the wifi router to your network somehow. Either via a normal switch port on your lan, or (safer) to a different interface on a firewall with a separate address range so it can segregated. Knowing how to tell what's being passed by a DHCP server would also help. The Kindle's not a very good diagnostic tool. How about trying to connect an OpenBSD box with a wifi card to the access point? You could run tcpdump to see what packets are flowing.
Re: xfce4 freeze on Loongson netbook
You have a mismatched set of packages, some depending on old X libraries and some on new X libraries, causing a conflict. /usr/ports/infrastructure/bin/out-of-date should show you which need updates. On 2012-03-21, Alan Cheng bsdp...@gmail.com wrote: below is what i got from startx log. it's better to have some error that i can pass to google. will do my homework first, but wouldn't mind a few pointers if this looks obvious to anyone. :-) thanks. [acheng@azalea ~]$ tail -f startx.out Thunar:/usr/X11R6/lib/libGL.so.12.0: /usr/X11R6/lib/libGL.so.10.0 : WARNING: symbol(__glapi_noop_table) size mismatch, relink your program Thunar:/usr/X11R6/lib/libGL.so.12.0: /usr/X11R6/lib/libGL.so.10.0 : WARNING: symbol(__glapi_noop_table) size mismatch, relink your program xfdesktop:/usr/X11R6/lib/libGL.so.12.0: /usr/X11R6/lib/libGL.so.10.0 : WARNING: symbol(__glapi_noop_table) size mismatch, relink your program xfdesktop:/usr/X11R6/lib/libGL.so.12.0: /usr/X11R6/lib/libGL.so.10.0 : WARNING: symbol(__glapi_noop_table) size mismatch, relink your program (xfce4-settings-helper:9953): xfce4-settings-helper-WARNING **: Unknown mode '1024x600 @ 0.0' for output default. (xfce4-settings-helper:9953): xfce4-settings-helper-CRITICAL **: Stored Xfconf properties disable all outputs, aborting. xfdesktop[18998]: starting up (xfdesktop:18998): GLib-GObject-WARNING **: invalid (NULL) pointer instance (xfdesktop:18998): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed Juan Francisco Cantero Hurtado i...@juanfra.infogeo On Tue, Mar 20, 2012 at 11:41:56PM +0800, Alan Cheng wrote: Hello List, So I'm using a Loongson YeeLoong netbook. I installed XFCE4 without any issues, But it will freeze after around 15 minutes, even if I do nothing on it. Starting terminal will cause it to freeze immediately. I can still SSH into this netbook after freeze and everything else seems to be fine. This happens back during 4.9 days. It's the same on 5.0 and current snapshot. Any insight will be appreciated. and I'll be glad to provide any info required to troubleshoot this. I'm not sure exactly what info will be needed, so I'll start with dmesg. More will be provided as necessary: I can't help with your problem but if you run the window manager with startx, the output of startx is always very useful. Run startx with this command: startx 1startx-output.log 21 Also, you can log in your loongson with ssh, execute tail -f startx-output.log and look the errors in real time when your wm is freeze. Cheers. -- Juan Francisco Cantero Hurtado http://juanfra.info
Re: responding to buttonpress ACPI event sent by KVM/Qemu
Disable mpbios. Cheers, Lars