The FreeBSD Diary: 2003-03-02 - 2003-03-22

2003-03-23 Thread Dan Langille
The FreeBSD Diary contains a large number of practical 
examples and how-to guides.  This message is posted weekly
to [EMAIL PROTECTED] with the aim of letting people
know what's available on the website.  Before you post a question
here it might be a good idea to first search the mailing list 
archives http://www.freebsd.org/search/search.html#mailinglists 
and/or The FreeBSD Diary http://www.freebsddiary.org/. 

These are the articles posted during this period:

7-Mar : scp tricks
 scp is great for copying stuff around
 http://freebsddiary.org/scp.php?2

6-Mar : Already scanned directory - mkisofs problems
 mkisofs wasn't taking everything given to it
 http://freebsddiary.org/already-scanned-directory.php?2


-- 
Dan Langille - DVL Software Limited
The FreeBSD Diary - http://www.FreeBSDDiary.org/ - practical examples
FreshPorts- http://www.FreshPorts.org/   - the place for ports
FreshSource   - http://www.FreshSource.org/  - the place for source


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


ogle failed opening the oss audio

2003-03-23 Thread Antoine Jacoutot
Hi, 
 
I am having a problem viewing DVD with ogle. 
It complains about the OSS sound driver. Here is the output of the ogle 
command: 
 
libdvdread: Using libdvdcss version 1.2.5 for DVD access 
libdvdread: Using libdvdcss version 1.2.5 for DVD access 
 
libdvdread: Attempting to retrieve all CSS keys 
libdvdread: This can take a _long_ time, please be patient 
 
libdvdread: Get key for /VIDEO_TS/VIDEO_TS.VOB at 0x0136 
libdvdread: Elapsed time 0 
libdvdread: Get key for /VIDEO_TS/VTS_01_0.VOB at 0x0247 
libdvdread: Elapsed time 0 
libdvdread: Get key for /VIDEO_TS/VTS_01_1.VOB at 0x02fb 
libdvdread: Elapsed time 0 
libdvdread: Get key for /VIDEO_TS/VTS_02_0.VOB at 0x20e8 
libdvdread: Elapsed time 0 
libdvdread: Get key for /VIDEO_TS/VTS_02_1.VOB at 0x219c 
libdvdread: Elapsed time 0 
libdvdread: Get key for /VIDEO_TS/VTS_03_0.VOB at 0x000b459d 
libdvdread: Elapsed time 1 
libdvdread: Get key for /VIDEO_TS/VTS_03_1.VOB at 0x000b4b13 
libdvdread: Elapsed time 0 
libdvdread: Get key for /VIDEO_TS/VTS_04_0.VOB at 0x0032e714 
libdvdread: Elapsed time 0 
libdvdread: Get key for /VIDEO_TS/VTS_04_1.VOB at 0x0032e7c8 
libdvdread: Elapsed time 0 
libdvdread: Get key for /VIDEO_TS/VTS_05_0.VOB at 0x00397b4b 
libdvdread: Elapsed time 0 
libdvdread: Get key for /VIDEO_TS/VTS_05_1.VOB at 0x00397bff 
libdvdread: Elapsed time 0 
libdvdread: Get key for /VIDEO_TS/VTS_06_0.VOB at 0x00397c17 
libdvdread: Elapsed time 0 
libdvdread: Get key for /VIDEO_TS/VTS_06_1.VOB at 0x00397ccb 
libdvdread: Elapsed time 0 
libdvdread: Found 6 VTS's 
libdvdread: Elapsed time 1 
xscreensaver-command not found. 
Using djbfft for IMDCT transform 
FATAL[ogle_audio]: failed opening the oss audio driver at /dev/dsp 
ctrl: ipc_rmid: Invalid argument 
 
The problem arrises whether ogle is launched as a regular user or as root. 
Any idea what could cause the problem ? I reinstall ogle but it didsn't change 
anything. 
 
Thanks. 
 
--  
Antoine Jacoutot  
[EMAIL PROTECTED]  
http://www.lphp.org  
Unix is user friendly. He's just very picky about who his friends are...   
   

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: ogle failed opening the oss audio

2003-03-23 Thread Antoine Jacoutot
On Sunday 23 March 2003 09:16, Antoine Jacoutot wrote:
 Hi,
 I am having a problem viewing DVD with ogle.
 It complains about the OSS sound driver. Here is the output of the ogle
 command:
 FATAL[ogle_audio]: failed opening the oss audio driver at /dev/dsp
 ctrl: ipc_rmid: Invalid argument

OK, I'm answering to myself here... In fact, the problem is because arts is 
started (I'm under KDE).
Is it possible to make ogle work with the arts sound server ?

Antoine


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: automatic standby after idle timeout

2003-03-23 Thread mike mcgranahan
--- Lowell Gilbert
[EMAIL PROTECTED] wrote:
 mike mcgranahan [EMAIL PROTECTED] writes:
 
  under windows it is possible to configure the
 system
  to enter APM standby after a certain amount of
 system
  inactivity.  in linux their is a program called
 sleepd
  which will initiate an APM standby after a
  configurable period of system inactivity, which
 works
  both on the console as well as while X is running.
  is
  there any way to achieve the same effect under
  freebsd, where the system will enter standby
 after,
  say, 10 minutes of no activity?
 
 apmd(8) is the closest thing I know of.
 
 I don't know all of the new power-control functions
 in 5.x, but
 I wouldn't recommend that for you anyway.

thank you for your reply. correct me if i'm wrong, but
apmd only responds to apm signals sent to it, either
by the user or by the machine hardware (lid closing or
opening).
 
  also, can anyone describe the apm_saver.ko KLD?  i
  can't seem to find a description of it anywhere.
 
 It turns off the screen.

ahh, thanks.  green_saver also turns off the screen
(dpms).  are there any differences between apm_saver
and green_saver?

thank you again.

mike

__
Do you Yahoo!?
Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
http://platinum.yahoo.com

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: automatic standby after idle timeout

2003-03-23 Thread mike mcgranahan
--- David Fleck [EMAIL PROTECTED] wrote:
 On Fri, 21 Mar 2003, mike mcgranahan wrote:
  under windows it is possible to configure the
 system
  to enter APM standby after a certain amount of
 system
  inactivity.  in linux their is a program called
 sleepd
  which will initiate an APM standby after a
  configurable period of system inactivity, which
 works
  both on the console as well as while X is running.
  is
  there any way to achieve the same effect under
  freebsd, where the system will enter standby
 after,
  say, 10 minutes of no activity?
 
 try 'man xset'. grep for the dpms options.  In my
 AfterStep configuration,
 I use
 xset dpms 600 1200 1800
 
 to set standby (10 min) suspend (20 min) and off (30
 min) times.

thanks for the info.  i do use xset for controlling
dpms in X, but i am interested in something that will
a) put the system into standby, not just the monitor,
and b) work regardless of X running.

any other suggestions or ideas?  i'm finally switching
from windows to unix full-time, so i am stuck
choosing between freebsd and linux (gentoo).  i really
like freebsd's integration, configuration,
documentation and ports system, but auto-standby is
important to me.  thie absence of this feature seems
to me to be a significant, though not vital,
omission--particularly useful in computer labs.  is
anyone aware of a more general daemon or facility that
can execute a command after a certain period of system
idleness... perhaps some modified cron?

 
 --
 David Fleck
 [EMAIL PROTECTED]
 

thanks again,
mike

__
Do you Yahoo!?
Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
http://platinum.yahoo.com

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: INND hangs after upgrade to 4.8PRE

2003-03-23 Thread Vallo Kallaste
On Wed, Mar 19, 2003 at 07:38:37AM -0500, James F.Hranicky [EMAIL PROTECTED] wrote:

  Here's the sequence of events:
  
  - upgrade news server to 4.8PRE
  
  - inn starts throwing errors due to Berkeley DB upgrade from 3.2 to 4.0
  
  - upgrade from inn 2.3.1 to inn 2.3.4, compiling against new Berkeley DB
version
 
 As far as I can tell, using DB4 was the problem. I deleted and then rebuilt
 the overview as buffindexed, and now everything seems to be working.

You are tracking INN mailing list, do you? There seems to be quite a lot
of discussion about ovbd in the last two weeks or so. Basically, it's
broken and as it seems nobody has ever got ovbd to work reliably, no
matter what bdb version they used.
-- 

Vallo Kallaste

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Transparent proxy

2003-03-23 Thread Maarten de Vries
Hi,

On my NAT-box, I'm trying to redirect all http traffic from the desktops
behind to the squid cache, which is on the same machine.

The ipfw rule I use that should accomplish this is:

$ ipfw add 2350 fwd 192.168.1.1 3128 from any to any 80

And in squid.conf I have:

http_port 192.168.1.1:3128
httpd_accel_host virtual
httpd_accel_port 80
httpd_accel_with_proxy  on
httpd_accel_uses_host_header on

Somehow I must be overlooking something, because although http traffic works
well on the clients, it isn't being picked up. The firewall- and cachelog
remain empty...

Ipfw and Squid work well in all other respects. Any pointers would be much
appreciated!

--
http://unsavoury.net/



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: FreeBSD Installation Problems

2003-03-23 Thread Sukhbinder Singh
Now I am using a new mailer not the one from hotmail, because i am not able
to edit the settings in the hotmail mailer to not sent html mail. i think
hotmail mailer is made to mail html mails. if anyone have an idea of how to
not mail html mails from hotmail, i mean if anyone knows of how to stop or
configure hotmail not to mail html mails please let me know of how to do
this.

anyway i hope this mailer do not mail html mails. if it is does please let
me know. however now getting back to the free bsd problem can anyone give a
little help in troubleshooting this problem. now when i try to setup freebsd
using floopy disk method it is giving an error message like  No floppy
device found consult the hardware in doc. The FTP now seems to work but
however this gives a message like  Could not open FTP connection to
ftp.freebsd.org: undefined error: 0  how can these 2 error message be
solved. Any help will help.

thanks


- Original Message -
From: taxman [EMAIL PROTECTED]
To: Sukhbinder Singh [EMAIL PROTECTED]
Sent: Sunday, March 23, 2003 11:10 AM
Subject: Re: FreeBSD Installation Problems



 really, why do you persist in sending html mail to this list?  It is
nearly
 unreadable on most peoples mail readers.  So you will mostly get ignored.

 To answer this question we need to know more details about what you've
tried
 and what exact step in the process it fails at.  Please send that in text
 only.  Modify your hotmail preferences to do that.  Thank you

 Tim


 On Saturday 22 March 2003 08:48 am, Sukhbinder Singh wrote:
  htmldiv style='background-color:'DIVDear Sir,/DIV
  DIVnbsp;/DIV
  DIVnbsp;nbsp; I am trying to install FreeBSD into my personal
computer.
  I am using the FTP installation method using the standard installation.
  When I try to start the FTP installation I get message such as :-
Warning:
  no /dev/tun0 device. PPP will not work !.nbsp;Unable to start PPP. This
  installation cannot benbsp;used. /DIV DIVnbsp;/DIV
  DIVCan you please help me to resolve this problem./DIV
  DIVnbsp;/DIV
  DIVThanks,/DIV
  DIVnbsp;/DIV
  DIVnbsp;/DIV/divbr clear=allhrMSN 8 with a
  href=http://g.msn.com/8HMRENUS/2740;e-mail virus protection service:
/a
  2 months FREE*/html
 
  To Unsubscribe: send mail to [EMAIL PROTECTED]
  with unsubscribe freebsd-questions in the body of the message



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: problem on 1TB filesystem RAID 5 3ware

2003-03-23 Thread MikeM
On 3/22/2003 at 2:17 PM Bruce Campbell wrote:

|Some more test results:
|
|22 Mar 2003 - test with RAID 5 with 4 * WD 200GB with Write Cache disabled

|*succeeded*. Write Cache can be disabled through the 3ware BIOS, or the
|3ware 
|web management tool. Raw write performance to the array dropped from 
|3KBytes/Second to 4500KBytes/Second, however this did not impact the
|test 
|significantly, as the test involved copying data via an NFS mount on a 100

|MBit/second network. The effective speed of the NFS copy dropped from
|around 
|5000 KBytes/Second to about 4500 KBytes/Second with Write Cache disabled. 
|
|Thread here:
|
|http://oss.sgi.com/projects/xfs/mail_archive/200211/msg00056.html
|
|suggests firmware/driver mismatches can cause trouble, and someone
|else who had trouble found turning off write cache fixed it.
|
|
|All my info on this problem being kept here:
|
|http://www.freebsd.uwaterloo.ca/twiki/bin/view/Freebsd/BackupServerProblem
 =


Thanks for your follow-up, but I'd caution you regarding the serendipitous
it's working if I do this aspect of your discovery.  Those fixes have a
nasty habit of disappearing when something else changes in the system
 

I have switched over to RHLinux for the server using the 3Ware card, which
is ironic because I left RHLinux when I switched to FreeBSD a year or so
ago.  :-)  I'd much prefer to run my RAID under FreeBSD, but I prefer to
use supported hardware even more.  The 3Ware card is a high-end,
high-performance IDE RAID card; as such, I am rather surprised that it is
not properly supported under FreeBSD.

n


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Device mapping

2003-03-23 Thread Kisni Aleksander

Good day. I'm sorry for a stupid question,
but what device mapping is?

What device method mmap should implement?

Thank you much.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


burncd and 5.0-RELEASE

2003-03-23 Thread Ilia E. Chipitsine
Anybody is using burncd with 5.0-RELEASE ?
is doesn't work for me (all the hardware remains the same).

burncd - blank Ok
burncd - data  Not Ok

cheers,
Ilia Chipitsine


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Drivers for a MOTOROLA WinModem

2003-03-23 Thread Dimitri Nedeltchev
Hi there,

I have a Motorola Modem with this written on the chip

MOTOROLA
62412-51
U45111.2-0.6
9950

and trying to get it to run on a fbsd 5.0-release. anyone any ideas where I
can get drivers for it?

thanx


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: Problems making ogle and libdvdread

2003-03-23 Thread Stephen Hilton
On Sat, 22 Mar 2003 22:34:21 -0800 (PST)
Peter Leftwich [EMAIL PROTECTED] wrote:

 Actually, switch the order of those.  I'm trying to make or put libdvdread
 in the right place so when I run `./configure` in the ogle-0.9.0 directory
 it won't keep complaining about libdvdread.  Can someone please comment?
 
 I emailed [EMAIL PROTECTED] asking for an ogle package but I don't know
 where that request will go...  Thanks everybody, please CC replies to me.

Peter,

Have you tried using the ports/multimedia/ogle port ? 
it is working well for me on my 4.8RC box.

Regards,

Stephen Hilton
[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


question on tin: how to configure auto user/pwd

2003-03-23 Thread atk101
I've read the man pages but see no option for configuring tin to auto magically enter 
a user name/password when it connect to the nntpserver. 

Is there anyway to do this (my new provider require some random set of symbols for 
username and password which make it hard to enter manually all the time). If there is 
no way can you suggest an alternative news reader that might provide this option but 
is non-graphical and similar to tin ?

Thanks,
Alan

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


supported USB ADSL modems

2003-03-23 Thread DJ Boris
hi there,

where can I find out what USB ADSL modems are supported by freeBSD. 
I am using 5.0-release and thinking of getting ADSL.
Can anyone help?

regards


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Ports' sendmail-sasl without installing a second openssl?

2003-03-23 Thread Doug Lee
I just compiled sendmail 8.12.8 from /usr/ports/mail/sendmail-sasl to
get SASL auth support (along with the security fix to sendmail), and I
noticed it compiled and installed openssl even though it's in the base
system.  Is there a way to avoid this?  I just used my home FreeBSD
box to test the waters; I'm about to pull the same move on a
production machine.


-- 
Doug Lee   [EMAIL PROTECTED]http://www.dlee.org
Bartimaeus Group   [EMAIL PROTECTED]   http://www.bartsite.com
Liberty comes in boxes:  ballot, jury, and ammo. -Anonymous

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: question on tin: how to configure auto user/pwd

2003-03-23 Thread Arvid Warnecke
On Sun, Mar 23, 2003 at 07:57:03AM -0500, [EMAIL PROTECTED] wrote:
 I've read the man pages but see no option for configuring tin to auto
 magically enter a user name/password when it connect to the
 nntpserver. 
 
I use a ~/.newsauth with tin here. Just create that file with
newsserver.host.com password username
in it. The password has to be set first, then the username. Strange, but
it works.

Cheers,
Arvid

-- 
[Arvid Warnecke] [ [EMAIL PROTECTED] ] [PGPSubject: get pgp key]
[IRC/OPN: madhatter]  [ http://www.nostalgix.org ]  [05323/715724]
FreeBSD 4.8-RC  XFree86 Version 4.2.1  Uptime: 7:02
BOFH #325: Your processor does not develop enough heat.


pgp0.pgp
Description: PGP signature


¶W­È¦n§¥ô±z¬D¿ï!!Åwªï¨Ó¹q¬Ý³f²{³õ¬Ý³f¤ñ¸û¿ïÁÊ

2003-03-23 Thread 4200tttttfhfhghghkjktyr
¶W­È¦n§¥ô±z¬D¿ï!!Åwªï¨Ó¹q¬Ý³f²{³õ¬Ý³f¤ñ¸û¿ïÁÊ
http://www.vovo2.com/~nono/new_page_tt.htm

·s³f¤w¤W¬[¡A»°§Ö¶i¥h¬D¿ï¡I¡I¡I¡I
http://vivi.liful.com/

¤â¾÷¨C¤ÀÄÁ¶O²v3.5¤¸
[EMAIL PROTECTED]
http://203.70.228.20/tel/index.asp

19·³¯à¤ë¤J¤Q¸U...­ì¨Ó¥L¬O°µ³o£«
http://www.mymorningmusume.com/hope/new.htm

===
SUPER e-Mail±M·~¹q¤l¶l¥ó¦æ¾P~¶l¥ó¥N«È¸sµo / ÁʶR¦W³æ /
===
http://210.62.128.25/~cai/good/fate/index.htm
***
***


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: supported USB ADSL modems

2003-03-23 Thread taxman
On Sunday 23 March 2003 11:00 am, DJ Boris wrote:
 hi there,

 where can I find out what USB ADSL modems are supported by freeBSD.
 I am using 5.0-release and thinking of getting ADSL.
 Can anyone help?

Well if they were supported, they would most likely be listed in the hardware 
page for your release listed on the FreeBSD homepage.

I don't think any USB ADSL modems are supported but I could be wrong.  Try to 
get them to give you an ethernet version.  Most anything that connects by 
ethernet would be supported.  They may tell you they can't, but if you press 
them, they almost always have some ethernet hardware available.

Tim


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: automatic standby after idle timeout

2003-03-23 Thread David Fleck
On Sun, 23 Mar 2003, mike mcgranahan wrote:
 thanks for the info.  i do use xset for controlling
 dpms in X, but i am interested in something that will
 a) put the system into standby, not just the monitor,
 and b) work regardless of X running.

 any other suggestions or ideas?  i'm finally switching
 from windows to unix full-time, so i am stuck
 choosing between freebsd and linux (gentoo).  i really
 like freebsd's integration, configuration,
 documentation and ports system, but auto-standby is
 important to me.  thie absence of this feature seems
 to me to be a significant, though not vital,
 omission--particularly useful in computer labs.  is
 anyone aware of a more general daemon or facility that
 can execute a command after a certain period of system
 idleness... perhaps some modified cron?

I'm not sure what is involved in putting the *system* into standby, as
compared to just the monitor - Linux distros usually provide a utility
called 'hdparm' to set spin-down and sleep times for IDE drives, don't
know if theres a SCSI equivalent.  I haven't found a similar utility in
FreeBSD - possibly one of the tunables mentioned in 'man ata' or 'man
tuning' would do it, I haven't looked very hard.

--
David Fleck
[EMAIL PROTECTED]


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


5.0 Release frequently asked questions

2003-03-23 Thread taxman

Hi, due to the multiple questions that users have regarding 5.0, and not 
reading the documentation, I whipped up a quick version specific FAQ, that I 
think will be useful at least until 5.1 is released or 5-stable is created.
We seem to get up to 5 questions a day on the questions mailing list from 
people that didn't read the early adopters guide and assumed the 5.0 was 
another production quality release.
Please comment on this and let me know if you think it needs wider release.  
Mike Meyer was nice enough to host it for me.

http://www.mired.org/5.0-not-production.html

Thanks,

Tim

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: 5.0 Release frequently asked questions

2003-03-23 Thread Miguel Mendez
On Sun, 23 Mar 2003 13:05:59 -0500 taxman [EMAIL PROTECTED] wrote:

Howdy.

   We seem to get up to 5 questions a day on the questions mailing  list from 
 people that didn't read the early adopters guide and assumed  the 5.0 was another 
 production quality release.

Well, people *are* expected to read documention, specially for this kind of release, 
aren't they? :) I like the idea of a FAQ, tho.

   Please comment on this and let me know if you think it needs 

I like it so far, and I'll nitpick you a bit :)

%dmesg  my.dmesg will do that for you. - /var/run/dmesg.boot :)


Cheers,
-- 
Miguel Mendez - [EMAIL PROTECTED]
GPG Public Key :: http://energyhq.homeip.net/files/pubkey.txt
EnergyHQ :: http://www.energyhq.tk
Of course it runs NetBSD!
Tired of Spam? - http://www.trustic.com


pgp0.pgp
Description: PGP signature


Re: ogle failed opening the oss audio

2003-03-23 Thread Andrew Boothman
Antoine Jacoutot wrote:

On Sunday 23 March 2003 09:16, Antoine Jacoutot wrote:
 

Hi,
I am having a problem viewing DVD with ogle.
It complains about the OSS sound driver. Here is the output of the ogle
command:
FATAL[ogle_audio]: failed opening the oss audio driver at /dev/dsp
ctrl: ipc_rmid: Invalid argument
   

OK, I'm answering to myself here... In fact, the problem is because arts is 
started (I'm under KDE).
Is it possible to make ogle work with the arts sound server ?

I'm running ogle from oKle, a KDE front end.

See multimedia/okle in ports.

Cheers :)

Andrew



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: supported USB ADSL modems

2003-03-23 Thread Andrew Boothman
taxman wrote:

On Sunday 23 March 2003 11:00 am, DJ Boris wrote:
 

hi there,

where can I find out what USB ADSL modems are supported by freeBSD.
I am using 5.0-release and thinking of getting ADSL.
Can anyone help?
   

Well if they were supported, they would most likely be listed in the hardware 
page for your release listed on the FreeBSD homepage.

I don't think any USB ADSL modems are supported but I could be wrong.  Try to 
get them to give you an ethernet version.  Most anything that connects by 
ethernet would be supported.  They may tell you they can't, but if you press 
them, they almost always have some ethernet hardware available.

I believe there is support for Alcatel SpeedTouch modems using net/pppoa 
from ports.

I've no experience with it however. If you ask me an ethernet interface 
is always better for networking tasks.

You may also be interested to know that Bruce Simpson [EMAIL PROTECTED] is 
working on a driver for the Efficent Networks SpeedStream 3060 line of 
xDSL PCI Cards. The driver isn't working yet but you can contact him for 
details about helping him test it.

Cheers.

Andrew.



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: supported USB ADSL modems

2003-03-23 Thread DJ Boris
I have done some reading and you are right. I can't see any USB ADSL
supported modems... there are some Alcatels but people are having probs with
them. If I understand correctly the Ethernet ADSL modems aren't dependant on
host drivers. Am I correct? Does that mean that I can use them under fbsd?
Can you give me some guidelines?

sorry for the stupid questions - still new to ADSL .. and the info on the
net is so much, difficult to grasp from the first time.

thanx

- Original Message -
From: taxman [EMAIL PROTECTED]
To: DJ Boris [EMAIL PROTECTED]; freebsd-questions
[EMAIL PROTECTED]
Sent: Sunday, March 23, 2003 7:32 PM
Subject: Re: supported USB ADSL modems


 On Sunday 23 March 2003 11:00 am, DJ Boris wrote:
  hi there,
 
  where can I find out what USB ADSL modems are supported by freeBSD.
  I am using 5.0-release and thinking of getting ADSL.
  Can anyone help?

 Well if they were supported, they would most likely be listed in the
hardware
 page for your release listed on the FreeBSD homepage.

 I don't think any USB ADSL modems are supported but I could be wrong.  Try
to
 get them to give you an ethernet version.  Most anything that connects by
 ethernet would be supported.  They may tell you they can't, but if you
press
 them, they almost always have some ethernet hardware available.

 Tim


 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message




To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: ogle failed opening the oss audio

2003-03-23 Thread Antoine Jacoutot
On Sunday 23 March 2003 19:27, Andrew Boothman wrote:
 OK, I'm answering to myself here... In fact, the problem is because arts
  is started (I'm under KDE).
 Is it possible to make ogle work with the arts sound server ?

 I'm running ogle from oKle, a KDE front end.

Well, me too... but this is not the point, okle need ogle, and my ogle 
doesn't seem to work with arts.

Antoine


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: development

2003-03-23 Thread Andrew Boothman
Nick wrote:

Hello, FreeBSD-TEAM!

Can you tell me, is there in FreeBSD a development project oriented to 
provide transparent access to windows SMB shares, but not smbfs?

I want to develope a module, which can transparently access windows 
SMB shares. See my explane:

Let:
WG1, WG2, WG3 - are workgroups;
SRV1, SRV2, SRV3 - are servers in esch of the workgroups
After starting and activated (in mount-method, sysctl etc.) module, 
some directory (let it be /mnt/lan)
become to provide a transparent access to windows SMB shares in this way:
% cd /mnt/lan
% ls
WG1 WG2 WG3 


Hmmm... So you want to implement a kind of browsing of SMB networks 
directly in the filesystem?  I'm not aware of anyone doing anything like 
that. In my experience browsing Windows networks tends to be slow and 
unreliable, would you want to have something like that implemented in a 
filesystem?

It would be very interesting to see working however! Perhaps it could be 
implemented as an extension to smbfs?

P.S. Sorry for my English. I am from Ukraine :) 


Don't worry, I had no trouble understanding. :)

Andrew.



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: supported USB ADSL modems

2003-03-23 Thread Andrew Boothman
DJ Boris wrote:

I have done some reading and you are right. I can't see any USB ADSL
supported modems... there are some Alcatels but people are having probs with
them. If I understand correctly the Ethernet ADSL modems aren't dependant on
host drivers. Am I correct? Does that mean that I can use them under fbsd?
Can you give me some guidelines?
That's right. Anything that presents an Ethernet connection is simply 
going to be accessed by a normal Ethernet card in your PC, and you 
shouldn't have any trouble getting one of them to work. ;)

I believe that ADSL might need something PPPoE to login to your 
provider, but FreeBSD's PPP support should provide that no problem.

Andrew.



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: UML program

2003-03-23 Thread Socketd
On 2003.03.23 17:07 Mike Meyer wrote:
make search in /usr/ports is your friend.

Doing make search key=UML there turns up two things, one of which
clearly isn't what you want. The other is /usr/ports/devel/umbrello,
which is described as a UML diagrame programme for KDE.
Mike, Andreas, konrad and Den, thanks for your replies :-)

br
socketd
To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Help :) Kernel compile fails.

2003-03-23 Thread Charlie Schluting
I was wondering if anyone could help:
I'm using 5.0, and I just updated src-base and src-all with cvs.

The make command fails when it starts linking everything together.. and it
stopped in the same place before I did a make buildworld. Whether
I delete the src tree and start over, or I just try and recompile, it
fails. Here's the errors, and below that is my
kernel config:
Any help would be VERY much appreciated :)
(I noticed some mention of mutexes in the below errors... so I think I'm
going to enable spinlock and deadlock detection in the kernel, and try
another compile while I wait for a response... just a hunch, it probably
won't work)

 linking kernel
init_main.o: In function `proc0_init':
init_main.o(.text+0x2b9): undefined reference to `kse0_sched'
init_main.o(.text+0x2c3): undefined reference to `ksegrp0_sched'
init_main.o(.text+0x2cd): undefined reference to `proc0_sched'
init_main.o(.text+0x2d7): undefined reference to `thread0_sched'
kern_clock.o: In function `statclock':
kern_clock.o(.text+0x584): undefined reference to `sched_clock'
kern_condvar.o: In function `cv_wait':
kern_condvar.o(.text+0x145): undefined reference to `sched_sleep'
kern_condvar.o: In function `cv_wait_sig':
kern_condvar.o(.text+0x354): undefined reference to `sched_sleep'
kern_condvar.o: In function `cv_timedwait':
kern_condvar.o(.text+0x5f4): undefined reference to `sched_sleep'
kern_condvar.o: In function `cv_timedwait_sig':
kern_condvar.o(.text+0x8a4): undefined reference to `sched_sleep'
kern_exit.o: In function `wait1':
kern_exit.o(.text+0x104a): undefined reference to `sched_exit'
kern_fork.o: In function `fork1':
kern_fork.o(.text+0xb65): undefined reference to `sched_fork'
kern_idle.o: In function `idle_proc':
kern_idle.o(.text+0xa9): undefined reference to `sched_runnable'
kern_mutex.o: In function `propagate_priority':
kern_mutex.o(.text+0x7a): undefined reference to `sched_prio'
kern_proc.o: In function `procinit':
kern_proc.o(.text+0xe3): undefined reference to `sched_sizeof_proc'
kern_proc.o: In function `fill_kinfo_proc':
kern_proc.o(.text+0x116b): undefined reference to `sched_pctcpu'
kern_resource.o: In function `donice':
kern_resource.o(.text+0x7e8): undefined reference to `sched_nice'
kern_subr.o: In function `uio_yield':
kern_subr.o(.text+0x4ac): undefined reference to `sched_prio'
kern_switch.o: In function `choosethread':
kern_switch.o(.text+0x9): undefined reference to `sched_choose'
kern_switch.o: In function `kse_reassign':
kern_switch.o(.text+0xea): undefined reference to `sched_add'
kern_switch.o: In function `adjustrunqueue':
kern_switch.o(.text+0x168): undefined reference to `sched_rem'
kern_switch.o(.text+0x170): undefined reference to `sched_add'
kern_switch.o(.text+0x19e): undefined reference to `sched_rem'
kern_switch.o: In function `setrunqueue':
kern_switch.o(.text+0x293): undefined reference to `sched_rem'
kern_switch.o(.text+0x34d): undefined reference to `sched_add'
kern_synch.o: In function `msleep':
kern_synch.o(.text+0x351): undefined reference to `sched_sleep'
kern_synch.o: In function `mi_switch':
kern_synch.o(.text+0xa22): undefined reference to `sched_switchout'
kern_synch.o(.text+0xa3d): undefined reference to `sched_switchin'
kern_synch.o: In function `setrunnable':
kern_synch.o(.text+0xb3b): undefined reference to `sched_wakeup'
kern_synch.o: In function `yield':
kern_synch.o(.text+0xd4a): undefined reference to `sched_prio'
kern_thread.o: In function `threadinit':
kern_thread.o(.text+0x1107): undefined reference to `sched_sizeof_thread'
kern_thread.o(.text+0x1151): undefined reference to `sched_sizeof_ksegrp'
kern_thread.o(.text+0x119b): undefined reference to `sched_sizeof_kse'
subr_trap.o: In function `userret':
subr_trap.o(.text+0x18): undefined reference to `sched_userret'
subr_trap.o: In function `ast':
subr_trap.o(.text+0x451): undefined reference to `sched_prio'
ksched.o: In function `ksched_attach':
ksched.o(.text+0x2e): undefined reference to `sched_rr_interval'
ksched.o: In function `ksched_setscheduler':
ksched.o(.text+0x2b3): undefined reference to `sched_prio'
ksched.o(.text+0x363): undefined reference to `sched_prio'
vm_zeroidle.o: In function `vm_pagezero':
vm_zeroidle.o(.text+0x2f9): undefined reference to `sched_runnable'
vm_pageout.o: In function `vm_pageout_scan':
vm_pageout.o(.text+0x164c): undefined reference to `sched_nice'
kbd.o: In function `kbd_register':
kbd.o(.text+0x350): undefined reference to `__start_set_kbddriver_set'
kbd.o(.text+0x356): undefined reference to `__stop_set_kbddriver_set'
kbd.o(.text+0x384): undefined reference to `__stop_set_kbddriver_set'
kbd.o: In function `kbd_get_switch':
kbd.o(.text+0x47a): undefined reference to `__start_set_kbddriver_set'
kbd.o(.text+0x480): undefined reference to `__stop_set_kbddriver_set'
kbd.o(.text+0x4b5): undefined reference to `__stop_set_kbddriver_set'
kbd.o: In function `kbd_configure':
kbd.o(.text+0x763): undefined reference to `__start_set_kbddriver_set'
kbd.o(.text+0x769): undefined reference 

psm0: failed to get data on i810

2003-03-23 Thread Denn
Hello, All!

System: Celeron 366 (414) MHz, i810 chipset, 128 Mb RAM, video - i810, sound -  
cmi8738, network adapter - RealTek 8029.

FreeBSD 4.7-RELEASE
The same is suitable  to FreeBSD 4.8 RC1, FreeBSD 5.0 R.

Trouble: the system hangs up while trying to detect the connected mouse.

Messages (mouse connected):
/kernel: atkbdc0: Keyboard controller (i8042) at port 0x60,0x64 on isa0
/kernel: atkbd0: AT Keyboard irq 1 on atkbdc0
/kernel: psm0: current command byte:0047
/kernel: psm0: failed to get data.
/kernel: psm0: failed to get status.
/kernel: psm0: PS/2 Mouse flags 0x200 irq 12 on atkbdc0
/kernel: psm0: model Generic PS/2 mouse, device ID 171-00, 2 buttons
/kernel: psm0: config:0200, flags:, packet size:3
/kernel: psm0: syncmask:00, syncbits:00

Messages (no mouse connected):
/kernel: atkbdc0: Keyboard controller (i8042) at port 0x60,0x64 on isa0
/kernel: atkbd0: AT Keyboard irq 1 on atkbdc0
/kernel: psm0: current command byte:0047
/kernel: psm0: failed to enable the aux device.

Then the system works fine... but no mouse.

Could you help me to understand the reason, please.

Best regards,
Denn


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: Help :) Kernel compile fails.

2003-03-23 Thread taxman
On Sunday 23 March 2003 02:16 pm, Charlie Schluting wrote:
 I was wondering if anyone could help:
 I'm using 5.0, and I just updated src-base and src-all with cvs.

To what? If you're going to -current you need the read the appropriate 
documentation.  If you're refering to 5.0 Release, similiar questions get 
asked a lot so see: http://mired.org:8080/5.0-not-production.html
You've missed a few items noted there.
Goo luck,

Tim

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: Help :) Kernel compile fails.

2003-03-23 Thread Charlie Schluting
Ah, sorry about that. In my cvsup file I said: src-all release=cvs for
the
sources, because it wouldn't take anything else. I tried saying
current and release, but to no avail. Maybe I should be trying
release, but I can't seeme to get the release src..


On Sun, 23 Mar 2003, taxman wrote:

 On Sunday 23 March 2003 02:16 pm, Charlie Schluting wrote:
  I was wondering if anyone could help:
  I'm using 5.0, and I just updated src-base and src-all with cvs.

 To what? If you're going to -current you need the read the appropriate
 documentation.  If you're refering to 5.0 Release, similiar questions get
 asked a lot so see: http://mired.org:8080/5.0-not-production.html
 You've missed a few items noted there.
 Goo luck,

 Tim


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: Help :) Kernel compile fails.

2003-03-23 Thread Jan-Espen Pettersen

Sorry if this message was sent twice. My mailsystem failed to send the first message 
(at least to the mailing list).

On Sunday 23 March 2003 20:16, Charlie Schluting wrote:
 I was wondering if anyone could help:
 I'm using 5.0, and I just updated src-base and src-all with cvs.

 The make command fails when it starts linking everything together.. and it
 stopped in the same place before I did a make buildworld. Whether
 I delete the src tree and start over, or I just try and recompile, it
 fails. Here's the errors, and below that is my
 kernel config:
 Any help would be VERY much appreciated :)
 (I noticed some mention of mutexes in the below errors... so I think I'm
 going to enable spinlock and deadlock detection in the kernel, and try
 another compile while I wait for a response... just a hunch, it probably
 won't work)

  linking kernel
 init_main.o: In function `proc0_init':
 init_main.o(.text+0x2b9): undefined reference to `kse0_sched'
 init_main.o(.text+0x2c3): undefined reference to `ksegrp0_sched'
 init_main.o(.text+0x2cd): undefined reference to `proc0_sched'
 init_main.o(.text+0x2d7): undefined reference to `thread0_sched'
 kern_clock.o: In function `statclock':
 kern_clock.o(.text+0x584): undefined reference to `sched_clock'
 kern_condvar.o: In function `cv_wait':
 kern_condvar.o(.text+0x145): undefined reference to `sched_sleep'
 kern_condvar.o: In function `cv_wait_sig':
 kern_condvar.o(.text+0x354): undefined reference to `sched_sleep'
 kern_condvar.o: In function `cv_timedwait':
 kern_condvar.o(.text+0x5f4): undefined reference to `sched_sleep'
 kern_condvar.o: In function `cv_timedwait_sig':
 kern_condvar.o(.text+0x8a4): undefined reference to `sched_sleep'
 kern_exit.o: In function `wait1':
 kern_exit.o(.text+0x104a): undefined reference to `sched_exit'
 kern_fork.o: In function `fork1':
 kern_fork.o(.text+0xb65): undefined reference to `sched_fork'
 kern_idle.o: In function `idle_proc':
 kern_idle.o(.text+0xa9): undefined reference to `sched_runnable'
 kern_mutex.o: In function `propagate_priority':
 kern_mutex.o(.text+0x7a): undefined reference to `sched_prio'
 kern_proc.o: In function `procinit':
 kern_proc.o(.text+0xe3): undefined reference to `sched_sizeof_proc'
 kern_proc.o: In function `fill_kinfo_proc':
 kern_proc.o(.text+0x116b): undefined reference to `sched_pctcpu'
 kern_resource.o: In function `donice':
 kern_resource.o(.text+0x7e8): undefined reference to `sched_nice'
 kern_subr.o: In function `uio_yield':
 kern_subr.o(.text+0x4ac): undefined reference to `sched_prio'
 kern_switch.o: In function `choosethread':
 kern_switch.o(.text+0x9): undefined reference to `sched_choose'
 kern_switch.o: In function `kse_reassign':
 kern_switch.o(.text+0xea): undefined reference to `sched_add'
 kern_switch.o: In function `adjustrunqueue':
 kern_switch.o(.text+0x168): undefined reference to `sched_rem'
 kern_switch.o(.text+0x170): undefined reference to `sched_add'
 kern_switch.o(.text+0x19e): undefined reference to `sched_rem'
 kern_switch.o: In function `setrunqueue':
 kern_switch.o(.text+0x293): undefined reference to `sched_rem'
 kern_switch.o(.text+0x34d): undefined reference to `sched_add'
 kern_synch.o: In function `msleep':
 kern_synch.o(.text+0x351): undefined reference to `sched_sleep'
 kern_synch.o: In function `mi_switch':
 kern_synch.o(.text+0xa22): undefined reference to `sched_switchout'
 kern_synch.o(.text+0xa3d): undefined reference to `sched_switchin'
 kern_synch.o: In function `setrunnable':
 kern_synch.o(.text+0xb3b): undefined reference to `sched_wakeup'
 kern_synch.o: In function `yield':
 kern_synch.o(.text+0xd4a): undefined reference to `sched_prio'
 kern_thread.o: In function `threadinit':
 kern_thread.o(.text+0x1107): undefined reference to `sched_sizeof_thread'
 kern_thread.o(.text+0x1151): undefined reference to `sched_sizeof_ksegrp'
 kern_thread.o(.text+0x119b): undefined reference to `sched_sizeof_kse'
 subr_trap.o: In function `userret':
 subr_trap.o(.text+0x18): undefined reference to `sched_userret'
 subr_trap.o: In function `ast':
 subr_trap.o(.text+0x451): undefined reference to `sched_prio'
 ksched.o: In function `ksched_attach':
 ksched.o(.text+0x2e): undefined reference to `sched_rr_interval'
 ksched.o: In function `ksched_setscheduler':
 ksched.o(.text+0x2b3): undefined reference to `sched_prio'
 ksched.o(.text+0x363): undefined reference to `sched_prio'
 vm_zeroidle.o: In function `vm_pagezero':
 vm_zeroidle.o(.text+0x2f9): undefined reference to `sched_runnable'
 vm_pageout.o: In function `vm_pageout_scan':
 vm_pageout.o(.text+0x164c): undefined reference to `sched_nice'
 kbd.o: In function `kbd_register':
 kbd.o(.text+0x350): undefined reference to `__start_set_kbddriver_set'
 kbd.o(.text+0x356): undefined reference to `__stop_set_kbddriver_set'
 kbd.o(.text+0x384): undefined reference to `__stop_set_kbddriver_set'
 kbd.o: In function `kbd_get_switch':
 kbd.o(.text+0x47a): undefined reference to `__start_set_kbddriver_set'
 kbd.o(.text+0x480): 

Re: Help :) Kernel compile fails.

2003-03-23 Thread Kent Stewart
On Sunday 23 March 2003 11:16 am, Charlie Schluting wrote:
 I was wondering if anyone could help:
 I'm using 5.0, and I just updated src-base and src-all with cvs.

 The make command fails when it starts linking everything together..
 and it stopped in the same place before I did a make buildworld.
 Whether I delete the src tree and start over, or I just try and
 recompile, it fails. Here's the errors, and below that is my
 kernel config:
 Any help would be VERY much appreciated :)
 (I noticed some mention of mutexes in the below errors... so I think
 I'm going to enable spinlock and deadlock detection in the kernel,
 and try another compile while I wait for a response... just a hunch,
 it probably won't work)

You need to check GENERIC and /usr/src/UPDATING. A scheduling option was 
added a while back and you don't appear to have included it in your 
kernel config file.

Kent


  linking kernel
 init_main.o: In function `proc0_init':
 init_main.o(.text+0x2b9): undefined reference to `kse0_sched'
 init_main.o(.text+0x2c3): undefined reference to `ksegrp0_sched'
 init_main.o(.text+0x2cd): undefined reference to `proc0_sched'
 init_main.o(.text+0x2d7): undefined reference to `thread0_sched'
 kern_clock.o: In function `statclock':
 kern_clock.o(.text+0x584): undefined reference to `sched_clock'
 kern_condvar.o: In function `cv_wait':
 kern_condvar.o(.text+0x145): undefined reference to `sched_sleep'
 kern_condvar.o: In function `cv_wait_sig':
 kern_condvar.o(.text+0x354): undefined reference to `sched_sleep'
 kern_condvar.o: In function `cv_timedwait':
 kern_condvar.o(.text+0x5f4): undefined reference to `sched_sleep'
 kern_condvar.o: In function `cv_timedwait_sig':
 kern_condvar.o(.text+0x8a4): undefined reference to `sched_sleep'
 kern_exit.o: In function `wait1':
 kern_exit.o(.text+0x104a): undefined reference to `sched_exit'
 kern_fork.o: In function `fork1':
 kern_fork.o(.text+0xb65): undefined reference to `sched_fork'
 kern_idle.o: In function `idle_proc':
 kern_idle.o(.text+0xa9): undefined reference to `sched_runnable'
 kern_mutex.o: In function `propagate_priority':
 kern_mutex.o(.text+0x7a): undefined reference to `sched_prio'
 kern_proc.o: In function `procinit':
 kern_proc.o(.text+0xe3): undefined reference to `sched_sizeof_proc'
 kern_proc.o: In function `fill_kinfo_proc':
 kern_proc.o(.text+0x116b): undefined reference to `sched_pctcpu'
 kern_resource.o: In function `donice':
 kern_resource.o(.text+0x7e8): undefined reference to `sched_nice'
 kern_subr.o: In function `uio_yield':
 kern_subr.o(.text+0x4ac): undefined reference to `sched_prio'
 kern_switch.o: In function `choosethread':
 kern_switch.o(.text+0x9): undefined reference to `sched_choose'
 kern_switch.o: In function `kse_reassign':
 kern_switch.o(.text+0xea): undefined reference to `sched_add'
 kern_switch.o: In function `adjustrunqueue':
 kern_switch.o(.text+0x168): undefined reference to `sched_rem'
 kern_switch.o(.text+0x170): undefined reference to `sched_add'
 kern_switch.o(.text+0x19e): undefined reference to `sched_rem'
 kern_switch.o: In function `setrunqueue':
 kern_switch.o(.text+0x293): undefined reference to `sched_rem'
 kern_switch.o(.text+0x34d): undefined reference to `sched_add'
 kern_synch.o: In function `msleep':
 kern_synch.o(.text+0x351): undefined reference to `sched_sleep'
 kern_synch.o: In function `mi_switch':
 kern_synch.o(.text+0xa22): undefined reference to `sched_switchout'
 kern_synch.o(.text+0xa3d): undefined reference to `sched_switchin'
 kern_synch.o: In function `setrunnable':
 kern_synch.o(.text+0xb3b): undefined reference to `sched_wakeup'
 kern_synch.o: In function `yield':
 kern_synch.o(.text+0xd4a): undefined reference to `sched_prio'
 kern_thread.o: In function `threadinit':
 kern_thread.o(.text+0x1107): undefined reference to
 `sched_sizeof_thread' kern_thread.o(.text+0x1151): undefined
 reference to `sched_sizeof_ksegrp' kern_thread.o(.text+0x119b):
 undefined reference to `sched_sizeof_kse' subr_trap.o: In function
 `userret':
 subr_trap.o(.text+0x18): undefined reference to `sched_userret'
 subr_trap.o: In function `ast':
 subr_trap.o(.text+0x451): undefined reference to `sched_prio'
 ksched.o: In function `ksched_attach':
 ksched.o(.text+0x2e): undefined reference to `sched_rr_interval'
 ksched.o: In function `ksched_setscheduler':
 ksched.o(.text+0x2b3): undefined reference to `sched_prio'
 ksched.o(.text+0x363): undefined reference to `sched_prio'
 vm_zeroidle.o: In function `vm_pagezero':
 vm_zeroidle.o(.text+0x2f9): undefined reference to `sched_runnable'
 vm_pageout.o: In function `vm_pageout_scan':
 vm_pageout.o(.text+0x164c): undefined reference to `sched_nice'
 kbd.o: In function `kbd_register':
 kbd.o(.text+0x350): undefined reference to
 `__start_set_kbddriver_set' kbd.o(.text+0x356): undefined reference
 to `__stop_set_kbddriver_set' kbd.o(.text+0x384): undefined reference
 to `__stop_set_kbddriver_set' kbd.o: In function `kbd_get_switch':
 kbd.o(.text+0x47a): undefined reference 

Re: Help :) Kernel compile fails.

2003-03-23 Thread taxman
On Sunday 23 March 2003 02:31 pm, Charlie Schluting wrote:
 Ah, sorry about that. In my cvsup file I said: src-all release=cvs for
 the
 sources, because it wouldn't take anything else. I tried saying
 current and release, but to no avail. Maybe I should be trying
 release, but I can't seeme to get the release src..

ahh then your question is really about cvs tags and cvsup.  See:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvs-tags.html
and the other pages noted in the link i sent you

It seems you have the skills to run -current or whatever, but you need to read 
more documentation to see how it all works.  Skim the *whole* handbook table 
of contents and familiarize yourself with all the links on the FreeBSD 
hompage.  You'll find an amazing amount of stuff for what you're trying to 
do.   
You'll get a lot more help if you read the available docs first.

Tim


 On Sun, 23 Mar 2003, taxman wrote:
  On Sunday 23 March 2003 02:16 pm, Charlie Schluting wrote:
   I was wondering if anyone could help:
   I'm using 5.0, and I just updated src-base and src-all with cvs.
 
  To what? If you're going to -current you need the read the appropriate
  documentation.  If you're refering to 5.0 Release, similiar questions get
  asked a lot so see: http://mired.org:8080/5.0-not-production.html
  You've missed a few items noted there.
  Goo luck,
 
  Tim


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: Help :) Kernel compile fails.

2003-03-23 Thread Charlie Schluting

Thank you everyone :)
I started reading about how the tags work just before you sent that email
taxman :)
So, now I understand.
Thanks again.
-Charlie

On Sun, 23 Mar 2003, taxman wrote:

 On Sunday 23 March 2003 02:31 pm, Charlie Schluting wrote:
  Ah, sorry about that. In my cvsup file I said: src-all release=cvs for
  the
  sources, because it wouldn't take anything else. I tried saying
  current and release, but to no avail. Maybe I should be trying
  release, but I can't seeme to get the release src..

 ahh then your question is really about cvs tags and cvsup.  See:
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvs-tags.html
 and the other pages noted in the link i sent you

 It seems you have the skills to run -current or whatever, but you need to read
 more documentation to see how it all works.  Skim the *whole* handbook table
 of contents and familiarize yourself with all the links on the FreeBSD
 hompage.  You'll find an amazing amount of stuff for what you're trying to
 do.
   You'll get a lot more help if you read the available docs first.

 Tim

 
  On Sun, 23 Mar 2003, taxman wrote:
   On Sunday 23 March 2003 02:16 pm, Charlie Schluting wrote:
I was wondering if anyone could help:
I'm using 5.0, and I just updated src-base and src-all with cvs.
  
   To what? If you're going to -current you need the read the appropriate
   documentation.  If you're refering to 5.0 Release, similiar questions get
   asked a lot so see: http://mired.org:8080/5.0-not-production.html
   You've missed a few items noted there.
   Goo luck,
  
   Tim



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: supported USB ADSL modems

2003-03-23 Thread Matthew Ryan
Hi there,

 The speed touch modem is supported and last time I used it the pppoA 
port was good for the job.

I seem to remember having some useful stuff kicking around, how to's 
etc. I'll have a look when I get home later.  The Modem it's self 
however is petty unreliable over time and I found that I needed a cron 
job to disconnect and reconnect every night. Although Kernel PPP (user 
PPP does not do pppoA to my knowledge) does allow for a persistant 
connection, it seems that the modem just crashes sometimes and the only 
solution is to power down the USB port or restart the host machine. 
Hope this helps.

On Sunday, March 23, 2003, at 06:33  pm, Andrew Boothman wrote:

taxman wrote:

On Sunday 23 March 2003 11:00 am, DJ Boris wrote:

hi there,

where can I find out what USB ADSL modems are supported by freeBSD.
I am using 5.0-release and thinking of getting ADSL.
Can anyone help?
Well if they were supported, they would most likely be listed in the 
hardware page for your release listed on the FreeBSD homepage.

I don't think any USB ADSL modems are supported but I could be wrong. 
 Try to get them to give you an ethernet version.  Most anything that 
connects by ethernet would be supported.  They may tell you they 
can't, but if you press them, they almost always have some ethernet 
hardware available.

I believe there is support for Alcatel SpeedTouch modems using 
net/pppoa from ports.

I've no experience with it however. If you ask me an ethernet 
interface is always better for networking tasks.

You may also be interested to know that Bruce Simpson [EMAIL PROTECTED] is 
working on a driver for the Efficent Networks SpeedStream 3060 line of 
xDSL PCI Cards. The driver isn't working yet but you can contact him 
for details about helping him test it.

Cheers.

Andrew.



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message

Matthew Ryan

[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


AirportExtreme with FreeBSD HostAP

2003-03-23 Thread Aaron Daubman
Hi,

I have done a bit of research on the topic, and I've only been able to find
sporadic postings to several newsgroups (mostly Open/Net BSD related)
hinting at the fact that Apple's AirportExtreme (talking 802.11b, not g
here) drivers are incompatible with Free/Net/Open BSD HostAP mode APs with
WEP enabled... 

From my experiences, I cannot get my PowerBook to connect to my FreeBSD
4-Stable (built 2 nights ago) HostAP, WinXP clients work fine.

The PowerBook returns invalid password (128bit wep Key entered in Hex)
supplied.

Has anybody had experience getting an AirportExtreme client to work with a
FreeBSD HostAP? Any Pointers? (Must I disable WEP (as useless as it may
be...)?)

Thank you,
~Aaron

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of John Fitzgibbon
Sent: Sunday, March 23, 2003 4:33 PM
To: Giorgos Keramidas
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: Repeated ACKs - possible DoS?

Note to freebsd-net readers: I'm cc'ing this email because this seems like
a 
net issue - full thread is in freebsd-questions.


I've been looking at the code in sys/netinet/tcp_input.c.

The behavior seems consistent with inducing tcp_input() to jump to the 
dropafterack label for every incoming ACK.

The most promising way to do this seems to be to set the T/TCP options when 
initializing the connection, then just stop using them on some subsequent 
ACK, (or give the wrong CC value). The code is around line 1420:

/*
 * T/TCP mechanism
 *   If T/TCP was negotiated and the segment doesn't have CC,
 *   or if its CC is wrong then drop the segment.
 *   RST segments do not have to comply with this.
 */
if ((tp-t_flags  (TF_REQ_CC|TF_RCVD_CC)) == (TF_REQ_CC|TF_RCVD_CC) 
((to.to_flags  TOF_CC) == 0 || tp-cc_recv != to.to_cc))
goto dropafterack;

It may also be possible to cause the jump to dropafterack with the
timestamp 
option, (RFC 1323 - the code is just above the previous T/TCP code). This 
would jive with the fact that the client connection seemed to be a Windows

98 machine, (from the Apache logs), and apparently the Windows 98 
implementation of RFC 1323 is flawed. However, I'm less sure what kind of 
invalid options scenario would be required.

In any case, I haven't done enough research to be 100% sure that either of 
these approaches can cause the behavior I observed. All I AM sure of is that

I observed the repeated ACK situation, and it was a pretty darn effective 
DoS. I'm also sure that banging ACKs back and forth at full speed is NOT how

TCP/IP is supposed to work.

Hopefully this might be enough of a lead to get someone's thought processes 
going.
Fitz.


On Thursday 20 March 2003 06:02 pm, Giorgos Keramidas wrote:
 On 2003-03-20 17:15, John Fitzgibbon [EMAIL PROTECTED] wrote:
 On Thursday 20 March 2003 04:43 pm, Giorgos Keramidas wrote:
  X is remote. Y is server, (FreeBSD 4.7-STABLE, built 2003/01/06)
 
  tcpdump shows 2 remote connections repeatedly sending ack 1:
 
  09:16:10.236812 X.64670  Y.http: . ack 1 win 32589
  09:16:10.236879 Y.http  X.64670: . ack 489 win 58400 (DF)
 
  Hmmm, is this repeatable?  Can you try to grab the output of the
  following command in a log file while it happens?
 
 # tcpdump -n -v -s 128 -XX port 80
 
  I haven't seen this behavior before, and I don't know how to recreate it
  :(

 Damn :(

 If this is a bug that you've hit upon, please note that command and
 run it if it ever happens to appear again.  The log file is going to
 be large, but I'll help a lot to have it around when trying to find
 out what happens.

 - Giorgos


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-net in the body of the message



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: UML program

2003-03-23 Thread Simon Barner
Hi,

 In windows they have two programs for making UML class diagrams, 
 Together and Rose, do we have anything like that in FreeBSD?

This his been discussed recently in this list:

Message-ID: [EMAIL PROTECTED]
Date: Wed, 19 Mar 2003 11:08:30 +0100
From: INV/Stefan K. [EMAIL PROTECTED]
Subject: Which program for UML-modelling?

You can find this thread on http://groups.google.com and in the FreeBSD mail
archive: http://www.freebsd.org/search/search.html#mailinglists

Simon


signature.asc
Description: Digital signature


Re: where packets are dropped in route

2003-03-23 Thread Jason Hunt
On Sat, Mar 22, 2003 at 11:32:15PM +, [EMAIL PROTECTED] wrote:
  Maybe your ISP is blocking port 22 after all. nmap will tell you.
  
 
 can nmap (which i don't have installed) tell me more
 than telnet - as far as a where a specific IP/port packet
 is being blocked/dropped?
 

If you mean where along the path it is getting dropped, no.  Other than
what you have tried so far with traceroute, I don't believe there is
really any way to tell WHERE certain ports are being dropped.  For all
you know, there could be a transparent firewall that drops the packet
and does not send back an ICMP notification.

Hope this helps.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: Moving Disks to new PC Machines

2003-03-23 Thread Bill Moran
Joseph Maxwell wrote:
Hello,
I need to move my system ( actually 2 hard disk) to another machine w/
different MotherBoard and CPU. The disks have been configured as a
bootablesyetm disk and the other data storage. How can I reconfigure to
achieve this with the minimum amount of perturbation.
While the disks are in the old machine, verify that your current kernel
has compiled-in support for all the devices needed on the new machine.
If necessary, make a new kernel.  Then move the disks to the new machine
and you're ready to go.
--
Bill Moran
Potential Technologies
http://www.potentialtech.com
To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


UML program

2003-03-23 Thread Socketd
Hi all

In windows they have two programs for making UML class diagrams, 
Together and Rose, do we have anything like that in FreeBSD?

bwt please CC to me as I am _not_ on the list!

br
socketd
To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Moving Disks to new PC Machines

2003-03-23 Thread Joseph Maxwell
Hello,
I need to move my system ( actually 2 hard disk) to another machine w/
different MotherBoard and CPU. The disks have been configured as a
bootablesyetm disk and the other data storage. How can I reconfigure to
achieve this with the minimum amount of perturbation.
Thanks
Joe


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: UML program

2003-03-23 Thread Mike Meyer
In [EMAIL PROTECTED], Socketd [EMAIL PROTECTED] typed:
 In windows they have two programs for making UML class diagrams, 
 Together and Rose, do we have anything like that in FreeBSD?

make search in /usr/ports is your friend.

Doing make search key=UML there turns up two things, one of which
clearly isn't what you want. The other is /usr/ports/devel/umbrello,
which is described as a UML diagrame programme for KDE.

 bwt please CC to me as I am _not_ on the list!

That's SOP for this list.

mike
-- 
Mike Meyer [EMAIL PROTECTED]  http://www.mired.org/consulting.html
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: XFree and ltconfig trouble

2003-03-23 Thread Vallo Kallaste
On Wed, Mar 19, 2003 at 04:54:31PM +0100, Pierrick Brossin 
[EMAIL PROTECTED] wrote:

 I'm having troubles with ltconfig when compiling XF
 I get the following error:
 
 ---
 checking for BSD-compatible nm... (cached) /usr/bin/nm -B
 checking whether ln -s works... (cached) yes
 updating cache .././config.cache
 /ltconfig: Can't open /ltconfig: No such file or directory
 configure: error: libtool configure failed
 configure: error: ./configure failed for glib-1.2.8
 ===  Script configure failed unexpectedly.
   Please report the problem to [EMAIL PROTECTED] [maintainer] and attach
   the /usr/ports/devel/pkgconfig/work/pkgconfig-0.15.0/config.log
   including the output of the failure of your make command. Also, it might
   be a good idea to provide an overview of all packages installed on your
   system (e.g. an `ls /var/db/pkg`).
 *** Error code 1
 
 Stop in /usr/ports/devel/pkgconfig.
 *** Error code 1
 
 Stop in /usr/ports/x11-fonts/fontconfig.
 *** Error code 1
 
 Stop in /usr/ports/x11/XFree86-4-libraries.
 *** Error code 1
 
 Stop in /usr/ports/x11/XFree86-4.

Update your ports tree, it seems to be fixed by Kris commit to
bsd.port.mk yesterday. I had the same problem, for weeks of time.
-- 

Vallo Kallaste

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: Repeated ACKs - possible DoS?

2003-03-23 Thread John Fitzgibbon
Note to freebsd-net readers: I'm cc'ing this email because this seems like a 
net issue - full thread is in freebsd-questions.


I've been looking at the code in sys/netinet/tcp_input.c.

The behavior seems consistent with inducing tcp_input() to jump to the 
dropafterack label for every incoming ACK.

The most promising way to do this seems to be to set the T/TCP options when 
initializing the connection, then just stop using them on some subsequent 
ACK, (or give the wrong CC value). The code is around line 1420:

/*
 * T/TCP mechanism
 *   If T/TCP was negotiated and the segment doesn't have CC,
 *   or if its CC is wrong then drop the segment.
 *   RST segments do not have to comply with this.
 */
if ((tp-t_flags  (TF_REQ_CC|TF_RCVD_CC)) == (TF_REQ_CC|TF_RCVD_CC) 
((to.to_flags  TOF_CC) == 0 || tp-cc_recv != to.to_cc))
goto dropafterack;

It may also be possible to cause the jump to dropafterack with the timestamp 
option, (RFC 1323 - the code is just above the previous T/TCP code). This 
would jive with the fact that the client connection seemed to be a Windows 
98 machine, (from the Apache logs), and apparently the Windows 98 
implementation of RFC 1323 is flawed. However, I'm less sure what kind of 
invalid options scenario would be required.

In any case, I haven't done enough research to be 100% sure that either of 
these approaches can cause the behavior I observed. All I AM sure of is that 
I observed the repeated ACK situation, and it was a pretty darn effective 
DoS. I'm also sure that banging ACKs back and forth at full speed is NOT how 
TCP/IP is supposed to work.

Hopefully this might be enough of a lead to get someone's thought processes 
going.
Fitz.


On Thursday 20 March 2003 06:02 pm, Giorgos Keramidas wrote:
 On 2003-03-20 17:15, John Fitzgibbon [EMAIL PROTECTED] wrote:
 On Thursday 20 March 2003 04:43 pm, Giorgos Keramidas wrote:
  X is remote. Y is server, (FreeBSD 4.7-STABLE, built 2003/01/06)
 
  tcpdump shows 2 remote connections repeatedly sending ack 1:
 
  09:16:10.236812 X.64670  Y.http: . ack 1 win 32589
  09:16:10.236879 Y.http  X.64670: . ack 489 win 58400 (DF)
 
  Hmmm, is this repeatable?  Can you try to grab the output of the
  following command in a log file while it happens?
 
 # tcpdump -n -v -s 128 -XX port 80
 
  I haven't seen this behavior before, and I don't know how to recreate it
  :(

 Damn :(

 If this is a bug that you've hit upon, please note that command and
 run it if it ever happens to appear again.  The log file is going to
 be large, but I'll help a lot to have it around when trying to find
 out what happens.

 - Giorgos


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


RE: Sendmail and mymail

2003-03-23 Thread Jonas Fornander

Problem solved.

In the php.ini file the default setting (if sendmail_path is commented
out) is sendmail -t -i.
I configured sendmail_path to /usr/sbin/sendmail (without the flags) so
mymail didn't send the recipient to sendmail.

Jonas Fornander - System Administrator
Netwood Communications, LLC - www.netwood.net
Find out why we're better - 310-442-1530 

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of Dirk Meyer
 Sent: Saturday, March 22, 2003 9:37 PM
 To: [EMAIL PROTECTED]
 Subject: Re: Sendmail and mymail
 
 
 Jonas Fornander schrieb:,
 
  We upgraded sendmail to the latest version on our fbsd4.7p7 box. We 
  have mymail (a php mailer program) on the same server. Now 
 when we try 
  to send out from mymail, sendmail doesn't send it out. We 
 searched the 
  archives and saw that there has been problems with sendmail and the 
  tightened security however no solution was provided. It 
 seems like the 
  php function mail() doesn't work correctly.
 
 it works fine here.
 sendmail-8.12.8 / php-4.3.1
 
 sendmail[84990]: h2N5ReMw084990: from=www, size=2254, 
 class=0, nrcpts=1,
   msgid=[EMAIL PROTECTED], [EMAIL PROTECTED]
 sm-mta[84991]: h2N5ReaB084991: from=[EMAIL PROTECTED], size=2630, 
 class=0, nrcpts=1,
   msgid=[EMAIL PROTECTED], proto=ESMTP,
   daemon=MTA, [EMAIL PROTECTED]
 sendmail[84990]: h2N5ReMw084990: [EMAIL PROTECTED], 
 ctladdr=www (80/80),
   delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30056,
   relay=xxx,
 
 do you need register_globals = On for you application? 
 Defaults are now Off,  but some application may need the 
 old/unsafe) style. please check your php.ini.
 
 What errors do you get?
 
 kind regards Dirk
 
 - Dirk Meyer, Im Grund 4, 34317 Habichtswald, Germany
 - 
 [EMAIL PROTECTED],[EMAIL PROTECTED],[EMAIL PROTECTED]
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message
 


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Âñåãî îäèí âîïðîñ... è íà ñêîëüêî îí âàæåí äëÿ Âàñ?

2003-03-23 Thread searchmbl
 -  ?

www.searchmbl.narod.ru -!

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


SIGPIPE and threaded servers

2003-03-23 Thread Dave Hayes
I have a relatively simple threaded TCP server that services high
volumes of requests. Currently it appears to randomly crash receiving
a SIGPIPE.

Attempts to ignore SIGPIPE via the sigaction() semantic only prevent
me from sending the signal with kill to test whether or not SIGPIPE
is actually ignored. =/

What is going on here?
--
Dave Hayes - Altadena CA, USA - [EMAIL PROTECTED] 
 Opinions expressed above are entirely my own 

They that can give up essential liberty to obtain a little
temporary safety deserve neither liberty nor safety.
 -Benjamin Franklin



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: question on tin: how to configure auto user/pwd

2003-03-23 Thread Viktor Lazlo


On Sun, 23 Mar 2003 [EMAIL PROTECTED] wrote:

 I've read the man pages but see no option for configuring tin to auto magically 
 enter a user name/password when it connect to the nntpserver.
 Is there anyway to do this (my new provider require some random set of symbols for 
 username and password which make it hard to enter manually all the time). If there 
 is no way can you suggest an alternative news reader that might provide this option 
 but is non-graphical and similar to tin ?

To manually authenticate when connecting with tin use the -A flag when
invoking it from the command line, which causes tin to prompt you on
connection for the username and password.

To automate this, create a .newsauth file containing the nntp server name
and username and password in the format (described in man 5 tin):

nntpserver.myisp.com mypassword myusername

or

nntpserver.myisp.com mypassword [EMAIL PROTECTED]

Cheers,

Viktor


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


A novice question

2003-03-23 Thread Tamir Halperin
Which command retrieves the version / release number of my FreeBSD?

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: A novice question

2003-03-23 Thread Frank Reppin
On Sun, 23 Mar 2003, Tamir Halperin wrote:

 Which command retrieves the version / release number of my FreeBSD?



nomad# sysctl -a kern.version

kern.version: FreeBSD 4.7-RELEASE-p9 #0: Sun Mar 23 12:53:35 CET 2003
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/MINAX

best regards,
frank reppin



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Question regarding multiport serial cards

2003-03-23 Thread target

I am after a multiport serial card supported under FreeBSD.


Currently we have a Stallion 4port serial card (PCI) in an old
server however the new server has PCI-X 64bit slots.

After speaking to Stallion it seems they do not make a PCI
3.3V (PCI-X) version of the same card.


Digi do one though (Acceleport XP) but it seems Freebsd only supports
the ISA version - not the PCI version.



Does anyone know if the Digi is supported and/or have any other
recommendations for cards of choice?



thanks!


Peller


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: A novice question

2003-03-23 Thread Viktor Lazlo


On 23 Mar 2003, Lowell Gilbert wrote:

 Tamir Halperin [EMAIL PROTECTED] writes:

  Which command retrieves the version / release number of my FreeBSD?

 uname -m

uname -m only writes the hardware platform, uname -v gives the version.

Cheers,

Viktor



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: A novice question

2003-03-23 Thread Lowell Gilbert
Lowell Gilbert [EMAIL PROTECTED] writes:

 Tamir Halperin [EMAIL PROTECTED] writes:
 
  Which command retrieves the version / release number of my FreeBSD?
 
 uname -m

That should be uname -a; sorry about that.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Generating passwords

2003-03-23 Thread Tony
Is there a program that will give unique passwords to be as login passwords.
I seems to always stumble over deciding what it do.

Idealy the program would do somethin like running the backgound generating
passwords or random numbers and when asked generate a login password...

Thanks

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: Generating passwords

2003-03-23 Thread Jan-Espen Pettersen
On Monday 24 March 2003 05:38, Tony wrote:
 Is there a program that will give unique passwords to be as login
 passwords. I seems to always stumble over deciding what it do.

 Idealy the program would do somethin like running the backgound generating
 passwords or random numbers and when asked generate a login password...

 Thanks


This C program will generate random passwords.



/* Copyright (C) Jan-Espen Pettersen 
 * This software is distributed WITHOUT ANY WARRANTY
 */

#include stdio.h
#include stdlib.h
#include string.h

int main()
{
 int min_lenght = 8;
 int max_lenght = 30;
 int a;
 long int b;
 char *c = 
-abcdefghijklmnopqrstuvwxyz-ABCDEFGHIJKLMNOPQRSTUVWXYZ---_/*+1234567890!#---1234567890-;
 char *d; 
 long int e;
 srandomdev();
 e = random();
 e = min_lenght + (e % ((max_lenght - min_lenght) + 1));
 printf(lenght=%d\n, e);
 e++;
 d = (char *) malloc(e);
 e--;
 d[e] = 0;
 a = 0;
 while (a  e)
 {
  b = random();
  b = b % strlen(c);
  d[a] = c[b];
  a++;
 };
 printf(password=\%s\\n, d);
};


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: Generating passwords

2003-03-23 Thread Adam
On Sun, 2003-03-23 at 23:38, Tony wrote:
 Is there a program that will give unique passwords to be as login passwords.
 I seems to always stumble over deciding what it do.

 Idealy the program would do somethin like running the backgound generating
 passwords or random numbers and when asked generate a login 
 password...

-$ cat /usr/ports/security/apg/pkg-descr 
An automated password generator, using several strong algorithms
for random and/or pronounceable password generation, and a built-in
pseudo-random number generator.

WWW:http://www.adel.nursat.kz/apg/
Author: Adel I. Mirzazhanov [EMAIL PROTECTED]


This is a pretty popular and highly regarded password generator .. Give
it a shot .. 

Once it's installed, type 'man 8 apgd' .. This seems to be what you're after .. 

-- 
Adam [EMAIL PROTECTED]


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


gcc bug?

2003-03-23 Thread milo
hi, i can't compile the source code --
building profiled bz2 library
ranlib libbz2_p.a
cc -fpic -DPIC -O -pipe  -I/usr/src/lib/libbz2/../../contrib/bzip2  -c 
/usr/src/lib/libbz2/../../contrib/bzip2/bzlib.c -o bzlib.So
cc -fpic -DPIC -O -pipe  -I/usr/src/lib/libbz2/../../contrib/bzip2  -c 
/usr/src/lib/libbz2/../../contrib/bzip2/blocksort.c -o blocksort.So
cc -fpic -DPIC -O -pipe  -I/usr/src/lib/libbz2/../../contrib/bzip2  -c 
/usr/src/lib/libbz2/../../contrib/bzip2/compress.c -o compress.So
/usr/src/lib/libbz2/../../contrib/bzip2/compress.c: In function `sendMTFValues':
/usr/src/lib/libbz2/../../contrib/bzip2/compress.c:640: Internal compiler error in 
`finish_spills', at reload1.c:3961
Please submit a full bug report.
See URL:http://www.gnu.org/software/gcc/bugs.html for instructions.
*** Error code 1

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

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

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

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

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

Stop in /usr/src.

any ideas what's wrong?

thanks,
mio


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: Generating passwords

2003-03-23 Thread Adam
On Mon, 2003-03-24 at 00:04, Jan-Espen Pettersen wrote:
 This C program will generate random passwords.
 ...
 int main()
 {
  int min_lenght = 8;
  int max_lenght = 30;
  int a;
  long int b;
  char *c = 
 -abcdefghijklmnopqrstuvwxyz-ABCDEFGHIJKLMNOPQRSTUVWXYZ---_/*+1234567890!#---1234567890-;
  char *d; 
  long int e;
  srandomdev();
  e = random();
  e = min_lenght + (e % ((max_lenght - min_lenght) + 1));
  printf(lenght=%d\n, e);
  e++;
  d = (char *) malloc(e);
  e--;
  d[e] = 0;
  a = 0;
  while (a  e)
  {
   b = random();
   b = b % strlen(c);
   d[a] = c[b];
   a++;
  };
  printf(password=\%s\\n, d);
 };

I have a few issues with this code .. 
a) You never free() your malloc'ed memory

b) You shouldn't call strlen(c) every time you iterate through the
while() loop (since 'c' isn't changing). Set this length in a variable
before the while loop, then make use of that variable. This could even
be a #define, since the string is hard-coded.

c) I'm not sure this is completely portable: d[e] = 0;
Just in case, I'd suggest: d[e] = '\0';

d) Combine these two lines:
b = random();
b = b % strlen(c);
-- b = random() % len; // using 'len' variable as I mentioned before. 

e) You never return from main(). Some compilers will be very unhappy
about this. Better to be explicit.

f) You don't check the return value of malloc(). This should be a
no-brainer. *Always* check the return value of malloc/calloc, no matter
how little memory you are requesting.

-- 
Adam [EMAIL PROTECTED]


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: gcc bug?

2003-03-23 Thread Adam
On Mon, 2003-03-24 at 01:28, milo wrote:
 hi, i can't compile the source code --
 ...
 any ideas what's wrong?

What version of gcc are you using? 
If you don't know, type: gcc -v

-- 
Adam [EMAIL PROTECTED]


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: SIGPIPE and threaded servers

2003-03-23 Thread Dan Nelson
In the last episode (Mar 23), Dave Hayes said:
 I have a relatively simple threaded TCP server that services high
 volumes of requests. Currently it appears to randomly crash receiving
 a SIGPIPE.
 
 Attempts to ignore SIGPIPE via the sigaction() semantic only prevent
 me from sending the signal with kill to test whether or not SIGPIPE
 is actually ignored. =/

Then it's being ignored and your job is done :)
 
 What is going on here?

From the signal manpage:

 NameDefault Action  Description
 --  ---
 SIGPIPE terminate process   write on a pipe with no reader

It's doing just what it is supposed to.

-- 
Dan Nelson
[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


FreeBSD 5.0

2003-03-23 Thread
Hello, I just purchased the CD set yesterday and I was wondering is there a 
patch regarding this issue if I install the January 2003 CD.  The initial 
freebsd 5.0 cd's and iso images have a flaw in them related to bootable 
cd's, with the exact problem you are seeing here.

Please advise.

Thank you,

Regina
--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: FreeBSD 5.0

2003-03-23 Thread Greg 'groggy' Lehey
On Sunday, 23 March 2003 at 18:32:41 -0600,  wrote:
 Hello, I just purchased the CD set yesterday and I was wondering is
 there a patch regarding this issue if I install the January 2003 CD.
 The initial freebsd 5.0 cd's and iso images have a flaw in them
 related to bootable cd's, with the exact problem you are seeing
 here.

I have no idea what you're talking about.  How about describing your
problem?

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers


pgp0.pgp
Description: PGP signature


Re: FreeBSD 5.0

2003-03-23 Thread Greg 'groggy' Lehey
On Sunday, 23 March 2003 at 19:25:59 -0600, ! wrote:
 On  Sunday, March 23, 2003 7:42 PM, Greg 'groggy' Lehey wrote:
 On Sunday, 23 March 2003 at 18:32:41 -0600,  wrote:
 Hello, I just purchased the CD set yesterday and I was wondering is
 there a patch regarding this issue if I install the January 2003 CD.
 The initial freebsd 5.0 cd's and iso images have a flaw in them
 related to bootable cd's, with the exact problem you are seeing
 here.

 I have no idea what you're talking about.  How about describing your
 problem?

 I have not installed the software yet, but my concern is with this
 problem.

Which problem?

 My question is the bugs for January 2003 been worked out or should I
 wait until the bugs have been worked out.

All software contains bugs.  Is this one biting you?  If so, please
describe it.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
Finger [EMAIL PROTECTED] for PGP public key
See complete headers for address and phone numbers


pgp0.pgp
Description: PGP signature


Re: where packets are dropped in route

2003-03-23 Thread abc
   Maybe your ISP is blocking port 22 after all. nmap will tell you.
  
 
  can nmap (which i don't have installed) tell me more
  than telnet - as far as a where a specific IP/port packet
  is being blocked/dropped?
 
 
 If you mean where along the path it is getting dropped, no.  Other than
 what you have tried so far with traceroute, I don't believe there is
 really any way to tell WHERE certain ports are being dropped.  For all
 you know, there could be a transparent firewall that drops the packet
 and does not send back an ICMP notification.
 
 Hope this helps.

to finish the thread nicely, this is the result of nmap (-P0 required):

$ nmap -p 22 -P0 -sA MY-GW-IP

Starting nmap V. 3.00 ( www.insecure.org/nmap/ )
Interesting ports on (MY-GW-IP):
Port   State   Service
22/tcp filteredssh 

Nmap run completed -- 1 IP address (1 host up) scanned in 36 seconds

$ nmap -p 22 -P0 -sW MY-GW-IP

Starting nmap V. 3.00 ( www.insecure.org/nmap/ )
Interesting ports on (MY-GW-IP):
Port   State   Service
22/tcp filteredssh 

Nmap run completed -- 1 IP address (1 host up) scanned in 37 seconds

---

filtered means that nmap(1) cannot determine if a port
is open or closed - because it can't reach it, the
traceroute(8) utility confirms (i guess):

---

$ traceroute -p 22 -P tcp 12.17.140.247

 1  1-118-237-24 (24.237.118.1)  150.900 ms  226.750 ms  99.080 ms
 2  177-48-96-206 (206.96.48.177)  109.873 ms  118.265 ms  109.982 ms
 3  81-128-165-209 (209.165.128.81)  129.754 ms  108.081 ms  129.900 ms
 4  9-128-165-209 (209.165.128.9)  99.918 ms  108.252 ms *
 5  202-129-165-209 (209.165.129.202)  140.307 ms  128.159 ms  129.912 ms
 6  213-129-165-209 (209.165.129.213)  129.899 ms  128.249 ms  129.883 ms
 7  sl-gw11-sea-0-2.sprintlink.net (144.228.93.233)  129.916 ms  247.420 ms  119.160 ms
 8  sl-bb21-sea-9-3.sprintlink.net (144.232.6.117)  129.923 ms  129.112 ms  129.866 ms
 9  sprint-gw.st6wa.ip.att.net (192.205.32.173)  129.941 ms  236.239 ms  129.925 ms
10  gbr4-p40.st6wa.ip.att.net (12.123.44.134)  129.878 ms  276.170 ms  129.826 ms
11  gbr1-p40.st6wa.ip.att.net (12.122.5.162)  129.890 ms  128.086 ms  129.896 ms
12  gar1-p360.st6wa.ip.att.net (12.123.44.58)  139.894 ms  128.144 ms  129.860 ms
13  12.123.203.1 (12.123.203.1)  159.911 ms  159.252 ms  159.929 ms
14  12.124.174.58 (12.124.174.58)  159.894 ms  179.251 ms  189.900 ms
15  12.17.140.1 159.916 ms  219.640 ms  169.925 ms
16  * * *

**  TCP SSH port blocked by 12.17.140.1

$ traceroute -p 22 -P udp 12.17.140.247

 1  1-118-237-24 (24.237.118.1)  140.974 ms  96.948 ms  109.883 ms
 2  177-48-96-206 (206.96.48.177)  99.909 ms  108.272 ms  100.431 ms
 3  81-128-165-209 (209.165.128.81)  109.347 ms  98.296 ms  99.874 ms
 4  9-128-165-209 (209.165.128.9)  99.923 ms  98.214 ms  99.894 ms
 5  202-129-165-209 (209.165.129.202)  129.904 ms  128.249 ms  130.284 ms
 6  * * 213-129-165-209 (209.165.129.213)  130.333 ms
 7  sl-gw11-sea-0-2.sprintlink.net (144.228.93.233)  128.730 ms  127.648 ms  129.876 ms
 8  sl-bb21-sea-9-3.sprintlink.net (144.232.6.117)  129.907 ms  128.742 ms  129.378 ms
 9  * sprint-gw.st6wa.ip.att.net (192.205.32.173)  180.893 ms  127.553 ms
10  gbr4-p40.st6wa.ip.att.net (12.123.44.134)  129.917 ms  127.873 ms  130.271 ms
11  gbr1-p40.st6wa.ip.att.net (12.122.5.162)  129.555 ms  128.079 ms  130.012 ms
12  gar1-p360.st6wa.ip.att.net (12.123.44.58)  130.377 ms  127.471 ms  129.905 ms
13  12.123.203.1 (12.123.203.1)  159.890 ms  158.353 ms  180.235 ms
14  12.124.174.58 (12.124.174.58)  329.566 ms  198.359 ms  219.902 ms
15  12.17.140.1  170.460 ms  169.097 ms  159.951 ms
16  MY-GW-IP  339.902 ms  329.998 ms  259.590 ms

**  UDP SSH port available (but a UDP connection is useless on port 22).

---

thank you all for your assistance and knowledge.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


RE: FreeBSD 5.0

2003-03-23 Thread Mike
I think he read somewhere that 5.0 had issues with bootable CD's
 The initial freebsd 5.0 cd's and iso images have a flaw in them 
 related to bootable cd's,

I downloaded and built my CD's from ISO's and they boot fine. If for
some reason they don't post the error and I am sure you will get a
*nice* reply on how to fix it..

M;)



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Greg 'groggy'
Lehey
Sent: Sunday, March 23, 2003 7:40 PM
To: [EMAIL PROTECTED]
Cc: FreeBSD Questions
Subject: Re: FreeBSD 5.0


On Sunday, 23 March 2003 at 19:25:59 -0600, ! wrote:
 On  Sunday, March 23, 2003 7:42 PM, Greg 'groggy' Lehey wrote:
 On Sunday, 23 March 2003 at 18:32:41 -0600,  wrote:
 Hello, I just purchased the CD set yesterday and I was wondering is 
 there a patch regarding this issue if I install the January 2003 CD.

 The initial freebsd 5.0 cd's and iso images have a flaw in them 
 related to bootable cd's, with the exact problem you are seeing 
 here.

 I have no idea what you're talking about.  How about describing your 
 problem?

 I have not installed the software yet, but my concern is with this 
 problem.

Which problem?

 My question is the bugs for January 2003 been worked out or should I 
 wait until the bugs have been worked out.

All software contains bugs.  Is this one biting you?  If so, please
describe it.

Greg
--
When replying to this message, please copy the original recipients. If
you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
Finger [EMAIL PROTECTED] for PGP public key
See complete headers for address and phone numbers


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: gcc bug?

2003-03-23 Thread Subhro Sankha Kar
Hi,
Tell us the version of ur cc compiler and also tell us if u did make clean 
and then ./configure before starting to compile. 

On Mon, 2003-03-24 at 01:28, milo wrote:
hi, i can't compile the source code --
...
any ideas what's wrong?
Subhro Sankha Kar
IIIT-Calcutta 

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: Transparent proxy

2003-03-23 Thread Dirk-Willem van Gulik


On Sun, 23 Mar 2003, Maarten de Vries wrote:

 $ ipfw add 2350 fwd 192.168.1.1 3128 from any to any 80

You sure you have not some earlier rule which prevents it from hitting
this rule ? Also - if 192.168.1.1 is not this local machine's addr - but
on a differnet box; be sure to allow that machine to capture the
'destination any' - as the packet is not rewritten in any way.

DW.


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: UML program

2003-03-23 Thread K Anderson


Socketd wrote:
Hi all

In windows they have two programs for making UML class diagrams, 
Together and Rose, do we have anything like that in FreeBSD?

bwt please CC to me as I am _not_ on the list!

br
socketd
To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message
SOmebody asked this question earlier, and they mentioned a program 
called dia in ports.

Also there is some sort of program that somebody created that takes 
those files and turns 'em to code.

Check with a google search or check the archive for this month and you 
should find it.

HTH



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message