Re: Twitter On FreeBSD

2010-03-09 Thread Dinesh Nair


On 09/03/2010 12:21, Programmer In Training wrote:

Seriously, does anyone have a good Twitter client they use? I have very
simple requirements (GUI, must be able to pull my feeds for local
display, easy to compile (e.g. doesn't require anything from KDE)).


may not be a standalone client, but have you tried the Echofon plugin 
for Firefox ? it supports multiple twitter accounts too.


--dinesh
___
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: hyperthreading CPU and broken scheduling?

2007-11-18 Thread Dinesh Nair
On Sun, 18 Nov 2007 12:29:32 +0200, Manolis Kiagias wrote:

 Wojciech Puchar wrote:
  i have machune with intel's CPU with hyperthreading.
 
  it is detected right, but only first thread is ever used.
 
  top shows at least 50% idle no matter what i run!
 
  what's wrong?
 To enable hyperthreading, try setting the following in /etc/sysctl.conf:
 
 machdep.hyperthreading_allowed=1
 
 and reboot (or execute sysctl machdep.hyperthreading_allowed=1 by hand).

would an SMP kernel be required to properly use hyperthreading, or would
just the above sysctl setting be enough ?

-- 
Regards,   /\_/\   All dogs go to heaven.
[EMAIL PROTECTED](0 0)   http://www.openmalaysiablog.com/
+==oOO--(_)--OOo==+
| for a in past present future; do|
|   for b in clients employers associates relatives neighbours pets; do   |
|   echo The opinions here in no way reflect the opinions of my $a $b.  |
| done; done  |
+=+
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Performance issue amd64

2006-08-13 Thread Dinesh Nair



On 08/10/06 15:24 O. Hartmann said the following:
than a 100 minutes, Firefox and/or Thunderbird opens much slower than 
before and much slower as compared to the i386 box(!).


i'd suspect the harddisk. are you building world with pipes, for this would 
store the intermediae files during compilation on disk, making the build 
slightly more disk bound.


--
Regards,   /\_/\   All dogs go to heaven.
[EMAIL PROTECTED](0 0)   http://www.openmalaysiablog.com/
+==oOO--(_)--OOo==+
| for a in past present future; do|
|   for b in clients employers associates relatives neighbours pets; do   |
|   echo The opinions here in no way reflect the opinions of my $a $b.  |
| done; done  |
+=+
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: last known 4-.x-RELEASE where PicoBSD can be built

2006-04-15 Thread Dinesh Nair



On 02/16/06 16:07 Nikos Vassiliadis said the following:

I tried to build PicoBSD using sources from RELENG_4 on a
4.10-RELEASE-p5 system and it failed. I (think|know) it's working
again on RELENG_6, but I want to use 4.x branch. So, which
sources should I get to build it?


this may come too late, but what was the error when you tried to build it ?

--
Regards,   /\_/\   All dogs go to heaven.
[EMAIL PROTECTED](0 0)http://www.alphaque.com/
+==oOO--(_)--OOo==+
| for a in past present future; do|
|   for b in clients employers associates relatives neighbours pets; do   |
|   echo The opinions here in no way reflect the opinions of my $a $b.  |
| done; done  |
+=+
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Xorg - how to disable some video modes?

2006-04-14 Thread Dinesh Nair



On 02/02/06 22:20 Alejandro Pulver said the following:

On Thu, 02 Feb 2006 17:31:38 +0800
Dinesh Nair [EMAIL PROTECTED] wrote:



On 01/19/06 22:11 Alejandro Pulver said the following:


Then X will start in the higher resolution it can find in Modes,
to solve this you can put in .xinitrc the following command (which
will change the resolution after X starts):

xrandr -s 1024x768


% xrandr
Xlib:  extension RANDR missing on display :0.0.


It says the extension is enabled, but it seems it hasn't been
initialized / loaded. My output has a line (not directly) after it
indicating that the extension is initialized.

[...]
(==) RandR enabled
[...]
(II) Initializing built-in extension RANDR

Could you please check if you have it too?


yes, it does say Initializing built-in extension RANDR, yet xrandr still 
keeps spitting out, Xlib:  extension RANDR missing on display :0.0


any clues ?

--
Regards,   /\_/\   All dogs go to heaven.
[EMAIL PROTECTED](0 0)http://www.alphaque.com/
+==oOO--(_)--OOo==+
| for a in past present future; do|
|   for b in clients employers associates relatives neighbours pets; do   |
|   echo The opinions here in no way reflect the opinions of my $a $b.  |
| done; done  |
+=+
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Soekris Net4801 performance

2006-03-29 Thread Dinesh Nair



On 03/30/06 09:28 Mike Tancsa said the following:

On Wed, 29 Mar 2006 17:19:25 +0200, in sentex.lists.freebsd.questions
you wrote:

ftp put is around 3Mbytes/sec and ftp get is around 2Mbytes/sec
ifconfig says:



They are not the fastest around, but it depends what you want to do
with them. On an older 4501, I get about 7Mb.  You should be able to
get that at least.


m0n0wall, a freebsd based router/firewall project is built for both the 
soekris net45xx and net48xx boxes. m0n0wall 1.2 is based on freebsd 4.x and 
m0n0wall 1.3 (which i'm currently maintaining) is based on freebsd 6.x. 
we've seen clear degradation of network throughput between m0n0 1.2 and 
1.3. we usually use iperf for throughput testing with the m0n0wall sitting 
in between. search the m0n0wall lists for past throughput comparisons.


[1] http://m0n0.ch/wall/

--
Regards,   /\_/\   All dogs go to heaven.
[EMAIL PROTECTED](0 0)http://www.alphaque.com/
+==oOO--(_)--OOo==+
| for a in past present future; do|
|   for b in clients employers associates relatives neighbours pets; do   |
|   echo The opinions here in no way reflect the opinions of my $a $b.  |
| done; done  |
+=+
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: is upgrading from 4.x to 6.x possible?

2006-02-10 Thread Dinesh Nair


On 02/09/06 06:05 Erik Trulsson said the following:

The other option available is of course to make a backup of all data and
config files, make a new clean install of 6.x, and then restore files from
backup.


which is exactly what i did and something i'd recommend for all 4.x to 6.x 
direct upgrades. there's been a lot of changes in freebsd since 4.x and a 
clean reinstall of 6.x will ensure that this gets to you with the least 
amount of problems.


--
Regards,   /\_/\   All dogs go to heaven.
[EMAIL PROTECTED](0 0)http://www.alphaque.com/
+==oOO--(_)--OOo==+
| for a in past present future; do|
|   for b in clients employers associates relatives neighbours pets; do   |
|   echo The opinions here in no way reflect the opinions of my $a $b.  |
| done; done  |
+=+
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Xorg - how to disable some video modes?

2006-02-03 Thread Dinesh Nair



On 02/02/06 22:20 Alejandro Pulver said the following:

It says the extension is enabled, but it seems it hasn't been
initialized / loaded. My output has a line (not directly) after it
indicating that the extension is initialized.


apologies on that, cut-n-paste error. the snippet continues,

(==) RandR enabled
(II) Initializing built-in extension MIT-SHM
(II) Initializing built-in extension XInputExtension
(II) Initializing built-in extension XTEST
(II) Initializing built-in extension XKEYBOARD
(II) Initializing built-in extension XC-APPGROUP
(II) Initializing built-in extension SECURITY
(II) Initializing built-in extension XINERAMA
(II) Initializing built-in extension XFIXES
(II) Initializing built-in extension XFree86-Bigfont
(II) Initializing built-in extension RENDER
(II) Initializing built-in extension RANDR
(II) Initializing built-in extension COMPOSITE
(II) Initializing built-in extension DAMAGE
(II) Initializing built-in extension XEVIE

--
Regards,   /\_/\   All dogs go to heaven.
[EMAIL PROTECTED](0 0)http://www.alphaque.com/
+==oOO--(_)--OOo==+
| for a in past present future; do|
|   for b in clients employers associates relatives neighbours pets; do   |
|   echo The opinions here in no way reflect the opinions of my $a $b.  |
| done; done  |
+=+
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Xorg - how to disable some video modes?

2006-02-02 Thread Dinesh Nair


On 01/19/06 22:11 Alejandro Pulver said the following:

Then X will start in the higher resolution it can find in Modes, to
solve this you can put in .xinitrc the following command (which will
change the resolution after X starts):

xrandr -s 1024x768


% xrandr
Xlib:  extension RANDR missing on display :0.0.

however, /var/log/Xorg.0.log says,

[..snipped..]
(WW) RADEON(0): Direct rendering not yet supported on Radeon 9500 and newer 
cards

(II) RADEON(0): Memory manager initialized to (0,0) (1408,8191)
(II) RADEON(0): Reserved area from (0,1050) to (1408,1052)
(II) RADEON(0): Largest offscreen area available: 1408 x 7139
(II) RADEON(0): Render acceleration unsupported on Radeon 9500/9700 and newer.
(II) RADEON(0): Render acceleration disabled
(II) RADEON(0): Using XFree86 Acceleration Architecture (XAA)
Screen to screen bit blits
Solid filled rectangles
8x8 mono pattern filled rectangles
Indirect CPU to Screen color expansion
Solid Lines
Scanline Image Writes
Offscreen Pixmaps
Setting up tile and stipple cache:
32 128x128 slots
32 256x256 slots
16 512x512 slots
(II) RADEON(0): Acceleration enabled
(==) RADEON(0): Backing store disabled
(==) RADEON(0): Silken mouse enabled
(II) RADEON(0): Using hardware cursor (scanline 1052)
(II) RADEON(0): Largest offscreen area available: 1408 x 7136
(**) Option dpms
(**) RADEON(0): DPMS enabled
(II) RADEON(0): Direct rendering disabled
(==) RandR enabled
[..snipped..]

--
Regards,   /\_/\   All dogs go to heaven.
[EMAIL PROTECTED](0 0)http://www.alphaque.com/
+==oOO--(_)--OOo==+
| for a in past present future; do|
|   for b in clients employers associates relatives neighbours pets; do   |
|   echo The opinions here in no way reflect the opinions of my $a $b.  |
| done; done  |
+=+
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Wake-on-LAN won't work if FreeBSD/Linux shuts down the system...?

2006-01-21 Thread Dinesh Nair



On 01/21/06 02:39 David Kelly said the following:

On Fri, Jan 20, 2006 at 04:22:55PM +, Martin Tournoy wrote:


I'm trying to get WoL working, and actually works quite well as long
as windows shuts down the system.
However, when FreeBSD or Linux shuts down my system, it won't work,
and if I manually turn on the system and shut it down again (even
before POST is done) WoL will work again(!?!?)

I've tried shutting down my system in every way I could think of, but
it doesn't seem to matter...

I've been googling for hours on this and didn't get alot wiser, does
anyone have any experience or solution for this?



You ask such a question without saying anything about what NIC you are
using?


i dont know if this is related, but i've had this experience:

1. freebsd notebook dies/crashes due to power failure (my bad)

2. a reboot of the notebook comes up fine with the exception of a totally 
missing bge0 device, Broadcom BCM5751M Gigabit Ethernet. nothing i did 
could find the device including pciconf.


3. reboots with shutdown -r didnt still showed a missing device when the 
notebook rebooted.


4. shutting down the notebook using ACPI (acpiconf -s 5) and a subsequent 
reboot brought the device back to life as if nothing had happenned previously.


i wonder if there's something in ACPI which caused this behaviour, and 
could be responsible for the symptoms you're seeing. admittedly, this is a 
shot in the dark as till today i've no clue why my bge0 device disappeared 
for a short period of time. agents mulder and scully are investigating.


--
Regards,   /\_/\   All dogs go to heaven.
[EMAIL PROTECTED](0 0)http://www.alphaque.com/
+==oOO--(_)--OOo==+
| for a in past present future; do|
|   for b in clients employers associates relatives neighbours pets; do   |
|   echo The opinions here in no way reflect the opinions of my $a $b.  |
| done; done  |
+=+
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Xorg - how to disable some video modes?

2006-01-12 Thread Dinesh Nair


On 01/10/06 23:52 gandalf said the following:
Thanks for trying. It does not work for me. I found that xfce4's control 
panel is able to switch between 1024x768, 800x600 and 640x480. (Xfce 
also resizes the virtual size.) I don't know how it can do it because 
theoretically the only valid modes are 1024x768 and 1280x1024.


gah, xfce4's control panel doesnt do that for me, though it used to on 
another older notebook i was using. for the life of me i cant remember what 
i did to make this happen then and not not. my xorg.conf is minimal.


using xvidtune or ctrl-atl-numpad+ does switch video modes, but the virtual 
screen remains at the larger 1400x1050 size, thus giving that pan effect. 
would anyone hit me with a cluebat[1] on how to fix this ?


[1] i never had this problem before, so i've obviously goofed up somewhere 
in porting over xorg.org.


--
Regards,   /\_/\   All dogs go to heaven.
[EMAIL PROTECTED](0 0)http://www.alphaque.com/
+==oOO--(_)--OOo==+
| for a in past present future; do|
|   for b in clients employers associates relatives neighbours pets; do   |
|   echo The opinions here in no way reflect the opinions of my $a $b.  |
| done; done  |
+=+
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Wireless woes: upgrade 5.4 to 6.0, wi0, etc...

2005-12-27 Thread Dinesh Nair



On 12/27/05 18:22 Kiffin Gish said the following:

Since I upgraded from FreeBSD 5.4 to 6.0, I cannot for the life of me get
the wi0-interface to work at all (real bummer).

During boot I get the following error message:

ieee80211_load_module: load the wlan_wep module by hand for now

If afterwards I try to fiddle around with ifconfig wepmode on ..., I get the
following error message:

ifconfig: SIOCS80211: Operation not permitted


have you tried kldload wlan_wep ? :)

--
Regards,   /\_/\   All dogs go to heaven.
[EMAIL PROTECTED](0 0)http://www.alphaque.com/
+==oOO--(_)--OOo==+
| for a in past present future; do|
|   for b in clients employers associates relatives neighbours pets; do   |
|   echo The opinions here in no way reflect the opinions of my $a $b.  |
| done; done  |
+=+
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How to safty unplug a USB Stick

2005-12-20 Thread Dinesh Nair



On 12/20/05 07:44 Thomas Linton said the following:

Besides umount, to keep the FS consistant, I belive it would be necessary to
actually turn off the USB stick before you remove it. With Windows and Linux
there is also a way to safety remove -power off-  a USB stick.


i've just unmounted and then pulled out various usb sticks, CF cards and 
sony memory sticks and have not seen any filesystem problems when i stick 
them back in again. never had to use camcontrol eject.


--
Regards,   /\_/\   All dogs go to heaven.
[EMAIL PROTECTED](0 0)http://www.alphaque.com/
+==oOO--(_)--OOo==+
| for a in past present future; do|
|   for b in clients employers associates relatives neighbours pets; do   |
|   echo The opinions here in no way reflect the opinions of my $a $b.  |
| done; done  |
+=+
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: about /usr/src/etc

2005-11-26 Thread Dinesh Nair



On 11/26/05 20:47 [EMAIL PROTECTED] said the following:

Hi,

I am unable to locate this folder (/usr/src/etc). I mean, it does not exist. I
only have sys under /usr/src

I also have no more man page but the one associated with newly
compiled/installed softwares.


seems like you've not installed the freebsd sources on your system. having 
only /usr/src/sys would imply that you did install kernel sources though. 
pop in a freebsd iso and pick the option which installs full sources to get 
/usr/src fully populated.


--
Regards,   /\_/\   All dogs go to heaven.
[EMAIL PROTECTED](0 0)http://www.alphaque.com/
+==oOO--(_)--OOo==+
| for a in past present future; do|
|   for b in clients employers associates relatives neighbours pets; do   |
|   echo The opinions here in no way reflect the opinions of my $a $b.  |
| done; done  |
+=+
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Asterisk on FreeBSD, anyone?

2005-11-20 Thread Dinesh Nair



On 11/20/05 00:21 Kiffin Gish said the following:

Has anyone had any experience running Asterisk on FreeBSD 5.x ?

If so, then which drivers are required and what is the best way to install
the system?


you can build asterisk, libpri and zaptel from the ports and reports on the 
asterisk-bsd mailing lists seem to indicate that it works fine.


--
Regards,   /\_/\   All dogs go to heaven.
[EMAIL PROTECTED](0 0)http://www.alphaque.com/
+==oOO--(_)--OOo==+
| for a in past present future; do|
|   for b in clients employers associates relatives neighbours pets; do   |
|   echo The opinions here in no way reflect the opinions of my $a $b.  |
| done; done  |
+=+
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Which firewall?

2005-11-20 Thread Dinesh Nair



On 11/17/05 21:21 Sasa Stupar said the following:

--On 17. november 2005 18:19 +0800 Dinesh Nair [EMAIL PROTECTED] wrote:

it's a freebsd 4.11 based system with a nice UI.

Hmmm, this looks interesting.


and there's now an ALPHA release based on freebsd 6.0-RELEASE.

one thing we've noticed though is a tremendous drop in network performance 
between 4.x and 6.0. on 4.x with the soekris net4801, we're getting 38Mbps 
throughput between both interfaces, but this drops to 20Mbps when 6.0 is 
used. this is a clear apples to apples comparison with the only thing 
changing being the base OS.


--
Regards,   /\_/\   All dogs go to heaven.
[EMAIL PROTECTED](0 0)http://www.alphaque.com/
+==oOO--(_)--OOo==+
| for a in past present future; do|
|   for b in clients employers associates relatives neighbours pets; do   |
|   echo The opinions here in no way reflect the opinions of my $a $b.  |
| done; done  |
+=+
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Status of 6.0 for production systems

2005-11-19 Thread Dinesh Nair


On 11/19/05 17:28 Ted Mittelstaedt said the following:

Absolute total rubbish.

Let's take one of these developing countries - China PRC - shall we?


right, pick a country which has seen billions in investment flowing in over 
the last 5 years and use that as an example. shall we consider other 
countries such as those in africa and the greater part of Asia now ?


the point of the matter is, mr mittelstaedt, is that you're america-centric 
worldview just does not jive with what happens in the rest of the world. 
what you suggest and propose is not possible and things here are just 
different.


--
Regards,   /\_/\   All dogs go to heaven.
[EMAIL PROTECTED](0 0)http://www.alphaque.com/
+==oOO--(_)--OOo==+
| for a in past present future; do|
|   for b in clients employers associates relatives neighbours pets; do   |
|   echo The opinions here in no way reflect the opinions of my $a $b.  |
| done; done  |
+=+
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: several versions of gcc

2005-11-19 Thread Dinesh Nair


On 11/19/05 13:30 Andrew Novikov said the following:

However I cannot have at the same time lang/gcc34 and lang/gcc40 (or any
other two version from ports) because they both install files in the same
place somewhere in /usr/local/. Is there a way to specify a different dir,


that's going to be difficult unless you descend into the ports work 
directory and edit the install prefixes there.


--
Regards,   /\_/\   All dogs go to heaven.
[EMAIL PROTECTED](0 0)http://www.alphaque.com/
+==oOO--(_)--OOo==+
| for a in past present future; do|
|   for b in clients employers associates relatives neighbours pets; do   |
|   echo The opinions here in no way reflect the opinions of my $a $b.  |
| done; done  |
+=+
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Which firewall?

2005-11-17 Thread Dinesh Nair



On 11/17/05 18:15 Sasa Stupar said the following:

Hi!

I am about to set up a router with FBSD 5.4 for SOHO network. There will 
be no servers running, only inet access for the users but I'd like to 


you could try using m0n0wall, http://m0n0.ch/wall/

it's a freebsd 4.11 based system with a nice UI.

--
Regards,   /\_/\   All dogs go to heaven.
[EMAIL PROTECTED](0 0)http://www.alphaque.com/
+==oOO--(_)--OOo==+
| for a in past present future; do|
|   for b in clients employers associates relatives neighbours pets; do   |
|   echo The opinions here in no way reflect the opinions of my $a $b.  |
| done; done  |
+=+
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Status of 6.0 for production systems

2005-11-17 Thread Dinesh Nair



On 11/17/05 20:35 Ted Mittelstaedt said the following:

In the tropics you are flooded with free energy streaming down
on you all day long and your complaining?!?!?  Please, search
Google for the term photovoltaic and be enlightened.


photovoltaic arrays and solar energy panels are not as econiomically viable 
in developing countries as you think it is in your geocentric worldview.


--
Regards,   /\_/\   All dogs go to heaven.
[EMAIL PROTECTED](0 0)http://www.alphaque.com/
+==oOO--(_)--OOo==+
| for a in past present future; do|
|   for b in clients employers associates relatives neighbours pets; do   |
|   echo The opinions here in no way reflect the opinions of my $a $b.  |
| done; done  |
+=+
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: several versions of gcc

2005-11-17 Thread Dinesh Nair



On 11/18/05 09:09 Andrew Novikov said the following:

Hello,

Is there a way to have both gcc34 and gcc40 (and possibly other versions)
simultaneously?


back on freebsd 4.11, i had the system installed gcc 2.95 and the ports 
installed gcc 3.4.x running simultaneously. gcc 3.4 was invoked as gcc34.


--
Regards,   /\_/\   All dogs go to heaven.
[EMAIL PROTECTED](0 0)http://www.alphaque.com/
+==oOO--(_)--OOo==+
| for a in past present future; do|
|   for b in clients employers associates relatives neighbours pets; do   |
|   echo The opinions here in no way reflect the opinions of my $a $b.  |
| done; done  |
+=+
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: strange msg lines..

2005-11-17 Thread Dinesh Nair


On 11/17/05 22:51 dick hoogendijk said the following:

foto-porno-amatoriale.com ; puttane-grandi-tette.com ;
video-porno-anale.com ALL resolve to different IP's when checked with
host fotocom etc..


they come from the nameserver though, so i'm thinking something must be 
pointing them to you. either that or there's some sort of DNS poisoning 
going on.



And because it's a normal http request it can't be blocked?
Or can I make the apache module mod_security do something like
filtering for me?


you could use mod_rewrite to redirect them to either another url or bury 
them in a 404 of sorts.


--
Regards,   /\_/\   All dogs go to heaven.
[EMAIL PROTECTED](0 0)http://www.alphaque.com/
+==oOO--(_)--OOo==+
| for a in past present future; do|
|   for b in clients employers associates relatives neighbours pets; do   |
|   echo The opinions here in no way reflect the opinions of my $a $b.  |
| done; done  |
+=+
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: BSD 5.4 fs problem...

2005-11-16 Thread Dinesh Nair



On 11/17/05 10:36 xinyu zeng said the following:

Hi,

   I have FreeBSD 5.4 installed. I found each time I use ports to
install software it always hangs there (i have only SSH to connect it)
and there is even no ICMP reply (with ping).


are you sure that nothing is happenning ? some ports take a long time to 
build on slower machines and can give the impression that it's hanging. 
you've also not mentioned how you're building the ports in question. this 
should be the problem you need to fix, not the unclean filesystems below as 
they're a direct result of an unclean shutdown.




   I got to restart the system and find messages of not properly umount.

'Mounting root from ufs:/dev/ad0s1a
WARNING: / was not properly dismounted
WARNING: /tmp was not properly dismounted
WARNING: /usr was not properly dismounted
WARNING: /var was not properly dismounted


which would be par for the course since you've done an unclean shutdown.

--
Regards,   /\_/\   All dogs go to heaven.
[EMAIL PROTECTED](0 0)http://www.alphaque.com/
+==oOO--(_)--OOo==+
| for a in past present future; do|
|   for b in clients employers associates relatives neighbours pets; do   |
|   echo The opinions here in no way reflect the opinions of my $a $b.  |
| done; done  |
+=+
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: strange msg lines..

2005-11-16 Thread Dinesh Nair



On 11/17/05 06:56 dick hoogendijk said the following:

These are not normal requests to my apache server. But it seems to
listen to them. Am I 'in danger?'


apparently, the nameservers responsible for those domains are returning 
your IP address to a DNS query. all the sites seem to share the same DNS 
provider, so you could try getting in touch with them.


--
Regards,   /\_/\   All dogs go to heaven.
[EMAIL PROTECTED](0 0)http://www.alphaque.com/
+==oOO--(_)--OOo==+
| for a in past present future; do|
|   for b in clients employers associates relatives neighbours pets; do   |
|   echo The opinions here in no way reflect the opinions of my $a $b.  |
| done; done  |
+=+
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Solution for retrieving data from hard disk.

2005-11-16 Thread Dinesh Nair



On 11/17/05 13:26 Aman Yus said the following:

I can't mount my hard disk. There's a very very very valuable data
inside (family video - holiday trip) that I must recover. Hope you
guys can pour all the solutions which i will (surely) try. Zillions of
thanks.


you may want to start by letting us know what exactly is the error you're 
getting and posting any error messages you see when you attempt a mount.


--
Regards,   /\_/\   All dogs go to heaven.
[EMAIL PROTECTED](0 0)http://www.alphaque.com/
+==oOO--(_)--OOo==+
| for a in past present future; do|
|   for b in clients employers associates relatives neighbours pets; do   |
|   echo The opinions here in no way reflect the opinions of my $a $b.  |
| done; done  |
+=+
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: an a version 4 sstem not mount filesystems created by a version 5 system?

2005-11-15 Thread Dinesh Nair



On 11/15/05 05:32 stan said the following:

The subject really says it all. What major feature got added that was worth
breaking this?


i believe it was called UFS2.

--
Regards,   /\_/\   All dogs go to heaven.
[EMAIL PROTECTED](0 0)http://www.alphaque.com/
+==oOO--(_)--OOo==+
| for a in past present future; do|
|   for b in clients employers associates relatives neighbours pets; do   |
|   echo The opinions here in no way reflect the opinions of my $a $b.  |
| done; done  |
+=+
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Status of 6.0 for production systems

2005-11-15 Thread Dinesh Nair


On 11/15/05 12:23 Ted Mittelstaedt said the following:

Hmm - let's see now, where does this extra wasted power go?  It
is turned into heat.  Which heats your house.  Which means you do
not have to run the furnace so much, thus saving energy there.


that's a very geocentric view. for most of us who live in the tropics or on 
the equator where the ambient temperature is 31degC, the wasted power is 
really wasted twice: once from the PC, and once more thru higher 
airconditioning/cooling devices.


--
Regards,   /\_/\   All dogs go to heaven.
[EMAIL PROTECTED](0 0)http://www.alphaque.com/
+==oOO--(_)--OOo==+
| for a in past present future; do|
|   for b in clients employers associates relatives neighbours pets; do   |
|   echo The opinions here in no way reflect the opinions of my $a $b.  |
| done; done  |
+=+
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: BTX halt on laptop

2005-11-14 Thread Dinesh Nair



On 11/14/05 23:56 Billy Tallis said the following:

The real problem is that BTX never gets around to loading any kernel.

From the information I have found online, BTX does not seem to be as


what are the errors you're getting at the btx boot: prompt ?

--
Regards,   /\_/\   All dogs go to heaven.
[EMAIL PROTECTED](0 0)http://www.alphaque.com/
+==oOO--(_)--OOo==+
| for a in past present future; do|
|   for b in clients employers associates relatives neighbours pets; do   |
|   echo The opinions here in no way reflect the opinions of my $a $b.  |
| done; done  |
+=+
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: BTX halt on laptop

2005-11-13 Thread Dinesh Nair



On 11/14/05 07:54 Billy Tallis said the following:

I am trying to install FreeBSD 6 on a Toshiba Sat. Pro 445CDX laptop
with no floppy drive. This laptop has a pentium processor and 16MB of
ram. 


16MB of RAM, that doesnt sound like much.

--
Regards,   /\_/\   All dogs go to heaven.
[EMAIL PROTECTED](0 0)http://www.alphaque.com/
+==oOO--(_)--OOo==+
| for a in past present future; do|
|   for b in clients employers associates relatives neighbours pets; do   |
|   echo The opinions here in no way reflect the opinions of my $a $b.  |
| done; done  |
+=+
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD 6.0 and Objective C

2005-11-13 Thread Dinesh Nair



On 11/14/05 08:50 James Bailie said the following:

Try adding -lpthread to the compiler command line?


actually -pthread would be better. not the missing el ('l').

--
Regards,   /\_/\   All dogs go to heaven.
[EMAIL PROTECTED](0 0)http://www.alphaque.com/
+==oOO--(_)--OOo==+
| for a in past present future; do|
|   for b in clients employers associates relatives neighbours pets; do   |
|   echo The opinions here in no way reflect the opinions of my $a $b.  |
| done; done  |
+=+
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Loading mfsroot read-write on FreeBSD 6.0-RELEASE

2005-11-12 Thread Dinesh Nair


i'm attempting to create a stripped down implementation of FreeBSD 
6.0-RELEASE and have noticed some changes in how the loader loads mfsroot 
between 4.x and 6.x.


/boot/loader.rc has:
set console=comconsole
set hw.ata.atapi_dma=1
set hw.ata.ata_dma=1
set hw.ata.wc=0
load /kernel
load -t mfs_root /mfsroot
boot

however, upon a boot, i see the following:

/kernel text=0x4511b4 data=0x7cc94+0x33710 syms=[0x4+0x54750+0x4+0x696b2]
ACPI autoload failed - no such file or directory
Copyright (c) 1992-2005 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 6.0-STABLE #1: Sat Nov 12 16:31:08 MYT 2005

[EMAIL PROTECTED]:/usr/src/sys/i386/compile/M0N0WALL_GENERIC_FREEB
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: Intel(R) Celeron(TM) CPU 400MHz (400.91-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0x6b4  Stepping = 4
Features=0x383f9ffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PA
real memory  = 133103616 (126 MB)
avail memory = 104087552 (99 MB)
ath_hal: 0.9.14.9 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413)
npx0: [FAST]
npx0: math processor on motherboard
npx0: INT 16 interface
cpu0 on motherboard
pcib0: Intel 82815 (i815 GMCH) Host To Hub bridge pcibus 0 on motherboard
pir0: PCI Interrupt Routing Table: 8 Entries on motherboard
pci0: PCI bus on pcib0
pci0: display, VGA at device 2.0 (no driver attached)
pcib1: PCIBIOS PCI-PCI bridge at device 30.0 on pci0
pci1: PCI bus on pcib1
pci1: simple comms at device 0.0 (no driver attached)
cbb0: RF5C475 PCI-CardBus Bridge mem 0xe5027000-0xe5027fff irq 12 at 
device 2.

cardbus0: CardBus bus on cbb0
pccard0: 16-bit PCCard bus on cbb0
pci1: serial bus, FireWire at device 2.1 (no driver attached)
fxp0: Intel 82559ER Embedded 10/100 Ethernet port 0xa400-0xa43f mem 
0xe5025000

pci1
miibus0: MII bus on fxp0
inphy0: i82555 10/100 media interface on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp0: Ethernet address: 00:04:5f:40:1c:bd
fxp1: Intel 82801BA/CAM (ICH2/3) Pro/100 Ethernet port 0xa800-0xa83f mem 
0xe50

miibus1: MII bus on fxp1
inphy1: i82562ET 10/100 media interface on miibus1
inphy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp1: Ethernet address: 00:04:5f:40:1d:21
isab0: PCI-ISA bridge at device 31.0 on pci0
isa0: ISA bus on isab0
atapci0: Intel ICH2 UDMA100 controller port 
0x1f0-0x1f7,0x3f6,0x170-0x177,0x37

ata0: ATA channel 0 on atapci0
ata1: ATA channel 1 on atapci0
pci0: serial bus, SMBus at device 31.3 (no driver attached)
pmtimer0 on isa0
orm0: ISA Option ROM at iomem 0xc-0xcbfff on isa0
atkbdc0: Keyboard controller (i8042) at port 0x60,0x64 on isa0
atkbd0: AT Keyboard irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 0xa-0xb on isa0
sc0: System console at flags 0x100 on isa0
sc0: VGA 16 virtual consoles, flags=0x100
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A, console
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
unknown: PNP0303 can't assign resources (port)
unknown: PNP0c01 can't assign resources (memory)
unknown: PNP0501 can't assign resources (port)
unknown: PNP0501 can't assign resources (port)
unknown: PNP0501 can't assign resources (irq)
unknown: PNP0501 can't assign resources (irq)
Timecounter TSC frequency 400910637 Hz quality 800
Timecounters tick every 1.000 msec
Fast IPsec: Initialized Security Association Processing.
IP Filter: v4.1.8 initialized.  Default = block all, Logging = enabled
md0: Preloaded image /mfsroot 16777216 bytes at 0xc09c0370
ad2: FAILURE - SETFEATURES SET TRANSFER MODE status=51READY,DSC,ERROR 
error=4

ad2: 123MB Transcend 2N3-0925 at ata1-master BIOSPIO
Trying to mount root from ufs:/dev/md0
mkdir: /var/run: Read-only file system
mkdir: /var/log: Read-only file system
mkdir: /var/etc: Read-only file system
mkdir: /var/db: Read-only file system

i've judiciously ignored the SETFEATURES error on ad2 as it's a CF-IDE 
device and mounts perfectly fine from the command line. however, the mkdirs 
are failing due to the fact that mfsroot is mounted read only. using the 
same loader.rc commands in 4.x and 5.x seemed to load mfsroot read/write.


how does one specify a read/write mount of mfsroot in 6.0 in the bootloader ?

--
Regards,   /\_/\   All dogs go to heaven.
[EMAIL PROTECTED](0 0)http://www.alphaque.com/
+==oOO--(_)--OOo==+
| for a in past present future; do|
|   for b in clients employers associates relatives neighbours pets; do   |
|   echo The opinions here in no way reflect the opinions of my $a $b.  |
| done; done  |
+=+

[patch] Re: Loading mfsroot read-write on FreeBSD 6.0-RELEASE

2005-11-12 Thread Dinesh Nair



On 11/12/05 21:02 Dinesh Nair said the following:
how does one specify a read/write mount of mfsroot in 6.0 in the 
bootloader ?


apparently, the behaviour of vfs_mountroot_try() has changed in 6.0. 
previously, if the root filesystem was mounted from a memory disk, as would 
be the case with an mfsroot.gz, it would be mounted R/W while other fs 
types would be mounted R/O before /etc/rc scripts upgraded the mount to 
R/W. however, in 6.0, all root filesystems are mounted R/O.


the following patch mounts all root filesystems R/W. it's a quick and dirty 
fix however, for a cleaner fix would be to duplicate 5.x behaviour of only 
mounting memory disks R/W and other disks R/O. the kernel needs to be 
rebuilt for this patch to take effect.


is there enough interest in having memory root file systems mounted R/W at 
boot ? if there is, i could put in a little bit more effort into 
duplicating 5.x behaviour on this and submitting it as a PR to 6.0.


--- CUT HERE ---
--- sys/kern/vfs_mount.c.orig   Sat Nov 12 23:22:07 2005
+++ sys/kern/vfs_mount.cSat Nov 12 23:59:50 2005
@@ -1297,7 +1297,7 @@
strcpy(path, ROOTNAME);

error = kernel_vmount(
-   MNT_RDONLY | MNT_ROOTFS,
+   MNT_ROOTFS,
fstype, vfsname,
fspath, /,
from, path,
--- CUT HERE ---

--
Regards,   /\_/\   All dogs go to heaven.
[EMAIL PROTECTED](0 0)http://www.alphaque.com/
+==oOO--(_)--OOo==+
| for a in past present future; do|
|   for b in clients employers associates relatives neighbours pets; do   |
|   echo The opinions here in no way reflect the opinions of my $a $b.  |
| done; done  |
+=+
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: RELENG_6 cvsup returns 6.0-RC1

2005-11-11 Thread Dinesh Nair


On 11/12/05 07:07 Kris Kennaway said the following:

No, that's the release branch.  RELENG_6 indeed should work as he
expects.  Is anyone else able to confirm that this cvsup server is
handing out old files?


a cvsup against RELENG_6 last saturday has resulted in the following for me,

1. missing /etc/defaults/make.conf
2. pccardd not being built in a 'make buildworld' due to 
/usr/src/usr.sbin/pccard/Makefile not having pccardd in the SUBDIR


both were easy to fix obviously, but i'm wondering if this is due a buggy 
release engineering process or is this a change in 6.x ?


--
Regards,   /\_/\   All dogs go to heaven.
[EMAIL PROTECTED](0 0)http://www.alphaque.com/
+==oOO--(_)--OOo==+
| for a in past present future; do|
|   for b in clients employers associates relatives neighbours pets; do   |
|   echo The opinions here in no way reflect the opinions of my $a $b.  |
| done; done  |
+=+
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: RELENG_6 cvsup returns 6.0-RC1

2005-11-11 Thread Dinesh Nair


On 11/12/05 15:23 Kris Kennaway said the following:

There is no /etc/defaults/make.conf any longer (it's in
/usr/share/examples/etc now)


ok, understandable.

2. pccardd not being built in a 'make buildworld' due to 
/usr/src/usr.sbin/pccard/Makefile not having pccardd in the SUBDIR



And this was also deliberately disconnected.


any reason why ? admittedly, i'm unfamiliar with 6.0 having been on 4.x for 
a long, long time. does CardBus now not need pccardd anymore ?


--
Regards,   /\_/\   All dogs go to heaven.
[EMAIL PROTECTED](0 0)http://www.alphaque.com/
+==oOO--(_)--OOo==+
| for a in past present future; do|
|   for b in clients employers associates relatives neighbours pets; do   |
|   echo The opinions here in no way reflect the opinions of my $a $b.  |
| done; done  |
+=+
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Intel 2200bg wireless lan support in FreeBSD6.0 stable release

2005-11-08 Thread Dinesh Nair


On 11/09/05 04:24 Sunil Kumar said the following:

1. Is there a document/help site where the steps are documented?


http://damien.bergamini.free.fr/ipw/iwi-freebsd.html


2. If I execute  kldload -v if_iwi then in the dmesg output, i get a
message saying download firmware. What firmware should i have to
download? I cannot use ports collection(pkg_add or make install clean)


install /usr/ports/net/iwi-firmware, but...


because that laptop does not have ethernet connection(I think there is
no support for the Marvell Yukon 88E80836 chipset).


...since you dont have a network up and running, that may be a problem. do 
check if the iwi-firmware package is available on one of the 6.0 ISO CDROMs.



3.If is execute this command  iwicontrol -i iwi0 -d
/usr/local/libdata/if_iwi -m bss i get a error message that this


iwicontrol is installed as part of iwi-firmware.

--
Regards,   /\_/\   All dogs go to heaven.
[EMAIL PROTECTED](0 0)http://www.alphaque.com/
+==oOO--(_)--OOo==+
| for a in past present future; do|
|   for b in clients employers associates relatives neighbours pets; do   |
|   echo The opinions here in no way reflect the opinions of my $a $b.  |
| done; done  |
+=+
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Firefox + acroread7

2005-11-08 Thread Dinesh Nair



On 11/09/05 06:12 Eric Schuele said the following:

In firefox:
 Edit - preferences - downloads - plugins
   disable pdfs
go to download a pdf file... tell it to always automatically open with
   /usr/local/bin/acroread7


i've been following this thread, and the problem persists in mozilla-devel 
as well. the best workaround is still the one you've suggested. you can 
also do this by removing the nppdf.so symbolic link in 
/usr/X11R6/lib/browser-plugins.


--
Regards,   /\_/\   All dogs go to heaven.
[EMAIL PROTECTED](0 0)http://www.alphaque.com/
+==oOO--(_)--OOo==+
| for a in past present future; do|
|   for b in clients employers associates relatives neighbours pets; do   |
|   echo The opinions here in no way reflect the opinions of my $a $b.  |
| done; done  |
+=+
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: filesystem full error

2005-11-07 Thread Dinesh Nair



On 11/07/05 12:57 Dave Webster said the following:

Thanks for the response,
I edited the /etc/rc.conf with the clear_tmp_enable=YES
rebooted
reran pkg_add -r openoffice


you're running out of space on /var, and an openoffice package install 
takes up a lot in /var/tmp. what you can do, since you seem to have gigs 
available in /usr, is to mv /var/tmp to /usr and create a link from 
/var/tmp to /usr/tmp and try again. 256MB for a /var partition these days 
is small, and i normally use 1GB on it if disk space isnt a problem.


--
Regards,   /\_/\   All dogs go to heaven.
[EMAIL PROTECTED](0 0)http://www.alphaque.com/
+==oOO--(_)--OOo==+
| for a in past present future; do|
|   for b in clients employers associates relatives neighbours pets; do   |
|   echo The opinions here in no way reflect the opinions of my $a $b.  |
| done; done  |
+=+
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: build ports without X -- make.conf

2005-11-07 Thread Dinesh Nair



On 11/08/05 02:16 Dan Mahoney, System Admin said the following:
For some reason this is gone in 5.x -- what's the appropriate way to do 
this now (since WITHOUT_X11 still worked on a couple ports I've tried.)


am also not sure if this is related, but an install of 6.0-RELEASE followed 
by a cvsup of RELENG_6 yesterday didnt have an /etc/make.conf. is this an 
omission or is this by design ?


--
Regards,   /\_/\   All dogs go to heaven.
[EMAIL PROTECTED](0 0)http://www.alphaque.com/
+==oOO--(_)--OOo==+
| for a in past present future; do|
|   for b in clients employers associates relatives neighbours pets; do   |
|   echo The opinions here in no way reflect the opinions of my $a $b.  |
| done; done  |
+=+
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 5-STABLE to 6-RELEASE upgrade

2005-11-07 Thread Dinesh Nair



On 11/08/05 02:25 J. W. Ballantine said the following:

and did a cvsup to get the new bits.  I then ran a make world;
make buildkernel; and then a make installkernel.  This steps fails with:


you should be using buildworld, buildkernel, installkernel, reboot, 
installworld with a couple of mergemasters thrown in there. see 
/usr/src/UPDATING for the correct sequence.


--
Regards,   /\_/\   All dogs go to heaven.
[EMAIL PROTECTED](0 0)http://www.alphaque.com/
+==oOO--(_)--OOo==+
| for a in past present future; do|
|   for b in clients employers associates relatives neighbours pets; do   |
|   echo The opinions here in no way reflect the opinions of my $a $b.  |
| done; done  |
+=+
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: build ports without X -- make.conf

2005-11-07 Thread Dinesh Nair


On 11/08/05 02:40 David Kirchner said the following:

That's by design. The install stores a default make.conf file in
/etc/defaults/make.conf . Local changes should go in a new file named


i do know about /etc/default/make.conf, and that's missing as well.

--
Regards,   /\_/\   All dogs go to heaven.
[EMAIL PROTECTED](0 0)http://www.alphaque.com/
+==oOO--(_)--OOo==+
| for a in past present future; do|
|   for b in clients employers associates relatives neighbours pets; do   |
|   echo The opinions here in no way reflect the opinions of my $a $b.  |
| done; done  |
+=+
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Can FreeBSD 4.11 and 5.4 run on a HP DL-140 G2 server?

2005-10-29 Thread Dinesh Nair



On 10/26/05 21:28 Paul Hamilton said the following:

Hi,

I have FreeBSD 4.11 running nicely on a HP DL-140  (80GB Parallel ATA HD),
but is anyone running FreeBSD on a HP DL-140 *G2* (80GB SATA HD)?


works with the HP ML110 G2 with the ICH7 SATA RAID controller. i've had to 
patch sys/dev/ata-pci.c to get it to recognize it but it's a short and 
simple patch.


--
Regards,   /\_/\   All dogs go to heaven.
[EMAIL PROTECTED](0 0)http://www.alphaque.com/
+==oOO--(_)--OOo==+
| for a in past present future; do|
|   for b in clients employers associates relatives neighbours pets; do   |
|   echo The opinions here in no way reflect the opinions of my $a $b.  |
| done; done  |
+=+
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Dell Poweredge 830 with Intel ICH7 Sata controller not finding drives on install

2005-10-29 Thread Dinesh Nair



On 10/19/05 06:17 Derrick MacPherson said the following:

When I type lsdev in the boot loader, it shows the hdd and the
partitions that are on it (3 linux). When sysinstall (i've tried with
5.4 and 6.0RC1) starts it says there's no drives, I've done some


i duplicated the entries for the ICH6 controller in sys/dev/ata-pci.c and 
installed freebsd 4.x on a HP ML110 G2 with the ICH7 SATA controller. you'd 
probably need to make a release for this though.


--
Regards,   /\_/\   All dogs go to heaven.
[EMAIL PROTECTED](0 0)http://www.alphaque.com/
+==oOO--(_)--OOo==+
| for a in past present future; do|
|   for b in clients employers associates relatives neighbours pets; do   |
|   echo The opinions here in no way reflect the opinions of my $a $b.  |
| done; done  |
+=+
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Can FreeBSD 4.11 and 5.4 run on a HP DL-140 G2 server?

2005-10-29 Thread Dinesh Nair



On 10/29/05 20:57 Paul Hamilton said the following:

Where did you get the patch from?


i wrote it. find attached. :)

these will add support to the intel ICH7 SATA controller as well as the ITE 
8211F and ITE 8212F controllers. i've yet to test the SATA 150 RAID on the 
intel ICH7, hence the commented out device id in the driver. do let me know 
if this works when you've tested it.


--
Regards,   /\_/\   All dogs go to heaven.
[EMAIL PROTECTED](0 0)http://www.alphaque.com/
+==oOO--(_)--OOo==+
| for a in past present future; do|
|   for b in clients employers associates relatives neighbours pets; do   |
|   echo The opinions here in no way reflect the opinions of my $a $b.  |
| done; done  |
+=+
--- ata-pci.c.orig  Wed Oct 19 11:44:18 2005
+++ ata-pci.c   Wed Oct 19 12:48:11 2005
@@ -186,6 +187,30 @@
pci_write_config(dev, 0xa4, pci_read_config(dev, 0xa4, 4), 4);

return Intel ICH6 SATA150 controller;
+   
+case 0x27c08086:   /* Intel ICH7 SATA */
+#if 0
+case 0x27c38086:   /* Intel ICH7 SATA RAID */
+#endif
+   /* Clear SATA error registers */
+   pci_write_config(dev, 0xa0, 0x54, 4);
+   pci_write_config(dev, 0xa4, pci_read_config(dev, 0xa4, 4), 4);
+   pci_write_config(dev, 0xa0, 0x64, 4);
+   pci_write_config(dev, 0xa4, pci_read_config(dev, 0xa4, 4), 4);
+   
+   return Intel ICH7 SATA controller;
+
+   case 0x82111283: /* ITE 8211F */
+   case 0x82121283: /* ITE 8212F */
+   /* set PCI mode and 66Mhz reference clock */
+   pci_write_config(dev, 0x50, pci_read_config(dev, 0x50, 1)  ~0x83, 1);
+
+   /* set default active  recover timings */
+   pci_write_config(dev, 0x54, 0x31, 1);
+   /* set default UDMA timing */
+   pci_write_config(dev, 0x56, 0x31, 1);
+
+   return ITE 8211F/8212F PCI Controller ;
 
 case 0x522910b9:
if (pci_get_revid(dev) = 0xc4)
@@ -669,6 +696,10 @@
 case 0x25a38086:   /* Intel 6300ESB SATA150 */
 case 0x25b08086:   /* Intel 6300ESB SATA150 RAID */
 case 0x26518086:   /* Intel ICH6 SATA150 */
+case 0x27c08086:   /* Intel ICH7 SATA */
+#if 0
+case 0x27c38086:   /* Intel ICH7 SATA RAID */
+#endif
dmastat = ATA_INB(ch-r_bmio, ATA_BMSTAT_PORT);
if ((dmastat  (ATA_BMSTAT_ACTIVE | ATA_BMSTAT_INTERRUPT)) !=
ATA_BMSTAT_INTERRUPT)
--- ata-dma.c.orig  Wed Oct 19 02:14:39 2005
+++ ata-dma.c   Sun Oct 30 02:56:31 2005
@@ -50,6 +50,7 @@
 static void promise_timing(struct ata_device *, int, int);
 static void hpt_timing(struct ata_device *, int, int);
 static int hpt_cable80(struct ata_device *);
+static int ata_mode2idx(int mode);
 
 /* misc defines */
 #define ATAPI_DEVICE(atadev) \
@@ -187,6 +188,7 @@
 int devno = (channel  1) + device;
 int error;
 int32_t mask54 = 0;
+   int mode = udmamode ;
 
 /* set our most pessimistic default mode */
 atadev-mode = ATA_PIO;
@@ -200,6 +202,7 @@
 case 0x25a38086:/* Intel 6300ESB SATA150 */
 case 0x25b08086:/* Intel 6300ESB SATA150 RAID */
 case 0x26518086:   /* Intel ICH6 SATA150 */
+case 0x27c08086:   /* Intel ICH7 SATA */
if (!panicstr)
udmamode = 5;
break;
@@ -228,6 +231,60 @@
 #endif
 switch (chiptype) {
 
+   case 0x82111283: /* ITE 8211F */
+   case 0x82121283: /* ITE 8212F */
+
+   if(udmamode == 2)
+   mode = ATA_UDMA2;
+   else
+   mode = ATA_UDMA5;
+   
+   /* set the mode on the device */
+   error = ata_command(atadev, ATA_C_SETFEATURES, 0,
+   mode, ATA_C_F_SETXFER,ATA_WAIT_READY);
+
+   if(bootverbose)
+   ata_prtdev(atadev, %s setting %s on ITE8212F chip\n,
+   (error) ? failed : success, 
ata_mode2str(mode));
+   
+   /* if the device accepted the mode change, setup HW accordingly */
+   if(!error) {
+   if(mode = ATA_UDMA) {
+   u_int8_t udmatiming[] =
+   { 0x44, 0x42, 0x31, 0x21, 0x11, 0xa2, 0x91 };
+
+   /* enable UDMA mode */
+   pci_write_config(parent, 0x50, 
+   pci_read_config(parent, 0x50, 1) 
+   ~(1  (devno + 3)), 1);
+   /* set UDMA timing */
+   pci_write_config(parent,
+   0x56 + (channel  2) + ATA_DEV(atadev-unit),
+   udmatiming[mode  ATA_MODE_MASK], 1);
+
+   ata_dmacreate(atadev, apiomode, mode);
+   return ;
+   }
+   else {
+   u_int8_t chtiming[] =
+   { 0xaa, 0xa3, 0xa1, 0x33, 0x31, 0x88, 

Re: Nessus no longer open source

2005-10-13 Thread Dinesh Nair


On 10/12/05 01:00 Ted Mittelstaedt said the following:

The authors, of course.

Stand the problem on it's head.  Where are the Nessus people going to
find customers for Nessus 3?  From Nessus 2 users.  If they let the
Nessus 2 codebase go to pot then people will stop using it, and they lose
a valuable source of sales leads.


let's hope they think this way. at the same time, this may also be a call 
for new blood to assist in the continuation of nessus 2.


--
Regards,   /\_/\   All dogs go to heaven.
[EMAIL PROTECTED](0 0)http://www.alphaque.com/
+==oOO--(_)--OOo==+
| for a in past present future; do|
|   for b in clients employers associates relatives neighbours pets; do   |
|   echo The opinions here in no way reflect the opinions of my $a $b.  |
| done; done  |
+=+
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problem installing MySQL server 4.1.14

2005-10-13 Thread Dinesh Nair



On 10/13/05 23:46 Matt Singerman said the following:

I am trying to install MySQL server 4.1 on a FreeBSD 5.2.1-RELEASE machine,
but am getting an error when attempting to do so:


sounds like it's not finding the threads library, either the native threads 
or linuxthreads. linuxthreads is a port in devel/linuxthreads. you'd need 
to give -DWITH_LINUXTHREADS to the mysql make if you're using linuxthreads.


(in a test i did on freebsd 4.3 a long, long time ago, mysql 3.x with 
linuxthreads outperformed the native pthreads by a very big margin. i had a 
blog post with my performance results, but have since lost it)


--
Regards,   /\_/\   All dogs go to heaven.
[EMAIL PROTECTED](0 0)http://www.alphaque.com/
+==oOO--(_)--OOo==+
| for a in past present future; do|
|   for b in clients employers associates relatives neighbours pets; do   |
|   echo The opinions here in no way reflect the opinions of my $a $b.  |
| done; done  |
+=+
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Broadcom NetXtreme BCM5751M Gigabit Ethernet PCI Express and FreeBSD 4.10

2005-10-12 Thread Dinesh Nair


has anyone got the above gigabit ethernet working with freebsd 4.10 ?

patching sys/dev/bge/if_bge.c and sys/dev/bge/if_bgereg.h with the device 
and vendor IDs in the proper places doesnt seem to work, though the entries 
exist in the same files in the 4.11 sources. a mailing list search shows it 
working fine on the ibm t43 notebooks but on freebsd 5.4 instead. however, 
as mentioned above, RELENG_4 sources contain the device id for the 
BCM5751M, so i'd assume it'd work there too.


there seems to be no special handling of this device in the code, so 
getting it to work on 4.10 (as opposed to 4.11R) would be as simple as 
adding in the same device ids. or so i thought.


pciconf -l -v yields

[EMAIL PROTECTED]:0:0: class=0x02 card=0x0944103c chip=0x167d14e4 rev=0x11 
hdr=0x0

vendor = 'Broadcom Corporation'
class = network
subclass = ethernet

and a kldload if_bge returns (after patching in device id):

bge0: Broadcom BCM5715M Gigabit Ethernet, ASIC rev. 0x4101 mem 
0xc800-0xc800 irq 10 at device 0.0 on pci16

bge0: firmware handshake timed out
bge0: RX CPU self-diagnostics failed!
bge0: chip initialization failed
device_probe_and_attach: bge0 returned 6

the notebook is a HP nc6230.

--
Regards,   /\_/\   All dogs go to heaven.
[EMAIL PROTECTED](0 0)http://www.alphaque.com/
+==oOO--(_)--OOo==+
| for a in past present future; do|
|   for b in clients employers associates relatives neighbours pets; do   |
|   echo The opinions here in no way reflect the opinions of my $a $b.  |
| done; done  |
+=+
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Nessus no longer open source

2005-10-11 Thread Dinesh Nair


On 10/07/05 00:04 Gayn Winters said the following:

vulnerable, since under the GPL the AUTHOR of the code is not bound by
the same restrictions that the users are.  I'm not a lawyer, but as I


i believe that all licenses allow this, as the author/copyright holder of 
the code can license it out in any manner of single, dual, triple, 
quadraple licenses he wants.


--
Regards,   /\_/\   All dogs go to heaven.
[EMAIL PROTECTED](0 0)http://www.alphaque.com/
+==oOO--(_)--OOo==+
| for a in past present future; do|
|   for b in clients employers associates relatives neighbours pets; do   |
|   echo The opinions here in no way reflect the opinions of my $a $b.  |
| done; done  |
+=+
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Nessus no longer open source

2005-10-11 Thread Dinesh Nair


On 10/07/05 03:57 Ted Mittelstaedt said the following:

would have been prevented from using it.  Almost certainly the research
in the
vulnerabilities that go into Nessus 3 will trickle into Nessus 2
eventually.  So


however given that the nessus author(s) said that one main reason was the 
lack of contributions from the community, who is going to maintain the 
nessus 2 codebase and plugins ?


--
Regards,   /\_/\   All dogs go to heaven.
[EMAIL PROTECTED](0 0)http://www.alphaque.com/
+==oOO--(_)--OOo==+
| for a in past present future; do|
|   for b in clients employers associates relatives neighbours pets; do   |
|   echo The opinions here in no way reflect the opinions of my $a $b.  |
| done; done  |
+=+
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: very lightweight samba installation needed ... help ?

2005-10-11 Thread Dinesh Nair



On 10/10/05 22:34 Kirk Strauser said the following:

On Sunday 09 October 2005 21:51, user wrote:

However, I now see that make package does not actually create a full
package with all the necessary dependencies


Correct.  It only builds the one package.  Also, consider 


the OP may also want to use the target package-recursive, which builds the 
dependencies as well.


--
Regards,   /\_/\   All dogs go to heaven.
[EMAIL PROTECTED](0 0)http://www.alphaque.com/
+==oOO--(_)--OOo==+
| for a in past present future; do|
|   for b in clients employers associates relatives neighbours pets; do   |
|   echo The opinions here in no way reflect the opinions of my $a $b.  |
| done; done  |
+=+
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Which MySQL version best to use and with/without linux threads?

2005-10-03 Thread Dinesh Nair

On 10/01/05 00:08 Andrew P. said the following:

linuxthreads were only important on FreeBSD 4.x.
Starting with 5.x we have a more efficient threading
model. Extensive testing did not reveal any significant


is this definitive, i.e. that on 5.x linuxthreads are worse off than native 
freebsd threads ? i'm not trying to be a troll, but over on the asterisk 
mailing lists, we're in the midst of discussing if /usr/ports/net/asterisk 
should be using linuxthreads or pthreads by default. on 4.x (which i'm 
still on), linuxthreads has oodles better performance than native pthreads, 
but i havent really done any testing on 5.x or 6.x.


any advice here would be much appreciated.

--
Regards,   /\_/\   All dogs go to heaven.
[EMAIL PROTECTED](0 0)http://www.alphaque.com/
+==oOO--(_)--OOo==+
| for a in past present future; do|
|   for b in clients employers associates relatives neighbours pets; do   |
|   echo The opinions here in no way reflect the opinions of my $a $b.  |
| done; done  |
+=+
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Porting M0n0wall WebGUI to freebsd 5.4 Stable

2005-06-19 Thread Dinesh Nair



On 06/20/05 11:02 RdBSD said the following:

I've been tested monowall and it's captive portal. That's nice but
missing some feature that i need. Than i've download rootfs from m0n0
to porting webgui into freebsd box. But i have some errors :


you may want to start with m0n0wall 1.2b8 which is freebsd 5.x based. 1.2b9 
reverted back to freebsd 4.x though.


--
Regards,   /\_/\   All dogs go to heaven.
[EMAIL PROTECTED](0 0)http://www.alphaque.com/
+==oOO--(_)--OOo==+
| for a in past present future; do|
|   for b in clients employers associates relatives neighbours pets; do   |
|   echo The opinions here in no way reflect the opinions of my $a $b.  |
| done; done  |
+=+
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: enable acpi

2005-03-29 Thread Dinesh Nair

On 03/13/05 03:17 koen de wijs said the following:
Hello
Could anyone tell me how to enable acpi with FreeBSD 5.3?
I read on the FreeBSD that acpi isn't enabled in some cases. When I 
shutted down with FreeBSD 5.2.1, the power of my pc automaticaly goes 
down and with 5.3 not. How  do I enable acpi?
acpi related, but on freebsd 4.11 (cvsupped and built on 24 march).
i've compiled with device acpica in the kernel, but i get sporadic page 
faults as attached.

i do know that acpica is experimental and that LINT does warn of kernel 
panics and machine hangs. however i was wondering if anyone has got this 
working succesfully on any machine.

the box in question is a Benq Joybook 6000 with the following dmesg segment:
Mar 29 17:50:44 prophet /kernel: Copyright (c) 1992-2005 The FreeBSD Project.
Mar 29 17:50:44 prophet /kernel: Copyright (c) 1979, 1980, 1983, 1986, 
1988, 1989, 1991, 1992, 1993, 1994
Mar 29 17:50:44 prophet /kernel: The Regents of the University of 
California. All rights reserved.
Mar 29 17:50:44 prophet /kernel: FreeBSD 4.11-STABLE #3: Tue Mar 29 
17:40:52 MYT 2005
Mar 29 17:50:44 prophet /kernel: 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/ALPHAQUE
Mar 29 17:50:44 prophet /kernel: Timecounter i8254  frequency 1193182 Hz
Mar 29 17:50:44 prophet /kernel: Timecounter TSC  frequency 1395479702 Hz
Mar 29 17:50:44 prophet /kernel: CPU: Intel(R) Pentium(R) M processor 
1400MHz (1395.48-MHz 686-class CPU)
Mar 29 17:50:44 prophet /kernel: Origin = GenuineIntel  Id = 0x695 
Stepping = 5
Mar 29 17:50:44 prophet /kernel: 
Features=0xa7e9f9bfFPU,VME,DE,PSE,TSC,MSR,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,TM,PBE
Mar 29 17:50:44 prophet /kernel: real memory  = 234815488 (229312K bytes)
Mar 29 17:50:44 prophet /kernel: avail memory = 223420416 (218184K bytes)
Mar 29 17:50:44 prophet /kernel: Preloaded elf kernel kernel at 0xc04a4000.
Mar 29 17:50:44 prophet /kernel: netsmb_dev: loaded
Mar 29 17:50:44 prophet /kernel: Pentium Pro MTRR support enabled
Mar 29 17:50:44 prophet /kernel: md0: Malloc disk
Mar 29 17:50:44 prophet /kernel: Using $PIR table, 6 entries at 0xc00fe840
Mar 29 17:50:44 prophet /kernel: acpi0: INSYDE RSDT_000 on motherboard
Mar 29 17:50:44 prophet /kernel: acpi0: power button is handled as a fixed 
feature programming model.
Mar 29 17:50:44 prophet /kernel: Timecounter ACPI-fast  frequency 3579545 Hz
Mar 29 17:50:44 prophet /kernel: acpi_timer0: 24-bit timer at 3.579545MHz 
port 0x1008-0x100b on acpi0
Mar 29 17:50:44 prophet /kernel: acpi_cpu0: CPU on acpi0
Mar 29 17:50:44 prophet /kernel: acpi_tz0: thermal zone on acpi0
Mar 29 17:50:44 prophet /kernel: acpi_button0: Sleep Button on acpi0
Mar 29 17:50:44 prophet /kernel: acpi_lid0: Control Method Lid Switch on 
acpi0
Mar 29 17:50:44 prophet /kernel: acpi_button1: Power Button on acpi0
Mar 29 17:50:44 prophet /kernel: acpi_acad0: AC adapter on acpi0
Mar 29 17:50:44 prophet /kernel: acpi_cmbat0: Control method Battery on acpi0
Mar 29 17:50:44 prophet /kernel: acpi_cmbat1: Control method Battery on acpi0
Mar 29 17:50:44 prophet /kernel: acpi_ec0: embedded controller port 
0x66,0x62 on acpi0

and the following acpi sysctls:
hw.acpi.supported_sleep_state: S3 S4 S5
hw.acpi.power_button_state: S5
hw.acpi.sleep_button_state: S1
hw.acpi.lid_switch_state: S1
hw.acpi.standby_state: S1
hw.acpi.suspend_state: S3
hw.acpi.sleep_delay: 0
hw.acpi.s4bios: 1
hw.acpi.verbose: 0
hw.acpi.disable_on_poweroff: 1
hw.acpi.cpu.max_speed: 8
hw.acpi.cpu.current_speed: 8
hw.acpi.cpu.performance_speed: 8
hw.acpi.cpu.economy_speed: 4
hw.acpi.thermal.min_runtime: 0
hw.acpi.thermal.polling_rate: 30
hw.acpi.thermal.tz0.temperature: 3152
hw.acpi.thermal.tz0.active: 1
hw.acpi.thermal.tz0.thermal_flags: 0
hw.acpi.thermal.tz0._PSV: 3762
hw.acpi.thermal.tz0._HOT: -1
hw.acpi.thermal.tz0._CRT: 3762
hw.acpi.thermal.tz0._ACx: 3760 3130 -1 -1 -1 -1 -1 -1 -1 -1
hw.acpi.acline: 1
hw.acpi.battery.life: -1
hw.acpi.battery.time: -1
hw.acpi.battery.state: 7
hw.acpi.battery.units: 2
hw.acpi.battery.info_expire: 5
any pointers would be much appreciated.
--
Regards,   /\_/\   All dogs go to heaven.
[EMAIL PROTECTED](0 0)http://www.alphaque.com/
+==oOO--(_)--OOo==+
| for a in past present future; do|
|   for b in clients employers associates relatives neighbours pets; do   |
|   echo The opinions here in no way reflect the opinions of my $a $b.  |
| done; done  |
+=+
Mar 29 17:55:10 prophet /kernel.working: kernel trap 12 with interrupts disabled
Mar 29 17:55:10 prophet /kernel.working: 
Mar 29 17:55:10 prophet /kernel.working: 
Mar 29 17:55:10 prophet /kernel.working: Fatal trap 12: page fault while in 
kernel mode
Mar 29 17:55:10 prophet /kernel.working: fault virtual address  = 0x70
Mar 29 17:55:10 

Re: Minimal system installation

2004-12-28 Thread Dinesh Nair
On 28/12/2004 05:08 Greg 'groggy' Lehey said the following:
On Monday, 27 December 2004 at 13:21:51 -0600, Dan Thomas wrote:
A friend gave me a laptop with a Pentium 100 and 24 megs of ram.  It
only has a floppy drive.  What version of FreeBSD do you recommend
and would you send me the link to download it.

It's possible to run FreeBSD on a machine like that (in fact, I intend
to start doing so on a very similar machine today), but only as a
diskless workstation.  FreeBSD needs a disk *somewhere*.  If this is
all you have, you can't run FreeBSD on it.
but you should be able to run PicoBSD on it. ;)
--
Regards,   /\_/\   All dogs go to heaven.
[EMAIL PROTECTED](0 0)http://www.alphaque.com/
+==oOO--(_)--OOo==+
| for a in past present future; do|
|   for b in clients employers associates relatives neighbours pets; do   |
|   echo The opinions here in no way reflect the opinions of my $a $b.  |
| done; done  |
+=+
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: DHCP and the SIMPLE option in /etc/rc.firewall

2004-07-30 Thread Dinesh Nair

On Fri, 30 Jul 2004, James A. Coulter wrote:

 Without a static IP address for my outside interface, how do I set these
 options?

you could

1. use 'me' (without quotes) to represent the ip address in rc.firewall

OR

2. hack up an /etc/dhclient-exit-hooks which grabs the new ip address and
   reruns rc.firewall with this new address

Regards,   /\_/\   All dogs go to heaven.
[EMAIL PROTECTED](0 0)http://www.alphaque.com/
+==oOO--(_)--OOo==+
| for a in past present future; do|
|   for b in clients employers associates relatives neighbours pets; do   |
|   echo The opinions here in no way reflect the opinions of my $a $b.  |
| done; done  |
+=+

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


Re: changing card in a reader (revisited)

2004-07-20 Thread Dinesh Nair

On Mon, 19 Jul 2004 [EMAIL PROTECTED] wrote:

 I had tried camcontrol rescan 0:0:2 without success and I just tried
 camcontrol rescan all without success.

on a particular Apacer multi-card reader, i needed to run camcontrol
rescan on all devices off that one bus, (0:0:1, 0:0:2, 0:0:3 et al) to
reset the reader when a new CF card was inserted. 'camcontrol rescan all'
didn't seem to do it then either. perhaps you could try this.

Regards,   /\_/\   All dogs go to heaven.
[EMAIL PROTECTED](0 0)http://www.alphaque.com/
+==oOO--(_)--OOo==+
| for a in past present future; do|
|   for b in clients employers associates relatives neighbours pets; do   |
|   echo The opinions here in no way reflect the opinions of my $a $b.  |
| done; done  |
+=+

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


Re: changing card in a reader (revisited)

2004-07-20 Thread Dinesh Nair

On Tue, 20 Jul 2004 [EMAIL PROTECTED] wrote:

 remove 8MB SM card and insert 128MB card

 hp# camcontrol rescan 0:0:0
 Re-scan of 0:0:0 was successful
 hp# camcontrol rescan 0:0:1
 Re-scan of 0:0:1 was successful
 hp# camcontrol rescan 0:0:2
 Re-scan of 0:0:2 was successful
 hp# camcontrol rescan 0:0:3
 Re-scan of 0:0:3 was successful
 hp# mount_msdosfs /dev/da2s1 /mnt/olympus
 mount_msdosfs: /dev/da2s1: Invalid argument

what does '/sbin/fdisk da2' say ?

Regards,   /\_/\   All dogs go to heaven.
[EMAIL PROTECTED](0 0)http://www.alphaque.com/
+==oOO--(_)--OOo==+
| for a in past present future; do|
|   for b in clients employers associates relatives neighbours pets; do   |
|   echo The opinions here in no way reflect the opinions of my $a $b.  |
| done; done  |
+=+

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


Re: miibus.ko if_aue.ko crash

2004-07-16 Thread Dinesh Nair

On Fri, 16 Jul 2004, Tomoki Taniguchi wrote:

 SNIP
 aue0: flags=8802(BROADCAST,SIMPLEX,MULTICAST) mtu 1500
tunnel inet  --
ether XX:XX:XX:XX:XX:XX
media: Ethernet autoselect (100baseTX full-duplex)
status: active
vlan: 0 parent interface: none
ssid 
stationname 
channel 0 authmode NONE powersavemode OFF
wepmode OFF weptxkey 1
 /SNIP

 Then at this point if I run dhclient aue0, the system crashes giving
 me the same errors as when I boot the system with the usb ethernet
 plugged in.

i see a similar response from ifconfig when using an ADMTEK AN986 USB
Ethernet device with HomePNA. i've submitted patch if_aue.c at
http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/61300 but it works only on
4.9-RELEASE. with 4.10-RELEASE (and thus -STABLE), that patch won't work
anymore. if anyone wants the updated patch for 4.10 and STABLE, let me
know.

nevertheless, to get back to the point, the device in both HomePNA media
and Ethernet media works fine without crashing, though ifconfig produces
the same output you see.

Regards,   /\_/\   All dogs go to heaven.
[EMAIL PROTECTED](0 0)http://www.alphaque.com/
+==oOO--(_)--OOo==+
| for a in past present future; do|
|   for b in clients employers associates relatives neighbours pets; do   |
|   echo The opinions here in no way reflect the opinions of my $a $b.  |
| done; done  |
+=+

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


Re: Do I really need to rebuilding *everything*

2004-03-21 Thread Dinesh Nair

On Sun, 21 Mar 2004, Mark wrote:

 file /usr/local/sbin/httpd
 /usr/local/sbin/httpd: ELF 32-bit LSB executable, Intel 80386, version 1
 (FreeBSD), dynamically linked (uses shared libs), not stripped

you could use ldd /usr/local/sbin/httpd to find out what it was
dynamically linked against.

Regards,   /\_/\   All dogs go to heaven.
[EMAIL PROTECTED](0 0)http://www.alphaque.com/
+==oOO--(_)--OOo==+
| for a in past present future; do|
|   for b in clients employers associates relatives neighbours pets; do   |
|   echo The opinions here in no way reflect the opinions of my $a $b.  |
| done; done  |
+=+

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


Re: passwd

2004-03-21 Thread Dinesh Nair

On Sun, 21 Mar 2004, Elvedin wrote:

 That resolved it, thank you very much. I really have no clue why this
 came up since I haven't changed any permissions at all in /usr/bin or
 anything passwd related before this. If only my setuid logs were set to
 keep logs from the beginning instead of for today and yesterday...

check the date on /usr/bin/passwd to see if it is consistent with the
other binaries in /usr/bin and /usr/sbin.

Regards,   /\_/\   All dogs go to heaven.
[EMAIL PROTECTED](0 0)http://www.alphaque.com/
+==oOO--(_)--OOo==+
| for a in past present future; do|
|   for b in clients employers associates relatives neighbours pets; do   |
|   echo The opinions here in no way reflect the opinions of my $a $b.  |
| done; done  |
+=+

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


Re: passwd

2004-03-21 Thread Dinesh Nair

On Sun, 21 Mar 2004, Elvedin wrote:

 I've search and came up with nothing really but some things I've tried
 is adding the users to the wheel group, remaking the pwd database file
 and even setting pwd.db to 777 and still permission was denied.

what are the permissions on /usr/bin/passwd ? if they're other than
-r-sr-xr-x  and owned by root:wheel, i'd be a little disturbed at what
changed it from that.

Regards,   /\_/\   All dogs go to heaven.
[EMAIL PROTECTED](0 0)http://www.alphaque.com/
+==oOO--(_)--OOo==+
| for a in past present future; do|
|   for b in clients employers associates relatives neighbours pets; do   |
|   echo The opinions here in no way reflect the opinions of my $a $b.  |
| done; done  |
+=+

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


Re: open office install fails after two days of installing

2004-01-27 Thread Dinesh Nair

On Sun, 25 Jan 2004, chip wrote:

 Okay, I downloaded and installed the .tbz file, moved it to /usr/local
 and ran pkg_add. It finished, and the instructions on the screen say to
 just run openoffice on the command line and answer a few questions. When
 I run the command I get command not found, as user and as root. What did
 I do wrong? -- Chip

hehehe, the docs are a little erred there. you should be running
/usr/local/OpenOffice.org1.1.0/program/soffice instead.

Regards,   /\_/\   All dogs go to heaven.
[EMAIL PROTECTED](0 0)http://www.alphaque.com/
+==oOO--(_)--OOo==+
| for a in past present future; do|
|   for b in clients employers associates relatives neighbours pets; do   |
|   echo The opinions here in no way reflect the opinions of my $a $b.  |
| done; done  |
+=+

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


Re: Total amount of memory in my system?

2004-01-27 Thread Dinesh Nair

On Mon, 26 Jan 2004, Paul Hoffman wrote:

 Greetings again. I'm running 4.8 on a remote server. I want to know
 how much RAM is in the server. 'dmesg -a' doesn't tell me because the

you can either look at /var/run/dmesg.boot or check the hw.physmem

Regards,   /\_/\   All dogs go to heaven.
[EMAIL PROTECTED](0 0)http://www.alphaque.com/
+==oOO--(_)--OOo==+
| for a in past present future; do|
|   for b in clients employers associates relatives neighbours pets; do   |
|   echo The opinions here in no way reflect the opinions of my $a $b.  |
| done; done  |
+=+

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


Re: Problem With Configuring Name Servers

2004-01-24 Thread Dinesh Nair

On Sat, 24 Jan 2004, Gerard Seibert wrote:


 Everything, including nslookup, etc works fine until I reboot. Then the
 files are over written. The resolv.conf file then has the following
 entries:

the files are overwritten with values provided by you dhcp server. you can
refuse a subset of those values by specifiying directives in
dhclient.conf(5).

Regards,   /\_/\   All dogs go to heaven.
[EMAIL PROTECTED](0 0)http://www.alphaque.com/
+==oOO--(_)--OOo==+
| for a in past present future; do|
|   for b in clients employers associates relatives neighbours pets; do   |
|   echo The opinions here in no way reflect the opinions of my $a $b.  |
| done; done  |
+=+

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


Re: apm device not configured ?!

2004-01-24 Thread Dinesh Nair

On Sat, 24 Jan 2004, Julian Holley wrote:

 Hi all - I'm still having problems persuading my laptop to work with apm
 - apparently my machine should work on 4.9 - I have re-compiled with apm
 enabled, set rc.conf to enable apm etc, but apmd, apm will not operate
 and gives the message :-

when booting, do you see a message like the one below:
apm0: APM BIOS on motherboard
apm0: found APM BIOS v1.2, connected at v1.2

Regards,   /\_/\   All dogs go to heaven.
[EMAIL PROTECTED](0 0)http://www.alphaque.com/
+==oOO--(_)--OOo==+
| for a in past present future; do|
|   for b in clients employers associates relatives neighbours pets; do   |
|   echo The opinions here in no way reflect the opinions of my $a $b.  |
| done; done  |
+=+

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


RE: sendmail help?

2004-01-23 Thread Dinesh Nair

On Thu, 22 Jan 2004, fbsd_user wrote:

 totally different. I believe the original poster was asking about
 using sendmail to retrieve email from his ISP's smtp server.  And

the OP was asking about _outgoing_ smtp.

Regards,   /\_/\   All dogs go to heaven.
[EMAIL PROTECTED](0 0)http://www.alphaque.com/
+==oOO--(_)--OOo==+
| for a in past present future; do|
|   for b in clients employers associates relatives neighbours pets; do   |
|   echo The opinions here in no way reflect the opinions of my $a $b.  |
| done; done  |
+=+

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


Re: upgrading mysql

2004-01-23 Thread Dinesh Nair

On Thu, 22 Jan 2004, Christer Solskogen wrote:
 I was wondering upgrading the mysql ports to 4.x series. should this be
 okay?

 gallery-1.4.1 ,p5-Mysql-modules-1.2219, php4-4.3.4_5, phpMyAdmin-2.5.4,
 phpSysInfo-2.1 and squirrelmail-1.4.2_1 seems to like mysql-3, and i was
 wondering if these ports will work with mysql4.

it should be alright, as iirc, mysql has not changed it's sql syntax from
3.x to 4.x. in fact, 4.x is now the production release.

 and if this works, how will be the correct way of upgrading the mysql
 packages?

you'd have less problems using portupgrade to upgrade your existing mysql
3.x to 4.x. portupgrade will take care of the dependencies to 3.x from
your existing installed applications correctly. once this is done, then
install your latest app which requires 4.x seamlessly thru ports or or
portinstall.

Regards,   /\_/\   All dogs go to heaven.
[EMAIL PROTECTED](0 0)http://www.alphaque.com/
+==oOO--(_)--OOo==+
| for a in past present future; do|
|   for b in clients employers associates relatives neighbours pets; do   |
|   echo The opinions here in no way reflect the opinions of my $a $b.  |
| done; done  |
+=+

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


Re: How dangerous is 5.2 for production use

2004-01-23 Thread Dinesh Nair

On Fri, 23 Jan 2004, Roberto Pereyra wrote:

 FreeBSD 4.9 can fsck in the background too, look /etc/defaults/rc.conf
 Set in /etc/rc.conf
 fsck_y_enable=YES

all that does is to automatically answer Y whenever fsck asks you a
question. it still doesnt make fsck happen in the background as the boot
process will only continue once fsck finishes.

Regards,   /\_/\   All dogs go to heaven.
[EMAIL PROTECTED](0 0)http://www.alphaque.com/
+==oOO--(_)--OOo==+
| for a in past present future; do|
|   for b in clients employers associates relatives neighbours pets; do   |
|   echo The opinions here in no way reflect the opinions of my $a $b.  |
| done; done  |
+=+

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


Re: totally allocated apache bandwidth in freebsd

2004-01-23 Thread Dinesh Nair

On Fri, 23 Jan 2004, Didier WIROTH wrote:

 How do you handle this throttle limits on Freebsd? Are you using ipfw
 dummynet? (may be you have link with sample rules, I've already read man
 8 ipfw) Perhaps other possibilities?

dummynet pipes it is. there're examples on the man page.

Regards,   /\_/\   All dogs go to heaven.
[EMAIL PROTECTED](0 0)http://www.alphaque.com/
+==oOO--(_)--OOo==+
| for a in past present future; do|
|   for b in clients employers associates relatives neighbours pets; do   |
|   echo The opinions here in no way reflect the opinions of my $a $b.  |
| done; done  |
+=+

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


RE: Formatting Zip Drive Disks

2004-01-22 Thread Dinesh Nair

On Thu, 22 Jan 2004, Gerard Seibert wrote:

 Do you have any suggestions? I have tried mounting in various ways, but
 they all fail. Formatting via /stand/sysinstall has not corrected the
 problem.

have you considered making a filesystem on the zip disk ?

Regards,   /\_/\   All dogs go to heaven.
[EMAIL PROTECTED](0 0)http://www.alphaque.com/
+==oOO--(_)--OOo==+
| for a in past present future; do|
|   for b in clients employers associates relatives neighbours pets; do   |
|   echo The opinions here in no way reflect the opinions of my $a $b.  |
| done; done  |
+=+

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


RE: sendmail help?

2004-01-22 Thread Dinesh Nair

On Thu, 22 Jan 2004, fbsd_user wrote:

 I think you are barking up the wrong tree. I don't think you understand
 how your ISP works. ISP's do not allow direct smtp access to their email
 servers, they consider it an security risk to their environment. Did

are you serious ? i sometimes send mail out, by connecting to my ISP's
smtp servers. i believe this practice is the same worldwide. however, due
to spam and open relays, some isps may filter access to their smtp server
to only allow thier customers. this can be done either thru smtp
authentication or by ip address filtering (which malaysian isps use).

Regards,   /\_/\   All dogs go to heaven.
[EMAIL PROTECTED](0 0)http://www.alphaque.com/
+==oOO--(_)--OOo==+
| for a in past present future; do|
|   for b in clients employers associates relatives neighbours pets; do   |
|   echo The opinions here in no way reflect the opinions of my $a $b.  |
| done; done  |
+=+

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


RE: how to tell if my ISP is blocking email web ports

2004-01-22 Thread Dinesh Nair

On Thu, 22 Jan 2004, fbsd_user wrote:

 port 25 and 80. In both cases he was not able to connect to my IP
 address. This proves that Adelphia cable service is blocking those 2
 ports.

has adelphia given you a public ip address or are you behind a NAT box
(perhaps on the adelphia network itself) ?

Regards,   /\_/\   All dogs go to heaven.
[EMAIL PROTECTED](0 0)http://www.alphaque.com/
+==oOO--(_)--OOo==+
| for a in past present future; do|
|   for b in clients employers associates relatives neighbours pets; do   |
|   echo The opinions here in no way reflect the opinions of my $a $b.  |
| done; done  |
+=+

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


Re: IPFW and Dynamic Rules

2004-01-21 Thread Dinesh Nair

On Wed, 21 Jan 2004, Adam Seniuk wrote:

 I keep getting /kernel: Too many dynamic rules, sorry im my log file
 several times and i am not sure whats going on I have read some articles
 but they are all in 2000 and for FreeBSD 4.0.

from the ipfw(4) man page:

net.inet.ip.fw.dyn_max: 8192
 Maximum number of dynamic rules.  When you hit this limit, no
 more dynamic rules can be installed until old ones expire.

seems like you're hitting this limit with too many keep-state rules in
your ipfw ruleset. try trimming them down a little, by adding in specific
reverse packet flow rules.

for eg,

# allow dns queries out to the world
allow udp from me to any 53 keep-state out

could be split to

# allow dns queries out to the world
allow udp from me to any 53 out
# allow incoming dns responses
allow udp from any 53 to me in

Regards,   /\_/\   All dogs go to heaven.
[EMAIL PROTECTED](0 0)http://www.alphaque.com/
+==oOO--(_)--OOo==+
| for a in past present future; do|
|   for b in clients employers associates relatives neighbours pets; do   |
|   echo The opinions here in no way reflect the opinions of my $a $b.  |
| done; done  |
+=+

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


Re: How to mount a FreeBSD-5.1 partition from FreeBSD-4.9

2004-01-21 Thread Dinesh Nair

On Wed, 21 Jan 2004, Jerry McAllister wrote:

 Just dump(8) it to a tape or other disk, create a new UFS2 file system
 where the UFS2 now lives and then restore(8) the dump.

i'm sure you meant create a new UFS1 file system where the UFS2 now
lives. :)

Regards,   /\_/\   All dogs go to heaven.
[EMAIL PROTECTED](0 0)http://www.alphaque.com/
+==oOO--(_)--OOo==+
| for a in past present future; do|
|   for b in clients employers associates relatives neighbours pets; do   |
|   echo The opinions here in no way reflect the opinions of my $a $b.  |
| done; done  |
+=+

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


Re: how to tell if my ISP is blocking email web ports

2004-01-21 Thread Dinesh Nair

On Wed, 21 Jan 2004, fbsd_user wrote:
 So I need a way to test if the ports are blocked or not using an
 friends PC and my current  IP address.

 What do you recommend?

why not just enable sendmail, apache and pop3 on your home box and telnet
to ports 25, 80 and 110 respectively from your friend's pc to see if it
works ?

Regards,   /\_/\   All dogs go to heaven.
[EMAIL PROTECTED](0 0)http://www.alphaque.com/
+==oOO--(_)--OOo==+
| for a in past present future; do|
|   for b in clients employers associates relatives neighbours pets; do   |
|   echo The opinions here in no way reflect the opinions of my $a $b.  |
| done; done  |
+=+

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


Re: man question

2004-01-21 Thread Dinesh Nair

On Thu, 22 Jan 2004, Didier Wiroth wrote:

 What do I have to do, to be able to use/view those man files, only ME? I
 don't want to modif manpath.config (as this is a global configuration
 file)?

set shell environment variable MANPATH to include your directories.

Regards,   /\_/\   All dogs go to heaven.
[EMAIL PROTECTED](0 0)http://www.alphaque.com/
+==oOO--(_)--OOo==+
| for a in past present future; do|
|   for b in clients employers associates relatives neighbours pets; do   |
|   echo The opinions here in no way reflect the opinions of my $a $b.  |
| done; done  |
+=+

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


Re: wierd errors with USB drive syslog

2004-01-21 Thread Dinesh Nair

On Wed, 21 Jan 2004, Brent Bailey wrote:

 anywho we are seeing alot of udp packets being dropped due to full
 sockets..im worried that im not getting all the logging that i should be
 getting.

 udp:
   38123594 datagrams received
   0 with incomplete header
   0 with bad data length field
   2 with bad checksum
   352023 with no checksum
   319427 dropped due to no socket
   386465 broadcast/multicast datagrams dropped due to no socket
   5775699 dropped due to full socket buffers --THIS CONCERNS ME

during operation, what does 'netstat -m' say ? if you need to increase
number of mbufs or mbuf clusters, look at NMBCLUSTERS and NMBUFS in your
kernel config file. see LINT for the details. the mbuf area is autosized
to (512 + maxusers*16) by default, but you can increase this as above or
by just increasing MAXUSERS.

Regards,   /\_/\   All dogs go to heaven.
[EMAIL PROTECTED](0 0)http://www.alphaque.com/
+==oOO--(_)--OOo==+
| for a in past present future; do|
|   for b in clients employers associates relatives neighbours pets; do   |
|   echo The opinions here in no way reflect the opinions of my $a $b.  |
| done; done  |
+=+

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


Re: Web Editing?

2004-01-20 Thread Dinesh Nair

On Tue, 20 Jan 2004, Greg 'groggy' Lehey wrote:

 That's your call.  A number of us have good reasons, and that's why many
 of us use bollox.

i'm presuming this is an editor of sorts ? :)

Regards,   /\_/\   All dogs go to heaven.
[EMAIL PROTECTED](0 0)http://www.alphaque.com/
+==oOO--(_)--OOo==+
| for a in past present future; do|
|   for b in clients employers associates relatives neighbours pets; do   |
|   echo The opinions here in no way reflect the opinions of my $a $b.  |
| done; done  |
+=+

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


Re: no more wireless

2004-01-20 Thread Dinesh Nair

On Tue, 20 Jan 2004, Kenzo wrote:

 No the card doesn't appear in dmesg. I tried other wireless cards and an
 old pcmcia modem and nothing. I just get the prompt card inserted
 card removed. that's it. Could my laptop be going bad? If so, how come
 it works on the windows side. the same card works perfectly on windows.

insert the following line into /etc/rc.conf and reboot for a permanent
solution

pccard_enable=YES

or run '/usr/sbin/pccardd -z -f /etc/defaults/pccard.conf' for immediate
gratification.

Regards,   /\_/\   All dogs go to heaven.
[EMAIL PROTECTED](0 0)http://www.alphaque.com/
+==oOO--(_)--OOo==+
| for a in past present future; do|
|   for b in clients employers associates relatives neighbours pets; do   |
|   echo The opinions here in no way reflect the opinions of my $a $b.  |
| done; done  |
+=+

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


Re: no more wireless

2004-01-20 Thread Dinesh Nair

On Tue, 20 Jan 2004, Kenzo wrote:

 My Pcmcia wireless card used to work on my laptop, now it doesn't. I
 can't think of what I might of done to make that happen. The card is a
 Cisco Aironet 350. I'm running FBSD4.9. My kernel is confiured with the
 an option, but nothing happens when I take the card in and out. I even
 recompiled it with the generic one and it still doesn't come on.

are you running pccardd ?

Regards,   /\_/\   All dogs go to heaven.
[EMAIL PROTECTED](0 0)http://www.alphaque.com/
+==oOO--(_)--OOo==+
| for a in past present future; do|
|   for b in clients employers associates relatives neighbours pets; do   |
|   echo The opinions here in no way reflect the opinions of my $a $b.  |
| done; done  |
+=+

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


Re: arp problem in /var/log/messages

2004-01-20 Thread Dinesh Nair

On Tue, 20 Jan 2004, Mark wrote:

 But what causes them ? I get them too.

most likely two machines on your LAN who're using the same IP address.
note that some implementations of redundancy will do the same. track the
machine with the two ethernet addresses.

Regards,   /\_/\   All dogs go to heaven.
[EMAIL PROTECTED](0 0)http://www.alphaque.com/
+==oOO--(_)--OOo==+
| for a in past present future; do|
|   for b in clients employers associates relatives neighbours pets; do   |
|   echo The opinions here in no way reflect the opinions of my $a $b.  |
| done; done  |
+=+

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


Re: Loading balancing with more than one ISP.

2004-01-18 Thread Dinesh Nair

On Sun, 18 Jan 2004, Chris Knipe wrote:

 I have a service set up, some.host IN A A.A.A.x (i.e. in network A and
 gateway A).  Now, the moment some one from network B connects to the
 service I've setup on network A, the FreeBSD Box will route the reply
 packets out on network B (because of the client's address) and hence, it
 follows a invalid networ path and the connection fails.  The same will
 also happen when someone from Network A tries to connect to a IP on
 Network B ex:

don't understand this, it should work. what you're describing seems to be
a dual homed freebsd set up as a simple gateway between two networks.

 If I can manage to solve this, then I'll be a *VERY* happy chappy.  But

try applying the multipath patches to freebsd. that should give you the
ability to route a same network to two different gateways.

Regards,   /\_/\   All dogs go to heaven.
[EMAIL PROTECTED](0 0)http://www.alphaque.com/
+==oOO--(_)--OOo==+
| for a in past present future; do|
|   for b in clients employers associates relatives neighbours pets; do   |
|   echo The opinions here in no way reflect the opinions of my $a $b.  |
| done; done  |
+=+

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


Re: Success with Symantec Ghost 7

2004-01-18 Thread Dinesh Nair

On Sun, 18 Jan 2004, Gilad Rom wrote:

 I'm using dd if=/dev/ad0 of=/dev/ad2 bs=16k for my disks (2x20GB, EIDE,
 UDMA100), and it takes roughly 28 minutes.

i've used dd to ghost two 36GB scsi hard disks on two separate controllers
in about 18 minutes. i used 1024k as my block size. using 10240K as block
size slowed it down somewhat, coming in at about 30 minutes.

Regards,   /\_/\   All dogs go to heaven.
[EMAIL PROTECTED](0 0)http://www.alphaque.com/
+==oOO--(_)--OOo==+
| for a in past present future; do|
|   for b in clients employers associates relatives neighbours pets; do   |
|   echo The opinions here in no way reflect the opinions of my $a $b.  |
| done; done  |
+=+

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


Re: Loading balancing with more than one ISP.

2004-01-17 Thread Dinesh Nair

On Wed, 14 Jan 2004, Antoine Jacoutot wrote:

 I have one ethernet -- router and one ethernet -- dsl modem
 connections to connect to my ISPs. As you said, you're not sure about
 routed... Actually, I did not find anyone who actually make this

i've got exactly the same setup as you do, and am trying to do this as
well. short end of the stick is, the only way to do proper best path
routing is by using BGP and having your ISPs (both of them) play ball and
advertise BGP routes to you. without this, you'd never be able to do it
yourself.

as previously stated, FreeBSD does not support multipath routing by
default, though there is a patch which adds this functionality into the
kernel. i have not tried this patch at all, so i won't comment on it.

what i do today is i set the default route to the ISP i am more convinced
off, with static routes of certain large CIDR address blocks going out to
the other ISP. i decided on those large blocks after checking the global
route tables, AS PATH diagrams and experience of link quality. you can do
this by using tools such as the Looking Glass servers, RouteViews.Org and
even Netlantis.org for your situation. i'm not running routed,
zebra/bgpd/ospfd on this at all, since it's all static routes and i can't
find an ISP ospf/bgp router willing to exchange routes with me.

i've tried exploring round robin routing using ipfw's fwd rulesets, but
this does not change the src address of the packet, and sending a packet
with the wrong src address down the wire can be detrimental to the
packet's wellbeing. :)

i'd be very interested though if someone else had succeeded in doing this.

Regards,   /\_/\   All dogs go to heaven.
[EMAIL PROTECTED](0 0)http://www.alphaque.com/
+==oOO--(_)--OOo==+
| for a in past present future; do|
|   for b in clients employers associates relatives neighbours pets; do   |
|   echo The opinions here in no way reflect the opinions of my $a $b.  |
| done; done  |
+=+

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


Re: Loading balancing with more than one ISP.

2004-01-17 Thread Dinesh Nair

On Wed, 14 Jan 2004, Antoine Jacoutot wrote:

 What I'm hoping to do is find a way to route all paquets coming:
 - from DMZ to internet, using NET connexion1
 - from LAN to internet, using NET connection2

 To be more understandable, something like this:
 route add from DMZ defaut em0
 route add from LAN defaut em1

you can do this with IPFW's fwd rulesets.

ipfw add fwd netconnexion1_gw ip from DMZ/netmask to any
ipfw add fwd netconnexion2_gw ip from LAN/netmask to any

this sets the next hop address for a packet, based on it's incoming
address space.

Regards,   /\_/\   All dogs go to heaven.
[EMAIL PROTECTED](0 0)http://www.alphaque.com/
+==oOO--(_)--OOo==+
| for a in past present future; do|
|   for b in clients employers associates relatives neighbours pets; do   |
|   echo The opinions here in no way reflect the opinions of my $a $b.  |
| done; done  |
+=+

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


Re: cabling problem?

2004-01-17 Thread Dinesh Nair

On Wed, 14 Jan 2004, Marwan Sultan wrote:

  Why the network cable from Modem router to box directly doesnot
  work in the time from Modem router to HUB and from HUB  to BSD
  box works fine?

you need a cross cable to connect the modem router directly to the freebsd
box.

it's a standard CAT5 cable with the following pin outs:

1 -- 2
2 -- 1
3 -- 6
6 -- 3

Regards,   /\_/\   All dogs go to heaven.
[EMAIL PROTECTED](0 0)http://www.alphaque.com/
+==oOO--(_)--OOo==+
| for a in past present future; do|
|   for b in clients employers associates relatives neighbours pets; do   |
|   echo The opinions here in no way reflect the opinions of my $a $b.  |
| done; done  |
+=+

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


Re: acroread and xpdf problems

2004-01-17 Thread Dinesh Nair

On Thu, 15 Jan 2004, Andrew L. Gould wrote:

 On Thursday 15 January 2004 04:23 pm, Jonathan Chen wrote:
  On Thu, Jan 15, 2004 at 04:15:35PM -0600, Andrew L. Gould wrote:
   On Thursday 15 January 2004 04:12 pm, Matthew Seaman wrote:
On Thu, Jan 15, 2004 at 03:39:08PM -0600, Andrew L. Gould wrote:
 If I'm trying to open the pdf file as a normal user, I get the
 following message:

 There was an error opening this document. A temporary file could not
 be opened.

 If I run acroread or xpdf as root, I can open the files fine.

 Any ideas?
   
Check the permissions on /tmp -- should be mode 1777.
   
Cheers,
   
Matthew
  
   The permissions for /tmp are 1777 owned by root:wheel.
 
  What about /var/tmp?

 The same: 1777 owned by root:wheel.

try running truss(1) on xpdf or acroread to check where exactly it's
failing with write perms.

Regards,   /\_/\   All dogs go to heaven.
[EMAIL PROTECTED](0 0)http://www.alphaque.com/
+==oOO--(_)--OOo==+
| for a in past present future; do|
|   for b in clients employers associates relatives neighbours pets; do   |
|   echo The opinions here in no way reflect the opinions of my $a $b.  |
| done; done  |
+=+

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


Re: Problems with FreeBSD 4.8 on Compaq Armada M700 laptop

2004-01-17 Thread Dinesh Nair

On Wed, 14 Jan 2004, John wrote:

 I get
 Jan 11 18:09:55 pearl /kernel: ata0-slave: ATA identify retries exceeded

 I've looked at the sys/dev/ata/ata-all.c code - I wonder if I should
 just arbitarily raise the retry count a bit - what's everyone else

ok, i don't know if this is documented anywhere, but i've never managed to
get freebsd to boot off a slave cdrom. i've always had to jumper the ide
devices to put the cdrom on as the master device on that particular bus.

Regards,   /\_/\   All dogs go to heaven.
[EMAIL PROTECTED](0 0)http://www.alphaque.com/
+==oOO--(_)--OOo==+
| for a in past present future; do|
|   for b in clients employers associates relatives neighbours pets; do   |
|   echo The opinions here in no way reflect the opinions of my $a $b.  |
| done; done  |
+=+

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


Re: Trouble getting network card to work

2004-01-13 Thread Dinesh Nair

On Sat, 10 Jan 2004, Jared Cheney wrote:

 The card is called pcn0 in FreeBSD, and it says that it is sharing IRQ
 10. Running tcpdump for any length of time also shows that 0 packets
 were received by the filter.

from the pcn(4) man page:

pcn%d: chip is in D3 power state -- setting to D0 This message applies
only to adapters which support power management.  Some operating systems
place the controller in low power mode when shutting down, and some PCI
BIOSes fail to bring the chip out of this state before configuring it. The
controller loses all of its PCI configuration in the D3 state, so if the
BIOS does not set it back to full power mode in time, it will not be able
to configure it correctly.  The driver tries to detect this condi- tion
and bring the adapter back to the D0 (full power) state, but this may not
be enough to return the driver to a fully operational condition. If you
see this message at boot time and the driver fails to attach the device as
a network interface, you will have to perform a warm boot to have the
device properly configured.

could this be your problem then ?

Regards,   /\_/\   All dogs go to heaven.
[EMAIL PROTECTED](0 0)http://www.alphaque.com/
+==oOO--(_)--OOo==+
| for a in past present future; do|
|   for b in clients employers associates relatives neighbours pets; do   |
|   echo The opinions here in no way reflect the opinions of my $a $b.  |
| done; done  |
+=+

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


Re: Problems with FreeBSD 4.8 on Compaq Armada M700 laptop

2004-01-13 Thread Dinesh Nair

On Mon, 12 Jan 2004, John wrote:

 Despite the fact that the laptop compatibility base has an entry for this
 machine that looks good for FreeBSD 5.0, I'm not having the best luck
 that one might hope.

i've got an Armada M300, which shares a lot of the same underlying
hardware as the M700 and have run FreeBSD on it since 4.4R. i'm now on
4.9R with all devices (sound, external cdrom and floppy, screen at 32bit
depth) working fine and dandy.

 Jan 11 17:56:56 pearl /kernel: acd0: CDROM Compaq CRN-8241B at ata0-slave PIO
but I just get device not configured when I boot the GENERIC kernel
that was installed.  /dev/acd0 does appear in the device directory,
and I ran MAKEDEV on it, just to make double sure.

what kernel config file are you using ?

 2) APM also says device not configured.  Don't know if this works
with the MFS/installation kernel.

i have just device apm0 in me kernel, and it works fine and dandy.

 3) Even though xf86config seems to have correctly identified the adapter,
and it works nicely at 1024x768, I can't seem to get the color depth
working at anything other than 256.  I have tried startx -- -bpp 24
and startx -- -bpp 32 and startx -- -bpp 16 but it doesn't seem to
matter.

what's your XF86Config file like, especially your sync lines ?
i'm using horizontal sync of 31.5-57.0 and a VerRefresh of 60.

 Maybe I should try a binary upgrade to 4.9, now that it's out? I don't
 currently have any reason to think that would help, but I haven't got
 any other go forward ideas, either.

i've had it working on my M300 on 4.8 as well, so 4.9 won't change
anything. there's probably a misconfiguration in your kernel config (CDROM
and APM) and X config files.

Regards,   /\_/\   All dogs go to heaven.
[EMAIL PROTECTED](0 0)http://www.alphaque.com/
+==oOO--(_)--OOo==+
| for a in past present future; do|
|   for b in clients employers associates relatives neighbours pets; do   |
|   echo The opinions here in no way reflect the opinions of my $a $b.  |
| done; done  |
+=+

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


Re: routing to specific network

2004-01-13 Thread Dinesh Nair

On Mon, 12 Jan 2004, David Miller wrote:

 Isn't this equivilent to selecting the outbound route?  You want to
 select 10.a.b.c uf you want the connection routed out ISP 1 and
 192.168.x.y otherwise.

yes it is.

 There are bizzare cases where it might make sense to try and load
 balance two broadband connections, but they're really special cases and
 don't have general purpose solutions:(

and what i want to try doing is a bizarre case, load balancing without
handling bgp. off the cuff, perhaps a hook or a netgraph node which round
robins my source ip address over the two interfaces. of course, once a
flow goes over one particular interface, it'd always use that interface
till that connection is torn down. in cases where HTTP/1.1 is used without
keep alives for example, each IMG could be pulled over a different
interface, in effect multiplexing both connections.

perhaps, i'll go read up on netgraph implementations and try something
here.

Regards,   /\_/\   All dogs go to heaven.
[EMAIL PROTECTED](0 0)http://www.alphaque.com/
+==oOO--(_)--OOo==+
| for a in past present future; do|
|   for b in clients employers associates relatives neighbours pets; do   |
|   echo The opinions here in no way reflect the opinions of my $a $b.  |
| done; done  |
+=+

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


Re: xmms - problem - how to fix?

2004-01-13 Thread Dinesh Nair

On Tue, 13 Jan 2004, Nathan Kinkade wrote:

 On Tue, Jan 13, 2004 at 07:09:21AM +1100, Gautam Gopalakrishnan wrote:
  On Sun, Jan 11, 2004 at 02:24:30PM +0200, Alex Zivenko wrote:
   Hi!
   I have some problem with my xmms mm player. When I'm treing to
   listen some mp3's it gives me aN error, that I don't know how to
   fix. I have KDE 3.1 if you need this info ^) So here it is:
   bash-2.05b$ xmms
   /dev/dsp: Device busy
   /dev/dsp: Device busy
   /* with OSS driver */

what does 'cat /dev/sndstat' say ? if you have a number of virtual sound
channels, you can use /dev/dsp0.0 for artsd (kde), /dev/dsp0.1 for xmms
and the like, until the max number of channels.

Regards,   /\_/\   All dogs go to heaven.
[EMAIL PROTECTED](0 0)http://www.alphaque.com/
+==oOO--(_)--OOo==+
| for a in past present future; do|
|   for b in clients employers associates relatives neighbours pets; do   |
|   echo The opinions here in no way reflect the opinions of my $a $b.  |
| done; done  |
+=+

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


Re: routing to specific network

2004-01-12 Thread Dinesh Nair

On Sun, 11 Jan 2004, David Miller wrote:

 So you want packets for 60.6.* to go out through ISP2?

it is amazing that how something which completely stumps you at 4am,
suddenly becomes so clear after some sleep and coffee at 11am. i added a
route for 60.6/16, but was trying to traceroute 61.6/16. the mistake kept
perpetuating because i kept using the shell's history to run the
traceroute, and the mind could not tell the difference between the 0 and
the 1. my bad, and much apologies. all works fine now.

 Zebra implemets a number of routing protocols, including bgp.  With BGP
 you can pick the best route *out* for your packet, but everyone else's
 BGP sessions will decide the best route *in* for you.  In other words,

to me, if i can pick the source ip address of my _outgoing_ packet, i.e.
on which interface the connection is made, i'd be a happy camper.

since i have two interfaces with two ip addies, the first http connection
can have a 192.168.0/24 ip address, with the flow being carried on fxp0.
the second http connection have have a 10.1/16 address with the flow being
carried on the aue0. that would actually solve the problem, without having
to set up multiple static routes. would this be possible ?

thanx a bunch, david.

Regards,   /\_/\   All dogs go to heaven.
[EMAIL PROTECTED](0 0)http://www.alphaque.com/
+==oOO--(_)--OOo==+
| for a in past present future; do|
|   for b in clients employers associates relatives neighbours pets; do   |
|   echo The opinions here in no way reflect the opinions of my $a $b.  |
| done; done  |
+=+

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


routing to specific network

2004-01-11 Thread Dinesh Nair

hey,

i'm on a multihomed FreeBSD 4.9-RELEASE, cvsupped and built to -STABLE as
of two weeks ago. the two NICs on the box each go to different ADSL
providers. right now, i can switch which provider i use by just manually
changing the default route. however, what i'd like to do is to have the
default route set to one provider, but manually add static routes to
networks closer to the second provider going out that way.

EXAMPLE OUTPUT OF NETSTAT -RN:

default192.168.0.1UGSc   13 2878   fxp0
10.1/16link#9 UC  20   aue0
10.1.105.5 00:e0:7d:03:a2:08  UHLW0  363   aue0815
10.1.105.2600:08:54:d0:5d:2e  UHLW10lo0
60.6/1610.1.1.1   UGSc00   aue0
127.0.0.1  127.0.0.1  UH  012407lo0
192.168.0  link#2 UC  10   fxp0
192.168.0.100:30:ab:10:6c:0d  UHLW   13  215   fxp0913

(192.168.0.1 is ISP1's router and 10.1.1.1 is ISP2's router)

i've successfully managed to add routes for /16 networks, and 'netstat
-rn' as well as 'route -n get' both give the expected results. however,
tracerouting to an ip address in one of these static routes still shows
that it is going out thru the default route instead of the second
provider. running a packet sniffer and attempting a http connection
confirmed this. in this case, any packet going to 60.6.1.1

what exactly should i be doing to get the behaviour i desire ?

a secondary question is, with the /usr/ports/net/zebra package, can i
configure this box to load balance flows over both ADSL connections,
assuming i do not have an AS number (for BGP) handy ? i.e. the question
is, assuming i make a tcp connection out using a browser (for argument's
sake, mozilla), can mozilla send the packet out dynamically on the first
NIC (with its IP address as source) and then round robin the next TCP
connection off the second NIC (with the second IP address as source) ?
would i need the recent multipath patches (though its for 4.8-STABLE) to
do this ?

Regards,   /\_/\   All dogs go to heaven.
[EMAIL PROTECTED](0 0)http://www.alphaque.com/
+==oOO--(_)--OOo==+
| for a in past present future; do|
|   for b in clients employers associates relatives neighbours pets; do   |
|   echo The opinions here in no way reflect the opinions of my $a $b.  |
| done; done  |
+=+

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


Re: ifconfig dc0 DCHP gets error

2004-01-09 Thread Dinesh Nair

On Thu, 8 Jan 2004, fbsd_user wrote:

 Ifconfig dc0 DHCP gives error message  'DHCP bad value'

 I can get it to work from within rc.conf, but not from command line.
 What an I doing wrong?

on the command line, you should be doing 'dhclient intX' where intX is
your interface.

Regards,   /\_/\   All dogs go to heaven.
[EMAIL PROTECTED](0 0)http://www.alphaque.com/
+==oOO--(_)--OOo==+
| for a in past present future; do|
|   for b in clients employers associates relatives neighbours pets; do   |
|   echo The opinions here in no way reflect the opinions of my $a $b.  |
| done; done  |
+=+

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


SOLVED: ADMtek USB To LAN Converter and HomePNA

2004-01-08 Thread Dinesh Nair

people,

the following patch solves this problem. according to the ADM8511
datasheet, a couple of registers need to be set with specific values to
enable the HomePNA PHY on the device. the current aue(4) driver does not
do this, and thus by default the device will only enable the Ethernet PHY.
you'd need to rebuild kernel or just kldunload/kldload if using the
if_aue.ko module.

--- CUT HERE ---
--- if_aue.c.orgThu Jan  8 19:29:27 2004
+++ if_aue.cThu Jan  8 19:29:27 2004
@@ -581,7 +581,7 @@
csr_write_1(sc, AUE_REG_81, 6);
else
 #endif
-   csr_write_1(sc, AUE_REG_81, 2);
+   csr_write_1(sc, AUE_REG_81, 6);
 }

 Static void
@@ -610,6 +610,7 @@
 */
csr_write_1(sc, AUE_GPIO0, AUE_GPIO_OUT0|AUE_GPIO_SEL0);
csr_write_1(sc, AUE_GPIO0, AUE_GPIO_OUT0|AUE_GPIO_SEL0|AUE_GPIO_SEL1);
+   csr_write_1(sc, AUE_GPIO1, 0x34);

/* Grrr. LinkSys has to be different from everyone else. */
if (sc-aue_info-aue_flags  LSYS) {
---CUT HERE ---

On Wed, 7 Jan 2004, Dinesh Nair wrote:

 hey,

 i have one of the above. it's a usb device which connects to a HomePNA
 network, with a 10/100Mbps ethernet port as well as a couple of RJ11s for
 the HomePNA connection.

 my problem is i am unable to utilize this device to connect to the HomePNA
 network. upon plugging it in, the console says:

 aue0: ADMtek USB To LAN Converter, rev 1.10/1.01, addr 2
 aue0: Ethernet address: 00:08:54:d0:5d:2e
 miibus1: MII bus on aue0
 pnaphy0: Am79c978 HomePNA PHY on miibus1
 pnaphy0:  HomePNA

 ifconfig aue0 response is:
 aue0: flags=8802BROADCAST,SIMPLEX,MULTICAST mtu 1500
 ether 00:08:54:d0:5d:2e
 media: Ethernet homePNA (none)

 i run 'ifconfig aue0 10.1.105.26 netmask 0x media homepna' and the
 device then gets to the following:

 aue0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
 inet 10.1.105.26 netmask 0x broadcast 10.1.255.255
 ether 00:08:54:d0:5d:2e
 media: Ethernet homePNA
 status: active

 however, i am unable to ping any ip address other than the interface's
 address. obviously, no firewalls (ipfw/ipchains/ipf) are being run and
 this is on FreeBSD 4.9-STABLE built as of a couple of weeks back.

 i've played around with disabling the ethernet PHY on the device with the
 following diff to /usr/src/sys/dev/usb/if_aue.c:

 --- CUT HERE ---
 --- if_aue.c.orgWed Jan  7 20:02:51 2004
 +++ if_aue.cWed Jan  7 21:04:06 2004
 @@ -434,6 +434,28 @@
  #endif
 }

 +   /*
 +* The Am79C978 HomePNA PHY actually contains
 +* two transceivers: a 1Mbps HomePNA PHY and a
 +* 10Mbps full/half duplex ethernet PHY with
 +* NWAY autoneg. However, the HomePNA PHY is
 +* not recognized, but the 10/100Mbps PHY is
 +* though. This skips over the 10/100Mbps PHY
 +* and only activates the 1Mbps HomePNA PHY
 +*
 +* Modified by Dinesh Nair [EMAIL PROTECTED]
 +* Wed Jan  7 20:36:34 MYT 2004
 +*
 +*/
 +   if (sc-aue_info-aue_vid == USB_VENDOR_ADMTEK 
 +   sc-aue_info-aue_did == USB_PRODUCT_ADMTEK_PEGASUSII) {
 +   if (phy == 1)
 +   return(0);
 +   }
 +   /*
 +* End of modifications by Dinesh Nair
 +*/
 +
 csr_write_1(sc, AUE_PHY_ADDR, phy);
 csr_write_1(sc, AUE_PHY_CTL, reg|AUE_PHYCTL_READ);
 --- CUT HERE ---

 but to no avail. i've discovered that the ethernet PHY is phy==1, while
 the two RJ11 PHYs are 2 and 3.

 the ethernet PHY works fine and dandy, and i am able to connect it to my
 local switch fine. however, i need to use it for a HomePNA application,
 and thus need to HomePNA portion of this to work.

 any ideas from anyone who's tried something like this before with some
 measure of success ? any media types or mediaopts i should be passing to
 ifconfig ?

 this setup is used by a broadband provider in kuala lumpur, malaysia and
 to date this has been the one barrier which prevents freebsd users from
 utilizing their service.

 Regards,   /\_/\   All dogs go to heaven.
 [EMAIL PROTECTED](0 0)http://www.alphaque.com/
 +==oOO--(_)--OOo==+
 | for a in past present future; do|
 |   for b in clients employers associates relatives neighbours pets; do   |
 |   echo The opinions here in no way reflect the opinions of my $a $b.  |
 | done; done  |
 +=+



Regards,   /\_/\   All dogs go to heaven.
[EMAIL PROTECTED](0 0)http://www.alphaque.com/
+==oOO--(_)--OOo==+
| for a in past present future; do

SOLVED: ADMtek USB To LAN Converter and HomePNA

2004-01-08 Thread Dinesh Nair

use the following patch instead of earlier one. earlier patch hardcoded
use of HomePNA PHY and disabled Ethernet PHY. this patch corrects this
behaviour and allows switching between either PHY thru use of the ifconfig
command. this means that the USB dongle can either be used as an Ethernet
device (connect to switch/hub) or as a HomePNA access device, but not both
simultaneously.

ifconfig aue0 media homepna # activates HomePNA PHY/RJ11
ifconfig aue0 media auto # activates Ethernet PHY/RJ45

using auto as media type is synonymous with the following media types:

10baseT 10baseT-FDX 100baseTX 100baseTX-FDX

much apologies for not checking things correctly before submitting the
patch.

patch follows:

--- CUT HERE ---
--- if_aue.c.orgWed Jan  7 20:02:51 2004
+++ if_aue.cThu Jan  8 21:12:23 2004
@@ -118,7 +118,7 @@
 { USB_VENDOR_ACCTON,   USB_PRODUCT_ACCTON_USB320_EC, 0 },
 { USB_VENDOR_ACCTON,   USB_PRODUCT_ACCTON_SS1001,PII },
 { USB_VENDOR_ADMTEK,   USB_PRODUCT_ADMTEK_PEGASUS,   PNA },
-{ USB_VENDOR_ADMTEK,   USB_PRODUCT_ADMTEK_PEGASUSII, PII },
+{ USB_VENDOR_ADMTEK,   USB_PRODUCT_ADMTEK_PEGASUSII, PNA|PII },
 { USB_VENDOR_BELKIN,   USB_PRODUCT_BELKIN_USB2LAN,   PII },
 { USB_VENDOR_BILLIONTON,   USB_PRODUCT_BILLIONTON_USB100,0 },
 { USB_VENDOR_BILLIONTON,   USB_PRODUCT_BILLIONTON_USBLP100,  PNA },
@@ -492,6 +492,17 @@
mii = device_get_softc(sc-aue_miibus);

AUE_CLRBIT(sc, AUE_CTL0, AUE_CTL0_RX_ENB|AUE_CTL0_TX_ENB);
+
+   if (IFM_SUBTYPE(mii-mii_media_active) == IFM_homePNA) {
+   if (sc-aue_info-aue_flags  (PNA|PII)) {
+   csr_write_1(sc, AUE_GPIO1, 0x34);
+   csr_write_1(sc, AUE_REG_81, 6);
+   }
+   } else {
+   csr_write_1(sc, AUE_GPIO1, 0x26);
+   csr_write_1(sc, AUE_REG_81, 2);
+   }
+
if (IFM_SUBTYPE(mii-mii_media_active) == IFM_100_TX) {
AUE_SETBIT(sc, AUE_CTL1, AUE_CTL1_SPEEDSEL);
} else {
@@ -576,12 +587,10 @@
/* Magic constants taken from Linux driver. */
csr_write_1(sc, AUE_REG_1D, 0);
csr_write_1(sc, AUE_REG_7B, 2);
-#if 0
-   if ((sc-aue_flags  HAS_HOME_PNA)  mii_mode)
-   csr_write_1(sc, AUE_REG_81, 6);
-   else
-#endif
+
+   if (sc-aue_info-aue_flags  PNA) {
csr_write_1(sc, AUE_REG_81, 2);
+   }
 }

 Static void
--- CUT HERE ---

--dinesh


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


ADMtek USB To LAN Converter and HomePNA

2004-01-07 Thread Dinesh Nair

hey,

i have one of the above. it's a usb device which connects to a HomePNA
network, with a 10/100Mbps ethernet port as well as a couple of RJ11s for
the HomePNA connection.

my problem is i am unable to utilize this device to connect to the HomePNA
network. upon plugging it in, the console says:

aue0: ADMtek USB To LAN Converter, rev 1.10/1.01, addr 2
aue0: Ethernet address: 00:08:54:d0:5d:2e
miibus1: MII bus on aue0
pnaphy0: Am79c978 HomePNA PHY on miibus1
pnaphy0:  HomePNA

ifconfig aue0 response is:
aue0: flags=8802BROADCAST,SIMPLEX,MULTICAST mtu 1500
ether 00:08:54:d0:5d:2e
media: Ethernet homePNA (none)

i run 'ifconfig aue0 10.1.105.26 netmask 0x media homepna' and the
device then gets to the following:

aue0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
inet 10.1.105.26 netmask 0x broadcast 10.1.255.255
ether 00:08:54:d0:5d:2e
media: Ethernet homePNA
status: active

however, i am unable to ping any ip address other than the interface's
address. obviously, no firewalls (ipfw/ipchains/ipf) are being run and
this is on FreeBSD 4.9-STABLE built as of a couple of weeks back.

i've played around with disabling the ethernet PHY on the device with the
following diff to /usr/src/sys/dev/usb/if_aue.c:

--- CUT HERE ---
--- if_aue.c.orgWed Jan  7 20:02:51 2004
+++ if_aue.cWed Jan  7 21:04:06 2004
@@ -434,6 +434,28 @@
 #endif
}

+   /*
+* The Am79C978 HomePNA PHY actually contains
+* two transceivers: a 1Mbps HomePNA PHY and a
+* 10Mbps full/half duplex ethernet PHY with
+* NWAY autoneg. However, the HomePNA PHY is
+* not recognized, but the 10/100Mbps PHY is
+* though. This skips over the 10/100Mbps PHY
+* and only activates the 1Mbps HomePNA PHY
+*
+* Modified by Dinesh Nair [EMAIL PROTECTED]
+* Wed Jan  7 20:36:34 MYT 2004
+*
+*/
+   if (sc-aue_info-aue_vid == USB_VENDOR_ADMTEK 
+   sc-aue_info-aue_did == USB_PRODUCT_ADMTEK_PEGASUSII) {
+   if (phy == 1)
+   return(0);
+   }
+   /*
+* End of modifications by Dinesh Nair
+*/
+
csr_write_1(sc, AUE_PHY_ADDR, phy);
csr_write_1(sc, AUE_PHY_CTL, reg|AUE_PHYCTL_READ);
--- CUT HERE ---

but to no avail. i've discovered that the ethernet PHY is phy==1, while
the two RJ11 PHYs are 2 and 3.

the ethernet PHY works fine and dandy, and i am able to connect it to my
local switch fine. however, i need to use it for a HomePNA application,
and thus need to HomePNA portion of this to work.

any ideas from anyone who's tried something like this before with some
measure of success ? any media types or mediaopts i should be passing to
ifconfig ?

this setup is used by a broadband provider in kuala lumpur, malaysia and
to date this has been the one barrier which prevents freebsd users from
utilizing their service.

Regards,   /\_/\   All dogs go to heaven.
[EMAIL PROTECTED](0 0)http://www.alphaque.com/
+==oOO--(_)--OOo==+
| for a in past present future; do|
|   for b in clients employers associates relatives neighbours pets; do   |
|   echo The opinions here in no way reflect the opinions of my $a $b.  |
| done; done  |
+=+

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