Route bad address

2013-05-25 Thread Cesar Calvo
Hi people.
I have a linux server a try to migrate to openbsd 5.3/amd64. I am totatly
new in this amazing OS.

In linux I have:
ifconfig net1 200.124.200.125/29
route add -net  190.64.x.x dev net1
route add gateway 190.64.x.x dev net1
All packets from net1 ip are delivery via 190.64.x.x gateway.

But on openbsd, route syntax is different.
I have hostname.em0 with:
inet 200.124.200.125 255.255.255.248 none
!route add -net 190.64.x.x -iface em0

And in mygate I put only 190.64.x.x

The result is bad address and network is unrecheable.

any help? Thanks in advance



Route bad address

2013-05-25 Thread Cesar Calvo
Hi people.
I have a linux server a try to migrate to openbsd 5.3/amd64. I am totatly
new in this amazing OS.

In linux I have:

   - ip addr 200.124.200.125/32 dev net1
   - ip route add 190.64.x.x dev net1
   - ip route add default via 190.64.x.x

All packets from net1 ip are delivery via 190.64.x.x gateway.

But on openbsd, route syntax is different.
I have hostname.em0 with:
inet 200.124.200.125 255.255.255.248 none
!route add 190.64.x.x -iface em0

And in mygate I put only 190.64.x.x

The result is bad address and network is unreachable.

any help?

Thanks in advance



Route Bad address or network unreacheable

2013-05-25 Thread Cesar Calvo
Hi people.
I have a linux server a try to migrate to openbsd 5.3/amd64. I am totatly
new in this amazing OS.

In linux I have:

   - ip addr 200.124.200.125/32 dev net1
   - ip route add 190.64.x.x dev net1
   - ip route add default via 190.64.x.x

All packets from net1 ip are delivery via 190.64.x.x gateway.
But on openbsd, route syntax is different.
I have hostname.em0 with:
inet 200.124.200.125 255.255.255.248 none
!route add 190.64.x.x -iface em0

And in mygate I put only 190.64.x.x

The result is bad address and network is unreachable.



Re: Route Bad address or network unreacheable

2013-05-26 Thread Cesar Calvo
Hi, thanks for sharing

>http://marc.info/?l=openbsd-misc&m=134643340822363
>hostname.if:
>   !route add -llinfo -iface -net 10.255.0.0/16 10.255.255.1 -ifp nfe0
>   inet 1.2.3.4 255.255.255.255
>   inet 1.2.4.3 255.255.255.255
>   ...
>
>mygate:
>   10.255.255.1

I change all inet values for sanbox testing before apply settings in
production machine


PF=no
net.inet.ip.forwarding=1

My test ip is 10.1.1.1 in a usb wireless nic (urtwn0), and the gateway
must be 192.168.1.1 where is a linksys router/gateway

hostname.urtwn0:
  nwid wifi
  wpakey 
  inet 10.1.1.1 255.255.255.255
  !route add -llinfo -iface -net 192.168.1.0/24 192.168.1.1 -ifp urtwn0

mygate:
192.168.1.1

And the result is... Network is Unreachable and ping icmp packets are lost.


urtwn0: flags=8843 mtu 1500
lladdr f8:1a:67:18:16:eb
priority: 4
groups: wlan egress
media: IEEE802.11 autoselect (OFDM54 mode 11g)
status: active
ieee80211: nwid wifi chan 1 bssid 00:25:9c:2f:43:a0 198dB
wpakey  wpaprotos wpa1,wpa2 wpaakms psk wpaciphers
tkip,ccmp wpagroupcipher tkip
inet 10.1.1.1 netmask 0xff00 broadcast 10.255.255.255


Thanks all for comments.



2013/5/26 Stuart Henderson 

> On 2013-05-25, Cesar Calvo  wrote:
> > Hi people.
> > I have a linux server a try to migrate to openbsd 5.3/amd64. I am totatly
> > new in this amazing OS.
> >
> > In linux I have:
> >
> >- ip addr 200.124.200.125/32 dev net1
> >- ip route add 190.64.x.x dev net1
> >- ip route add default via 190.64.x.x
> >
> > All packets from net1 ip are delivery via 190.64.x.x gateway.
> > But on openbsd, route syntax is different.
> > I have hostname.em0 with:
> > inet 200.124.200.125 255.255.255.248 none
> > !route add 190.64.x.x -iface em0
> >
> > And in mygate I put only 190.64.x.x
> >
> > The result is bad address and network is unreachable.
> >
> >
>
> See http://marc.info/?l=openbsd-misc&m=134643340822363 for an example
> of one way you might work around this broken network configuration.



PHP5.4 support

2013-07-17 Thread Cesar Calvo
Hello, I am a web developer and I use OpenBSD as a desktop which works very
well. I wonder if anyone knows if the next stable will be included php5.4
support. I currently use the Apache 1.3 which comes built but my new
applications and is used Laravel4 need and that takes advantage of the
closures and traits.

Great job and thank you very much.

--cesar



Re: PHP5.4 support

2013-07-17 Thread Cesar Calvo
Yes, I checked but the last packet is available is php-5.3.26p1.tgz in
http://ftp.openbsd.org/pub/OpenBSD/snapshots/packages/amd64/

Thanks for reply.


On Wed, Jul 17, 2013 at 11:03 AM, nacredata  wrote:

> Did you check the latest snapshot? I think the best thing to focus to
> download those & test them.
>
>
> devin
> --
> contact info: http://nacredata.com/devin
>
>
>
> On Jul 17, 2013, at 6:59 AM, Cesar Calvo  wrote:
>
> > Hello, I am a web developer and I use OpenBSD as a desktop which works
> very
> > well. I wonder if anyone knows if the next stable will be included php5.4
> > support. I currently use the Apache 1.3 which comes built but my new
> > applications and is used Laravel4 need and that takes advantage of the
> > closures and traits.
> >
> > Great job and thank you very much.
> >
> > --cesar
> >
>



--
©