IPSEC_ESP and if_tun failed

2004-06-05 Thread Victor Gregorio
I am running into a problem with using vpnc and isakmpd on the same
system (not at the same time) on a FreeBSD 5.2.1-RELEASE-p8 system.

With IPSEC enabled in the kernel, vpnc worked fine.  Then, I had to
include IPSEC_ESP so that isakmpd would work.  Now, vpnc is broken.

I compiled in IPSEC_DEBUG and did a $ sudo sysctl debug.if_tun_debug=1
to get some verbose logging. This is what happens...

- I start vpnc as root
- The client connects
- vpnc authenticates properly
- IP address is assigned to tun0
- The IPSec connection breaks
- vpnc errors out with: socket(SOCK_RAW): Protocol not supported
- ifconfig still shows the device tun0 with the assigned IP

/var/log/messages shows this:
kernel: tun0: open
kernel: module_register: module if_tun already exists!
kernel: Module if_tun failed to register: 17
kernel: can't re-use a leaf (if_tun_debug)!
kernel: tun0: mtu set
kernel: tun0: tuninit
kernel: tun0: address set, error=0
kernel: tun0: tunoutput
kernel: tun0: tunoutput
kernel: tun0: tuninit
kernel: tun0: address set, error=0
kernel: tun0: closed
kernel: tun0: tunoutput
kernel: tun0: not ready 032
kernel: tun0: tunoutput
kernel: tun0: not ready 032

I have been trying to turn off ESP support using sysctl.  OpenBSD has an
OID called net.inet.esp.enable.  This OID is not listed in sysctl -a.  

Any advice is appreciated.

-Victor


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


Re: Problems mounting my cdrom drive

2004-06-05 Thread Victor Gregorio
This has happened to me.  The problem was with the file system
startsector.  By default, mount_cd9660 uses a default of 15112. I had to
use mount_cd9660 along with -s startsector.

Here is how I used cdcontrol to get the right startsector for a
particular track...

# mount_cd9660 -v /dev/acd0 /mnt
using starting sector 15112
mount_cd9660: /dev/acd0: Invalid argument
# cdcontrol
cdcontrol info
Starting track = 1, ending track = 3, TOC size = 34 bytes
track start  duration   block  length   type
-
1   0:02.00   3:15.35   0   14660   data
2   3:17.35   0:06.02   14660 452   data
3   3:23.37  11:02.37   15112   49687   data
  170  14:25.74 -   64799   -  -

If I changed the startsector to 0, I saw the root FS and some data but
no folders.  I had to use -s 14660.  

So the solution for me was:
root:/# mount_cd9660 -v -s 14660 /dev/acd0 /mnt

Hope this helps.

-Victor

On Fri, 2004-06-04 at 22:44, Bruce Hunter wrote:
 I am having problems mounting my cdrom drive.
 
 i have also run the command 
 mount_cd9660, and this is the result
 
 [EMAIL PROTECTED] mount_cd9660 /dev/acd0 /cdrom/
 mount_cd9660: /dev/acd0: Invalid argument
 
 this is with the mount command
 
 [EMAIL PROTECTED] mount -v -t cd9660 /dev/acd0 /cdrom/
 cd9660: /dev/acd0: Invalid argument
 
 Thanks guys,
 Bruce
 
 ___
 [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: Problems mounting my cdrom drive

2004-06-05 Thread Victor Gregorio
An audio CD?  Try cdplay (/usr/ports/audio).
# cdplay -d /dev/acd0

I'm not sure you can mount an audio CD since it has no filesystem.  You
need an application that can read the data off the device.

Interesting links...
http://www.unixguide.net/freebsd/faq/09.20.shtml
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/creating-cds.html
http://www.unixguide.net/freebsd/faq/09.20.shtml

-Victor

On Sat, 2004-06-05 at 00:17, Bruce Hunter wrote:
 That didn't work for me.
 I did a man cdcontrol and tried
 #cdcontrol
 #cdcontrolplay
 and it started to play my cd. But won't mount the sucker?? i was trying
 to mount it to play with xmms. Hmm...
 
 
 THIS IS WHAT I DID
 -
 [EMAIL PROTECTED] cdcontrol
 Compact Disc Control utility, version 2.0
 Type `?' for command list
 
 cdcontrol info
 Starting track = 1, ending track = 12, TOC size = 106 bytes
 track start  duration   block  length   type
 -
 1   0:02.00   4:23.20   0   19745  audio
 2   4:25.20   3:26.02   19745   15452  audio
 3   7:51.22   4:50.18   35197   21768  audio
 4  12:41.40   3:59.57   56965   17982  audio
 5  16:41.22   3:40.53   74947   16553  audio
 6  20:22.00   4:50.12   91500   21762  audio
 7  25:12.12   2:03.00  1132629225  audio
 8  27:15.12   3:29.38  122487   15713  audio
 9  30:44.50   5:06.00  138200   22950  audio
10  35:50.50   5:03.62  161150   22787  audio
11  40:54.37   5:47.50  183937   26075  audio
12  46:42.12   9:03.25  210012   40750  audio
   170  55:45.37 -  250762   -  -
 cdcontrol quit
 [EMAIL PROTECTED] mount -v -s 19745 /dev/acd0 /cdrom/
 mount: illegal option -- s
 usage: mount [-dfpruvw] [-o options] [-t ufs | external_type] special
 node
mount [-adfpruvw] [ -F fstab] [-t ufs | external_type]
mount [-dfpruvw] special | node
 [EMAIL PROTECTED] mount_cd9660 -v -s 19745 /dev/acd0 /cdrom/
 
 -
 
 -Bruce-
 
 On Sat, 2004-06-05 at 03:08, Victor Gregorio wrote:
  This has happened to me.  The problem was with the file system
  startsector.  By default, mount_cd9660 uses a default of 15112. I had to
  use mount_cd9660 along with -s startsector.
  
  Here is how I used cdcontrol to get the right startsector for a
  particular track...
  
  # mount_cd9660 -v /dev/acd0 /mnt
  using starting sector 15112
  mount_cd9660: /dev/acd0: Invalid argument
  # cdcontrol
  cdcontrol info
  Starting track = 1, ending track = 3, TOC size = 34 bytes
  track start  duration   block  length   type
  -
  1   0:02.00   3:15.35   0   14660   data
  2   3:17.35   0:06.02   14660 452   data
  3   3:23.37  11:02.37   15112   49687   data
170  14:25.74 -   64799   -  -
  
  If I changed the startsector to 0, I saw the root FS and some data but
  no folders.  I had to use -s 14660.  
  
  So the solution for me was:
  root:/# mount_cd9660 -v -s 14660 /dev/acd0 /mnt
  
  Hope this helps.
  
  -Victor
  
  On Fri, 2004-06-04 at 22:44, Bruce Hunter wrote:
   I am having problems mounting my cdrom drive.
   
   i have also run the command 
   mount_cd9660, and this is the result
   
   [EMAIL PROTECTED] mount_cd9660 /dev/acd0 /cdrom/
   mount_cd9660: /dev/acd0: Invalid argument
   
   this is with the mount command
   
   [EMAIL PROTECTED] mount -v -t cd9660 /dev/acd0 /cdrom/
   cd9660: /dev/acd0: Invalid argument
   
   Thanks guys,
   Bruce
   
   ___
   [EMAIL PROTECTED] mailing list
   http://lists.freebsd.org/mailman/listinfo/freebsd-questions
   To unsubscribe, send any mail to [EMAIL PROTECTED]
   
  
  
  
 
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 

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


Re: FreeBSD and Sony Clie

2004-06-04 Thread Victor Gregorio
I have been meaning to post my solution for a while now. Brent from the
[EMAIL PROTECTED] mailing list helped me with the birda
command. 

The command that worked for me is: 

/usr/local/bin/irs -d /dev/cuaa1 -y /dev/ptypv -c -e 

I can then connect via serial device /dev/ttypv at a rate of 115200.

Thanks Brent.

-Victor

On Fri, 2004-05-21 at 18:18, Victor Gregorio wrote:
 Has anyone had any luck getting a Sony Clie to sync with 
 gpilotd/pilot-link/jpilot/anything on FreeBSD?
 
 I have had no success with USB syncing using uvisor, and limited success 
 using IrDA (/dev/cuaa1 on my IBM R40).  Through IrDA, birda sees the 
 device.  I cannot get any application to take advantage of this 
 connection though.
 
 Any advice on where to look next would be greatly appreciated.
 
 Thanks, Victor
 

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


FreeBSD and Sony Clie

2004-05-21 Thread Victor Gregorio
Has anyone had any luck getting a Sony Clie to sync with 
gpilotd/pilot-link/jpilot/anything on FreeBSD?

I have had no success with USB syncing using uvisor, and limited success 
using IrDA (/dev/cuaa1 on my IBM R40).  Through IrDA, birda sees the 
device.  I cannot get any application to take advantage of this 
connection though.

Any advice on where to look next would be greatly appreciated.
Thanks, Victor
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


USB Palm Devices gpilotd (via Evolution)

2004-05-10 Thread Victor Gregorio
Hey folks, has anyone had any success with USB Palm devices and gpilotd? 
 I have a Sony Clie PEG-T615C and an IBM-R40 laptop running 
5.2.1-RELEASE-p5 with an updated ports tree.

Package information...
$ pkg_version -v | grep pilot
gnomepilot2-2.0.10_2=   up-to-date with port
pilot-link-0.11.8_3 =   up-to-date with port
$ pkg_version -v | grep evolution
evolution-1.4.6_1   =   up-to-date with port
The device comes up as ucom0 after compiling the kernel with uvisor 
support.  It was registering as ugen0 before the kernel update.

/var/log/messages...
kernel: ucom0: Palm, Inc. Palm Handheld, rev 1.00/1.00, addr 3
gpilotd-control-panel starts OK..

$ gpilotd-control-applet
** Message: Unable to load host id information, assuming unset
** Message: No pilot userid/username information located
** Message: Unable to load pilot id/username, assuming unset
** Message: No pilot cradle information located
** Message: Unable to load pilot cradle info, assuming unset
gpilotd-Message: Activating object OAFIID:GNOME_Pilot_Daemon
** Message: Unable to load host id information, assuming unset
** Message: No pilot userid/username information located
** Message: Unable to load pilot id/username, assuming unset
** Message: No pilot cradle information located
** Message: Unable to load pilot cradle info, assuming unset
** Message: Unable to load host id information, assuming unset
** Message: No pilot userid/username information located
** Message: Unable to load pilot id/username, assuming unset
** Message: No pilot cradle information located
** Message: Unable to load pilot cradle info, assuming unset
When I attempt to connect to the device from the GUI using USB, the 
GUI errors with: Failed sending request to gpilotd

And the terminal spits out this error:

(gpilotd-control-applet:74662): gpilotd-WARNING **: 
gnome-pilot-client.gob:851: Caught exception: 
IDL:omg.org/CORBA/COMM_FAILURE:1.0

Further attempts to connect to the device produces more gpilotd-WARNINGS 
about IDL:omg.org/CORBA/COMM_FAILURE:1.0.

My IDL libraries are up to date...
$ pkg_version -v | grep -i idl
libIDL-0.8.3_2  =   up-to-date with port
Any advice on where to look next would be appreciated.

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


Re: Playing wav sounds

2004-04-18 Thread Victor Gregorio
Try this port:
/usr/ports/audio/cd-console
-Victor

Mark wrote:
Maybe a stupid question, but on a FreeBSD 4.9R-p4, is it possible to play a
sound, like a wav file, without having installed any graphic shells? I'd
like to play some wav sounds on certain events.
Thanks,

- Mark

___
[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]


Fluxbox System Tray

2004-04-15 Thread Victor Gregorio
Hello.  I am trying to get the system tray working on the fluxbox 
toolbar. I am running FreeBSD 5.2.1 and the latest port for fluxbox. 
After a bit of research I found this command for ~/.fluxbox/init:

session.screen0.toolbar.tools: workspacename, systemtray, iconbar, clock

This does not work for me.  My system tray is not showing up.  I cannot 
modify my toolbar settings at all.  Could I be missing a compile time 
option?  Any direction from fluxbox users is appreciated.

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


Problems Mounting a CD

2004-04-12 Thread Victor Gregorio
Hello.  I'm having a problem mounting a CD, and was wondering if anyone 
could help.

root:~# dmesg | grep acd0
acd0: DVDROM HL-DT-STDVD-ROM GDR8081N at ata1-master PIO4
root:~# cat /etc/fstab | grep cdrom
/dev/acd0   /cdrom  cd9660  ro,noauto   0  0
root:~# mount /cdrom
cd9660: /dev/acd0: Invalid argument
root:~# mount_cd9660 /dev/acd0 /cdrom
mount_cd9660: /dev/acd0: Invalid argument
root:~# ls -l /dev/acd0
crw-r-  1 root  operator4,  18 Apr 12 15:42 /dev/acd0
The CD mounts OK on RedHat Linux with mount type cd9660.  What argument 
is invalid?  Or is this a known bug that I need to patch?  Thanks,

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


Re: Problems Mounting a CD

2004-04-12 Thread Victor Gregorio
For the record, this is *not* an audio CD.  Just a data disk.

-Victor

Victor Gregorio wrote:
Hello.  I'm having a problem mounting a CD, and was wondering if anyone 
could help.

root:~# dmesg | grep acd0
acd0: DVDROM HL-DT-STDVD-ROM GDR8081N at ata1-master PIO4
root:~# cat /etc/fstab | grep cdrom
/dev/acd0   /cdrom  cd9660  ro,noauto   0  0
root:~# mount /cdrom
cd9660: /dev/acd0: Invalid argument
root:~# mount_cd9660 /dev/acd0 /cdrom
mount_cd9660: /dev/acd0: Invalid argument
root:~# ls -l /dev/acd0
crw-r-  1 root  operator4,  18 Apr 12 15:42 /dev/acd0
The CD mounts OK on RedHat Linux with mount type cd9660.  What argument 
is invalid?  Or is this a known bug that I need to patch?  Thanks,

Victor

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


Re: Problems Mounting a CD (solved)

2004-04-12 Thread Victor Gregorio
Ok, so the problem was with the starting sector.  By default, the sector 
was 15112.

root:/# mount_cd9660 -v /dev/acd0 /mnt
using starting sector 15112
mount_cd9660: /dev/acd0: Invalid argument
If I changed the starting sector to 0, I saw the fs but no folders.  I 
had to use -s 14660.  I was able to get 14660 from cdcontrol

cdcontrol info
Starting track = 1, ending track = 3, TOC size = 34 bytes
track start  duration   block  length   type
-
1   0:02.00   3:15.35   0   14660   data
2   3:17.35   0:06.02   14660 452   data
3   3:23.37  11:02.37   15112   49687   data
  170  14:25.74 -   64799   -  -
Solution:
root:/# mount_cd9660 -v -s 14660 /dev/acd0 /mnt
Just figured I'd post the solution since I had seen this question asked 
in a few freebsd.org mailing lists.

-Victor

Victor Gregorio wrote:
For the record, this is *not* an audio CD.  Just a data disk.

-Victor

Victor Gregorio wrote:

Hello.  I'm having a problem mounting a CD, and was wondering if 
anyone could help.

root:~# dmesg | grep acd0
acd0: DVDROM HL-DT-STDVD-ROM GDR8081N at ata1-master PIO4
root:~# cat /etc/fstab | grep cdrom
/dev/acd0   /cdrom  cd9660  ro,noauto   0  0
root:~# mount /cdrom
cd9660: /dev/acd0: Invalid argument
root:~# mount_cd9660 /dev/acd0 /cdrom
mount_cd9660: /dev/acd0: Invalid argument
root:~# ls -l /dev/acd0
crw-r-  1 root  operator4,  18 Apr 12 15:42 /dev/acd0
The CD mounts OK on RedHat Linux with mount type cd9660.  What 
argument is invalid?  Or is this a known bug that I need to patch?  
Thanks,

Victor


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


Gxine Needs libgnomevfs.so.0

2004-04-11 Thread Victor Gregorio
My installation of gxine is producing the following error:
Shared object libgnomevfs.so.0 not found.
I have /usr/X11R6/lib/libgnomevfs-2.so installed, but no libgnomevfs.so.0.

Has anyone experienced a similar error?  I am running 5.2.1-RELEASE, 
with an updated ports tree, and Gnome 2.6 installed. I used 
/usr/ports/UPDATING as a guide when updating Gnome.

I installed gxine this way:

root:~# cd /usr/ports
root:/usr/ports# portupgrade --new -r multimedia/gxine
Thanks,
Victor
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]