Re: Looking for info on how to install and configure suPHP on FreeBSD 8

2013-01-03 Thread Ilya Kazakevich
http://www.freshports.org/www/suphp/

Is not it what are you looking for?


On Fri, Jan 4, 2013 at 2:29 AM, Matt Rauch mattr-li...@eagle.ca wrote:

 suPHP
___
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: http://localhost/phpmyadmin

2013-01-01 Thread Ilya Kazakevich
To open some url you need to use web browser.
Sending URL to freebsd mail list would not open it.


On Tue, Jan 1, 2013 at 5:01 PM, Bekim's Mac bekimbisl...@gmail.com wrote:


 ___
 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

___
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: Dialog on some ports looks odd

2012-12-13 Thread Ilya Kazakevich
Hello,

Your SSH client probably configured for different charset.

1) use locale command to check your LC_*.
2) echo $TERM to check terminal type
3) In case of putty check Window / Translation / Remote charset
4) In case of unix-based client check locale there.


d...@prime.gushi.org wrote:

 Hey there,

 Can people confirm some brokenness to me?

 When I'm on a system over SSH, I find that doing the following:

 cd /usr/ports/mail/alpine; make config

 looks fine, but

 cd /usr/ports/mail/opendkim; make config

 seems to corrupt the headings and not display correctly, the OK/Cancel
 buttons get mangled (it may or may not work on the system console).

 Could I get some confirmation before I do a send-pr?

 --

 I can feel it, comin' back again...Like a rolling thunder chasin' the
 wind...

 -Dan Mahoney, JS, JB  SL, May 10th, 1997, Approx 1AM

 Dan Mahoney
 Techie,  Sysadmin,  WebGeek
 Gushi on efnet/undernet IRC
 ICQ: 13735144   AIM: LarpGM
 Site:  http://www.gushi.org
 ---

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

___
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: netstat -i

2012-12-06 Thread Ilya Kazakevich
Hello Oliver,

  NameMtu Network   Address  Ipkts Opkts
   em19000 Link#2  00:0e:0c:5c:32:29  92M  129M
   em19000 10.41.170/24  ufo2000   924K  926K


Use tcpdump to find out what traffic do you have there.
There are a lot of protocols that work on the top of Ethernet and has
nothing to do with IP.

Ilya.
___
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: dual boot winxp 9.1-rc3

2012-12-03 Thread Ilya Kazakevich
On Mon, Dec 3, 2012 at 5:40 AM, Fbsd8 fb...@a1poweruser.com wrote:

 On an old 20gb hard drive I first installed winxp on the first half of the
 HD. winxp booted fine. Then I installed 9.1-rc3 on the second half of the
 HD. Now when I boot the HD I only get 9.1-rc3. Winxp created mbr and
 installed winxp into first dos partition. 9.1-rc3 uses bsdinstall which
 uses gpart to create the slice as gpart show displays as see below...

 =  63  39862305  ada0  MBR  (19G)
 63  19928097 1  ntfs  (9.5G)
   19928160  19933137 2  freebsd  [active]  (9.5G)
   39861297  1071- free -  (535k)

 =   0  19933137  ada0s2  BSD  (9.5G)
  0  18933760   1  freebsd-ufs  (9.0G)
   18933760995328   2  freebsd-swap  (486M)
   19929088  4049  - free -  (2M)

 Now I want to add BSD dual boot to the MBR.
 Is this all I need?

  fdisk -B -b /boot/boot0 ada


Yes, you should install bootmanager (boot0) to the MBR of your HDD.
You probably better use boot0cfg (man boot0cfg )

BTW you could also use windows boot manager (fetch MBS and configure
boot.ini to work with it) but boot0 is, probably, better.

Ilya.
___
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: redirect incoming telnet to com port

2012-12-03 Thread Ilya Kazakevich
hello everybody


 i have freebsd8.2.  i want to redirect incoming telnet from telnet port to
 a com port. i mean if somebody telnet to my system with a specific port (or
 22 which is default telnet port), connect to com port and can talk to modem
 (something like cisco).

 is it possible or not?

 any hints or comments are really appreciated.


Are your talking about reverse telnet cisco functionality?

Try to use comserv:
http://www.freebsd.org/cgi/ports.cgi?query=comservstype=all

.Additionally, comservd can serve up local serial ports to remote
systems...

Ilya.
___
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: set connection to a modem

2012-12-02 Thread Ilya Kazakevich
Hello,

ppp is used when you want connect to internet via modem. i just want to
 config my modem by AT command.
 when my ppp.conf file is empty, i can talk to my modem so this config file
 do nothing what you want talk to your modem.

 if i want to talk to my modem by a specific speed, which config file should
 be changed?


You use some app to talk to your modem via serial port. You may configure
speed for each program.
You use minicom to connect to the remote system manually and you set speed
via minicom config.
You use PPP to connect to the remote system and internetwork with it and
you use ppp.conf to configure speed.

If you are interested in *default* values and port configuration regardless
app you use see:
/dev/ttyuN.init
/dev/cuauN.init
/dev/ttyuN.lock
/dev/cuauN.lock

Please read http://www.freebsd.org/doc/handbook/serial.html
man sio

Ilya.
___
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: Gnome

2012-12-02 Thread Ilya Kazakevich
On Sun, Dec 2, 2012 at 10:36 PM, ren_...@yahoo.com wrote:

 Hello, I was wondering if you can use Gnome to run your FreeBSD server,
 instead of using let's say Direct Admin ?
 If so, is there any literature on it ?
 Thank you,
 Sam Fasciano
 Sent from my Verizon Wireless BlackBerry


You can always install XOrg  (
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x-install.html)
with any Desktop Environment like KDE, Gnome etc.
But using GUI to manage your server is probably not very good idea:)

Ilya.
___
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: i386 vs amd64

2012-11-30 Thread Ilya Kazakevich
 How does the system know what is OS and what is 32-bit apps?

OS works in kernel space while application is not.

PAE affects paging system allowing software to address 2^36 bytes of memory.
You can access it in kernel space, but user space applications are limited
to 2^32 bytes of virtual memory (even less than 2^32 because of mappings).

http://en.wikipedia.org/wiki/Physical_Address_Extension

If you are interested in memory management in IA-32 (and IA-32e) here are
good links:
1) official guide:
http://www.intel.com/content/www/us/en/processors/architectures-software-developer-manuals.html
2) nice (human-readable) book:
http://mindshare.com/shop/?c=bsection=0A6B17101710



 Where would GCC fit in this regard, or Clang for that matter?

If you write app for user-space (not kernel module) you should not care
about PAE.
You simply compile it as you would do it for system with out of PAE.

Ilya.
___
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: set connection to a modem

2012-11-29 Thread Ilya Kazakevich
Hello,

honestly, i should do it for my boss and don't know what he should want
 exactly to do but i am sure that he has an external serial modem and wants
 to config it by AT commands via a freebsd system; therefore i think our
 connection is dial-out.


1) Make sure your serial port and modem work. Try to talk to your modem
using some tool like minicom (/usr/ports/comms/minicom).
Try to send some AT commands to your modem:
ATZ (should return OK)
ATI7 (should return product info)
ATDTSOME_PHONE (should dial it)


2) To talk to your modem you  will use chat tool, so read man chat

3) To connect your PC to the internet via serial modem you use PPP.
So read
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ppp-and-slip.html

You should understand how PPP works to configure it so you may want to read
http://en.wikipedia.org/wiki/Point-to-point_protocol
or
http://tools.ietf.org/html/rfc1661

Ilya.
___
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: i386 vs amd64

2012-11-29 Thread Ilya Kazakevich
Hello,

On Thu, Nov 29, 2012 at 2:57 PM, Bill Tillman btillma...@yahoo.com wrote:

 i386 will not see anything above 4 GB


Actually you *can* give access to 4Gb RAM for your system: PAE allows you
to use 36 bits instead of 32 to address your memory (and supported till
Pentium Pro) but that is only for OS (32bit apps would see 4Gb only).

Anyway, I have not seen any troubles with 64bit installations.

Ilya.
___
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: clearing /var/tmp in periodic.conf?

2012-11-29 Thread Ilya Kazakevich
Any process that stores data there would be really surprised when you clear
it:)
PHP uses tmp to store sessions and that is a good example:)

tmp may be cleaned after server restart

On Thu, Nov 29, 2012 at 8:19 PM, Gary Aitken free...@dreamchaser.orgwrote:

 Any reasons why one should not clear /var/tmp via periodic.conf?
 ___
 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

___
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


Fwd: set connection to a modem

2012-11-28 Thread Ilya Kazakevich
 i want to connect my freebsd system to modem and configure it via my
 freebsd. i thought that i should change /etc/ttys file to set speed and
 other configuration. in order to check if i am right or not, i comment ttyu
 line in ttys file and expect the modem got disconnected but the modem still
 works and can access to it.

 i googled and found that there are three files in /etc that we can edit
 them to configure our devices: /etc/ttys, /etc/gettytab and
 /etc/rc.d/serial.sh. moreover we can edit init file for each device in /dev
 to set default speed and other configuration by stty command.

 now i am confused and don't know which file i should edit to set speed and
 flow control and other setting to have a connection to my modem. i mean
 from which file i can configure my connection? i know it's too easy but
 please clear it for me.

 yours,
 sam
 ___
 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


Hello,

Modem configuration itself has nothing to do with getty and ttys
(terminals).
You only need them if you want to configure modem for plain dial-in: i.e.
somebody dials you, FreeBSD starts getty on this line, and lets your peer
enter your system.

If you want your peer to use PPP (to use IP over it, for example) you would
not need to configure ttys also.

And you do not need it  if you want to dial-up somewhere too.

What exactly you want to do?

Ilya.
___
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: Bind99 stopped resolving for external queries

2012-11-21 Thread Ilya Kazakevich
Hello,


 From my laptop if I ping the server:
 ping www.mydoamin.com
 ping: cannot resolve www.mydoamin.com: Host name lookup failure

 But if I log in to the server and do the same ping, it works fine.


1) check your laptop is configured to work with this DNS server (cat
/etc/resolv.conf on laptop or ipconfig /all | findstr DNS in case of
windows )
2) check server is accessible (ping YOUR_SERVER_IP from laptop)
3) check server is accessible via TCP/53 (telnet YOUR_SERVER_IP 53 from
your laptop)
4) check firewall on server and/or devices between server and laptop, it
may block requests
5) check your server is configured to use the same DNS: cat
/etc/resolv.conf
___
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: freebsd 8.2 on amd64 opteron

2011-04-04 Thread Ilya Kazakevich
Could you provide us this message?

On Tue, Apr 5, 2011 at 2:08 AM, David Collins davidcollins...@gmail.comwrote:

 Hi List,

 I have been using FreeBSD for a number of years and love it. I have a
 friend who is competent it linux and wanted me to help him get started
 with BSD.

 He has an amd64 opteron dual core 2GHz w/ 4G memory. Not realising we
 installed the i386 version of freebsd 8.0 and upgraded to 8.2 without
 any problem. We then tried the amd64 version of 8.2 which installed
 without any problems. However, when we log in the system either
 reboots or panics with a message on the screen within about 10
 minutes.

 I have googled around and not found very much information about this.
 Does anyone have any ideas that I can try to overcome this?

 Thanks

 David Collins


 ___
 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

___
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: Easiest desktop BSD distro

2011-03-30 Thread Ilya Kazakevich

 If there is a choice between making things easy to learn and easy to use,
 the design principle is to make it easy to use - even if that comes at the
 cost of a steeper learning curve.

And you can always create easy-to-learn GUI-based tool that works on the top
of low-level tools.
BTW Microsoft came to this idea too (see MinWin)




 So the easiest BSD? Any of them, if you're prepared to invest the time
 learning it.

FreeBSD probably is the easiest to study in all BSD family because it has a
really good handbook. But for people with *nix background (like linux) any
BSD should not be difficult.






 --

 Peter Harrison
 www.4harrisons.blogspot.com

 -original message-
 Subject: Easiest desktop BSD distro
 From: Jason Hsu jhsu802...@jasonhsu.com
 Date: 29/03/2011 21:14

 I want to learn BSD.  I find that the best way to familiarize myself with a
 distro is to adopt it as my main distro (for web browsing, email, word
 processing, etc.).

 But the challenge of BSD have so far proven too much for me.  It would take
 too long to configure FreeBSD to my liking.  I couldn't figure out what to
 enter in GRUB to multi-boot Linux and BSD.  I tried PC-BSD, GhostBSD, and
 DragonflyBSD in VirtualBox.  I've found PC-BSD agonizingly slow to install
 and operate, and KDE didn't even boot up when I logged in.  GhostBSD has too
 many things that don't work, such as the keyboard on my laptop and my
 Internet connection on my desktop.  DragonflyBSD didn't boot up in
 Virtualbox.

 I recommend Linux Mint as a first Linux distro.  It's user-friendly,
 well-established, widely used, includes codecs/drivers that Ubuntu doesn't,
 and has a Windows-like user interface.  For those with older computers, I
 recommend Puppy Linux or antiX Linux as a first distro.  I'm looking for the
 analogous choice in the BSD world.

 So what do you recommend as my first desktop BSD distro?  What desktop BSD
 distro is so easy to use that even Paris Hilton or Jessica Chicken of the
 Sea Simpson can handle it?

 Please keep in mind that I have a slow Internet connection, and these BSD
 distros are ENORMOUS.  It took some 12-14 hours to download PC-BSD.

 --
 Jason Hsu jhsu802...@jasonhsu.com
 ___
 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


 ___
 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

___
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: searching for a good IDE

2011-03-27 Thread Ilya Kazakevich
AFAIK intellij has several IDEs (for python, ruby, php) but not sure about c
and c++
Their java ide is very good and popular, and other based on the same
platform, so they may be good too.


On Sun, Mar 27, 2011 at 5:41 PM, Alokat mail...@alokat.org wrote:

 Hi,

 I'm searching for a good IDE for my development stuff - c, c++, python,
 rails, php 
 Can someone advise one?
 And I don't wanna use eclipse. :-)

 Regards,
 alokat
 ___
 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

___
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: searching for a good IDE

2011-03-27 Thread Ilya Kazakevich
If you use VI, be sure to install http://insenvim.sourceforge.net/ :)))
Intellisense is the difference between IDE and text editor

On Sun, Mar 27, 2011 at 10:57 PM, Chris Brennan xa...@xaerolimit.netwrote:

 On Sun, Mar 27, 2011 at 2:07 PM, Chip Camden
 sterl...@camdensoftware.com wrote:

 Quoth Charlie Kester on Sunday, 27 March 2011:
  
   Personally, I prefer vim.  ;)
  
 
  +1
 
  Someone will object that the OP asked for an IDE.  IMO, vim Integrates
  quite well with the shell, make, etc.
 
 
 vim is all one needs ... once I sat down and learned the basics of vim/vi I
 stopped installing nano, I feel much more comfortable in vim now then any
 other editor, even notepad. gvim on my *one* windows machine and vim
 everywhere else makes me very happy.

 --
 Did you know...
 If you play a Windows 2000 CD backwards, you hear satanic messages,

 but what's worse is when you play it forward
  ...it installs Windows 2000

 -- Alfred Perlstein on chat at freebsd.org
 ___
 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

___
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: boot linux

2011-03-22 Thread Ilya Kazakevich
You need to install boot0cfg in your MBR

man boot0cfg
http://www.freebsd.org/doc/en/books/handbook/boot-blocks.html

http://www.freebsd.org/doc/en/books/handbook/boot-blocks.htmlHonestly you
can use any MBR loader you like (grub, lilo, boot0cfg, windows). Windows
can't access boot sector on non-ntfs partitions, so you need to fetch first
block from your unix slice (boot1 or take it from /boot/boot1) and store it
as file (like freebsd.blk) on windows drive.
Grub and lilo probably can access slice their selfs.
boot0cfg definitely can.

Ilya.


On Tue, Mar 22, 2011 at 10:32 AM, xinyou yan yxy@gmail.com wrote:

  i install freebsd last

 reboot ,I can find

 F1 windows
 F2?
 F3 freebsd

 where can i fix to load my linux ?
 I install grub on /devsd7

 Now i use windows to load grub then linux
 However I want to loader linux  directly .
 ___
 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

___
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: FreeBSD Boot

2011-03-21 Thread Ilya Kazakevich
You can use fdisk -B to install non-interactive boot manager. Or you can
use -t in boot0cfg to make timeout equals to zero.
If after it you STILL have F1 -- you probably boot from another drive: not
da0 but da1. How many drives do you have? Check your BIOS settings to find
which drive you boot from.

Ilya.

On Mon, Mar 21, 2011 at 3:48 PM, Michael Klapheke mklap...@cedarpath.comwrote:

 Hi.  I know this subject has been addressed in other posts, but I cannot
 seem to get it to work.  I have inherited a FreeBSD server and I cannot get
 it to boot properly.  I read the articles on avoiding having to press the F1
 key, and I tried to follow the suggestions (note, my disks are labeled
 da0s1 etc.  instead of ad0) as in the following:

 boot0cfg -B -b /boot/boot0 /dev/da0

 or even

 fdisk -B -b /boot/boot0 /dev/da0

 Neither of these prevents the user from having to press the F1 key.

 I also read the tutorial on how FreeBSD boots, but I cannot find anything
 that helps.

 Any assistance is appreciated.

 Thanks

 Mike
 ___
 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

___
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: [solved] How to tell whether CPU supports x64?

2011-03-18 Thread Ilya Kazakevich

AMD Features=0x2010NX,LM
AMD Features2=0x1LAHF
Cores per package: 16
 Logical CPUs per core: 2

 The Intel site does say the E5520 supports x64. It seems the lack of LM
 in the original system does in fact mean it's a 32-bit only processor.


Look again:   AMD Features=0x2010NX,LM
NX,*LM*

:)



 John Levine johnl_iecc.com replied (on 2011/03/17):
  Looking at the Intel web site, the only Xeon I see that runs at 2.4GHz
  and has two cores with two threads is the Xeon 3060, which does indeed
  provide the 64 bit instruction set.

 I looked at the ark.intel.com site hoping to find what processor
 would report Id = 0xf29  Stepping = 9. I had no luck. I think the
 dual processors is because of HyperThreading, as indicated by the
 HTT feature, and that it's actually only a single core.


 Devin Teske dteske_vicor.com replied (on 2011/03/17):
  I wrote this for the job (please, suggestions/comments very welcome):
  #include stdio.h/* printf(3) */
  #include stdlib.h   /* EXIT_SUCCESS exit(3) */
  ...

 I tried the program, and it reports x86_64 support: NO on both the
 original system, and the one above that appears to be x64-capable
 (although it is running the i386 install, which may be why?).


 Again, thanks all for the help.


 ___
 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

___
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: How to tell whether CPU supports x64?

2011-03-17 Thread Ilya Kazakevich
Afaik there should be LM in AMD features output. Even for Intel. Grep
your dmesg.boot for LM.





On Fri, Mar 18, 2011 at 12:33 AM, Tait free...@t41t.com wrote:

 I have a remote server, and I'd like to know if it will support
 64-bit instructions. Is there some way I can tell? It's running 32-bit
 FreeBSD right now.

 From dmesg.boot:
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: Intel(R) Xeon(TM) CPU 2.40GHz (2387.76-MHz 686-class CPU)
Origin = GenuineIntel  Id = 0xf29  Stepping = 9

  
 Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE
Features2=0x4400CNTX-ID,b14
Logical CPUs per core: 2
real memory  = 1073676288 (1023 MB)
avail memory = 1041502208 (993 MB)
ACPI APIC Table: DELL   PE1750  
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
cpu0 (BSP): APIC ID:  0
cpu1 (AP): APIC ID:  1

 I've had no luck trying to search for the id/stepping. Would the
 feature list show x64 support?

 ___
 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

___
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: adding SRV records to a FreeBSD server

2011-03-17 Thread Ilya Kazakevich
Ola,

You have BIND 8.3 as you wrote to me. Check manual if it supports SRV
records. If so -- you do not have to upgrade your OS now.
FreeBSD 4 is REALLY OLD but I do not think upgrading freebsd is what you
want to do now: your issue is to update SRV record, right?


On Fri, Mar 18, 2011 at 12:48 AM, Diego Arias dak@gmail.com wrote:

 On Thu, Mar 17, 2011 at 4:47 PM, Diego Arias dak@gmail.com wrote:

  Its actually a little bit harder than that, not impossible but you have
 to
  upgrade the base OS and then the ports (Packages). As we have now 8.2  i
  suggest to do a clean-installation
 
  From version 6 and newer you could do a Binary upgrade using
  freebsd-update.
 
  Wait until someone check this email as im not a 4.11 or upgrade expert.
 
  If you just want to fix the problem with SRV records, check the
 named(bind)
  version to see if SRV records are supported.
 
 
  On Thu, Mar 17, 2011 at 4:38 PM, Ola Peters opet...@partnershiphp.org
 wrote:
 
   Thank you so much for your quick response, Diego.  I am a UNIX person
  but mostly on the HP-UX.  Is it difficult to upgrade FreeBSD?  Can I
 just
  download one of the packages and run the installer?
 
 
 
  Thanks!
 
 
 
  Ola
 
 
 
  *From:* Diego Arias [mailto:dak@gmail.com]
  *Sent:* Thursday, March 17, 2011 2:33 PM
  *To:* Ola Peters
  *Cc:* questi...@freebsd.org
  *Subject:* Re: adding SRV records to a FreeBSD server
 
 
 
  Hi:
 
 
 
 
 
  FreeBSD 4.11 is juts too old you should Upgrade that machine.
 
 
 
  Anyway check the named(bind) version to see if it supports srv records.
 
 
 
  On Thu, Mar 17, 2011 at 3:42 PM, Ola Peters opet...@partnershiphp.org
  wrote:
 
  Hi there,
 
  Thanks so much for placing this contact information in your header!  I
 am
  trying to add SRV records to my name server, which is a FreeBSD box.
 
  (Output from uname -a):
 
  ns1# uname -a
  FreeBSD ns1.partnershiphp.org 4.11-RELEASE FreeBSD 4.11-RELEASE #0: Fri
  Jan 21 17:21:22 GMT 2005 r...@perseus.cse.buffalo.edu:
 /usr/obj/usr/src/sys/GENERIC
   i386
 
  I don't have a clue where to start and everytime I make a change, I
 bring
  our website down.  Do you have a link or an example to tell me where I
 can
  do this?
 
  Thanks so much,
 
  Ola Peters
  Senior Unix Administrator
  IT Department
  Partnership Healthplan of California
  360 Campus Lane, Suite 100
  Fairfield, CA 94534
 
  Phone: (707) 863-4407 | Fax: (707) 863-4349
 
  Email: opet...@partnershiphp.org
  Our website: www.partnershiphp.org
 
 
  
  ~ PHC CONFIDENTIALITY NOTICE ~
 
  The information contained in this document may be privileged,
  confidential, and protected under applicable law and is intended solely
 for
  the use of the individual or entity to which it is addressed. If you are
 not
  the intended recipient or the employee or agent responsible for
 delivering
  the message to the intended recipient, you are hereby notified that any
  dissemination, distribution, or copying of this communication is
 strictly
  prohibited. If you have received this communication in error, please
 notify
  the sender immediately by telephone and destroy the document.
 
  ___
  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
 
 
 
 
  --
  Still Going Strong!!!
 
  --
  ~ PHC CONFIDENTIALITY NOTICE ~
 
  The information contained in this document may be privileged,
  confidential, and protected under applicable law and is intended solely
 for
  the use of the individual or entity to which it is addressed. If you are
 not
  the intended recipient or the employee or agent responsible for
 delivering
  the message to the intended recipient, you are hereby notified that any
  dissemination, distribution, or copying of this communication is
 strictly
  prohibited. If you have received this communication in error, please
 notify
  the sender immediately by telephone and destroy the document.
 
 
 
 
  --
  Still Going Strong!!!
 



 --
 Still Going Strong!!!
 ___
 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

___
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: adding SRV records to a FreeBSD server

2011-03-17 Thread Ilya Kazakevich
Hello,

What name server do you use? I am almost sure you have BIND.

You must open your zonefile, add SRV record and reload zone.
I think your zonefile is somewhere in /etc/namedb/

read bind manual, man named and man ndc (or rndc) to solve your problem.
Your question is not about freebsd but about BIND.
http://www.bind9.net/manuals



On Thu, Mar 17, 2011 at 11:42 PM, Ola Peters opet...@partnershiphp.orgwrote:

 Hi there,

 Thanks so much for placing this contact information in your header!  I am
 trying to add SRV records to my name server, which is a FreeBSD box.

 (Output from uname -a):

 ns1# uname -a
 FreeBSD ns1.partnershiphp.org 4.11-RELEASE FreeBSD 4.11-RELEASE #0: Fri
 Jan 21 17:21:22 GMT 2005 
 r...@perseus.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC
  i386

 I don't have a clue where to start and everytime I make a change, I bring
 our website down.  Do you have a link or an example to tell me where I can
 do this?

 Thanks so much,

 Ola Peters
 Senior Unix Administrator
 IT Department
 Partnership Healthplan of California
 360 Campus Lane, Suite 100
 Fairfield, CA 94534

 Phone: (707) 863-4407 | Fax: (707) 863-4349

 Email: opet...@partnershiphp.org
 Our website: www.partnershiphp.org


 
 ~ PHC CONFIDENTIALITY NOTICE ~

 The information contained in this document may be privileged, confidential,
 and protected under applicable law and is intended solely for the use of the
 individual or entity to which it is addressed. If you are not the intended
 recipient or the employee or agent responsible for delivering the message to
 the intended recipient, you are hereby notified that any dissemination,
 distribution, or copying of this communication is strictly prohibited. If
 you have received this communication in error, please notify the sender
 immediately by telephone and destroy the document.

 ___
 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

___
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


Booting from firmware RAID

2011-03-16 Thread Ilya Kazakevich
Hello,

This is probably more PC-specific than freebsd-specific question. I have
intel firmware raid. OS needs drivers to work with it. FreeBSD sees it as
ar0, so it has drivers.
But I want my OS to be installed on this drive and boot from it. It is not
good idea, but I really want to do it:)
Is it possible?

boot0 and boot1 both work with HDD via BIOS interrupts and CHS, right? So,
how do they know how to access RAID? They has no drivers.
Or BIOS supports interrupts to access RAID with out of drivers? If so --
what for drivers are needed? To access drive via ATA interface?

Is it possible to boot freebsd from firmware raid?

Ilya.
___
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: Booting from firmware RAID

2011-03-16 Thread Ilya Kazakevich
Thank you.

I configured boot0 to my ar0 and tried to boot from it. It freezes.
I use RAID10 and Intel-ICH7.

Looks like I've faced with some other troubles..

Ilya.

On Wed, Mar 16, 2011 at 4:05 PM, mcoyles
mcoy...@horbury.wakefield.sch.ukwrote:

 This is probably more PC-specific than freebsd-specific question. I have
 intel firmware raid. OS needs drivers to work with it. FreeBSD sees it as
 ar0, so it has drivers.
 But I want my OS to be installed on this drive and boot from it. It is not
 good idea, but I really want to do it:)
 Is it possible?
 
 boot0 and boot1 both work with HDD via BIOS interrupts and CHS, right? So,
 how do they know how to access RAID? They has no drivers.
 Or BIOS supports interrupts to access RAID with out of drivers? If so --
 what for drivers are needed? To access drive via ATA interface?

 Bios support interrupts and can thus boot from firmware raid.
 Under windows drivers typically just give you full speed / management
 features

 -
 Marci


___
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: Booting from firmware RAID

2011-03-16 Thread Ilya Kazakevich
My boot0 freezes. I found discussion where guy told that extipl works fine
but boot0 not because extipl uses LBA instead of CHS and some raids do not
support CHS.
It is new to me that BIOS allows LBA but I will try extipl now.

On Wed, Mar 16, 2011 at 5:11 PM, b. f. bf1...@googlemail.com wrote:

  This is probably more PC-specific than freebsd-specific question. I have
  intel firmware raid. OS needs drivers to work with it. FreeBSD sees it as
  ar0, so it has drivers.
  But I want my OS to be installed on this drive and boot from it. It is
 not
  good idea, but I really want to do it:)
  Is it possible?
 
  boot0 and boot1 both work with HDD via BIOS interrupts and CHS, right?
 So,
  how do they know how to access RAID? They has no drivers.
  Or BIOS supports interrupts to access RAID with out of drivers? If so --
  what for drivers are needed? To access drive via ATA interface?
 
  Is it possible to boot freebsd from firmware raid?

 Sometimes: it depends on the firmware, and your bios.  I had a add-in
 PCIe SATA RAID controller based on a Marvell SE9128 chipset, and using
 a Marvell firmware.  The bios and the FreeBSD 9-CURRENT bootloader
 were able to boot from a JBOD drive attached to the controller, up
 until the point where the ahci driver tried to take control of the
 drive.  Then the Marvell firmware presented a fictitious configuration
 to the ahci driver and returned invalid device signatures, so the boot
 process failed.  On the same machine, however, I was able to boot
 without problems from a JBOD drive attached to a PCI-X SATA RAID
 controller based on the Silicon Image SiI3124 chipset, using a Silicon
 Image firmware.

 b.

___
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: postfix / windows live mail problems (possibly OT)

2011-03-16 Thread Ilya Kazakevich
Your postfix does not relay mails from this client.
See http://www.postfix.org/SMTPD_ACCESS_README.html

http://www.postfix.org/SMTPD_ACCESS_README.htmlI suggest you to remove
your IPs from messages next time. By the way, postfix should have its own
mail-list, not freebsd:)

On Wed, Mar 16, 2011 at 11:35 PM, Mark Moellering m...@msen.com wrote:

 I recently set up a postfix mail server on freebsd 8.1 with dovecot.  I am
 having trouble sending mail using Windows Live Mail.
 The error I see in the logfiles is:
 Mar 16 13:13:57 mail postfix/smtpd[5159]: connect from
 c-68-40-255-141.hsd1.mi.comcast.net[68.40.255.141]
 Mar 16 13:13:57 mail postfix/smtpd[5159]: NOQUEUE: reject: RCPT from
 c-68-40-255-141.hsd1.mi.comcast.net[68.40.255.141]: 554 5.7.1 
 m...@.com: Relay access denied; from=b...@.com to=
 m...@.com proto=ESMTP helo=HPPC
 Mar 16 13:13:57 mail postfix/smtpd[5159]: disconnect from
 c-68-40-255-141.hsd1.mi.comcast.net[68.40.255.141]

 The error Windows Live displays is:

 Server Error: 554
 Server Response: 554 5.7.1 m...@.com: Relay access denied
 Server: 'mail..com'
 Windows Live Mail Error ID: 0x800CCC79
 Protocol: SMTP
 Port: 587
 Secure(SSL): No

 If anyone can point me to a better list or otherwise help out, it would be
 greatly appreciated.  Naturally, Thunderbird and KDE-Mail work fine...

 Mark Moellering
 Class-Creator . com
 ___
 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

___
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: MTU, fragmentation and Jumbo Frames question

2010-02-09 Thread Ilya Zhuravlev

On 09.02.2010 20:12, Harald Schmalzbauer wrote:

Hello all,

I have 3 machines connected to an JumboFrame enabled switch.
One FreeBSD 8-stable and two windows machines.
I can send echo requests with payload of 8972 between the windows
machines, but I don't get an answer from the FreeBSD machine. At the
edge of 8130 bytes, the FreeBSD machine eats the packets without any
error notification. A payload = 8130 bytes works!
All MTUs are set to 9000, interfaces are all intel em.
Like mentioned, the ping between the two windows machines work like
expected, beyond 8972 bytes payload the OS is fragmenting (resp. tells
me that DF bit was set but fragmentation was needed)
FreeBSD seems to never fragment packets, since I don't get an answer if
I define payload greater than MTU. But this should work, shouldn't it
(`ping -s 1 host`)

Does anybody have any explanation why pings are working up to 8130 bytes
payload and are silently droped beyond that even my MTU ist set to 9000
(and route get confirms the MTU 9000)?


kern/143285
but ifconfig em0 -rxcsum is enough for me.
___
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


Opera in your repos

2009-08-05 Thread Ilya Shpan'kov

Hi,

I work in Opera Software - yes, we make a proprietary browser ;)
Last 7 years I use GNU/Linux and know that, for example, in Russia the
Opera browser is very popular in BSD Community. Well, there is a
question: whether Opera is included to your distro and if not - how we can
fix this problem? We are ready for any discussions, technical help or
agreement, if necessary.

Thanks in advance,

--
Best regards,

Ilya Shpan'kov
Community Outreach Manager for Russia
Opera Software ASA

Mobile: +47 46351421
Web-site: http://my.opera.com/IlyaShpankov/
Skype: shpankov
___
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: Opera in your repos

2009-08-05 Thread Ilya Shpan'kov

Thanks a lot, Vincent!

В письме от Wed, 05 Aug 2009 17:32:26 +0200, Vincent Hoffman  
vi...@unsane.co.uk сообщал:



Hi,
Opera is indeed already in the ports (and packages) and has been since
November 5th 2000 according to the Makefile in ports/www/opera. and it
appears the port is maintained by one of the staff at opera
MAINTAINER= freebsd-maintai...@opera.com
Keep up the good work :)

Vince



Vince


Ilya Shpan'kov wrote:

Hi,

I work in Opera Software - yes, we make a proprietary browser ;)
Last 7 years I use GNU/Linux and know that, for example, in Russia the
Opera browser is very popular in BSD Community. Well, there is a
question: whether Opera is included to your distro and if not - how we  
can

fix this problem? We are ready for any discussions, technical help or
agreement, if necessary.

Thanks in advance,





--
Best regards,

Ilya Shpan'kov
Community Outreach Manager for Russia
Opera Software ASA

Mobile: +47 46351421
Web-site: http://my.opera.com/IlyaShpankov/
Skype: shpankov
___
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


nv 8400 and Marvell

2007-08-27 Thread Ilya Nix
Hi. I purchased a laptop with nVIDIA GeForce 8400 and very want to install 
FreeBSD, but X11 can’t  start up and FreeBSD 6.2 can’t recognize my network 
card (Marvell Yukon). How to correct the problem?
   
 Thank you

   
-
Get the World's number 1 free email service. Find out more.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


web proxies that can restrict the web browsing time

2007-05-24 Thread Ilya Vishnyakov
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
 
Hello BSD Gurus!
We are running freeBSD 6.2 I was wondering it it is possible to limit
the usage of time user spends web browsing on certain ips. Squid is
not an option (I checked on squid lists). Did anyone come across of
another web proxies that could help us?  We need some to limit the
browsing time to 1 hour a day. I googled and googled but everything
that I found wasn't not very helpful yet. Thank you in advance.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
 
iD8DBQFGVfHA36NTVtUxDtQRAko9AJ98YMLJHy9X3NpOd725mfEz074SIwCfQd0s
RYv2dApEszLa2va3Iu1L7hg=
=krB5
-END PGP SIGNATURE-

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


adding a host how-to

2007-04-02 Thread Ilya Vishnyakov
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
 
Hello Freebsd Gurus!
I set up the test server with Windows 2003 to play. Now I'm trying to
add a hostname to our existing domain: newhostname.domain.com The
server runs FreeBSD 6.2 with pf firewall.
I added ip address and hostname to /etc/hosts Is there anything else
that needs to be done besides that? Did anyone see a good how-to?
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
 
iD8DBQFGERkcUZGmaUWxLn8RAhiPAKCDSLV5TgHSX9bRJFud37Nzes4PuwCggtN7
mxlzVfBOSX5mZoiWf3sguaU=
=oey9
-END PGP SIGNATURE-

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


Re: adding a host how-to

2007-04-02 Thread Ilya Vishnyakov
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
 
Thank you. The server runs dns service.
How do I add it to your DNS server config?

Jerry McAllister wrote:
 On Mon, Apr 02, 2007 at 10:54:20AM -0400, Ilya Vishnyakov wrote:

 Hello Freebsd Gurus! I set up the test server with Windows 2003 to
 play. Now I'm trying to add a hostname to our existing domain:
 newhostname.domain.com The server runs FreeBSD 6.2 with pf
 firewall. I added ip address and hostname to /etc/hosts Is there
 anything else that needs to be done besides that? Did anyone see a
 good how-to?

 Who is doing DNS (name service) for your domain? That entity will
 need to know about the new hostname. If you are doing DNS for
 your domain, then you will have to add it to your DNS server
 config.

 jerry


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

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
 
iD8DBQFGETvgUZGmaUWxLn8RAs/pAKDKbFOjC4A1QcahBybX0ZJhkBHmpACfU2/u
sdo7qnno0dUi9xxCmcu1Swk=
=96pL
-END PGP SIGNATURE-

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


Re: adding a host how-to

2007-04-02 Thread Ilya Vishnyakov
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
 
hmm. thank you all. I did added hostname in: named.conf, /etc/hosts,
set up redirection in pf.conf, restarted all processes and it fine
worked for me.

Peter A. Giessel wrote:
 On 2007/04/02 9:22, Ilya Vishnyakov seems to have typed:
 -BEGIN PGP SIGNED MESSAGE- Hash: SHA1

 Thank you. The server runs dns service. How do I add it to your
 DNS server config?

 You might check the handbook:
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-dns.html



-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
 
iD8DBQFGEVoUUZGmaUWxLn8RAlW9AJ0VHY7zjlwew0MZEszAfTaD9hBqTACfdY34
teMwOdnKowRyfMAW8zDTdqg=
=HAX/
-END PGP SIGNATURE-

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


Re: Starting MySQL with different database directory

2007-03-05 Thread Kalashnikov Ilya
On Mon, 2007-03-05 at 07:05 -0800, Dr. Jennifer Nussbaum wrote:

 I hope this is the right place--i looked over the MySQL docs but they talk 
 about a different startup practice than what FreeBSD uses.
 
 I have a new install of MySQL 5.1 on a FreeBSD 6.2 system. I want to have my
 MySQL data directory in a place other than /var/db/mysql. I thought i do this 
 by
 copying the appropriate my.cnf into /etc/my.conf and adding a line like 
 datadir =
 /usr/local/mysql/var/ and making it readable to mysql user. But this doesnt 
 work;
  when i restart MySQL its still using /var/db/mysql.
 
 So i looked at the mysql-server startup script in /usr/local/etc/rc.d and 
 added to
 rc.conf mysql_dbdir=/usr/local/mysql/var. (I DON'T want to do it this way,
 because i really want my MySQL related configuration things in my MySQL
 configuration file, not split between there and my FreeBSD startup file. What 
 if
 i need to start mysql in some other way? But for now im just trying to see 
 what
 i can get to work.) This seemed to change something--mysqld had been running
 when i made this change and when I ran mysql-server stop it couldnt stop, 
 because it was looking in /usr/local/mysql/var/foo.pid--i think this means it 
 did
 register the change to the new directory. But i couldnt then start it, 
 because when
 I run mysql-server start i get a Can't connect to local MySQL server 
 through 
 socket '/tmp/mysql.sock' error.
 
 What's the right way to do this? Again id really prefer to do this all 
 through the
 my.cnf file, but this seems not to be getting read, at least for this reason.
 
 Thank you.
 
 Jen
 
  
 -
 Food fight? Enjoy some healthy debate
 in the Yahoo! Answers Food  Drink QA.
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 


Hi Dr. Jennifer Nussbaum.
Need append to /etc/rc.conf follow line:
mysql_dbdir=/mysql/db/location

See please /usr/local/etc/rc.d/mysql-server.sh

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


Re: Starting MySQL with different database directory

2007-03-05 Thread Kalashnikov Ilya
On Mon, 2007-03-05 at 07:05 -0800, Dr. Jennifer Nussbaum wrote:

 I hope this is the right place--i looked over the MySQL docs but they talk 
 about a different startup practice than what FreeBSD uses.
 
 I have a new install of MySQL 5.1 on a FreeBSD 6.2 system. I want to have my
 MySQL data directory in a place other than /var/db/mysql. I thought i do this 
 by
 copying the appropriate my.cnf into /etc/my.conf and adding a line like 
 datadir =
 /usr/local/mysql/var/ and making it readable to mysql user. But this doesnt 
 work;
  when i restart MySQL its still using /var/db/mysql.
 
 So i looked at the mysql-server startup script in /usr/local/etc/rc.d and 
 added to
 rc.conf mysql_dbdir=/usr/local/mysql/var. (I DON'T want to do it this way,
 because i really want my MySQL related configuration things in my MySQL
 configuration file, not split between there and my FreeBSD startup file. What 
 if
 i need to start mysql in some other way? But for now im just trying to see 
 what
 i can get to work.) This seemed to change something--mysqld had been running
 when i made this change and when I ran mysql-server stop it couldnt stop, 
 because it was looking in /usr/local/mysql/var/foo.pid--i think this means it 
 did
 register the change to the new directory. But i couldnt then start it, 
 because when
 I run mysql-server start i get a Can't connect to local MySQL server 
 through 
 socket '/tmp/mysql.sock' error.
 
 What's the right way to do this? Again id really prefer to do this all 
 through the
 my.cnf file, but this seems not to be getting read, at least for this reason.
 
 Thank you.
 
 Jen
 
  
 -
 Food fight? Enjoy some healthy debate
 in the Yahoo! Answers Food  Drink QA.
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 


By default MySQL daemon run as user mysql. If you want start/stop
mysqld then in /usr/local/etc/rc.d /mysql-server.sh replace line
mysql_user=mysql to mysql_user=your-account
and change in /etc/rc.conf   mysql_dbdir=/xxx/xxx/xx or chahge owner
for /xxx/xxx/xx to your-account
Needed directory structure will created.

Before all changes stop mysqld.

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


Re: Substitute command on vi

2006-05-05 Thread Kalashnikov Ilya
On Fri, 2006-05-05 at 10:12 -0300, Aguiar Magalhaes wrote:

 Hi list,
 
 I need to substitute a lot of characters ^M (ctrl+M)
 at the end of each line in my file.
 
 The command :%s/^M//g insn't have success.
 
 How can i do it ?
 
 Thanks,
 
 Aguiar
 
 
   
 ___ 
 Abra sua conta no Yahoo! Mail: 1GB de espaço, alertas de e-mail no celular e 
 anti-spam realmente eficaz. 
 http://br.info.mail.yahoo.com/
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 

I also has it problem. I'm in Midnight Commander copy symbol '^M' and
paste to my script instead ???(see below) :-/
script:
   sed -e 's/$/???/g' filename  filename.copy
It work. :)

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

Re: Shared Library Error

2006-05-04 Thread Kalashnikov Ilya
On Thu, 2006-05-04 at 16:34 +0100, Soo-Hyun Choi wrote:

 I did ldconfig -R and ldconfig -m /usr/local/lib but I still get
 the error message.
 
 So, how would you explicitly do with that if you get:
 [EMAIL PROTECTED] ~]$firefox
 /libexec/ld-elf.so.1: Shared object libgmodule-2.0.so.600 not found,
 required by libgtk-x11-2.0.so.600
 
 Thanks,
 
 
 On 5/4/06, [EMAIL PROTECTED]@mgEDV.net [EMAIL PROTECTED] wrote:
 
   How do I check/modify ldconfig settings? Would you give me some
   examples?
 
  ! man ldconfig
  ldconfig -r
  ls -l /etc/ld*
  ls -l /var/run/ld*
  echo $LD_LIBRARY_PATH
 
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 

make link with name libgmodule-2.0.so.600 to libgmodule-2.0.so and try
again.
run as root:
prompt# ln -s libgmodule-2.0.so libgmodule-2.0.so.600
-- 
Kalashnikov Ilya [EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: What's that filesystem for a usb flash drive?

2006-03-26 Thread Kalashnikov Ilya

Saul Mena Avila пишет:


Hello!. I've been trying to mount my flash memory but it just doesn't let
me.
I use (as root):

mount -t msdosfs /dev/ad0 /flash

The feedback is something like device ad0 doesn't allow action
Can anybody help me?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]



 


Hello. You device must be /dev/da0s1
# mount -t msdosfs /dev/da0s1 /flash



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


Re[2]: freebsd 6 - amount of total visible memory is decreasing constantly

2006-01-08 Thread Ilya E Veretenkin
  bus   88674K   -20021  16,32,64,128,256,1024
   bus-sc7482K   - 2645  16,32,64,128,256,512,1024,2048,4096
 SWAP 2  2189K   -2  64
 umtx   996   125K   - 2436  128
   sysctl 0 0K   -63007  16,32,64
sysctloid  2898   142K   - 2898  16,32,64,128
sysctltmp 0 0K   - 7826  16,32,128
   plimit19 5K   -31386  256
  uidinfo 6 9K   -  230  64
 cred   10025K   - 14498036  256
 pgrp26 4K   - 4650  128
  session25 7K   - 3120  256
 proc 264K   -2
  subproc   530   857K   -   179051  512,4096
 mtx_pool 112K   -1
   module   29437K   -  295  128
   devbuf  1030  8003K   - 1032  16,32,64,128,256,512,1024,2048,4096
 temp30   282K   - 43951376  16,32,64,128,256,512,1024,2048,4096
   ACD driver 1 2K   -1  2048
lockf 4 1K   -   930566  128
   linker6812K   -   88  16,32,64,256,512,1024,2048
AR driver 1 1K   -5  512,1024
   KTRACE   10013K   -  100  128
  ATA DMA 6 2K   -6  256
  ithread6013K   -   62  128,256
AD driver 4 1K   -4  32
   zombie 1 1K   -   178522  256
proc-args27 2K   -70601  16,32,64,128,256
   kqueue 0 0K   - 4062  512,2048
 kenv5310K   -   54  16,32,64
file desc   248   181K   -   309852  16,32,64,128,256,512,1024,2048,4096
sigio 1 1K   -   51  64
  ATA generic 5 5K   -5  1024
 acpitask 0 0K   -3  64
 cdev22 6K   -   22  256
   acpica  1573   159K   -60729  16,32,64,128,256,512,1024
  CAM XPT10 1K   -   17  32,128,512
acpi_perf 2 1K   -2  128
   isadev 7 1K   -7  128
 GEOM   20443K   - 1269  16,32,64,128,256,512,1024,2048,4096
pfs_nodes49 7K   -   49  128
  NTFS nthash 1   512K   -1



-- 
Ñ óâàæåíèåì,
 Ilya  mailto:[EMAIL PROTECTED]

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


freebsd 6 - amount of total visible memory is decreasing constantly

2006-01-07 Thread Ilya E Veretenkin
Problem: Total amount of visible memory is decreasing constantly
(total amount = sum of all memory fields in 'top' utility output'
OS: FreeBSD 6
Server: 2xAmd64bit, 4GB memory, tyan motherboard

hw.physmem: 3478589440
hw.realmem: 3488743424
These values don't change in time.

Just after server reboot, the sum of memory fields in 'top' utility output is
3405M(this is correct). But this sum(i.e. total visible memory for OS)
is decreasing in time, according to top's output. After all, server
begins to swap and needs to be rebooted again.

Here goes monitoring log. It was created by hand-written perl script,
which is called every minute and which summarizes 'top' utility's 6
memory fields. Total memory is in the second column in the following
log:
Sat Jan 7 20:37:00 MSK 2006 3224
Sat Jan 7 20:38:00 MSK 2006 3224 
Sat Jan 7 20:39:00 MSK 2006 3224 
Sat Jan 7 20:40:00 MSK 2006 3225 
Sat Jan 7 20:41:00 MSK 2006 3223 
Sat Jan 7 20:42:00 MSK 2006 3224 
Sat Jan 7 20:43:00 MSK 2006 3222 
Sat Jan 7 20:44:00 MSK 2006 3223 
Sat Jan 7 20:45:00 MSK 2006 3221 
Sat Jan 7 20:46:00 MSK 2006 3218 
Sat Jan 7 20:47:00 MSK 2006 3217 
Sat Jan 7 20:48:00 MSK 2006 3218 
Sat Jan 7 20:49:00 MSK 2006 3213 
Sat Jan 7 20:50:00 MSK 2006 3212 
Sat Jan 7 20:51:00 MSK 2006 3212 
Sat Jan 7 20:52:00 MSK 2006 3212 
Sat Jan 7 20:53:00 MSK 2006 3211 
Sat Jan 7 20:54:00 MSK 2006 3211 
Sat Jan 7 20:55:00 MSK 2006 3210 
Sat Jan 7 20:56:00 MSK 2006 3211 
Sat Jan 7 20:57:00 MSK 2006 3209 
Sat Jan 7 20:58:00 MSK 2006 3211 
Sat Jan 7 20:59:00 MSK 2006 3210 
Sat Jan 7 21:00:00 MSK 2006 3209 
Sat Jan 7 21:01:00 MSK 2006 3208 
Sat Jan 7 21:02:00 MSK 2006 3207 
Sat Jan 7 21:03:00 MSK 2006 3205 
Sat Jan 7 21:04:00 MSK 2006 3206 
Sat Jan 7 21:05:00 MSK 2006 3206 
Sat Jan 7 21:06:00 MSK 2006 3204 
Sat Jan 7 21:07:00 MSK 2006 3203 
Sat Jan 7 21:08:00 MSK 2006 3204 
Sat Jan 7 21:09:00 MSK 2006 3202 
Sat Jan 7 21:10:00 MSK 2006 3202 
Sat Jan 7 21:11:00 MSK 2006 3204 
Sat Jan 7 21:12:00 MSK 2006 3203 
Sat Jan 7 21:13:00 MSK 2006 3203 
Sat Jan 7 21:14:00 MSK 2006 3203 
Sat Jan 7 21:15:00 MSK 2006 3202 
Sat Jan 7 21:16:00 MSK 2006 3202 
Sat Jan 7 21:17:00 MSK 2006 3202 
Sat Jan 7 21:18:00 MSK 2006 3201 
Sat Jan 7 21:19:00 MSK 2006 3201 
Sat Jan 7 21:20:00 MSK 2006 3201 
Sat Jan 7 21:21:00 MSK 2006 3202 
Sat Jan 7 21:22:00 MSK 2006 3201 
Sat Jan 7 21:23:00 MSK 2006 3200 
Sat Jan 7 21:24:00 MSK 2006 3203 
Sat Jan 7 21:25:00 MSK 2006 3202 
Sat Jan 7 21:26:00 MSK 2006 3201 
Sat Jan 7 21:27:00 MSK 2006 3203 
Sat Jan 7 21:28:00 MSK 2006 3203 
Sat Jan 7 21:29:00 MSK 2006 3203 
Sat Jan 7 21:30:00 MSK 2006 3202 
Sat Jan 7 21:31:00 MSK 2006 3203 
Sat Jan 7 21:32:00 MSK 2006 3203 
Sat Jan 7 21:33:00 MSK 2006 3202 
Sat Jan 7 21:34:00 MSK 2006 3202 
Sat Jan 7 21:35:00 MSK 2006 3201 
Sat Jan 7 21:36:00 MSK 2006 3201 
Sat Jan 7 21:37:00 MSK 2006 3201 
Sat Jan 7 21:38:00 MSK 2006 3200 
Sat Jan 7 21:39:00 MSK 2006 3201 
Sat Jan 7 21:40:00 MSK 2006 3199 
Sat Jan 7 21:41:00 MSK 2006 3201 
Sat Jan 7 21:42:01 MSK 2006 3201 
Sat Jan 7 21:43:00 MSK 2006 3200 
Sat Jan 7 21:44:00 MSK 2006 3200 
Sat Jan 7 21:45:00 MSK 2006 3200 
Sat Jan 7 21:46:00 MSK 2006 3200 
Sat Jan 7 21:47:00 MSK 2006 3199 
Sat Jan 7 21:48:00 MSK 2006 3199 
Sat Jan 7 21:49:00 MSK 2006 3199 
Sat Jan 7 21:50:00 MSK 2006 3198.544 
Sat Jan 7 21:51:00 MSK 2006 3199 
Sat Jan 7 21:52:00 MSK 2006 3199 
Sat Jan 7 21:53:00 MSK 2006 3198 
Sat Jan 7 21:54:00 MSK 2006 3197 
Sat Jan 7 21:55:00 MSK 2006 3198 
Sat Jan 7 21:56:00 MSK 2006 3197 
Sat Jan 7 21:57:00 MSK 2006 3198 
Sat Jan 7 21:58:00 MSK 2006 3197 
Sat Jan 7 21:59:00 MSK 2006 3197 
Sat Jan 7 22:00:00 MSK 2006 3198 
Sat Jan 7 22:01:00 MSK 2006 3197 
Sat Jan 7 22:02:00 MSK 2006 3197 
Sat Jan 7 22:03:00 MSK 2006 3197 
Sat Jan 7 22:04:00 MSK 2006 3196 
Sat Jan 7 22:05:00 MSK 2006 3196 
Sat Jan 7 22:06:00 MSK 2006 3195 
Sat Jan 7 22:07:00 MSK 2006 3195.62 
Sat Jan 7 22:08:00 MSK 2006 3196 
Sat Jan 7 22:09:00 MSK 2006 3196 
Sat Jan 7 22:10:00 MSK 2006 3196 
Sat Jan 7 22:11:00 MSK 2006 3194 
Sat Jan 7 22:12:00 MSK 2006 3195 
Sat Jan 7 22:13:00 MSK 2006 3196 
Sat Jan 7 22:14:00 MSK 2006 3195 
Sat Jan 7 22:14:00 MSK 2006 3195 

(+-2 megabyte fluctiations here is a result of rounding)

As you can see, memory which was visible using top utility decreased
from 3224 to 3195 Megabytes in less than 2 hours. And this process
will continue to the point, where swapping begins.
Server during this monitoring was running MySql4 + Apache1.3 under heavy
load.

How to get rid of such memory loss? And what is the reason of such
memory loss?



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


Re: PostgreSQL 8.0.3 + FreeBSD + TCP/IP

2005-06-14 Thread Kalashnikov Ilya
On Tue, 2005-06-14 at 10:05 -0500, Joseph Koenig (jWeb) wrote:

 Hi,
 
 I'm having a difficulty getting PostgreSQL to accept TCP/IP connections on
 FreeBSD 5.3. I have edited 'postgresql.conf' in my postgres data directory
 to set the listen_address (and uncommented it) and have the port line
 uncommented and set to the default 5432. I then restarted the postmaster and
 tried to connect. I get:
 
 could not connect to server: Connection refused
 Is the server running on host xx.xxx.xx.xxx and accepting
 TCP/IP connections on port 5432?
 
 I can connect from localhost just fine. Is there anything that needs to be
 set in /etc/inetd.conf or /etc/hosts.allow? I have postgresql_enable=YES
 in my /etc/rc.conf file, but have not rebooted since I added that. If that's
 the problem, is there a good way to load that value without rebooting? Is it
 just an environmental variable? Thanks,
 
 Joe Koenig
 Production Manager
 jWeb New Media Design
 [EMAIL PROTECTED]
 http://www.jwebmedia.com/
 636.928.3162 
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 

-- see pg_hba.conf in $PGDATA directory. :)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: PostgreSQL 8.0.3 + FreeBSD + TCP/IP

2005-06-14 Thread Kalashnikov Ilya
On Tue, 2005-06-14 at 10:05 -0500, Joseph Koenig (jWeb) wrote:

 Hi,
 
 I'm having a difficulty getting PostgreSQL to accept TCP/IP connections on
 FreeBSD 5.3. I have edited 'postgresql.conf' in my postgres data directory
 to set the listen_address (and uncommented it) and have the port line
 uncommented and set to the default 5432. I then restarted the postmaster and
 tried to connect. I get:
 
 could not connect to server: Connection refused
 Is the server running on host xx.xxx.xx.xxx and accepting
 TCP/IP connections on port 5432?
 
 I can connect from localhost just fine. Is there anything that needs to be
 set in /etc/inetd.conf or /etc/hosts.allow? I have postgresql_enable=YES
 in my /etc/rc.conf file, but have not rebooted since I added that. If that's
 the problem, is there a good way to load that value without rebooting? Is it
 just an environmental variable? Thanks,
 
 Joe Koenig
 Production Manager
 jWeb New Media Design
 [EMAIL PROTECTED]
 http://www.jwebmedia.com/
 636.928.3162 
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 

also check how database is started.
example: pg_ctl start -D $PGDATA -o -i
Options -i listen tcp connection.
-- 
Kalashnikov Ilya [EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How much HDD space does FreeBSD need?

2005-03-28 Thread Kalashnikov Ilya
On Thu, 2005-03-17 at 13:58 +, Soo-Hyun Choi wrote:

 Hi,
 
 I'm wondering how much HDD space does FreeBSD need in a normal
 installation. What I mean by the normal installation includes 'Full
 X-Development' packages with Gnome. Oh, It's 5.3-RELEASE.
 
 My HDD has 10G space for FreeBSD and I installed onto that space. The
 FreeBSD installation was of no problem. However, once I tried to
 upgrade Gnome 2.8 to 2.10, I've faced up a warning message at some
 point that I am running out of HDD space. (I just executed the
 recommend upgrade shell script from http://www.FreeBSD.org/gonme/)
 
 Is 10G HDD space is not good enough?
 
 Soo-Hyun


read script output!
Not enough space ...  Please set the MC_TMPDIR variable to a
location that has at least 200 MB of free space...
1.  you_prompt$ setenv MC_TMPDIR /path/to/temp/folder/where/enough/space
2.  run script again
-- 
Kalashnikov Ilya [EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: I have got a problem with keyboard (SPARC64)

2004-02-05 Thread Ilya Varlashkin
On Thu, Feb 05, 2004 at 10:56:10AM +0300,   wrote:
 Hello.
 I have got a problem with keybord of BLADE 100 (SPARC).
 I fail to choose the type of installation such as standart, express or 
 custom in the  setupprogramm.
 My model of keyboard - TYPE6 USB Sun MICROSYSTEMS.
 I try install FeeBSD 5.2. 
 Help me please!!!

I'm not familiar with your particular model, but freebsd-sparc64 does have
problem with terminal during installation. You have to either use serial
port as console, or use Ctrl-P/Ctrl-N to move cursor up/down and you have
to count how many times to press it (so you need to know content of the
installation menu). Once you done, just copy terminal definition from
Solaris, if you need to use console again.

/Ilya aka iL

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


Re: True IMAP Trash Folder

2004-02-04 Thread Ilya Varlashkin
On Mon, Feb 02, 2004 at 11:42:37AM -0500, Louis LeBlanc wrote:
  
  I understand now.  Thanks.  So do you know of a mail client that 
  supports Deleting Items to a folder called Trash on the IMAP 
  server?  Right now I have evolution and if I delete mail it puts it into 
  a local trash folder, but I dont see an option to Copy deleted mail to 
  folder blah on mail server or something like that.
 
 I use mutt with an imap server.  I've tied macros to specific keys
 that save messages to INBOX.trash, which effectively deletes them from
 the current folder.  I go to the .trash folder and use 'D' to clean it
 out on a regular basis, sometimes finding one or two that I didn't
 want to delete.  It requires folder hooks to change the underlying
 behavior for the 'd', '^d' and 'D' keys based on the current folder,
 but it works like a charm.
 

Hi

Hope I'm not too late :-)

I'm using courier-imapd and have few users with whole bunch of various client
software on FreeBSD and Windows. Following lines in imapd config do magic:

IMAP_TRASHFOLDERNAME=Deleted Items
MAP_EMPTYTRASH=Deleted Items:90,Sent Items:365
IMAP_MOVE_EXPUNGE_TO_TRASH=1

This makes MS Outlook Express happy. For mutt client I just make symbolic
link trash - Deleted Items. Moreover, in case of mutt it's actually server
that moves messages to trash, and does this without any hooks or filters.

By the way, MSOE actually allows to specify names of both 'sent items' and
'deleted items' folders, but to avoid explaining Windows users how to do this
I just fix this on the server.

Just make sure you correctly specify namespace, otherwise your folders will
show up in the client either with dot in the front or/and as sub-folders of
your inbox (well, they're in fact, but I don't like that look). This actually
might be reason why your client stores Trash locally - it doesn't look for
it in proper place on the server because namespace specified incorrectly.

Hope this helps.

Kind regards,
Ilya Varlashkin

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


custom release - how to install non-GENERIC kernel?

2003-12-15 Thread Ilya Varlashkin
Hi All,

I'm trying to make custom release of FreeBSD with some default parameters
changed to match our local needs. I can modify GENERIC kernel config file,
produce patch and then use it during 'make release'. At the end I have
installation CD with custom kernel. However, I'd like to use one custom
kernel during installation (without FIREWALL option) and another one
to be installed for actual use (with FIREWALL enabled). How can I achieve
this?

Kind regards,
Ilya Varlashkin

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


Re: strange scsi devices and isa problem

2003-11-24 Thread Ilya Varlashkin
On Mon, Nov 24, 2003 at 12:45:32PM +0100, Martin V??a wrote:
 Hi,
 I've got some strange things in my dmesg:
[...]
 config di bt0
 No such device: bt0
 Invalid command or syntax.  Type `?' for help.
 config di aic0
 No such device: aic0
 Invalid command or syntax.  Type `?' for help.
 config di aha0
 No such device: aha0
 Invalid command or syntax.  Type `?' for help.
 config di adv0
 No such device: adv0
 Invalid command or syntax.  Type `?' for help.
 config q
 
 bt, aic and others seems to be some scsi devices but I don't have scsi
 and I've even deleted all scsi lines from my kernel. 
 

During installation those devices exist in generic kernel so you disabled
them, your custom kernel doesn't include support for those devices. That's
why loader can't find them. Just remove respective lines from loader.conf.

 next thing is this:
 isa0: too many dependant configs (8)
 isa0: unexpected small tag 14
 pmtimer0 on isa0
 

sorry can't help here.

Kind regards,
Ilya Varlashkin

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


Re: newbie: use CR in RE?

2003-11-24 Thread Ilya Varlashkin
 - Original Message - 
 From: Zhang Weiwu [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Saturday, November 22, 2003 8:00 AM
 Subject: newbie: use CR in RE?
 
 
  Hello. Just want to know how to use special character in Regular
 Expression.
 
  I wish to remove all the carrier returns from a text file, I can use:
  tr -d \r  text_file  modified_text_file
  But if I do:
  sed -i s/\r//g text_file
  it actually removes all the character r from the file.
 
  This is also a problem in vi(1). Besides CR I wish to manipulate
  tabstops and line-feeds with RE too.
 

Depending on file size I use either vi in command mode :g/^M/s///g where
is result of pressing Ctrl-V then Ctrl-M. Or for big files: 

sed 's/^M//' myfile.txt

Hope this helps.

Kind regards,
Ilya Varlashkin

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


Re: Samba question

2003-11-22 Thread Ilya Varlashkin
On Sun, Nov 16, 2003 at 09:08:12PM -0500, Marty Landman wrote:
 
 No. Now I did  rebooted. Same symptom, i.e. windoz explorer tells me
 
 \\Swamisalami is not accessible. ... The account is not authorized to log 
 in from this station.
 

Martin, following line in your smb.conf should solve this problem:

encrypt passwords = yes

This is because newer Windows releases refuse to send unencrypted passwords
by default. You could tweak Windows to enable unencrypted passwords, but I
prefer enabling encrypted passwords in samba instead.

Have a look at /usr/local/share/doc/samba/htmldocs/ENCRYPTION.html for
more details.

Hope this helps.

Kind regards,
Ilya Varlashkin


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


Question abt arp in 5.1-RELEASE

2003-11-19 Thread Ilya V. Serov
Hello dear all.

   I've got a curious thing with FBS 5.1-RELEASE, concerning arp 
requests/reply. I have a LAN, connected to Internet through CISCO 
router. Recently I had to move one ip address inside my LAN from a 4.8 
box to a 5.1 box without a reboot (ifconfig ...). After this I had 
discovered that CISCO continue sending packets to old MAC address (to 
4.8). After an investigation of the problem I discovered, thet CISCO had 
not forgotten the old MAC. If  ip is being moved from 4.8 box to 4.8 
box this effect fanishes.
   Did anyone get similar problems? Is it a feature or a bug in 5.1, or 
I don't understand something?

Great thanks in advance for any support.

With respect and kind regards,
Ilya V. Serov, St-Petersburg, Russia.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: SNMP help

2003-10-31 Thread Ilya Varlashkin
On Thu, Oct 30, 2003 at 08:37:09PM -0500, Joe Marcus Clarke wrote:
 On Thu, 2003-10-30 at 17:59, Ronnie Clark wrote:
  Thanks all for the suggestions. I have the port
  installed, but how do I configure this beast to work
  with OpenView? I have looked at the online docs for
  the port, but it is all jibberish to this newbie.
  Anyone have a simple to follow doc or set of
  guidelines to setup net-snmp to be monitored by
  Openview?
 

There is nothing so special about HP OpenView - it's just an SNMP manager.
They will poll whater it's neccessary from daemon running on your FreeBSD
as long as you provide them with appropriate access level in your snmpd.conf.

Following could be reasonable start for your /usr/local/share/snmp/snmpd.conf:

#

syslocation Room X, Rack Y, second from the top
syscontact  Ronnie Clark your_email, your_telephone
sysservices 76

#
# ACL
#
#   name=   source  community
com2sec me  localhost   VerySecret
com2sec hpovaddress_of_ov Pass4HPOpenView
com2sec default default public

group   meROv1  me
group   meROv2c me
group   hpovRO  v1  hpov
group   hpovRO  v2c hpov
group   defaultRO   v1  default
group   defaultRO   v2c default

#   incl/excl   subtree mask
viewall included.1  80
viewcontact included.iso.org.dod.internet.mgmt.mib-2.system.sysContact

#   Gname   context model   level   prefix  readwrite   notif
access  meRO  any noauth  exact   all all none
access  hpovROany noauth  exact   all nonenone
access  defaultRO any noauth  exact   contact nonenone

#-- end 

Kind regards,
Ilya Varlashkin

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


Nokia 6610 via DKU-5 cable (usb) and fbsd-4.8. any chance?

2003-10-28 Thread Ilya Varlashkin
Hi all,

I'd like to use my Nokia 6610 with FreeBSD for eventual PPP tests
of our dial-in servers. I've got DKU-5 cable. It's USB and the only thing
I can get for this phone; ordering IR port is not an option.

I've compiled recompiled kernel (4.8-p13) with:

device  uhci# UHCI PCI-USB interface
device  usb # USB Bus (required)
device  ugen# Generic
device  ucom
device  uplcom
device  uvscom
device  uvisor
device  uftdi

device  umodem

device  uhid# Human Interface Devices

When I run 'usbd -d -v' I can see the system detects connected phone as:
usbd: device-attach event at 1067328676.392127000, Nokia Connectivity Cable DKU-5, 
vendor 0x0421:
  vndr=0x0421 prdct=0x0800 rlse=0x030a clss=0x00ff subclss=0x prtcl=0x00ff
device names: ugen0

I guess I should'n expect this to be good enough as:
# cu -l /dev/ugen0
Connected.
cu: Got hangup signal
Disconnected.

Basically the only thing I'm interested at the moment is to be able to say
'AT' to the modem. Is there any way to achieve this?

Kind regards,
Ilya Varlashkin

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


ports fail to build. PLEASE HELP

2002-07-18 Thread Ilya

Hi guys. I have about 15 ports which fail to build all with the same error:
checking for i386-portbld-freebsd4.6-gcc... cc
checking for C compiler default output... configure: error: C compiler cannot create 
executables

as far as I could debug it, it seems that conftest.c is actually created empty. I 
cannot understand why. I have about 100 other ports which compile properly. I just 
rebuild world and kernel yesterday with no problem.

Can anyone give any suggestions?

this is from the config.log:
configure:1261: checking for i386-portbld-freebsd4.6-gcc
configure:1287: result: cc
configure:1569: checking for C compiler version
configure:1572: cc --version /dev/null 5
2.95.4
configure:1575: $? = 0
configure:1577: cc -v /dev/null 5
Using builtin specs.
gcc version 2.95.4 20020320 [FreeBSD]
configure:1580: $? = 0
configure:1582: cc -V /dev/null 5
cc: argument to `-V' is missing
configure:1585: $? = 1
configure:1611: checking for C compiler default output
configure:1614: cc -O -pipeconftest.c  5
/usr/lib/crt1.o: In function `_start':
/usr/lib/crt1.o(.text+0x79): undefined reference to `main'
configure:1617: $? = 1
configure: failed program was:
configure:1644: error: C compiler cannot create executables


ac_cv_env_CC_set=set
ac_cv_env_CC_value=cc
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value='-O -pipe '
ac_cv_env_CPPFLAGS_set=''
ac_cv_env_CPPFLAGS_value=''
ac_cv_env_CPP_set=''
ac_cv_env_CPP_value=''
ac_cv_env_LDFLAGS_set=''
ac_cv_env_LDFLAGS_value=''
ac_cv_env_build_alias_set=set
ac_cv_env_build_alias_value=i386-portbld-freebsd4.6
ac_cv_env_host_alias_set=set
ac_cv_env_host_alias_value=i386-portbld-freebsd4.6
ac_cv_env_target_alias_set=set
ac_cv_env_target_alias_value=i386-portbld-freebsd4.6
ac_cv_prog_CC=cc
¡Iì¹»®Þ±éݙ¨¥¶‰šŽŠÝ¢j­çH:+ƒ­†éì¹»®Þ~·žnÇj¹ë-Š‰ìŠ{ayºʇí…鞲Ơ


ports fail to build - Help

2002-07-18 Thread Ilya

Hi guys. I have about 15 ports which fail to build all with the same error:
checking for i386-portbld-freebsd4.6-gcc... cc
checking for C compiler default output... configure: error: C compiler cannot create 
executables

as far as I could debug it, it seems that conftest.c is actually created empty. I 
cannot understand why. I have about 100 other ports which compile properly. I just 
rebuild world and kernel yesterday with no problem.

Also I cannot build autoconf:
 make
===  Extracting for autoconf-2.53
 Checksum OK for autoconf-2.53.tar.bz2.
===   autoconf-2.53 depends on executable: gm4 - found
===  Patching for autoconf-2.53
===  Configuring for autoconf-2.53
configure: WARNING: you should use --build, --host, --target
checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether make sets ${MAKE}... no
checking for expr... /bin/expr
checking for gm4... /usr/local/bin/gm4
checking whether m4 supports frozen files... yes
checking for perl... /usr/bin/perl
checking where .elc files should go... no
configure: creating ./config.status
===  Building for autoconf-2.53
make: cannot open Makefile.
*** Error code 2


Can anyone give any suggestions?

this is from the config.log:
configure:1261: checking for i386-portbld-freebsd4.6-gcc
configure:1287: result: cc
configure:1569: checking for C compiler version
configure:1572: cc --version /dev/null 5
2.95.4
configure:1575: $? = 0
configure:1577: cc -v /dev/null 5
Using builtin specs.
gcc version 2.95.4 20020320 [FreeBSD]
configure:1580: $? = 0
configure:1582: cc -V /dev/null 5
cc: argument to `-V' is missing
configure:1585: $? = 1
configure:1611: checking for C compiler default output
configure:1614: cc -O -pipeconftest.c  5
/usr/lib/crt1.o: In function `_start':
/usr/lib/crt1.o(.text+0x79): undefined reference to `main'
configure:1617: $? = 1
configure: failed program was:
configure:1644: error: C compiler cannot create executables


ac_cv_env_CC_set=set
ac_cv_env_CC_value=cc
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value='-O -pipe '
ac_cv_env_CPPFLAGS_set=''
ac_cv_env_CPPFLAGS_value=''
ac_cv_env_CPP_set=''
ac_cv_env_CPP_value=''
ac_cv_env_LDFLAGS_set=''
ac_cv_env_LDFLAGS_value=''
ac_cv_env_build_alias_set=set
ac_cv_env_build_alias_value=i386-portbld-freebsd4.6
ac_cv_env_host_alias_set=set
ac_cv_env_host_alias_value=i386-portbld-freebsd4.6
ac_cv_env_target_alias_set=set
ac_cv_env_target_alias_value=i386-portbld-freebsd4.6
ac_cv_prog_CC=ccN…'²æìr¸›zǧvf¢–Új:+v‰¨·ž è®¶§²æìr¸›yúÞy»ªç¬¶*'²)í…æèw*¶¦zˁ