Do I Make world and make kernel afetr CVSUP

2003-07-14 Thread keith
Hi all,
I am following a Schlacter firewall tute and after changing the kernel
file it says 2 things that conflict
it tells me to simply make world then make kernel
but actually talks about make bulidworld and make kernel and make
installworld
I have cvsupped all srcs and a few ports
Which do I do on mt CVSUPPED to 4.8 (was 4.7) FBSD
Thanks
Keith



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


Make buildworld failure...no inodes free! Do I have to pay?

2003-07-15 Thread keith
Hi all,
Damn mbworld failed.
I did note that after dropping to su mode fsck -p did not much more than
reports
/dev/ad0s1a :NO WRITE ACCESS
/dev/ad0s1A :UNEXPECTED INCONSISTENCY ;RUN FSCK MANUALLY

Then the script from makebuild showed up
usr : create/symlink failed, no inodes free
Then the wheels fell of the wagon!

I tried fsck / but NO WRITE still
I tried mount -a /
then fsck /
But no dice...
If only I knew what the... I was doing.
Help required and gratefully acknowledged

Keith


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


What shuld fsck -p report if all is well for a single AD0 disk?

2003-07-15 Thread keith
Hi all
In su mode, I do fsck -p and it tells me the system is NO WRITE.
Is this correct?
If I read the docs rightly...it is?
Signed dazed and confused
Thanks
Keith


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


Re: What shuld fsck -p report if all is well for a single AD0 disk?

2003-07-16 Thread keith
HI Dan and thanks,
So do I read you correct that the NO WRITE is what I should see?
Keith

 In the last episode (Jul 16), [EMAIL PROTECTED] said:
 Hi all
 In su mode, I do fsck -p and it tells me the system is NO WRITE. Is
 this correct?
 If I read the docs rightly...it is?
 Signed dazed and confused
 Thanks
 Keith

 You can't preen filesystem if they're mounted read/write

 --
   Dan Nelson
   [EMAIL PROTECTED]



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


Webmin - I broke the installed port How do I fix it on FBSD?

2003-07-16 Thread keith
Hi all,
I upgraded webmin to 1.1 and filemanager java was bad.
So I (unwisely) did a bit of hacking to remove webmin and try to reinstall
a earlier version...
I hacked out the conf folder and /usr/lcoa/webmin (I think)
NOw installing from ports again it Webmin complains 
Failed to write to /usr/local/etc/webmin/module.infos.cache : No such file
or directory.

Is there conf info stored in places I know not. How can I clean it up?
I need sort of concise help if it exists cause I wouldn't call myself the
cluiest user.
Thanks
Keith


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


FBSD gateway/firewall with squid -will it let request in??

2003-07-16 Thread keith
Hi all,
shooting blind here cause I trouble shoot this (although I am remote from
the systems in question)

203.111.111.216/29 -NAT- 10.0.0.110.0.0.2
Internet--FBSD (ipfilter/ipnat squid) -- www/mail server

All live ips are alias to external interface of FBSD they NAT to internals.
I have never had squid proxy on a gateway like this. Would squid by
default (I have changed very little in squid.conf) interfere with
externally incoming traffic being Natted to the inside server? Will it
block?
I know this is FBSD not SQUID but maybe it is an ipf hassle otherwise.
Thanks if you can help
Keith




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


Help! Is this an attack or a virus? Qmail on FBSD is flooding

2003-07-17 Thread keith
Hi good people.
I am not the cluiest here.
Suddenly my fbsd 4.7. qmail router/gateway is dead slow and
ps -ax reports all normal procs plus heaps! of procs like...

5567(some flags)  0:00:02 qmail-remote hotmail.com
[EMAIL PROTECTED]

The address is one of my user email accounts on qmail

What is this? Is it possible FBSD has a virus or is it a suddenly
rougue/corrupted qmail.
Wher else can I look to track this down.
I have ipfilter/ipmon/ipnat on it too.

I disconnected router from internal LAN and rebooted and after a while it
started doing it again!
So it is something on the machine.
Help please needed badly...typical..its mission critical in our school
Thanks Keith









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


Re: Help! Is this an attack or a virus? Qmail on FBSD is flooding

2003-07-17 Thread keith
Hi Victor thanks,
I had deleted that one persons account but it staill happens!
What is the qmail-remote thing??
Any ideas?
Keith



 On Thu, 17 Jul 2003 [EMAIL PROTECTED] wrote:

 Hi good people.
 I am not the cluiest here.
 Suddenly my fbsd 4.7. qmail router/gateway is dead slow and
 ps -ax reports all normal procs plus heaps! of procs like...

 5567(some flags)  0:00:02 qmail-remote hotmail.com
 [EMAIL PROTECTED]

 The address is one of my user email accounts on qmail

 What is this? Is it possible FBSD has a virus or is it a suddenly
 rougue/corrupted qmail.
 Wher else can I look to track this down.
 I have ipfilter/ipmon/ipnat on it too.

 I disconnected router from internal LAN and rebooted and after a while
 it started doing it again!
 So it is something on the machine.
 Help please needed badly...typical..its mission critical in our school
 Thanks Keith

 Just a guess but if only mail activity is reported and only for that
 user's account it sounds like your mail server is being used to churn
 out massive amounts of spam or hammer other mail servers to harvest
 valid addresses either because it's an open relay or because someone has
 cracked that user's account.

 Disable that user's account and set your firewall and your mail server's
 access database to block any IP's and hostnames that the activity seems
 to be coming from and see if the box returns to normal.  If multiple
 accounts are being used it's possible the box itself has been rooted
 rather than the individual accounts being cracked.

 Cheers,

 Viktor

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



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


Re: Help! Is this an attack or a virus? Qmail on FBSD is flooding

2003-07-17 Thread keith
G'day Vitali,
Thanks for your advice I'll look into it
I was thinking about it last night and figured that there must be messages
in the Q. A quick check showed that one such message was Qd to send a
couple of jpgs to dozens of CCd addresses!
That does look like a virus on one of my internal clients...(using their
address book)
What say you?

Keith


 Hi, dear All!

 qmail-remote sends mail to remote hosts as long as qmail-local sends
 local mail (inside the box). how many qmail-remote processes do you have
 (ps ax|grep qmail-remote|wc -l)? did you try to delete the messages from
 the queue, if so you should have done it correctly. please, obtain the
 qmail-remove package (find it on Google), there is an instruction how to
 delete the queued messages. and see the log file (grep qmail-remote
 /var/log/maillog | more), as this information is not nuff

 WBR

 --
 Error Code=-1 Continue?
   Yes | No
 --

  http://www.geocities.com/vitali_malicky



 Hi Victor thanks,
 I had deleted that one persons account but it staill happens!
 What is the qmail-remote thing??
 Any ideas?
 Keith




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



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


How do I unbreak a port on Freebsd 4.7 (Webmin)

2003-07-17 Thread keith
HI,
I was naughty and hacked out Wemin 1.1 cause there is an invalid java
procedure call in File manager in this version. I wanted to roll back but
couldn't so... I unleashed rm -R.

Now a new install from ports works but webmin is seriously broken.. says
it can't find modules in /usr/local/webmin/lib etc.

What to do?
Do I get the tar ball and make install clean? Or what.
Sorry to be a pest but Webmin is crucial for me.
Keith


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


Mail delivery wierdness

2003-07-21 Thread keith
Hi all,
I am trying to connect to an exchange server via my new gateway ipfilter
fbsd 4.7 ipnat firewall.
Telnetting to the server inside to port 25 reveals...

Connected to 203.44.yyy.xx
Escape character is ']'.
Connection closed by foreign host.

Why would it close instantly? Does this reveal while I can't send mail to
any email account on it? Is this an exchange hassle? Is port 25 to be only
tcp or udp as well.
Thanks
keith




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


Re: Mail delivery wierdness

2003-07-21 Thread keith
Hi Ryan...

Yep I can confirm it was NOT listening on :25
The techie on the ground swore black  blue it was (always follow what you
know!). I figured it wasn't but maybe it was somethjing I didn't
understand?? He changed the config on exchange and voila! Now I can chat
with smtp on the mail server from outside!
Next question.
Squid is also on the gateway/firewall.
Mail is still not being delivered.
Can I assume if I can chat via telnet to the exchange server : 25 Then
mail can also get thru? Surely that means a persistent session is set up
and mail should also get to it. It isn't being delivered to mailboxes
there so what the???
Any ideas?
Thanks Keith

 [EMAIL PROTECTED] wrote to Free bsd :

 Hi all,
 I am trying to connect to an exchange server via my new gateway
 ipfilter fbsd 4.7 ipnat firewall.
 Telnetting to the server inside to port 25 reveals...

 Connected to 203.44.yyy.xx
 Escape character is ']'.
 Connection closed by foreign host.

 Why would it close instantly?

 That's usually the behaviour indicating that there is a server at
 203.44.yyy.xx, but there is no service listening on port 25. (Or, maybe
 your fancy ipfilter firewall is simulating the equivalent).

 The first thing you should do is confirm that the server in question
 *is* actually listening on port 25. MS Exchange is pretty far beyond the
 charter of this list, but general network techniques would still apply:

 Try the same telnet test using the win32 telnet on the server itself.
 (i.e., telnet localhost:25, and try it by the public IP in case Exchange
 isn't listening on localhost for some reason). If it won't talk SMTP
 with you in either case, you won't get any farther. On the other hand,
 if the test is successful, try the same thing from the next hop (your
 FreeBSD gateway?).

 If you isolate the problem to the gateway (and/or every host directly
 connected to the other side of your gateway), you'd probably do well to
 forward your firewall rules and ipnat config to the list (as well as a
 description of what you're trying to accomplish with your config), in
 which case we'll be able to give you better specific instructions.

 Does this reveal while I can't send mail to any email account on it?
 Is this an exchange hassle? Is port 25 to be only tcp or udp as well.

 SMTP is a connection-oriented service.  SMTP can, in theory, be used
 over transport layers other than TCP, but SMTP over UDP would require a
 fair hack to SMTP to implement. So, the short answer is, forget about
 UDP. :-)

 - Ryan

 --
   Ryan Thompson [EMAIL PROTECTED]

   SaskNow Technologies - http://www.sasknow.com
   901-1st Avenue North - Saskatoon, SK - S7K 1Y4

 Tel: 306-664-3600   Fax: 306-244-7037   Saskatoon
   Toll-Free: 877-727-5669 (877-SASKNOW) North America


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



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


Re: PPP Dial-in Server

2003-07-22 Thread keith
Hi,
not wanting to be too critical but I am with you. This section is written
very poorly. It is not possible to disciminate what is needed and not
easily since to do so I'd need to be expert and ...what am I reading the
doc for?
I am keen to see responses. I have asked this list on several occasions
for help here but with no great success. Very unusual for the good people
on this list. Maybe we ask too much?
Keith


 This involves a lot of info so perhaps some pithy writing will help.

 The related hardware:
 -FreeBSD 4.8-stable computer with a 56K Best Data external modem and a
 NIC to my LAN
 -Windows 2000 computer with a 56K internal modem

 Goal:
 Dial-in from the Windows box to the FreeBSD box from anywhere with a
 phone line, be able to access my LAN, and get on the Internet through my
 broadband connection

 I have:
 -Followed the handbook section on serial communications Dial-in service
 (17.4) up until programming the modem because I couldn't find the
 correct commands
 -Installed mgetty+sendfax since I couldn't program the modem myself.

 I can:
 -Connect from the Windows computer when I choose to have a terminal
 screen displayed.
 -Log in at the prompt as if I was sitting right in front of the FreeBSD
 box.

 I cannot log in without getting the terminal screen first under windows.
 It says a PPP session couldn't be established because the remote
 computer wasn't responding.  It tells me to use the terminal window.  I
 went through all the 18.2 handbook info about setting up a User PPP
 dial-in server but I'm really not sure what parts I need and what parts
 I have to choose one thing over another and what parts I can skip.  In
 general I find the whole section confusing. I tried several times
 working with all the various ppp config files but no go.

 Is it possible to do what I am trying to do?  Would anybody care to
 recommend a more clear version of what the handbook has?  Do you
 recommend I try to dial-up with another FreeBSD computer first before
 trying to bring Windows into this?  Thank you for taking the time to
 read all this and for helping me out.

 -Steve





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



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


getswapspacefailed -- OUCH ! Help?

2003-05-29 Thread keith
Hi all, I have a mail server which I setup (4.7) late last year.
iT often starts to crap out with getswapspace failed errors.
a) How can I check how much swapspace I had allocated.
b) How can I check if the drive has a bad block on the swap slice
c) How can I fix the problem
Sorry for being a dummy here but an not a FBSD guru
Keith
Thanks in adv


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


Drive dying OUCH!...how to tackle this?

2003-05-30 Thread keith
Hi all,
I suspect a bad blok on the one and only drive in my gateway mail server
Fbsd 4.7.
I tried using that ftp blok by blok imaging util (from Germany name = ???)
but dumping it back it died trying to restore one of the slices. Damn!
What can I do here? sling another dive in it and tar up the slices or
something???
Whoa any cluey ideas?
Thanks - Keith


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


Help..can I use DUMP? my drive is dying - VINUM ?

2003-05-31 Thread keith
 Original Message 
Subject: Help..can I use DUMP? my drive is dying - VINUM ?
From: [EMAIL PROTECTED]
Date: Sat, May 31, 2003 1:38 pm
To: [EMAIL PROTECTED]

Hi all (second posting try)
I have a one and only drive dying on a server (OK - to use vinum is to
be smarter than I am). Anyways I have unsuccessfully tried to image the
drive using some util that is recommended (?) Can I dump the slices to a
remote machine, install 2 new drives follow the tute to bootstrap vinum
then restore the remote saved slices to the various slice/partitions?
In a bind(4) here! anyone clue me in please?
Thanks
Keith



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


Thanks heaps...Re: Help..can I use DUMP? my drive is dying - VINUM ?

2003-05-31 Thread keith
Ok thanks for that,
How cool is Unix really! The wonderful world of pipes.
Bo have I got a lot to learn

 If you have ssh(1) installed on both machines, do something like this

   dump 0f - /filesystem | ssh [EMAIL PROTECTED] 'gzip 
 filesystem.dump.gz'

 on the system to be backed up.

 That should write a compressed dump to the remote machine, assuming that
 * the local filesystem isn't changing (log updates etc)
 * the remote system has enough diskspace

 Then you can rebuild the sick machine, and when it's up  running do

   cd /filesystem
   ssh [EMAIL PROTECTED] 'gzcat filesystem.dump.gz' | restore rf -

 to bring the files back. All these commands should be run as root.

 I'm afraid someone else will need to help you with the vinum stuff

 - Original Message -
 From: [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Saturday, May 31, 2003 1:09 PM
 Subject: Help..can I use DUMP? my drive is dying - VINUM ?


  Original Message 
 Subject: Help..can I use DUMP? my drive is dying - VINUM ?
 From: [EMAIL PROTECTED]
 Date: Sat, May 31, 2003 1:38 pm
 To: [EMAIL PROTECTED]

 Hi all (second posting try)
 I have a one and only drive dying on a server (OK - to use vinum is to
 be smarter than I am). Anyways I have unsuccessfully tried to image
 the
 drive using some util that is recommended (?) Can I dump the slices to
 a
 remote machine, install 2 new drives follow the tute to bootstrap
 vinum
 then restore the remote saved slices to the various slice/partitions?
 In a bind(4) here! anyone clue me in please?
 Thanks
 Keith



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



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


Re: Help..can I use DUMP? my drive is dying - VINUM ?

2003-05-31 Thread keith
But Greg...you wrote VINUM - spriuk a bit I reckon!
Yeah look the name of some util escapes me but it copies blok by blok
off to an ftp server (German origin I think). I used fsck to check things
out but no errors are reported so I can't say why the some util 
wouldn't restore the /usr/local slice.
My main hassle is very poor disk slice design/forethought space wise.
I have a huge home partition that is not used because this mail server
uses qmail/vpop toaster(thanks Matt S) /var heaps. Don't ant to patch
symlinks all over the shop, and I am a no nothing on how to resize (if it
is possible) and swap reports getswapspacefailed a lot under load.
Hrrummph!
I figure a dump, rebuild (with vinum mirror bootstapped) and restore might
help but the mote I think hte more I think ???
Thanks Keith

 On Saturday, 31 May 2003 at 13:39:49 +1000, [EMAIL PROTECTED] wrote:
 I have a one and only drive dying on a server (OK - to use vinum is to
 be smarter than I am). Anyways I have unsuccessfully tried to image
 the drive using some util that is recommended (?) Can I dump the
 slices to a remote machine, install 2 new drives follow the tute to
 bootstrap vinum then restore the remote saved slices to the various
 slice/partitions? In a bind(4) here! anyone clue me in please?

 That depends on what's wrong with your disk and why your first some
 util attempt failed.  Vinum isn't a disk recovery tool, nor is it
 particularly for that purpose, so there's no particular reason to
 assume it will work better than your some util.  Of course, if you
 give some details, somebody may be able to help you.

 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



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


How to analyse squid logs and wierd time stamps

2003-06-05 Thread keith
Hi all,
Here is a squid log sample...
1049884671.477240 10.0.1.121 TCP_HIT/200 744 GET
ftp://ftpav.ca.com/pub/inoculan/scaneng/Siglist.txt - NONE/- text/plain
... Whoa!
Anyone know of a port to analyse this stuff and change what MIGHT be a
timestamp to something a mortal like me can read??
Appreciate help
Keith


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


Solved!! Re: How to analyse squid logs and wierd time stamps

2003-06-05 Thread keith
Hi..what legends are FBSD people!
Keith


 [EMAIL PROTECTED] wrote:
 [ ... ]
 1049884671.477240 10.0.1.121 TCP_HIT/200 744 GET
 ftp://ftpav.ca.com/pub/inoculan/scaneng/Siglist.txt - NONE/-
 text/plain ... Whoa!
 Anyone know of a port to analyse this stuff and change what MIGHT be a
 timestamp to something a mortal like me can read??

 Sure.  Install /usr/ports/net/adns and /usr/ports/www/analog.  Check out
 and  update the analog config file in /usr/local/etc.

 cd to where your log files are, and DNS resolve the IPs via:

 adnslogres -c 2  access_log  access_log.dns

 ...then run analog against this (DNS-resolved) logfile, and it will
 generate  lots of info.  You can also do other things with the
 DNS-resolved logfile using  other tools, but most of 'em will prefer to
 start with the output of adnslogres,  so that step is worth doing.

 -Chuck





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


How to add more swap space?

2003-06-10 Thread keith
Hi all...
I found this ()
I have FBSD 4.7 system...is this article still ok or even the best way to go?
Any ideas welcome
Keith

==8 snip snip 
Adding more SWAP space
I recently mined this info from the STABLE mailing list and thought it
would make a great mini-tutorial. I have seen this question asked before
and always wanted to know how to do it myself.
So here's the procedure for adding 512 MB of swap space:
# cd /usr
# dd if=/dev/zero of=/usr/swap0 bs=32m count=16 (FYI, 32x16=512)
# chmod 640 swap0
# chgrp operator swap0
# echo /dev/vn0c /usr/swap0 swap  /etc/vn0c
# vnconfig -ae
Add:
if [ X${vnconfig_enable} = XYES ]; then
echo -n ' vnconfig'; vnconfig -ae
fi
to /etc/rc.local (if it doesn't exist, create it!)
++


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


IPNAT... internal server what-to-do

2003-07-09 Thread keith
Hi all.
On my 4.7 system, I have ipfilter and ipnat.
I have several live ips aliased to my external ADSL interface.
Some of these are mapped into private internal ips. So far so good.
All works fine from outside. But if I want to reach one of the internal
servers from inside...eg www.smmc.qld.edu.au...the client  hangs looking.
Here are some of my rules:
==8 snip=

map fxp0 10.0.0.0/21 - 0/32  # ---OK maps internal getting out fine!

#www server
rdr fxp0 210.15.203.195/32 port 80 - 10.0.0.7 port 80
rdr dc0  210.15.203.195/32 port 80 - 10.0.0.7 port 80 #---No worky!

==8 snip=
I can figure there is a problem with this but dont have a clue how to fix it
I want to use fqdns inside not local ip addrs. It is more convenient for
users. BTW the ip address works fine...just the rdr or lookup stuff is
faulty
Help???
Thanks
Keith


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


Re: IPNAT... internal server what-to-do

2003-07-09 Thread keith
Thanks Mark,
The gateway is a dns server so I guess that is not a caching dns server.
I have a 4.7 system squid proxy machine on the inside which is the gateway
for the lan (then its gateway is the firewall)
Can I install the caching dns on it maybe?
Hints?
Thanks again (yet again Freebsd questions people rock)
Keith

 On Wednesday 09 July 2003 01:23 pm, [EMAIL PROTECTED] wrote:
 Hi all.
 On my 4.7 system, I have ipfilter and ipnat.
 I have several live ips aliased to my external ADSL interface. Some
 of these are mapped into private internal ips. So far so good. All
 works fine from outside. But if I want to reach one of the internal
 servers from inside...eg www.smmc.qld.edu.au...the client  hangs
 looking. Here are some of my rules:
 ==8 snip=

 map fxp0 10.0.0.0/21 - 0/32  # ---OK maps internal getting out fine!

 #www server
 rdr fxp0 210.15.203.195/32 port 80 - 10.0.0.7 port 80
 rdr dc0  210.15.203.195/32 port 80 - 10.0.0.7 port 80 #---No worky!

 ==8 snip=
 I can figure there is a problem with this but dont have a clue how to
 fix it I want to use fqdns inside not local ip addrs. It is more
 convenient for users. BTW the ip address works fine...just the rdr or
 lookup stuff is faulty

 There isn't really a way to do this currently.  (that was with 3.4.16 as
 I  remember perhaps support has been added now) because ipnat redirects
 from the  _outside_ interface to the inside and you want the inside
 reflected back  inside.  Not what it's meant to do.

 The easiest thing I can think of is to create a dummy dns entry on the
 local  machines or the caching dns server (if you have one) that points
 to the  10.0.0.7 address.

 -Mark



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


Routing problem.. cisco --fbsd--Lan Experts??

2003-07-11 Thread keith
Hi all,
I have a friend with a cisco 827 adsl router. It has config hassles but
when that is sorted, we need to setup a freebsd box inside the cisco
router to handle a /29 block of ips. 3 questions...
a) Should I assume the cisco is not the worlds greatest firewall and setup
the freebsd machine as one (creating a dmz)
b) The /29 block is routed by the ISP to  the cisco device. I guess we
need to place a static route on the cisco gadget that directs any of the
incoming /29 block request onto the freebsd box...Correct?
c) Should I use IPNAT on the fbsd box an place all the /29 ips the NIC
facing the cisco and NAT to the internal private IPs of the servers inside
the fbsd Lan? I know I don't have to but if I do this would I have to
config the fbsd as a router (routed or such). I will make it the gateway
for the internal LAN. Is that enough? I think it should be? Ideas please.

Here is the scheme...Will this work is it best? Thanks heaps

  ISP
 (165.228.233.1)
   |
[ADSL Internet]
   |
(165.228.233.190)
  +CISCO ROUTER+  static route
   (10.0.0.1)
   |
   |
   (10.0.0.2,203.228.44.xxx,203.228.44.zzz,203.228.44.zzz..etc)
 +FREEBSD Gateway firewall+
NAT/PAT-
 (192.168.1.1)
 /   \
/ \
   /   \
  / \
   (192.168.1.2)   (192.168.1.3)  etc etc
 WWW server  OTHER server







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


Routing problem.. cisco --fbsd--Lan Experts??

2003-07-11 Thread keith
Hi all,
I have a friend with a cisco 827 adsl router. It has config hassles but
when that is sorted, we need to setup a freebsd box inside the cisco
router to handle a /29 block of ips. 3 questions...
a) Should I assume the cisco is not the worlds greatest firewall and setup
the freebsd machine as one (creating a dmz)
b) The /29 block is routed by the ISP to  the cisco device. I guess we
need to place a static route on the cisco gadget that directs any of the
incoming /29 block request onto the freebsd box...Correct?
c) Should I use IPNAT on the fbsd box an place all the /29 ips the NIC
facing the cisco and NAT to the internal private IPs of the servers inside
the fbsd Lan? I know I don't have to but if I do this would I have to
config the fbsd as a router (routed or such). I will make it the gateway
for the internal LAN. Is that enough? I think it should be? Ideas please.

Here is the scheme...Will this work is it best? Thanks heaps
Keith

  ISP
 (165.228.233.1)
   |
[ADSL Internet]
   |
(165.228.233.190)
  +CISCO ROUTER+  static route
   (10.0.0.1)
   |
   |
   (10.0.0.2,203.228.44.xxx,203.228.44.zzz,203.228.44.zzz..etc)
 +FREEBSD Gateway firewall+
NAT/PAT-
 (192.168.1.1)
 /   \
/ \
   /   \
  / \
   (192.168.1.2)   (192.168.1.3)  etc etc
 WWW server  OTHER server







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


Re: Routing problem.. cisco --fbsd--Lan Experts??

2003-07-11 Thread keith
HI and thanks,
Cool! I am OK with the fbsd stuff ipfilter ipnat etc. I garee it is nice.
The small matter of the cisco thing...hmmm!
OK...so would it be ok to ask another question or 2 later if today is bad?
I need to know how to bridge the /29 on the cisco.
does it mean I simply install static routing on the cisco by doing
something like...

ip classless (default)
ip route 203.44.288.0 255.255.255.248 ethernet0 10.0.0.2
no ip http server (default)

(NOTE: 10.0.0.2 is the ip of the fbsd box, 10.0.0.1 is the ethernet0 ip of
cisco router)


I have read the cisco docs but is slightly foreign language to me.
I would greatly appreciate it. My balls are now on the line here. I should
never volunteer to help!?
Am i close?
Keith



 [EMAIL PROTECTED] wrote:

I have a friend with a cisco 827 adsl router. It has config hassles but
 when that is sorted, we need to setup a freebsd box inside the cisco
 router to handle a /29 block of ips. 3 questions...

 I'm running an identical setup here - a Cisco 827, a /29, and a FreeBSD
 machine (or two) performing NAT for my LAN.

a) Should I assume the cisco is not the worlds greatest firewall and
 setup the freebsd machine as one (creating a dmz)

 The Cisco will be adequate, but I prefer the ease of use and added
 functions a FreeBSD machine running IP Filter/IPNAT, but that's just me.

b) The /29 block is routed by the ISP to  the cisco device. I guess we
 need to place a static route on the cisco gadget that directs any of
 the incoming /29 block request onto the freebsd box...Correct?

 I have my 827 set up as a very basic bridge. This means that instead of
 the /29 terminating, so to speak, on the 827, each of my allocated IP
 addresses is available directly on an ethernet interface on one of two
 FreeBSD machines.

 As a partial answer to part C, if you bridge the /29 to the FreeBSD
 machine, you can easily configure IPF and IPNAT to port-forward to
 various internet servers as required. Personally, the machine I have
 performing NAT (with my /29 on one interface and a private /24 on the
 other) for my internal network also runs various services. It's not an
 ideal setup, but it is functional and easy to maintain.

 Sorry I can't answer the rest of your questions, my brain is still
 enjoying the aftereffects of a big Friday night :)

 --Steven

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



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


[no subject]

2003-03-06 Thread keith
Hi all,
I have Found a rule in my ipf firewall rules file.
it allows in my agetway machine running webmin etc etc. to port 3306 from
any.
Now I may well have added this rule but I didn't comment it (Not like me!)
Any clues as to what that port is for? Services file has no listing.
Thanks
Keith Spencer



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


Re: Port 3306 -- Solved!! Thanks

2003-03-08 Thread keith
Yeah fair comment Ricardo
Thanks


 Hi Keith,

 Since you are on the matter, I would also recommend using your firewall
 to  stop unwanted requests to that port. For example, try instead of
 any,  allowing your webserver (in case of webdriven websites) and only
 servers that  need to have access to your database. You don't need
 anyone trying to play  around with your database. :)

 Cheers
 Ricardo

 On Thursday 06 March 2003 07:30 pm, [EMAIL PROTECTED] wrote:
  - Original Message -
  From: [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Sent: Thursday, March 06, 2003 7:12 PM
 
 
  Hi all,
  I have Found a rule in my ipf firewall rules file.
  it allows in my agetway machine running webmin
 etc etc. to port 3306 from  any.
 
  Now I may well have added this rule but I didn't
 comment it (Not like me!) Any clues as to what
 that port is for? Services file has no listing.
 
  Thanks
  Keith Spencer
 
 
  IIRC, that's MySQL.
 
  Kevin Kinsey
  DaleCo, S.P.
 
 
 
  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



 --
 Ricardo Oliva
 Labs Systems Administrator
 UBC - Zoology Department
 Ph.: 604-822-3882
 E-mail: [EMAIL PROTECTED]




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


Re: Port 3306 -- Solved!! Thanks

2003-03-06 Thread keith

 - Original Message -
 From: [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Thursday, March 06, 2003 7:12 PM


 Hi all,
 I have Found a rule in my ipf firewall rules file.
 it allows in my agetway machine running webmin
etc etc. to port 3306 from  any.

 Now I may well have added this rule but I didn't
comment it (Not like me!) Any clues as to what
that port is for? Services file has no listing.

 Thanks
 Keith Spencer


 IIRC, that's MySQL.

 Kevin Kinsey
 DaleCo, S.P.



 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


Help

2004-01-04 Thread Keith
Hi,

Could you please tell me a way to remove freebsd from my computer.

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


Page Fault.

2008-12-01 Thread Keith

Have a machine, Dell dual CPU/quad core Xeon. Runs FBSD 6.2.
Custom kernel, with IPFW compiled in and using SMP.

FreeBSD hostname 6.2-RELEASE FreeBSD 6.2-RELEASE #1: Wed Jan 23
12:17:29 PST 2008

It runs, Dovecot, Postfix, Mysql, Apache. Standard email stuff. Put into
production in March, ran perfect until July 29th when it rebooted by
itself.

It rebooted 2 more times in the last few months on its own. But in the
last 6 weeks it has become a weekly occurance, with uptime no more than
6-7 days at most.

The last 2 times I have cores and have run kgdb on them. Both vmcore's
show the same things. Same pointers etc, the only difference is what the
cpuid was at the time.

==
kernel trap 12 with interrupts disabled

Fatal trap 12: page fault while in kernel mode
cpuid = 2; apic id = 02
fault virtual address   = 0x104
fault code  = supervisor read, page not present
instruction pointer = 0x20:0xc066ca51
stack pointer   = 0x28:0xe6ec0c90
frame pointer   = 0x28:0xe6ec0c9c
code segment= base 0x0, limit 0xf, type 0x1b
= DPL 0, pres 1, def32 1, gran 1
processor eflags= resume, IOPL = 0
current process = 9 (thread taskq)
trap number = 12
panic: page fault
cpuid = 2
Uptime: 6d6h23m45s
Dumping 3327 MB (2 chunks)
  chunk 0: 1MB (159 pages) ... ok
  chunk 1: 3327MB (851624 pages) 3311 3295 3279 3263 3247 3231 3215 3199
3183 3167 3151 3135 3119 3103 3087 3071 3055 3039 3023 3007 2991 2975 2959
2943 2927 2911 2895 2879 2863 2847 2831 2815 2799 2783 2767 2751 2735 2719
2703 2687 2671 2655 2639 2623 2607 2591 2575 2559 2543 2527 2511 2495 2479
2463 2447 2431 2415 2399 2383 2367 2351 2335 2319 2303 2287 2271 2255 2239
2223 2207 2191 2175 2159 2143 2127 2111 2095 2079 2063 2047 2031 2015 1999
1983 1967 1951 1935 1919 1903 1887 1871 1855 1839 1823 1807 1791 1775 1759
1743 1727 1711 1695 1679 1663 1647 1631 1615 1599 1583 1567 1551 1535 1519
1503 1487 1471 1455 1439 1423 1407 1391 1375 1359 1343 1327 1311 1295 1279
1263 1247 1231 1215 1199 1183 1167 1151 1135 1119 1103 1087 1071 1055 1039
1023 1007 991 975 959 943 927 911 895 879 863 847 831 815 799 783 767 751
735 719 703 687 671 655 639 623 607 591 575 559 543 527 511 495 479 463
447 431 415 399 383 367 351 335 319 303 287 271 255 239 223 207 191 175
159 143 127 111 95 79 63 47 31 15

#0  doadump () at pcpu.h:165
165 __asm __volatile(movl %%fs:0,%0 : =r (td));


What might be the cause for this? It is the in the same place every time.
Once the machine hung and had to be powercycled. But on the screen was the
same page fault error on the same process.

Is this flaky hardware?

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


Re: Page Fault.

2008-12-01 Thread Keith
On Mon, 1 Dec 2008, Mel wrote:

|-On Monday 01 December 2008 19:32:59 Keith wrote:
|-
|- ==
|- kernel trap 12 with interrupts disabled
|-
|- Fatal trap 12: page fault while in kernel mode
|- cpuid = 2; apic id = 02
|- fault virtual address   = 0x104
|- fault code  = supervisor read, page not present
|- instruction pointer = 0x20:0xc066ca51
|- stack pointer   = 0x28:0xe6ec0c90
|- frame pointer   = 0x28:0xe6ec0c9c
|- code segment= base 0x0, limit 0xf, type 0x1b
|- = DPL 0, pres 1, def32 1, gran 1
|- processor eflags= resume, IOPL = 0
|- current process = 9 (thread taskq)
|- trap number = 12
|- panic: page fault
|- Uptime: 6d6h23m45s
|- #0  doadump () at pcpu.h:165
|- 165 __asm __volatile(movl %%fs:0,%0 : =r (td));
|- 
|-
|-frame 0 useless. You need the frame after calltrap().
|-And:
|-
|- instruction pointer = 0x20:0xc066ca51
|-list *0xc066ca51
|-
|-Generally a bt will show the needed information.
|-Likely cause: file system corruption, caused by background_fsck, but a
|-backtrace should show more.

Ok, so how does one fix corruption if that is the case? Here is a
backtrace, but means nothing to me unfortunately.

(kgdb) backtrace
#0  doadump () at pcpu.h:165
#1  0xc067582a in boot (howto=260) at ../../../kern/kern_shutdown.c:409
#2  0xc0675b51 in panic (fmt=0xc08f090b %s) at
../../../kern/kern_shutdown.c:565

#3  0xc0899f1c in trap_fatal (frame=0xe6ec0c50, eva=260) at
../../../i386/i386/trap.c:837

#4  0xc089968e in trap (frame={tf_fs = 8, tf_es = -920256472, tf_ds =
-420741080, tf_edi = -936184704, tf_esi = 4, tf_ebp = -420737892, tf_isp
= -420737924, tf_ebx = -920236452, tf_edx = 6, tf_ecx = -936306488, tf_eax = 1, 
tf_trapno = 12,
tf_err = 0, tf_eip = -1067005359, tf_cs = 32, tf_eflags = 65538, tf_esp =
-930065784, tf_ss = 4}) at ../../../i386/i386/trap.c:270

#5  0xc08859ca in calltrap () at ../../../i386/i386/exception.s:139

#6  0xc066ca51 in _mtx_lock_sleep (m=0xc9264e5c, tid=3358782592, opts=0,
file=0x0, line=0) at ../../../kern/kern_mutex.c:546

#7  0xc06bbdb6 in unp_gc (arg=0x0, pending=1) at
../../../kern/uipc_usrreq.c:1714

#8  0xc06964d3 in taskqueue_run (queue=0xc843fa80) at
../../../kern/subr_taskqueue.c:257

#9  0xc06969b6 in taskqueue_thread_loop (arg=0x1) at
../../../kern/subr_taskqueue.c:376

#10 0xc065ef6d in fork_exit (callout=0xc0696924 taskqueue_thread_loop,
arg=0xc09f1d28, frame=0xe6ec0d38) at ../../../kern/kern_fork.c:821

#11 0xc0885a2c in fork_trampoline () at ../../../i386/i386/exception.s:208


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


Dell 1950 RAID 1 Drives.

2008-12-31 Thread Keith

Have the above server, drive 0 failed. No onsite spares left. Ordered
replacement drives a week ago but they are still on route and wont be here
till Jan 5 or 6.

All I have is a test server of the same make/model in my test rack
configured and running a slightly different version of FBSD.

If I pull a drive from this test server that is already configured to a
RAID contoller and put it into the server with the bad drive, how will
the machine deal with it as it already has a valid config on it? Will I
just be able to go to the RAID Bios and rebuild?

Or wipe the config on the test server so the drive has no config on it
before installing it into the server with the failed drive?

Are the SAS drives in a Dell 1950 hot swap by chance?

Have not had a drive go like this with no spares around before.

Thanks.

___
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


RAID5 speed question.

2011-10-31 Thread Keith
Have an ancient 4.1R mail server to replace.
It has about 3000 accounts. Usual /var/mail to store mail.

/var/mail is RAID5 on an old Dell PERC3 card. Its worked
pretty well and have lived through 3 drive failures over
the years.

New Dell box with a PERC5/i. Same drive setup, a 500GB
RAID5 for /var/mail.

I do an ls -l in /var/mail on the old 4.10 machine and I get a directory
listing in about 2 seconds. This is about 3000 mailboxes.

On the new machine running 7.3 with the PERC5/i I rsync'd /var/mail and do
an ls -l and it takes a full 22 seconds to get a directory listing.

A plain ls in /var/mail on both machines is instantaneous.

I know RAID5 is not 'optimal' for this but I'm surprised at the difference
in how long it takes to do a directory listing using ls -l on the new
machine compared to the old one.

The new array is 500GB compared to about 36GB on the older machine.

Shouldn't a long directory listing be faster on the PERC5/i compared to
the old PERC3?

Other than that the new machine in all other aspects is faster, a lot
faster.

Thanks.


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


freebsd.org email

2004-05-08 Thread Kyle Keith
Good Morning,
I have been running freebsd for 2 ½ years now and currently run
23 freebsd 4.9 servers
I actively encourage everyone to switch to freebsd and have helped many
switch.
 
What does it take or what are the requirements to get a freebsd.org email
address  ex:  [EMAIL PROTECTED] 
 
Sincerely,
Kyle
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


FW: Too much swap space...best way to take some of it away

2003-10-03 Thread Keith Baumgart

Ok, I'm not totally a newbie but, I'm definitely no expert in FBSD. When I
was doing my original install, it was on a p100 w/ 32 megs of ram, so I gave
myself a 1 gig swap partition to help alleviate some of the server load.
Now, I have moved this install to a AMD K6/2 500MHz with 512 megs of RAM, so
I really don't need a 1 gig swap partition on only a 3 gig hard drive. What
is the best way to repartition this disk without having to reinstall? 
Here is my current disk structure:

Filesystem  1K-blocks   UsedAvail   Capacity
Mounted on
/dev/ad0s1a 253678  54430   178954  23% /
Devfs   1   1   0   100%/dev
/dev/ad0s1e 253678  26  233358  0%  /tmp
/dev/ad0s1f 1284302 688048  493510  58% /usr
/dev/ad0s1d 253678  31542   201842  14% /var
Thanks in advance

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


Just curious, how large is FreeBSD?

2003-10-30 Thread Keith . Fortenbach
I just purchased FreeBSD 5.1 and got it installed sucessfully-YEAH!-yesterday.  I am a 
new newbie with no previous experience with UNIX, so I feel this is a wonderful 
accomplishment.  I ran accross one problem, though.  Every time I installed ALL, the 
installation froze after about 30 minutes.  I tried this about 8 times and realized 
that every time it froze on the exact same place.  I eventually came to the conclusion 
that ALL could not fit on my hard drive (4Gb total) and installed the USER 
configuration with the X thing and only KDE packages and the installation was 
successful.  So was my conclusion correct?  Do I need a larger harddrive? Is 4Gb not 
enough for ALL?  How big is FreeBSD anyway?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


FreeBSD 4.9: Installation: CD-ROM problems

2004-01-19 Thread Keith Kelly
From the FreeBSD FAQ 
(http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/install.html#NO-INSTALL-CDROMhttp://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/install.html#NO-INSTALL-CDROM):
--
3.16. I booted from my ATAPI CDROM, but the install program says no CDROM is found. 
Where did it go?

The usual cause of this problem is a mis-configured CDROM drive. Many PCs now ship 
with the CDROM as the slave device on the secondary IDE controller, with no master 
device on that controller. This is illegal according to the ATAPI specification, but 
Windows plays fast and loose with the specification, and the BIOS ignores it when 
booting. This is why the BIOS was able to see the CDROM to boot from it, but why 
FreeBSD cannot see it to complete the install.

Reconfigure your system so that the CDROM is either the master device on the IDE 
controller it is attached to, or make sure that it is the slave on an IDE controller 
that also has a master device.
---

Well, I'm hitting exactly this problem with the install program after booting off the 
CD, but in my case the CDROM *is* the slave device on an IDE controller that also has 
a master device!  My configuration is as follows:

 - IDE1 master: hard drive
 - IDE1 slave: hard drive
 - IDE2 master: hard drive
 - IDE2 slave: CD-ROM drive

I'm a long-time Windows user who has dabbled in Linux and hated a lot about it.  After 
reading about FreeBSD, I'm really excited to install it and try it out.  But I can't 
even get into the installation process because of this issue.

Can anyone help?  I've searched newsgroup and e-mail list archives and have found 
nothing relevant.

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


Re: FreeBSD 4.9: Installation: CD-ROM problems

2004-01-20 Thread Keith Kelly
I bought longer ATA/133 cables and reconfigured the wiring of my IDE 
devices.  The mid-cable connector supposedly should go to the slave device, 
according to the labels on the cables.  So now the wiring arrangement is 
consistent with how the devices are jumpered.
Still, sysinstall is unable to mount any CDs.  I do notice that when the 
kernal load while booting from the CD, it detects all 5 of my disk devices.

Anyone else want to take a stab at this? One user's choice of whether to 
love or hate FreeBSD hangs in the balance...

- Keith

- Original Message - 
From: fbsd_user

Good job of doing your homework. Lets continue on with the intent of
the FAQ you quoted. Are your HD jumpered as master and slave or are
they jumpered as CS for cable select?  The 2 nipples on the IDE
ribbon have predefined meanings as to which one is the master nipple
and which one is the slave nipple.

Jumpering your IDE drives to  CS  uses the predefined meanings of
the nipples. I have always jumpered my IDE devices as master or
slave and plug them into the correct ribbon nipple.  Check it out,
and post your results.

-Original Message-
From: [EMAIL PROTECTED] Keith Kelly
Sent: Tuesday, January 20, 2004 12:25 AM
To: [EMAIL PROTECTED]
Subject: FreeBSD 4.9: Installation: CD-ROM problems

From the FreeBSD FAQ 
(http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/install.html#NO-INSTALL-CDROM):
--
3.16. I booted from my ATAPI CDROM, but the install program says no
CDROM is found. Where did it go?

The usual cause of this problem is a mis-configured CDROM drive.
Many PCs now ship with the CDROM as the slave device on the
secondary IDE controller, with no master device on that controller.
This is illegal according to the ATAPI specification, but Windows
plays fast and loose with the specification, and the BIOS ignores it
when booting. This is why the BIOS was able to see the CDROM to boot
from it, but why FreeBSD cannot see it to complete the install.

Reconfigure your system so that the CDROM is either the master
device on the IDE controller it is attached to, or make sure that it
is the slave on an IDE controller that also has a master device.
---

Well, I'm hitting exactly this problem with the install program
after booting off the CD, but in my case the CDROM *is* the slave
device on an IDE controller that also has a master device!  My
configuration is as follows:

 - IDE1 master: hard drive
 - IDE1 slave: hard drive
 - IDE2 master: hard drive
 - IDE2 slave: CD-ROM drive

I'm a long-time Windows user who has dabbled in Linux and hated a
lot about it.  After reading about FreeBSD, I'm really excited to
install it and try it out.  But I can't even get into the
installation process because of this issue.

Can anyone help?  I've searched newsgroup and e-mail list archives
and have found nothing relevant.

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


FDisk won't detect or accept correct disk geometry from BIOS

2004-01-22 Thread Keith Kelly
Please see this page: 
http://lantech.geekvenue.net/chucktips/jason/chuck/1044789670/index_html

This is exactly the problem I am having now whenever I try to install either 
FreeBSD 4.9 or 5.1.  Clearly, a lot of other users out there are having this 
problem too.  FDisk absolutely refuses to accept the correct geometry values 
(the ones my BIOS tells me it is using to address the disk), instead 
insisting on using some values that are not even close to correct.  Then 
after installation completes and I try to boot, I get a missing operating 
system message, which is no surprise given that the disk was addressed by 
the installer using the wrong geometry settings.

Why the hell doesn't FDisk properly read the geometry settings from the BIOS 
in the first place (so that don't have to look them up and enter them myself 
during install), and why the hell doesn't it accept the correct values when 
I enter them?  Isn't there *ANY* way to force it to accept the values I give 
it?

I have a hard time imagining how this could be considered low priority or 
not important by the developers of the system.  This is clearly a major 
defect in either documentation (if this is user error, a LOT of users are 
having the problem, so documentation must be deficient), or a major defect 
in the code.

DISCLAIMER: I don't know if you folks are like the Linux community, but 
don't tell me to find the bug and fix it yourself, or to quit whining. 
It's perfectly reasonable for a user of a piece of software to expect it to 
work right.  I'm not a developer, and shouldn't have to be.  That's why 
*other* people are developers, so that I don't have to be.

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


Re: FDisk won't detect or accept correct disk geometry from BIOS

2004-01-22 Thread Keith Kelly
Thanks for your thoughtful and helpful reply.  I should have given more 
technical details.

I already tried (with both 4.9 and 5.1) letting the FreeBSD install proceed 
with fdisk's  geometry value assumptions, and what I always get is a 
non-bootable hard drive that gives the Missing operating system error at 
boot.

The hard drive is IDE, not SCSI.  It is a Maxtor UltraMax 40GB ATA/100 drive 
purchased shy of two years ago.  The physical geometry reported by Maxtor 
in the specs for the drive is different from the geometry my BIOS reports 
that it has auto-detected and is using to address the drive.  And both of 
*those* geometries are different from the one that fdisk keeps trying to 
assume.

I've already read all the FAQs, handbooks, and support sites I could find 
regarding FreeBSD and disk geometry.  None of them have contained any 
information specific to IDE drives (they all seem SCSI-centric), and none of 
them have clearly explained all the background context about how drive 
geometries work.  I guess there is a physical geometry provided by the 
drive manufacturer, and then different geometries (all of which may be 
valid) your BIOS might use to address the drive depending on the mode it is 
using (LBA, etc).  As far as I can tell, the geometry values a user is 
supposed to feed to fdisk are the values that the BIOS reports that it is 
using to address the drive, but I'm not even sure if that is correct because 
the documentation is so impenetrable.  And of course many users are running 
into this issue where the drive geometries reported and used by their BIOS 
are simply rejected by fdisk as invalid whenever they try to enter them 
into fdisk, which makes no sense to me.



- Original Message - 
From: Jerry McAllister [EMAIL PROTECTED]
To: Keith Kelly [EMAIL PROTECTED]
Cc: freebsd-questions [EMAIL PROTECTED]; 
[EMAIL PROTECTED]
Sent: Thursday, January 22, 2004 12:44 PM
Subject: Re: FDisk won't detect or accept correct disk geometry from BIOS


 
  Please see this page:
  http://lantech.geekvenue.net/chucktips/jason/chuck/1044789670/index_html
 
  This is exactly the problem I am having now whenever I try to install 
  either
  FreeBSD 4.9 or 5.1.  Clearly, a lot of other users out there are having 
  this
  problem too.  FDisk absolutely refuses to accept the correct geometry 
  values
  (the ones my BIOS tells me it is using to address the disk), instead
  insisting on using some values that are not even close to correct.  Then
  after installation completes and I try to boot, I get a missing 
  operating
  system message, which is no surprise given that the disk was addressed 
  by
  the installer using the wrong geometry settings.

 Of about 100 to 110 FreeBSD systems we have up and going, I have never
 had the fdisk reported geometry match the BIOS reported information
 but I have never had a system fail to install and boot by just ignoring
 the whole issue and letting it (sysinstall, fdisk, etc) do its own thing
 as long as I didn't try to tinker with the geometry.  This has been with
 both SCSI and IDE disks, but mostly SCSI and almost entirely on mainstream
 hardware such as what comes with Dell, Compaq, etc, not homebuilts.
 The FreeBSD versions have been most of 3.xx through most of 4.xx. I
 haven't tried any 5.xx yet but the person in the box (cubicle) next to
 me has 5.1 going and sees the same thing.

 There have been lots of things written about this. I don't know which
 ones apply in your case.  But, the geometries on recent disks and
 recent versions of software (recent = in the last 6 or 7 years) are
 all virtual as far as I can see.So, just try letting it fly
 and without trying to tinker or reconcile what appears to be a conflict.

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


Re: FDisk won't detect or accept correct disk geometry from BIOS

2004-01-22 Thread Keith Kelly
Yes, I tried it both ways (installing BootMgr, and installing a standard 
MBR).


- Original Message - 
From: Chris Pressey [EMAIL PROTECTED]
To: Keith Kelly [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Thursday, January 22, 2004 2:38 PM
Subject: Re: FDisk won't detect or accept correct disk geometry from BIOS


 On Thu, 22 Jan 2004 14:24:19 -0800
 Keith Kelly [EMAIL PROTECTED] wrote:

  Thanks for your thoughtful and helpful reply.  I should have given
  more technical details.
 
  I already tried (with both 4.9 and 5.1) letting the FreeBSD install
  proceed with fdisk's  geometry value assumptions, and what I always
  get is a non-bootable hard drive that gives the Missing operating
  system error at boot.

 Hi Keith,

 Just to be sure - did you elect to install BootMgr (or a regular boot
 record) on the drive when sysinstall asks?

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


Re: FDisk won't detect or accept correct disk geometry from BIOS

2004-01-22 Thread Keith Kelly
See comments in-line.

- Original Message - 
From: Charles Swiger [EMAIL PROTECTED]
To: Keith Kelly [EMAIL PROTECTED]
Cc: freebsd-questions [EMAIL PROTECTED]
Sent: Thursday, January 22, 2004 2:56 PM
Subject: Re: FDisk won't detect or accept correct disk geometry from BIOS


 On Jan 22, 2004, at 5:24 PM, Keith Kelly wrote:
  I already tried (with both 4.9 and 5.1) letting the FreeBSD install
  proceed
  with fdisk's  geometry value assumptions, and what I always get is a
  non-bootable hard drive that gives the Missing operating system
  error at
  boot.

 Sufficiently old motherboards and BIOS versions don't understand the
 LBA addressing mode used by modern drives, and are limited to seeing
 approx 8.4 GB using the classic C/H/S values.  See whether the BIOS
 lets you configure the drive to LBA mode rather than automatic,
 C/H/S, or extended C/H/S mode.  If it doesn't, check to see whether
 there is a BIOS update available for your hardware.

The motherboard is not old.  It is an MSI KT4 Ultra motherboard, if I 
remember the model number correctly off the top of my head, for the Athlon 
XP architecture.  The BIOS doesn't even explicitly list what mode (LBA, CHS, 
extended CHS) it is using to address the drive -- I just set it to Auto, 
it detects the device name, and fills out a small listing telling me the 
C/H/S geometry it is using.  The motherboard is already running the latest 
available BIOS update from MSI.

 It may be the case that this doesn't resolve the issue.  You can try to
 create a small (say 32MB) DOS partition using classic MS-DOS 6.x or a
 utility from the drive manufacturer, and verify whether you can boot
 into that.  If you can't and still get the missing OS error, you've
 got hardware issues and should consider replacing your MB.

I definitely do not have hardware issues, because Linux, Windows XP, Windows 
2000, BeOS, and SkyOS have all worked fine at various points, and Windows XP 
continues to work fine :-)

 If you can
 boot to a DOS partition on the hard disk, then try installing FreeBSD
 to the remaining space, leaving the DOS partition intact.  This will
 give you a better shot of using a geometry that your BIOS is able to
 boot.

 [ The only hardware I've seen which required that kind of thing was a
 no-name P133 grade machine... ]

 -- 
 -Chuck

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


Re: FDisk won't detect or accept correct disk geometry from BIOS

2004-01-22 Thread Keith Kelly
No -- no floppy in the floppy drive, and no CD in the CD-ROM drive.  Only 
disk devices attached are the one hard drive, the CD-ROM, and the floppy, 
and in the BIOS boot sequence, only the one hard drive is set as the boot 
device.  I *did* mark the slice I created using fdisk during FreeBSD install 
as bootable, and I *did* have the installer write (I've tried it both ways) 
either a standard MBR or install the BootMgr to the hard drive.  There are 
no other partitions or OSes or anything on the hard drive, but it was 
previously running WinXP and that booted fine.  And just for kicks, I was 
still able to boot off a DOS floppy, format the hard drive as a system 
device and put a minimal DOS install on it, and boot fine off the hard drive 
into DOS.


- Original Message - 
From: Jerry McAllister [EMAIL PROTECTED]
To: Keith Kelly [EMAIL PROTECTED]
Cc: Chris Pressey [EMAIL PROTECTED]; [EMAIL PROTECTED]; 
[EMAIL PROTECTED]
Sent: Thursday, January 22, 2004 3:35 PM
Subject: Re: FDisk won't detect or accept correct disk geometry from BIOS


 
  Yes, I tried it both ways (installing BootMgr, and installing a standard
  MBR).

 I just thought of one more awful thing which has happened to me
 on a number of occasions, way embarrassingly too many times.

 You don't happen to have a floppy disk in the floppy drive or possibly
 a non-bootable CD in the CD drive do you.   That is where I see
 that message most often.  If you tried to install using the two
 floppies, for example and didn't pull the second one out before
 rebooting, it would do that.  The same would be true if you put
 one of the other CDs in the set to load some things.

 I'm still guessing something to do with the MBRs and boot blocks
 and whatever you called the 'a' partition in the slice, etc though.

 jerry

 
  - Original Message - 
  From: Chris Pressey [EMAIL PROTECTED]
  To: Keith Kelly [EMAIL PROTECTED]
  Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
  Sent: Thursday, January 22, 2004 2:38 PM
  Subject: Re: FDisk won't detect or accept correct disk geometry from 
  BIOS
 
 
   On Thu, 22 Jan 2004 14:24:19 -0800
   Keith Kelly [EMAIL PROTECTED] wrote:
  
Thanks for your thoughtful and helpful reply.  I should have given
more technical details.
   
I already tried (with both 4.9 and 5.1) letting the FreeBSD install
proceed with fdisk's  geometry value assumptions, and what I always
get is a non-bootable hard drive that gives the Missing operating
system error at boot.
  
   Hi Keith,
  
   Just to be sure - did you elect to install BootMgr (or a regular boot
   record) on the drive when sysinstall asks?
  
   -Chris
  
  ___
  [EMAIL PROTECTED] mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
  To unsubscribe, send any mail to [EMAIL PROTECTED]
 

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


Re: FDisk won't detect or accept correct disk geometry from BIOS

2004-01-22 Thread Keith Kelly
Inline.


- Original Message - 
From: Charles Swiger [EMAIL PROTECTED]
To: Keith Kelly [EMAIL PROTECTED]
Cc: freebsd-questions ORG [EMAIL PROTECTED]
Sent: Thursday, January 22, 2004 3:27 PM
Subject: Re: FDisk won't detect or accept correct disk geometry from BIOS


 On Jan 22, 2004, at 6:04 PM, Keith Kelly wrote:
  The motherboard is not old.  It is an MSI KT4 Ultra motherboard, if I
  remember the model number correctly off the top of my head, for the
  Athlon
  XP architecture.  The BIOS doesn't even explicitly list what mode
  (LBA, CHS,
  extended CHS) it is using to address the drive -- I just set it to
  Auto,
  it detects the device name, and fills out a small listing telling me
  the
  C/H/S geometry it is using.  The motherboard is already running the
  latest
  available BIOS update from MSI.

 OK, but if the auto mode uses the wrong C/H/S translation, this default
 may be the source of your problem.  What happens when you switch from
 using auto to explicitly using LBA?

I don't know.  I've never had to change away from Auto to get any other OS 
to install or boot from any of my hard drives, though, so I really doubt 
that is the problem.  I'm quite confident the problem must lie with FreeBSD 
itself, in the form of a bug or a lack of hardware support.  Although my 
integrated IDE controller and all other basic hardware is on the FreeBSD 
supported hardware list.



 [ ... ]
  I definitely do not have hardware issues, because Linux, Windows XP,
  Windows
  2000, BeOS, and SkyOS have all worked fine at various points, and
  Windows XP
  continues to work fine :-)

 Your error message reflects a BIOS-level failure to find a bootable
 partition.

 Do you already have a bootable partition on the system, and are trying
 to install FreeBSD in a second partition?  If so, which partition is
 marked active?

No.  The hard drive is the only hard drive attached (I detached my two other 
drives with WinXP and data files on them, so they couldn't get inadvertently 
hosed during installation... those two devices were on the primary IDE 
chain.  I moved the blank hard drive and the CD-ROM drive, which were on the 
secondary IDE chain, onto the primary IDE chain to try to get FreeBSD 
installed that way.  There's currently nothing on the secondary IDE chain). 
And, I did ensure in all my attempts that I marked the single full-disk 
slice I created with fdisk as bootable.


 -- 
 -Chuck

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


Re: FDisk won't detect or accept correct disk geometry from BIOS

2004-01-23 Thread Keith Kelly
 My thought here is to double check that the drive is in the master
 position on the ribbon.

Yeah, you would _think_ that would be the way to configure things.  But when 
I configure the two devices that way (CD-ROM as slave, hard drive as 
master), sysinstall refuses to mount the CD, giving me an error about 
CD/DVD drive not found!.  It's worth noting that no other OS I've run on 
this same PC ever had any trouble finding the CD-ROM drive when it was 
configured as the slave.

To get around _that_ problem, I had to configure the CD-ROM as the master 
and the hard drive as the slave.  With the CD-ROM as the master, sysinstall 
is able to actually detect the CD/DVD drive, but then I run into this 
nonsense with fdisk refusing to detect or accept the correct disk geometry 
for the hard drive.  It's worth noting that I've never had to manually 
specify hard drive geometry settings in the installer for any other OS I've 
installed on this PC.  They figured it out automatically and worked fine.

If I just let fdisk use its suggested defaults for the geometry and proceed 
with the install, then when the system reboots off the hard drive I get 
Missing operating system.  It's worth noting that I've never seen that 
severe of an error following any other OS installation claiming it was 
successful.

So far, I'm really disappointed by FreeBSD.  If FreeBSD lacks the logic or 
detection to automatically figure all these things out and just work, that 
is a serious bug (whether due to a programmer mistake or poor software 
design).  I've _never_ had this much trouble getting an operating system 
installed on this particular PC.

If I can't get things working within about 1 more hour of tinkering, I'm 
going to abandon FreeBSD entirely, put my machine back together, and just 
use the drive as an extra NTFS filesystem for my personal files under 
Windows XP.

When people argue that Windows is easier, and that *nix isn't ready for the 
desktop, this is *exactly* the kind of problem that they are talking about. 
I hope any actual FreeBSD developers on these aliases wake up and take 
notice. 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


FreeBSD/FDisk geometry problems - SOLVED!

2004-01-23 Thread Keith Kelly
I've found a bug in FDisk which is responsible for all the problems I've had 
trying to get FreeBSD installed.  I also found a work-around, and I'm happy 
to report I'm typing this message from Konquerer inside FreeBSD 5.1-RELEASE 
right now.

Basically, the problem is that FreeBSD's FDisk and the motherboard BIOS 
independently calculate a set of CHS values (Cylinders/Heads/Sectors) based 
on the total sector count of the disk, but they do it in different ways and 
thus end up with different values.

My hard drive is a Maxtor 5T040H4.  This is a 40GB ATA/100 IDE drive.  
Maxtor reports the physical geometry as 79408/16/63, which yields a total of 
80043264 sectors.  With a large drive like this, the catch is that 79408 is 
too big to fit in the cylinders field in the BIOS, so to make the drive 
work, you have to calculate an equivalent set of CHS values (decrease the 
cylinders value,  while keeping the total sector count the same).  For 
anyone who doens't know, the formula is like this: cylinders x heads x 
sectors = total sector count.

My motherboard (MSI KT4 Ultra) BIOS calculates 19618/16/255 (80041440 total 
sectors).  FreeBSD's FDisk calculates 4982/255/63 (80035830 total sectors).  
You'll notice that the total sector count is not the same, and you may 
wonder why.  It's because of rounding error and the fact that the 
calculations were done in reverse.  In theory, either set of CHS values 
should work fine, but the problem is that my BIOS picks one set and FDisk 
chooses another set -- and FDisk refuses to accept and use the set my BIOS 
calculated.

For instance, my BIOS starts with the REAL total sector count of 80043264.  
It assumes a sector count of 255, and it assumes a heads count of 16.  So it 
calculates cylinders as 80043264/(255x16)=19618.44706, which rounds down to 
19618.  My BIOS does all this calculation automatically for me because I 
chose Auto for the drive in the BIOS.

FDisk also starts with the REAL total sector count of 80043264.  But it 
assumes a sector count of 63, and it assumes a heads count of 255.  So it 
calculates cylinders as 80043264/(63x255)=4982.462745, which rounds down to 
4982.

So, the problem is that FDisk makes *different* assumptions than my BIOS 
does about what the sectors and heads values should be.  I ran across some 
information on a BIOS manufacturer's site which claimed that for LBA mode 
SCSI drives (more accurately known as LBA-Assist translation mode), that 
it is safe to assume that sectors should be 63 and heads should be 255.  
Given that FreeBSD's roots and developer community seems historically 
SCSI-centric, I can see how these assumptions would have been picked up and 
used in FDisk and considered acceptable.  But these assumed values are 
clearly not correct for how CHS gets calculated by many PC BIOSes for IDE 
drives.

Furthermore, I believe that the reason FDisk rejects the manually entered 
CHS of 19618/16/255 is because either (1) it tries to enforce those bad 
assumptions about heads and sectors, or (2) it gets confused by the rounding 
error.  In other words, in the case of rounding error, FDisk may be taking 
the manually-entered values, multiplying them together, and seeing that it 
doesn't exactly match (or come close enough to, in its humble but flawed 
opinion) the total sector count for the drive.  The way Fdisk's geometry 
validation ought to work is like this:

- Divide the total sector count of the drive by (H*S), where H and S are the 
user-supplied values.
- Round the result to the nearest whole number.
- Compare that result to the user-supplied value for cylinders.
- If the result matches, accept the user's input as good.

I hope that a developer somewhere can take this information and put it to 
good use.  I would be very happy to test a fix if someone can implement it.

In the meantime, the workaround for anyone experiencing this problem is to 
go into their BIOS and set the hard drive to User mode, and manually enter 
the same C/H/S settings that FDisk calculated for the drive.  Unfortunately, 
I think this means that if you have to repartition and reformat the entire 
drive, since the BIOS will now be addressing the drive using different C/H/S 
settings and will be unable to read any partitions that were formatting 
using different C/H/S addressing.  So while there is a workaround, it is far 
from an ideal user experience.

- Keith F. Kelly

_
Check out the new MSN 9 Dial-up — fast  reliable Internet access with prime 
features! http://join.msn.com/?pgmarket=en-uspage=dialup/homeST=1

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


Re: FDisk won't detect or accept correct disk geometry from BIOS

2004-01-24 Thread Keith Kelly
I wrote the message to which you replied, not Michael Clark.

See my comments in-line.


From: Hendrik Hasenbein [EMAIL PROTECTED]
To: Michael Clark [EMAIL PROTECTED]
CC: 'Keith Kelly' [EMAIL PROTECTED],  Derrick Ryalls 
[EMAIL PROTECTED], freebsd-bugs [EMAIL PROTECTED],  
'freebsd-questions ORG' [EMAIL PROTECTED]
Subject: Re: FDisk won't detect or accept correct disk geometry from BIOS
Date: Sat, 24 Jan 2004 09:57:18 +0100

Michael Clark wrote:
I configure the two devices that way (CD-ROM as slave, hard drive as 
master), sysinstall refuses to mount the CD, giving me an error about 
CD/DVD drive not found!.  It's worth noting that no other OS I've run on 
this same PC ever had any trouble finding the CD-ROM drive when it was 
configured as the slave.
Strange. That you got that problems. I've been always using a CDROM on 
slave. Never had a problem there. Did you look if the BIOS was able to 
autodetect the cdrom on boot? Do you use cable select on one of them?
Of course the BIOS auto-detected the CD-ROM fine -- the configuration had 
always worked with all other operating systems and software I had used on 
this PC.

It didn't matter whether I used cable select or explicitly jumpered the 
devices as master/slave.  In either case, if the CD-ROM was the slave, 
sysinstall failed to detect the CD-ROM.


To get around _that_ problem, I had to configure the CD-ROM as the master 
and the hard drive as the slave.  With the CD-ROM as the master, 
sysinstall is able to actually detect the CD/DVD drive, but then I run 
into this nonsense with fdisk refusing to detect or accept the correct 
disk geometry for the hard drive.  It's worth noting that I've never had 
to manually specify hard drive geometry settings in the installer for any 
other OS I've installed on this PC.  They figured it out automatically and 
worked fine.
Another time: Just turn on LBA.
LBA is already on on all my devices, and has been from the start.  This is 
most definitely NOT the problem.  Besides which, I already explained my 
findings on another thread on these aliases..

So far, I'm really disappointed by FreeBSD.  If FreeBSD lacks the logic or 
detection to automatically figure all these things out and just work, that 
is a serious bug (whether due to a programmer mistake or poor software 
design).  I've _never_ had this much trouble getting an operating system 
installed on this particular PC.
It's due to poor hardware design in history.
It's equally due to poor software design.  If Windows and Linux can deal 
with the hardware fine, then FreeBSD should be able to also.


If I can't get things working within about 1 more hour of tinkering, I'm 
going to abandon FreeBSD entirely, put my machine back together, and just 
use the drive as an extra NTFS filesystem for my personal files under 
Windows XP.
That explains, why you don't want to switch from auto to LBA. Sometimes 
auto is the right thing, but most times you have to think of the right 
setting, because auto is just a default. (Example: If I leave all values  
set to auto in my bios, my system is going to creep literally, because some 
components wont interact correct)

When people argue that Windows is easier, and that *nix isn't ready for 
the desktop, this is *exactly* the kind of problem that they are talking 
about. I hope any actual FreeBSD developers on these aliases wake up and 
take notice.
The real problem is that we still work around design flaws which exist in 
hardware for a decade. Everybody uses his/her personal best workaround and 
sometimes they are in conflict.
No, the real problem is a lack of thorough testing on a variety of hardware 
configurations, and a lack of developer interest in solving problems 
encountered by people other than themselves.

Hendrik


_
Get a FREE online virus check for your PC here, from McAfee. 
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963

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


Re: FreeBSD/FDisk geometry problems - SOLVED!

2004-01-24 Thread Keith Kelly
See my comments in-line.


From: Hendrik Hasenbein [EMAIL PROTECTED]
To: Keith Kelly [EMAIL PROTECTED]
CC: [EMAIL PROTECTED],  [EMAIL PROTECTED]
Subject: Re: FreeBSD/FDisk geometry problems - SOLVED!
Date: Sat, 24 Jan 2004 10:43:17 +0100
Keith Kelly wrote:
I've found a bug in FDisk which is responsible for all the problems I've 
had trying to get FreeBSD installed.  I also found a work-around, and I'm 
happy to report I'm typing this message from Konquerer inside FreeBSD 
5.1-RELEASE right now.
Gratulation.

Basically, the problem is that FreeBSD's FDisk and the motherboard BIOS 
independently calculate a set of CHS values (Cylinders/Heads/Sectors) 
based on the total sector count of the disk, but they do it in different 
ways and thus end up with different values.
Yes. That is because there are different ways to calculate that.
Then FDisk should be updated to include awareness of ALL the different ways, 
so as to work on a wider variety of hardware.


So, the problem is that FDisk makes *different* assumptions than my BIOS 
does about what the sectors and heads values should be.
That has always been the problem for CHS conversions.
Then why do Windows, BeOS, Linux, and SkyOS all get it right, while 
FreeBSD's fdisk is the only one that gets it wrong?


I ran across some information on a BIOS manufacturer's site which claimed 
that for LBA mode SCSI drives (more accurately known as LBA-Assist 
translation mode), that it is safe to assume that sectors should be 63 
and heads should be 255.  Given that FreeBSD's roots and developer 
community seems historically SCSI-centric, I can see how these assumptions 
would have been picked up and used in FDisk and considered acceptable.  
But these assumed values are clearly not correct for how CHS gets 
calculated by many PC BIOSes for IDE drives.
LBA is the only common mode known to all BIOS vendors, Harddrive 
manufactures and so on, because at least someone made up some assumptions 
and published them instead of developing their own CHS translation. SCSI 
was first to breach the BIOS CHS barrier on PCs and so they defined that 
method. If your BIOS is in auto mode, it tries to get the current format 
from the harddisk most times uses CHS, but will also find a disk with LBA. 
So in a modern system LBA would be the safe pick and not CHS. Most likely 
it picks it from disk (the partition table uses entries for cylinders, 
heads and sectors to describe the partitions), so the first fdisk sets the 
addressing the bios chooses. So to avoid conflicts and enhance the usabilty 
of your drive in different PCs and with different systems use LBA.
As I've said multiple times now, LBA was already enabled on all my drives.

Furthermore, I believe that the reason FDisk rejects the manually entered 
CHS of 19618/16/255 is because either (1) it tries to enforce those bad 
assumptions about heads and sectors, or (2) it gets confused by the 
rounding error.  In other words, in the case of rounding error, FDisk may 
be taking the manually-entered values, multiplying them together, and 
seeing that it doesn't exactly match (or come close enough to, in its 
humble but flawed opinion) the total sector count for the drive.  The way 
Fdisk's geometry validation ought to work is like this:

- Divide the total sector count of the drive by (H*S), where H and S are 
the user-supplied values.
- Round the result to the nearest whole number.
- Compare that result to the user-supplied value for cylinders.
- If the result matches, accept the user's input as good.
The test will ensure that the user dont make typos, but it can't ensure 
that the C. H and S are arranged the same in both conversions.
Uh, what?


In the meantime, the workaround for anyone experiencing this problem is to 
go into their BIOS and set the hard drive to User mode, and manually 
enter the same C/H/S settings that FDisk calculated for the drive.  
Unfortunately, I think this means that if you have to repartition and 
reformat the entire drive, since the BIOS will now be addressing the drive 
using different C/H/S settings and will be unable to read any partitions 
that were formatting using different C/H/S addressing.  So while there is 
a workaround, it is far from an ideal user experience.
Better solution, put the IDE drives to LBA and you'll see that you
All my drives already were set in the BIOS with LBA-mode On.  This isn't 
just an issue with having LBA mode enabled or not in the BIOS.  This is an 
issue with FDisk being deficient in how it calculates values for LBA IDE 
drives.

get the same CHS every time and on every system except MSDOS  6.3. If you 
got a filesystem which doesnt bother about CHS and uses linear addressing 
you 'only' need a new partition table. After redoing the drive you can put 
the IDE back to Auto.

Hendrik


_
Check out the coupons and bargains on MSN Offers! 
http://shopping.msn.com/softcontent/softcontent.aspx?scmId=1418

To use.perl port or not?

2004-03-22 Thread Keith Beattie
Hi all,

I recently installed the perl-5.8.2_5 port and ran 'use.perl port' to make
that new perl the default system perl. I did several other upgrades at about 
the same time and since then: kernel cvsup and rebuild to 4.9-RELEASE-p4, and
weekly cvsup to update my installed ports.

It seemed after those upgrades 'mozilla related' apps because quite unstable:
specifically mozilla mail and browser, thunderbird, firefox, epiphany and
openoffice all crashing without a core file or any log message that I could
find.  I tried a pkg_deinstall  portinstall of mozilla but that didn't help. 
Today I was doing a routine upgrade of epiphany and it failed in configure
complaining about a missing perl module.  Remembering that I had recently
upgraded perl, I did a 'use.perl system' and epiphany now builds fine and the
crashing seems to have gone away.

Searching the archives for 'use.perl' I found a suggestion that after 
switching to use.perl port, one should reinstall programs that depend on perl. 
 Not sure how to make such a list, but it seems excessive.

So, does it seem reasonable that switching perl could have caused/solved this 
problem?  How 'bleeding edge' is doing a 'use.perl port'?  Is it something 
that indeed requires a large rebuild of one's system?  If so, how does one go 
about finding the list of things which need to be rebuilt?

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


Re: To use.perl port or not?

2004-03-23 Thread Keith Beattie
On 3/23/2004 8:37 AM, Joshua Lokken wrote:
So, does it seem reasonable that switching perl could have caused/solved 
this problem?  How 'bleeding edge' is doing a 'use.perl port'?  Is it 
something that indeed requires a large rebuild of one's system?  If so, how 
does one go about finding the list of things which need to be rebuilt?
/usr/ports/sysutils/portupgrade is a great tool for managing software
and dependencies.  Install it, read the man pages, and do:
portupgrade -rf perl

That's if you're using perl from the ports collection.  It will
rebuild all apps that require perl.
Indeed it is a great tool, I use it nearly everyday.  But in this case it 
seems to not help because the system perl (at least for 4.9) is not a port. 
So, it appears, ports that depend on the system perl - don't know it.  When I 
run that command all that it does is reinstall the perl port.

So I don't have any ports that depend on the new perl.  But when I made the 
new perl the system perl (by running 'use.perl port') my system became 
unstable and running 'use.perl system' fixed it.  Is this a known risk?

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


4.9R - BTX HALTED problem - my solution

2004-04-16 Thread Keith Baldwin
After reading an agonizing thread in freebsd-hackers from back in 2000 with
no solution in layman's terms, this is how I got this to work.

My system:
Celeron 1.7Ghz
MSI MS6526 v2  mobo (Intel arch, apparently this and/or the bios is the
problem)
WD 40GB HDD

The problem: 
After doing a new cd install using the sysinstall menu's as I normally do
this machine failed to boot. All I had to go on was a bunch of technical
garbage and the message BTX HALTED.

The solution:

Boot with the install cd
Select Standard Install
In fdisk, as suggested in the freebsd-hackers thread, I tried altering the
disk geometry to what my BIOS sees. That has never worked for me.
Nonetheless, I did try it. Fdisk just complains and reverts back to what
fdisk sees.
Create one Slice or select A
Select F for dd mode, select yes when prompted.
Make the freebsd slice bootable with S
Quit fdisk with Q
At the Disklabel part of the install select A
I didn't like the setup so I deleted all and recreated my scheme.
Quit disklabel with Q
When prompted for the boot manager I chose Standard (no boot manager)
The install continued and viola, the box booted normally.

Hopes this helps.


Regards,
Keith



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


ipf - IPFILTER_DEFAULT_BLOCK ...This is not working as predicted! Help?

2002-12-17 Thread Keith Spencer
Hi all,
Marty Schlacter is obviously the man. I am following
his firewall tute religiously but I am doing something
wrong!
I have an ipf.rules EXACTLY like his. Works a
treat...but only if I remove the kernel
ipfilter_default_block option.
If it is in there...it blocks way too well.
Everything.
What is going on here or has Marty got it all wrong?
Thanks Keith

http://greetings.yahoo.com.au - Yahoo! Greetings
- Send your seasons greetings online this year!

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



Re: ipf - IPFILTER_DEFAULT_BLOCK ...This is not working as predicted! Help?

2002-12-17 Thread Keith Spencer
Fi,
Here is the Sclacter rule set...mine is identical!
But options IPFILTER_DEFAULT_BLOCK  blocks everything
always! Machine cant adsl pppoe connect etc etc.
Any clues? Mine is a new 4.7 release P4 845 chipset
machine...
PS rules are at very end of this message. 

--- Fernando Gleiser [EMAIL PROTECTED]
wrote:  On Tue, 17 Dec 2002, Keith Spencer wrote:
 
  Hi all,
  Marty Schlacter is obviously the man. I am
 following
  his firewall tute religiously but I am doing
 something
  wrong!
  I have an ipf.rules EXACTLY like his. Works a
  treat...but only if I remove the kernel
  ipfilter_default_block option.
  If it is in there...it blocks way too well.
  Everything.
  What is going on here or has Marty got it all
 wrong?
 
 Are you using the 'quick' keyword? If you don't, ipf
 uses a last-match
 checking, and the last rule is 'block all'
 
 See the IPF HOWTO for details.
 
 
+++ipf.rules++

##

# Inside Interface 
#
#

# Allow out all TCP, UDP, and ICMP traffic  keep
state 
#

pass out quick on ed1 proto tcp from any to any keep
state 
pass out quick on ed1 proto udp from any to any keep
state 
pass out quick on ed1 proto icmp from any to any keep
state 
block out quick on ed1 all 

#
# Allow in all TCP, UDP, and ICMP traffic  keep state

#

pass in quick on ed1 proto tcp from any to any keep
state 
pass in quick on ed1 proto udp from any to any keep
state 
pass in quick on ed1 proto icmp from any to any keep
state 
block in quick on ed1 all 

#

# Loopback Interface 
#


#

# Allow everything to/from your loopback interface so
you 
# can ping yourself (e.g. ping localhost) 
#

pass in quick on lo0 all 
pass out quick on lo0 all 



http://greetings.yahoo.com.au - Yahoo! Greetings
- Send your seasons greetings online this year!

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



OOPS....Re: ipf - IPFILTER_DEFAULT_BLOCK ...This is not working as predicted! Help?

2002-12-17 Thread Keith Spencer
 sorry guys the copy paste mucked up on me...
Here is the full rule set I am using...

#
# Outside Interface 
#

#
# Allow out all TCP, UDP, and ICMP traffic  keep
state on it
# so that it's allowed back in.
#
# If you wanted to do egress filtering...here's where
you'd do it.
# You'd change the lines below so that rather than
allowing out any
# arbitrary TCP connection, it would only allow out
mail, pop3, and http
# connections (for example). So, the first line,
below, would be 
# replaced with:
#pass out quick on ed0 proto tcp from any to any
port = 25 keep state
#pass out quick on ed0 proto tcp from any to any
port = 110 keep state
#pass out quick on ed0 proto tcp from any to any
port = 80 keep state
# ...and then do the same for the remaining lines so
that you allow
# only specified protocols/ports 'out' of your network
#
pass out quick on ed0 proto tcp from any to any keep
state
pass out quick on ed0 proto udp from any to any keep
state
pass out quick on ed0 proto icmp from any to any keep
state
block out quick on ed0 all

#---
# Block all inbound traffic from non-routable or
reserved address spaces
#---
block in log quick on ed0 from 192.168.0.0/16 to any 
#RFC 1918 private IP
block in log quick on ed0 from 172.16.0.0/12 to any  
#RFC 1918 private IP
block in log quick on ed0 from 10.0.0.0/8 to any 
#RFC 1918 private IP
block in log quick on ed0 from 127.0.0.0/8 to any
#loopback
block in log quick on ed0 from 0.0.0.0/8 to any  
#loopback
block in log quick on ed0 from 169.254.0.0/16 to any 
#DHCP auto-config
block in log quick on ed0 from 192.0.2.0/24 to any   
#reserved for doc's
block in log quick on ed0 from 204.152.64.0/23 to any
#Sun cluster interconnect
block in quick on ed0 from 224.0.0.0/3 to any
#Class D  E multicast

#
# Allow bootp traffic in from your ISP's DHCP server
only. 
#
pass in quick on ed0 proto udp from X.X.X.X/32 to any
port = 68 keep state

#
# If you wanted to set up a web server or mail server
on your box
# (which is outside the scope of this howto), or allow
another system
# on the Internet to externally SSH into your
firewall, you'd want to 
# uncomment the following lines and modify as
appropriate. If you 
# have other services running that you need to allow
external access
# to, just add more lines using these as examples.
#
# If the services are on a box on your internal
network (rather than
# the firewall itself), you'll have to add both the
filter listed below,
# plus a redirect rule in your /etc/ipnat.rules file.
#
# pass in quick on ed0 proto tcp from any to any port
= 80 flags S keep state keep frags
# pass in quick on ed0 proto tcp from any to any port
= 25 flags S keep state keep frags
# pass in quick on ed0 proto tcp from X.X.X.X/32 to
any port = 22 flags S keep state keep frags

#
# Block and log all remaining traffic coming into the
firewall
# - Block TCP with a RST (to make it appear as if the
service 
# isn't listening)
# - Block UDP with an ICMP Port Unreachable (to make
it appear 
# as if the service isn't listening)
# - Block all remaining traffic the good 'ol fashioned
way
#
block return-rst in log quick on ed0 proto tcp from
any to any
block return-icmp-as-dest(port-unr) in log quick on
ed0 proto udp from any to any
block in log quick on ed0 all 

#

# Inside Interface 
#


#

# Allow out all TCP, UDP, and ICMP traffic  keep
state 
#

pass out quick on ed1 proto tcp from any to any keep
state 
pass out quick on ed1 proto udp from any to any keep
state 
pass out quick on ed1 proto icmp from any to any keep
state 
block out quick on ed1 all 

#
# Allow in all TCP, UDP, and ICMP traffic  keep state

#

pass in quick on ed1 proto tcp from any to any keep
state 
pass in quick on ed1 proto udp from any to any keep
state 
pass in quick on ed1 proto icmp from any to any keep
state 
block in 

More..Re: ipf - IPFILTER_DEFAULT_BLOCK ...This is not working as predicted! Help?

2002-12-17 Thread Keith Spencer
Hi again,
OK what I meant was apart from having changed an
interface (tun0 not ed0) the ruleset is identical. And
the rule set works! It dials out  everything...It only
works iff the default_block option is not active.
As you can see quick is there. So how can it be that I
do exactly what Marty S does and no one else reports
hassles with it? Any clues Fer et al?
Keith

 What's your internal interface? what's your external
 one? Is this box
 acting as a router? are you using user ppp or mpd?
 How many NICs does
 this box have?
 
 It seems to me that your ruleset is incomplete. Send
 the output of a
 'ifconfig -a' after the ppp link is set up (when you
 got the public IP)
 
 
 
   Fer
 
 
 
  --- Fernando Gleiser [EMAIL PROTECTED]
  wrote:  On Tue, 17 Dec 2002, Keith Spencer wrote:
  
Hi all,
Marty Schlacter is obviously the man. I am
   following
his firewall tute religiously but I am doing
   something
wrong!
I have an ipf.rules EXACTLY like his. Works a
treat...but only if I remove the kernel
ipfilter_default_block option.
If it is in there...it blocks way too well.
Everything.
What is going on here or has Marty got it all
   wrong?
  
   Are you using the 'quick' keyword? If you don't,
 ipf
   uses a last-match
   checking, and the last rule is 'block all'
  
   See the IPF HOWTO for details.
  
  
  +++ipf.rules++
 
 

##
 
  # Inside Interface
 

#
 

#
 
  # Allow out all TCP, UDP, and ICMP traffic  keep
  state
 

#
 
  pass out quick on ed1 proto tcp from any to any
 keep
  state
  pass out quick on ed1 proto udp from any to any
 keep
  state
  pass out quick on ed1 proto icmp from any to any
 keep
  state
  block out quick on ed1 all
 
 

#
  # Allow in all TCP, UDP, and ICMP traffic  keep
 state
 
 

#
 
  pass in quick on ed1 proto tcp from any to any
 keep
  state
  pass in quick on ed1 proto udp from any to any
 keep
  state
  pass in quick on ed1 proto icmp from any to any
 keep
  state
  block in quick on ed1 all
 
 

#
 
  # Loopback Interface
 

#
 
 
 

#
 
  # Allow everything to/from your loopback interface
 so
  you
  # can ping yourself (e.g. ping localhost)
 

#
 
  pass in quick on lo0 all
  pass out quick on lo0 all
 
 
 
  http://greetings.yahoo.com.au - Yahoo! Greetings
  - Send your seasons greetings online this year!
 
 
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of
 the message 

http://greetings.yahoo.com.au - Yahoo! Greetings
- Send your seasons greetings online this year!

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



Re: OOPS....Re: ipf - IPFILTER_DEFAULT_BLOCK ...This is not working as predicted! Help?

2002-12-20 Thread Keith Spencer
 --- Fernando Gleiser [EMAIL PROTECTED]
wrote:  On Wed, 18 Dec 2002, Keith Spencer wrote:
 
   sorry guys the copy paste mucked up on me...
  Here is the full rule set I am using...
 
 But the questions I sent in my previous mail remain
 unanswered.
 post the answers and maybe I can tell what's wrong.
 
 #ifdef WILDGUESS
 
 if you are using user ppp, the outside interface is
 tun0, *not* ed0
 if that is the case, change ed0 into tun0 in the
 rules, reload
 and tell me if that works
 
 #endif

OK Guys...sorry to be a pain but here goes
Thanks Keith

+IPF.RULES +
#
# Outside Interface
#

#
# Allow out all TCP, UDP, and ICMP traffic  keep
state on it
# so that it's allowed back in.
#
# If you wanted to do egress filtering...here's where
you'd do it.
# You'd change the lines below so that rather than
allowing out any
# arbitrary TCP connection, it would only allow out
mail, pop3, and http
# connections (for example). So, the first line,
below, would be 
# replaced with:
# pass out quick on tun0 proto tcp from any to any
port = 25 keep state
# pass out quick on tun0 proto tcp from any to any
port = 110 keep state
# pass out quick on tun0 proto tcp from any to any
port = 80 keep state
# ...and then do the same for the remaining lines so
that you allow
# only specified protocols/ports 'out' of your network
#
pass out quick on tun0 proto tcp from any to any keep
state
pass out quick on tun0 proto udp from any to any keep
state
pass out quick on tun0 proto icmp from any to any keep
state
block out quick on tun0 all

#---
# Block all inbound traffic from non-routable or
reserved address spaces
#---
block in log quick on tun0 from 192.168.0.0/16 to any
#RFC 1918 private IP
block in log quick on tun0 from 172.16.0.0/12 to any
#RFC 1918 private IP
block in log quick on tun0 from 10.0.0.0/8 to any #RFC
1918 private IP
block in log quick on tun0 from 127.0.0.0/8 to any
#loopback
block in log quick on tun0 from 0.0.0.0/8 to any
#loopback
block in log quick on tun0 from 169.254.0.0/16 to any
#DHCP auto-config
block in log quick on tun0 from 192.0.2.0/24 to any
#reserved for doc's
block in log quick on tun0 from 204.152.64.0/23 to any
#Sun cluster interconnect
block in quick on tun0 from 224.0.0.0/3 to any #Class
D  E multicast

#
# Allow bootp traffic in from your ISP's DHCP server
only. 
#
#pass in quick on tun0 proto udp from X.X.X.X/32 to
any port = 68 keep state

#
# If you wanted to set up a web server or mail server
on your box
# (which is outside the scope of this howto), or allow
another system
# on the Internet to externally SSH into your
firewall, you'd want to 
# uncomment the following lines and modify as
appropriate. If you 
# have other services running that you need to allow
external access
# to, just add more lines using these as examples.
#
# If the services are on a box on your internal
network (rather than
# the firewall itself), you'll have to add both the
filter listed below,
# plus a redirect rule in your /etc/ipnat.rules file.
#
pass in quick on tun0 proto tcp from any to any port =
80 flags S keep state keep frags
pass in quick on tun0 proto tcp from any to any port =
25 flags S keep state keep frags
#pass in quick on tun0 proto tcp from X.X.X.X/32 to
any port = 22 flags S keep state keep frags
pass in quick on tun0 proto tcp from any to
203.36.104.241 port = 2 flags S keep state keep
frags
pass in quick on tun0 proto tcp from any to
203.36.104.241 port = 22 flags S keep state keep frags
pass in quick on tun0 proto udp from any to
203.36.104.241 port = 22  keep state 
pass in quick on tun0 proto tcp from any to any port =
443 flags S keep state keep frags
pass in quick on tun0 proto udp from any to any port =
443 keep state
pass in quick on tun0 proto tcp from any to
203.36.104.241 port = 3306 flags S keep state keep
frags
pass in quick on tun0 proto udp from any to
203.36.104.241 port = 3306 keep state
#
# Block and log all remaining traffic coming into the
firewall
# - Block TCP with a RST (to make it appear as if the
service 
# isn't listening)
# - Block UDP with an ICMP Port Unreachable (to make
it appear 
# as if the service isn't listening)
# - Block all remaining traffic the good 'ol fashioned
way

qmail toaster wont deliver to v mailboxes

2002-12-26 Thread Keith Spencer
Hi all,
I have been greatly helped in my quest for the
MattSimerson fbsd qmail toaster that works by
Danbiel Schrock...what a cool guy...but he is on hols
I I have to get this damn thing working.
Anyways Matt is a legend for his tute but whoa...what
a task! So I have got the setup going ( qmail,
vpopmail courierimapd + squirrelmail + qmailadmin +
mysql auth etc etc).
I can create virtual mail accounts using qmailadmin.
I can get to the mailboxes using squirrel webmail and
compose and send mail.
But qmail bounces incoming mail claiming the account
does not exist on the server. It will deliver mail fro
the postmaster account but no others!
I have no idea where to look to config it. Any clues
guys?
Keith Spencer




http://movies.yahoo.com.au - Yahoo! Movies
- What's on at your local cinema?

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



Re: qmail toaster wont deliver to v mailboxes

2002-12-26 Thread Keith Spencer
Hi Brian
 --- Brian Jackson [EMAIL PROTECTED] wrote: 
Keith Spencer wrote:
  
  But qmail bounces incoming mail claiming the
 account
  does not exist on the server. It will deliver mail
 fro
  the postmaster account but no others!
  I have no idea where to look to config it. Any
 clues
  guys?
  Keith Spencer
  
  
 
 What does your /var/log/qmail/current file say?
 
 $tail -f /var/log/qmail/current | tai64nlocal
 
 will give you a running commentary - do that in one
 window, send some 
 messages in another and see what the errors are.
Brian...I dont have such a /var/log/qmail/current
beast!
   :(

http://movies.yahoo.com.au - Yahoo! Movies
- What's on at your local cinema?

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



Here are the logs...Re: qmail toaster wont deliver to v mailboxes

2002-12-30 Thread Keith Spencer
Thanks to Brian et al for trying to help me out.
MY situation is this.

I have installed (with heaps of hassles) MATT
SIMERSON'S QMAIL TOASTER on my fresh install 4.7
stable box.
I am changing over (via strating from scratch) my mail
system for my smmc.qld.edu.au domain from
sendmail/imap/squirrelmail to Matt's
Supervise/Qmail/mysql/vpopmail/imap/squirrel system.
I had about 40 shell account mail users. I seek to
ditch them and create all mail accounts as virtual
users of my domain.
I don't know if to do that smmc.qld.edu.au has to be a
vpopmail virtual domain but that is what I have done.
Along wit the configs Matt's tute suggests that is
pretty much it.
++
Here is what's happening
+++
Qmailadmin can create virtaul users OK because the
Maildirs are appearing
in/usr/local/vpopmail/domains/smmc.qld.edu.au and the
user accnt,passwd etc are getting into the vpopmail
mysql tables ok.
Squirrel works for the vusers ok I can send mail from
the squirrel interface for any user no worries.
The system is NOT able to deliver any mail at all!
I can see it piling up in /var/qmail/queue/mess etc.
For the few shell accounts e.g. my shell account
(Keith) as you can see from the logs it believes the
accnt exists but can deliver.
For a virtaul user accounts it doesn't even recognise
the account exists at all!
I would really appreciate help as I am a little
clueless. I have tried to hack but am not getting too
far.
Happy New year to all..
keith


http://movies.yahoo.com.au - Yahoo! Movies
- What's on at your local cinema?
Typical whinges to log when trying to deliver to a shell account user...At least it 
thinks the account exists!

Dec 31 00:00:00 smmcroute newsyslog[34616]: logfile turned over
Dec 31 00:00:03 smmcroute mail: 1041256803.908619 starting delivery 17893: msg 290936 
to local [EMAIL PROTECTED]
Dec 31 00:00:03 smmcroute mail: 1041256803.909261 status: local 1/10 remote 1/255
Dec 31 00:00:03 smmcroute mail: 1041256803.910348 starting delivery 17894: msg 289996 
to local [EMAIL PROTECTED]
Dec 31 00:00:03 smmcroute mail: 1041256803.911272 status: local 2/10 remote 1/255
Dec 31 00:00:03 smmcroute mail: 1041256803.920062 delivery 17893: deferral: 
Unable_to_chdir_to_maildir._(#4.2.1)/
Dec 31 00:00:03 smmcroute mail: 1041256803.920384 status: local 1/10 remote 1/255
Dec 31 00:00:03 smmcroute mail: 1041256803.920474 delivery 17894: deferral: 
Unable_to_chdir_to_maildir._(#4.2.1)/
Dec 31 00:00:03 smmcroute mail: 1041256803.920549 status: local 0/10 remote 1/255
Dec 31 00:00:05 smmcroute mail: 1041256805.928609 starting delivery 17895: msg 290849 
to local [EMAIL PROTECTED]
Dec 31 00:00:05 smmcroute mail: 1041256805.929225 status: local 1/10 remote 1/255
Dec 31 00:00:05 smmcroute mail: 1041256805.934214 delivery 17895: deferral: 
Unable_to_chdir_to_maildir._(#4.2.1)/
Dec 31 00:00:05 smmcroute mail: 1041256805.934480 status: local 0/10 remote 1/255
Dec 31 00:00:10 smmcroute mail: 1041256810.059273 delivery 17886: deferral: 
Sorry,_I_wasn't_able_to_establish_an_SMTP_connection._(#4.4.1)/


OR .when sending to a virtual user as created by 
qmailadmin/vpopmail system
 (and yes I checked the Maildir has been created in 
/usr/local/vpopmail/domains/smmc.qld.edu.au/cs

Dec 31 12:23:28 smmcroute mail: 1041301408.535012 new msg 290797
Dec 31 12:23:28 smmcroute mail: 1041301408.535628 info msg 290797: bytes 702 from 
[EMAIL PROTECTED] qp 49475 uid 89
Dec 31 12:23:28 smmcroute mail: 1041301408.541201 starting delivery 22514: msg 292224 
to local [EMAIL PROTECTED]
Dec 31 12:23:28 smmcroute mail: 1041301408.543116 status: local 2/10 remote 0/255
Dec 31 12:23:28 smmcroute mail: 1041301408.544101 delivery 22513: deferral: 
Unable_to_chdir_to_maildir._(#4.2.1)/
Dec 31 12:23:28 smmcroute mail: 1041301408.545985 status: local 1/10 remote 0/255
Dec 31 12:23:28 smmcroute mail: 1041301408.549619 starting delivery 22515: msg 290797 
to local [EMAIL PROTECTED]
Dec 31 12:23:28 smmcroute mail: 1041301408.552142 status: local 2/10 remote 0/255
Dec 31 12:23:28 smmcroute mail: 1041301408.553299 delivery 22515: failure: 
Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/
Dec 31 12:23:28 smmcroute mail: 1041301408.554145 status: local 1/10 remote 0/255
Dec 31 12:23:28 smmcroute mail: 1041301408.557766 bounce msg 290797 qp 49484
Dec 31 12:23:28 smmcroute mail: 1041301408.558188 end msg 290797


Hm! 


Help! Is this a virus or a rougue? Qmail is flooding

2003-07-17 Thread Keith Spencer
Hi good fbsd peoples,
I have suddenly been confronted with what looks a lot
like a virus.
Internet connections were VERY slow to stopped.
 ps-ax showed  heaps of ...
57760:00.02 qmail-remote hotmail.com
[EMAIL PROTECTED] 
5777  0:00.03 qmail-remote ausstar.com.au
[EMAIL PROTECTED] 

etc etc.
I use courier imap qmail and squirrelmail.
What is this? Where else should I look?
I have no experience with security hassles on fbsd (if
that is what this is)
Please help
Many Thanks
Keith


http://mobile.yahoo.com.au - Yahoo! Mobile
- Check  compose your email via SMS on your Telstra or Vodafone mobile.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


FreeBSD v4.8: mount w/ 'input/output error

2003-08-16 Thread Keith Young
I apologize for what is probably a very simple question, but I have not 
been able to mount my cd so as to transfer a file from it to my 
system.  Looking at the /etc/fstab I can see /dev/acd0c, 
mountpoint=/cdrom, fstype=cd9660, options=ro, noauto, dump=0, 
pass#=0.  From what I could determine these are all defaults.  I have tried 
the following commands: mount cd9660 /dev/acd0c /cdrom; mount -t cd9660 
/dev/acd0c /cdrom; mount cd9660; mount_cd9660 /dev/acd0c /cdrom.  The 
result is always a message Input/Output error.

I purchased v4.8 on cd's, and had no trouble loading it onto my systems.  I 
booted from floppies (couldn't get bios to boot from cd) and then inserted 
cd to finish installation.  I have tried changing the fstab, eliminating 
the option of noauto, so that the system would mount the cd on startup, but 
I got the same message.  Any help would be greatly appreciated.

Btw, on a previous posting I saw instructions to ls -l /dev/acd* and then 
to cd /dev  rm /dev/acd*  ./MAKEDEV acd0.  Would this have any 
bearing on this situation?

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


5.1 install - Slow

2003-06-26 Thread Keith Pitcher
I'm doing a net install of 5.1 on an AMD K5 100, 16 megs ram. 2 gig HD,
put 128MB for swap. I know this is basically bare minimum, but it's only
going to be a modem gateway.

I started this around 2am, it is now bogged down on adding the perl
package. So far it has about 5.5 megs downloaded and it's just creaping.
It's been on this same package for 8 hours and the install is just
creeping on up on the install size. I doubt this is net congestion and
blame it on the slow machine.

My question is : should it take quite this long? I originally let it run
for 2 hours, thought it was locked up and restarted, see if it would
speed up. But this new install is slowing down at the same spot.

 
This is a new personal record for taking the longest to install.


Thanks,

Keith



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


Help! I killed my rc.conf and cant boot correctly!

2003-06-27 Thread Keith Spencer
Hi all,
Want to hear a tale of stupidity and woe.
I screwed up fbsd 4.7 system rc.conf and can only seem
to boot into a basic session. Cant edit or save to
/etc files.
What to do and you guessed it...noboot disk was made
although I have another 4.7 fbsd machine nearby.
Tell me it's not fatal guys!
Thanks
Keith

http://mobile.yahoo.com.au - Yahoo! Mobile
- Check  compose your email via SMS on your Telstra or Vodafone mobile.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Help! I killed my rc.conf and cant boot correctly!

2003-06-28 Thread Keith Spencer
Thanks Adam,
When the machine boots it drops straight into (I
guess) single user mode. The /usr/sbin /usr/bin cant
be cd-ed to and the /etc dir says it is read only file
system! So I can't save to it.
I have a Schlacter tute fireall setup on it. With
whatever security it entails.
Any clue? Can I interupt the boot and do something?
This is a mission critical machine darn it...Oh dear!
Keith

 --- Adam [EMAIL PROTECTED] wrote:  On Fri,
2003-06-27 at 23:57, Keith Spencer wrote:
  Want to hear a tale of stupidity and woe.
  I screwed up fbsd 4.7 system rc.conf and can only
 seem
  to boot into a basic session. Cant edit or save to
  /etc files.
  What to do and you guessed it...noboot disk was
 made
  although I have another 4.7 fbsd machine nearby.
  Tell me it's not fatal guys!
 
 I don't see why you wouldn't be able to boot into
 single-user mode, edit
 the rc.conf, then reboot. What exactly is the
 problem editing the files
 in /etc from SU mode?
 
 -- 
 Adam [EMAIL PROTECTED]
 
 ___
 [EMAIL PROTECTED] mailing list

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

http://mobile.yahoo.com.au - Yahoo! Mobile
- Check  compose your email via SMS on your Telstra or Vodafone mobile.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Solved RE: Help! I killed my rc.conf and cant boot correctly!

2003-06-28 Thread Keith Spencer
Yet again the FBSD community kick goals!
Thanks heaps
Keith


 --- Roland Wells [EMAIL PROTECTED] wrote: 
adam,
 try:
 fsck -y (check the filesystem)
 mount -uw / (mount root filesystem read/write)
 
 if you saved a backup of the rc.conf, all you have
 to do is:
 
 mv /etc/rc.conf_backup_file /etc/rc.conf
 reboot
 
 hope that helps
 
 roland
 
 
 
 Thanks Adam,
 When the machine boots it drops straight into (I
 guess) single user mode. The /usr/sbin /usr/bin cant
 be cd-ed to and the /etc dir says it is read only
 file
 system! So I can't save to it.
 I have a Schlacter tute fireall setup on it. With
 whatever security it entails.
 Any clue? Can I interupt the boot and do something?
 This is a mission critical machine darn it...Oh
 dear!
 Keith
 
  --- Adam [EMAIL PROTECTED] wrote:  On Fri,
 2003-06-27 at 23:57, Keith Spencer wrote:
   Want to hear a tale of stupidity and woe.
   I screwed up fbsd 4.7 system rc.conf and can
 only
  seem
   to boot into a basic session. Cant edit or save
 to
   /etc files.
   What to do and you guessed it...noboot disk was
  made
   although I have another 4.7 fbsd machine nearby.
   Tell me it's not fatal guys!
  
  I don't see why you wouldn't be able to boot into
  single-user mode, edit
  the rc.conf, then reboot. What exactly is the
  problem editing the files
  in /etc from SU mode?
  
  -- 
  Adam [EMAIL PROTECTED]
  
  

http://mobile.yahoo.com.au - Yahoo! Mobile
- Check  compose your email via SMS on your Telstra or Vodafone mobile.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


A routing/IP/NIC query Expert required

2003-06-28 Thread Keith Spencer
Hi all,
I have a new adsl isp allocating my fbsd 4.7 box a
routable IP (end user ip)
I have 32 (read that as 30) ips of my own to use and
route for my domain.
I have 2 NICs in the gateway/router
How should I setup the IPs and aliases etc. I
figure...
(yyy.yyy.yyy.yyy = ISP end user ip they gave me)
(xxx.xxx.xxx.xx1 = 1st usable ip in my 32 ip range)
(xxx.xxx.xxx.xx2 = 2nd usable ip in my 32 ip range) 

 GATEWAY MACHINE

ADSL MODEM
   |
 |-||
 |  yyy.yyy.yyy.yyy |
 |  xxx.xxx.xxx.xx1 |
 | ||
 |   fxp0 NIC   |
 |  |
 |  |
 |   dc0 NIC|
 | ||
 |   10.0.0.1   |
 |  |
 |__|

Or do I also need an xxx.xxx.xxx.xx3 alias on the dc0
 because I have 2 ip live servers inside the firewall.
I think I do! Am I right or am I right?
I have ipfilter on this machine with ipnat setup tonat
the 10.0.0.0 addresses.
Also, I suppose I could setup ipnat to do mapping of
xxx.xxx.xxx.xxn addresses into 10.0.0.n private
address.
what say you?
Thanks
Keith


  








http://mobile.yahoo.com.au - Yahoo! Mobile
- Check  compose your email via SMS on your Telstra or Vodafone mobile.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: A routing/IP/NIC query Expert required

2003-06-28 Thread Keith Spencer
Hi Michael,
Thanks for the helping hand.
I assume (because I did not do it) the modem is NOT in
bridge mode.
It looks like the last set of instructs you tell me to
do is exactly what I need.
I will alias the nic to all my 30 addresses and use
IPNAT to static NAT map them. I was a bit confused
about what to do even though I knew about NAT. I
hacked around but still couldn't see the servers
behind the firewall.
This would also allow me to setup a DMZ I presume.
So I might put another NIC in the box and allocate
some other private addresses to the facing NICs.
Then prick a few holes in the firewall.
Hmmm How am I doing now?
PS Do I benefit from bridge mode on the modem?

Keith



 --- Micheal Patterson [EMAIL PROTECTED] wrote:
 
 - Original Message - 
 From: Keith Spencer [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Saturday, June 28, 2003 5:25 PM
 Subject: A routing/IP/NIC query  Expert required
 
 
  Hi all,
  I have a new adsl isp allocating my fbsd 4.7 box a
  routable IP (end user ip)
  I have 32 (read that as 30) ips of my own to use
 and
  route for my domain.
  I have 2 NICs in the gateway/router
  How should I setup the IPs and aliases etc. I
  figure...
  (yyy.yyy.yyy.yyy = ISP end user ip they gave me)
  (xxx.xxx.xxx.xx1 = 1st usable ip in my 32 ip
 range)
  (xxx.xxx.xxx.xx2 = 2nd usable ip in my 32 ip
 range)
 
 Keith, it depends on what you're really wanting to
 do in the end.  It also
 depends on if the DSL modem/router is in bridge mode
 or not. If it isn't,
 then the yyy.yyy.yyy.yyy IP may be assigned to the
 DSL unit leaving you with
 the remaining 30 real IP's for your systems behind
 it.
 
 Assuming that the unit isn't in bridge mode (many
 installs aren't) you can
 set the FBSD box outside nic (toward the DSL unit)
 to the first usable IP of
 the range they provided) and configure it for bridge
 mode and assign the
 remaining IP's to the systems on your lan.
 
 Assuming that the unit IS in bridge mode, the
 external nic would use the
 yyy.yyy.yyy.yyy IP and the first usable IP would go
 on your internal nic
 (facing your lan) on the FBSD box and then you'd
 assign the remainder of the
 IP's to the systems on your lan.
 
 Assuming the dsl unit not in bridge mode and you
 actually want to use the
 10.x.x.x IP range on the lan computers insteald of
 the 30 provided,  assign
 all of the real IP's provided to the nic facing the
 DSL unit and the first
 of the 10.x.x.x range you want to use on the FBSD
 nic facing your lan, then
 configure NAT normally. To allocate traffic for a
 real IP to an internal
 10.x.x.x IP for the two live servers, set up a
 static nat on the FBSD box
 ( -redirect_address 10.x.x.x.x  xxx.xxx.xxx.xxx )
 for each of the systems
 and they'll be reachable from the outside.
 
 --
 
 Micheal Patterson
 Network Administration
 Cancer Care Network
 405-733-2230
 
 ___
 [EMAIL PROTECTED] mailing list

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

http://mobile.yahoo.com.au - Yahoo! Mobile
- Check  compose your email via SMS on your Telstra or Vodafone mobile.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


IP aliases not working...Any ideas welcome!

2003-06-28 Thread Keith Spencer
Hi all,
I seek to add 30 or so aliases to an extrenal NIC
But a ping and and ifconfig -a
only shows the first 2 IPs bound to the NIC the rest
of the 210.15.203.xxx ips are ignored...
I am sure it is something obvious but what?
Thanks
Keith
+
ifconfig_interfaces=fxp0 dc0 lo0
ifconfig_dc0=inet 10.0.0.1 netmask 255.255.248.0
ifconfig_fxp0_alias0=inet 210.15.201.90  netmask
255.255.255.252
ifconfig_fxp0_alias1=inet 210.15.203.193 netmask
255.255.255.224 broadcast 210.15.203.223
ifconfig_fxp0_alias2=inet 210.15.203.194 netmask
255.255.255.224 broadcast 210.15.203.223
ifconfig_fxp0_alias3=inet 210.15.203.195 netmask
255.255.255.224 broadcast 210.15.203.223
ifconfig_fxp0_alias4=inet 210.15.203.196 netmask
255.255.255.224 broadcast 210.15.203.223
ifconfig_fxp0_alias5=inet 210.15.203.197 netmask
255.255.255.224 broadcast 210.15.203.223
ifconfig_fxp0_alias6=inet 210.15.203.198 netmask
255.255.255.224 broadcast 210.15.203.223
ifconfig_fxp0_alias7=inet 210.15.203.199 netmask
255.255.255.224 broadcast 210.15.203.223
ifconfig_fxp0_alias8=inet 210.15.203.200 netmask
255.255.255.224 broadcast 210.15.203.223
ifconfig_fxp0_alias9=inet 210.15.203.201 netmask
255.255.255.224 broadcast 210.15.203.223
ifconfig_fxp0_alias10=inet 210.15.203.202 netmask
255.255.255.224 broadcast 210.15.203.223
ifconfig_fxp0_alias11=inet 210.15.203.203 netmask
255.255.255.224 broadcast 210.15.203.223
ifconfig_fxp0_alias12=inet 210.15.203.204 netmask
255.255.255.224 broadcast 210.15.203.223
ifconfig_fxp0_alias13=inet 210.15.203.205 netmask
255.255.255.224 broadcast 210.15.203.223
ifconfig_fxp0_alias14=inet 210.15.203.206 netmask
255.255.255.224 broadcast 210.15.203.223
ifconfig_fxp0_alias15=inet 210.15.203.207 netmask
255.255.255.224 broadcast 210.15.203.223
ifconfig_fxp0_alias16=inet 210.15.203.208 netmask
255.255.255.224 broadcast 210.15.203.223
ifconfig_fxp0_alias17=inet 210.15.203.209 netmask
255.255.255.224 broadcast 210.15.203.223
ifconfig_fxp0_alias18=inet 210.15.203.210 netmask
255.255.255.224 broadcast 210.15.203.223
ifconfig_fxp0_alias19=inet 210.15.203.211 netmask
255.255.255.224 broadcast 210.15.203.223
ifconfig_fxp0_alias20=inet 210.15.203.212 netmask
255.255.255.224 broadcast 210.15.203.223
ifconfig_fxp0_alias21=inet 210.15.203.213 netmask
255.255.255.224 broadcast 210.15.203.223
ifconfig_fxp0_alias22=inet 210.15.203.214 netmask
255.255.255.224 broadcast 210.15.203.223
ifconfig_fxp0_alias23=inet 210.15.203.215 netmask
255.255.255.224 broadcast 210.15.203.223
ifconfig_fxp0_alias24=inet 210.15.203.216 netmask
255.255.255.224 broadcast 210.15.203.223
ifconfig_fxp0_alias25=inet 210.15.203.217 netmask
255.255.255.224 broadcast 210.15.203.223
ifconfig_fxp0_alias26=inet 210.15.203.218 netmask
255.255.255.224 broadcast 210.15.203.223
ifconfig_fxp0_alias27=inet 210.15.203.219 netmask
255.255.255.224 broadcast 210.15.203.223
ifconfig_fxp0_alias28=inet 210.15.203.220 netmask
255.255.255.224 broadcast 210.15.203.223
ifconfig_fxp0_alias29=inet 210.15.203.221 netmask
255.255.255.224 broadcast 210.15.203.223
ifconfig_fxp0_alias30=inet 210.15.203.222 netmask
255.255.255.224 broadcast 210.15.203.223



http://mobile.yahoo.com.au - Yahoo! Mobile
- Check  compose your email via SMS on your Telstra or Vodafone mobile.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


solvde - Re: IP aliases not working...Any ideas welcome!

2003-06-29 Thread Keith Spencer
Someone said I only look stupid...but hey maybe that's
why I am stupid! OOPS! I goofed again. Thanks and
sorry
Keith
 

--- Kevin Stevens [EMAIL PROTECTED]
wrote:  
 On Saturday, Jun 28, 2003, at 21:00 US/Pacific,
 Keith Spencer wrote:
 
  Hi all,
  I seek to add 30 or so aliases to an extrenal NIC
  But a ping and and ifconfig -a
  only shows the first 2 IPs bound to the NIC the
 rest
  of the 210.15.203.xxx ips are ignored...
  I am sure it is something obvious but what?
  Thanks
  Keith
 
 The correct netmask for a second alias within a
 subnet is 
 255.255.255.255.  I don't make the news, I just
 report it.
 
 KeS
 
 ___
 [EMAIL PROTECTED] mailing list

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

http://mobile.yahoo.com.au - Yahoo! Mobile
- Check  compose your email via SMS on your Telstra or Vodafone mobile.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


SOLVED -Re: Help! I killed my rc.conf and cant boot correctly!

2003-06-30 Thread Keith Spencer
Thanks 
--- Roman Neuhauser [EMAIL PROTECTED] wrote: 
# [EMAIL PROTECTED] / 2003-06-28 16:04:58
 +1000:
   --- Adam [EMAIL PROTECTED] wrote:  On Fri,
  2003-06-27 at 23:57, Keith Spencer wrote:
Want to hear a tale of stupidity and woe.  I
 screwed up fbsd 4.7
system rc.conf and can only seem to boot into
 a basic session.
Cant edit or save to /etc files.  What to do
 and you guessed
it...noboot disk was made although I have
 another 4.7 fbsd machine
nearby.  Tell me it's not fatal guys!
   
   I don't see why you wouldn't be able to boot
 into single-user mode,
   edit the rc.conf, then reboot. What exactly is
 the problem editing
   the files in /etc from SU mode?
  
  When the machine boots it drops straight into (I
 guess) single user
  mode. The /usr/sbin /usr/bin cant be cd-ed to and
 the /etc dir says it
  is read only file system! So I can't save to it. 
 I have a Schlacter
  tute fireall setup on it. With whatever security
 it entails.  Any
  clue? Can I interupt the boot and do something?
  This is a mission critical machine darn it...Oh
 dear!
 
 mount -u /
 mount -a -t ufs
 swapon -a
 /usr/bin/vi /etc/rc.conf
 
 -- 
 If you cc me or remove the list(s) completely I'll
 most likely ignore
 your message.see
http://www.eyrie.org./~eagle/faqs/questions.html 

http://mobile.yahoo.com.au - Yahoo! Mobile
- Check  compose your email via SMS on your Telstra or Vodafone mobile.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


ADSL ppoe + IPFILTER = :^( very sad! Help!

2002-12-10 Thread Keith Spencer
Hi all,
Here is a true mystery for you. Please help if you can
I have received no response at earlier times thanks...

I have an ADSL gateway ( pppoe via userppp so tun0
uses my de0 NIC)
I config my kernel to do IPFilter stuff as per
schlacters tute.
I put no matter what rule in and it will no longer
connect to my ADSL ISP. gets as far as dialing (not
eve the first big P in ppp debug and the connection
dies. No IPFIlter and it works...Help.
Is it the interfaces? If I use 
allow all from any to any
that has got to be pretty open...
still no worky.
Anyone aware of strangeness to correct here?
Thanks Keith

http://greetings.yahoo.com.au - Yahoo! Greetings
- Send your seasons greetings online this year!

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



are virtual mail account users possible with sendmail on freebsd

2002-12-11 Thread Keith Spencer
Hi all,
I am wondering how I can add mail acocunts without
actually creating full-blown user accounts for my lan
users.
I have sendmail on fbsd 4.7 (new build machine and I
dont want to create shell accnts for all my users on
this new machine)
Whatever help you might give me perhaps I can use
webmin to add the new users... I have 600 users to
add.
Whoa...thats a lot of work..HELP???!!
Thanks so much in adavnce
Keith

http://greetings.yahoo.com.au - Yahoo! Greetings
- Send your seasons greetings online this year!

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



Re: are virtual mail account users possible with freebsd?

2002-12-13 Thread Keith Spencer
Hi Daniel,
First off thanks so much for your time...I appreciate
it. The Open source world never ceases to amaze me ;^)

I checked out the
http://matt.simerson.net/computing/mail/toaster/ tute
and I'd say 95% I could handle myself OK but there are
a couple of unsaid hings or perhaps errors. I wont
dare try it before I am sure I have the instructions
right.
Could I ask you a few questions?
1) Install QMAIL:
 I presume  -h mail.example.com should be My
server ?
2) VPopmail (Virtual Domain  POP)
bla bla bla...
--enable-mysql-logging= ...bla bla
..=example.com Again I presume I sub in my domain?
 vi vmysql.h  What do I do in VI here ??
3)Courier-IMAP
bla bla
 vi quotawarningmsg  I presume I edit it to
suit?
4) Adding Mail Domains
bla bla
   IDENTIFIED BY 'secret';   What goes here? a
password?
bla bla
   ~vpopmail/bin/vadddomain example.com [password] 
again..my domain and  perhaps the password I typed
instead of the 'secret' thing?
5) OK now you're ready to... bla bla
   Log in with postmaster, example.com and the test
password ...You can guess my questions here I reckon!
6) Convert Multilog date stamps to human readable date
stamps...
# tai64nlocal logfile qmaillog.tmp ...Do I sub
in something for the logfile thing?

I know I seem a bit dopey... but it would really help
so I dont screw up my machine.
Thanks in adavnce if you can help
Keith


 

 Keith Spencer wrote:
  Hi all,
  I am wondering how I can add mail acocunts
without
  actually creating full-blown user accounts for my
 lan
  users.
  I have sendmail on fbsd 4.7 (new build machine
and
 I
  dont want to create shell accnts for all my users
 on
  this new machine)
  Whatever help you might give me perhaps I can use
  webmin to add the new users... I have 600 users
to
  add.
  Whoa...thats a lot of work..HELP???!!
  Thanks so much in adavnce
  Keith

 You may want to look into using qmail.  I've been
 using for a couple 
 years and find it far easier to work with than
 sendmail and postfix 
 (though postfix wasn't all that bad)
 check out this:
 http://matt.simerson.net/computing/mail/toaster/
 
 this will do everything you want.  Follow the
 instructions and you'll be 
 up and running in no time.


http://greetings.yahoo.com.au - Yahoo! Greetings
- Send your seasons greetings online this year!

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



RE: automake, autoconf compiling

2005-01-13 Thread Keith Bottner
All of the information both of your provided is helpful. I will have to
investigate further. Some of the information that Tom specified helped me to
track down the problem. Basically I have multiple versions of the tools
installed and there are two different directories with aclocal m4 files. If
I explicitly change the shell script to also include the other directory
then everything seems to continue on until compile time when there is a
header that cannot be found. It appears this header alloca.h is located in
/usr/src/gnu/usr.bin/sort/alloca.h. I was just wondering if Giorgos method
would also alleviate these problems or if this is just par for the course
when using projects that people have not moved into the ports collection?

Keith 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Giorgos Keramidas
Sent: Thursday, January 13, 2005 3:48 PM
To: Tom Huppi
Cc: Keith Bottner; freebsd-questions@freebsd.org; [EMAIL PROTECTED]
Org
Subject: Re: automake, autoconf compiling

PLEASE DON'T TOP-POST.  THANK YOU :-)

On 2005-01-13 16:24, Tom Huppi [EMAIL PROTECTED] wrote:
On Thu, 13 Jan 2005, Keith Bottner wrote:
 I am trying to get a development system setup and am having trouble 
 identifying how FreeBSD handles automake, autoconf and the like.
 [...] I did chase them down in the /usr/local/libexec/automake18 and 
 similar directories but placing them in the path still generates 
 errors (i.e. there continues to be things that are missing at various 
 stages).

 I guess my general question is: What is the standard way for setting 
 up FreeBSD to use these (GNU tools) with the least trouble across 
 disparate projects?

 I've recently been struggling with similar issues, and would be 
 interested to know what others might have found effective.

I use autoconf/automake and libtool daily at work[1].

The programs I write have to run on at least 3 different operating systems
(FreeBSD, Linux and Solaris) without the need for constant manual tweaking
of the source.

The best way to do that is to use the same version of autotools on all those
platforms.  So, I install the latest possible versions of these tools with
--prefix=/opt/autotools on all the machines I have to use, and stop worrying
about all the details.

When I have to use the tools, I add /opt/autotools/bin at the beginning of
my PATH.  When I don't need them, I remove /opt/autotools/bin from my path.

This has worked wonders so far.

- Giorgos



[1] The operative keyword here is at work.  I don't use autoconf and
friends for programs I write on my own.  I prefer bsd.*.mk for that.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-newbies
To unsubscribe, send any mail to [EMAIL PROTECTED]

--
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.6.11 - Release Date: 1/12/2005
 

-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.6.11 - Release Date: 1/12/2005
 

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


Unable to find device node for /dev/ad0s1b in /dev!

2005-04-03 Thread Keith Rackleff
I had this same type problem.  It appears that FreeBSD and the BIOS did 
not select the proper geometry for the disk.  I tried a different disk 
on the same system, and I was able to install. 

Knopptix reported a different geometry than FreeBSD, so I tried setting 
the geometry to match what Knopptix reported, but, the installation 
graphical fdisk told me the Knopptix geometry was unrealistic, and set 
it back to the BIOS geometry. 

I installed the system on a different drive, and then used the command 
line fdisk command to partition the disk with the Knopptix geometry.  I 
was then able to set the labels and mount the errant drive. 

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


Application Ports

2005-11-09 Thread Keith Owen
I was wanting to know when Vmware 5.0 workstation will be in the ports tree, or 
if there is a way to install the boxed version. 
   Thanks,
Keith Owen


--
CONFIDENTIALITY NOTICE:   This e-mail message, including any attachments, is 
for the sole use of the
intended recipient(s) and may contain confidential and privileged information.
Any unauthorized review, use, disclosure or distribution is prohibited.   If 
you are not the intended recipient, please contact the sender by reply e-mail 
and destroy all copies of the original message.   
--

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


Detecting new hardware

2005-12-07 Thread Keith Bottner
Is there any kind of a utility that I can run to detect a new network card
that I just installed into an existing FreeBSD 5.4 box?
 
Thanks,
 
Keith
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Detect hardware changes

2005-12-08 Thread Keith Bottner
Does anyone know of a utility that can run on FreeBSD and detect the
addition of new hardware? Specifically network cards? When I originally
installed FreeBSD I only had a single NIC and since I installed a second but
FreeBSD does not recognize it. Any ideas on how I can get FreeBSD to be
aware of the new NIC?
 
Thanks in advance,
 
Keith
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Detect hardware changes

2005-12-08 Thread Keith Bottner
I realized I had the problem when ifconfig did not pickup the network card
after a reboot.

I went ahead and ran pciconf -lv like you suggested and the relevant
output looks like this:

[EMAIL PROTECTED]:9:0:  class=0x02 card=0x00241737 chip=0x10321737 rev=0x10
hdr=0x00
vendor   = 'Linksys'
device   = 'EG1032 Gigabit Ethernet'
class= network
subclass = ethernet
[EMAIL PROTECTED]:12:0:  class=0x02 card=0x00c71028 chip=0x920010b7 rev=0x78
hdr=0x00
vendor   = '3COM Corp, Networking Division'
device   = '3C905C-TX Fast EtherLink for PC Management NIC'
class= network
subclass = ethernet 

The new NIC that I added is the first one and the old NIC is the second. It
seems that the system is detecting it fine but ifconfig still does not
display it and there does not appear to be a dev node for it as well. I
added the appropriate line in rc.conf and rebooted the system hoping that
would cause something to update properly but there was no change.

Are there additional steps that have to be taken?

Thanks for your help so far,

Keith
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Svein
Halvor Halvorsen
Sent: Thursday, December 08, 2005 12:48 PM
To: Keith Bottner
Cc: FreeBSD Questions
Subject: Re: Detect hardware changes

On 12/8/05, Keith Bottner [EMAIL PROTECTED] wrote:
 Does anyone know of a utility that can run on FreeBSD and detect the 
 addition of new hardware? Specifically network cards? When I 
 originally installed FreeBSD I only had a single NIC and since I 
 installed a second but FreeBSD does not recognize it. Any ideas on how 
 I can get FreeBSD to be aware of the new NIC?

I think someone replied to you (or someone with a similar problem) just the
other day. Use pciconf -lv to list all hardvare. If you see none@ lines,
this means that no drivers did attach to the hardware.
Then you either need to recompile you kernel og load the correct kernel
module or, if the hardware is not supported, either write a new driver
yourself or replace the hardware (or the os).

You can use the ifconfig utility to list all recognized NICs installed.



--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.371 / Virus Database: 267.13.12/194 - Release Date: 12/7/2005


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


RE: Detect hardware changes

2005-12-08 Thread Keith Bottner
I believe so but for some reason it is still not showing up in ifconfig or
as a dev node. Do I need to do something special for FreeBSD to start
recognizing it at boot?

-Original Message-
From: Peter Giessel [mailto:[EMAIL PROTECTED] 
Sent: Thursday, December 08, 2005 3:02 PM
To: Keith Bottner
Cc: 'FreeBSD Questions'
Subject: RE: Detect hardware changes

On 12/8/2005 11:51, Keith Bottner seems to have typed:
 [EMAIL PROTECTED]:9:0:  class=0x02 card=0x00241737 chip=0x10321737 
 rev=0x10 hdr=0x00
 vendor   = 'Linksys'
 device   = 'EG1032 Gigabit Ethernet'
 class= network
 subclass = ethernet

Looks like this should be supported using the nge driver.



--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.371 / Virus Database: 267.13.12/194 - Release Date: 12/7/2005


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


RE: Detect hardware changes

2005-12-09 Thread Keith Bottner
I have not compiled a kernel. This is a standard FreeBSD 5.4-Release
installation. How can I check to see if the loadable module is installed?

Keith 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Odhiambo
Washington
Sent: Friday, December 09, 2005 12:35 AM
To: freebsd-questions@freebsd.org
Subject: Re: Detect hardware changes

Have you compiled a custom kernel? Do you have the nge driver included in
that kernel?

* On 08/12/05 15:14 -0600, Keith Bottner wrote:
 I believe so but for some reason it is still not showing up in 
 ifconfig or as a dev node. Do I need to do something special for 
 FreeBSD to start recognizing it at boot?
 
 -Original Message-
 From: Peter Giessel [mailto:[EMAIL PROTECTED]
 Sent: Thursday, December 08, 2005 3:02 PM
 To: Keith Bottner
 Cc: 'FreeBSD Questions'
 Subject: RE: Detect hardware changes
 
 On 12/8/2005 11:51, Keith Bottner seems to have typed:
  [EMAIL PROTECTED]:9:0:  class=0x02 card=0x00241737 chip=0x10321737 
  rev=0x10 hdr=0x00
  vendor   = 'Linksys'
  device   = 'EG1032 Gigabit Ethernet'
  class= network
  subclass = ethernet


-Wash

http://www.netmeister.org/news/learn2quote.html

--
+==+
|\  _,,,---,,_ | Odhiambo Washington[EMAIL PROTECTED]
Zzz /,`.-'`'-.  ;-;;,_ | Wananchi Online Ltd.   www.wananchi.com
   |,4-  ) )-,_. ,\ (  `'-'| Tel: +254 20 313985-9  +254 20 313922
  '---''(_/--'  `-'\_) | GSM: +254 722 743223   +254 733 744121
+==+
One monk said to the other, The fish has flopped out of the net! How will
it live?  The other said, When you have gotten out of the net, I'll tell
you.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]



--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.371 / Virus Database: 267.13.12/194 - Release Date: 12/7/2005


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


RE: Detect hardware changes

2005-12-09 Thread Keith Bottner
ipconfig -a doesn't show the skc0 device which I believe is my ultimate
problem. Can I infer from your earlier message that this means the sk module
is not being loaded or is not available? How can I check to see if the
loadable module is installed?

Thanks,

Keith

-Original Message-
From: Loren M. Lang [mailto:[EMAIL PROTECTED] 
Sent: Friday, December 09, 2005 9:06 AM
To: Peter Giessel
Cc: Keith Bottner; 'FreeBSD Questions'
Subject: Re: Detect hardware changes

On Thu, Dec 08, 2005 at 12:02:25PM -0900, Peter Giessel wrote:
 On 12/8/2005 11:51, Keith Bottner seems to have typed:
  [EMAIL PROTECTED]:9:0:  class=0x02 card=0x00241737 chip=0x10321737 
  rev=0x10 hdr=0x00
  vendor   = 'Linksys'
  device   = 'EG1032 Gigabit Ethernet'
  class= network
  subclass = ethernet
 
 Looks like this should be supported using the nge driver.

No, actually the sk driver, look at the first line of pciconfig output.
ifconfig -a should list a network card called skc0 which you just need to
configure.  If all you need is dhcp then just run dhclient skc0.  Add the
device to rc.conf for it to work on boot.  Use man rc.conf for help or copy
the line for the xl0 network card you already have.

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

--
I sense much NT in you.
NT leads to Bluescreen.
Bluescreen leads to downtime.
Downtime leads to suffering.
NT is the path to the darkside.
Powerful Unix is.

Public Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc
Fingerprint: CEE1 AAE2 F66C 59B5 34CA  C415 6D35 E847 0118 A3D2
 

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


RE: Detect hardware changes

2005-12-12 Thread Keith Bottner
 
 -Original Message-
 From: Loren M. Lang [mailto:[EMAIL PROTECTED]
 Sent: Friday, December 09, 2005 9:06 AM
 To: Peter Giessel
 Cc: Keith Bottner; 'FreeBSD Questions'
 Subject: Re: Detect hardware changes
 
 On Thu, Dec 08, 2005 at 12:02:25PM -0900, Peter Giessel wrote:
  On 12/8/2005 11:51, Keith Bottner seems to have typed:
   [EMAIL PROTECTED]:9:0:  class=0x02 card=0x00241737 chip=0x10321737 
   rev=0x10 hdr=0x00
   vendor   = 'Linksys'
   device   = 'EG1032 Gigabit Ethernet'
   class= network
   subclass = ethernet
  
  Looks like this should be supported using the nge driver.
 
 No, actually the sk driver, look at the first line of pciconfig 
 output. ifconfig -a should list a network card called skc0 which you 
 just need to configure.  If all you need is dhcp then just run 
 dhclient skc0.  Add the device to rc.conf for it to work on boot.
 Use man rc.conf for help or copy the line for the xl0 network card you 
 already have.
 
  ___
  freebsd-questions@freebsd.org mailing list 
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to
 [EMAIL PROTECTED]
  
 
 ipconfig -a doesn't show the skc0 device which I believe is my 
 ultimate problem. Can I infer from your earlier message that this 
 means the sk module is not being loaded or is not available? How can I 
 check to see if the loadable module is installed?
 
 Thanks,
 
 Keith

 Hello Keith

 skc0 is the controller. You should see sk0 in ifconfig -a.

 Can you please show us the output of ifconfig -a and rc.conf. 

 Thank you
 Robert

Ifconfig does not show skc0 but here is the output for completeness:

xl0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
options=9RXCSUM,VLAN_MTU
inet 192.168.1.217 netmask 0xff00 broadcast 192.168.1.255
inet6 fe80::2b0:d0ff:fe16:3d30%xl0 prefixlen 64 scopeid 0x1 
ether 00:b0:d0:16:3d:30
media: Ethernet autoselect (100baseTX full-duplex)
status: active
lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384
inet 127.0.0.1 netmask 0xff00 
inet6 ::1 prefixlen 128 
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2 

And rc.conf is:

defaultrouter=192.168.1.1
hostname=gsdev.bltmobile.com
ifconfig_xl0=inet 192.168.1.217  netmask 255.255.255.0
ifconfig_skc0=inet 10.0.130.204  netmask 255.255.255.0
linux_enable=YES
moused_enable=YES
sshd_enable=YES
usbd_enable=YES
postgresql_enable=YES

Anything else that I can send that will help?

Keith




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


RE: Detect hardware changes

2005-12-12 Thread Keith Bottner
-Original Message-
From: Alex Zbyslaw [mailto:[EMAIL PROTECTED] 
Sent: Monday, December 12, 2005 4:55 AM
To: Keith Bottner
Cc: freebsd-questions@freebsd.org
Subject: Re: Detect hardware changes

Keith Bottner wrote:

I have not compiled a kernel. This is a standard FreeBSD 5.4-Release 
installation. How can I check to see if the loadable module is installed?

  

 Have a look in /var/run/dmesg.boot and see if you have a line like

 sk0: unknown media type 0xff

 If so, plug your card into the network and try again.  Even if you don't
see such a line, try it if you haven't already.  If that doesn't work then
what does /var/run/dmesg.boot show for sk0 and skc0?

 I have an SMC card based which fails to attach without a cable -- not sure
if it needs to be plugged in to a  router or not.  The onboard chipset on a
different PC has no such failing.

--Alex

Ok I find the lines that related to skc in the /var/run/dmesg.boot and they
are included below:

skc0: Linksys EG1032 Gigabit Ethernet port 0xe800-0xe8ff mem
0xfbfffc00-0xfbfffcff irq 11 at device 9.0 on pci2
skc0: failed: rid 0x10 is ioport, requested 3
device_attach: skc0 attach returned 6

The second line says failed but I don't where it says anything regarding
why. Any ideas?

Thanks,

Keith





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


SCTP Kernel resource overhead

2005-12-29 Thread Keith Bottner
I am trying to find some information on what kernel resources are expended
when creating an SCTP association. In particular I wanted to be able to
compare a TCP connection to an SCTP association and see how the use of
kernel resources between the two different protocols differ. Does anybody
have an idea on where I can find such information?
 
I am quite familiar with TCP and UDP and am interested to see if SCTP can
replace a UDP implementation that has reliability added into the
application level. The reason UDP is being used is due to the
interconnectedness of the network of servers. If SCTP could be used instead
then that would definately be the better solution. Any ideas?
 
Thanks in advance,

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


SIGCHLD and sockets

2006-04-03 Thread Keith Bottner
I am having a problem with SIGCHLD signals and their interaction with
sockets.
 
I have an application that forks modules in separate processes and use UNIX
domain sockets for communication. The main application handles the SIGCHLD
signal so that it can detect when/if a module crashes and if so restart that
specific module. The problem arises when the module crashes and before the
main application is notified with the SIGCHLD signal the socket will
continue to allow writes. I expected that there would be occasions when the
SIGCHLD signal would occur after my attempt to write into the socket, but I
also expected the socket to return an error at which point I could then mark
the module for restart as well.
 
My question is, has anybody else had this problem? Does anybody know exactly
what is going on an why? And most importantly, does anybody have a solution?
 
Thanks in advance for your time, it is quite an interesting problem so I am
hoping to get some insightful answers.
 
Keith
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


SIGCHLD and sockets HELP!

2006-04-10 Thread Keith Bottner
I am having a problem with SIGCHLD signals and their interaction with
sockets.

I have an application that forks modules in separate processes and use UNIX
domain sockets for communication. The main application handles the SIGCHLD
signal so that it can detect when/if a module crashes and if so restart that
specific module. The problem arises when the module crashes and before the
main application is notified with the SIGCHLD signal the socket will
continue to allow writes. I expected that there would be occasions when the
SIGCHLD signal would occur after my attempt to write into the socket, but I
also expected the socket to return an error at which point I could then mark
the module for restart as well.

My question is, has anybody else had this problem? Does anybody know exactly
what is going on an why? And most importantly, does anybody have a solution?

Thanks in advance for your time, it is quite an interesting problem so I am
hoping to get some insightful answers.

Keith


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


FBSD 6.0 - Canyon WF-511 Wireless card setup

2006-01-02 Thread Keith McKay
Hi

 I'm having a problem trying to setup the above box with the above wireless
card to my home network.  I have a Dlink DL-624+ wireless router which has
two wired WINXP boxes and a wireless WINXP laptop connected to it all of
which work seemlessly.  The wireless card on the freeBSD box can detect the
router when I scan for access points and I can associate the wireless router
with the freebsd box however I cant get an IP address from the wirless
router using the DHCP server of the router.  I know the wireless router can
detect the freebsd box because I can see the mac address on the wireless
card in the router log.  If I run dhclient ral0 and it trys to find the
server without success.

I have all the settings on the wireless card entered, wepkey, station,
channel etc. 

Any suggestions as to what I am doing wrong?

Thanks
Keith

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.371 / Virus Database: 267.14.10/218 - Release Date: 02/01/2006
 

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


Setting up a microphone

2006-01-24 Thread Keith Beattie

Hello,

I'd like to try recording through the microphone both for skype and for 
general audio recording but can't figure out how to get sound out of the 
 microphone.


The Handbook's 7.2.2 Testing the Sound Card section is a great set of 
simple instructions for testing of playback (cat /dev/sndstat, cat 
filename  /dev/dsp) but I can't seem to find an equivalent for getting 
my microphone going.


Does anyone have a similar set of checks for testing microphone input?

$ uname -r
5.4-RELEASE-p3

$ cat /dev/sndstat
FreeBSD Audio Driver (newpcm)
Installed devices:
pcm0: Creative CT5880-E at io 0xb000 irq 20 kld snd_es137x (1p/1r/0v 
channels duplex default)


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

Re: Setting up a microphone

2006-01-24 Thread Keith Beattie

On 01/24/06 07:11, uidzero wrote:


It's worked flawlessly for me after I add recompiled the kernel with 
sound support. (I use Skype as well.)


Thanks and glad to hear that Skype is working.  Listening to music, etc. 
works just fine for me too, it's how to get input from the mic which I'm 
stuck on.  The machine is dual boot so I know the hardware works and the 
things are plugged into the right place (Skype works when running XP). 
This must be a FreeBSD config thing.


I've tried, unsuccessfully, working with mixer, rawrec, wmrecord and 
audacity to capture sound, so I'm now looking for a simple 'is your 
microphone working' test akin to the 'cat some_small_file  /dev/dsp' 
for testing noise coming out of the speakers (which still works).


'cat /dev/dsp  foo', speaking for a bit into the mic, then cntl-c to 
stop, does create a non-empty file but then a 'cat foo  /dev/dsp' 
doesn't produce any sound.  The rawrec port seems promising but no love 
from 'rawrec foo.raw' / 'rawplay foo.raw'.  All this with mixer showing 
non-zero levels for all channels and trying it with the recording source 
as mic and then line.  Something's gotta give here.



Maybe try updating to RELEASE-p8?


Indeed I'll update anyway but I don't believe any of those patches are 
sound related.


Thanks,
ksb

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

Re: Setting up a microphone

2006-01-25 Thread Keith Beattie

On 01/24/06 15:40, Danny Pansters wrote:

mixer recsrc must be mic, do you have that?


yup.  Both mixer and aumix tell me so.

ugh.

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

HELP!!?...dirty fs and dont understand what to say to fsck

2003-11-18 Thread Keith Spencer
Hi all,
System = 4.7
all Intel
I have a filesystem mount error
/dev/ad0s1e i.e. /var
is dirty.
1)the first I noticed trouble was a system freeze.
Untold screen logged errors..
no more mbufs OR out of mbufs
2)I rebooted and it dropped into single user mode ) I
Think) asking me to run fsck manually
3) I did #fsck
4) It said all ok except /dev/ad0s1e
Errors were ... 
Unknown file type I=4609
Unexpected soft update inconsistency
Clear[y|n]
 HELP? do i say y or n? Impact is?? ***
I said no and then...
50983 DUP I=4610 Unexpected soft update inconsistency
54019 DUP I=4610 Unexpected soft update inconsistency
etc etcetc...
 HELP!
Is this fatal (please say no) How do I continue best?
Regards
Keith




http://personals.yahoo.com.au - Yahoo! Personals
New people, new possibilities. FREE for a limited time.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Can I bakup like this...??

2003-11-18 Thread Keith Spencer
Hi all (thanks to Daniela for digging me out of a fsck
hole),
I need a quick n safe backup strategy.
One that I can get the machine backup super quick if
have to.
What say you about this...(and how do I tips please)
a) Throw another drive in the box
b) Createthe same or at least minimum size partitions
as the active drive
c) Cron job to dump or tar or ??? the partitions

Then if the original drive hassles me I dump back to
the partition or if the original drive dies, make the
backup drive the active one!

HELP
How do I do this.
(Disregarding the disaster recovery for the momnet if
necessary)
Thanks
Keith

http://personals.yahoo.com.au - Yahoo! Personals
New people, new possibilities. FREE for a limited time.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


SOLVED!!! Re: HELP!!?...dirty fs and dont understand what to say to fsck

2003-11-19 Thread Keith Spencer
Thanks all
Keith
 --- Daniela [EMAIL PROTECTED] wrote:  On Wednesday 19
November 2003 04:34, Keith Spencer
 wrote:
  Hi all,
  System = 4.7
  all Intel
  I have a filesystem mount error
  /dev/ad0s1e i.e. /var
  is dirty.
  1)the first I noticed trouble was a system freeze.
  Untold screen logged errors..
  no more mbufs OR out of mbufs
  2)I rebooted and it dropped into single user mode
 ) I
  Think) asking me to run fsck manually
  3) I did #fsck
  4) It said all ok except /dev/ad0s1e
  Errors were ...
  Unknown file type I=4609
  Unexpected soft update inconsistency
  Clear[y|n]
   HELP? do i say y or n? Impact is?? ***
  I said no and then...
  50983 DUP I=4610 Unexpected soft update
 inconsistency
  54019 DUP I=4610 Unexpected soft update
 inconsistency
  etc etcetc...
   HELP!
  Is this fatal (please say no) How do I continue
 best?
 
 I don't know what the message means, but I always
 do:
 # yes | fsck
 
 And it never hurt my filesystem.
 
 Regards,
 Daniela
 
  

http://personals.yahoo.com.au - Yahoo! Personals
New people, new possibilities. FREE for a limited time.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Can I bakup like this...?? --user mode Reuben?

2003-11-19 Thread Keith Spencer
Hi all, thanks to all replying.
I just spent many hours finding out my bakup strategy
was useless (didn't know what I was doing I guess)
Now I need to do it properly.
Ruben (and others)
Can I do the tarring of filesystems in a cron job
without being in single user mode?
I just followed a mostgraveconcern tute to move to a
larger drive and it worked well.
Lots of tarring etc BUT...all done in single user
mode. I imagine I cant do THAT and reboot etc etc in a
cron job.
I am going to try Ruben's idea and allay concerns by
having a removable 2nd harddrive so I can do this 
once to take a drive off site
So comments?
Is dump easier (for a dill like me) to use or
whatever?
What say you 
Thanks
Keith

--- Ruben de Groot [EMAIL PROTECTED] wrote:  On Wed,
Nov 19, 2003 at 09:43:30AM -0500, Lowell
 Gilbert typed:
  Keith Spencer [EMAIL PROTECTED] writes:
 
 [...]
 
   a) Throw another drive in the box
   b) Createthe same or at least minimum size
 partitions
   as the active drive
   c) Cron job to dump or tar or ??? the
 partitions
  
  dd(1) is the easiest way to make sure that the
 disk will work just
  like the other one.  It requires a
 same-size-or-larger second disk.
 
 I consider dd a very lousy backup method. Any writes
 to the first disk 
 while dd is running will likely result in corrupted
 filesystems on the
 second disk. Performance is bad as well, since dd
 will copy every single 
 bit, not just actual data.
 
 A better approach would be to follow a) and b)
 above, newfs(8) the
 partitions, make the second drive bootable using
 boot0cfg(8) and then 
 periodically use dump/restore, tar, pax, cpio or
 even rsync to backup
 your first to second disk (I've used them all and
 can't really 
 recommend one over the other so suit yourself).
 
 Ruben
  

http://personals.yahoo.com.au - Yahoo! Personals
New people, new possibilities. FREE for a limited time.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Problems adding a second hard drive

2004-01-08 Thread Keith McKay
Hi all

I had installed FreeBSD 4.7 on an old pentium I 100MHz with 128Meg RAM and a
2Gig Hard drive.  It worked, albeit a little slow but perfectly usable for
experimenting with and learningFreeBSD, and surfing the net.  I got a 3.1Gig
hard drive and thought I'd add it to the FreBSD box and since 4.9 had just
been released I'd start from scratch and install that as well.

It took me a little time to figure how to do this but I managed (or so I
thought) to install FreeBSD.  However although I can see both drives during
the installation  if I do a df all that is displayed is ad0s with no
information on ad2s.  Also I cannot install any more programms since it says
/usr is full.  I'm begining to wonder if the ad2s drive is being used at
all.  When I installed FreeBSD I used the auto defaults for both drives.
Was this the right thing to do?  Any hints or tips would be usefull.

Thanks
Keith McKay
Hamilton, Scotland
e-mail keith attt clanmckay.co.uk
.. in cyberspace no one can see your beard.. 

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


Re: Problems adding a second hard drive

2004-01-09 Thread Keith McKay
Yes.  I was going to use it just for data.  I'll try adding it to
/etc/fstab.

Thanks for the tip

Keith
- Original Message - 
From: Francisco Reyes [EMAIL PROTECTED]
To: Keith McKay [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Friday, January 09, 2004 2:01 PM
Subject: Re: Problems adding a second hard drive


 On Thu, 8 Jan 2004, Keith McKay wrote:

  I got a 3.1Gig
  hard drive and thought I'd add it to the FreBSD box and since 4.9 had
just
  been released I'd start from scratch and install that as well.

 Is the second HD just for data?
 If so you could use /stand/sysinstall to add it. After it is setup I think
 you need to manually add it to /etc/fstab.

 Or where you trying to have a dual boot situation?
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
[EMAIL PROTECTED]

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


SATA RAID Controllers anyone have experience with any of these?

2005-06-09 Thread Keith Bottner
If anyone has had any experience with any of the SATA RAID controllers below
I would be interested. Not just whether you got them working but also if the
performance is what you expected and how feature rich they are. Anybody out
there dual booting FreeBSD with Windows or Linux and using any of these
controllers? What RAID level are you using?
 
Thanks for everyone's input as hardware feedback tends to be the hardest
thing to find for FreeBSD, any hey if there is an SATA RAID controller that
you absolutely swear by then by all means please let me know.
 
Here's the immediate list I am considering but as I mentioned above please
feel free to add your favorite.
 
MegaRAID SATA-6 (0,1,5,10,50)
AMCC 3Ware 8506-4LP (0,1,10,5,JBOD)
RocketRAID 1640 (0,1,10,5,JBOD) - had downloadable drivers and utilities for
FreeBSD on their site
LSI Logic 150-6 RAID (0,1,5,10,50)
 
Thanks in advance for your input,
 
Keith
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Setting up a PDF printer

2009-01-03 Thread Keith Seyffarth

What do I need to install to make printing a pdf from the print
command in an appliction as an option.

It looks like panda may do this, but I'm unsure.

My immediate goal is to be able to print invoices to .pdf from
gnucash.

___
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


  1   2   >