missing mount_devfs

2008-12-17 Thread oxy

hi!

I installed 7.0-RELEASE/amd64 and tried to create a jail with jailctl.
after a couple errors i noticed that mount_devfs is missing!
is there any other way to create devfs in order to make jails?
thank you!
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"


Re: ttyd0 permission denied problem

2007-07-18 Thread oxy

sorry, miss-clicked :)
thanks for your help

Jeremy Chadwick írta:

On Wed, Jul 18, 2007 at 08:27:22PM +0200, oxy wrote:

 [EMAIL PROTECTED] /dev]# cu -l /dev/ttyd0 -s 115200
 Connected

 so my problem is minicom? how can i give permission for it?
 when i did: 'chown uucp:dialer /dev/ttyd0' than it worked for
 a couple minutes, than system changed back owner to root:wheel


I don't use minicom, so I don't know.  It does sound specific to
that program, however.

The permissions and ownership changing are probably induced by devfs
or devfs.conf, but this is speculation on my part.

Also, please do not remove the mailing list from your responses;
it's good to provide details to everyone on the list so that others
know where the problem is, and future mailing list searches can
reveal clues.  :-)  Thanks.


___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


ttyd0 permission denied problem

2007-07-18 Thread oxy

hi!

i have exactly the same problem:
http://unix.derkeiler.com/Mailing-Lists/FreeBSD/questions/2006-07/msg00050.html

is there any solution? i need serial console, and i can't figure out 
what's wrong..

___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: RAID mirror, 6.1 won't boot

2006-09-03 Thread OxY

try to put in a PATA disk on the primary motherboard controller...
for example primary master...
it solved the problem for me
- Original Message - 
From: <[EMAIL PROTECTED]>

To: 
Sent: Monday, September 04, 2006 12:08 AM
Subject: RAID mirror, 6.1 won't boot






I've got a brand new PC, ASUS P5LD2 motherboard and an Intel P4 3.2 CPU. 
I've installed the i386 version of 6.1 over a dozen times using different 
geometries and different drives and such, I get mixed results, but it 
won't boot. I'm running a RAID mirror on 2 SATA drives. If I have the 
mirror turned on and the second hard drive installed I get "no boot device 
available" or I get a boot prompt complaining that it can't find 
/boot/loader. Right now I just get a "-" that blinks, but no boot and no 
system message that it can't find a boot device and no BSD boot prompt. If 
I remove the second drive the system boots normally! If I put it back in 
it won't boot! BSD sees the RAID controller. Is there any easy way to fix 
this? It seems like it's really close to working and I really want the 
redundancy.







___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]" 


___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: setting up a serial console..

2006-05-25 Thread OxY
- Original Message - 
From: "Thierry Herbelot" <[EMAIL PROTECTED]>

To: 
Cc: "OxY" <[EMAIL PROTECTED]>
Sent: Thursday, May 25, 2006 8:39 PM
Subject: Re: setting up a serial console..



Le Thursday 25 May 2006 17:16, OxY a écrit :

hi!

i have a simple question, but i didn't found the answer.

after i set console=comconsole in the /boot/loader.conf
and rebooted every output has been sent to the serial console,
it's normal...


in /boot/defaults/loader.conf you will find the following line :
#console="vidconsole"   # A comma separated list of console(s)

you can have both a serial console and a video console by setting :
console="vidconsole,comconsole"


awesome, thx!


TfH
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]" 


___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


setting up a serial console..

2006-05-25 Thread OxY
hi!

i have a simple question, but i didn't found the answer.

after i set console=comconsole in the /boot/loader.conf
and rebooted every output has been sent to the serial console,
it's normal...

but! what if anything goes wrong, serial console not working, box cannot boot 
up..
how can i change the comconsole setting back to vidconsole?
is it possible?

thx!
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: amd64 kernel on intel em64t

2006-05-15 Thread OxY

thanks!
- Original Message - 
From: "Dag-Erling "Smørgrav"" <[EMAIL PROTECTED]>

To: "OxY" <[EMAIL PROTECTED]>
Cc: 
Sent: Monday, May 15, 2006 10:35 AM
Subject: Re: amd64 kernel on intel em64t


"OxY" <[EMAIL PROTECTED]> writes:

in amd64 GENERIC conf i see

cpuHAMMER

is there any other CPU type for amd64 kernel?
i have an intel EM64T, can i have any advantages of that or
should use HAMMER?


HAMMER is the only recognized CPU type for amd64.

DES
--
Dag-Erling Smørgrav - [EMAIL PROTECTED]
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]" 


___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


amd64 kernel on intel em64t

2006-05-14 Thread OxY
hi!

in amd64 GENERIC conf i see

cpuHAMMER

is there any other CPU type for amd64 kernel?
i have an intel EM64T, can i have any advantages of that or
should use HAMMER?
thanks!
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: make installworld problem

2006-05-13 Thread OxY

noexec was the problem, thanks!

- Original Message - 
From: "whistles" <[EMAIL PROTECTED]>

To: "OxY" <[EMAIL PROTECTED]>
Sent: Sunday, May 14, 2006 8:40 AM
Subject: Re: make installworld problem



On 5/13/06, OxY <[EMAIL PROTECTED]> wrote:

hi!

i just wanted to upgrade one of my servers to 6.1-release, used cvsup to
fetch 6.1-rel, then
make buildworld
make buildkernel
reboot
mergemaster -p
make installworld

but when i start make installworld i got error...
i tried to delete the whole /usr/obj and did a make buildworld again, 
didn't helped..

dunno what's the matter, on other machines this problem doesn't appear..

here's the error log:

seismic-10 root# make installworld
mkdir -p /tmp/install.MXqa872H
for prog in [ awk cap_mkdb cat chflags chmod chown  date echo egrep find 
grep install-info  ln lockf make mkdir mtree mv pwd_mkdb rm sed sh sysctl 
test true uname wc zic; do  cp `which $prog` /tmp/install.MXqa872H;  done
cd /usr/src; MAKEOBJDIRPREFIX=/usr/obj  MACHINE_ARCH=i386  MACHINE=i386 
CPUTYPE=  GROFF_BIN_PATH=/usr/obj/usr/src/tmp/legacy/usr/bin 
GROFF_FONT_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/groff_font 
GROFF_TMAC_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/tmac 
PATH=/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/usr/bin:/usr/obj/usr/src/tmp/legacy/usr/games:/usr/obj/usr/src/tmp/usr/sbin:/usr/obj/usr/src/tmp/usr/bin:/usr/obj/usr/src/tmp/usr/games:/tmp/install.MXqa872H 
make -f Makefile.inc1 reinstall

make: Permission denied
*** Error code 126

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to 
"[EMAIL PROTECTED]"




Your /tmp has noexec set in fstab , ya might want to throw make
installkernel KERNCONF=FOO  before the reboot also.



___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: make installworld problem

2006-05-13 Thread OxY

sorry, i forgot two things:
1,my version was 6.0-release before
2,after buildkernel i did make installkernel of course and rebooted with the 
new kernel


- Original Message - 
From: "OxY" <[EMAIL PROTECTED]>

To: 
Sent: Sunday, May 14, 2006 8:30 AM
Subject: make installworld problem


hi!

i just wanted to upgrade one of my servers to 6.1-release, used cvsup to
fetch 6.1-rel, then
make buildworld
make buildkernel
reboot
mergemaster -p
make installworld

but when i start make installworld i got error...
i tried to delete the whole /usr/obj and did a make buildworld again, didn't 
helped..

dunno what's the matter, on other machines this problem doesn't appear..

here's the error log:

seismic-10 root# make installworld
mkdir -p /tmp/install.MXqa872H
for prog in [ awk cap_mkdb cat chflags chmod chown  date echo egrep find 
grep install-info  ln lockf make mkdir mtree mv pwd_mkdb rm sed sh sysctl 
test true uname wc zic; do  cp `which $prog` /tmp/install.MXqa872H;  done
cd /usr/src; MAKEOBJDIRPREFIX=/usr/obj  MACHINE_ARCH=i386  MACHINE=i386 
CPUTYPE=  GROFF_BIN_PATH=/usr/obj/usr/src/tmp/legacy/usr/bin 
GROFF_FONT_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/groff_font 
GROFF_TMAC_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/tmac 
PATH=/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/usr/bin:/usr/obj/usr/src/tmp/legacy/usr/games:/usr/obj/usr/src/tmp/usr/sbin:/usr/obj/usr/src/tmp/usr/bin:/usr/obj/usr/src/tmp/usr/games:/tmp/install.MXqa872H 
make -f Makefile.inc1 reinstall

make: Permission denied
*** Error code 126

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]" 


___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


make installworld problem

2006-05-13 Thread OxY
hi!

i just wanted to upgrade one of my servers to 6.1-release, used cvsup to
fetch 6.1-rel, then 
make buildworld
make buildkernel
reboot
mergemaster -p
make installworld

but when i start make installworld i got error...
i tried to delete the whole /usr/obj and did a make buildworld again, didn't 
helped..
dunno what's the matter, on other machines this problem doesn't appear..

here's the error log:

seismic-10 root# make installworld
mkdir -p /tmp/install.MXqa872H
for prog in [ awk cap_mkdb cat chflags chmod chown  date echo egrep find grep 
install-info  ln lockf make mkdir mtree mv pwd_mkdb rm sed sh sysctl  test true 
uname wc zic; do  cp `which $prog` /tmp/install.MXqa872H;  done
cd /usr/src; MAKEOBJDIRPREFIX=/usr/obj  MACHINE_ARCH=i386  MACHINE=i386  
CPUTYPE=  GROFF_BIN_PATH=/usr/obj/usr/src/tmp/legacy/usr/bin  
GROFF_FONT_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/groff_font  
GROFF_TMAC_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/tmac  
PATH=/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/usr/bin:/usr/obj/usr/src/tmp/legacy/usr/games:/usr/obj/usr/src/tmp/usr/sbin:/usr/obj/usr/src/tmp/usr/bin:/usr/obj/usr/src/tmp/usr/games:/tmp/install.MXqa872H
 make -f Makefile.inc1 reinstall
make: Permission denied
*** Error code 126

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: enabling hyper-threading on intel dual-core

2006-05-11 Thread OxY

930 is perfect, fast enough, no need to spend more money, thanks :)
- Original Message - 
From: "Achim Patzner" <[EMAIL PROTECTED]>

To: "OxY" <[EMAIL PROTECTED]>
Cc: ; 
Sent: Thursday, May 11, 2006 8:16 PM
Subject: Re: enabling hyper-threading on intel dual-core



i just bought an Intel Pentium D-930 (3ghz dual-core)
and wonder why i just only have CPU0 and CPU1, when i compile with  
SMP...


You would need a Pentium Extreme (840, 955 or 965) for this. And  
quite a bit of cash.



Achim


___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: enabling hyper-threading on intel dual-core

2006-05-11 Thread OxY

thanks a lot for your help!

- Original Message - 
From: "Shane Ambler" <[EMAIL PROTECTED]>

To: "FreeBSD Mailing Lists" 
Sent: Thursday, May 11, 2006 7:34 PM
Subject: Re: enabling hyper-threading on intel dual-core



On 12/5/2006 1:30, "OxY" <[EMAIL PROTECTED]> wrote:


hi!

i just bought an Intel Pentium D-930 (3ghz dual-core)
and wonder why i just only have CPU0 and CPU1, when i compile with SMP...

sysctl says:
machdep.cpu_idle_hlt: 0

is it right or i should see CPU 2 and 3 starting during the boot?

thanks for your help!

ps: i even compiled this option in kernel, can't see any change

options MPTABLE_FORCE_HTT   # Enable HTT CPUs with the MP 
Table

___
freebsd-performance@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-performance
To unsubscribe, send any mail to 
"[EMAIL PROTECTED]"




Sounds right to me - the 930 is a dual core and will show up as two cpu's
cpu0 and cpu1.

The early dual core's don't support hyperthreading - the Pentium-D 
extreme
edition does (Pentium D-955 at 3.46Ghz is one) and will show up as 4 
cpu's.

Currently at 3x the price.


--

Shane Ambler
[EMAIL PROTECTED]


___
freebsd-performance@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-performance
To unsubscribe, send any mail to 
"[EMAIL PROTECTED]" 


___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


enabling hyper-threading on intel dual-core

2006-05-11 Thread OxY
hi!

i just bought an Intel Pentium D-930 (3ghz dual-core)
and wonder why i just only have CPU0 and CPU1, when i compile with SMP...

sysctl says:
machdep.cpu_idle_hlt: 0

is it right or i should see CPU 2 and 3 starting during the boot?

thanks for your help!

ps: i even compiled this option in kernel, can't see any change

options MPTABLE_FORCE_HTT   # Enable HTT CPUs with the MP Table
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Encrypting full disk with several slices

2006-01-29 Thread OxY

Hi!

I would appreciate some help from you..i
failed to find anything on google and manpages about this topic..

My goal is to encrypt my root partition with geli or gbde. First, I tried
geli, man page said that it's ok to encrypt root partition (just leave 
unencrypted

the /boot part, so i put it on other slice), but it's not so simple..

tried to encrypt the full disk first, then create the partitions and slices
to be able to use just one key/pass, it's not so convinient to type
9 passwords per boot..
i used the cmds:

# dd if=/dev/random of=/boot/ad2.key bs=64 count=1
# geli init -s 4096 -K /boot/ad2.key /dev/ad2

then partition the disk:
created fdisk config file (which works on unencrypted partition) (just with 
test length, i know is's small :)


p   1   165   1 8192


it said: length must be a multiple of sector size..
sector size is 4096, so dunno what's the matter..(tried with 16384, so 
on...)


Now, i am thinking about first create partitions and slices, (ad2s1a,d,e,f,g 
; ad2s2d,e,f,g)
then encrypt them one-by-one ..my only problem is to how can i manage it to 
ask for one password when

i boot

Thank you and sorry for my poor english..

___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: ipfw+nat

2005-12-27 Thread OxY

hi!

after i can't get it work with ipfw i tried ipnat..
i am satisfied, it's much more easier..
now, i can redirect packages from my public ip to localhost...
for example:
rdr em0 x.x.x.x/32 port 223 -> 127.0.0.1 port 2233 tcp

how can i make it to redirect packages from x.x.x.x/32 port 223 to another
public ip on
the internet?
if i use this:
rdr em0 x.x.x.x/32 port 223 -> public.ip.on.the.internet port 80 tcp
it hangs for a while, then operation timeout...
thanks!

- Original Message - 
From: "OxY" <[EMAIL PROTECTED]>

To: 
Sent: Tuesday, December 27, 2005 12:37 PM
Subject: ipfw+nat



hi all!

i'd like to ask for your help, because i didn't find anything related 
about this topic..
i have a box, with public ip, which is connected to other clients through 
openvpn (10.254.0.x)

i'd like to connect to the openvpn client's port (for example ssh)
through a public address  port (x.x.x.x 16354)

unfortunately i totally failed in this, can't even forward to my boxes 
openvpn address..


tried this:
$cmd 00701 fwd 10.254.0.1,22 tcp from any to x.x.x.x 16354

no result, connection refused..
it works well with datapipe, however i don't want to set up dozens of 
datapipes :)


natd is enabled, do i need it? or ipfw divert?
i have the following related in kernel conf:

options IPFIREWALL
options IPFIREWALL_VERBOSE
options IPFIREWALL_VERBOSE_LIMIT=5
options IPFIREWALL_DEFAULT_TO_ACCEPT
options IPFIREWALL_FORWARD

do i need anything else?
thx for all your help and merry christmas!
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]" 


___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


ipfw+nat

2005-12-27 Thread OxY

hi all!

i'd like to ask for your help, because i didn't find anything related about 
this topic..
i have a box, with public ip, which is connected to other clients through 
openvpn (10.254.0.x)

i'd like to connect to the openvpn client's port (for example ssh)
through a public address  port (x.x.x.x 16354)

unfortunately i totally failed in this, can't even forward to my boxes 
openvpn address..


tried this:
$cmd 00701 fwd 10.254.0.1,22 tcp from any to x.x.x.x 16354

no result, connection refused..
it works well with datapipe, however i don't want to set up dozens of 
datapipes :)


natd is enabled, do i need it? or ipfw divert?
i have the following related in kernel conf:

options IPFIREWALL
options IPFIREWALL_VERBOSE
options IPFIREWALL_VERBOSE_LIMIT=5
options IPFIREWALL_DEFAULT_TO_ACCEPT
options IPFIREWALL_FORWARD

do i need anything else?
thx for all your help and merry christmas! 


___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: 2 lame questions (ipfw, keyboard driver)

2005-12-23 Thread OxY

whatever i give to ipfw rule after fwd it forwards me to my box: port
for example...
fwd 10.254.64.10,22 tcp from any to 195.70.x.x

it is forwarding me to 195.70.x.x port 22
what's wrong?

- Original Message - 
From: "OxY" <[EMAIL PROTECTED]>

To: "Julian Elischer" <[EMAIL PROTECTED]>
Cc: 
Sent: Friday, December 23, 2005 3:50 PM
Subject: Re: 2 lame questions (ipfw, keyboard driver)



yeah, it's 10.254.64.14 is the other machine in my vpn...
so not the machine, and 22 port is enabled,
i can use it by 'ssh 10.254.64.14 '

options IPFIREWALL_FORWARD   is in my kernel

root# ipfw show 310
00310  4   204 fwd 10.254.64.10,2233 tcp from any to 195.70.x.x 
dst-port 16345


from outside it says:

su-2.05b# telnet 195.70.x.x16345
Trying 195.70.x.x...
telnet: connect to address 195.70.x.x: Connection refused
telnet: Unable to connect to remote host

- Original Message - 
From: "Julian Elischer" <[EMAIL PROTECTED]>

To: "OxY" <[EMAIL PROTECTED]>
Cc: 
Sent: Thursday, December 22, 2005 7:45 PM
Subject: Re: 2 lame questions (ipfw, keyboard driver)



OxY wrote:


hi!

i have two lame questions, one about ipfw port forwarding, and
an other about keyboard driver...

1, i have a box with public ip 195.70.x.x and openvpn 10.254.0.14 ip..
i'd like to accept connections on my public ip's y port and forward it 
to my 10.254.64.14 port 22..

is this possible?
first i tried ipfw forward rule
$cmd 00310 fwd 10.254.64.10,22 tcp from any to 195.70.x.x 1634
, but it said conn refused



that should work..
is there something listenning on 10.254.64.10,22 ?
10.254.64.14 and 195.70.x.x are the same machine?

do you have

options IPFIREWALL_FORWARD  #enable transparent proxy support

in your kernel?

is the rule being used?
(use "ipfw show 00310" to see usage counts)




do i need divert? i don't know the syntax, coz i don't understand it 
from the manpage..


i tried natd with -redirect_port, failed too...

2, my box is in co-loc and when i reboot it OS doesn't load atkbd, then 
when i ask for

console i can't use my keyboard..
how can i make it to always load the atkbd driver?
i read the freebsd manpage and checked device hints:

plummy root# cat /boot/device.hints |grep atkbd
hint.atkbdc.0.at="isa"
hint.atkbdc.0.port="0x060"
hint.atkbd.0.at="atkbdc"
hint.atkbd.0.irq="1"

but whatever i tried to change didn't helped..

thanks for help!



___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to 
"[EMAIL PROTECTED]"




___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]" 


___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: 2 lame questions (ipfw, keyboard driver)

2005-12-23 Thread OxY

yeah, it's 10.254.64.14 is the other machine in my vpn...
so not the machine, and 22 port is enabled,
i can use it by 'ssh 10.254.64.14 '

options IPFIREWALL_FORWARD   is in my kernel

root# ipfw show 310
00310  4   204 fwd 10.254.64.10,2233 tcp from any to 195.70.x.x 
dst-port 16345


from outside it says:

su-2.05b# telnet 195.70.x.x16345
Trying 195.70.x.x...
telnet: connect to address 195.70.x.x: Connection refused
telnet: Unable to connect to remote host

- Original Message - 
From: "Julian Elischer" <[EMAIL PROTECTED]>

To: "OxY" <[EMAIL PROTECTED]>
Cc: 
Sent: Thursday, December 22, 2005 7:45 PM
Subject: Re: 2 lame questions (ipfw, keyboard driver)



OxY wrote:


hi!

i have two lame questions, one about ipfw port forwarding, and
an other about keyboard driver...

1, i have a box with public ip 195.70.x.x and openvpn 10.254.0.14 ip..
i'd like to accept connections on my public ip's y port and forward it to 
my 10.254.64.14 port 22..

is this possible?
first i tried ipfw forward rule
$cmd 00310 fwd 10.254.64.10,22 tcp from any to 195.70.x.x 1634
, but it said conn refused



that should work..
is there something listenning on 10.254.64.10,22 ?
10.254.64.14 and 195.70.x.x are the same machine?

do you have

options IPFIREWALL_FORWARD  #enable transparent proxy support

in your kernel?

is the rule being used?
(use "ipfw show 00310" to see usage counts)




do i need divert? i don't know the syntax, coz i don't understand it from 
the manpage..


i tried natd with -redirect_port, failed too...

2, my box is in co-loc and when i reboot it OS doesn't load atkbd, then 
when i ask for

console i can't use my keyboard..
how can i make it to always load the atkbd driver?
i read the freebsd manpage and checked device hints:

plummy root# cat /boot/device.hints |grep atkbd
hint.atkbdc.0.at="isa"
hint.atkbdc.0.port="0x060"
hint.atkbd.0.at="atkbdc"
hint.atkbd.0.irq="1"

but whatever i tried to change didn't helped..

thanks for help!



___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to 
"[EMAIL PROTECTED]"




___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


2 lame questions (ipfw, keyboard driver)

2005-12-22 Thread OxY

hi!

i have two lame questions, one about ipfw port forwarding, and
an other about keyboard driver...

1, i have a box with public ip 195.70.x.x and openvpn 10.254.0.14 ip..
i'd like to accept connections on my public ip's y port and forward it to my 
10.254.64.14 port 22..

is this possible?
first i tried ipfw forward rule
$cmd 00310 fwd 10.254.64.10,22 tcp from any to 195.70.x.x 1634
, but it said conn refused

do i need divert? i don't know the syntax, coz i don't understand it from 
the manpage..


i tried natd with -redirect_port, failed too...

2, my box is in co-loc and when i reboot it OS doesn't load atkbd, then when 
i ask for

console i can't use my keyboard..
how can i make it to always load the atkbd driver?
i read the freebsd manpage and checked device hints:

plummy root# cat /boot/device.hints |grep atkbd
hint.atkbdc.0.at="isa"
hint.atkbdc.0.port="0x060"
hint.atkbd.0.at="atkbdc"
hint.atkbd.0.irq="1"

but whatever i tried to change didn't helped..

thanks for help!



___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: ipfw forwarding

2005-12-14 Thread OxY

thanks, it works!

On Tue, Dec 13, 2005 at 06:27:43PM +0100, OxY wrote:

hi!

i have a probably dumb question, can't get through it..

i have some ips on my server (x.x.x.28 and x.x.x.204 is important)..

tried to forward packets from one ip to the other and ipfw doesn't do
anything.
i'd like to catch the packets on .204 port 80 and send them to one of my
vhosts
(domain is on .28)

so anybody on the internet may open the .204 address from browser and get
back
the .28 content..

i used this rule:

$cmd 00316 fwd x.x.x.x.204,80 tcp from any to x.x.x.28 80

what's wrong with it?



I suggest that you read *carefully* ipfw(8) and rewrite your rule to:

00316 fwd x.x.x.x.28,80 tcp from any to x.x.x.204 80

Good luck!

--
Vasil Dimov
- Original Message - 
From: "Vasil Dimov" <[EMAIL PROTECTED]>

To: "OxY" <[EMAIL PROTECTED]>
Cc: 
Sent: Wednesday, December 14, 2005 7:01 AM
Subject: Re: ipfw forwarding


___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: ipfw forwarding

2005-12-13 Thread OxY

both addresses are on the same box, just 2 public ips..
.28 is the jail, .204 is one of the hosts alias

- Original Message - 
From: "Peter Jeremy" <[EMAIL PROTECTED]>

To: "OxY" <[EMAIL PROTECTED]>
Cc: 
Sent: Tuesday, December 13, 2005 7:20 PM
Subject: Re: ipfw forwarding



On Tue, 2005-Dec-13 18:27:43 +0100, OxY wrote:

i used this rule:

$cmd 00316 fwd x.x.x.x.204,80 tcp from any to x.x.x.28 80

what's wrong with it?


You don't mention what is happening or not happening (running tcpdump
and following packets as they go from system to system can be useful)
but there are two issues you may not have considered.
1) Have you considered what will happen to packets being returned from
  the server on .28 to the client?
2) ipfw(8) states:
 The fwd action does not change the contents of the packet at all.
 In particular, the destination address remains unmodified, so
 packets forwarded to another system will usually be rejected by
 that system unless there is a matching rule on that system to
 capture them.  For packets forwarded locally, the local address

--
Peter Jeremy

___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


ipfw forwarding

2005-12-13 Thread OxY

hi!

i have a probably dumb question, can't get through it..

i have some ips on my server (x.x.x.28 and x.x.x.204 is important)..

tried to forward packets from one ip to the other and ipfw doesn't do 
anything.
i'd like to catch the packets on .204 port 80 and send them to one of my 
vhosts

(domain is on .28)

so anybody on the internet may open the .204 address from browser and get 
back

the .28 content..

i used this rule:

$cmd 00316 fwd x.x.x.x.204,80 tcp from any to x.x.x.28 80

what's wrong with it?

i also added options IPFIREWALL_FORWARD to my kernel

thx! 


___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: jailctl with multiple ip per jail

2005-12-12 Thread OxY

yes, i know that, but what i want is to use an existing jail
with 2ip
not to create additional jails..
- Original Message - 
From: "wiqd" <[EMAIL PROTECTED]>

To: "OxY" <[EMAIL PROTECTED]>
Cc: 
Sent: Monday, December 12, 2005 10:16 PM
Subject: Re: jailctl with multiple ip per jail



On Mon, Dec 12, 2005 at 10:09:13PM +0100, OxY wrote:

i think i can define other jails with this, am i wrong?


You can define as many jails as you want with this, and use jailctl to
start and stop them as needed.

Greg


___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: jailctl with multiple ip per jail

2005-12-12 Thread OxY

i think i can define other jails with this, am i wrong?
- Original Message - 
From: "wiqd" <[EMAIL PROTECTED]>

To: "OxY" <[EMAIL PROTECTED]>
Cc: 
Sent: Monday, December 12, 2005 10:04 PM
Subject: Re: jailctl with multiple ip per jail



On Mon, Dec 12, 2005 at 06:58:06PM +0100, OxY wrote:

hi!

i have a little problem with jailctl, (sorry if it's not the right 
maillist, dunno where should i ask it)


my question is can i use jailctl with two or more ip/jail or not?

in the jails.conf i have to add hostname:ipaddress per jail, and wonder
if i could make it work with other ip addresses...


hi there,

yes just add them all, seperated with a space.

Example:

# List the names of all your jails here
JAILS="host1.domain.tld:192.168.1.20 host2.domain.tld:192.168.1.21 
host3.domain.tld:192.168.1.22"





thanks for your help!


Hope it does help :)


Greg 


___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


jailctl with multiple ip per jail

2005-12-12 Thread OxY

hi!

i have a little problem with jailctl, (sorry if it's not the right maillist, 
dunno where should i ask it)


my question is can i use jailctl with two or more ip/jail or not?

in the jails.conf i have to add hostname:ipaddress per jail, and wonder
if i could make it work with other ip addresses...

thanks for your help! 


___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"