Re: gaim error

2004-03-25 Thread Adam Bozanich


On Fri, 26 Mar 2004, Simon Barner wrote:

> The output of something like
>
>   pkg_info | grep gaim
>
> is usually more helpful, since it also shows the version of the FreeBSD
> port you are using.
>

Sorry about that

[EMAIL PROTECTED] gaim
Fatal error 'Spinlock called when not threaded.' at line 83 in file 
/mnt/s10/BSD/usr_src/lib/libpthread/thread/thr_spinlock.c (errno = 0)
zsh: abort  gaim
[EMAIL PROTECTED] pkg_info| grep gaim
gaim-0.75_8 Gtk+-2.0 open-source 'clone' of AOL's Instant Messenger cli


I haven't had time to look into Michael's suggestions, maybe I'll give it
a go tonight.

Thanks for your interest,

-Adam


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


Re: gaim error

2004-03-24 Thread Adam Bozanich


On Wed, 24 Mar 2004, Simon Barner wrote:

> Hi Adam,
>
> - FreeBSD version

FreeBSD 5.2-CURRENT FreeBSD 5.2-CURRENT i386

> - gaim version

/usr/ports/net/gaim/distinfo says:

gaim-0.75.tar.bz2

> - output of ldd -a /usr/X11R6/bin/gaim

/usr/X11R6/bin/gaim:
libao.so.3 => /usr/local/lib/libao.so.3 (0x2812f000)
libaudiofile.so.0 => /usr/local/lib/libaudiofile.so.0 (0x28133000)
libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x28158000)
libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x28161000)
libintl.so.6 => /usr/local/lib/libintl.so.6 (0x28178000)
libgtkspell.so.0 => /usr/X11R6/lib/libgtkspell.so.0 (0x28181000)
libaspell.so.15 => /usr/local/lib/libaspell.so.15 (0x2818a000)
libgtk-x11-2.0.so.200 => /usr/X11R6/lib/libgtk-x11-2.0.so.200 (0x28224000)
libgdk-x11-2.0.so.200 => /usr/X11R6/lib/libgdk-x11-2.0.so.200 (0x28478000)
libXrandr.so.2 => /usr/X11R6/lib/libXrandr.so.2 (0x284e7000)
libXi.so.6 => /usr/X11R6/lib/libXi.so.6 (0x284eb000)
libatk-1.0.so.400 => /usr/local/lib/libatk-1.0.so.400 (0x284f3000)
libgdk_pixbuf-2.0.so.200 => /usr/X11R6/lib/libgdk_pixbuf-2.0.so.200 
(0x2850e000)
libm.so.2 => /lib/libm.so.2 (0x28521000)
libpangoxft-1.0.so.200 => /usr/X11R6/lib/libpangoxft-1.0.so.200 (0x2853a000)
libXft.so.2 => /usr/X11R6/lib/libXft.so.2 (0x2855b000)
libfreetype.so.9 => /usr/local/lib/libfreetype.so.9 (0x2856d000)
libz.so.2 => /lib/libz.so.2 (0x285d7000)
libXrender.so.1 => /usr/X11R6/lib/libXrender.so.1 (0x285e5000)
libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x285ed000)
libfontconfig.so.1 => /usr/X11R6/lib/libfontconfig.so.1 (0x285fc000)
libpangox-1.0.so.200 => /usr/X11R6/lib/libpangox-1.0.so.200 (0x28624000)
libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x28631000)
libpango-1.0.so.200 => /usr/X11R6/lib/libpango-1.0.so.200 (0x286f9000)
libgobject-2.0.so.200 => /usr/local/lib/libgobject-2.0.so.200 (0x2872c000)
libgmodule-2.0.so.200 => /usr/local/lib/libgmodule-2.0.so.200 (0x28761000)
libglib-2.0.so.200 => /usr/local/lib/libglib-2.0.so.200 (0x28765000)
libiconv.so.3 => /usr/local/lib/libiconv.so.3 (0x287d)
libstartup-notification-1.so.0 => 
/usr/X11R6/lib/libstartup-notification-1.so.0 (0x288bf000)
libpthread.so.1 => /usr/lib/libpthread.so.1 (0x288c7000)
libc.so.5 => /lib/libc.so.5 (0x288ec000)
/usr/local/lib/libao.so.3:
libpthread.so.1 => /usr/lib/libpthread.so.1 (0x288c7000)
/usr/local/lib/libaudiofile.so.0:
libm.so.2 => /lib/libm.so.2 (0x28521000)
/usr/X11R6/lib/libSM.so.6:
libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x28161000)
/usr/local/lib/libintl.so.6:
libiconv.so.3 => /usr/local/lib/libiconv.so.3 (0x287d)
/usr/X11R6/lib/libgtkspell.so.0:
libgtk-x11-2.0.so.200 => /usr/X11R6/lib/libgtk-x11-2.0.so.200 (0x28224000)
libgdk-x11-2.0.so.200 => /usr/X11R6/lib/libgdk-x11-2.0.so.200 (0x28478000)
libXrandr.so.2 => /usr/X11R6/lib/libXrandr.so.2 (0x284e7000)
libXi.so.6 => /usr/X11R6/lib/libXi.so.6 (0x284eb000)
libatk-1.0.so.400 => /usr/local/lib/libatk-1.0.so.400 (0x284f3000)
libgdk_pixbuf-2.0.so.200 => /usr/X11R6/lib/libgdk_pixbuf-2.0.so.200 
(0x2850e000)
libm.so.2 => /lib/libm.so.2 (0x28521000)
libpangoxft-1.0.so.200 => /usr/X11R6/lib/libpangoxft-1.0.so.200 (0x2853a000)
libXft.so.2 => /usr/X11R6/lib/libXft.so.2 (0x2855b000)
libfreetype.so.9 => /usr/local/lib/libfreetype.so.9 (0x2856d000)
libz.so.2 => /lib/libz.so.2 (0x285d7000)
libXrender.so.1 => /usr/X11R6/lib/libXrender.so.1 (0x285e5000)
libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x285ed000)
libfontconfig.so.1 => /usr/X11R6/lib/libfontconfig.so.1 (0x285fc000)
libpangox-1.0.so.200 => /usr/X11R6/lib/libpangox-1.0.so.200 (0x28624000)
libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x28631000)
libpango-1.0.so.200 => /usr/X11R6/lib/libpango-1.0.so.200 (0x286f9000)
libgobject-2.0.so.200 => /usr/local/lib/libgobject-2.0.so.200 (0x2872c000)
libgmodule-2.0.so.200 => /usr/local/lib/libgmodule-2.0.so.200 (0x28761000)
libglib-2.0.so.200 => /usr/local/lib/libglib-2.0.so.200 (0x28765000)
libiconv.so.3 => /usr/local/lib/libiconv.so.3 (0x287d)
libaspell.so.15 => /usr/local/lib/libaspell.so.15 (0x2818a000)
/usr/local/lib/libaspell.so.15:
libstdc++.so.4 => /usr/lib/libstdc++.so.4 (0x289c8000)
libm.so.2 => /lib/libm.so.2 (0x28521000)
/usr/X11R6/lib/libgtk-x11-2.0.so.200:
libgdk_pixbuf-2.0.so.200 => /usr/X11R6/lib/libgdk_pixbuf-2.0.so.200 
(0x2850e000)
libgdk-x11-2.0.so.200 => /usr/X11R6/lib/libgdk-x11-2.0.so.200 (0x28478000)
libXrandr.so.2 => /usr/X11R6/lib/libXrandr.so.2 (0x284e7000)
libXi.so.6 => /usr/X11R6/lib/libXi.so.6 (0x284eb000)
libpangoxft-1.0.so.200 => /usr/X11R6/lib/lib

gaim error

2004-03-22 Thread Adam Bozanich
Hi all.

I am trying to get the gaim port to work.  If I build with:

make WITHOUT_NSS=1

everything is fine, but I can't connect to msn.  If I don't send any
arguments to make, when I run gaim, I get:

Fatal error 'Spinlock called when not threaded.' at line 83 in file
/mnt/s10/BSD/usr_src/lib/libpthread/thread/thr_spinlock.c (errno = 0)
zsh: abort  gaim

This has been happening for a couple of weeks, and I was hoping that
it would be fixed.  Now I'm wondering if my system is the problem.

Here's my kernel config.  Am I missing something?


machinei386
cpuI686_CPU
ident  VOYAGER

#To statically compile in device wiring instead of /boot/device.hints
#hints  "GENERIC.hints" #Default places to look for devices.

#makeoptionsDEBUG=-g#Build kernel with gdb(1) debug symbols

options SCHED_4BSD  #4BSD scheduler
options INET#InterNETworking
options INET6   #IPv6 communications protocols
options FFS #Berkeley Fast Filesystem
options EXT2FS
options SOFTUPDATES #Enable FFS soft updates support
options UFS_ACL #Support for access control lists
options UFS_DIRHASH #Improve performance on big directories
options MD_ROOT #MD is a potential root device
options NFSCLIENT   #Network Filesystem Client
options NFSSERVER   #Network Filesystem Server
options MSDOSFS #MSDOS Filesystem
options CD9660  #ISO 9660 Filesystem
options PROCFS  #Process filesystem (requires PSEUDOFS)
options PSEUDOFS#Pseudo-filesystem framework
options COMPAT_43   #Compatible with BSD 4.3 [KEEP THIS!]
options COMPAT_FREEBSD4 #Compatible with FreeBSD4
options SCSI_DELAY=15000#Delay (in ms) before probing SCSI
options KTRACE  #ktrace(1) support
options SYSVSHM #SYSV-style shared memory
options SYSVMSG #SYSV-style message queues
options SYSVSEM #SYSV-style semaphores
options _KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions
options KBD_INSTALL_CDEV# install a CDEV entry in /dev

device  isa
device  eisa
device  pci

# ATA and ATAPI devices
device  ata
device  atadisk # ATA disk drives
device  atapicd # ATAPI CDROM drives
device  atapifd # ATAPI floppy drives
device  atapist # ATAPI tape drives
options ATA_STATIC_ID   #Static device numbering

# atkbdc0 controls both the keyboard and the PS/2 mouse
device  atkbdc  # AT keyboard controller
device  atkbd   # AT keyboard
device  psm # PS/2 mouse
device  vga # VGA video card driver
device  splash  # Splash screen and screen saver support

# syscons is the default console driver, resembling an SCO console
device  sc

# Floating point support - do not disable.
device  npx

# Add suspend/resume support for the i8254.
device  pmtimer

# PCCARD (PCMCIA) support
# Pcmcia and cardbus bridge support
device  cbb # cardbus (yenta) bridge
device  pccard  # PC Card (16-bit) bus
device  cardbus # CardBus (32-bit) bus

# Serial (COM) ports
device  sio # 8250, 16[45]50 based serial ports

# Parallel port
device  ppc
device  ppbus   # Parallel port bus (required)
device  lpt # Printer
device  plip# TCP/IP over parallel
device  ppi # Parallel port interface device


# PCI Ethernet NICs.

device  miibus  # MII bus support
device  bfe# Broadcom BCM440x 10/100 ethernet

# Pseudo devices - the number indicates how many units to allocate.
device  random  # Entropy device
device  loop# Network loopback
device  ether   # Ethernet support
device  sl  # Kernel SLIP
device  ppp # Kernel PPP
device  tun # Packet tunnel.
device  pty # Pseudo-ttys (telnet etc)
device  md  # Memory "disks"
device  gif # IPv6 and IPv4 tunneling
device  faith   # IPv6-to-IPv4 relaying (translation)

# The `bpf' device enables the Berkeley Packet Filter.
# Be aware of the administrative consequences of enabling this!
device  bpf # Berkeley packet filter

# USB support
device  uhci# UHCI PCI->USB interface
devi

Re: [OT?] write C program with UTF16LE

2004-03-15 Thread Adam Bozanich

On Mon, 15 Mar 2004, Matthew Seaman wrote:

> On Mon, Mar 15, 2004 at 02:28:17AM -0800, Adam Bozanich wrote:
> > On Mon, 15 Mar 2004, Zhang Weiwu wrote:
>
> > > but I am the kind of newbie don't know if I am using glibc at all. When I
> > > just write
> > > #include 
> > > Am i using the stdio.h from glibc?
>
> > Yes, on FreeBSD you are using GNU's libc
>
> Errr... no.  Not even if you're using the Linux devtools to create a
> Linux executable.  You're using the FreeBSD system libc.  Same API,
> different code, different licencing terms.
>

Yep, one look at /usr/include/stdio.h proves you right.  Thanks... I (obviously)
didn't realize that.

Now I'm very curious.  If BSD has it's own C api, did it at one time have
it's own compiler?  If so, what happened to it?

Does gcc have to know about the different syscall calling conventions?

I'm trying to look through /usr/src/lib/ right now, but I don't understand
most of what is going on.

Thanks a lot,
-Adam


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


Re: [OT?] write C program with UTF16LE

2004-03-15 Thread Adam Bozanich


On Mon, 15 Mar 2004, Adam Bozanich wrote:
>
>

Sorry, There is an error here.  fgets() reads the number you specify minus
one chars, then null terminates the string.  these lines:

>
> char  delbuf[CHUNKSIZE];
> char  chunks[CHUNKSIZE * MAX_CHUNK_COUNT];
>

Should be:

 char  delbuf[CHUNKSIZE + 1];
 char  chunks[CHUNKSIZE * MAX_CHUNK_COUNT + 1 ];

-Adam


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


Re: [OT?] write C program with UTF16LE

2004-03-15 Thread Adam Bozanich


On Mon, 15 Mar 2004, Zhang Weiwu wrote:

> Hello. Although I write some php/perl script, I don't write C program. Now
> I have a very large text file in UTF16LE format, the rule is strings are
> seperated by numbers. Say
>
> 0300 6100 6200 6300 0400 6700 5400 9800 7400 0300 
>
> Leading 0300 means the following 3 characters (6 bytes) is a string, and
> the next 0400 means the following 4 characters makes another string.
>

Here's an example using the fgets function.  see 'man fgets'.  There are
probably a bunch of ways to go about this, but this one is nice and
simple.

#include

#define CHUNKSIZE 5  /* 4 characters and a space */

/* max number of encoded chars if you are using 2 decimal places for the count*/
#define MAX_CHUNK_COUNT 99

int main(int argc, char **argv) {

char  delbuf[CHUNKSIZE];
char  chunks[CHUNKSIZE * MAX_CHUNK_COUNT];

int  chunk_count;

while(fgets(delbuf,CHUNKSIZE+1,stdin) != NULL)
{
/* you may not want to destroy this */
delbuf[2] = '\0';
chunk_count = atoi(delbuf);

if(fgets(chunks, (CHUNKSIZE * chunk_count) + 1 , stdin) == NULL){
fprintf(stderr,"can't read all of the string\n");
break;
}

fprintf(stdout,"\n%s",chunks);
}
exit(0);
}


This worked for the numbers you gave, but I'm sure that you need to add
some better error handling and what not.  You probably also don't want
to trash the buffer holding the string length.

Try running with this:

./a.out < inputfile > outputfile

> but I am the kind of newbie don't know if I am using glibc at all. When I
> just write
> #include 
> Am i using the stdio.h from glibc?
>

Yes, on FreeBSD you are using GNU's libc

I hope this gives you some ideas, good luck!

-Adam

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


thinkpad T40 5.2 kernel panic

2004-02-23 Thread Adam Bozanich

Hi all.

I can't boot into the GENERIC kernel on a IBM Thinkpad T40.


cd /usr/src/kern/i386/conf/
config GENERIC
cd ../comple/GENERIC
make depend
make
make install


When I boot I get this:

ata1-slave: FAILURE - ATAPI_IDENTIFY no interrupt
ata1-slave: FAILURE - ATAPI_IDENTIFY no interrupt

Memory modified after free 0xc456c200(508) val=1000100 @ 0xc456c200

Fatal trap 12: page fault while in kernel mode
cpuid = 0; apic id = 0
...


Anybody know how to resolve this?

Thanks

-Adam

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


Re: help???????

2004-02-12 Thread Adam Bozanich


On Fri, 13 Feb 2004, Umair Hussain wrote:

> can ne1 help me out here i need to send messages to my workstations
> on my windows network ofcourse im using a freebsd server so plz can ne 1
> tell me wats the command for that..i need an altnerative for netsend(win2k)
> in freebsd.
>
>

man smbclient


   -M NetBIOS name
  This options allows you to send messages, using  the  "WinPopup"
  protocol,  to another computer. Once a connection is established
  you then type your message, pressing ^D (control-D) to end.

  If the receiving computer is  running  WinPopup  the  user  will
  receive the message and probably a beep. If they are not running
  WinPopup the message will be lost, and  no  error  message  will
  occur.

  The  message  is  also automatically truncated if the message is
  over 1600 bytes, as this is the limit of the protocol.


Is this what you want?

-Adam

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


nasm, ld, libc, and **environ

2004-02-12 Thread Adam Bozanich

Hi all.  I am trying to learn asm with NASM on a FreeBSD system.  I really
need to debug my programs while I learn, so I want to use printf.  This is
what I am using to assemble and link:

nasm -f elf use_printf.asm
ld -o use_printf use_printf.asm -lc

but then when I run the program:

$./use_printf
/usr/libexec/ld-elf.so.1: /lib/libc.so.5: Undefined symbol "environ"

If I try to use static linking, I get this:

$ld -static -o use_printf use_printf.asm -lc
/usr/lib/libc.a(getenv.o): In function `getenv':
getenv.o(.text+0x19): undefined reference to `environ'
getenv.o(.text+0x29): undefined reference to `environ'
getenv.o(.text+0x63): undefined reference to `environ'
/usr/lib/libc.a(getenv.o): In function `__findenv':
getenv.o(.text+0xd5): undefined reference to `environ'
getenv.o(.text+0xe2): undefined reference to `environ'
/usr/lib/libc.a(getenv.o)(.text+0x113): more undefined references to `environ' follow
/usr/lib/libc.a(getprogname.o): In function `_getprogname':
getprogname.o(.text+0x4): undefined reference to `__progname'

Can somebody see where I am going wrong?  This is kindof holding me back.  I
added the 'extern environ' and 'extern __progname' beause I get this otherwise:
(when NOT using -static)

/usr/lib/libc.so: undefined reference to `environ'
/usr/lib/libc.so: undefined reference to `__progname'

Here's what I have:


;; BEGIN CODE 

extern  printf
extern  environ
extern  __progname

section .data
mesgdb   'the number is %d\n',0
mesglen equ  $-mesg

errormesg   db   'libc error',0ah,0
errormesglenequ  $-errormesg

newline db  10
number  dw  0x10

kernel:
   int 80h
   ret

align 4
section .text
global _start
_start:

; call printf from libc
push dword  number
push dword  mesg
call printf

; error if eax < 1  ( we should have wrote some chars )
cmp eax , 0x1
jl  .error

; use write() system call to print message
pushdword   mesglen
pushdword   mesg
pushdword   0x1   ; stdout
mov eax   , 0x4   ; 4 == write system call
callkernel

; output a newline
pushdword   1
pushdword   newline
pushdword   0x1
mov eax   , 0x4
callkernel


mov  eax  , 0x1 ; exit syscall number
push dword  0x0 ; exit status
call kernel

.error:

push dword  errormesglen
push dword  errormesg
push dword  0x1
mov eax , 0x4
callkernel

mov eax  , 0x1
pushdword  0xff
callkernel


  END CODE ;;;

Any suggestions will be greatly appreciated.  Thanks

-Adam


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


Re: FreeBSD 5.1 support for Dell Integrated audio?

2004-01-27 Thread Adam Bozanich

On Tue, 27 Jan 2004, Anthony Discolo wrote:

> I have a new Dell Optiplex GX270 and I can't seem to get integrated audio
> ("Integrated Sound Blaster Compatible AC97") to work.  I've tried
> configuring the pcm and sbc drivers with no luck.
>
> Any help would be greatly appreciated.
>
> Thanks,
> Anthony

Try adding

snd_ich_load="YES"

to /boot/loader.conf

-Adam

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


Re: My USB mouse not working in FreeBSD 5.1

2004-01-25 Thread Adam Bozanich

On Mon, 26 Jan 2004, Shaun Friedle wrote:

> Hi,
> I am very new to FreeBSD, but I'm trying to learn how to use it. This is made very 
> difficult by not having a mouse.

Have you tried adding

usbd_enable="YES"

to the file /etc/rc.conf?   I had the same issue the other day and this
fixed it.

Good Luck,

-Adam


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


Re: sendmail help?

2004-01-22 Thread Adam Bozanich


On Thu, 22 Jan 2004, Micheal Patterson wrote:

>
> >>I believe the original poster was asking about
> >> using sendmail to retrieve email from his ISP's smtp server.  And
> >> it's still a lot easier to install fetchmail than to reinstall
> >> sendmail.

I use fetchmail to retrieve mail from my isp's pop server.

> Apparently he's having trouble understanding a number of things lately and
> I'm beginning to wonder if he's a troll or not.

That's a bit harsh.

> http://www.sendmail.org/~ca/email/auth.html#DefaultAuthInfo
>
> Within that site, it will give you assistance in setting up sendmail to act
> as an smtp client using smtp-auth.
>
> 
>
> DefaultAuthInfo (confDEF_AUTH_INFO)
> specifies a file in which the authorization identity, the authentication
> identity, the secret, and the realm to be used for authentication are
> stored. This file must be in a safe directory and unreadable by everyone
> except root (or TrustedUser). It is used when sendmail acts as a client to
> authenticate itself to a server. Example:
> admin
> admin
> MySecretPassword
> example.domain
>
> Notes: all data is case sensitive (usually) and the entire line is used in
> each case (including any white space!).
> recommended filename: /etc/mail/default-auth-info
>
> 
>
> I trust this is what the OP's original intentions were.

Yes, it was.  Thank you.  I really don't see what the big mix up was... I
guess I didn't post my problem clearly.

I have tried the /etc/mail/default-auth-info method (I have read that
page), but I just can't get it to work.  I have also read that the new way
to do it is with the /etc/mail/authinfo file, with the format I gave
earlier.

I have compiled sendmail with sasl (1) support.  But I don't think that
the smtp-auth part is the issue.

As I stated before, I believe the problem is that sendmail is not
translating my name in the "from" section of the email.  When The mail
gets rejected, it gets send back with "From: [EMAIL PROTECTED]", My isp wants it
to be "From [EMAIL PROTECTED]"

I think this is probably not too difficult to fix, but I can't see where I
am going wrong.

I can't seem to find any good tutorials/documentation on getting a simple
sendmail client working with a dynamic ip address using smtp authentication,
If anybody has any references they'd like to share, or any suggestions for me
to try it would be greatly appreciated.

What about my sendmail_msp_que question?  what does this component of
sendmail do?  (do I need it?)

TIA
-Adam


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


sendmail help?

2004-01-22 Thread Adam Bozanich

Hi all.  I am having a really hard time getting sendmail to work for me.
I have a dial up DSL account that gives me an outgoing smtp account that
requires smtp authentication.

For now, I'd simply like to be able to send mail from this local machine.
I think the problem I am having is that the "from:" field in emails still
has my local user name, rather than the one required by my isp.

Here is the sendmail section of /etc/rc.conf:

###  Mail Transfer Agent (MTA) options  ##
##

mta_start_script="/etc/rc.sendmail"
# Script to start your chosen MTA, called by /etc/rc.
# Settings for /etc/rc.sendmail:
sendmail_flags="-L sm-mta -bd " # Flags to sendmail (as a server)
sendmail_submit_enable="YES"# Start a localhost-only MTA for mail submission
sendmail_submit_flags="-L sm-mta -bd -ODaemonPortOptions=Addr=localhost"
# Flags for localhost-only MTA
sendmail_outbound_enable="YES"  # Dequeue stuck mail (YES/NO).
sendmail_outbound_flags="-L sm-queue -q1m " # Flags to sendmail (outbound only)
sendmail_msp_queue_enable="YES" # Dequeue stuck clientmqueue mail (YES/NO).
# sendmail _msp_queue_flags="-L sm-msp-queue -Ac -q30m"
sendmail_msp_queue_flags="-L sm-msp-queue -Ac -q1m "



I don't really understand this at all.  I changed the -q1m parts because
I don't want sendmail to wait to send stuff... but I'm not sure if I should
have.

What does sendmail_msp_que do?  Do I need it?


Here is the configuration I am using.  I have added 'authinfo' to the hashes
that the makefile looks after.

I hope someone can help, I'm stuck.

Thanks,
Adam

VERSIONID(`kayak.mc')dnl
OSTYPE(freebsd5)dnl

undefine(`UUCP_RELAY')dnl
undefine(`BITNET_RELAY')dnl

define(`ALIAS_FILE', `/etc/mail/aliases')dnl
define(`SMART_HOST',`smtp.sbcglobal.yahoo.com')dnl
define(`confCON_EXPENSIVE',`True')dnl
define(`SMTP_MAILER_FLAGS',`e')dnl
define(`confAUTH_MECHANISMS',`CRAM-MD5 PLAIN LOGIN')dnl

FEATURE(`authinfo',`hash -o /etc/mail/authinfo')dnl

define(`confTO_QUEUEWARN',`')dnl
define(`confTO_INITIAL',`10s')dnl
define(`confTO_CONNECT',`10s')dnl
define(`confTO_ICONNECT',`10s')dnl
define(`confCW_FILE',`/etc/mail/local-host-names')dnl


FEATURE(`always_add_domain')dnl
FEATURE(`use_cw_file')dnl
FEATURE(`nocanonify')dnl
FEATURE(`masquerade_envelope')dnl
FEATURE(genericstable, `hash -o /etc/mail/genericstable')dnl
GENERICS_DOMAIN_FILE(`/etc/mail/genericsdomain')dnl

FEATURE(`access_db')dnl
FEATURE(`blacklist_recipients')dnl
FEATURE(`accept_unresolvable_domains')dnl

MAILER(`local')dnl
MAILER(`smtp')dnl

#
# aliases:
#
root:   [EMAIL PROTECTED]
etc...

#
# genericstable:
#

# who is who on the outside
adam [EMAIL PROTECTED]
[EMAIL PROTECTED]   [EMAIL PROTECTED]
[EMAIL PROTECTED]   [EMAIL PROTECTED]

root [EMAIL PROTECTED]
[EMAIL PROTECTED]   [EMAIL PROTECTED]
[EMAIL PROTECTED]   [EMAIL PROTECTED]

#
# local-host-names:
#

localhost
kayak
kayak.flatland
localhost.flatland

#
# genericsdomain
#

localhost
kayak
kayak.flatland
localhost.flatland

#
# authinfo:
#

AuthInfo:my_isp.net "I:[EMAIL PROTECTED]" "P:Pass"


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


Re: gdm+xfce4

2004-01-09 Thread Adam Bozanich


On Thu, 8 Jan 2004, Monah Baki wrote:

> Hi all, I'm running freebsd 5.1, and trying to use gdm login manager and xfce4. At 
> the login
> username, if I login as root or a normal user, I get a SESSION MENU dialog box
> CHOOSESESSIONLISTWIDGET and I can only choose 2 options DEFAULT/FAIL SAFE and CANCEL,
> and nothing happens in either case.
>
>
> Thank you

Hi Monah.

Try creating a file in /usr/X11R6/etc/gdm/Sessions ( or maybe
/usr/X11R6/etc/dm/Sessions ) called  xfce.desktop with these lines in it:

[Desktop Entry]
Name=Xfce4
Exec=custom


That "Exec=custom" tells gdm to use your regular .xinitrc file to set up
the session, just like it would if you used 'startx'

So you would want something like this in ~/.xinitrc:
exec xfce4

I hope this helps

-Adam



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


RE: 5.2 where is /kernel.GENERIC

2003-12-29 Thread Adam Bozanich

On Mon, 29 Dec 2003, fbsd_user wrote:

> There is no kernel in the boot directory on my 5.2 RC2 system. There
> is an boot sub-directory named kernel that contains 150 files, one
> of them being kernel that's around the correct size to be the
> GENERIC binary kernel.

Like I said, "KERNEL AND COMPANY ARE IN /boot/kernel".

> Are you telling me that the kernel binary is moved from an easy
> uncluttered location in 4.9 of /  to a location 2 directory levels
> deep and surrounded with a bunch of clutter?

I am telling you that the kernel has moved from ONE file to ONE directory,
placed in /boot which makes perfect sense to me.

It looks like this might be an easier way to manage kernel modules for
each kernel that is build.

What is the big deal?  Revert back to 4.x if you can't handle it.

>
> What king of stupid system design decision is that?
> Is it possible this is an mistake?
> Should an problem report be make to point this error out the 5.2
> release team?
>

If you honestly think that the release team would "accidentally make a
directory in /boot instead of a file in /" then I think figuring this
whole thing out is the least of your problems.

>
> Ooh, sorry.  kernel & co. are in /boot/kernel.  If you want to back
> it up,
> use
>
>  cd /boot ; cp -R kernel kernel.GENERIC
>

you'd think that "with 30 years technical experience installing mainframe
operating systems" you would be able to handle that


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


RE: 5.2 where is /kernel.GENERIC

2003-12-29 Thread Adam Bozanich


On Mon, 29 Dec 2003, fbsd_user wrote:

> You are talking about the kernel source.
>
> I am talking about the /kernel.GENERIC binary execution file.

Ooh, sorry.  kernel & co. are in /boot/kernel.  If you want to back it up,
use

 cd /boot ; cp -R kernel kernel.GENERIC

and issue 'boot kernel.GENERIC' from the boot prompt if you want to use
it later.

-Adam


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


Re: 5.2 where is /kernel.GENERIC

2003-12-29 Thread Adam Bozanich


On Mon, 29 Dec 2003, fbsd_user wrote:

> Looking for where the kernel.GENERIC file lives.
> In 4.9 it's at the start of the directory tree structure, easy to
> find  and
> manage with other version of the kernel.XX   I have created.
>

Hi fbsd_user.

The generic kernel configuration is in /usr/src/sys//conf/GENERIC

-Adam Bozanich


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