two networks in one server?

2011-10-09 Thread pepe
Hello!

I'm just asking before trying if it possible to use two network uplinks in
one server so other would be just backup way in?
I have currently connection from two ISPs and server is up with one
connection. Is it possible to add another nic and wire that to connection
from another isp? So isp 1 would be in normal use in/out, but isp 2 could be
used connecting in?

-- 
pepe
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: remote password change

2011-05-30 Thread pepe
On Sat, May 28, 2011 at 4:05 PM, Adam Vande More amvandem...@gmail.comwrote:

 On Sat, May 28, 2011 at 7:17 AM, pepe pla...@gmail.com wrote:

 Or better yet, automatic migration of
 password so if user changes password for server A it would change in
 server
 B too. Are there some solutions to do this?


 http://www.freebsd.org/doc/handbook/network-nis.html

 --
 Adam Vande More


I ran into little problem with NIS. problem is that UIDs are different for
all users in both server. So is it still possible to sync passwords with NIS
with different UIDs?

-- 
pepe
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: remote password change

2011-05-30 Thread pepe
On Sat, May 28, 2011 at 3:17 PM, pepe pla...@gmail.com wrote:

 I have two FreeBSD 8 servers running. Server A is for shell access and
 server B for www pages. On B there is only scp/sftp access and no shell
 login.
 Now I'm looking for solution for people to be able to change password for
 server B from inside server A. Or better yet, automatic migration of
 password so if user changes password for server A it would change in server
 B too. Are there some solutions to do this?

 --
 pepe



So. I did look into NIS but it seems little problematic with different UIDs
on all users in different servers. And the thing is I don't really need to
sync passwords that much. It would be enough if there is way to just change
passwords in ftp/scp server with shell access only into other server. If
there is not this kind of solution then web-application would be ok too if
there are any? NIS would be good, but seems little heavy solution since all
that I really need right now between these servers is access for some people
to change their ftp password...

-- 
pepe
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


remote password change

2011-05-28 Thread pepe
I have two FreeBSD 8 servers running. Server A is for shell access and
server B for www pages. On B there is only scp/sftp access and no shell
login.
Now I'm looking for solution for people to be able to change password for
server B from inside server A. Or better yet, automatic migration of
password so if user changes password for server A it would change in server
B too. Are there some solutions to do this?

-- 
pepe
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: ipv6 problem

2011-02-03 Thread pepe

On 3.2.2011 17:53, Thomas Sandford wrote:

On 01/02/2011 07:29, pepe wrote:

I have 2001:14b8:10:402::/64 ipv6 from my isp and I cant get it working.
Ifconfig should be ok:
backup# ifconfig rl0 inet6

rl0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500
options=8VLAN_MTU
inet6 2001:14b8:10:402:2::1 prefixlen 64


Looks a bit odd - I would expect to see a link-local address too - eg

%ifconfig bge0 inet6
bge0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500

options=8009bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,LINKSTATE
inet6 fe80::20b:cdff:fef2:9a57%bge0 prefixlen 64 scopeid 0x1
inet6 2001:8b0:cae3:1:20b:cdff:fef2:9a57 prefixlen 64 autoconf


default gateway is set to 2001:14b8:10:402:1::1.


That sounds a slightly odd comment, since in general IPv6 routing is
done with auto-discovery. Especially given the fact that the default
route quoted lies within the same subnet (2001:14b8:10:402:: prefixlen
64) as the host in question.

When I try to traceroute

irc server for example
I get this:

traceroute6: Warning: irc.cc.tut.fi has multiple addresses; using
2001:708:310:4952:4320:5365:7276:6572


I get this message too - because the host irc.cc.tut.fi DOES have
multiple addresses:

%dig irc.cc.tut.fi 

;  DiG 9.6.2-P2  irc.cc.tut.fi 
;; global options: +cmd
;; Got answer:
;; -HEADER- opcode: QUERY, status: NOERROR, id: 24710
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 3, ADDITIONAL: 0

;; QUESTION SECTION:
;irc.cc.tut.fi. IN 

;; ANSWER SECTION:
irc.cc.tut.fi. 3134 IN  2001:708:310:4952:4320:5365:7276:6572
irc.cc.tut.fi. 3134 IN  2001:708:310:4952:4320:436c:6965:6e74

;; AUTHORITY SECTION:
cc.tut.fi. 172334 IN NS ns-secondary.funet.fi.
cc.tut.fi. 172334 IN NS kaustinen.cc.tut.fi.
cc.tut.fi. 172334 IN NS ressu.cc.tut.fi.

;; Query time: 0 msec
;; SERVER: 81.187.228.6#53(81.187.228.6)
;; WHEN: Thu Feb 3 15:34:06 2011
;; MSG SIZE rcvd: 164



traceroute6 to irc.cc.tut.fi (2001:708:310:4952:4320:5365:7276:6572) from
2001:14b8:10:402:2::1, 64 hops max, 12 byte packets
1 2001:14b8:10:402:2::1 2026.908 ms !A 2999.587 ms !A 3000.423 ms !A


 From the traceroute6 manpage
!A Destination Unreachable - Address Unreachable.

It also appears that your first hop address is the same as your source
address, which does suggest that routing is more than a little bit screwy.

On my system I get:

%traceroute6 -n irc.cc.tut.fi
traceroute6: Warning: irc.cc.tut.fi has multiple addresses; using
2001:708:310:4952:4320:436c:6965:6e74
traceroute6 to irc.cc.tut.fi (2001:708:310:4952:4320:436c:6965:6e74)
from 2001:8b0:cae3:1:20b:cdff:fef2:9a57, 64 hops max, 12 byte packets
1 2001:8b0:cae3:1:21a:a2ff:fe34:e50b 1.349 ms 0.969 ms 1.011 ms
2 2001:8b0:0:53:203:97ff:fe05:8000 129.118 ms 143.449 ms 119.622 ms
3 2001:7f8:4::50e8:1 132.075 ms 119.009 ms 117.983 ms
4 2001:7f8:4::1b1b:1 123.832 ms 114.424 ms 119.675 ms
5 2001:7f8:4::a2b:1 114.905 ms 119.009 ms 118.030 ms
6 2001:948:1:8::3 134.205 ms 143.579 ms 130.875 ms
7 2001:948:1:2::3 145.068 ms 145.049 ms 156.321 ms
8 2001:948:3:2::3 165.258 ms 171.228 ms 156.591 ms
9 2001:708:0:f000:0:60:3060:2 233.114 ms 163.319 ms 158.668 ms
10 2001:708:310::2 67.252 ms 58.513 ms 59.656 ms
11 2001:708:310:4952:4320:436c:6965:6e74 58.906 ms 58.310 ms 58.045 ms

(I ran it with -n as I think in this case the raw IPv6 addresses are
more informative than the rDNS lookups).


So. Could this be problem in my configs or is this because of something
wrong at the isp side?


It does look as though there is something a little odd with your
configs. It's difficult to be more specific because you've given very
little information.

If things at the router (whether yours or at the isp) are set up
correctly then the single line in /etc/rc.conf

ipv6_enable=YES

should be sufficient to autoconfigure BOTH ipv6 address and routing
using Router Discovery. This is all that I had to do on the machine I
generated the above config dumps  traces from.

In my case my ISP (AAISP in the UK) have allocated me a /48 2001:8b0:cae3::

Traffic comes to me over a 6to4 tunnel from the ISP terminated on a
Cisco router (though I tested it on a FreeBSD host before I got the 6to4
tunnel set up on the router). The LAN side interface of the router has
Router Advertisements enabled which means that the above rc.conf line is
all that is required for everything to just work.



This one got solved at freebsd-net already with more information about 
my configs and system... It is problem at isp side instead of my configs...

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


ipv6 problem

2011-01-31 Thread pepe
I have 2001:14b8:10:402::/64 ipv6 from my isp and I cant get it working.
Ifconfig should be ok:
backup# ifconfig rl0 inet6

rl0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500
options=8VLAN_MTU
inet6 2001:14b8:10:402:2::1 prefixlen 64

default gateway is set to 2001:14b8:10:402:1::1. When I try to traceroute
irc server for example
I get this:

traceroute6: Warning: irc.cc.tut.fi has multiple addresses; using
2001:708:310:4952:4320:5365:7276:6572
traceroute6 to irc.cc.tut.fi (2001:708:310:4952:4320:5365:7276:6572) from
2001:14b8:10:402:2::1, 64 hops max, 12 byte packets
 1  2001:14b8:10:402:2::1  2026.908 ms !A  2999.587 ms !A  3000.423 ms !A

So. Could this be problem in my configs or is this because of something
wrong at the isp side?

-- 
pepe
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


replacing harddisks

2009-07-02 Thread pepe
I have gmirror of two 200GB disks where I have whole /usr f my freebsd 7.2
system. root, /var and /boot are on other disk, but I need to replace those
both disks with bigger ones now. To get bigger /usr. So what I'm wondering
now is if there is way to take one disk out of mirror (geom) and add bigger.
So it would be one 200g and one 640g. And after sync replace other 200g with
640g so there would be two 640g disks. What I don't know is if mirror would
still be original 200g or can I get it working full 640g this way? Or do I
need to do it some harder way? Like adding both disks, creating mirror of
them, copy original mirror with dd to new one and then removing old disks?

-- 
pepe
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


7.0 locale problem

2008-11-21 Thread pepe
I recently upgraded from 5.4 to 7.0 (to 6.3 first and then to 7.0) and now
there are some locale problems this server. I have same I had earlier on 5.4
login.conf with settings:

:charset=iso-8859-15:\
:lang=fi_FI.ISO8859-15:

for all users. And locale command says:

LANG=fi_FI.ISO8859-15
LC_CTYPE=fi_FI.ISO8859-15
LC_COLLATE=fi_FI.ISO8859-15
LC_TIME=fi_FI.ISO8859-15
LC_NUMERIC=fi_FI.ISO8859-15
LC_MONETARY=fi_FI.ISO8859-15
LC_MESSAGES=fi_FI.ISO8859-15
LC_ALL=

Finnish characters (äö) doesn't work on terminal (they give nothing), but
them works on some softwares like nano and vi. Yet them doesn't work on some
other programs. Like weechat (ircclient that some users use).

And perl started saying this every time it's run:

perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LC_ALL = (unset),
LANG = en_US.ISO8859-15
are supported and installed on your system.
perl: warning: Falling back to the standard locale (C).

So. What might have been changed there on upgrade procedure?

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


Re: 7.0 locale problem

2008-11-21 Thread pepe
This has been solved. I just had to upgrade and/or reinstall many of our
ports...

On Fri, Nov 21, 2008 at 4:28 PM, pepe [EMAIL PROTECTED] wrote:

 I recently upgraded from 5.4 to 7.0 (to 6.3 first and then to 7.0) and now
 there are some locale problems this server. I have same I had earlier on 5.4
 login.conf with settings:

 :charset=iso-8859-15:\
 :lang=fi_FI.ISO8859-15:

 for all users. And locale command says:

 LANG=fi_FI.ISO8859-15
 LC_CTYPE=fi_FI.ISO8859-15
 LC_COLLATE=fi_FI.ISO8859-15
 LC_TIME=fi_FI.ISO8859-15
 LC_NUMERIC=fi_FI.ISO8859-15
 LC_MONETARY=fi_FI.ISO8859-15
 LC_MESSAGES=fi_FI.ISO8859-15
 LC_ALL=

 Finnish characters (äö) doesn't work on terminal (they give nothing), but
 them works on some softwares like nano and vi. Yet them doesn't work on some
 other programs. Like weechat (ircclient that some users use).

 And perl started saying this every time it's run:

 perl: warning: Setting locale failed.
 perl: warning: Please check that your locale settings:
 LC_ALL = (unset),
 LANG = en_US.ISO8859-15
 are supported and installed on your system.
 perl: warning: Falling back to the standard locale (C).

 So. What might have been changed there on upgrade procedure?

 --
 pepe




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


upgrading 5.4 - 7.0

2008-10-31 Thread pepe
We are running 5.4 on www/ircshell server now and we need to upgrade it. Is
it ok (or is it possible) to upgrade straight to 7.0 or are there some known
problems in this upgrade? Would it be better to do 5.4 - 6 - 7 instead?

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


FreeBSD 7.0 ZFS boot freeze

2007-05-15 Thread pepe perez
I have an ASUS P4S800D motherboard with a Seagate 120GB Serial ATA disk. I 
want to install on it FreeBSD 7.0 ZFS, but I have probed all options in 
beastie screen and all freezed during boot process (usually when it reach 
the CD/DVD type detection).


I'm now using that motherboard with FreeBSD 6.2 and a 80GB IDE ATA without 
problems, but I want to change to my new disc (SATA should be faster than 
IDE) and I don't know how to do it.


¿any suggestion?

Thank you.

_
Acepta el reto MSN Premium: Protección para tus hijos en internet. 
Descárgalo y pruébalo 2 meses gratis. 
http://join.msn.com?XAPID=1697DI=1055HL=Footer_mailsenviados_proteccioninfantil


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