Mouse stopped working in X

2012-05-18 Thread J. W. Ballantine
Hi,

Before the update of x11 on 4/21/2012, X was working fine, but now
when I startx, my usb and touchpad mouse are no longer found.  The 
mouse works in terminal mode, and hald and dbus are started in
/etc/rc.conf.

I rebuilt x11, but that had no effect, any ideas on what I might
do to get the mouse working again?

Here is the tail of the Xorg log.

(**) Option Protocol standard
(**) Option XkbRules base
(**) Option XkbModel pc105
(**) Option XkbLayout us
(II) XINPUT: Adding extended input device AT Keyboard (type: KEYBOARD)
(II) config/hal: Adding input device PS/2 Mouse
(II) LoadModule: mouse
(II) Loading /usr/local/lib/xorg/modules/input/mouse_drv.so
(II) Module mouse: vendor=X.Org Foundation
compiled for 1.7.7, module version = 1.7.1
Module class: X.Org XInput Driver
ABI class: X.Org XInput driver, version 7.0
(WW) PS/2 Mouse: No Device specified, looking for one...
(II) PS/2 Mouse: Setting Device option to /dev/psm0
(--) PS/2 Mouse: Device: /dev/psm0
(==) PS/2 Mouse: Protocol: Auto
(**) PS/2 Mouse: always reports core events
(**) Option Device /dev/psm0
(EE) xf86OpenSerial: Cannot open device /dev/psm0
Device busy.
(EE) PS/2 Mouse: cannot open input device
(II) UnloadModule: mouse
(EE) PreInit returned NULL for PS/2 Mouse
(EE) config/hal: NewInputDeviceRequest failed (8)
(II) UnloadModule: kbd

Thanks

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


Re: pkgdb failure

2007-11-12 Thread J. W. Ballantine

Yes, seems you need to rebuild ruby, for safety I also rebuilt ruby-bdb and
portupgrade.  I then moved /var/db/pkg/pkgdb.db and ran pkgdb -fu.  Then
it was safe to run portupgrade.  

This is probably overkill, but it worked for me.

Jim

--  In Response to your message -

  Date:  Sat, 10 Nov 2007 10:24:14 +1100
  To:  J. W. Ballantine [EMAIL PROTECTED]
  From:  matti k [EMAIL PROTECTED]
  Subject:  Re: pkgdb failure

  On Fri, 09 Nov 2007 08:06:54 -0500
  J. W. Ballantine [EMAIL PROTECTED] wrote:
  
   After upgrading from 6-STABLE to 7-RELEASE, I tried to rebuild
   all the packages from portupgrade -af I started getting the following
   error messages.  The first once, the second multiple times, even
   after I moved the pkgdb.db and did a pkgdb -fu.
   
   [/usr/ports/INDEX-7.db: unexpected file type or format -- Invalid
   argument] [Updating the portsdb format:bdb_btree in /usr/ports .
   .. - 17746 port entries found /usr/ports/INDEX-7.db: unexpected file
   type or format -- Invalid argument: Cannot update the portsdb!
   (/usr/ports/INDEX-7.db)]
   
   
   /var/db/pkg/pkgdb.db: unexpected file type or format -- Invalid
   argument
   
   Any ideas on what is causing this?
  
  I got this as well, after portupgrade tried to register installation of
  new ruby version. A pkgdb -F seemed to correct it and i continued on
  with portupgrade with no more errors.
  
  Regards,
  Matti
  


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


pkgdb failure

2007-11-09 Thread J. W. Ballantine
After upgrading from 6-STABLE to 7-RELEASE, I tried to rebuild
all the packages from portupgrade -af I started getting the following
error messages.  The first once, the second multiple times, even
after I moved the pkgdb.db and did a pkgdb -fu.

[/usr/ports/INDEX-7.db: unexpected file type or format -- Invalid argument] 
[Updating the portsdb format:bdb_btree in /usr/ports .
.. - 17746 port entries found /usr/ports/INDEX-7.db: unexpected file type or 
format -- Invalid argument: Cannot update the portsdb!
(/usr/ports/INDEX-7.db)]


/var/db/pkg/pkgdb.db: unexpected file type or format -- Invalid argument

Any ideas on what is causing this?

Thanks

Jim Ballantine


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


Re: pkgdb failure

2007-11-09 Thread J. W. Ballantine

Thanks,

I thought it was something like that, that's why i rebuilt th pkgdb.


--  In Response to your message -

  Date:  Fri, 09 Nov 2007 08:30:47 -0800
  To:  J. W. Ballantine [EMAIL PROTECTED], [EMAIL PROTECTED]
  From:  Garrett Cooper [EMAIL PROTECTED]
  Subject:  Re: pkgdb failure

  J. W. Ballantine wrote:
   After upgrading from 6-STABLE to 7-RELEASE, I tried to rebuild
   all the packages from portupgrade -af I started getting the following
   error messages.  The first once, the second multiple times, even
   after I moved the pkgdb.db and did a pkgdb -fu.
  
   [/usr/ports/INDEX-7.db: unexpected file type or format -- Invalid argument
] 
   [Updating the portsdb format:bdb_btree in /usr/ports .
   .. - 17746 port entries found /usr/ports/INDEX-7.db: unexpected file type 
or 
   format -- Invalid argument: Cannot update the portsdb!
   (/usr/ports/INDEX-7.db)]
  
  
   /var/db/pkg/pkgdb.db: unexpected file type or format -- Invalid argument
  
   Any ideas on what is causing this?
  
   Thanks
  
   Jim Ballantine
  
 
  
  That generally means that for whatever reason the pkgdb couldn't be 
  read, which may mean that you need to rebuild ruby and all affected 
  libraries to call up 7.x libs (at least based on experience that's 
  what's happened with me).
  Cheers,
  -Garrett
  


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


Re: slice/booting problem

2007-03-05 Thread J. W. Ballantine

The third party boot manager does play nice, I've had this setup
working before (with the same BM [smartboot]), and everything worked fine.

Thanks

--  In Response to your message -

  Date:  Fri, 2 Mar 2007 16:45:51 -0500
  To:  J. W. Ballantine [EMAIL PROTECTED]
  From:  Jerry McAllister [EMAIL PROTECTED]
  Subject:  Re: slice/booting problem

  On Fri, Mar 02, 2007 at 03:12:55PM -0500, J. W. Ballantine wrote:
  
   
   I have a two disk system, and I'm trying to install FBSD6.2 on slice 2
   of the second disk, a configuration that I've had working in the past.
   
   I'm using the Standard installation, select the second disk (ad1)
   and create a slice (ad1s2) and then create the partitions within
   that slice.  On that disk, I install the FreeBSD Boot Manager (I have
   a third party boot manager installed on ad0 that boots FreeBSD).
   
   During the install, I ls /dev and find the ad1s2 partitions created.
   
   After the install, when I try to re-boot, it fails when it trys to
   mountroot.  When I enter ?, I get a listr of GEOM managed disks, but
   the partitions are not listed, while the slice is. 
   
   Any ideas on what I'm missing???
  
  Just a wild guess:  That either the first or second disk didn't
  really get an MBR written to it - or the third party boot manager
  on the first disk might not play nicely with the one on the second 
  disk.
  Try using fdisk (from the install CD fixit if necessary) to write 
  the FreeBSD MBR to both disks.   You can put the other third party 
  booter back afterward if desired/needed.
  
  jerry
  
   
   Thanks
   
   Jim Ballantine
   
   ___
   freebsd-questions@freebsd.org mailing list
   http://lists.freebsd.org/mailman/listinfo/freebsd-questions
   To unsubscribe, send any mail to [EMAIL PROTECTED]
g
  


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


slice/booting problem

2007-03-02 Thread J. W. Ballantine

I have a two disk system, and I'm trying to install FBSD6.2 on slice 2
of the second disk, a configuration that I've had working in the past.

I'm using the Standard installation, select the second disk (ad1)
and create a slice (ad1s2) and then create the partitions within
that slice.  On that disk, I install the FreeBSD Boot Manager (I have
a third party boot manager installed on ad0 that boots FreeBSD).

During the install, I ls /dev and find the ad1s2 partitions created.

After the install, when I try to re-boot, it fails when it trys to
mountroot.  When I enter ?, I get a listr of GEOM managed disks, but
the partitions are not listed, while the slice is. 

Any ideas on what I'm missing???

Thanks

Jim Ballantine



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


Re: system bootup console setup

2006-12-15 Thread J. W. Ballantine

Pieter,

Thanks for the response, but I may have asked the wrong question.

I have two systems running 6-STABLE, one on a desktop pc and one
on a laptop.  Both have saver=logo in rc.conf, but the laptop
fails to load it:
 logo_saver: the console does not support M_VGA_CG320
 Module_register_init: MOD_LOAD (logo_saver, 0xc266aac8, 0) error 19

I thought the problem was that the laptop console was not correctly
set-up, is should support the logo, but /etc/rc.conf, /etc/defaults/rc.conf
(System Consoles), and /etc/ttys (ttyv*) are all identical.

So was I wrong with my thought, or is there somewhere else I should be looking?

Jim




--  In Response to your message -

  Date:  Wed, 6 Dec 2006 20:53:41 +0100
  To:  freebsd-questions@freebsd.org
  From:  Pieter de Goeje [EMAIL PROTECTED]
  Subject:  Re: system bootup console setup

  On Wednesday 06 December 2006 20:00, J. W. Ballantine wrote:
   Ok,  I should be able to find this somewhere
   in the documentation, but I can't (must be looking
   for the wrong key words).
  
   When the system boots, the consoles need to be initialized
   and defined somewhere.  I want to change the definition, but
   I can't find the startup script that init's them.  Which one
   is it?
  /etc/ttys
  and
  allscreens_* in rc.conf
  
  Cheers,
  Pieter de Goeje
  


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


system bootup console setup

2006-12-06 Thread J. W. Ballantine

Ok,  I should be able to find this somewhere
in the documentation, but I can't (must be looking
for the wrong key words).

When the system boots, the consoles need to be initialized
and defined somewhere.  I want to change the definition, but
I can't find the startup script that init's them.  Which one
is it?

Thanks

Jim


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


slice vanishing

2006-10-16 Thread J. W. Ballantine
Hi,

I've been running BSD, for several versions, as a VMWARE client on
a persistant disk.  Recently, following an update to 6-stable/pre-release,
the label for slice that the system was on has been removed.  When I
try and boot the system, it reads and loads the kernel but it fails
when it trys to mount the file system.

Is this an issue with 6-prerelease, VMWARE, or some interaction between
the two?

Any ideas are appreciated.

Thanks

Jim

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


6-RELEASE, calcru, FAQs and kern.timercounter.method

2005-12-02 Thread J. W. Ballantine

I've been getting the calcru: negative time message.  After
search the site I found the FAQ (5.18) that says to set this variable
sysctl kern.timecounter.method=1.  

When I do that, I get sysctl: unknown old 'kern.timercounter.method'.

What is the fix/search term for 6-release??

Thanks

Jim Ballantine



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


calcru: runtime went backwards

2005-12-01 Thread J. W. Ballantine

I running 6-RELEASE as a guest under vmware 5.5 and I'm having
problems with the clock going backwards.  I'm getting the message (sample):

calcru: runtime went backwards from 10542602 usec to 10542600 usec for pid 
13924
 (vmware-guestd)
calcru: runtime went backwards from 11589627 usec to 11589623 usec for pid 
13924
 (vmware-guestd)
calcru: runtime went backwards from 11743728 usec to 11743726 usec for pid 
13924
 (vmware-guestd)
calcru: runtime went backwards from 12550703 usec to 12550699 usec for pid 
13924
 (vmware-guestd)
calcru: runtime went backwards from 12601970 usec to 12601968 usec for pid 
13924
 (vmware-guestd)
calcru: runtime went backwards from 13571027 usec to 13571024 usec for pid 
13924
 (vmware-guestd)
calcru: runtime went backwards from 13571027 usec to 13571024 usec for pid 
13924
 (vmware-guestd)
calcru: runtime went backwards from 13731304 usec to 13731302 usec for pid 
13924
 (vmware-guestd)
calcru: runtime went backwards from 15674182 usec to 15674180 usec for pid 
13924
 (vmware-guestd)

Is this bsd or vmware related, and any way to fix it?

Thanks

Jim Ballantine


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


pausing boot process

2005-11-17 Thread J. W. Ballantine

I've started to get an error during the boot process that scrolls off the
screen so rapidly that I don't have a change to read it.

Is there someway to pause the scrolling/process so the error is read-able??

Thanks for any hints.

Jim Ballantine


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


Re: pausing boot process

2005-11-17 Thread J. W. Ballantine

Thanks, but I don't get to the boot prompt, it dumps core and then
goes to reboot mode.

--  In Response to your message -

  Date:  Thu, 17 Nov 2005 11:28:05 -0500
  To:  'J. W. Ballantine' [EMAIL PROTECTED], [EMAIL PROTECTED]
g
  From:  Steve Bertrand [EMAIL PROTECTED]
  Subject:  RE: pausing boot process

  
   I've started to get an error during the boot process that 
   scrolls off the screen so rapidly that I don't have a change 
   to read it.
   
   Is there someway to pause the scrolling/process so the error 
   is read-able??
  
  Well, as opposed to stopping it, if you wait until the login prompt, you
  can press the 'Scroll Lock' key on the keyboard and use the arrow keys
  to scroll back up to review the entire boot output. Simply press the
  scroll lock again to resume operations.
  
  Regards,
  
  Steve
  
   
   Thanks for any hints.
   
   Jim Ballantine
   
   
   ___
   freebsd-questions@freebsd.org mailing list 
   http://lists.freebsd.org/mailman/listinfo/freebsd-questions
   To unsubscribe, send any mail to 
   [EMAIL PROTECTED]
   
  


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


mergemaster and RELENG6

2005-11-11 Thread J. W. Ballantine

I'm trying to install RELEASE6 on a BSD machine, and the
install fails in the mergemaster stage with:

mtree -deU  -f /usr/src/etc/mtree/BIND.chroot.dist  -p 
/var/tmp/temproot/var/named
./dev missing (created)
./etc missing (created)
./etc/namedb missing (created)
./etc/namedb/dynamic missing (created)
./etc/namedb/master missing (created)
./etc/namedb/slave missing (created)
./var missing (created)
./var/dump missing (created)
./var/log missing (created)
./var/run missing (created)
./var/run/named missing (created)
./var/stats missing (created)
cd /var/tmp/temproot/; rm -f /var/tmp/temproot/sys; ln -s usr/src/sys sys
cd /var/tmp/temproot/usr/share/man/en.ISO8859-1; ln -sf ../man* .
cd /var/tmp/temproot/usr/share/man;  set - `grep ^[a-zA-Z] 
/usr/src/etc/man.alias`;  while [ $# -gt 0 ] ;  do  rm -rf $1;  ln -s $2 
$1;  shift; shift;  done
cd /var/tmp/temproot/usr/share/openssl/man;  set - `grep ^[a-zA-Z] 
/usr/src/etc/man.alias`;  while [ $# -gt 0 ] ;  do  rm -rf $1;  ln -s $2 
$1;  shift; shift;  done
cd /var/tmp/temproot/usr/share/openssl/man/en.ISO8859-1; ln -sf ../man* .
cd /var/tmp/temproot/usr/share/nls;  set - `grep ^[a-zA-Z] 
/usr/src/etc/nls.alias`;  while [ $# -gt 0 ] ;  do  rm -rf $1;  ln -s $2 
$1;  shift; shift;  done
/var/tmp/temproot/usr/obj/usr/src/etc created for /usr/src/etc
cd /usr/src/etc;  install -o root -g wheel -m 644  amd.map apmd.conf auth.conf 
 crontab csh.cshrc csh.login csh.logout devd.conf devfs.conf  dhclient.conf 
disktab fbtab ftpusers gettytab group  hosts hosts.allow hosts.equiv hosts.lpd 
 inetd.conf login.access login.conf  mac.conf motd netconfig network.subr 
networks newsyslog.conf  portsnap.conf pf.conf pf.os phones profile protocols  
rc rc.bsdextended rc.firewall rc.firewall6 rc.initdiskless  rc.sendmail 
rc.shutdown  rc.subr remote rpc services shells  snmpd.config sysctl.conf 
syslog.conf usbd.conf  etc.i386/ttys  /usr/src/etc/../gnu/usr.bin/man/manpath/m
anpath.config  /usr/src/etc/
../usr.bin/mail/misc/mail.rc  /usr/src/etc/../usr.bin/locate/locate/locate.rc 
printcap /var/tmp/temproot/etc;  cap_mkdb -l /var/tmp/temproot/etc/login.conf; 
 install -o root -g wheel -m 755  netstart pccard_ether rc.suspend rc.resume 
/var/tmp/temproot/etc;
  install -o root -g wheel -m 600  master.passwd nsmb.conf opieaccess 
/var/tmp/temproot/etc;  pwd_mkdb -L -p -d /var/tmp/temproot/etc  
/var/tmp/temproot/etc/master.passwd
cap_mkdb: illegal option -- l
usage: cap_mkdb [-v] [-f outfile] file [file ...]
*** Error code 1

Stop in /usr/src/etc.

  *** FATAL ERROR: Cannot 'cd' to /usr/src/etc and install files to
  the temproot environment

The steps I took were:

  copied /etc/rc.d to /etc/old_rc.d
  removed /usr/src/* /usr/obj/*
  cvsup'ed RELENG6
  changed to /usr/src
  did a make buildworld
  did a make buildkernel
  did a make installkernel
  did a mergemaster -i

Anyone have any thoughts on what is causing mergemaster to fail?

Thanks
Jim Ballantine


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


Re: mergemaster and RELENG6

2005-11-11 Thread J. W. Ballantine

Thanks, my understanding was mergemaster before installworld. 
But that appears to be wrong.

--  In Response to your message -

  Date:  Fri, 11 Nov 2005 07:05:37 -0700 (MST)
  To:  J. W. Ballantine [EMAIL PROTECTED]
  From:  Warren Block [EMAIL PROTECTED]
  Subject:  Re: mergemaster and RELENG6

  On Fri, 11 Nov 2005, J. W. Ballantine wrote:
  
   I'm trying to install RELEASE6 on a BSD machine, and the
   install fails in the mergemaster stage with:
  
  
  ...
  
   cap_mkdb: illegal option -- l
   usage: cap_mkdb [-v] [-f outfile] file [file ...]
   *** Error code 1
  
   Stop in /usr/src/etc.
  
*** FATAL ERROR: Cannot 'cd' to /usr/src/etc and install files to
the temproot environment
  
   The steps I took were:
  
copied /etc/rc.d to /etc/old_rc.d
removed /usr/src/* /usr/obj/*
cvsup'ed RELENG6
changed to /usr/src
did a make buildworld
did a make buildkernel
did a make installkernel
did a mergemaster -i
  
   Anyone have any thoughts on what is causing mergemaster to fail?
  
  Probably because you skipped the 'make installworld' step and are still 
  running an old copy of mergemaster.
  
  -Warren Block * Rapid City, South Dakota USA
  


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


5-STABLE to 6-RELEASE upgrade

2005-11-07 Thread J. W. Ballantine

I'm trying to upgrade from 5-STABLE to 6-RELEASE, and I fail during the
kernel install phase of the process.  I deleleted the /usr/src tree
and did a cvsup to get the new bits.  I then ran a make world;
make buildkernel; and then a make installkernel.  This steps fails with:

cd /var/tmp/temproot/usr/share/openssl/man;  set - `grep ^[a-zA-Z] 
/usr/src/etc/man.alias`;  while [ $# -gt 0 ] ;  do  rm -rf $1
;  ln -s $2 $1;  shift; shift;  done
cd /var/tmp/temproot/usr/share/openssl/man/en.ISO8859-1; ln -sf ../man* .
cd /var/tmp/temproot/usr/share/nls;  set - `grep ^[a-zA-Z] 
/usr/src/etc/nls.alias`;  while [ $# -gt 0 ] ;  do  rm -rf $1;  ln -s
 $2 $1;  shift; shift;  done
/var/tmp/temproot/usr/obj/usr/src/etc created for /usr/src/etc
cd /usr/src/etc;  install -o root -g wheel -m 644  amd.map apmd.conf auth.conf 
 crontab csh.cshrc csh.login csh.logout devd.conf dev
fs.conf  dhclient.conf disktab fbtab ftpusers gettytab group  hosts 
hosts.allow hosts.equiv hosts.lpd  inetd.conf login.access login
.conf  mac.conf motd netconfig network.subr networks newsyslog.conf  
portsnap.conf pf.conf pf.os phones profile protocols  rc rc.bsd
extended rc.firewall rc.firewall6 rc.initdiskless  rc.sendmail rc.shutdown  
rc.subr remote rpc services shells  snmpd.config sysctl.
conf syslog.conf usbd.conf  etc.i386/ttys  /usr/src/etc/../gnu/usr.bin/man/manp
ath/manpath.config  /usr/src/etc/../usr.bin/mail/misc
/mail.rc  /usr/src/etc/../usr.bin/locate/locate/locate.rc printcap 
/var/tmp/temproot/etc;  cap_mkdb -l /var/tmp/temproot/etc/login.c
onf;  install -o root -g wheel -m 755  netstart pccard_ether rc.suspend 
rc.resume /var/tmp/temproot/etc;  install -o root -g wheel -
m 600  master.passwd nsmb.conf opieaccess /var/tmp/temproot/etc;  pwd_mkdb -L 
-p -d /var/tmp/temproot/etc  /var/tmp/temproot/etc/mas
ter.passwd
cap_mkdb: illegal option -- l
usage: cap_mkdb [-v] [-f outfile] file [file ...]
*** Error code 1

Stop in /usr/src/etc.

  *** FATAL ERROR: Cannot 'cd' to /usr/src/etc and install files to
  the temproot environment

Any ideas on what need to be done to get this to run???


Thanks

Jim


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


Re: 5-STABLE to 6-RELEASE upgrade

2005-11-07 Thread J. W. Ballantine

Sorry if I wasn't totally percise, but that is what I am doing
the make world is really a build makeworld, and the failure
is actually during the mergemaster phase of the installkernel.
It's the same script I've been using to rebuild the system for a while.

Jim

--  In Response to your message -

  Date:  Tue, 08 Nov 2005 02:36:01 +0800
  To:  J. W. Ballantine [EMAIL PROTECTED]
  From:  Dinesh Nair [EMAIL PROTECTED]
  Subject:  Re: 5-STABLE to 6-RELEASE upgrade

  
  
  On 11/08/05 02:25 J. W. Ballantine said the following:
   and did a cvsup to get the new bits.  I then ran a make world;
   make buildkernel; and then a make installkernel.  This steps fails with:
  
  you should be using buildworld, buildkernel, installkernel, reboot, 
  installworld with a couple of mergemasters thrown in there. see 
  /usr/src/UPDATING for the correct sequence.
  
  -- 
  Regards,   /\_/\   All dogs go to heaven.
  [EMAIL PROTECTED](0 0)http://www.alphaque.com/
  +==oOO--(_)--OOo==+
  | for a in past present future; do|
  |   for b in clients employers associates relatives neighbours pets; do   |
  |   echo The opinions here in no way reflect the opinions of my $a $b.  |
  | done; done  |
  +=+
  


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


date error

2005-05-06 Thread J. W. Ballantine

Hi,

I'm running FreeBSD 5.4-stable under VMware Workstation 5.

When I run date it replys Sat May  6 09:19:53 EDT 2000

Now everything is ok except it's Fri 2005.  When I check the
clock on the windows side it reports the year correctly.

Anybody know why BSD thinks it's 5 years earlier???

Thanks

Jim


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


directory Operation not permitted

2004-12-07 Thread J. W. Ballantine

Hi,

I'm running FreeBSD5-stable and there is a directory named
 empty in the /var/tmp/temproot/var path, created by mergemaster,
 that will not allow me , as su, to chmod or remove.  Any time I try
 I get Operation Not Permitted.

There doesn't seem to be anything special about it, any thoughts as to
what is going on with this beast???

When I rerun mergemaster and reply yes to the final should I delete the dir. 
path,
it is removed.

Thanks

Jim


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


Re: ntfs mount

2004-05-07 Thread J. W. Ballantine

The full fdisk output is:
*** Working on device /dev/ad0 ***
parameters extracted from in-core disklabel are:
cylinders=4865 heads=255 sectors/track=63 (16065 blks/cyl)

Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=4865 heads=255 sectors/track=63 (16065 blks/cyl)

Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 45,(unknown)
start 63, size 30716217 (14998 Meg), flag 0
beg: cyl 0/ head 1/ sector 1;
end: cyl 1023/ head 254/ sector 63
The data for partition 2 is:
sysid 45,(unknown)
start 30716280, size 20482875 (10001 Meg), flag 0
beg: cyl 1023/ head 255/ sector 63;
end: cyl 1023/ head 254/ sector 63
The data for partition 3 is:
sysid 165,(FreeBSD/NetBSD/386BSD)
start 51199155, size 12273660 (5992 Meg), flag 80 (active)
beg: cyl 1023/ head 255/ sector 63;
end: cyl 1023/ head 254/ sector 63
The data for partition 4 is:
sysid 165,(FreeBSD/NetBSD/386BSD)
start 63472815, size 14667345 (7161 Meg), flag 0
beg: cyl 1023/ head 255/ sector 63;
end: cyl 1023/ head 254/ sector 63

--  In Response to your message -

  Date:  Thu, 06 May 2004 21:51:33 +0100
  To:  J. W. Ballantine [EMAIL PROTECTED]
  From:  Mark Ovens [EMAIL PROTECTED]
  Subject:  Re: ntfs mount

  J. W. Ballantine wrote:
   Seems our friends in redmond have done something strange with the
   fs type.  both w2k partitions on the disk show a type of 45
  
  Hmm, it's not a brand-name PC that came with Windows pre-installed is 
  it? If so there may be a hidden recovery/diagnostics partition that is 
  confusing fdisk.

It a Dell, but given the configuration, i do not believe it came
pre-installed from the factory.
  
  Do you have anything like OnTrack Disk Manager installed to get round 
  disk size limitations in the BIOS? Unlikely with a machine that runs 
  W2K, but I do know someone that installed in on a P-III machine when he 
  built it, using an old 6.5Gbyte disk, because it came with the disk?
  
No disk manager of any sort running.

  Since you have 2 Windows partitions, you haven't installed any form of 
  multi-OS boot manager have you? You wouldn't need it with W2K but you 
  may have had if you had 2 different versions of Win9x on there once over?

Only the first partition is bootable, I had two to separate the
standard install from the non-standard (ie the programs I use).
The multi-os boot manager is Smart Boot Manager, but that doesn't change
any partiton ids.
  
  Can you post the whole output of `fdisk ad0', it may just give someone a 
  clue?
  
   and both freebsd show 165.
   
  
  Which is correct.
  
  
  Regards,
  
  Mark
  
   Thanks
   Jim
   
   --  In Response to your message -
   
Date:  Thu, 06 May 2004 20:40:45 +0100
To:  J. W. Ballantine [EMAIL PROTECTED], [EMAIL PROTECTED]
rg
From:  Mark Ovens [EMAIL PROTECTED]
Subject:  Re: ntfs mount
  
J. W. Ballantine wrote:
 when I do a properties under w2k it says file system is ntfs,
 fdisk on bsd show partition 1 is sysid 45,(unknown)
 

Hmm, should be sysid 7. I can't remember if the NTFS driver is built 
into the kernel (by default) or it's a kld module under 4.x, I'm running
 
-CURRENT, but I'm sure I never had to do anything special for NTFS 
support in 4.x and the Handbook and FAQ only mention mount_ntfs.

FWIW, here's what I get (single partition, C:, on the first drive). Note
 
mine is 'da0', not 'ad0', as it's SCSI not IDE:

/home/mark{38}# fdisk da0
*** Working on device /dev/da0 ***
parameters extracted from in-core disklabel are:
cylinders=8924 heads=255 sectors/track=63 (16065 blks/cyl)

Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=8924 heads=255 sectors/track=63 (16065 blks/cyl)

Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 7 (0x07),(OS/2 HPFS, NTFS, QNX-2 (16 bit) or Advanced UNIX)
 start 63, size 143347932 (69994 Meg), flag 0
 beg: cyl 0/ head 1/ sector 1;
 end: cyl 1023/ head 254/ sector 63
The data for partition 2 is:
UNUSED
The data for partition 3 is:
UNUSED
The data for partition 4 is:
UNUSED
/home/mark{39}#


 --  In Response to your message -
 
  Date:  Thu, 06 May 2004 20:01:24 +0100
  To:  J. W. Ballantine [EMAIL PROTECTED], [EMAIL PROTECTED]
sd.o
   rg
  From:  Mark Ovens [EMAIL PROTECTED]
  Subject:  Re: ntfs mount

  J. W. Ballantine wrote:
   
   yes, there is only one hard disk.
   
  
  What does the output

Re: ntfs mount

2004-05-07 Thread J. W. Ballantine

The last four lines are not even close:
  fa eb 5c 53 42 4d 33 2e  37 2e 31 00 02 01 01 00  |..\SBM3.7.1.|
0010  02 e0 00 40 0b f0 09 00  12 00 02 00 00 00 00 00  |[EMAIL PROTECTED]|
0020  00 00 00 00 00 00 29 00  00 00 00 53 4d 41 52 54  |..)SMART|
0030  20 42 54 4d 47 52 46 41  54 31 32 20 20 20 eb 1f  | BTMGRFAT12   ..|
0040  53 42 4d 4c 01 03 2c 01  00 00 00 00 00 00 00 00  |SBML..,.|
0050  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 31  |...1|
0060  c0 8e d0 bc 00 7c 89 e6  50 07 50 1f fb fc bf 00  |.|..P.P.|
0070  06 b9 00 01 f3 a5 ea 7b  00 60 00 0e 1f 68 00 10  |...{.`...h..|
0080  07 8d 36 46 00 b9 05 00  31 ff 51 ac 88 c1 66 ad  |..6F1.Q...f.|
0090  66 89 c3 b8 01 02 09 c9  74 12 e8 57 00 72 3a 81  |f...t..W.r:.|
00a0  c7 00 02 66 43 e2 f3 59  e2 e0 eb 01 59 31 ff 26  |...fC..YY1.|
00b0  66 81 7d 04 53 42 4d 4b  75 20 26 81 7d 08 07 03  |f.}.SBMKu .}...|
00c0  75 18 26 8b 4d 0a 30 db  26 8a 05 00 c3 47 e2 f8  |u..M.0.G..|
00d0  08 db 75 06 ea 00 00 00  10 59 8d 36 ad 01 ac 08  |..u..Y.6|
00e0  c0 74 09 bb 07 00 b4 0e  cd 10 eb f2 30 e4 cd 16  |.t..0...|
00f0  cd 18 eb fe 60 50 53 bb  aa 55 b4 41 cd 13 72 45  |`PS..U.A..rE|
0100  81 fb 55 aa 75 3f f6 c1  01 74 3a 5b 58 80 c4 40  |..U.u?...t:[X..@|
0110  8d 36 02 02 66 31 c9 c6  04 10 66 89 4c 0c 88 4c  |.6..f1f.L..L|
0120  01 88 4c 03 88 44 02 89  7c 04 8c 44 06 66 89 5c  |..L..D..|..D.f.\|
0130  08 50 52 cd 13 5a 58 73  6b e8 6a 00 fe c6 80 fe  |.PR..ZXsk.j.|
0140  03 72 e1 eb 5e 52 06 57  b4 08 cd 13 88 0e 00 02  |.r..^R.W|
0150  88 36 01 02 5f 07 5a 5b  58 72 48 50 52 66 89 d8  |.6.._.Z[XrHPRf..|
0160  66 0f b7 0e 00 02 81 e1  3f 00 66 31 d2 66 f7 f1  |f...?.f1.f..|
0170  42 89 d1 66 31 db 8a 1e  01 02 fe c3 66 31 d2 66  |B..f1...f1.f|
0180  f7 f3 88 d3 86 c4 c0 e0  06 09 c1 5a 58 88 de 89  |...ZX...|
0190  fb 31 ff 50 cd 13 58 73  0b e8 0a 00 47 81 ff 03  |.1.P..XsG...|
01a0  00 72 f0 f9 61 c3 60 31  c0 cd 13 61 c3 07 53 42  |.r..a.`1...a..SB|
01b0  4d 4b 20 42 61 64 21 0d  0a 00 00 00 00 00 00 01  |MK Bad!.|
01c0  01 00 2d fe ff ff 3f 00  00 00 39 b1 d4 01 00 ff  |..-...?...9.|
01d0  ff ff 2d fe ff ff 78 b1  d4 01 3b 8b 38 01 80 ff  |..-...x...;.8...|
01e0  ff ff a5 fe ff ff b3 3c  0d 03 fc 47 bb 00 00 ff  |..G|
01f0  ff ff a5 fe ff ff af 84  c8 03 51 ce df 00 55 aa  |..Q...U.|
0200

I use the same boot manager on another system (xp rather than 2k) and
have no problems mounting the disk.

Jim

--  In Response to your message -

  Date:  Fri, 07 May 2004 18:40:15 +0100
  To:  J. W. Ballantine [EMAIL PROTECTED]
  From:  Mark Ovens [EMAIL PROTECTED]
  Subject:  Re: ntfs mount

  J. W. Ballantine wrote:
  
   The full fdisk output is:
   *** Working on device /dev/ad0 ***
   parameters extracted from in-core disklabel are:
   cylinders=4865 heads=255 sectors/track=63 (16065 blks/cyl)
   
  
  [snip]
  
  I take it that the partition sizees reported are correct?
  
   It a Dell, but given the configuration, i do not believe it came
   pre-installed from the factory.
  
  I would have thought that a Dell would have had *an* OS pre-installed.
  
   Only the first partition is bootable, I had two to separate the
   standard install from the non-standard (ie the programs I use).
   The multi-os boot manager is Smart Boot Manager, but that doesn't change
   any partiton ids.
  
  Not come across Smart Boot Manager but I wonder if it creates a small 
  partition to run from; the OS/2 Boot Manager, which was also shipped 
  with older versions of Partition Magic, did but, like recovery 
  partitions it didn't get a drive letter.
  
  Try running:
  
  # dd if=/dev/ad0 of=/tmp/foo bs=512 count=1
  # hd /tmp/foo  /tmp/foo.hd
  
  This copies the first sector of the disk to a file and hd(1) does a 
  hexdump of the binary file.
  
  Open /tmp/foo.hd in an editor and look at the last 4 lines, they should 
  look similar to:
  
  01b0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 80 01
  01c0  01 00 a5 7f ff 10 3f 00  00 00 41 97 60 00 00 00
  01d0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
  01e0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
  01f0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 55 aa
  0200
  
  (there will be the ASCII to the right of each line but I've not included 
  it to prevent wrapping in the e-mail)
  
  The partition type is the third hex number in the last 4 lines; the 
  example above is 'a5' (FreeBSD) and the disk has only one partition 
  which is why the other 3 lines are all zeros.
  
  Post the file /tmp/foo.hd here as other stuff may yield clues.
  
  Regards,
  
  Mark
  
  


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org

Re: ntfs mount

2004-05-07 Thread J. W. Ballantine

Only if it treats w2k different than 98 and XP.  I've had the same
boot manager on dual boot machines with the two MS OSes and FreeBSD
and have no trouble mounting the ms partitions on FreeBSD.

Jim

--  In Response to your message -

  Date:  Fri, 07 May 2004 19:10:17 +0100
  To:  J. W. Ballantine [EMAIL PROTECTED]
  From:  Mark Ovens [EMAIL PROTECTED]
  Subject:  Re: ntfs mount

  Mark Ovens wrote:
  
   Not come across Smart Boot Manager but I wonder if it creates a small 
   partition to run from; the OS/2 Boot Manager, which was also shipped 
   with older versions of Partition Magic, did but, like recovery 
   partitions it didn't get a drive letter.
   
  
  Ah! I've just thought of something. My old machine had Boot Magic 
  installed - the boot manager that came with later versions of Partition 
  Magic and didn't need a dedicated partition. One of it's features let 
  you choose which partitions each OS could see. I never looked into _how_ 
  it did it but I'm now wondering if it worked by setting the partition 
  type id flag to 45 (unknown) in the partition table; I do remember that 
  I had to disable the BIOS boot sector anti-virus feature as it went off 
  everytime I booted.
  
  Now, it may be that this is how Smart Boot Manager works. You could 
  confirm it by viewing the MBR when booted into Windows, you can get a 
  copy of dd(1) and hd(1) for windows from cygwin.com or you can use 
  DSKPROBE.EXE which is in the NT4 Resource Kit (if you can find a copy - 
  e-mail me if you can't) and see if the partition type for the first two 
  partitions is now set to 7 (NTFS), and maybe the FreeBSD partitions are 
  now 45?
  
  Regards,
  
  Parish
  
  
  


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


ntfs mount

2004-05-06 Thread J. W. Ballantine

Ok, either I'm missing something very basic or

I'm trying to mount a w2k ntfs file system with:
  mount_ntfs /dev/ad0s1 /C
and I get back:
 mount_ntfs: /dev/ad0s1: Invalid Argument

I'm told this is an ntfs5 file system, could it be that
FreeBSD doesn't grok this type of fs or am I missing something
really basic??

For ad0 there is only s1,s2,s3,s4; nots5 or above.

This is on a 4.10-prerelease system.

Thanks for any and all thoughts

Jim




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


Re: ntfs mount

2004-05-06 Thread J. W. Ballantine

--  In Response to your message -

  Date:  Thu, 06 May 2004 19:28:27 +0100
  To:  [EMAIL PROTECTED]
  From:  Mark Ovens [EMAIL PROTECTED]
  Subject:  Re: ntfs mount

  J. W. Ballantine wrote:
  
   Ok, either I'm missing something very basic or
   
   I'm trying to mount a w2k ntfs file system with: mount_ntfs
   /dev/ad0s1 /C and I get back: mount_ntfs: /dev/ad0s1: Invalid
   Argument
   
  
  Is the filesystem you are trying to mount the first _primary_ partition
  on the first (i.e. the one jumpered Master) hard disk?

yes, there is only one hard disk.

  
   I'm told this is an ntfs5 file system, could it be that
  
  IIRC, W2K uses NTFS4; NTFS5 is XP.
  
   FreeBSD doesn't grok this type of fs
  
  Yes, it does.
  
   or am I missing something really basic??
   
  
  Possibly, depends on the answer to the location of the filesystem.
  
   For ad0 there is only s1,s2,s3,s4; nots5 or above.
   
   This is on a 4.10-prerelease system.
   
   Thanks for any and all thoughts
   
   Jim
   
   
   
   
   ___ 
   [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: ntfs mount

2004-05-06 Thread J. W. Ballantine

Seems our friends in redmond have done something strange with the
fs type.  both w2k partitions on the disk show a type of 45
and both freebsd show 165.

Thanks
Jim

--  In Response to your message -

  Date:  Thu, 06 May 2004 20:40:45 +0100
  To:  J. W. Ballantine [EMAIL PROTECTED], [EMAIL PROTECTED]
  From:  Mark Ovens [EMAIL PROTECTED]
  Subject:  Re: ntfs mount

  J. W. Ballantine wrote:
   when I do a properties under w2k it says file system is ntfs,
   fdisk on bsd show partition 1 is sysid 45,(unknown)
   
  
  Hmm, should be sysid 7. I can't remember if the NTFS driver is built 
  into the kernel (by default) or it's a kld module under 4.x, I'm running 
  -CURRENT, but I'm sure I never had to do anything special for NTFS 
  support in 4.x and the Handbook and FAQ only mention mount_ntfs.
  
  FWIW, here's what I get (single partition, C:, on the first drive). Note 
  mine is 'da0', not 'ad0', as it's SCSI not IDE:
  
  /home/mark{38}# fdisk da0
  *** Working on device /dev/da0 ***
  parameters extracted from in-core disklabel are:
  cylinders=8924 heads=255 sectors/track=63 (16065 blks/cyl)
  
  Figures below won't work with BIOS for partitions not in cyl 1
  parameters to be used for BIOS calculations are:
  cylinders=8924 heads=255 sectors/track=63 (16065 blks/cyl)
  
  Media sector size is 512
  Warning: BIOS sector numbering starts with sector 1
  Information from DOS bootblock is:
  The data for partition 1 is:
  sysid 7 (0x07),(OS/2 HPFS, NTFS, QNX-2 (16 bit) or Advanced UNIX)
   start 63, size 143347932 (69994 Meg), flag 0
   beg: cyl 0/ head 1/ sector 1;
   end: cyl 1023/ head 254/ sector 63
  The data for partition 2 is:
  UNUSED
  The data for partition 3 is:
  UNUSED
  The data for partition 4 is:
  UNUSED
  /home/mark{39}#
  
  
   --  In Response to your message -
   
Date:  Thu, 06 May 2004 20:01:24 +0100
To:  J. W. Ballantine [EMAIL PROTECTED], [EMAIL PROTECTED]
rg
From:  Mark Ovens [EMAIL PROTECTED]
Subject:  Re: ntfs mount
  
J. W. Ballantine wrote:
 
 yes, there is only one hard disk.
 

What does the output from `fdisk ad0' show?

Regards,

Mark

   
   
   
   
  


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


Re: FreeBSD as vmware guest OS and net

2004-03-19 Thread J. W. Ballantine

Sorry if I  didn't make my question clear.  I know my NIC card driver,
the problem is when I start up BSD as a guest OS in vmware, it responds that
it can't find a route to the network and I was inquiring if there
was a different  driver needed under vmware bridged-to-network.

Thanks for the response.

Jim

--  In Response to your message -

  Date:  Thu, 18 Mar 2004 15:28:34 -0500 (EST)
  To:  [EMAIL PROTECTED] (J. W. Ballantine)
  From:  Jerry McAllister [EMAIL PROTECTED]
  Subject:  Re: FreeBSD as vmware guest OS and net

   
   
   I have a box with w2k as the primary OS and FreeBSD 4.9-stable installed
   as a dual-boot.  I also have vmware 4 installed under w2k with
   bsd as the guest OS.  My problem is I can't get bsd to talk to
   the network card.  What settings do I need and/or network driver do I
   need to set???
  
  Generally you can figure out the NIC driver by looking through
  the boot messages.   use  dmesg(8)  to look at the file of
  messages.When you find some text looking like it is talking
  about a NIC, then take the two leter code it is referring to and
  use it as your driver - in the kernel.
  
  On the machine I am currently on it looks like:
  
  em0: Intel(R) PRO/1000 Network Connection, Version - 1.7.16 
 port 0xdf40-0xdf7f mem 0xfeae-0xfeaf irq 9 at device 12.0 on pci1
  em0:  Speed:N/A  Duplex:N/A
  
  So the driver is  'em'  in this case.
  
  jerry
  
   
   Jim
   
  


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


FreeBSD as vmware guest OS and net

2004-03-18 Thread J. W. Ballantine

I have a box with w2k as the primary OS and FreeBSD 4.9-stable installed
as a dual-boot.  I also have vmware 4 installed under w2k with
bsd as the guest OS.  My problem is I can't get bsd to talk to
the network card.  What settings do I need and/or network driver do I
need to set???

Jim


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


Re: gateway on different subnet

2002-12-18 Thread J. W. Ballantine

Yes, from netbsd since the default of an empty file didn't work:

 /etc/dhclient.conf
   # $FreeBSD: src/etc/dhclient.conf,v 1.2.2.1 2001/12/14 11:44:31 rwatson Exp 
$
   #
   #   This file is required by the ISC DHCP client.
   #   See ``man 5 dhclient.conf'' for details.
   #
   #   In most cases an empty file is sufficient for most people as the
   #   defaults are usually fine.
   #
   send host-name tinlizzie.hlb.cable.rcn.com;
   send dhcp-client-identifier tinlizzie.hlb.cable.rcn.com;

   timeout 60;
   reboot 10;

   retry 60;
   select-timeout 5;
   initial-interval 2;
   
   #script /etc/dhclient-script
   
   interface xl0 {
  
request subnet-mask, broadcast-address, routers, domain-name-servers,
domain-name, host-name;
require domain-name-servers;
media link2;
   }

 /etc/dhclient-script
#!/bin/sh

PATH=/bin:/sbin:/usr/bin

if [ $CALLOUT_STATE = end ]; then
  if [ x$reason = xBOUND -o x$reason = xREBOOT]; then
if [ x$new_host_name != x ]; then
  if [ x$new_domain_name != x ]; then
hostname $new_host_name.$new.domain_name
echo New Hostname: $new_host_name.$new.domain_name
  else
hostname $new_host_name
echo New Hostname: $new_host_name
  fi
fi
  fi
fi


 /etc/start_if.xl0
#!/bin/sh

/sbin/dhclient xl0



--  In Response to your message -

  Date:  Mon, 16 Dec 2002 14:26:34 -0800 (PST)
  To:  J. W. Ballantine [EMAIL PROTECTED]
  From:  Brian [EMAIL PROTECTED]
  Subject:  Re: gateway on different subnet 

  no default entry in your netstat -rn, I am amazed you are not getting this
  via dhcp.  You have an /etc/dhclient.conf?
  
   Brian
  
  
  On Mon, 16 Dec 2002, J. W. Ballantine wrote:
  
  
   Here are the leases, ifconfig and netstat:
  
  
   tinlizzie# cat /var/db/dhclient.leases
   lease {
 interface xl0;
 fixed-address 209.122.66.XXX;  (ND I changed the last part of the addres
s)
 medium link2;
 option subnet-mask 255.255.255.0;
 option routers 10.17.47.37;
 option dhcp-lease-time 900;
 option dhcp-message-type 5;
 option domain-name-servers 207.172.3.9,207.172.3.8;
 option dhcp-server-identifier 10.17.47.37;
 option dhcp-renewal-time 450;
 option dhcp-rebinding-time 787;
 option host-name tinlizzie.hlb.cable.rcn.com;
 option domain-name hlb.cable.rcn.com;
 renew 3 2002/12/11 18:23:28;
 rebind 3 2002/12/11 18:29:55;
 expire 3 2002/12/11 18:31:48;
   }
  
   tinlizzie# netstat -rn
   Routing tables
   Internet:
   DestinationGatewayFlagsRefs  Use  Netif Expire
   10.17.47.3700:01:02:54:ca:dd  UHS 00xl0
   127.0.0.1  127.0.0.1  UH  00lo0
   Internet6:
   Destination   Gateway   Flags
   Netif
Expire
   ::1   ::1   UH
  lo0
   fe80::%xl0/64 link#1UC
  xl0
   fe80::201:2ff:fe54:cadd%xl0   00:01:02:54:ca:dd UHL   
  lo0
   fe80::%lo0/64 fe80::1%lo0   Uc
  lo0
   fe80::1%lo0   link#4UHL   
  lo0
   ff01::/32 ::1   U 
  lo0
   ff02::%xl0/32 link#1UC
  xl0
   ff02::%lo0/32 ::1   UC
  lo0
  
  
  
   tinlizzie# ifconfig xl0
   xl0: flags=c843UP,BROADCAST,RUNNING,SIMPLEX,LINK2,MULTICAST mtu 1500
   options=3rxcsum,txcsum
   inet6 fe80::201:2ff:fe54:cadd%xl0 prefixlen 64 scopeid 0x1
   ether 00:01:02:54:ca:dd
   media: Ethernet autoselect (10baseT/UTP)
   status: active
  
  
   --  In Response to your message -
  
 Date:  Mon, 16 Dec 2002 12:09:12 -0800
 To:  Marco Radzinschi [EMAIL PROTECTED],
   J. W. Ballantine [EMAIL PROTECTED]
 From:  Brian [EMAIL PROTECTED]
 Subject:  Re: gateway on different subnet
   
 If you just do a dhcp setup, do an ifconfig -a, netstat -r and paste th
e
 results.
   
 Bri
   
 - Original Message -
 From: J. W. Ballantine [EMAIL PROTECTED]
 To: Marco Radzinschi [EMAIL PROTECTED]
 Cc: [EMAIL PROTECTED]
 Sent: Monday, December 16, 2002 11:54 AM
 Subject: Re: gateway on different subnet
   
   
 
  When I do the route add default, I get:
 
  tinlizzie# route -v add -net default 10.17.47.37
  u: inet 0.0.0.0; u: inet 10.17.47.37; u: inet 0.0.0.0; RTM_ADD: Add R
oute:
 len
  128, pid: 0, seq 1, errno 0, flags:UP,GATEWAY,STATIC
  
  locks:  inits:
  sockaddrs: DST,GATEWAY,NETMASK
   default 10.17.47.37 default

gateway on different subnet

2002-12-16 Thread J. W. Ballantine
Hi,

In order to save the internet address space, my cable co has setup their
network with a live address for my
PC but an address on a private 10.0.0.0 network for the cable modem.
Now of course, this is also the
gateway and dhcp server.  The problem is trying to get FreeBSD to use
this private address as the gateway for
the live address.This config works for windows and they claim mac
OS, but I can't get it to work for FreeBSD.  I've tried ifconfig
default, but that returns NO ROUTE TO HOST, and I've thougth about using
an alias on the
NIC, but that would send it out with the private network address and not
be able to find its way home.

Any of you network wizards out there have the proper spell to get this
working???

Thanks

Jim Ballantine


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



Re: gateway on different subnet

2002-12-16 Thread J. W. Ballantine

Yes, the default gateway and leases are passed, but the network connection
is not setup and I can't even ping the gateway.

--  In Response to your message -

  Date:  Mon, 16 Dec 2002 17:40:40 -0200
  To:  J. W. Ballantine [EMAIL PROTECTED], [EMAIL PROTECTED]
  From:  Ronan Lucio [EMAIL PROTECTED]
  Subject:  Re: gateway on different subnet

  Here, we have a FreeBSD box connected to a cable modem.
  
  I just put:
  ifconfig_fxp0=DHCP
  in /etc/rc.conf file
  
  Defualt gateway is passed automatcly to FreeBSD box from
  the DHCP Server.
  
  Ronan
  
   Hi,
   
   In order to save the internet address space, my cable co has setup their
   network with a live address for my
   PC but an address on a private 10.0.0.0 network for the cable modem.
   Now of course, this is also the
   gateway and dhcp server.  The problem is trying to get FreeBSD to use
   this private address as the gateway for
   the live address.This config works for windows and they claim mac
   OS, but I can't get it to work for FreeBSD.  I've tried ifconfig
   default, but that returns NO ROUTE TO HOST, and I've thougth about using
   an alias on the
   NIC, but that would send it out with the private network address and not
   be able to find its way home.
   
   Any of you network wizards out there have the proper spell to get this
   working???
   
   Thanks
   
   Jim Ballantine
   
   
   To Unsubscribe: send mail to [EMAIL PROTECTED]
   with unsubscribe freebsd-questions in the body of the message
   
   
  



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



Re: gateway on different subnet

2002-12-16 Thread J. W. Ballantine

When I do the route add default, I get:

tinlizzie# route -v add -net default 10.17.47.37
u: inet 0.0.0.0; u: inet 10.17.47.37; u: inet 0.0.0.0; RTM_ADD: Add Route: len 
128, pid: 0, seq 1, errno 0, flags:UP,GATEWAY,STATIC

locks:  inits: 
sockaddrs: DST,GATEWAY,NETMASK
 default 10.17.47.37 default
route: writing to routing socket: Network is unreachable
add net default: gateway 10.17.47.37: Network is unreachable


--  In Response to your message -

  Date:  Mon, 16 Dec 2002 14:46:12 -0500 (EST)
  To:  J. W. Ballantine [EMAIL PROTECTED]
  From:  Marco Radzinschi [EMAIL PROTECTED]
  Subject:  Re: gateway on different subnet

  
  On Mon, 16 Dec 2002, J. W. Ballantine wrote:
  
   Hi,
  
   In order to save the internet address space, my cable co has setup their
   network with a live address for my
   PC but an address on a private 10.0.0.0 network for the cable modem.
   Now of course, this is also the
   gateway and dhcp server.  The problem is trying to get FreeBSD to use
   this private address as the gateway for
   the live address.This config works for windows and they claim mac
   OS, but I can't get it to work for FreeBSD.  I've tried ifconfig
   default, but that returns NO ROUTE TO HOST, and I've thougth about using
   an alias on the
   NIC, but that would send it out with the private network address and not
   be able to find its way home.
  
   Any of you network wizards out there have the proper spell to get this
   working???
  
   Thanks
  
   Jim Ballantine
  
  As lnog as your internal subnet is different from the cable modem's
  subnet, you should be fine, as the DHCP client ought to set up the default
  route for you.
  
  Otherwise, route add default IP should do it.  It is my understanding
  that the default route should not be the cable modem though, since it is
  supposed to act like a bridge.
  
  AT least this is how it works for me, except that the cable modem has a
  192.168.100.* address as well as a 10/8, but I don't have either as a
  default route.
  
  Marco Radzinschi
  E-Mail: [EMAIL PROTECTED]
  
  Mon Dec 16 14:42:22 EST 2002
  



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



Re: gateway on different subnet

2002-12-16 Thread J. W. Ballantine

Here are the leases, ifconfig and netstat:

 
tinlizzie# cat /var/db/dhclient.leases
lease {
  interface xl0;
  fixed-address 209.122.66.XXX;  (ND I changed the last part of the address)
  medium link2;
  option subnet-mask 255.255.255.0;
  option routers 10.17.47.37;
  option dhcp-lease-time 900;
  option dhcp-message-type 5;
  option domain-name-servers 207.172.3.9,207.172.3.8;
  option dhcp-server-identifier 10.17.47.37;
  option dhcp-renewal-time 450;
  option dhcp-rebinding-time 787;
  option host-name tinlizzie.hlb.cable.rcn.com;
  option domain-name hlb.cable.rcn.com;
  renew 3 2002/12/11 18:23:28;
  rebind 3 2002/12/11 18:29:55;
  expire 3 2002/12/11 18:31:48;
}

tinlizzie# netstat -rn
Routing tables
Internet:
DestinationGatewayFlagsRefs  Use  Netif Expire
10.17.47.3700:01:02:54:ca:dd  UHS 00xl0
127.0.0.1  127.0.0.1  UH  00lo0
Internet6:
Destination   Gateway   Flags  
Netif
 Expire
::1   ::1   UH  lo0
fe80::%xl0/64 link#1UC  xl0
fe80::201:2ff:fe54:cadd%xl0   00:01:02:54:ca:dd UHL lo0
fe80::%lo0/64 fe80::1%lo0   Uc  lo0
fe80::1%lo0   link#4UHL lo0
ff01::/32 ::1   U   lo0
ff02::%xl0/32 link#1UC  xl0
ff02::%lo0/32 ::1   UC  lo0



tinlizzie# ifconfig xl0
xl0: flags=c843UP,BROADCAST,RUNNING,SIMPLEX,LINK2,MULTICAST mtu 1500
options=3rxcsum,txcsum
inet6 fe80::201:2ff:fe54:cadd%xl0 prefixlen 64 scopeid 0x1
ether 00:01:02:54:ca:dd
media: Ethernet autoselect (10baseT/UTP)
status: active


--  In Response to your message -

  Date:  Mon, 16 Dec 2002 12:09:12 -0800
  To:  Marco Radzinschi [EMAIL PROTECTED],
J. W. Ballantine [EMAIL PROTECTED]
  From:  Brian [EMAIL PROTECTED]
  Subject:  Re: gateway on different subnet 

  If you just do a dhcp setup, do an ifconfig -a, netstat -r and paste the
  results.
  
  Bri
  
  - Original Message -
  From: J. W. Ballantine [EMAIL PROTECTED]
  To: Marco Radzinschi [EMAIL PROTECTED]
  Cc: [EMAIL PROTECTED]
  Sent: Monday, December 16, 2002 11:54 AM
  Subject: Re: gateway on different subnet
  
  
  
   When I do the route add default, I get:
  
   tinlizzie# route -v add -net default 10.17.47.37
   u: inet 0.0.0.0; u: inet 10.17.47.37; u: inet 0.0.0.0; RTM_ADD: Add Route:
  len
   128, pid: 0, seq 1, errno 0, flags:UP,GATEWAY,STATIC
   
   locks:  inits:
   sockaddrs: DST,GATEWAY,NETMASK
default 10.17.47.37 default
   route: writing to routing socket: Network is unreachable
   add net default: gateway 10.17.47.37: Network is unreachable
  
  
   --  In Response to your message -
  
 Date:  Mon, 16 Dec 2002 14:46:12 -0500 (EST)
 To:  J. W. Ballantine [EMAIL PROTECTED]
 From:  Marco Radzinschi [EMAIL PROTECTED]
 Subject:  Re: gateway on different subnet
   
   
 On Mon, 16 Dec 2002, J. W. Ballantine wrote:
   
  Hi,
 
  In order to save the internet address space, my cable co has setup
  their
  network with a live address for my
  PC but an address on a private 10.0.0.0 network for the cable modem.
  Now of course, this is also the
  gateway and dhcp server.  The problem is trying to get FreeBSD to use
  this private address as the gateway for
  the live address.This config works for windows and they claim mac
  OS, but I can't get it to work for FreeBSD.  I've tried ifconfig
  default, but that returns NO ROUTE TO HOST, and I've thougth about
  using
  an alias on the
  NIC, but that would send it out with the private network address and
  not
  be able to find its way home.
 
  Any of you network wizards out there have the proper spell to get
  this
  working???
 
  Thanks
 
  Jim Ballantine
   
 As lnog as your internal subnet is different from the cable modem's
 subnet, you should be fine, as the DHCP client ought to set up the
  default
 route for you.
   
 Otherwise, route add default IP should do it.  It is my
  understanding
 that the default route should not be the cable modem though, since it
  is
 supposed to act like a bridge.
   
 AT least this is how it works for me, except that the cable modem has a
 192.168.100.* address as well as a 10/8, but I don't have either as a
 default route.
   
 Marco Radzinschi
 E-Mail: [EMAIL PROTECTED]
   
 Mon Dec 16 14:42:22 EST 2002
   
  
  
  
   To Unsubscribe: send mail to [EMAIL PROTECTED]
   with unsubscribe freebsd-questions in the body